@skdx/web-components 0.26.0
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/README.md +74 -0
- package/custom-elements.json +54237 -0
- package/dist/accordion/Accordion.cjs +5 -0
- package/dist/accordion/Accordion.d.cts +82 -0
- package/dist/accordion/Accordion.d.ts +82 -0
- package/dist/accordion/Accordion.js +5 -0
- package/dist/accordion/AccordionContent.cjs +13 -0
- package/dist/accordion/AccordionContent.d.cts +49 -0
- package/dist/accordion/AccordionContent.d.ts +49 -0
- package/dist/accordion/AccordionContent.js +13 -0
- package/dist/accordion/AccordionHeader.cjs +5 -0
- package/dist/accordion/AccordionHeader.d.cts +16 -0
- package/dist/accordion/AccordionHeader.d.ts +16 -0
- package/dist/accordion/AccordionHeader.js +5 -0
- package/dist/accordion/AccordionItem.cjs +5 -0
- package/dist/accordion/AccordionItem.d.cts +45 -0
- package/dist/accordion/AccordionItem.d.ts +45 -0
- package/dist/accordion/AccordionItem.js +5 -0
- package/dist/accordion/AccordionTrigger.cjs +9 -0
- package/dist/accordion/AccordionTrigger.d.cts +28 -0
- package/dist/accordion/AccordionTrigger.d.ts +28 -0
- package/dist/accordion/AccordionTrigger.js +9 -0
- package/dist/accordion/index.cjs +1 -0
- package/dist/accordion/index.d.cts +5 -0
- package/dist/accordion/index.d.ts +5 -0
- package/dist/accordion/index.js +1 -0
- package/dist/affix/Affix.cjs +5 -0
- package/dist/affix/Affix.d.cts +123 -0
- package/dist/affix/Affix.d.ts +123 -0
- package/dist/affix/Affix.js +5 -0
- package/dist/affix/index.cjs +1 -0
- package/dist/affix/index.d.cts +1 -0
- package/dist/affix/index.d.ts +1 -0
- package/dist/affix/index.js +1 -0
- package/dist/alert/Alert.cjs +9 -0
- package/dist/alert/Alert.d.cts +70 -0
- package/dist/alert/Alert.d.ts +70 -0
- package/dist/alert/Alert.js +9 -0
- package/dist/alert/AlertAction.cjs +5 -0
- package/dist/alert/AlertAction.d.cts +18 -0
- package/dist/alert/AlertAction.d.ts +18 -0
- package/dist/alert/AlertAction.js +5 -0
- package/dist/alert/AlertClose.cjs +9 -0
- package/dist/alert/AlertClose.d.cts +27 -0
- package/dist/alert/AlertClose.d.ts +27 -0
- package/dist/alert/AlertClose.js +9 -0
- package/dist/alert/AlertDescription.cjs +5 -0
- package/dist/alert/AlertDescription.d.cts +17 -0
- package/dist/alert/AlertDescription.d.ts +17 -0
- package/dist/alert/AlertDescription.js +5 -0
- package/dist/alert/AlertIcon.cjs +5 -0
- package/dist/alert/AlertIcon.d.cts +16 -0
- package/dist/alert/AlertIcon.d.ts +16 -0
- package/dist/alert/AlertIcon.js +5 -0
- package/dist/alert/AlertTitle.cjs +5 -0
- package/dist/alert/AlertTitle.d.cts +17 -0
- package/dist/alert/AlertTitle.d.ts +17 -0
- package/dist/alert/AlertTitle.js +5 -0
- package/dist/alert/index.cjs +1 -0
- package/dist/alert/index.d.cts +6 -0
- package/dist/alert/index.d.ts +6 -0
- package/dist/alert/index.js +1 -0
- package/dist/alert-dialog/AlertDialog.cjs +5 -0
- package/dist/alert-dialog/AlertDialog.d.cts +56 -0
- package/dist/alert-dialog/AlertDialog.d.ts +56 -0
- package/dist/alert-dialog/AlertDialog.js +5 -0
- package/dist/alert-dialog/AlertDialogAction.cjs +9 -0
- package/dist/alert-dialog/AlertDialogAction.d.cts +22 -0
- package/dist/alert-dialog/AlertDialogAction.d.ts +22 -0
- package/dist/alert-dialog/AlertDialogAction.js +9 -0
- package/dist/alert-dialog/AlertDialogCancel.cjs +9 -0
- package/dist/alert-dialog/AlertDialogCancel.d.cts +23 -0
- package/dist/alert-dialog/AlertDialogCancel.d.ts +23 -0
- package/dist/alert-dialog/AlertDialogCancel.js +9 -0
- package/dist/alert-dialog/AlertDialogContent.cjs +1 -0
- package/dist/alert-dialog/AlertDialogContent.d.cts +90 -0
- package/dist/alert-dialog/AlertDialogContent.d.ts +90 -0
- package/dist/alert-dialog/AlertDialogContent.js +1 -0
- package/dist/alert-dialog/AlertDialogDescription.cjs +5 -0
- package/dist/alert-dialog/AlertDialogDescription.d.cts +18 -0
- package/dist/alert-dialog/AlertDialogDescription.d.ts +18 -0
- package/dist/alert-dialog/AlertDialogDescription.js +5 -0
- package/dist/alert-dialog/AlertDialogOverlay.cjs +15 -0
- package/dist/alert-dialog/AlertDialogOverlay.d.cts +45 -0
- package/dist/alert-dialog/AlertDialogOverlay.d.ts +45 -0
- package/dist/alert-dialog/AlertDialogOverlay.js +15 -0
- package/dist/alert-dialog/AlertDialogPortal.cjs +1 -0
- package/dist/alert-dialog/AlertDialogPortal.d.cts +33 -0
- package/dist/alert-dialog/AlertDialogPortal.d.ts +33 -0
- package/dist/alert-dialog/AlertDialogPortal.js +1 -0
- package/dist/alert-dialog/AlertDialogTitle.cjs +5 -0
- package/dist/alert-dialog/AlertDialogTitle.d.cts +17 -0
- package/dist/alert-dialog/AlertDialogTitle.d.ts +17 -0
- package/dist/alert-dialog/AlertDialogTitle.js +5 -0
- package/dist/alert-dialog/AlertDialogTrigger.cjs +17 -0
- package/dist/alert-dialog/AlertDialogTrigger.d.cts +23 -0
- package/dist/alert-dialog/AlertDialogTrigger.d.ts +23 -0
- package/dist/alert-dialog/AlertDialogTrigger.js +17 -0
- package/dist/alert-dialog/index.cjs +1 -0
- package/dist/alert-dialog/index.d.cts +9 -0
- package/dist/alert-dialog/index.d.ts +9 -0
- package/dist/alert-dialog/index.js +1 -0
- package/dist/angle-slider/AngleSlider.cjs +7 -0
- package/dist/angle-slider/AngleSlider.d.cts +143 -0
- package/dist/angle-slider/AngleSlider.d.ts +143 -0
- package/dist/angle-slider/AngleSlider.js +7 -0
- package/dist/angle-slider/AngleSliderMark.cjs +5 -0
- package/dist/angle-slider/AngleSliderMark.d.cts +56 -0
- package/dist/angle-slider/AngleSliderMark.d.ts +56 -0
- package/dist/angle-slider/AngleSliderMark.js +5 -0
- package/dist/angle-slider/AngleSliderMarks.cjs +5 -0
- package/dist/angle-slider/AngleSliderMarks.d.cts +39 -0
- package/dist/angle-slider/AngleSliderMarks.d.ts +39 -0
- package/dist/angle-slider/AngleSliderMarks.js +5 -0
- package/dist/angle-slider/AngleSliderThumb.cjs +5 -0
- package/dist/angle-slider/AngleSliderThumb.d.cts +44 -0
- package/dist/angle-slider/AngleSliderThumb.d.ts +44 -0
- package/dist/angle-slider/AngleSliderThumb.js +5 -0
- package/dist/angle-slider/index.cjs +1 -0
- package/dist/angle-slider/index.d.cts +4 -0
- package/dist/angle-slider/index.d.ts +4 -0
- package/dist/angle-slider/index.js +1 -0
- package/dist/aspect-ratio/AspectRatio.cjs +15 -0
- package/dist/aspect-ratio/AspectRatio.d.cts +33 -0
- package/dist/aspect-ratio/AspectRatio.d.ts +33 -0
- package/dist/aspect-ratio/AspectRatio.js +15 -0
- package/dist/aspect-ratio/index.cjs +1 -0
- package/dist/aspect-ratio/index.d.cts +1 -0
- package/dist/aspect-ratio/index.d.ts +1 -0
- package/dist/aspect-ratio/index.js +1 -0
- package/dist/autocomplete/Autocomplete.cjs +5 -0
- package/dist/autocomplete/Autocomplete.d.cts +293 -0
- package/dist/autocomplete/Autocomplete.d.ts +293 -0
- package/dist/autocomplete/Autocomplete.js +5 -0
- package/dist/autocomplete/AutocompleteContent.cjs +5 -0
- package/dist/autocomplete/AutocompleteContent.d.cts +89 -0
- package/dist/autocomplete/AutocompleteContent.d.ts +89 -0
- package/dist/autocomplete/AutocompleteContent.js +5 -0
- package/dist/autocomplete/AutocompleteEmpty.cjs +5 -0
- package/dist/autocomplete/AutocompleteEmpty.d.cts +42 -0
- package/dist/autocomplete/AutocompleteEmpty.d.ts +42 -0
- package/dist/autocomplete/AutocompleteEmpty.js +5 -0
- package/dist/autocomplete/AutocompleteInput.cjs +27 -0
- package/dist/autocomplete/AutocompleteInput.d.cts +77 -0
- package/dist/autocomplete/AutocompleteInput.d.ts +77 -0
- package/dist/autocomplete/AutocompleteInput.js +27 -0
- package/dist/autocomplete/AutocompleteItem.cjs +8 -0
- package/dist/autocomplete/AutocompleteItem.d.cts +66 -0
- package/dist/autocomplete/AutocompleteItem.d.ts +66 -0
- package/dist/autocomplete/AutocompleteItem.js +8 -0
- package/dist/autocomplete/AutocompleteList.cjs +5 -0
- package/dist/autocomplete/AutocompleteList.d.cts +39 -0
- package/dist/autocomplete/AutocompleteList.d.ts +39 -0
- package/dist/autocomplete/AutocompleteList.js +5 -0
- package/dist/autocomplete/AutocompletePortal.cjs +1 -0
- package/dist/autocomplete/AutocompletePortal.d.cts +36 -0
- package/dist/autocomplete/AutocompletePortal.d.ts +36 -0
- package/dist/autocomplete/AutocompletePortal.js +1 -0
- package/dist/autocomplete/AutocompleteTrigger.cjs +22 -0
- package/dist/autocomplete/AutocompleteTrigger.d.cts +43 -0
- package/dist/autocomplete/AutocompleteTrigger.d.ts +43 -0
- package/dist/autocomplete/AutocompleteTrigger.js +22 -0
- package/dist/autocomplete/index.cjs +1 -0
- package/dist/autocomplete/index.d.cts +9 -0
- package/dist/autocomplete/index.d.ts +9 -0
- package/dist/autocomplete/index.js +1 -0
- package/dist/avatar/Avatar.cjs +9 -0
- package/dist/avatar/Avatar.d.cts +36 -0
- package/dist/avatar/Avatar.d.ts +36 -0
- package/dist/avatar/Avatar.js +9 -0
- package/dist/avatar/AvatarFallback.cjs +5 -0
- package/dist/avatar/AvatarFallback.d.cts +27 -0
- package/dist/avatar/AvatarFallback.d.ts +27 -0
- package/dist/avatar/AvatarFallback.js +5 -0
- package/dist/avatar/AvatarImage.cjs +5 -0
- package/dist/avatar/AvatarImage.d.cts +33 -0
- package/dist/avatar/AvatarImage.d.ts +33 -0
- package/dist/avatar/AvatarImage.js +5 -0
- package/dist/avatar/index.cjs +1 -0
- package/dist/avatar/index.d.cts +3 -0
- package/dist/avatar/index.d.ts +3 -0
- package/dist/avatar/index.js +1 -0
- package/dist/badge/Badge.cjs +9 -0
- package/dist/badge/Badge.d.cts +23 -0
- package/dist/badge/Badge.d.ts +23 -0
- package/dist/badge/Badge.js +9 -0
- package/dist/badge/index.cjs +1 -0
- package/dist/badge/index.d.cts +1 -0
- package/dist/badge/index.d.ts +1 -0
- package/dist/badge/index.js +1 -0
- package/dist/breadcrumb/Breadcrumb.cjs +9 -0
- package/dist/breadcrumb/Breadcrumb.d.cts +31 -0
- package/dist/breadcrumb/Breadcrumb.d.ts +31 -0
- package/dist/breadcrumb/Breadcrumb.js +9 -0
- package/dist/breadcrumb/BreadcrumbEllipsis.cjs +9 -0
- package/dist/breadcrumb/BreadcrumbEllipsis.d.cts +23 -0
- package/dist/breadcrumb/BreadcrumbEllipsis.d.ts +23 -0
- package/dist/breadcrumb/BreadcrumbEllipsis.js +9 -0
- package/dist/breadcrumb/BreadcrumbItem.cjs +11 -0
- package/dist/breadcrumb/BreadcrumbItem.d.cts +18 -0
- package/dist/breadcrumb/BreadcrumbItem.d.ts +18 -0
- package/dist/breadcrumb/BreadcrumbItem.js +11 -0
- package/dist/breadcrumb/BreadcrumbLink.cjs +9 -0
- package/dist/breadcrumb/BreadcrumbLink.d.cts +24 -0
- package/dist/breadcrumb/BreadcrumbLink.d.ts +24 -0
- package/dist/breadcrumb/BreadcrumbLink.js +9 -0
- package/dist/breadcrumb/BreadcrumbList.cjs +14 -0
- package/dist/breadcrumb/BreadcrumbList.d.cts +17 -0
- package/dist/breadcrumb/BreadcrumbList.d.ts +17 -0
- package/dist/breadcrumb/BreadcrumbList.js +14 -0
- package/dist/breadcrumb/BreadcrumbPage.cjs +9 -0
- package/dist/breadcrumb/BreadcrumbPage.d.cts +16 -0
- package/dist/breadcrumb/BreadcrumbPage.d.ts +16 -0
- package/dist/breadcrumb/BreadcrumbPage.js +9 -0
- package/dist/breadcrumb/BreadcrumbSeparator.cjs +9 -0
- package/dist/breadcrumb/BreadcrumbSeparator.d.cts +19 -0
- package/dist/breadcrumb/BreadcrumbSeparator.d.ts +19 -0
- package/dist/breadcrumb/BreadcrumbSeparator.js +9 -0
- package/dist/breadcrumb/index.cjs +1 -0
- package/dist/breadcrumb/index.d.cts +7 -0
- package/dist/breadcrumb/index.d.ts +7 -0
- package/dist/breadcrumb/index.js +1 -0
- package/dist/button/Button.cjs +17 -0
- package/dist/button/Button.d.cts +48 -0
- package/dist/button/Button.d.ts +48 -0
- package/dist/button/Button.js +17 -0
- package/dist/button/index.cjs +1 -0
- package/dist/button/index.d.cts +1 -0
- package/dist/button/index.d.ts +1 -0
- package/dist/button/index.js +1 -0
- package/dist/calendar/Calendar.cjs +5 -0
- package/dist/calendar/Calendar.d.cts +248 -0
- package/dist/calendar/Calendar.d.ts +248 -0
- package/dist/calendar/Calendar.js +5 -0
- package/dist/calendar/CalendarCell.cjs +27 -0
- package/dist/calendar/CalendarCell.d.cts +46 -0
- package/dist/calendar/CalendarCell.d.ts +46 -0
- package/dist/calendar/CalendarCell.js +27 -0
- package/dist/calendar/CalendarGrid.cjs +5 -0
- package/dist/calendar/CalendarGrid.d.cts +41 -0
- package/dist/calendar/CalendarGrid.d.ts +41 -0
- package/dist/calendar/CalendarGrid.js +5 -0
- package/dist/calendar/CalendarGridBody.cjs +5 -0
- package/dist/calendar/CalendarGridBody.d.cts +42 -0
- package/dist/calendar/CalendarGridBody.d.ts +42 -0
- package/dist/calendar/CalendarGridBody.js +5 -0
- package/dist/calendar/CalendarGridHead.cjs +5 -0
- package/dist/calendar/CalendarGridHead.d.cts +43 -0
- package/dist/calendar/CalendarGridHead.d.ts +43 -0
- package/dist/calendar/CalendarGridHead.js +5 -0
- package/dist/calendar/CalendarHeader.cjs +5 -0
- package/dist/calendar/CalendarHeader.d.cts +14 -0
- package/dist/calendar/CalendarHeader.d.ts +14 -0
- package/dist/calendar/CalendarHeader.js +5 -0
- package/dist/calendar/CalendarHeading.cjs +5 -0
- package/dist/calendar/CalendarHeading.d.cts +36 -0
- package/dist/calendar/CalendarHeading.d.ts +36 -0
- package/dist/calendar/CalendarHeading.js +5 -0
- package/dist/calendar/CalendarNextButton.cjs +9 -0
- package/dist/calendar/CalendarNextButton.d.cts +32 -0
- package/dist/calendar/CalendarNextButton.d.ts +32 -0
- package/dist/calendar/CalendarNextButton.js +9 -0
- package/dist/calendar/CalendarPreviousButton.cjs +9 -0
- package/dist/calendar/CalendarPreviousButton.d.cts +32 -0
- package/dist/calendar/CalendarPreviousButton.d.ts +32 -0
- package/dist/calendar/CalendarPreviousButton.js +9 -0
- package/dist/calendar/CalendarRow.cjs +5 -0
- package/dist/calendar/CalendarRow.d.cts +12 -0
- package/dist/calendar/CalendarRow.d.ts +12 -0
- package/dist/calendar/CalendarRow.js +5 -0
- package/dist/calendar/CalendarWeekDay.cjs +5 -0
- package/dist/calendar/CalendarWeekDay.d.cts +12 -0
- package/dist/calendar/CalendarWeekDay.d.ts +12 -0
- package/dist/calendar/CalendarWeekDay.js +5 -0
- package/dist/calendar/index.cjs +1 -0
- package/dist/calendar/index.d.cts +13 -0
- package/dist/calendar/index.d.ts +13 -0
- package/dist/calendar/index.js +1 -0
- package/dist/calendar/locale.cjs +1 -0
- package/dist/calendar/locale.d.cts +45 -0
- package/dist/calendar/locale.d.ts +45 -0
- package/dist/calendar/locale.js +1 -0
- package/dist/card/Card.cjs +9 -0
- package/dist/card/Card.d.cts +30 -0
- package/dist/card/Card.d.ts +30 -0
- package/dist/card/Card.js +9 -0
- package/dist/card/CardContent.cjs +9 -0
- package/dist/card/CardContent.d.cts +17 -0
- package/dist/card/CardContent.d.ts +17 -0
- package/dist/card/CardContent.js +9 -0
- package/dist/card/CardDescription.cjs +10 -0
- package/dist/card/CardDescription.d.cts +17 -0
- package/dist/card/CardDescription.d.ts +17 -0
- package/dist/card/CardDescription.js +10 -0
- package/dist/card/CardFooter.cjs +9 -0
- package/dist/card/CardFooter.d.cts +17 -0
- package/dist/card/CardFooter.d.ts +17 -0
- package/dist/card/CardFooter.js +9 -0
- package/dist/card/CardHeader.cjs +9 -0
- package/dist/card/CardHeader.d.cts +17 -0
- package/dist/card/CardHeader.d.ts +17 -0
- package/dist/card/CardHeader.js +9 -0
- package/dist/card/CardTitle.cjs +10 -0
- package/dist/card/CardTitle.d.cts +16 -0
- package/dist/card/CardTitle.d.ts +16 -0
- package/dist/card/CardTitle.js +10 -0
- package/dist/card/index.cjs +1 -0
- package/dist/card/index.d.cts +6 -0
- package/dist/card/index.d.ts +6 -0
- package/dist/card/index.js +1 -0
- package/dist/carousel/Carousel.cjs +5 -0
- package/dist/carousel/Carousel.d.cts +123 -0
- package/dist/carousel/Carousel.d.ts +123 -0
- package/dist/carousel/Carousel.js +5 -0
- package/dist/carousel/CarouselContent.cjs +5 -0
- package/dist/carousel/CarouselContent.d.cts +21 -0
- package/dist/carousel/CarouselContent.d.ts +21 -0
- package/dist/carousel/CarouselContent.js +5 -0
- package/dist/carousel/CarouselItem.cjs +8 -0
- package/dist/carousel/CarouselItem.d.cts +24 -0
- package/dist/carousel/CarouselItem.d.ts +24 -0
- package/dist/carousel/CarouselItem.js +8 -0
- package/dist/carousel/CarouselNext.cjs +15 -0
- package/dist/carousel/CarouselNext.d.cts +34 -0
- package/dist/carousel/CarouselNext.d.ts +34 -0
- package/dist/carousel/CarouselNext.js +15 -0
- package/dist/carousel/CarouselPlayPause.cjs +15 -0
- package/dist/carousel/CarouselPlayPause.d.cts +40 -0
- package/dist/carousel/CarouselPlayPause.d.ts +40 -0
- package/dist/carousel/CarouselPlayPause.js +15 -0
- package/dist/carousel/CarouselPrevious.cjs +15 -0
- package/dist/carousel/CarouselPrevious.d.cts +34 -0
- package/dist/carousel/CarouselPrevious.d.ts +34 -0
- package/dist/carousel/CarouselPrevious.js +15 -0
- package/dist/carousel/index.cjs +1 -0
- package/dist/carousel/index.d.cts +6 -0
- package/dist/carousel/index.d.ts +6 -0
- package/dist/carousel/index.js +1 -0
- package/dist/checkbox/Checkbox.cjs +22 -0
- package/dist/checkbox/Checkbox.d.cts +68 -0
- package/dist/checkbox/Checkbox.d.ts +68 -0
- package/dist/checkbox/Checkbox.js +22 -0
- package/dist/checkbox/CheckboxIndicator.cjs +5 -0
- package/dist/checkbox/CheckboxIndicator.d.cts +51 -0
- package/dist/checkbox/CheckboxIndicator.d.ts +51 -0
- package/dist/checkbox/CheckboxIndicator.js +5 -0
- package/dist/checkbox/index.cjs +1 -0
- package/dist/checkbox/index.d.cts +2 -0
- package/dist/checkbox/index.d.ts +2 -0
- package/dist/checkbox/index.js +1 -0
- package/dist/checkbox-card/CheckboxCard.cjs +13 -0
- package/dist/checkbox-card/CheckboxCard.d.cts +136 -0
- package/dist/checkbox-card/CheckboxCard.d.ts +136 -0
- package/dist/checkbox-card/CheckboxCard.js +13 -0
- package/dist/checkbox-card/CheckboxCardControl.cjs +13 -0
- package/dist/checkbox-card/CheckboxCardControl.d.cts +39 -0
- package/dist/checkbox-card/CheckboxCardControl.d.ts +39 -0
- package/dist/checkbox-card/CheckboxCardControl.js +13 -0
- package/dist/checkbox-card/CheckboxCardDescription.cjs +8 -0
- package/dist/checkbox-card/CheckboxCardDescription.d.cts +31 -0
- package/dist/checkbox-card/CheckboxCardDescription.d.ts +31 -0
- package/dist/checkbox-card/CheckboxCardDescription.js +8 -0
- package/dist/checkbox-card/CheckboxCardIndicator.cjs +8 -0
- package/dist/checkbox-card/CheckboxCardIndicator.d.cts +32 -0
- package/dist/checkbox-card/CheckboxCardIndicator.d.ts +32 -0
- package/dist/checkbox-card/CheckboxCardIndicator.js +8 -0
- package/dist/checkbox-card/CheckboxCardLabel.cjs +8 -0
- package/dist/checkbox-card/CheckboxCardLabel.d.cts +34 -0
- package/dist/checkbox-card/CheckboxCardLabel.d.ts +34 -0
- package/dist/checkbox-card/CheckboxCardLabel.js +8 -0
- package/dist/checkbox-card/index.cjs +1 -0
- package/dist/checkbox-card/index.d.cts +5 -0
- package/dist/checkbox-card/index.d.ts +5 -0
- package/dist/checkbox-card/index.js +1 -0
- package/dist/checkbox-group/CheckboxGroup.cjs +5 -0
- package/dist/checkbox-group/CheckboxGroup.d.cts +122 -0
- package/dist/checkbox-group/CheckboxGroup.d.ts +122 -0
- package/dist/checkbox-group/CheckboxGroup.js +5 -0
- package/dist/checkbox-group/CheckboxGroupItem.cjs +9 -0
- package/dist/checkbox-group/CheckboxGroupItem.d.cts +48 -0
- package/dist/checkbox-group/CheckboxGroupItem.d.ts +48 -0
- package/dist/checkbox-group/CheckboxGroupItem.js +9 -0
- package/dist/checkbox-group/CheckboxGroupSelectAll.cjs +9 -0
- package/dist/checkbox-group/CheckboxGroupSelectAll.d.cts +45 -0
- package/dist/checkbox-group/CheckboxGroupSelectAll.d.ts +45 -0
- package/dist/checkbox-group/CheckboxGroupSelectAll.js +9 -0
- package/dist/checkbox-group/index.cjs +1 -0
- package/dist/checkbox-group/index.d.cts +3 -0
- package/dist/checkbox-group/index.d.ts +3 -0
- package/dist/checkbox-group/index.js +1 -0
- package/dist/clipboard/Clipboard.cjs +5 -0
- package/dist/clipboard/Clipboard.d.cts +96 -0
- package/dist/clipboard/Clipboard.d.ts +96 -0
- package/dist/clipboard/Clipboard.js +5 -0
- package/dist/clipboard/ClipboardIndicator.cjs +33 -0
- package/dist/clipboard/ClipboardIndicator.d.cts +51 -0
- package/dist/clipboard/ClipboardIndicator.d.ts +51 -0
- package/dist/clipboard/ClipboardIndicator.js +33 -0
- package/dist/clipboard/ClipboardInput.cjs +12 -0
- package/dist/clipboard/ClipboardInput.d.cts +62 -0
- package/dist/clipboard/ClipboardInput.d.ts +62 -0
- package/dist/clipboard/ClipboardInput.js +12 -0
- package/dist/clipboard/ClipboardTrigger.cjs +17 -0
- package/dist/clipboard/ClipboardTrigger.d.cts +51 -0
- package/dist/clipboard/ClipboardTrigger.d.ts +51 -0
- package/dist/clipboard/ClipboardTrigger.js +17 -0
- package/dist/clipboard/index.cjs +1 -0
- package/dist/clipboard/index.d.cts +4 -0
- package/dist/clipboard/index.d.ts +4 -0
- package/dist/clipboard/index.js +1 -0
- package/dist/collapsible/Collapsible.cjs +5 -0
- package/dist/collapsible/Collapsible.d.cts +49 -0
- package/dist/collapsible/Collapsible.d.ts +49 -0
- package/dist/collapsible/Collapsible.js +5 -0
- package/dist/collapsible/CollapsibleContent.cjs +8 -0
- package/dist/collapsible/CollapsibleContent.d.cts +24 -0
- package/dist/collapsible/CollapsibleContent.d.ts +24 -0
- package/dist/collapsible/CollapsibleContent.js +8 -0
- package/dist/collapsible/CollapsibleTrigger.cjs +18 -0
- package/dist/collapsible/CollapsibleTrigger.d.cts +24 -0
- package/dist/collapsible/CollapsibleTrigger.d.ts +24 -0
- package/dist/collapsible/CollapsibleTrigger.js +18 -0
- package/dist/collapsible/index.cjs +1 -0
- package/dist/collapsible/index.d.cts +3 -0
- package/dist/collapsible/index.d.ts +3 -0
- package/dist/collapsible/index.js +1 -0
- package/dist/color-picker/ColorPicker.cjs +5 -0
- package/dist/color-picker/ColorPicker.d.cts +192 -0
- package/dist/color-picker/ColorPicker.d.ts +192 -0
- package/dist/color-picker/ColorPicker.js +5 -0
- package/dist/color-picker/ColorPickerAlphaSlider.cjs +1 -0
- package/dist/color-picker/ColorPickerAlphaSlider.d.cts +54 -0
- package/dist/color-picker/ColorPickerAlphaSlider.d.ts +54 -0
- package/dist/color-picker/ColorPickerAlphaSlider.js +1 -0
- package/dist/color-picker/ColorPickerAlphaSliderThumb.cjs +1 -0
- package/dist/color-picker/ColorPickerAlphaSliderThumb.d.cts +37 -0
- package/dist/color-picker/ColorPickerAlphaSliderThumb.d.ts +37 -0
- package/dist/color-picker/ColorPickerAlphaSliderThumb.js +1 -0
- package/dist/color-picker/ColorPickerArea.cjs +8 -0
- package/dist/color-picker/ColorPickerArea.d.cts +67 -0
- package/dist/color-picker/ColorPickerArea.d.ts +67 -0
- package/dist/color-picker/ColorPickerArea.js +8 -0
- package/dist/color-picker/ColorPickerAreaThumb.cjs +17 -0
- package/dist/color-picker/ColorPickerAreaThumb.d.cts +98 -0
- package/dist/color-picker/ColorPickerAreaThumb.d.ts +98 -0
- package/dist/color-picker/ColorPickerAreaThumb.js +17 -0
- package/dist/color-picker/ColorPickerEyeDropper.cjs +13 -0
- package/dist/color-picker/ColorPickerEyeDropper.d.cts +50 -0
- package/dist/color-picker/ColorPickerEyeDropper.d.ts +50 -0
- package/dist/color-picker/ColorPickerEyeDropper.js +13 -0
- package/dist/color-picker/ColorPickerFormatSelect.cjs +11 -0
- package/dist/color-picker/ColorPickerFormatSelect.d.cts +94 -0
- package/dist/color-picker/ColorPickerFormatSelect.d.ts +94 -0
- package/dist/color-picker/ColorPickerFormatSelect.js +11 -0
- package/dist/color-picker/ColorPickerHueSlider.cjs +1 -0
- package/dist/color-picker/ColorPickerHueSlider.d.cts +61 -0
- package/dist/color-picker/ColorPickerHueSlider.d.ts +61 -0
- package/dist/color-picker/ColorPickerHueSlider.js +1 -0
- package/dist/color-picker/ColorPickerHueSliderThumb.cjs +1 -0
- package/dist/color-picker/ColorPickerHueSliderThumb.d.cts +36 -0
- package/dist/color-picker/ColorPickerHueSliderThumb.d.ts +36 -0
- package/dist/color-picker/ColorPickerHueSliderThumb.js +1 -0
- package/dist/color-picker/ColorPickerInput.cjs +14 -0
- package/dist/color-picker/ColorPickerInput.d.cts +86 -0
- package/dist/color-picker/ColorPickerInput.d.ts +86 -0
- package/dist/color-picker/ColorPickerInput.js +14 -0
- package/dist/color-picker/ColorPickerSwatch.cjs +40 -0
- package/dist/color-picker/ColorPickerSwatch.d.cts +84 -0
- package/dist/color-picker/ColorPickerSwatch.d.ts +84 -0
- package/dist/color-picker/ColorPickerSwatch.js +40 -0
- package/dist/color-picker/ColorPickerSwatchGroup.cjs +5 -0
- package/dist/color-picker/ColorPickerSwatchGroup.d.cts +82 -0
- package/dist/color-picker/ColorPickerSwatchGroup.d.ts +82 -0
- package/dist/color-picker/ColorPickerSwatchGroup.js +5 -0
- package/dist/color-picker/channel-slider.cjs +12 -0
- package/dist/color-picker/channel-slider.d.cts +116 -0
- package/dist/color-picker/channel-slider.d.ts +116 -0
- package/dist/color-picker/channel-slider.js +12 -0
- package/dist/color-picker/index.cjs +1 -0
- package/dist/color-picker/index.d.cts +12 -0
- package/dist/color-picker/index.d.ts +12 -0
- package/dist/color-picker/index.js +1 -0
- package/dist/color-picker/pointer-ratio.cjs +1 -0
- package/dist/color-picker/pointer-ratio.d.cts +93 -0
- package/dist/color-picker/pointer-ratio.d.ts +93 -0
- package/dist/color-picker/pointer-ratio.js +1 -0
- package/dist/combobox/Combobox.cjs +5 -0
- package/dist/combobox/Combobox.d.cts +238 -0
- package/dist/combobox/Combobox.d.ts +238 -0
- package/dist/combobox/Combobox.js +5 -0
- package/dist/combobox/ComboboxContent.cjs +5 -0
- package/dist/combobox/ComboboxContent.d.cts +82 -0
- package/dist/combobox/ComboboxContent.d.ts +82 -0
- package/dist/combobox/ComboboxContent.js +5 -0
- package/dist/combobox/ComboboxEmpty.cjs +5 -0
- package/dist/combobox/ComboboxEmpty.d.cts +28 -0
- package/dist/combobox/ComboboxEmpty.d.ts +28 -0
- package/dist/combobox/ComboboxEmpty.js +5 -0
- package/dist/combobox/ComboboxInput.cjs +27 -0
- package/dist/combobox/ComboboxInput.d.cts +56 -0
- package/dist/combobox/ComboboxInput.d.ts +56 -0
- package/dist/combobox/ComboboxInput.js +27 -0
- package/dist/combobox/ComboboxItem.cjs +8 -0
- package/dist/combobox/ComboboxItem.d.cts +53 -0
- package/dist/combobox/ComboboxItem.d.ts +53 -0
- package/dist/combobox/ComboboxItem.js +8 -0
- package/dist/combobox/ComboboxPortal.cjs +1 -0
- package/dist/combobox/ComboboxPortal.d.cts +35 -0
- package/dist/combobox/ComboboxPortal.d.ts +35 -0
- package/dist/combobox/ComboboxPortal.js +1 -0
- package/dist/combobox/index.cjs +1 -0
- package/dist/combobox/index.d.cts +7 -0
- package/dist/combobox/index.d.ts +7 -0
- package/dist/combobox/index.js +1 -0
- package/dist/command/Command.cjs +5 -0
- package/dist/command/Command.d.cts +126 -0
- package/dist/command/Command.d.ts +126 -0
- package/dist/command/Command.js +5 -0
- package/dist/command/CommandEmpty.cjs +5 -0
- package/dist/command/CommandEmpty.d.cts +22 -0
- package/dist/command/CommandEmpty.d.ts +22 -0
- package/dist/command/CommandEmpty.js +5 -0
- package/dist/command/CommandGroup.cjs +6 -0
- package/dist/command/CommandGroup.d.cts +28 -0
- package/dist/command/CommandGroup.d.ts +28 -0
- package/dist/command/CommandGroup.js +6 -0
- package/dist/command/CommandInput.cjs +14 -0
- package/dist/command/CommandInput.d.cts +66 -0
- package/dist/command/CommandInput.d.ts +66 -0
- package/dist/command/CommandInput.js +14 -0
- package/dist/command/CommandItem.cjs +5 -0
- package/dist/command/CommandItem.d.cts +40 -0
- package/dist/command/CommandItem.d.ts +40 -0
- package/dist/command/CommandItem.js +5 -0
- package/dist/command/CommandList.cjs +5 -0
- package/dist/command/CommandList.d.cts +28 -0
- package/dist/command/CommandList.d.ts +28 -0
- package/dist/command/CommandList.js +5 -0
- package/dist/command/CommandLoading.cjs +5 -0
- package/dist/command/CommandLoading.d.cts +32 -0
- package/dist/command/CommandLoading.d.ts +32 -0
- package/dist/command/CommandLoading.js +5 -0
- package/dist/command/CommandSeparator.cjs +5 -0
- package/dist/command/CommandSeparator.d.cts +15 -0
- package/dist/command/CommandSeparator.d.ts +15 -0
- package/dist/command/CommandSeparator.js +5 -0
- package/dist/command/index.cjs +1 -0
- package/dist/command/index.d.cts +8 -0
- package/dist/command/index.d.ts +8 -0
- package/dist/command/index.js +1 -0
- package/dist/context-menu/ContextMenu.cjs +5 -0
- package/dist/context-menu/ContextMenu.d.cts +78 -0
- package/dist/context-menu/ContextMenu.d.ts +78 -0
- package/dist/context-menu/ContextMenu.js +5 -0
- package/dist/context-menu/ContextMenuCheckboxItem.cjs +1 -0
- package/dist/context-menu/ContextMenuCheckboxItem.d.cts +31 -0
- package/dist/context-menu/ContextMenuCheckboxItem.d.ts +31 -0
- package/dist/context-menu/ContextMenuCheckboxItem.js +1 -0
- package/dist/context-menu/ContextMenuContent.cjs +5 -0
- package/dist/context-menu/ContextMenuContent.d.cts +51 -0
- package/dist/context-menu/ContextMenuContent.d.ts +51 -0
- package/dist/context-menu/ContextMenuContent.js +5 -0
- package/dist/context-menu/ContextMenuGroup.cjs +5 -0
- package/dist/context-menu/ContextMenuGroup.d.cts +16 -0
- package/dist/context-menu/ContextMenuGroup.d.ts +16 -0
- package/dist/context-menu/ContextMenuGroup.js +5 -0
- package/dist/context-menu/ContextMenuItem.cjs +5 -0
- package/dist/context-menu/ContextMenuItem.d.cts +43 -0
- package/dist/context-menu/ContextMenuItem.d.ts +43 -0
- package/dist/context-menu/ContextMenuItem.js +5 -0
- package/dist/context-menu/ContextMenuItemIndicator.cjs +5 -0
- package/dist/context-menu/ContextMenuItemIndicator.d.cts +24 -0
- package/dist/context-menu/ContextMenuItemIndicator.d.ts +24 -0
- package/dist/context-menu/ContextMenuItemIndicator.js +5 -0
- package/dist/context-menu/ContextMenuLabel.cjs +5 -0
- package/dist/context-menu/ContextMenuLabel.d.cts +15 -0
- package/dist/context-menu/ContextMenuLabel.d.ts +15 -0
- package/dist/context-menu/ContextMenuLabel.js +5 -0
- package/dist/context-menu/ContextMenuPortal.cjs +1 -0
- package/dist/context-menu/ContextMenuPortal.d.cts +35 -0
- package/dist/context-menu/ContextMenuPortal.d.ts +35 -0
- package/dist/context-menu/ContextMenuPortal.js +1 -0
- package/dist/context-menu/ContextMenuRadioGroup.cjs +5 -0
- package/dist/context-menu/ContextMenuRadioGroup.d.cts +28 -0
- package/dist/context-menu/ContextMenuRadioGroup.d.ts +28 -0
- package/dist/context-menu/ContextMenuRadioGroup.js +5 -0
- package/dist/context-menu/ContextMenuRadioItem.cjs +1 -0
- package/dist/context-menu/ContextMenuRadioItem.d.cts +27 -0
- package/dist/context-menu/ContextMenuRadioItem.d.ts +27 -0
- package/dist/context-menu/ContextMenuRadioItem.js +1 -0
- package/dist/context-menu/ContextMenuSeparator.cjs +5 -0
- package/dist/context-menu/ContextMenuSeparator.d.cts +16 -0
- package/dist/context-menu/ContextMenuSeparator.d.ts +16 -0
- package/dist/context-menu/ContextMenuSeparator.js +5 -0
- package/dist/context-menu/ContextMenuSub.cjs +1 -0
- package/dist/context-menu/ContextMenuSub.d.cts +55 -0
- package/dist/context-menu/ContextMenuSub.d.ts +55 -0
- package/dist/context-menu/ContextMenuSub.js +1 -0
- package/dist/context-menu/ContextMenuTrigger.cjs +5 -0
- package/dist/context-menu/ContextMenuTrigger.d.cts +38 -0
- package/dist/context-menu/ContextMenuTrigger.d.ts +38 -0
- package/dist/context-menu/ContextMenuTrigger.js +5 -0
- package/dist/context-menu/index.cjs +1 -0
- package/dist/context-menu/index.d.cts +13 -0
- package/dist/context-menu/index.d.ts +13 -0
- package/dist/context-menu/index.js +1 -0
- package/dist/data-list/DataList.cjs +12 -0
- package/dist/data-list/DataList.d.cts +155 -0
- package/dist/data-list/DataList.d.ts +155 -0
- package/dist/data-list/DataList.js +12 -0
- package/dist/data-list/index.cjs +1 -0
- package/dist/data-list/index.d.cts +2 -0
- package/dist/data-list/index.d.ts +2 -0
- package/dist/data-list/index.js +1 -0
- package/dist/date-field/DateField.cjs +1 -0
- package/dist/date-field/DateField.d.cts +158 -0
- package/dist/date-field/DateField.d.ts +158 -0
- package/dist/date-field/DateField.js +1 -0
- package/dist/date-field/index.cjs +1 -0
- package/dist/date-field/index.d.cts +1 -0
- package/dist/date-field/index.d.ts +1 -0
- package/dist/date-field/index.js +1 -0
- package/dist/date-picker/DatePicker.cjs +5 -0
- package/dist/date-picker/DatePicker.d.cts +117 -0
- package/dist/date-picker/DatePicker.d.ts +117 -0
- package/dist/date-picker/DatePicker.js +5 -0
- package/dist/date-picker/DatePickerCalendar.cjs +7 -0
- package/dist/date-picker/DatePickerCalendar.d.cts +37 -0
- package/dist/date-picker/DatePickerCalendar.d.ts +37 -0
- package/dist/date-picker/DatePickerCalendar.js +7 -0
- package/dist/date-picker/DatePickerClose.cjs +9 -0
- package/dist/date-picker/DatePickerClose.d.cts +21 -0
- package/dist/date-picker/DatePickerClose.d.ts +21 -0
- package/dist/date-picker/DatePickerClose.js +9 -0
- package/dist/date-picker/DatePickerContent.cjs +5 -0
- package/dist/date-picker/DatePickerContent.d.cts +64 -0
- package/dist/date-picker/DatePickerContent.d.ts +64 -0
- package/dist/date-picker/DatePickerContent.js +5 -0
- package/dist/date-picker/DatePickerInput.cjs +10 -0
- package/dist/date-picker/DatePickerInput.d.cts +66 -0
- package/dist/date-picker/DatePickerInput.d.ts +66 -0
- package/dist/date-picker/DatePickerInput.js +10 -0
- package/dist/date-picker/DatePickerPortal.cjs +1 -0
- package/dist/date-picker/DatePickerPortal.d.cts +36 -0
- package/dist/date-picker/DatePickerPortal.d.ts +36 -0
- package/dist/date-picker/DatePickerPortal.js +1 -0
- package/dist/date-picker/DatePickerTimeField.cjs +10 -0
- package/dist/date-picker/DatePickerTimeField.d.cts +44 -0
- package/dist/date-picker/DatePickerTimeField.d.ts +44 -0
- package/dist/date-picker/DatePickerTimeField.js +10 -0
- package/dist/date-picker/DatePickerTrigger.cjs +18 -0
- package/dist/date-picker/DatePickerTrigger.d.cts +40 -0
- package/dist/date-picker/DatePickerTrigger.d.ts +40 -0
- package/dist/date-picker/DatePickerTrigger.js +18 -0
- package/dist/date-picker/index.cjs +1 -0
- package/dist/date-picker/index.d.cts +8 -0
- package/dist/date-picker/index.d.ts +8 -0
- package/dist/date-picker/index.js +1 -0
- package/dist/dialog/Dialog.cjs +5 -0
- package/dist/dialog/Dialog.d.cts +63 -0
- package/dist/dialog/Dialog.d.ts +63 -0
- package/dist/dialog/Dialog.js +5 -0
- package/dist/dialog/DialogClose.cjs +9 -0
- package/dist/dialog/DialogClose.d.cts +21 -0
- package/dist/dialog/DialogClose.d.ts +21 -0
- package/dist/dialog/DialogClose.js +9 -0
- package/dist/dialog/DialogContent.cjs +1 -0
- package/dist/dialog/DialogContent.d.cts +97 -0
- package/dist/dialog/DialogContent.d.ts +97 -0
- package/dist/dialog/DialogContent.js +1 -0
- package/dist/dialog/DialogDescription.cjs +5 -0
- package/dist/dialog/DialogDescription.d.cts +17 -0
- package/dist/dialog/DialogDescription.d.ts +17 -0
- package/dist/dialog/DialogDescription.js +5 -0
- package/dist/dialog/DialogOverlay.cjs +15 -0
- package/dist/dialog/DialogOverlay.d.cts +63 -0
- package/dist/dialog/DialogOverlay.d.ts +63 -0
- package/dist/dialog/DialogOverlay.js +15 -0
- package/dist/dialog/DialogPortal.cjs +1 -0
- package/dist/dialog/DialogPortal.d.cts +33 -0
- package/dist/dialog/DialogPortal.d.ts +33 -0
- package/dist/dialog/DialogPortal.js +1 -0
- package/dist/dialog/DialogTitle.cjs +5 -0
- package/dist/dialog/DialogTitle.d.cts +17 -0
- package/dist/dialog/DialogTitle.d.ts +17 -0
- package/dist/dialog/DialogTitle.js +5 -0
- package/dist/dialog/DialogTrigger.cjs +17 -0
- package/dist/dialog/DialogTrigger.d.cts +23 -0
- package/dist/dialog/DialogTrigger.d.ts +23 -0
- package/dist/dialog/DialogTrigger.js +17 -0
- package/dist/dialog/index.cjs +1 -0
- package/dist/dialog/index.d.cts +8 -0
- package/dist/dialog/index.d.ts +8 -0
- package/dist/dialog/index.js +1 -0
- package/dist/drawer/Drawer.cjs +5 -0
- package/dist/drawer/Drawer.d.cts +86 -0
- package/dist/drawer/Drawer.d.ts +86 -0
- package/dist/drawer/Drawer.js +5 -0
- package/dist/drawer/DrawerClose.cjs +9 -0
- package/dist/drawer/DrawerClose.d.cts +21 -0
- package/dist/drawer/DrawerClose.d.ts +21 -0
- package/dist/drawer/DrawerClose.js +9 -0
- package/dist/drawer/DrawerContent.cjs +8 -0
- package/dist/drawer/DrawerContent.d.cts +64 -0
- package/dist/drawer/DrawerContent.d.ts +64 -0
- package/dist/drawer/DrawerContent.js +8 -0
- package/dist/drawer/DrawerDescription.cjs +5 -0
- package/dist/drawer/DrawerDescription.d.cts +17 -0
- package/dist/drawer/DrawerDescription.d.ts +17 -0
- package/dist/drawer/DrawerDescription.js +5 -0
- package/dist/drawer/DrawerOverlay.cjs +14 -0
- package/dist/drawer/DrawerOverlay.d.cts +28 -0
- package/dist/drawer/DrawerOverlay.d.ts +28 -0
- package/dist/drawer/DrawerOverlay.js +14 -0
- package/dist/drawer/DrawerPortal.cjs +1 -0
- package/dist/drawer/DrawerPortal.d.cts +36 -0
- package/dist/drawer/DrawerPortal.d.ts +36 -0
- package/dist/drawer/DrawerPortal.js +1 -0
- package/dist/drawer/DrawerTitle.cjs +5 -0
- package/dist/drawer/DrawerTitle.d.cts +17 -0
- package/dist/drawer/DrawerTitle.d.ts +17 -0
- package/dist/drawer/DrawerTitle.js +5 -0
- package/dist/drawer/DrawerTrigger.cjs +17 -0
- package/dist/drawer/DrawerTrigger.d.cts +25 -0
- package/dist/drawer/DrawerTrigger.d.ts +25 -0
- package/dist/drawer/DrawerTrigger.js +17 -0
- package/dist/drawer/index.cjs +1 -0
- package/dist/drawer/index.d.cts +8 -0
- package/dist/drawer/index.d.ts +8 -0
- package/dist/drawer/index.js +1 -0
- package/dist/dropdown-menu/DropdownMenu.cjs +5 -0
- package/dist/dropdown-menu/DropdownMenu.d.cts +64 -0
- package/dist/dropdown-menu/DropdownMenu.d.ts +64 -0
- package/dist/dropdown-menu/DropdownMenu.js +5 -0
- package/dist/dropdown-menu/DropdownMenuArrow.cjs +1 -0
- package/dist/dropdown-menu/DropdownMenuArrow.d.cts +23 -0
- package/dist/dropdown-menu/DropdownMenuArrow.d.ts +23 -0
- package/dist/dropdown-menu/DropdownMenuArrow.js +1 -0
- package/dist/dropdown-menu/DropdownMenuCheckboxItem.cjs +1 -0
- package/dist/dropdown-menu/DropdownMenuCheckboxItem.d.cts +31 -0
- package/dist/dropdown-menu/DropdownMenuCheckboxItem.d.ts +31 -0
- package/dist/dropdown-menu/DropdownMenuCheckboxItem.js +1 -0
- package/dist/dropdown-menu/DropdownMenuContent.cjs +5 -0
- package/dist/dropdown-menu/DropdownMenuContent.d.cts +88 -0
- package/dist/dropdown-menu/DropdownMenuContent.d.ts +88 -0
- package/dist/dropdown-menu/DropdownMenuContent.js +5 -0
- package/dist/dropdown-menu/DropdownMenuGroup.cjs +5 -0
- package/dist/dropdown-menu/DropdownMenuGroup.d.cts +16 -0
- package/dist/dropdown-menu/DropdownMenuGroup.d.ts +16 -0
- package/dist/dropdown-menu/DropdownMenuGroup.js +5 -0
- package/dist/dropdown-menu/DropdownMenuItem.cjs +5 -0
- package/dist/dropdown-menu/DropdownMenuItem.d.cts +41 -0
- package/dist/dropdown-menu/DropdownMenuItem.d.ts +41 -0
- package/dist/dropdown-menu/DropdownMenuItem.js +5 -0
- package/dist/dropdown-menu/DropdownMenuItemIndicator.cjs +5 -0
- package/dist/dropdown-menu/DropdownMenuItemIndicator.d.cts +24 -0
- package/dist/dropdown-menu/DropdownMenuItemIndicator.d.ts +24 -0
- package/dist/dropdown-menu/DropdownMenuItemIndicator.js +5 -0
- package/dist/dropdown-menu/DropdownMenuLabel.cjs +5 -0
- package/dist/dropdown-menu/DropdownMenuLabel.d.cts +15 -0
- package/dist/dropdown-menu/DropdownMenuLabel.d.ts +15 -0
- package/dist/dropdown-menu/DropdownMenuLabel.js +5 -0
- package/dist/dropdown-menu/DropdownMenuPortal.cjs +1 -0
- package/dist/dropdown-menu/DropdownMenuPortal.d.cts +35 -0
- package/dist/dropdown-menu/DropdownMenuPortal.d.ts +35 -0
- package/dist/dropdown-menu/DropdownMenuPortal.js +1 -0
- package/dist/dropdown-menu/DropdownMenuRadioGroup.cjs +5 -0
- package/dist/dropdown-menu/DropdownMenuRadioGroup.d.cts +28 -0
- package/dist/dropdown-menu/DropdownMenuRadioGroup.d.ts +28 -0
- package/dist/dropdown-menu/DropdownMenuRadioGroup.js +5 -0
- package/dist/dropdown-menu/DropdownMenuRadioItem.cjs +1 -0
- package/dist/dropdown-menu/DropdownMenuRadioItem.d.cts +27 -0
- package/dist/dropdown-menu/DropdownMenuRadioItem.d.ts +27 -0
- package/dist/dropdown-menu/DropdownMenuRadioItem.js +1 -0
- package/dist/dropdown-menu/DropdownMenuSeparator.cjs +5 -0
- package/dist/dropdown-menu/DropdownMenuSeparator.d.cts +16 -0
- package/dist/dropdown-menu/DropdownMenuSeparator.d.ts +16 -0
- package/dist/dropdown-menu/DropdownMenuSeparator.js +5 -0
- package/dist/dropdown-menu/DropdownMenuSub.cjs +1 -0
- package/dist/dropdown-menu/DropdownMenuSub.d.cts +55 -0
- package/dist/dropdown-menu/DropdownMenuSub.d.ts +55 -0
- package/dist/dropdown-menu/DropdownMenuSub.js +1 -0
- package/dist/dropdown-menu/DropdownMenuTrigger.cjs +20 -0
- package/dist/dropdown-menu/DropdownMenuTrigger.d.cts +30 -0
- package/dist/dropdown-menu/DropdownMenuTrigger.d.ts +30 -0
- package/dist/dropdown-menu/DropdownMenuTrigger.js +20 -0
- package/dist/dropdown-menu/index.cjs +1 -0
- package/dist/dropdown-menu/index.d.cts +14 -0
- package/dist/dropdown-menu/index.d.ts +14 -0
- package/dist/dropdown-menu/index.js +1 -0
- package/dist/editable/Editable.cjs +5 -0
- package/dist/editable/Editable.d.cts +238 -0
- package/dist/editable/Editable.d.ts +238 -0
- package/dist/editable/Editable.js +5 -0
- package/dist/editable/EditableCancelTrigger.cjs +17 -0
- package/dist/editable/EditableCancelTrigger.d.cts +39 -0
- package/dist/editable/EditableCancelTrigger.d.ts +39 -0
- package/dist/editable/EditableCancelTrigger.js +17 -0
- package/dist/editable/EditableEditTrigger.cjs +18 -0
- package/dist/editable/EditableEditTrigger.d.cts +41 -0
- package/dist/editable/EditableEditTrigger.d.ts +41 -0
- package/dist/editable/EditableEditTrigger.js +18 -0
- package/dist/editable/EditableInput.cjs +18 -0
- package/dist/editable/EditableInput.d.cts +70 -0
- package/dist/editable/EditableInput.d.ts +70 -0
- package/dist/editable/EditableInput.js +18 -0
- package/dist/editable/EditablePreview.cjs +5 -0
- package/dist/editable/EditablePreview.d.cts +46 -0
- package/dist/editable/EditablePreview.d.ts +46 -0
- package/dist/editable/EditablePreview.js +5 -0
- package/dist/editable/EditableSubmitTrigger.cjs +17 -0
- package/dist/editable/EditableSubmitTrigger.d.cts +46 -0
- package/dist/editable/EditableSubmitTrigger.d.ts +46 -0
- package/dist/editable/EditableSubmitTrigger.js +17 -0
- package/dist/editable/EditableTextarea.cjs +17 -0
- package/dist/editable/EditableTextarea.d.cts +68 -0
- package/dist/editable/EditableTextarea.d.ts +68 -0
- package/dist/editable/EditableTextarea.js +17 -0
- package/dist/editable/index.cjs +1 -0
- package/dist/editable/index.d.cts +8 -0
- package/dist/editable/index.d.ts +8 -0
- package/dist/editable/index.js +1 -0
- package/dist/field/Field.cjs +5 -0
- package/dist/field/Field.d.cts +180 -0
- package/dist/field/Field.d.ts +180 -0
- package/dist/field/Field.js +5 -0
- package/dist/field/FieldCharacterCount.cjs +10 -0
- package/dist/field/FieldCharacterCount.d.cts +72 -0
- package/dist/field/FieldCharacterCount.d.ts +72 -0
- package/dist/field/FieldCharacterCount.js +10 -0
- package/dist/field/FieldDescription.cjs +5 -0
- package/dist/field/FieldDescription.d.cts +34 -0
- package/dist/field/FieldDescription.d.ts +34 -0
- package/dist/field/FieldDescription.js +5 -0
- package/dist/field/FieldError.cjs +8 -0
- package/dist/field/FieldError.d.cts +46 -0
- package/dist/field/FieldError.d.ts +46 -0
- package/dist/field/FieldError.js +8 -0
- package/dist/field/FieldLabel.cjs +5 -0
- package/dist/field/FieldLabel.d.cts +52 -0
- package/dist/field/FieldLabel.d.ts +52 -0
- package/dist/field/FieldLabel.js +5 -0
- package/dist/field/Fieldset.cjs +1 -0
- package/dist/field/Fieldset.d.cts +43 -0
- package/dist/field/Fieldset.d.ts +43 -0
- package/dist/field/Fieldset.js +1 -0
- package/dist/field/field-core.cjs +1 -0
- package/dist/field/field-core.d.cts +284 -0
- package/dist/field/field-core.d.ts +284 -0
- package/dist/field/field-core.js +1 -0
- package/dist/field/index.cjs +1 -0
- package/dist/field/index.d.cts +7 -0
- package/dist/field/index.d.ts +7 -0
- package/dist/field/index.js +1 -0
- package/dist/file-upload/FileUpload.cjs +5 -0
- package/dist/file-upload/FileUpload.d.cts +129 -0
- package/dist/file-upload/FileUpload.d.ts +129 -0
- package/dist/file-upload/FileUpload.js +5 -0
- package/dist/file-upload/FileUploadDropzone.cjs +5 -0
- package/dist/file-upload/FileUploadDropzone.d.cts +37 -0
- package/dist/file-upload/FileUploadDropzone.d.ts +37 -0
- package/dist/file-upload/FileUploadDropzone.js +5 -0
- package/dist/file-upload/FileUploadInput.cjs +27 -0
- package/dist/file-upload/FileUploadInput.d.cts +37 -0
- package/dist/file-upload/FileUploadInput.d.ts +37 -0
- package/dist/file-upload/FileUploadInput.js +27 -0
- package/dist/file-upload/FileUploadItem.cjs +5 -0
- package/dist/file-upload/FileUploadItem.d.cts +38 -0
- package/dist/file-upload/FileUploadItem.d.ts +38 -0
- package/dist/file-upload/FileUploadItem.js +5 -0
- package/dist/file-upload/FileUploadItemDelete.cjs +15 -0
- package/dist/file-upload/FileUploadItemDelete.d.cts +28 -0
- package/dist/file-upload/FileUploadItemDelete.d.ts +28 -0
- package/dist/file-upload/FileUploadItemDelete.js +15 -0
- package/dist/file-upload/FileUploadTrigger.cjs +15 -0
- package/dist/file-upload/FileUploadTrigger.d.cts +25 -0
- package/dist/file-upload/FileUploadTrigger.d.ts +25 -0
- package/dist/file-upload/FileUploadTrigger.js +15 -0
- package/dist/file-upload/index.cjs +1 -0
- package/dist/file-upload/index.d.cts +6 -0
- package/dist/file-upload/index.d.ts +6 -0
- package/dist/file-upload/index.js +1 -0
- package/dist/floating-panel/FloatingPanel.cjs +5 -0
- package/dist/floating-panel/FloatingPanel.d.cts +262 -0
- package/dist/floating-panel/FloatingPanel.d.ts +262 -0
- package/dist/floating-panel/FloatingPanel.js +5 -0
- package/dist/floating-panel/FloatingPanelCloseTrigger.cjs +14 -0
- package/dist/floating-panel/FloatingPanelCloseTrigger.d.cts +32 -0
- package/dist/floating-panel/FloatingPanelCloseTrigger.d.ts +32 -0
- package/dist/floating-panel/FloatingPanelCloseTrigger.js +14 -0
- package/dist/floating-panel/FloatingPanelContent.cjs +5 -0
- package/dist/floating-panel/FloatingPanelContent.d.cts +62 -0
- package/dist/floating-panel/FloatingPanelContent.d.ts +62 -0
- package/dist/floating-panel/FloatingPanelContent.js +5 -0
- package/dist/floating-panel/FloatingPanelHeader.cjs +7 -0
- package/dist/floating-panel/FloatingPanelHeader.d.cts +60 -0
- package/dist/floating-panel/FloatingPanelHeader.d.ts +60 -0
- package/dist/floating-panel/FloatingPanelHeader.js +7 -0
- package/dist/floating-panel/FloatingPanelPortal.cjs +1 -0
- package/dist/floating-panel/FloatingPanelPortal.d.cts +30 -0
- package/dist/floating-panel/FloatingPanelPortal.d.ts +30 -0
- package/dist/floating-panel/FloatingPanelPortal.js +1 -0
- package/dist/floating-panel/FloatingPanelResizeTrigger.cjs +7 -0
- package/dist/floating-panel/FloatingPanelResizeTrigger.d.cts +64 -0
- package/dist/floating-panel/FloatingPanelResizeTrigger.d.ts +64 -0
- package/dist/floating-panel/FloatingPanelResizeTrigger.js +7 -0
- package/dist/floating-panel/FloatingPanelStageTrigger.cjs +16 -0
- package/dist/floating-panel/FloatingPanelStageTrigger.d.cts +52 -0
- package/dist/floating-panel/FloatingPanelStageTrigger.d.ts +52 -0
- package/dist/floating-panel/FloatingPanelStageTrigger.js +16 -0
- package/dist/floating-panel/FloatingPanelTitle.cjs +5 -0
- package/dist/floating-panel/FloatingPanelTitle.d.cts +23 -0
- package/dist/floating-panel/FloatingPanelTitle.d.ts +23 -0
- package/dist/floating-panel/FloatingPanelTitle.js +5 -0
- package/dist/floating-panel/FloatingPanelTrigger.cjs +16 -0
- package/dist/floating-panel/FloatingPanelTrigger.d.cts +30 -0
- package/dist/floating-panel/FloatingPanelTrigger.d.ts +30 -0
- package/dist/floating-panel/FloatingPanelTrigger.js +16 -0
- package/dist/floating-panel/gesture.cjs +1 -0
- package/dist/floating-panel/gesture.d.cts +25 -0
- package/dist/floating-panel/gesture.d.ts +25 -0
- package/dist/floating-panel/gesture.js +1 -0
- package/dist/floating-panel/index.cjs +1 -0
- package/dist/floating-panel/index.d.cts +9 -0
- package/dist/floating-panel/index.d.ts +9 -0
- package/dist/floating-panel/index.js +1 -0
- package/dist/form/Form.cjs +5 -0
- package/dist/form/Form.d.cts +48 -0
- package/dist/form/Form.d.ts +48 -0
- package/dist/form/Form.js +5 -0
- package/dist/form/FormControl.cjs +5 -0
- package/dist/form/FormControl.d.cts +41 -0
- package/dist/form/FormControl.d.ts +41 -0
- package/dist/form/FormControl.js +5 -0
- package/dist/form/FormErrorSummary.cjs +15 -0
- package/dist/form/FormErrorSummary.d.cts +79 -0
- package/dist/form/FormErrorSummary.d.ts +79 -0
- package/dist/form/FormErrorSummary.js +15 -0
- package/dist/form/FormField.cjs +5 -0
- package/dist/form/FormField.d.cts +47 -0
- package/dist/form/FormField.d.ts +47 -0
- package/dist/form/FormField.js +5 -0
- package/dist/form/FormLabel.cjs +5 -0
- package/dist/form/FormLabel.d.cts +25 -0
- package/dist/form/FormLabel.d.ts +25 -0
- package/dist/form/FormLabel.js +5 -0
- package/dist/form/FormMessage.cjs +8 -0
- package/dist/form/FormMessage.d.cts +38 -0
- package/dist/form/FormMessage.d.ts +38 -0
- package/dist/form/FormMessage.js +8 -0
- package/dist/form/FormSubmit.cjs +9 -0
- package/dist/form/FormSubmit.d.cts +21 -0
- package/dist/form/FormSubmit.d.ts +21 -0
- package/dist/form/FormSubmit.js +9 -0
- package/dist/form/index.cjs +1 -0
- package/dist/form/index.d.cts +7 -0
- package/dist/form/index.d.ts +7 -0
- package/dist/form/index.js +1 -0
- package/dist/form/validity.cjs +1 -0
- package/dist/form/validity.d.cts +21 -0
- package/dist/form/validity.d.ts +21 -0
- package/dist/form/validity.js +1 -0
- package/dist/hover-card/HoverCard.cjs +5 -0
- package/dist/hover-card/HoverCard.d.cts +85 -0
- package/dist/hover-card/HoverCard.d.ts +85 -0
- package/dist/hover-card/HoverCard.js +5 -0
- package/dist/hover-card/HoverCardArrow.cjs +1 -0
- package/dist/hover-card/HoverCardArrow.d.cts +23 -0
- package/dist/hover-card/HoverCardArrow.d.ts +23 -0
- package/dist/hover-card/HoverCardArrow.js +1 -0
- package/dist/hover-card/HoverCardContent.cjs +5 -0
- package/dist/hover-card/HoverCardContent.d.cts +85 -0
- package/dist/hover-card/HoverCardContent.d.ts +85 -0
- package/dist/hover-card/HoverCardContent.js +5 -0
- package/dist/hover-card/HoverCardPortal.cjs +1 -0
- package/dist/hover-card/HoverCardPortal.d.cts +33 -0
- package/dist/hover-card/HoverCardPortal.d.ts +33 -0
- package/dist/hover-card/HoverCardPortal.js +1 -0
- package/dist/hover-card/HoverCardTrigger.cjs +22 -0
- package/dist/hover-card/HoverCardTrigger.d.cts +36 -0
- package/dist/hover-card/HoverCardTrigger.d.ts +36 -0
- package/dist/hover-card/HoverCardTrigger.js +22 -0
- package/dist/hover-card/index.cjs +1 -0
- package/dist/hover-card/index.d.cts +5 -0
- package/dist/hover-card/index.d.ts +5 -0
- package/dist/hover-card/index.js +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +101 -0
- package/dist/index.d.ts +101 -0
- package/dist/index.js +1 -0
- package/dist/internal/aria-label.cjs +1 -0
- package/dist/internal/aria-label.d.cts +17 -0
- package/dist/internal/aria-label.d.ts +17 -0
- package/dist/internal/aria-label.js +1 -0
- package/dist/internal/authored.cjs +1 -0
- package/dist/internal/authored.d.cts +33 -0
- package/dist/internal/authored.d.ts +33 -0
- package/dist/internal/authored.js +1 -0
- package/dist/internal/closest.cjs +1 -0
- package/dist/internal/closest.d.cts +53 -0
- package/dist/internal/closest.d.ts +53 -0
- package/dist/internal/closest.js +1 -0
- package/dist/internal/color.cjs +1 -0
- package/dist/internal/color.d.cts +149 -0
- package/dist/internal/color.d.ts +149 -0
- package/dist/internal/color.js +1 -0
- package/dist/internal/date-segments.cjs +1 -0
- package/dist/internal/date-segments.d.cts +163 -0
- package/dist/internal/date-segments.d.ts +163 -0
- package/dist/internal/date-segments.js +1 -0
- package/dist/internal/define.cjs +1 -0
- package/dist/internal/define.d.cts +38 -0
- package/dist/internal/define.d.ts +38 -0
- package/dist/internal/define.js +1 -0
- package/dist/internal/direction.cjs +1 -0
- package/dist/internal/direction.d.cts +54 -0
- package/dist/internal/direction.d.ts +54 -0
- package/dist/internal/direction.js +1 -0
- package/dist/internal/dismiss.cjs +1 -0
- package/dist/internal/dismiss.d.cts +128 -0
- package/dist/internal/dismiss.d.ts +128 -0
- package/dist/internal/dismiss.js +1 -0
- package/dist/internal/form-associated.cjs +1 -0
- package/dist/internal/form-associated.d.cts +101 -0
- package/dist/internal/form-associated.d.ts +101 -0
- package/dist/internal/form-associated.js +1 -0
- package/dist/internal/ids.cjs +1 -0
- package/dist/internal/ids.d.cts +4 -0
- package/dist/internal/ids.d.ts +4 -0
- package/dist/internal/ids.js +1 -0
- package/dist/internal/menu-sub.cjs +5 -0
- package/dist/internal/menu-sub.d.cts +140 -0
- package/dist/internal/menu-sub.d.ts +140 -0
- package/dist/internal/menu-sub.js +5 -0
- package/dist/internal/number-format.cjs +1 -0
- package/dist/internal/number-format.d.cts +19 -0
- package/dist/internal/number-format.d.ts +19 -0
- package/dist/internal/number-format.js +1 -0
- package/dist/internal/open-change-complete.cjs +1 -0
- package/dist/internal/open-change-complete.d.cts +23 -0
- package/dist/internal/open-change-complete.d.ts +23 -0
- package/dist/internal/open-change-complete.js +1 -0
- package/dist/internal/overlay-arrow.cjs +6 -0
- package/dist/internal/overlay-arrow.d.cts +25 -0
- package/dist/internal/overlay-arrow.d.ts +25 -0
- package/dist/internal/overlay-arrow.js +6 -0
- package/dist/internal/part.cjs +1 -0
- package/dist/internal/part.d.cts +72 -0
- package/dist/internal/part.d.ts +72 -0
- package/dist/internal/part.js +1 -0
- package/dist/internal/pointer-angle.cjs +1 -0
- package/dist/internal/pointer-angle.d.cts +105 -0
- package/dist/internal/pointer-angle.d.ts +105 -0
- package/dist/internal/pointer-angle.js +1 -0
- package/dist/internal/positioning.cjs +1 -0
- package/dist/internal/positioning.d.cts +98 -0
- package/dist/internal/positioning.d.ts +98 -0
- package/dist/internal/positioning.js +1 -0
- package/dist/internal/segmented-field.cjs +21 -0
- package/dist/internal/segmented-field.d.cts +63 -0
- package/dist/internal/segmented-field.d.ts +63 -0
- package/dist/internal/segmented-field.js +21 -0
- package/dist/internal/selection.cjs +1 -0
- package/dist/internal/selection.d.cts +38 -0
- package/dist/internal/selection.d.ts +38 -0
- package/dist/internal/selection.js +1 -0
- package/dist/internal/styles.cjs +244 -0
- package/dist/internal/styles.d.cts +105 -0
- package/dist/internal/styles.d.ts +105 -0
- package/dist/internal/styles.js +244 -0
- package/dist/internal/typeahead.cjs +1 -0
- package/dist/internal/typeahead.d.cts +46 -0
- package/dist/internal/typeahead.d.ts +46 -0
- package/dist/internal/typeahead.js +1 -0
- package/dist/kbd/Kbd.cjs +9 -0
- package/dist/kbd/Kbd.d.cts +24 -0
- package/dist/kbd/Kbd.d.ts +24 -0
- package/dist/kbd/Kbd.js +9 -0
- package/dist/kbd/index.cjs +1 -0
- package/dist/kbd/index.d.cts +1 -0
- package/dist/kbd/index.d.ts +1 -0
- package/dist/kbd/index.js +1 -0
- package/dist/label/Label.cjs +1 -0
- package/dist/label/Label.d.cts +55 -0
- package/dist/label/Label.d.ts +55 -0
- package/dist/label/Label.js +1 -0
- package/dist/label/index.cjs +1 -0
- package/dist/label/index.d.cts +1 -0
- package/dist/label/index.d.ts +1 -0
- package/dist/label/index.js +1 -0
- package/dist/listbox/Listbox.cjs +5 -0
- package/dist/listbox/Listbox.d.cts +130 -0
- package/dist/listbox/Listbox.d.ts +130 -0
- package/dist/listbox/Listbox.js +5 -0
- package/dist/listbox/ListboxGroup.cjs +5 -0
- package/dist/listbox/ListboxGroup.d.cts +34 -0
- package/dist/listbox/ListboxGroup.d.ts +34 -0
- package/dist/listbox/ListboxGroup.js +5 -0
- package/dist/listbox/ListboxItem.cjs +5 -0
- package/dist/listbox/ListboxItem.d.cts +64 -0
- package/dist/listbox/ListboxItem.d.ts +64 -0
- package/dist/listbox/ListboxItem.js +5 -0
- package/dist/listbox/ListboxItemIndicator.cjs +5 -0
- package/dist/listbox/ListboxItemIndicator.d.cts +49 -0
- package/dist/listbox/ListboxItemIndicator.d.ts +49 -0
- package/dist/listbox/ListboxItemIndicator.js +5 -0
- package/dist/listbox/ListboxLabel.cjs +5 -0
- package/dist/listbox/ListboxLabel.d.cts +27 -0
- package/dist/listbox/ListboxLabel.d.ts +27 -0
- package/dist/listbox/ListboxLabel.js +5 -0
- package/dist/listbox/index.cjs +1 -0
- package/dist/listbox/index.d.cts +5 -0
- package/dist/listbox/index.d.ts +5 -0
- package/dist/listbox/index.js +1 -0
- package/dist/loading-overlay/LoadingOverlay.cjs +5 -0
- package/dist/loading-overlay/LoadingOverlay.d.cts +120 -0
- package/dist/loading-overlay/LoadingOverlay.d.ts +120 -0
- package/dist/loading-overlay/LoadingOverlay.js +5 -0
- package/dist/loading-overlay/LoadingOverlayBackdrop.cjs +5 -0
- package/dist/loading-overlay/LoadingOverlayBackdrop.d.cts +40 -0
- package/dist/loading-overlay/LoadingOverlayBackdrop.d.ts +40 -0
- package/dist/loading-overlay/LoadingOverlayBackdrop.js +5 -0
- package/dist/loading-overlay/LoadingOverlayContent.cjs +7 -0
- package/dist/loading-overlay/LoadingOverlayContent.d.cts +46 -0
- package/dist/loading-overlay/LoadingOverlayContent.d.ts +46 -0
- package/dist/loading-overlay/LoadingOverlayContent.js +7 -0
- package/dist/loading-overlay/index.cjs +1 -0
- package/dist/loading-overlay/index.d.cts +3 -0
- package/dist/loading-overlay/index.d.ts +3 -0
- package/dist/loading-overlay/index.js +1 -0
- package/dist/menubar/Menubar.cjs +5 -0
- package/dist/menubar/Menubar.d.cts +53 -0
- package/dist/menubar/Menubar.d.ts +53 -0
- package/dist/menubar/Menubar.js +5 -0
- package/dist/menubar/MenubarArrow.cjs +1 -0
- package/dist/menubar/MenubarArrow.d.cts +22 -0
- package/dist/menubar/MenubarArrow.d.ts +22 -0
- package/dist/menubar/MenubarArrow.js +1 -0
- package/dist/menubar/MenubarCheckboxItem.cjs +5 -0
- package/dist/menubar/MenubarCheckboxItem.d.cts +25 -0
- package/dist/menubar/MenubarCheckboxItem.d.ts +25 -0
- package/dist/menubar/MenubarCheckboxItem.js +5 -0
- package/dist/menubar/MenubarContent.cjs +5 -0
- package/dist/menubar/MenubarContent.d.cts +86 -0
- package/dist/menubar/MenubarContent.d.ts +86 -0
- package/dist/menubar/MenubarContent.js +5 -0
- package/dist/menubar/MenubarGroup.cjs +5 -0
- package/dist/menubar/MenubarGroup.d.cts +12 -0
- package/dist/menubar/MenubarGroup.d.ts +12 -0
- package/dist/menubar/MenubarGroup.js +5 -0
- package/dist/menubar/MenubarItem.cjs +5 -0
- package/dist/menubar/MenubarItem.d.cts +28 -0
- package/dist/menubar/MenubarItem.d.ts +28 -0
- package/dist/menubar/MenubarItem.js +5 -0
- package/dist/menubar/MenubarItemIndicator.cjs +5 -0
- package/dist/menubar/MenubarItemIndicator.d.cts +24 -0
- package/dist/menubar/MenubarItemIndicator.d.ts +24 -0
- package/dist/menubar/MenubarItemIndicator.js +5 -0
- package/dist/menubar/MenubarLabel.cjs +5 -0
- package/dist/menubar/MenubarLabel.d.cts +11 -0
- package/dist/menubar/MenubarLabel.d.ts +11 -0
- package/dist/menubar/MenubarLabel.js +5 -0
- package/dist/menubar/MenubarMenu.cjs +5 -0
- package/dist/menubar/MenubarMenu.d.cts +52 -0
- package/dist/menubar/MenubarMenu.d.ts +52 -0
- package/dist/menubar/MenubarMenu.js +5 -0
- package/dist/menubar/MenubarPortal.cjs +1 -0
- package/dist/menubar/MenubarPortal.d.cts +40 -0
- package/dist/menubar/MenubarPortal.d.ts +40 -0
- package/dist/menubar/MenubarPortal.js +1 -0
- package/dist/menubar/MenubarRadioGroup.cjs +5 -0
- package/dist/menubar/MenubarRadioGroup.d.cts +23 -0
- package/dist/menubar/MenubarRadioGroup.d.ts +23 -0
- package/dist/menubar/MenubarRadioGroup.js +5 -0
- package/dist/menubar/MenubarRadioItem.cjs +5 -0
- package/dist/menubar/MenubarRadioItem.d.cts +28 -0
- package/dist/menubar/MenubarRadioItem.d.ts +28 -0
- package/dist/menubar/MenubarRadioItem.js +5 -0
- package/dist/menubar/MenubarSeparator.cjs +5 -0
- package/dist/menubar/MenubarSeparator.d.cts +12 -0
- package/dist/menubar/MenubarSeparator.d.ts +12 -0
- package/dist/menubar/MenubarSeparator.js +5 -0
- package/dist/menubar/MenubarSub.cjs +1 -0
- package/dist/menubar/MenubarSub.d.cts +56 -0
- package/dist/menubar/MenubarSub.d.ts +56 -0
- package/dist/menubar/MenubarSub.js +1 -0
- package/dist/menubar/MenubarTrigger.cjs +23 -0
- package/dist/menubar/MenubarTrigger.d.cts +34 -0
- package/dist/menubar/MenubarTrigger.d.ts +34 -0
- package/dist/menubar/MenubarTrigger.js +23 -0
- package/dist/menubar/index.cjs +1 -0
- package/dist/menubar/index.d.cts +15 -0
- package/dist/menubar/index.d.ts +15 -0
- package/dist/menubar/index.js +1 -0
- package/dist/meter/Meter.cjs +5 -0
- package/dist/meter/Meter.d.cts +73 -0
- package/dist/meter/Meter.d.ts +73 -0
- package/dist/meter/Meter.js +5 -0
- package/dist/meter/MeterIndicator.cjs +5 -0
- package/dist/meter/MeterIndicator.d.cts +30 -0
- package/dist/meter/MeterIndicator.d.ts +30 -0
- package/dist/meter/MeterIndicator.js +5 -0
- package/dist/meter/index.cjs +1 -0
- package/dist/meter/index.d.cts +2 -0
- package/dist/meter/index.d.ts +2 -0
- package/dist/meter/index.js +1 -0
- package/dist/multi-select/MultiSelect.cjs +5 -0
- package/dist/multi-select/MultiSelect.d.cts +252 -0
- package/dist/multi-select/MultiSelect.d.ts +252 -0
- package/dist/multi-select/MultiSelect.js +5 -0
- package/dist/multi-select/MultiSelectContent.cjs +5 -0
- package/dist/multi-select/MultiSelectContent.d.cts +87 -0
- package/dist/multi-select/MultiSelectContent.d.ts +87 -0
- package/dist/multi-select/MultiSelectContent.js +5 -0
- package/dist/multi-select/MultiSelectInput.cjs +26 -0
- package/dist/multi-select/MultiSelectInput.d.cts +69 -0
- package/dist/multi-select/MultiSelectInput.d.ts +69 -0
- package/dist/multi-select/MultiSelectInput.js +26 -0
- package/dist/multi-select/MultiSelectItem.cjs +8 -0
- package/dist/multi-select/MultiSelectItem.d.cts +65 -0
- package/dist/multi-select/MultiSelectItem.d.ts +65 -0
- package/dist/multi-select/MultiSelectItem.js +8 -0
- package/dist/multi-select/MultiSelectList.cjs +5 -0
- package/dist/multi-select/MultiSelectList.d.cts +35 -0
- package/dist/multi-select/MultiSelectList.d.ts +35 -0
- package/dist/multi-select/MultiSelectList.js +5 -0
- package/dist/multi-select/MultiSelectPortal.cjs +1 -0
- package/dist/multi-select/MultiSelectPortal.d.cts +37 -0
- package/dist/multi-select/MultiSelectPortal.d.ts +37 -0
- package/dist/multi-select/MultiSelectPortal.js +1 -0
- package/dist/multi-select/MultiSelectTag.cjs +5 -0
- package/dist/multi-select/MultiSelectTag.d.cts +61 -0
- package/dist/multi-select/MultiSelectTag.d.ts +61 -0
- package/dist/multi-select/MultiSelectTag.js +5 -0
- package/dist/multi-select/MultiSelectTagList.cjs +1 -0
- package/dist/multi-select/MultiSelectTagList.d.cts +40 -0
- package/dist/multi-select/MultiSelectTagList.d.ts +40 -0
- package/dist/multi-select/MultiSelectTagList.js +1 -0
- package/dist/multi-select/MultiSelectTagRemove.cjs +17 -0
- package/dist/multi-select/MultiSelectTagRemove.d.cts +50 -0
- package/dist/multi-select/MultiSelectTagRemove.d.ts +50 -0
- package/dist/multi-select/MultiSelectTagRemove.js +17 -0
- package/dist/multi-select/index.cjs +1 -0
- package/dist/multi-select/index.d.cts +10 -0
- package/dist/multi-select/index.d.ts +10 -0
- package/dist/multi-select/index.js +1 -0
- package/dist/navigation-menu/NavigationMenu.cjs +5 -0
- package/dist/navigation-menu/NavigationMenu.d.cts +125 -0
- package/dist/navigation-menu/NavigationMenu.d.ts +125 -0
- package/dist/navigation-menu/NavigationMenu.js +5 -0
- package/dist/navigation-menu/NavigationMenuContent.cjs +5 -0
- package/dist/navigation-menu/NavigationMenuContent.d.cts +31 -0
- package/dist/navigation-menu/NavigationMenuContent.d.ts +31 -0
- package/dist/navigation-menu/NavigationMenuContent.js +5 -0
- package/dist/navigation-menu/NavigationMenuIndicator.cjs +5 -0
- package/dist/navigation-menu/NavigationMenuIndicator.d.cts +24 -0
- package/dist/navigation-menu/NavigationMenuIndicator.d.ts +24 -0
- package/dist/navigation-menu/NavigationMenuIndicator.js +5 -0
- package/dist/navigation-menu/NavigationMenuItem.cjs +5 -0
- package/dist/navigation-menu/NavigationMenuItem.d.cts +20 -0
- package/dist/navigation-menu/NavigationMenuItem.d.ts +20 -0
- package/dist/navigation-menu/NavigationMenuItem.js +5 -0
- package/dist/navigation-menu/NavigationMenuLink.cjs +19 -0
- package/dist/navigation-menu/NavigationMenuLink.d.cts +30 -0
- package/dist/navigation-menu/NavigationMenuLink.d.ts +30 -0
- package/dist/navigation-menu/NavigationMenuLink.js +19 -0
- package/dist/navigation-menu/NavigationMenuList.cjs +5 -0
- package/dist/navigation-menu/NavigationMenuList.d.cts +21 -0
- package/dist/navigation-menu/NavigationMenuList.d.ts +21 -0
- package/dist/navigation-menu/NavigationMenuList.js +5 -0
- package/dist/navigation-menu/NavigationMenuTrigger.cjs +14 -0
- package/dist/navigation-menu/NavigationMenuTrigger.d.cts +54 -0
- package/dist/navigation-menu/NavigationMenuTrigger.d.ts +54 -0
- package/dist/navigation-menu/NavigationMenuTrigger.js +14 -0
- package/dist/navigation-menu/index.cjs +1 -0
- package/dist/navigation-menu/index.d.cts +7 -0
- package/dist/navigation-menu/index.d.ts +7 -0
- package/dist/navigation-menu/index.js +1 -0
- package/dist/number-field/NumberField.cjs +5 -0
- package/dist/number-field/NumberField.d.cts +80 -0
- package/dist/number-field/NumberField.d.ts +80 -0
- package/dist/number-field/NumberField.js +5 -0
- package/dist/number-field/NumberFieldDecrement.cjs +19 -0
- package/dist/number-field/NumberFieldDecrement.d.cts +42 -0
- package/dist/number-field/NumberFieldDecrement.d.ts +42 -0
- package/dist/number-field/NumberFieldDecrement.js +19 -0
- package/dist/number-field/NumberFieldIncrement.cjs +19 -0
- package/dist/number-field/NumberFieldIncrement.d.cts +42 -0
- package/dist/number-field/NumberFieldIncrement.d.ts +42 -0
- package/dist/number-field/NumberFieldIncrement.js +19 -0
- package/dist/number-field/NumberFieldInput.cjs +23 -0
- package/dist/number-field/NumberFieldInput.d.cts +60 -0
- package/dist/number-field/NumberFieldInput.d.ts +60 -0
- package/dist/number-field/NumberFieldInput.js +23 -0
- package/dist/number-field/index.cjs +1 -0
- package/dist/number-field/index.d.cts +4 -0
- package/dist/number-field/index.d.ts +4 -0
- package/dist/number-field/index.js +1 -0
- package/dist/pagination/Pagination.cjs +5 -0
- package/dist/pagination/Pagination.d.cts +71 -0
- package/dist/pagination/Pagination.d.ts +71 -0
- package/dist/pagination/Pagination.js +5 -0
- package/dist/pagination/PaginationEllipsis.cjs +5 -0
- package/dist/pagination/PaginationEllipsis.d.cts +24 -0
- package/dist/pagination/PaginationEllipsis.d.ts +24 -0
- package/dist/pagination/PaginationEllipsis.js +5 -0
- package/dist/pagination/PaginationFirst.cjs +9 -0
- package/dist/pagination/PaginationFirst.d.cts +32 -0
- package/dist/pagination/PaginationFirst.d.ts +32 -0
- package/dist/pagination/PaginationFirst.js +9 -0
- package/dist/pagination/PaginationItem.cjs +5 -0
- package/dist/pagination/PaginationItem.d.cts +24 -0
- package/dist/pagination/PaginationItem.d.ts +24 -0
- package/dist/pagination/PaginationItem.js +5 -0
- package/dist/pagination/PaginationLast.cjs +9 -0
- package/dist/pagination/PaginationLast.d.cts +34 -0
- package/dist/pagination/PaginationLast.d.ts +34 -0
- package/dist/pagination/PaginationLast.js +9 -0
- package/dist/pagination/PaginationLink.cjs +9 -0
- package/dist/pagination/PaginationLink.d.cts +53 -0
- package/dist/pagination/PaginationLink.d.ts +53 -0
- package/dist/pagination/PaginationLink.js +9 -0
- package/dist/pagination/PaginationList.cjs +5 -0
- package/dist/pagination/PaginationList.d.cts +23 -0
- package/dist/pagination/PaginationList.d.ts +23 -0
- package/dist/pagination/PaginationList.js +5 -0
- package/dist/pagination/PaginationNext.cjs +9 -0
- package/dist/pagination/PaginationNext.d.cts +32 -0
- package/dist/pagination/PaginationNext.d.ts +32 -0
- package/dist/pagination/PaginationNext.js +9 -0
- package/dist/pagination/PaginationPrevious.cjs +9 -0
- package/dist/pagination/PaginationPrevious.d.cts +32 -0
- package/dist/pagination/PaginationPrevious.d.ts +32 -0
- package/dist/pagination/PaginationPrevious.js +9 -0
- package/dist/pagination/index.cjs +1 -0
- package/dist/pagination/index.d.cts +10 -0
- package/dist/pagination/index.d.ts +10 -0
- package/dist/pagination/index.js +1 -0
- package/dist/pagination/pages.cjs +1 -0
- package/dist/pagination/pages.d.cts +41 -0
- package/dist/pagination/pages.d.ts +41 -0
- package/dist/pagination/pages.js +1 -0
- package/dist/password-input/PasswordInput.cjs +1 -0
- package/dist/password-input/PasswordInput.d.cts +107 -0
- package/dist/password-input/PasswordInput.d.ts +107 -0
- package/dist/password-input/PasswordInput.js +1 -0
- package/dist/password-input/PasswordInputField.cjs +18 -0
- package/dist/password-input/PasswordInputField.d.cts +94 -0
- package/dist/password-input/PasswordInputField.d.ts +94 -0
- package/dist/password-input/PasswordInputField.js +18 -0
- package/dist/password-input/PasswordInputToggle.cjs +18 -0
- package/dist/password-input/PasswordInputToggle.d.cts +52 -0
- package/dist/password-input/PasswordInputToggle.d.ts +52 -0
- package/dist/password-input/PasswordInputToggle.js +18 -0
- package/dist/password-input/index.cjs +1 -0
- package/dist/password-input/index.d.cts +3 -0
- package/dist/password-input/index.d.ts +3 -0
- package/dist/password-input/index.js +1 -0
- package/dist/pin-input/PinInput.cjs +5 -0
- package/dist/pin-input/PinInput.d.cts +110 -0
- package/dist/pin-input/PinInput.d.ts +110 -0
- package/dist/pin-input/PinInput.js +5 -0
- package/dist/pin-input/PinInputField.cjs +21 -0
- package/dist/pin-input/PinInputField.d.cts +58 -0
- package/dist/pin-input/PinInputField.d.ts +58 -0
- package/dist/pin-input/PinInputField.js +21 -0
- package/dist/pin-input/index.cjs +1 -0
- package/dist/pin-input/index.d.cts +2 -0
- package/dist/pin-input/index.d.ts +2 -0
- package/dist/pin-input/index.js +1 -0
- package/dist/popover/Popover.cjs +5 -0
- package/dist/popover/Popover.d.cts +67 -0
- package/dist/popover/Popover.d.ts +67 -0
- package/dist/popover/Popover.js +5 -0
- package/dist/popover/PopoverArrow.cjs +1 -0
- package/dist/popover/PopoverArrow.d.cts +22 -0
- package/dist/popover/PopoverArrow.d.ts +22 -0
- package/dist/popover/PopoverArrow.js +1 -0
- package/dist/popover/PopoverClose.cjs +9 -0
- package/dist/popover/PopoverClose.d.cts +19 -0
- package/dist/popover/PopoverClose.d.ts +19 -0
- package/dist/popover/PopoverClose.js +9 -0
- package/dist/popover/PopoverContent.cjs +5 -0
- package/dist/popover/PopoverContent.d.cts +88 -0
- package/dist/popover/PopoverContent.d.ts +88 -0
- package/dist/popover/PopoverContent.js +5 -0
- package/dist/popover/PopoverPortal.cjs +1 -0
- package/dist/popover/PopoverPortal.d.cts +33 -0
- package/dist/popover/PopoverPortal.d.ts +33 -0
- package/dist/popover/PopoverPortal.js +1 -0
- package/dist/popover/PopoverTrigger.cjs +17 -0
- package/dist/popover/PopoverTrigger.d.cts +26 -0
- package/dist/popover/PopoverTrigger.d.ts +26 -0
- package/dist/popover/PopoverTrigger.js +17 -0
- package/dist/popover/index.cjs +1 -0
- package/dist/popover/index.d.cts +6 -0
- package/dist/popover/index.d.ts +6 -0
- package/dist/popover/index.js +1 -0
- package/dist/progress/Progress.cjs +5 -0
- package/dist/progress/Progress.d.cts +40 -0
- package/dist/progress/Progress.d.ts +40 -0
- package/dist/progress/Progress.js +5 -0
- package/dist/progress/ProgressCircle.cjs +5 -0
- package/dist/progress/ProgressCircle.d.cts +93 -0
- package/dist/progress/ProgressCircle.d.ts +93 -0
- package/dist/progress/ProgressCircle.js +5 -0
- package/dist/progress/ProgressCircleIndicator.cjs +5 -0
- package/dist/progress/ProgressCircleIndicator.d.cts +55 -0
- package/dist/progress/ProgressCircleIndicator.d.ts +55 -0
- package/dist/progress/ProgressCircleIndicator.js +5 -0
- package/dist/progress/ProgressIndicator.cjs +5 -0
- package/dist/progress/ProgressIndicator.d.cts +30 -0
- package/dist/progress/ProgressIndicator.d.ts +30 -0
- package/dist/progress/ProgressIndicator.js +5 -0
- package/dist/progress/index.cjs +1 -0
- package/dist/progress/index.d.cts +4 -0
- package/dist/progress/index.d.ts +4 -0
- package/dist/progress/index.js +1 -0
- package/dist/qr-code/QrCode.cjs +8 -0
- package/dist/qr-code/QrCode.d.cts +105 -0
- package/dist/qr-code/QrCode.d.ts +105 -0
- package/dist/qr-code/QrCode.js +8 -0
- package/dist/qr-code/QrCodeFrame.cjs +7 -0
- package/dist/qr-code/QrCodeFrame.d.cts +49 -0
- package/dist/qr-code/QrCodeFrame.d.ts +49 -0
- package/dist/qr-code/QrCodeFrame.js +7 -0
- package/dist/qr-code/QrCodeOverlay.cjs +7 -0
- package/dist/qr-code/QrCodeOverlay.d.cts +55 -0
- package/dist/qr-code/QrCodeOverlay.d.ts +55 -0
- package/dist/qr-code/QrCodeOverlay.js +7 -0
- package/dist/qr-code/QrCodePattern.cjs +20 -0
- package/dist/qr-code/QrCodePattern.d.cts +53 -0
- package/dist/qr-code/QrCodePattern.d.ts +53 -0
- package/dist/qr-code/QrCodePattern.js +20 -0
- package/dist/qr-code/encoder.cjs +1 -0
- package/dist/qr-code/encoder.d.cts +73 -0
- package/dist/qr-code/encoder.d.ts +73 -0
- package/dist/qr-code/encoder.js +1 -0
- package/dist/qr-code/index.cjs +1 -0
- package/dist/qr-code/index.d.cts +5 -0
- package/dist/qr-code/index.d.ts +5 -0
- package/dist/qr-code/index.js +1 -0
- package/dist/qr-code/types.cjs +1 -0
- package/dist/qr-code/types.d.cts +6 -0
- package/dist/qr-code/types.d.ts +6 -0
- package/dist/qr-code/types.js +0 -0
- package/dist/radio-card/RadioCard.cjs +13 -0
- package/dist/radio-card/RadioCard.d.cts +91 -0
- package/dist/radio-card/RadioCard.d.ts +91 -0
- package/dist/radio-card/RadioCard.js +13 -0
- package/dist/radio-card/RadioCardControl.cjs +13 -0
- package/dist/radio-card/RadioCardControl.d.cts +43 -0
- package/dist/radio-card/RadioCardControl.d.ts +43 -0
- package/dist/radio-card/RadioCardControl.js +13 -0
- package/dist/radio-card/RadioCardDescription.cjs +8 -0
- package/dist/radio-card/RadioCardDescription.d.cts +31 -0
- package/dist/radio-card/RadioCardDescription.d.ts +31 -0
- package/dist/radio-card/RadioCardDescription.js +8 -0
- package/dist/radio-card/RadioCardIndicator.cjs +8 -0
- package/dist/radio-card/RadioCardIndicator.d.cts +32 -0
- package/dist/radio-card/RadioCardIndicator.d.ts +32 -0
- package/dist/radio-card/RadioCardIndicator.js +8 -0
- package/dist/radio-card/RadioCardLabel.cjs +8 -0
- package/dist/radio-card/RadioCardLabel.d.cts +34 -0
- package/dist/radio-card/RadioCardLabel.d.ts +34 -0
- package/dist/radio-card/RadioCardLabel.js +8 -0
- package/dist/radio-card/index.cjs +1 -0
- package/dist/radio-card/index.d.cts +5 -0
- package/dist/radio-card/index.d.ts +5 -0
- package/dist/radio-card/index.js +1 -0
- package/dist/radio-group/RadioGroup.cjs +5 -0
- package/dist/radio-group/RadioGroup.d.cts +115 -0
- package/dist/radio-group/RadioGroup.d.ts +115 -0
- package/dist/radio-group/RadioGroup.js +5 -0
- package/dist/radio-group/RadioGroupIndicator.cjs +8 -0
- package/dist/radio-group/RadioGroupIndicator.d.cts +32 -0
- package/dist/radio-group/RadioGroupIndicator.d.ts +32 -0
- package/dist/radio-group/RadioGroupIndicator.js +8 -0
- package/dist/radio-group/RadioGroupItem.cjs +9 -0
- package/dist/radio-group/RadioGroupItem.d.cts +69 -0
- package/dist/radio-group/RadioGroupItem.d.ts +69 -0
- package/dist/radio-group/RadioGroupItem.js +9 -0
- package/dist/radio-group/index.cjs +1 -0
- package/dist/radio-group/index.d.cts +3 -0
- package/dist/radio-group/index.d.ts +3 -0
- package/dist/radio-group/index.js +1 -0
- package/dist/rating/Rating.cjs +5 -0
- package/dist/rating/Rating.d.cts +111 -0
- package/dist/rating/Rating.d.ts +111 -0
- package/dist/rating/Rating.js +5 -0
- package/dist/rating/RatingItem.cjs +26 -0
- package/dist/rating/RatingItem.d.cts +63 -0
- package/dist/rating/RatingItem.d.ts +63 -0
- package/dist/rating/RatingItem.js +26 -0
- package/dist/rating/index.cjs +1 -0
- package/dist/rating/index.d.cts +2 -0
- package/dist/rating/index.d.ts +2 -0
- package/dist/rating/index.js +1 -0
- package/dist/resizable/ResizableHandle.cjs +12 -0
- package/dist/resizable/ResizableHandle.d.cts +34 -0
- package/dist/resizable/ResizableHandle.d.ts +34 -0
- package/dist/resizable/ResizableHandle.js +12 -0
- package/dist/resizable/ResizablePanel.cjs +6 -0
- package/dist/resizable/ResizablePanel.d.cts +27 -0
- package/dist/resizable/ResizablePanel.d.ts +27 -0
- package/dist/resizable/ResizablePanel.js +6 -0
- package/dist/resizable/ResizablePanelGroup.cjs +5 -0
- package/dist/resizable/ResizablePanelGroup.d.cts +63 -0
- package/dist/resizable/ResizablePanelGroup.d.ts +63 -0
- package/dist/resizable/ResizablePanelGroup.js +5 -0
- package/dist/resizable/index.cjs +1 -0
- package/dist/resizable/index.d.cts +3 -0
- package/dist/resizable/index.d.ts +3 -0
- package/dist/resizable/index.js +1 -0
- package/dist/scroll-area/ScrollArea.cjs +6 -0
- package/dist/scroll-area/ScrollArea.d.cts +58 -0
- package/dist/scroll-area/ScrollArea.d.ts +58 -0
- package/dist/scroll-area/ScrollArea.js +6 -0
- package/dist/scroll-area/ScrollAreaCorner.cjs +5 -0
- package/dist/scroll-area/ScrollAreaCorner.d.cts +38 -0
- package/dist/scroll-area/ScrollAreaCorner.d.ts +38 -0
- package/dist/scroll-area/ScrollAreaCorner.js +5 -0
- package/dist/scroll-area/ScrollAreaScrollbar.cjs +5 -0
- package/dist/scroll-area/ScrollAreaScrollbar.d.cts +39 -0
- package/dist/scroll-area/ScrollAreaScrollbar.d.ts +39 -0
- package/dist/scroll-area/ScrollAreaScrollbar.js +5 -0
- package/dist/scroll-area/ScrollAreaThumb.cjs +7 -0
- package/dist/scroll-area/ScrollAreaThumb.d.cts +52 -0
- package/dist/scroll-area/ScrollAreaThumb.d.ts +52 -0
- package/dist/scroll-area/ScrollAreaThumb.js +7 -0
- package/dist/scroll-area/ScrollAreaViewport.cjs +19 -0
- package/dist/scroll-area/ScrollAreaViewport.d.cts +30 -0
- package/dist/scroll-area/ScrollAreaViewport.d.ts +30 -0
- package/dist/scroll-area/ScrollAreaViewport.js +19 -0
- package/dist/scroll-area/index.cjs +1 -0
- package/dist/scroll-area/index.d.cts +5 -0
- package/dist/scroll-area/index.d.ts +5 -0
- package/dist/scroll-area/index.js +1 -0
- package/dist/segmented-control/SegmentedControl.cjs +5 -0
- package/dist/segmented-control/SegmentedControl.d.cts +128 -0
- package/dist/segmented-control/SegmentedControl.d.ts +128 -0
- package/dist/segmented-control/SegmentedControl.js +5 -0
- package/dist/segmented-control/SegmentedControlIndicator.cjs +5 -0
- package/dist/segmented-control/SegmentedControlIndicator.d.cts +78 -0
- package/dist/segmented-control/SegmentedControlIndicator.d.ts +78 -0
- package/dist/segmented-control/SegmentedControlIndicator.js +5 -0
- package/dist/segmented-control/SegmentedControlItem.cjs +9 -0
- package/dist/segmented-control/SegmentedControlItem.d.cts +66 -0
- package/dist/segmented-control/SegmentedControlItem.d.ts +66 -0
- package/dist/segmented-control/SegmentedControlItem.js +9 -0
- package/dist/segmented-control/index.cjs +1 -0
- package/dist/segmented-control/index.d.cts +3 -0
- package/dist/segmented-control/index.d.ts +3 -0
- package/dist/segmented-control/index.js +1 -0
- package/dist/select/Select.cjs +17 -0
- package/dist/select/Select.d.cts +197 -0
- package/dist/select/Select.d.ts +197 -0
- package/dist/select/Select.js +17 -0
- package/dist/select/SelectContent.cjs +5 -0
- package/dist/select/SelectContent.d.cts +85 -0
- package/dist/select/SelectContent.d.ts +85 -0
- package/dist/select/SelectContent.js +5 -0
- package/dist/select/SelectGroup.cjs +5 -0
- package/dist/select/SelectGroup.d.cts +16 -0
- package/dist/select/SelectGroup.d.ts +16 -0
- package/dist/select/SelectGroup.js +5 -0
- package/dist/select/SelectIcon.cjs +5 -0
- package/dist/select/SelectIcon.d.cts +15 -0
- package/dist/select/SelectIcon.d.ts +15 -0
- package/dist/select/SelectIcon.js +5 -0
- package/dist/select/SelectItemIndicator.cjs +5 -0
- package/dist/select/SelectItemIndicator.d.cts +48 -0
- package/dist/select/SelectItemIndicator.d.ts +48 -0
- package/dist/select/SelectItemIndicator.js +5 -0
- package/dist/select/SelectItemText.cjs +5 -0
- package/dist/select/SelectItemText.d.cts +46 -0
- package/dist/select/SelectItemText.d.ts +46 -0
- package/dist/select/SelectItemText.js +5 -0
- package/dist/select/SelectLabel.cjs +5 -0
- package/dist/select/SelectLabel.d.cts +14 -0
- package/dist/select/SelectLabel.d.ts +14 -0
- package/dist/select/SelectLabel.js +5 -0
- package/dist/select/SelectOption.cjs +5 -0
- package/dist/select/SelectOption.d.cts +44 -0
- package/dist/select/SelectOption.d.ts +44 -0
- package/dist/select/SelectOption.js +5 -0
- package/dist/select/SelectPortal.cjs +1 -0
- package/dist/select/SelectPortal.d.cts +35 -0
- package/dist/select/SelectPortal.d.ts +35 -0
- package/dist/select/SelectPortal.js +1 -0
- package/dist/select/SelectSeparator.cjs +5 -0
- package/dist/select/SelectSeparator.d.cts +16 -0
- package/dist/select/SelectSeparator.d.ts +16 -0
- package/dist/select/SelectSeparator.js +5 -0
- package/dist/select/SelectTrigger.cjs +27 -0
- package/dist/select/SelectTrigger.d.cts +50 -0
- package/dist/select/SelectTrigger.d.ts +50 -0
- package/dist/select/SelectTrigger.js +27 -0
- package/dist/select/SelectValue.cjs +6 -0
- package/dist/select/SelectValue.d.cts +41 -0
- package/dist/select/SelectValue.d.ts +41 -0
- package/dist/select/SelectValue.js +6 -0
- package/dist/select/SelectViewport.cjs +10 -0
- package/dist/select/SelectViewport.d.cts +38 -0
- package/dist/select/SelectViewport.d.ts +38 -0
- package/dist/select/SelectViewport.js +10 -0
- package/dist/select/index.cjs +1 -0
- package/dist/select/index.d.cts +14 -0
- package/dist/select/index.d.ts +14 -0
- package/dist/select/index.js +1 -0
- package/dist/separator/Separator.cjs +10 -0
- package/dist/separator/Separator.d.cts +32 -0
- package/dist/separator/Separator.d.ts +32 -0
- package/dist/separator/Separator.js +10 -0
- package/dist/separator/index.cjs +1 -0
- package/dist/separator/index.d.cts +1 -0
- package/dist/separator/index.d.ts +1 -0
- package/dist/separator/index.js +1 -0
- package/dist/skeleton/Skeleton.cjs +9 -0
- package/dist/skeleton/Skeleton.d.cts +25 -0
- package/dist/skeleton/Skeleton.d.ts +25 -0
- package/dist/skeleton/Skeleton.js +9 -0
- package/dist/skeleton/index.cjs +1 -0
- package/dist/skeleton/index.d.cts +1 -0
- package/dist/skeleton/index.d.ts +1 -0
- package/dist/skeleton/index.js +1 -0
- package/dist/skip-link/SkipLink.cjs +9 -0
- package/dist/skip-link/SkipLink.d.cts +95 -0
- package/dist/skip-link/SkipLink.d.ts +95 -0
- package/dist/skip-link/SkipLink.js +9 -0
- package/dist/skip-link/index.cjs +1 -0
- package/dist/skip-link/index.d.cts +1 -0
- package/dist/skip-link/index.d.ts +1 -0
- package/dist/skip-link/index.js +1 -0
- package/dist/slider/Slider.cjs +7 -0
- package/dist/slider/Slider.d.cts +87 -0
- package/dist/slider/Slider.d.ts +87 -0
- package/dist/slider/Slider.js +7 -0
- package/dist/slider/SliderRange.cjs +6 -0
- package/dist/slider/SliderRange.d.cts +31 -0
- package/dist/slider/SliderRange.d.ts +31 -0
- package/dist/slider/SliderRange.js +6 -0
- package/dist/slider/SliderThumb.cjs +6 -0
- package/dist/slider/SliderThumb.d.cts +48 -0
- package/dist/slider/SliderThumb.d.ts +48 -0
- package/dist/slider/SliderThumb.js +6 -0
- package/dist/slider/SliderTrack.cjs +6 -0
- package/dist/slider/SliderTrack.d.cts +22 -0
- package/dist/slider/SliderTrack.d.ts +22 -0
- package/dist/slider/SliderTrack.js +6 -0
- package/dist/slider/index.cjs +1 -0
- package/dist/slider/index.d.cts +4 -0
- package/dist/slider/index.d.ts +4 -0
- package/dist/slider/index.js +1 -0
- package/dist/speed-dial/SpeedDial.cjs +5 -0
- package/dist/speed-dial/SpeedDial.d.cts +144 -0
- package/dist/speed-dial/SpeedDial.d.ts +144 -0
- package/dist/speed-dial/SpeedDial.js +5 -0
- package/dist/speed-dial/SpeedDialContent.cjs +5 -0
- package/dist/speed-dial/SpeedDialContent.d.cts +137 -0
- package/dist/speed-dial/SpeedDialContent.d.ts +137 -0
- package/dist/speed-dial/SpeedDialContent.js +5 -0
- package/dist/speed-dial/SpeedDialItem.cjs +5 -0
- package/dist/speed-dial/SpeedDialItem.d.cts +73 -0
- package/dist/speed-dial/SpeedDialItem.d.ts +73 -0
- package/dist/speed-dial/SpeedDialItem.js +5 -0
- package/dist/speed-dial/SpeedDialItemLabel.cjs +5 -0
- package/dist/speed-dial/SpeedDialItemLabel.d.cts +59 -0
- package/dist/speed-dial/SpeedDialItemLabel.d.ts +59 -0
- package/dist/speed-dial/SpeedDialItemLabel.js +5 -0
- package/dist/speed-dial/SpeedDialPortal.cjs +1 -0
- package/dist/speed-dial/SpeedDialPortal.d.cts +36 -0
- package/dist/speed-dial/SpeedDialPortal.d.ts +36 -0
- package/dist/speed-dial/SpeedDialPortal.js +1 -0
- package/dist/speed-dial/SpeedDialTrigger.cjs +23 -0
- package/dist/speed-dial/SpeedDialTrigger.d.cts +51 -0
- package/dist/speed-dial/SpeedDialTrigger.d.ts +51 -0
- package/dist/speed-dial/SpeedDialTrigger.js +23 -0
- package/dist/speed-dial/index.cjs +1 -0
- package/dist/speed-dial/index.d.cts +6 -0
- package/dist/speed-dial/index.d.ts +6 -0
- package/dist/speed-dial/index.js +1 -0
- package/dist/spinner/Spinner.cjs +5 -0
- package/dist/spinner/Spinner.d.cts +30 -0
- package/dist/spinner/Spinner.d.ts +30 -0
- package/dist/spinner/Spinner.js +5 -0
- package/dist/spinner/index.cjs +1 -0
- package/dist/spinner/index.d.cts +1 -0
- package/dist/spinner/index.d.ts +1 -0
- package/dist/spinner/index.js +1 -0
- package/dist/split-button/SplitButton.cjs +5 -0
- package/dist/split-button/SplitButton.d.cts +28 -0
- package/dist/split-button/SplitButton.d.ts +28 -0
- package/dist/split-button/SplitButton.js +5 -0
- package/dist/split-button/SplitButtonAction.cjs +9 -0
- package/dist/split-button/SplitButtonAction.d.cts +21 -0
- package/dist/split-button/SplitButtonAction.d.ts +21 -0
- package/dist/split-button/SplitButtonAction.js +9 -0
- package/dist/split-button/SplitButtonTrigger.cjs +9 -0
- package/dist/split-button/SplitButtonTrigger.d.cts +23 -0
- package/dist/split-button/SplitButtonTrigger.d.ts +23 -0
- package/dist/split-button/SplitButtonTrigger.js +9 -0
- package/dist/split-button/index.cjs +1 -0
- package/dist/split-button/index.d.cts +3 -0
- package/dist/split-button/index.d.ts +3 -0
- package/dist/split-button/index.js +1 -0
- package/dist/steps/Steps.cjs +27 -0
- package/dist/steps/Steps.d.cts +142 -0
- package/dist/steps/Steps.d.ts +142 -0
- package/dist/steps/Steps.js +27 -0
- package/dist/steps/StepsItem.cjs +8 -0
- package/dist/steps/StepsItem.d.cts +51 -0
- package/dist/steps/StepsItem.d.ts +51 -0
- package/dist/steps/StepsItem.js +8 -0
- package/dist/steps/StepsTrigger.cjs +9 -0
- package/dist/steps/StepsTrigger.d.cts +41 -0
- package/dist/steps/StepsTrigger.d.ts +41 -0
- package/dist/steps/StepsTrigger.js +9 -0
- package/dist/steps/index.cjs +1 -0
- package/dist/steps/index.d.cts +4 -0
- package/dist/steps/index.d.ts +4 -0
- package/dist/steps/index.js +1 -0
- package/dist/steps/steps-core.cjs +1 -0
- package/dist/steps/steps-core.d.cts +30 -0
- package/dist/steps/steps-core.d.ts +30 -0
- package/dist/steps/steps-core.js +1 -0
- package/dist/switch/Switch.cjs +22 -0
- package/dist/switch/Switch.d.cts +75 -0
- package/dist/switch/Switch.d.ts +75 -0
- package/dist/switch/Switch.js +22 -0
- package/dist/switch/SwitchThumb.cjs +5 -0
- package/dist/switch/SwitchThumb.d.cts +40 -0
- package/dist/switch/SwitchThumb.d.ts +40 -0
- package/dist/switch/SwitchThumb.js +5 -0
- package/dist/switch/index.cjs +1 -0
- package/dist/switch/index.d.cts +2 -0
- package/dist/switch/index.d.ts +2 -0
- package/dist/switch/index.js +1 -0
- package/dist/table/Table.cjs +20 -0
- package/dist/table/Table.d.cts +192 -0
- package/dist/table/Table.d.ts +192 -0
- package/dist/table/Table.js +20 -0
- package/dist/table/TableBody.cjs +12 -0
- package/dist/table/TableBody.d.cts +15 -0
- package/dist/table/TableBody.d.ts +15 -0
- package/dist/table/TableBody.js +12 -0
- package/dist/table/TableCaption.cjs +12 -0
- package/dist/table/TableCaption.d.cts +16 -0
- package/dist/table/TableCaption.d.ts +16 -0
- package/dist/table/TableCaption.js +12 -0
- package/dist/table/TableCell.cjs +10 -0
- package/dist/table/TableCell.d.cts +15 -0
- package/dist/table/TableCell.d.ts +15 -0
- package/dist/table/TableCell.js +10 -0
- package/dist/table/TableColumnHeaderSortTrigger.cjs +16 -0
- package/dist/table/TableColumnHeaderSortTrigger.d.cts +67 -0
- package/dist/table/TableColumnHeaderSortTrigger.d.ts +67 -0
- package/dist/table/TableColumnHeaderSortTrigger.js +16 -0
- package/dist/table/TableColumnResizeTrigger.cjs +40 -0
- package/dist/table/TableColumnResizeTrigger.d.cts +83 -0
- package/dist/table/TableColumnResizeTrigger.d.ts +83 -0
- package/dist/table/TableColumnResizeTrigger.js +40 -0
- package/dist/table/TableEmpty.cjs +14 -0
- package/dist/table/TableEmpty.d.cts +30 -0
- package/dist/table/TableEmpty.d.ts +30 -0
- package/dist/table/TableEmpty.js +14 -0
- package/dist/table/TableExpandTrigger.cjs +18 -0
- package/dist/table/TableExpandTrigger.d.cts +50 -0
- package/dist/table/TableExpandTrigger.d.ts +50 -0
- package/dist/table/TableExpandTrigger.js +18 -0
- package/dist/table/TableExpandedRow.cjs +7 -0
- package/dist/table/TableExpandedRow.d.cts +45 -0
- package/dist/table/TableExpandedRow.d.ts +45 -0
- package/dist/table/TableExpandedRow.js +7 -0
- package/dist/table/TableFooter.cjs +12 -0
- package/dist/table/TableFooter.d.cts +15 -0
- package/dist/table/TableFooter.d.ts +15 -0
- package/dist/table/TableFooter.js +12 -0
- package/dist/table/TableHeader.cjs +12 -0
- package/dist/table/TableHeader.d.cts +16 -0
- package/dist/table/TableHeader.d.ts +16 -0
- package/dist/table/TableHeader.js +12 -0
- package/dist/table/TableHeaderCell.cjs +49 -0
- package/dist/table/TableHeaderCell.d.cts +106 -0
- package/dist/table/TableHeaderCell.d.ts +106 -0
- package/dist/table/TableHeaderCell.js +49 -0
- package/dist/table/TableRow.cjs +12 -0
- package/dist/table/TableRow.d.cts +36 -0
- package/dist/table/TableRow.d.ts +36 -0
- package/dist/table/TableRow.js +12 -0
- package/dist/table/TableRowSelectCheckbox.cjs +1 -0
- package/dist/table/TableRowSelectCheckbox.d.cts +50 -0
- package/dist/table/TableRowSelectCheckbox.d.ts +50 -0
- package/dist/table/TableRowSelectCheckbox.js +1 -0
- package/dist/table/TableSelectAllCheckbox.cjs +1 -0
- package/dist/table/TableSelectAllCheckbox.d.cts +78 -0
- package/dist/table/TableSelectAllCheckbox.d.ts +78 -0
- package/dist/table/TableSelectAllCheckbox.js +1 -0
- package/dist/table/TableSortIndicator.cjs +15 -0
- package/dist/table/TableSortIndicator.d.cts +46 -0
- package/dist/table/TableSortIndicator.d.ts +46 -0
- package/dist/table/TableSortIndicator.js +15 -0
- package/dist/table/column-context.cjs +1 -0
- package/dist/table/column-context.d.cts +36 -0
- package/dist/table/column-context.d.ts +36 -0
- package/dist/table/column-context.js +1 -0
- package/dist/table/column-resize.cjs +1 -0
- package/dist/table/column-resize.d.cts +57 -0
- package/dist/table/column-resize.d.ts +57 -0
- package/dist/table/column-resize.js +1 -0
- package/dist/table/index.cjs +1 -0
- package/dist/table/index.d.cts +17 -0
- package/dist/table/index.d.ts +17 -0
- package/dist/table/index.js +1 -0
- package/dist/table/selection-checkbox.cjs +1 -0
- package/dist/table/selection-checkbox.d.cts +37 -0
- package/dist/table/selection-checkbox.d.ts +37 -0
- package/dist/table/selection-checkbox.js +1 -0
- package/dist/table/types.cjs +1 -0
- package/dist/table/types.d.cts +26 -0
- package/dist/table/types.d.ts +26 -0
- package/dist/table/types.js +0 -0
- package/dist/tabs/Tabs.cjs +5 -0
- package/dist/tabs/Tabs.d.cts +90 -0
- package/dist/tabs/Tabs.d.ts +90 -0
- package/dist/tabs/Tabs.js +5 -0
- package/dist/tabs/TabsContent.cjs +8 -0
- package/dist/tabs/TabsContent.d.cts +35 -0
- package/dist/tabs/TabsContent.d.ts +35 -0
- package/dist/tabs/TabsContent.js +8 -0
- package/dist/tabs/TabsList.cjs +5 -0
- package/dist/tabs/TabsList.d.cts +36 -0
- package/dist/tabs/TabsList.d.ts +36 -0
- package/dist/tabs/TabsList.js +5 -0
- package/dist/tabs/TabsTrigger.cjs +9 -0
- package/dist/tabs/TabsTrigger.d.cts +45 -0
- package/dist/tabs/TabsTrigger.d.ts +45 -0
- package/dist/tabs/TabsTrigger.js +9 -0
- package/dist/tabs/ids.cjs +1 -0
- package/dist/tabs/ids.d.cts +11 -0
- package/dist/tabs/ids.d.ts +11 -0
- package/dist/tabs/ids.js +1 -0
- package/dist/tabs/index.cjs +1 -0
- package/dist/tabs/index.d.cts +4 -0
- package/dist/tabs/index.d.ts +4 -0
- package/dist/tabs/index.js +1 -0
- package/dist/tag/Tag.cjs +5 -0
- package/dist/tag/Tag.d.cts +66 -0
- package/dist/tag/Tag.d.ts +66 -0
- package/dist/tag/Tag.js +5 -0
- package/dist/tag/TagDelete.cjs +17 -0
- package/dist/tag/TagDelete.d.cts +47 -0
- package/dist/tag/TagDelete.d.ts +47 -0
- package/dist/tag/TagDelete.js +17 -0
- package/dist/tag/index.cjs +1 -0
- package/dist/tag/index.d.cts +2 -0
- package/dist/tag/index.d.ts +2 -0
- package/dist/tag/index.js +1 -0
- package/dist/tag-group/TagGroup.cjs +5 -0
- package/dist/tag-group/TagGroup.d.cts +86 -0
- package/dist/tag-group/TagGroup.d.ts +86 -0
- package/dist/tag-group/TagGroup.js +5 -0
- package/dist/tag-group/index.cjs +1 -0
- package/dist/tag-group/index.d.cts +3 -0
- package/dist/tag-group/index.d.ts +3 -0
- package/dist/tag-group/index.js +1 -0
- package/dist/tags-input/TagsInput.cjs +5 -0
- package/dist/tags-input/TagsInput.d.cts +151 -0
- package/dist/tags-input/TagsInput.d.ts +151 -0
- package/dist/tags-input/TagsInput.js +5 -0
- package/dist/tags-input/TagsInputInput.cjs +18 -0
- package/dist/tags-input/TagsInputInput.d.cts +59 -0
- package/dist/tags-input/TagsInputInput.d.ts +59 -0
- package/dist/tags-input/TagsInputInput.js +18 -0
- package/dist/tags-input/TagsInputItem.cjs +5 -0
- package/dist/tags-input/TagsInputItem.d.cts +24 -0
- package/dist/tags-input/TagsInputItem.d.ts +24 -0
- package/dist/tags-input/TagsInputItem.js +5 -0
- package/dist/tags-input/TagsInputItemDelete.cjs +16 -0
- package/dist/tags-input/TagsInputItemDelete.d.cts +42 -0
- package/dist/tags-input/TagsInputItemDelete.d.ts +42 -0
- package/dist/tags-input/TagsInputItemDelete.js +16 -0
- package/dist/tags-input/index.cjs +1 -0
- package/dist/tags-input/index.d.cts +4 -0
- package/dist/tags-input/index.d.ts +4 -0
- package/dist/tags-input/index.js +1 -0
- package/dist/text-field/TextField.cjs +16 -0
- package/dist/text-field/TextField.d.cts +79 -0
- package/dist/text-field/TextField.d.ts +79 -0
- package/dist/text-field/TextField.js +16 -0
- package/dist/text-field/TextFieldClearButton.cjs +9 -0
- package/dist/text-field/TextFieldClearButton.d.cts +40 -0
- package/dist/text-field/TextFieldClearButton.d.ts +40 -0
- package/dist/text-field/TextFieldClearButton.js +9 -0
- package/dist/text-field/TextFieldInput.cjs +15 -0
- package/dist/text-field/TextFieldInput.d.cts +112 -0
- package/dist/text-field/TextFieldInput.d.ts +112 -0
- package/dist/text-field/TextFieldInput.js +15 -0
- package/dist/text-field/TextFieldSlot.cjs +5 -0
- package/dist/text-field/TextFieldSlot.d.cts +27 -0
- package/dist/text-field/TextFieldSlot.d.ts +27 -0
- package/dist/text-field/TextFieldSlot.js +5 -0
- package/dist/text-field/index.cjs +1 -0
- package/dist/text-field/index.d.cts +4 -0
- package/dist/text-field/index.d.ts +4 -0
- package/dist/text-field/index.js +1 -0
- package/dist/textarea/Textarea.cjs +24 -0
- package/dist/textarea/Textarea.d.cts +69 -0
- package/dist/textarea/Textarea.d.ts +69 -0
- package/dist/textarea/Textarea.js +24 -0
- package/dist/textarea/index.cjs +1 -0
- package/dist/textarea/index.d.cts +1 -0
- package/dist/textarea/index.d.ts +1 -0
- package/dist/textarea/index.js +1 -0
- package/dist/time-field/TimeField.cjs +1 -0
- package/dist/time-field/TimeField.d.cts +151 -0
- package/dist/time-field/TimeField.d.ts +151 -0
- package/dist/time-field/TimeField.js +1 -0
- package/dist/time-field/index.cjs +1 -0
- package/dist/time-field/index.d.cts +1 -0
- package/dist/time-field/index.d.ts +1 -0
- package/dist/time-field/index.js +1 -0
- package/dist/timeline/Timeline.cjs +7 -0
- package/dist/timeline/Timeline.d.cts +39 -0
- package/dist/timeline/Timeline.d.ts +39 -0
- package/dist/timeline/Timeline.js +7 -0
- package/dist/timeline/TimelineContent.cjs +5 -0
- package/dist/timeline/TimelineContent.d.cts +11 -0
- package/dist/timeline/TimelineContent.d.ts +11 -0
- package/dist/timeline/TimelineContent.js +5 -0
- package/dist/timeline/TimelineIndicator.cjs +5 -0
- package/dist/timeline/TimelineIndicator.d.cts +11 -0
- package/dist/timeline/TimelineIndicator.d.ts +11 -0
- package/dist/timeline/TimelineIndicator.js +5 -0
- package/dist/timeline/TimelineItem.cjs +5 -0
- package/dist/timeline/TimelineItem.d.cts +19 -0
- package/dist/timeline/TimelineItem.d.ts +19 -0
- package/dist/timeline/TimelineItem.js +5 -0
- package/dist/timeline/TimelineSeparator.cjs +5 -0
- package/dist/timeline/TimelineSeparator.d.cts +16 -0
- package/dist/timeline/TimelineSeparator.d.ts +16 -0
- package/dist/timeline/TimelineSeparator.js +5 -0
- package/dist/timeline/index.cjs +1 -0
- package/dist/timeline/index.d.cts +5 -0
- package/dist/timeline/index.d.ts +5 -0
- package/dist/timeline/index.js +1 -0
- package/dist/toast/Toast.cjs +5 -0
- package/dist/toast/Toast.d.cts +80 -0
- package/dist/toast/Toast.d.ts +80 -0
- package/dist/toast/Toast.js +5 -0
- package/dist/toast/ToastAction.cjs +9 -0
- package/dist/toast/ToastAction.d.cts +26 -0
- package/dist/toast/ToastAction.d.ts +26 -0
- package/dist/toast/ToastAction.js +9 -0
- package/dist/toast/ToastClose.cjs +9 -0
- package/dist/toast/ToastClose.d.cts +26 -0
- package/dist/toast/ToastClose.d.ts +26 -0
- package/dist/toast/ToastClose.js +9 -0
- package/dist/toast/ToastDescription.cjs +5 -0
- package/dist/toast/ToastDescription.d.cts +11 -0
- package/dist/toast/ToastDescription.d.ts +11 -0
- package/dist/toast/ToastDescription.js +5 -0
- package/dist/toast/ToastProvider.cjs +22 -0
- package/dist/toast/ToastProvider.d.cts +38 -0
- package/dist/toast/ToastProvider.d.ts +38 -0
- package/dist/toast/ToastProvider.js +22 -0
- package/dist/toast/ToastRegion.cjs +26 -0
- package/dist/toast/ToastRegion.d.cts +58 -0
- package/dist/toast/ToastRegion.d.ts +58 -0
- package/dist/toast/ToastRegion.js +26 -0
- package/dist/toast/ToastTitle.cjs +5 -0
- package/dist/toast/ToastTitle.d.cts +11 -0
- package/dist/toast/ToastTitle.d.ts +11 -0
- package/dist/toast/ToastTitle.js +5 -0
- package/dist/toast/ToastViewport.cjs +7 -0
- package/dist/toast/ToastViewport.d.cts +23 -0
- package/dist/toast/ToastViewport.d.ts +23 -0
- package/dist/toast/ToastViewport.js +7 -0
- package/dist/toast/index.cjs +1 -0
- package/dist/toast/index.d.cts +10 -0
- package/dist/toast/index.d.ts +10 -0
- package/dist/toast/index.js +1 -0
- package/dist/toast/region-focus.cjs +1 -0
- package/dist/toast/region-focus.d.cts +13 -0
- package/dist/toast/region-focus.d.ts +13 -0
- package/dist/toast/region-focus.js +1 -0
- package/dist/toast/toaster.cjs +1 -0
- package/dist/toast/toaster.d.cts +132 -0
- package/dist/toast/toaster.d.ts +132 -0
- package/dist/toast/toaster.js +1 -0
- package/dist/toggle/Toggle.cjs +17 -0
- package/dist/toggle/Toggle.d.cts +36 -0
- package/dist/toggle/Toggle.d.ts +36 -0
- package/dist/toggle/Toggle.js +17 -0
- package/dist/toggle/index.cjs +1 -0
- package/dist/toggle/index.d.cts +1 -0
- package/dist/toggle/index.d.ts +1 -0
- package/dist/toggle/index.js +1 -0
- package/dist/toggle-group/ToggleGroup.cjs +5 -0
- package/dist/toggle-group/ToggleGroup.d.cts +97 -0
- package/dist/toggle-group/ToggleGroup.d.ts +97 -0
- package/dist/toggle-group/ToggleGroup.js +5 -0
- package/dist/toggle-group/ToggleGroupItem.cjs +9 -0
- package/dist/toggle-group/ToggleGroupItem.d.cts +42 -0
- package/dist/toggle-group/ToggleGroupItem.d.ts +42 -0
- package/dist/toggle-group/ToggleGroupItem.js +9 -0
- package/dist/toggle-group/index.cjs +1 -0
- package/dist/toggle-group/index.d.cts +2 -0
- package/dist/toggle-group/index.d.ts +2 -0
- package/dist/toggle-group/index.js +1 -0
- package/dist/toolbar/Toolbar.cjs +5 -0
- package/dist/toolbar/Toolbar.d.cts +53 -0
- package/dist/toolbar/Toolbar.d.ts +53 -0
- package/dist/toolbar/Toolbar.js +5 -0
- package/dist/toolbar/ToolbarButton.cjs +9 -0
- package/dist/toolbar/ToolbarButton.d.cts +32 -0
- package/dist/toolbar/ToolbarButton.d.ts +32 -0
- package/dist/toolbar/ToolbarButton.js +9 -0
- package/dist/toolbar/ToolbarLink.cjs +6 -0
- package/dist/toolbar/ToolbarLink.d.cts +32 -0
- package/dist/toolbar/ToolbarLink.d.ts +32 -0
- package/dist/toolbar/ToolbarLink.js +6 -0
- package/dist/toolbar/ToolbarSeparator.cjs +5 -0
- package/dist/toolbar/ToolbarSeparator.d.cts +18 -0
- package/dist/toolbar/ToolbarSeparator.d.ts +18 -0
- package/dist/toolbar/ToolbarSeparator.js +5 -0
- package/dist/toolbar/ToolbarToggleGroup.cjs +5 -0
- package/dist/toolbar/ToolbarToggleGroup.d.cts +62 -0
- package/dist/toolbar/ToolbarToggleGroup.d.ts +62 -0
- package/dist/toolbar/ToolbarToggleGroup.js +5 -0
- package/dist/toolbar/ToolbarToggleItem.cjs +9 -0
- package/dist/toolbar/ToolbarToggleItem.d.cts +43 -0
- package/dist/toolbar/ToolbarToggleItem.d.ts +43 -0
- package/dist/toolbar/ToolbarToggleItem.js +9 -0
- package/dist/toolbar/index.cjs +1 -0
- package/dist/toolbar/index.d.cts +6 -0
- package/dist/toolbar/index.d.ts +6 -0
- package/dist/toolbar/index.js +1 -0
- package/dist/toolbar/toolbarItem.cjs +1 -0
- package/dist/toolbar/toolbarItem.d.cts +19 -0
- package/dist/toolbar/toolbarItem.d.ts +19 -0
- package/dist/toolbar/toolbarItem.js +1 -0
- package/dist/tooltip/Tooltip.cjs +5 -0
- package/dist/tooltip/Tooltip.d.cts +111 -0
- package/dist/tooltip/Tooltip.d.ts +111 -0
- package/dist/tooltip/Tooltip.js +5 -0
- package/dist/tooltip/TooltipArrow.cjs +1 -0
- package/dist/tooltip/TooltipArrow.d.cts +22 -0
- package/dist/tooltip/TooltipArrow.d.ts +22 -0
- package/dist/tooltip/TooltipArrow.js +1 -0
- package/dist/tooltip/TooltipContent.cjs +10 -0
- package/dist/tooltip/TooltipContent.d.cts +74 -0
- package/dist/tooltip/TooltipContent.d.ts +74 -0
- package/dist/tooltip/TooltipContent.js +10 -0
- package/dist/tooltip/TooltipPortal.cjs +1 -0
- package/dist/tooltip/TooltipPortal.d.cts +33 -0
- package/dist/tooltip/TooltipPortal.d.ts +33 -0
- package/dist/tooltip/TooltipPortal.js +1 -0
- package/dist/tooltip/TooltipTrigger.cjs +20 -0
- package/dist/tooltip/TooltipTrigger.d.cts +34 -0
- package/dist/tooltip/TooltipTrigger.d.ts +34 -0
- package/dist/tooltip/TooltipTrigger.js +20 -0
- package/dist/tooltip/index.cjs +1 -0
- package/dist/tooltip/index.d.cts +5 -0
- package/dist/tooltip/index.d.ts +5 -0
- package/dist/tooltip/index.js +1 -0
- package/dist/tour/Tour.cjs +5 -0
- package/dist/tour/Tour.d.cts +299 -0
- package/dist/tour/Tour.d.ts +299 -0
- package/dist/tour/Tour.js +5 -0
- package/dist/tour/TourArrow.cjs +1 -0
- package/dist/tour/TourArrow.d.cts +32 -0
- package/dist/tour/TourArrow.d.ts +32 -0
- package/dist/tour/TourArrow.js +1 -0
- package/dist/tour/TourBackdrop.cjs +5 -0
- package/dist/tour/TourBackdrop.d.cts +50 -0
- package/dist/tour/TourBackdrop.d.ts +50 -0
- package/dist/tour/TourBackdrop.js +5 -0
- package/dist/tour/TourCloseTrigger.cjs +14 -0
- package/dist/tour/TourCloseTrigger.d.cts +33 -0
- package/dist/tour/TourCloseTrigger.d.ts +33 -0
- package/dist/tour/TourCloseTrigger.js +14 -0
- package/dist/tour/TourContent.cjs +5 -0
- package/dist/tour/TourContent.d.cts +110 -0
- package/dist/tour/TourContent.d.ts +110 -0
- package/dist/tour/TourContent.js +5 -0
- package/dist/tour/TourDescription.cjs +5 -0
- package/dist/tour/TourDescription.d.cts +26 -0
- package/dist/tour/TourDescription.d.ts +26 -0
- package/dist/tour/TourDescription.js +5 -0
- package/dist/tour/TourNextTrigger.cjs +9 -0
- package/dist/tour/TourNextTrigger.d.cts +33 -0
- package/dist/tour/TourNextTrigger.d.ts +33 -0
- package/dist/tour/TourNextTrigger.js +9 -0
- package/dist/tour/TourPortal.cjs +1 -0
- package/dist/tour/TourPortal.d.cts +58 -0
- package/dist/tour/TourPortal.d.ts +58 -0
- package/dist/tour/TourPortal.js +1 -0
- package/dist/tour/TourPrevTrigger.cjs +15 -0
- package/dist/tour/TourPrevTrigger.d.cts +39 -0
- package/dist/tour/TourPrevTrigger.d.ts +39 -0
- package/dist/tour/TourPrevTrigger.js +15 -0
- package/dist/tour/TourProgressText.cjs +7 -0
- package/dist/tour/TourProgressText.d.cts +42 -0
- package/dist/tour/TourProgressText.d.ts +42 -0
- package/dist/tour/TourProgressText.js +7 -0
- package/dist/tour/TourSkipTrigger.cjs +9 -0
- package/dist/tour/TourSkipTrigger.d.cts +27 -0
- package/dist/tour/TourSkipTrigger.d.ts +27 -0
- package/dist/tour/TourSkipTrigger.js +9 -0
- package/dist/tour/TourSpotlight.cjs +5 -0
- package/dist/tour/TourSpotlight.d.cts +40 -0
- package/dist/tour/TourSpotlight.d.ts +40 -0
- package/dist/tour/TourSpotlight.js +5 -0
- package/dist/tour/TourTitle.cjs +5 -0
- package/dist/tour/TourTitle.d.cts +29 -0
- package/dist/tour/TourTitle.d.ts +29 -0
- package/dist/tour/TourTitle.js +5 -0
- package/dist/tour/TourTrigger.cjs +17 -0
- package/dist/tour/TourTrigger.d.cts +33 -0
- package/dist/tour/TourTrigger.d.ts +33 -0
- package/dist/tour/TourTrigger.js +17 -0
- package/dist/tour/index.cjs +1 -0
- package/dist/tour/index.d.cts +15 -0
- package/dist/tour/index.d.ts +15 -0
- package/dist/tour/index.js +1 -0
- package/dist/transfer/Transfer.cjs +5 -0
- package/dist/transfer/Transfer.d.cts +200 -0
- package/dist/transfer/Transfer.d.ts +200 -0
- package/dist/transfer/Transfer.js +5 -0
- package/dist/transfer/TransferControls.cjs +5 -0
- package/dist/transfer/TransferControls.d.cts +35 -0
- package/dist/transfer/TransferControls.d.ts +35 -0
- package/dist/transfer/TransferControls.js +5 -0
- package/dist/transfer/TransferEmpty.cjs +5 -0
- package/dist/transfer/TransferEmpty.d.cts +36 -0
- package/dist/transfer/TransferEmpty.d.ts +36 -0
- package/dist/transfer/TransferEmpty.js +5 -0
- package/dist/transfer/TransferItem.cjs +1 -0
- package/dist/transfer/TransferItem.d.cts +39 -0
- package/dist/transfer/TransferItem.d.ts +39 -0
- package/dist/transfer/TransferItem.js +1 -0
- package/dist/transfer/TransferList.cjs +1 -0
- package/dist/transfer/TransferList.d.cts +81 -0
- package/dist/transfer/TransferList.d.ts +81 -0
- package/dist/transfer/TransferList.js +1 -0
- package/dist/transfer/TransferListHeader.cjs +5 -0
- package/dist/transfer/TransferListHeader.d.cts +37 -0
- package/dist/transfer/TransferListHeader.d.ts +37 -0
- package/dist/transfer/TransferListHeader.js +5 -0
- package/dist/transfer/TransferListSearch.cjs +12 -0
- package/dist/transfer/TransferListSearch.d.cts +69 -0
- package/dist/transfer/TransferListSearch.d.ts +69 -0
- package/dist/transfer/TransferListSearch.js +12 -0
- package/dist/transfer/TransferMoveAllTrigger.cjs +1 -0
- package/dist/transfer/TransferMoveAllTrigger.d.cts +29 -0
- package/dist/transfer/TransferMoveAllTrigger.d.ts +29 -0
- package/dist/transfer/TransferMoveAllTrigger.js +1 -0
- package/dist/transfer/TransferMoveTrigger.cjs +1 -0
- package/dist/transfer/TransferMoveTrigger.d.cts +33 -0
- package/dist/transfer/TransferMoveTrigger.d.ts +33 -0
- package/dist/transfer/TransferMoveTrigger.js +1 -0
- package/dist/transfer/index.cjs +1 -0
- package/dist/transfer/index.d.cts +10 -0
- package/dist/transfer/index.d.ts +10 -0
- package/dist/transfer/index.js +1 -0
- package/dist/transfer/move-trigger.cjs +17 -0
- package/dist/transfer/move-trigger.d.cts +42 -0
- package/dist/transfer/move-trigger.d.ts +42 -0
- package/dist/transfer/move-trigger.js +17 -0
- package/dist/transfer/types.cjs +1 -0
- package/dist/transfer/types.d.cts +39 -0
- package/dist/transfer/types.d.ts +39 -0
- package/dist/transfer/types.js +0 -0
- package/dist/tree/Tree.cjs +5 -0
- package/dist/tree/Tree.d.cts +253 -0
- package/dist/tree/Tree.d.ts +253 -0
- package/dist/tree/Tree.js +5 -0
- package/dist/tree/TreeGroup.cjs +5 -0
- package/dist/tree/TreeGroup.d.cts +39 -0
- package/dist/tree/TreeGroup.d.ts +39 -0
- package/dist/tree/TreeGroup.js +5 -0
- package/dist/tree/TreeItem.cjs +5 -0
- package/dist/tree/TreeItem.d.cts +71 -0
- package/dist/tree/TreeItem.d.ts +71 -0
- package/dist/tree/TreeItem.js +5 -0
- package/dist/tree/TreeItemIndicator.cjs +5 -0
- package/dist/tree/TreeItemIndicator.d.cts +31 -0
- package/dist/tree/TreeItemIndicator.d.ts +31 -0
- package/dist/tree/TreeItemIndicator.js +5 -0
- package/dist/tree/index.cjs +1 -0
- package/dist/tree/index.d.cts +5 -0
- package/dist/tree/index.d.ts +5 -0
- package/dist/tree/index.js +1 -0
- package/dist/tree-select/TreeSelect.cjs +5 -0
- package/dist/tree-select/TreeSelect.d.cts +305 -0
- package/dist/tree-select/TreeSelect.d.ts +305 -0
- package/dist/tree-select/TreeSelect.js +5 -0
- package/dist/tree-select/TreeSelectContent.cjs +5 -0
- package/dist/tree-select/TreeSelectContent.d.cts +92 -0
- package/dist/tree-select/TreeSelectContent.d.ts +92 -0
- package/dist/tree-select/TreeSelectContent.js +5 -0
- package/dist/tree-select/TreeSelectEmpty.cjs +5 -0
- package/dist/tree-select/TreeSelectEmpty.d.cts +33 -0
- package/dist/tree-select/TreeSelectEmpty.d.ts +33 -0
- package/dist/tree-select/TreeSelectEmpty.js +5 -0
- package/dist/tree-select/TreeSelectInput.cjs +17 -0
- package/dist/tree-select/TreeSelectInput.d.cts +69 -0
- package/dist/tree-select/TreeSelectInput.d.ts +69 -0
- package/dist/tree-select/TreeSelectInput.js +17 -0
- package/dist/tree-select/TreeSelectItem.cjs +1 -0
- package/dist/tree-select/TreeSelectItem.d.cts +73 -0
- package/dist/tree-select/TreeSelectItem.d.ts +73 -0
- package/dist/tree-select/TreeSelectItem.js +1 -0
- package/dist/tree-select/TreeSelectItemIndicator.cjs +5 -0
- package/dist/tree-select/TreeSelectItemIndicator.d.cts +48 -0
- package/dist/tree-select/TreeSelectItemIndicator.d.ts +48 -0
- package/dist/tree-select/TreeSelectItemIndicator.js +5 -0
- package/dist/tree-select/TreeSelectPortal.cjs +1 -0
- package/dist/tree-select/TreeSelectPortal.d.cts +49 -0
- package/dist/tree-select/TreeSelectPortal.d.ts +49 -0
- package/dist/tree-select/TreeSelectPortal.js +1 -0
- package/dist/tree-select/TreeSelectTree.cjs +11 -0
- package/dist/tree-select/TreeSelectTree.d.cts +52 -0
- package/dist/tree-select/TreeSelectTree.d.ts +52 -0
- package/dist/tree-select/TreeSelectTree.js +11 -0
- package/dist/tree-select/TreeSelectTrigger.cjs +17 -0
- package/dist/tree-select/TreeSelectTrigger.d.cts +98 -0
- package/dist/tree-select/TreeSelectTrigger.d.ts +98 -0
- package/dist/tree-select/TreeSelectTrigger.js +17 -0
- package/dist/tree-select/TreeSelectValue.cjs +9 -0
- package/dist/tree-select/TreeSelectValue.d.cts +49 -0
- package/dist/tree-select/TreeSelectValue.d.ts +49 -0
- package/dist/tree-select/TreeSelectValue.js +9 -0
- package/dist/tree-select/collection.cjs +1 -0
- package/dist/tree-select/collection.d.cts +91 -0
- package/dist/tree-select/collection.d.ts +91 -0
- package/dist/tree-select/collection.js +1 -0
- package/dist/tree-select/index.cjs +1 -0
- package/dist/tree-select/index.d.cts +11 -0
- package/dist/tree-select/index.d.ts +11 -0
- package/dist/tree-select/index.js +1 -0
- package/dist/tree-select/types.cjs +1 -0
- package/dist/tree-select/types.d.cts +53 -0
- package/dist/tree-select/types.d.ts +53 -0
- package/dist/tree-select/types.js +0 -0
- package/dist/utils/live-announcer.cjs +1 -0
- package/dist/utils/live-announcer.d.cts +36 -0
- package/dist/utils/live-announcer.d.ts +36 -0
- package/dist/utils/live-announcer.js +1 -0
- package/dist/utils/portal.cjs +5 -0
- package/dist/utils/portal.d.cts +58 -0
- package/dist/utils/portal.d.ts +58 -0
- package/dist/utils/portal.js +5 -0
- package/dist/utils/visually-hidden.cjs +8 -0
- package/dist/utils/visually-hidden.d.cts +30 -0
- package/dist/utils/visually-hidden.d.ts +30 -0
- package/dist/utils/visually-hidden.js +8 -0
- package/package.json +940 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";var o=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var O=Object.getOwnPropertyNames;var C=Object.prototype.hasOwnProperty;var E=(l,r)=>{for(var e in r)o(l,e,{get:r[e],enumerable:!0})},T=(l,r,e,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of O(r))!C.call(l,s)&&s!==e&&o(l,s,{get:()=>r[s],enumerable:!(t=c(r,s))||t.enumerable});return l};var F=l=>T(o({},"__esModule",{value:!0}),l),n=(l,r,e,t)=>{for(var s=t>1?void 0:t?c(r,e):r,d=l.length-1,p;d>=0;d--)(p=l[d])&&(s=(t?p(r,e,s):p(s))||s);return t&&s&&o(r,e,s),s};var w={};E(w,{AUTOCOMPLETE_UPDATE_EVENT:()=>m,OPTION_SELECTOR:()=>h,SkdxAutocomplete:()=>i,defaultGetSuggestionCountLabel:()=>I});module.exports=F(w);var u=require("lit"),a=require("lit/decorators.js"),f=require("../internal/define.cjs"),v=require("../internal/form-associated.cjs"),g=require("../internal/ids.cjs"),b=require("../internal/open-change-complete.cjs"),y=require("../internal/positioning.cjs"),V=require("../utils/live-announcer.cjs");var h='[role="option"]:not([data-disabled])',m="skdx-autocomplete-internal-update";function I(l){return`${l} suggestion${l===1?"":"s"} available`}var i=class extends(0,v.FormAssociated)(u.LitElement){constructor(){super(...arguments);this.value="";this.defaultValue="";this.inputValue="";this.open=!1;this.defaultOpen=!1;this.allowCustomValue=!0;this.openOnFocus=!1;this.disabled=!1;this.readOnly=!1;this.invalid=!1;this.getSuggestionCountLabel=I;this.listId=(0,g.nextId)("skdx-autocomplete-list");this.activeId=null;this.inputHost=null;this.contentEl=null;this.committedText="";this.seeded=!1;this.itemRegistry=new Map;this.itemObserver=new MutationObserver(()=>this.announceSuggestionCount());this.hasUpdatedOnce=!1}setValue(e){this.value!==e&&(this.value=e,this.emit("value-change",e))}setInputValue(e){this.inputValue!==e&&(this.inputValue=e,this.emit("input-value-change",e))}setOpen(e){this.open!==e&&(this.open=e,e||(this.activeId=null),this.emit("open-change",e))}isSelected(e){return e!==""&&e===this.value}matchesFilter(e){return this.filter===void 0||this.filter(e,this.inputValue)}commitItem(e,t){this.disabled||this.readOnly||(this.setValue(e),this.setInputValue(t),this.committedText=t,this.setOpen(!1))}commitInputValue(){if(!(this.disabled||this.readOnly)){if(!this.allowCustomValue){this.setInputValue(this.committedText),this.setOpen(!1);return}this.setValue(this.inputValue),this.committedText=this.inputValue,this.setOpen(!1)}}revert(){this.setInputValue(this.committedText),this.setOpen(!1)}openWithHighlight(e){this.setOpen(!0),requestAnimationFrame(()=>{let t=Array.from(this.querySelectorAll(h));t.length!==0&&this.setActiveId((e==="last"?t[t.length-1]:t[0]).id)})}setActiveId(e){this.activeId=e,this.notify()}registerItem(e,t){this.itemRegistry.set(e,t)}unregisterItem(e){this.itemRegistry.delete(e),this.activeId===e&&this.scheduleReseed()}getItem(e){return this.itemRegistry.get(e)}scheduleReseed(){this.reseedFrame===void 0&&(this.reseedFrame=requestAnimationFrame(()=>{this.reseedFrame=void 0;let e=this.activeId;if(e===null)return;let t=Array.from(this.querySelectorAll(h));t.some(s=>s.id===e)||this.setActiveId(t[0]?.id??null)}))}emit(e,t){this.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,composed:!0})),this.notify()}notify(){this.dispatchEvent(new CustomEvent(m,{bubbles:!0,composed:!0})),this.requestUpdate()}announceSuggestionCount(){this.open&&(0,V.announce)(this.getSuggestionCountLabel(this.querySelectorAll(h).length))}connectedCallback(){super.connectedCallback(),this.seeded||(this.seeded=!0,this.hasAttribute("value")||(this.value=this.defaultValue),this.hasAttribute("input-value")||(this.inputValue=this.defaultInputValue??this.value),this.hasAttribute("open")||(this.open=this.defaultOpen),this.committedText=this.inputValue,this.initialValue=this.value,this.initialInputValue=this.inputValue),this.itemObserver.observe(this,{childList:!0,subtree:!0,attributeFilter:["data-disabled","role"]})}disconnectedCallback(){this.itemObserver.disconnect(),this.reseedFrame!==void 0&&cancelAnimationFrame(this.reseedFrame),this.reseedFrame=void 0,this.teardownOpenChangeComplete?.(),super.disconnectedCallback()}updated(e){let t=!this.hasUpdatedOnce;this.hasUpdatedOnce=!0,(e.has("inputValue")||e.has("name"))&&this.setFormValue(this.inputValue),e.has("open")&&this.open&&this.announceSuggestionCount(),e.size>0&&this.dispatchEvent(new CustomEvent(m,{bubbles:!0,composed:!0})),e.has("open")&&!t&&(this.teardownOpenChangeComplete?.(),this.teardownOpenChangeComplete=(0,b.notifyOpenChangeComplete)(()=>this.contentEl,this.open,s=>this.dispatchEvent(new CustomEvent("open-change-complete",{detail:s,bubbles:!0,composed:!0}))))}formResetCallback(){this.value=this.initialValue??"",this.inputValue=this.initialInputValue??"",this.committedText=this.inputValue}render(){return u.html`<slot></slot>`}};i.styles=u.css`
|
|
2
|
+
:host {
|
|
3
|
+
display: contents;
|
|
4
|
+
}
|
|
5
|
+
`,n([(0,a.property)({type:String,reflect:!0})],i.prototype,"value",2),n([(0,a.property)({type:String,attribute:"default-value"})],i.prototype,"defaultValue",2),n([(0,a.property)({type:String,attribute:"input-value"})],i.prototype,"inputValue",2),n([(0,a.property)({type:String,attribute:"default-input-value"})],i.prototype,"defaultInputValue",2),n([(0,a.property)({type:Boolean,reflect:!0})],i.prototype,"open",2),n([(0,a.property)({type:Boolean,attribute:"default-open"})],i.prototype,"defaultOpen",2),n([(0,a.property)({converter:y.optOutBoolean,attribute:"allow-custom-value"})],i.prototype,"allowCustomValue",2),n([(0,a.property)({type:Boolean,attribute:"open-on-focus",reflect:!0})],i.prototype,"openOnFocus",2),n([(0,a.property)({attribute:!1})],i.prototype,"filter",2),n([(0,a.property)({type:Boolean,reflect:!0})],i.prototype,"disabled",2),n([(0,a.property)({type:Boolean,attribute:"read-only",reflect:!0})],i.prototype,"readOnly",2),n([(0,a.property)({type:Boolean,reflect:!0})],i.prototype,"invalid",2),n([(0,a.property)({type:String,reflect:!0})],i.prototype,"name",2),n([(0,a.property)({attribute:!1})],i.prototype,"getSuggestionCountLabel",2),i=n([(0,f.customElement)("skdx-autocomplete")],i);0&&(module.exports={AUTOCOMPLETE_UPDATE_EVENT,OPTION_SELECTOR,SkdxAutocomplete,defaultGetSuggestionCountLabel});
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/** @internal Selector for a suggestion that is still an option and still live, mirrored from the React autocomplete util. */
|
|
3
|
+
export declare const OPTION_SELECTOR = "[role=\"option\"]:not([data-disabled])";
|
|
4
|
+
/** @internal Event the root dispatches whenever its state moves, so every part can re-render off state it owns no attribute for. */
|
|
5
|
+
export declare const AUTOCOMPLETE_UPDATE_EVENT = "skdx-autocomplete-internal-update";
|
|
6
|
+
/** Default `getSuggestionCountLabel`: `"1 suggestion available"` / `"3 suggestions available"`. */
|
|
7
|
+
export declare function defaultGetSuggestionCountLabel(count: number): string;
|
|
8
|
+
/** What an `<skdx-autocomplete-item>` registers about itself, so Enter can commit it by id. */
|
|
9
|
+
export interface SkdxAutocompleteItemEntry {
|
|
10
|
+
/** The value committed to the root when this suggestion is chosen. */
|
|
11
|
+
value: string;
|
|
12
|
+
/** The item's `text-value`, or its rendered text — matched by `filter`, written back into the input. */
|
|
13
|
+
text: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Decides which `<skdx-autocomplete-item>`s survive the current draft text.
|
|
17
|
+
* `undefined` filters nothing — the consumer renders only the suggestions that
|
|
18
|
+
* match, which is what an async or server-side search needs.
|
|
19
|
+
*/
|
|
20
|
+
export type SkdxAutocompleteFilter = (itemText: string, inputValue: string) => boolean;
|
|
21
|
+
declare const SkdxAutocomplete_base: typeof LitElement & (new (...args: any[]) => import("../internal/form-associated.cjs").SkdxFormAssociated) & {
|
|
22
|
+
formAssociated: boolean;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* `<skdx-autocomplete>` — the Web Components implementation of the shared
|
|
26
|
+
* Autocomplete contract (see `@skdx/shared`'s `autocompleteContract`). A
|
|
27
|
+
* WAI-ARIA 1.2 "combobox with list autocomplete" with one deliberate
|
|
28
|
+
* difference from `<skdx-combobox>`: **the committed value does not have to
|
|
29
|
+
* come from the list**. Type "foo", tab away, and "foo" is the answer.
|
|
30
|
+
*
|
|
31
|
+
* The root owns **two separate** pieces of state — the draft text in the input
|
|
32
|
+
* (`input-value`) and the committed value (`value`) — plus the popup's open
|
|
33
|
+
* state, and hands all three down to every other `<skdx-autocomplete-*>` part,
|
|
34
|
+
* which look it up with `closest('skdx-autocomplete')`. Renders no visible box
|
|
35
|
+
* of its own (`display: contents`).
|
|
36
|
+
*
|
|
37
|
+
* Real DOM focus never leaves `<skdx-autocomplete-input>`; the highlighted
|
|
38
|
+
* suggestion is *virtual*, named by `aria-activedescendant`. Arrow Down/Up move
|
|
39
|
+
* the highlight, Enter commits it, Escape closes and puts the last committed
|
|
40
|
+
* text back, Tab commits the raw draft.
|
|
41
|
+
*
|
|
42
|
+
* Filtering is the consumer's job by default: render only the items that match
|
|
43
|
+
* the draft text, which is what an async or server-side search needs. Set the
|
|
44
|
+
* `filter` *property* to a predicate to move filtering inside the component
|
|
45
|
+
* instead.
|
|
46
|
+
*
|
|
47
|
+
* Form-associated via `ElementInternals`: with a `name`, the field submits the
|
|
48
|
+
* text currently in the input — which, after any commit, is the committed
|
|
49
|
+
* value — exactly as React's real `<input>` does, and a form reset restores
|
|
50
|
+
* the text and value it was connected with.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```html
|
|
54
|
+
* <skdx-autocomplete id="city">
|
|
55
|
+
* <skdx-autocomplete-input label="City" placeholder="Where to?"></skdx-autocomplete-input>
|
|
56
|
+
* <skdx-autocomplete-trigger label="Show suggestions">▾</skdx-autocomplete-trigger>
|
|
57
|
+
* <skdx-autocomplete-content>
|
|
58
|
+
* <skdx-autocomplete-list label="Cities">
|
|
59
|
+
* <skdx-autocomplete-item value="Oslo">Oslo</skdx-autocomplete-item>
|
|
60
|
+
* </skdx-autocomplete-list>
|
|
61
|
+
* <skdx-autocomplete-empty>No matches — we'll use what you typed</skdx-autocomplete-empty>
|
|
62
|
+
* </skdx-autocomplete-content>
|
|
63
|
+
* </skdx-autocomplete>
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @fires value-change - Fires with the new committed value (string) — on Enter, on a suggestion click, on Tab, and on blur. Never on a keystroke, and never when the value is unchanged.
|
|
67
|
+
* @fires input-value-change - Fires with the new draft text (string) on every keystroke, and whenever a commit or a revert rewrites the field.
|
|
68
|
+
* @fires open-change - Fires with the new open state (boolean) whenever the suggestion popup opens or closes.
|
|
69
|
+
* @fires open-change-complete - Fires with the new open state after `<skdx-autocomplete-content>`'s enter or exit animation has finished — as soon as the popup has settled, when it declares no animation at all. Not cancelable: the change has already happened.
|
|
70
|
+
*/
|
|
71
|
+
export declare class SkdxAutocomplete extends SkdxAutocomplete_base {
|
|
72
|
+
static styles: import("lit").CSSResult;
|
|
73
|
+
/**
|
|
74
|
+
* The committed value — the answer the form takes, which need not be one of
|
|
75
|
+
* the suggestions. A *separate* state from {@link inputValue}: the draft
|
|
76
|
+
* text moves on every keystroke, this only when something is committed.
|
|
77
|
+
* Listen for `value-change` to observe or override changes.
|
|
78
|
+
* @default '' — nothing committed, so blurring an untouched field commits nothing.
|
|
79
|
+
*/
|
|
80
|
+
value: string;
|
|
81
|
+
/**
|
|
82
|
+
* Initial committed value, applied once on connect and only if `value` was
|
|
83
|
+
* not authored. It also seeds {@link inputValue}, so an autocomplete
|
|
84
|
+
* restored from saved state shows the text it committed rather than an empty
|
|
85
|
+
* field, and it is the value a form reset restores.
|
|
86
|
+
* @default '' — the field starts committed to nothing.
|
|
87
|
+
*/
|
|
88
|
+
defaultValue: string;
|
|
89
|
+
/**
|
|
90
|
+
* The draft text currently in the input, typically used to drive filtering
|
|
91
|
+
* of the suggestion list. Listen for `input-value-change`.
|
|
92
|
+
* @default '' — an empty field, so an unfiltered list.
|
|
93
|
+
*/
|
|
94
|
+
inputValue: string;
|
|
95
|
+
/**
|
|
96
|
+
* Initial draft text, applied once on connect and only if `input-value` was
|
|
97
|
+
* not authored.
|
|
98
|
+
* @default undefined — falls back to whatever value the field starts committed to, so the box never silently disagrees with its own value.
|
|
99
|
+
*/
|
|
100
|
+
defaultInputValue?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Whether the suggestion popup is open. Listen for `open-change`.
|
|
103
|
+
* @default false — the popup opens on the first keystroke, or on focus with {@link openOnFocus}.
|
|
104
|
+
*/
|
|
105
|
+
open: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Initial open state, applied once on connect and only if `open` was not
|
|
108
|
+
* authored.
|
|
109
|
+
* @default false
|
|
110
|
+
*/
|
|
111
|
+
defaultOpen: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Lets the committed value be text that is not in the suggestion list — Tab,
|
|
114
|
+
* Enter with nothing highlighted, and blur all commit the raw draft. This is
|
|
115
|
+
* the whole point of the family: an autocomplete *suggests*, it does not
|
|
116
|
+
* constrain. Turn it off and an unmatched draft is discarded on blur with the
|
|
117
|
+
* last committed text put back, which makes this a `<skdx-combobox>` with
|
|
118
|
+
* extra steps — reach for that instead.
|
|
119
|
+
*
|
|
120
|
+
* Defaulting to `true` means the attribute has to be switched off by *value*
|
|
121
|
+
* (`allow-custom-value="false"`), not by absence.
|
|
122
|
+
* @default true
|
|
123
|
+
*/
|
|
124
|
+
allowCustomValue: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* Opens the suggestion popup as soon as the input takes focus, instead of
|
|
127
|
+
* waiting for the first keystroke. Off by default: an empty field usually
|
|
128
|
+
* means an unfiltered list, and dropping the entire dataset over the page on
|
|
129
|
+
* focus is rarely what the user asked for.
|
|
130
|
+
* @default false
|
|
131
|
+
*/
|
|
132
|
+
openOnFocus: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* Predicate deciding which `<skdx-autocomplete-item>`s survive the current
|
|
135
|
+
* draft text. Every item is measured by its `text-value`, or its rendered
|
|
136
|
+
* text, and a rejected one stops being an option entirely — so it leaves the
|
|
137
|
+
* suggestion count, the highlight order, and `<skdx-autocomplete-empty>`
|
|
138
|
+
* exactly as if the consumer had never rendered it. Property only: an
|
|
139
|
+
* attribute cannot carry a function.
|
|
140
|
+
* @default undefined — nothing is filtered; the consumer renders only the matching items, which is what an async or server-side search needs.
|
|
141
|
+
*/
|
|
142
|
+
filter?: SkdxAutocompleteFilter;
|
|
143
|
+
/**
|
|
144
|
+
* Blocks all interaction: the input is natively `disabled`, so it is not
|
|
145
|
+
* focusable and the popup can never open.
|
|
146
|
+
* @default false
|
|
147
|
+
*/
|
|
148
|
+
disabled: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Shows the committed text but blocks any change to it — the input is
|
|
151
|
+
* natively `readonly` and still focusable (unlike `disabled`), and no
|
|
152
|
+
* keystroke, Tab or blur commits anything.
|
|
153
|
+
* @default false
|
|
154
|
+
*/
|
|
155
|
+
readOnly: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Marks the field invalid, exposed as `aria-invalid`/`data-invalid` on
|
|
158
|
+
* `<skdx-autocomplete-input>`.
|
|
159
|
+
* @default false
|
|
160
|
+
*/
|
|
161
|
+
invalid: boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Name used as the `FormData` entry key when the autocomplete is inside a
|
|
164
|
+
* `<form>`. What is submitted is the text in the field, which after any
|
|
165
|
+
* commit is the committed value.
|
|
166
|
+
* @default undefined — the field submits nothing at all.
|
|
167
|
+
*/
|
|
168
|
+
name?: string;
|
|
169
|
+
/**
|
|
170
|
+
* Formats the message announced (through the shared live announcer) each
|
|
171
|
+
* time the number of rendered suggestions changes while the popup is open.
|
|
172
|
+
* Filtering changes nothing `aria-expanded` or `aria-activedescendant`
|
|
173
|
+
* reports, so this count is the only signal a screen-reader user gets that
|
|
174
|
+
* typing narrowed anything. Return an empty string to announce nothing.
|
|
175
|
+
* Property only.
|
|
176
|
+
* @default defaultGetSuggestionCountLabel — e.g. `"3 suggestions available"`
|
|
177
|
+
*/
|
|
178
|
+
getSuggestionCountLabel: (count: number) => string;
|
|
179
|
+
/** Id `<skdx-autocomplete-list>` takes, and the input's `aria-controls` points at. */
|
|
180
|
+
readonly listId: string;
|
|
181
|
+
/** Id of the virtually-focused (`aria-activedescendant`) suggestion, or `null`. */
|
|
182
|
+
activeId: string | null;
|
|
183
|
+
/** @internal The `<skdx-autocomplete-input>` descendant — the floating-ui anchor for the popup. */
|
|
184
|
+
inputHost: HTMLElement | null;
|
|
185
|
+
/**
|
|
186
|
+
* @internal The mounted `<skdx-autocomplete-content>`. Registered rather than
|
|
187
|
+
* looked up, because it is also what tells `<skdx-autocomplete-input>` that
|
|
188
|
+
* something else owns Escape.
|
|
189
|
+
*/
|
|
190
|
+
contentEl: HTMLElement | null;
|
|
191
|
+
/**
|
|
192
|
+
* The text Escape restores. Held whether or not `value` is driven from
|
|
193
|
+
* outside, because Escape has to put the last committed text back either
|
|
194
|
+
* way.
|
|
195
|
+
*/
|
|
196
|
+
private committedText;
|
|
197
|
+
/** Snapshot of the state the element was connected with, for `formResetCallback`. */
|
|
198
|
+
private initialValue?;
|
|
199
|
+
private initialInputValue?;
|
|
200
|
+
private seeded;
|
|
201
|
+
/** Sets `value` and dispatches `value-change`. A value equal to the current one is a no-op. */
|
|
202
|
+
setValue(value: string): void;
|
|
203
|
+
/** Sets `inputValue` and dispatches `input-value-change`. Unchanged text is a no-op. */
|
|
204
|
+
setInputValue(value: string): void;
|
|
205
|
+
/** Sets `open` and dispatches `open-change`. Clears the virtual highlight on close; an unchanged state is a no-op. */
|
|
206
|
+
setOpen(open: boolean): void;
|
|
207
|
+
/** Whether a suggestion's value is the committed one, for `aria-selected`. */
|
|
208
|
+
isSelected(value: string): boolean;
|
|
209
|
+
/**
|
|
210
|
+
* Whether an item's text survives the current `filter` predicate and draft text.
|
|
211
|
+
*
|
|
212
|
+
* A call the family's `*-item` element makes on its root to decide its own visibility, not consumer API. It stays `public` to the compiler because the item is an instance of a different class, which `protected` cannot express.
|
|
213
|
+
*
|
|
214
|
+
* @internal
|
|
215
|
+
*/
|
|
216
|
+
matchesFilter(itemText: string): boolean;
|
|
217
|
+
/**
|
|
218
|
+
* Commits a suggestion: writes its text into the input, its value into
|
|
219
|
+
* `value`, and closes.
|
|
220
|
+
*
|
|
221
|
+
* A locked root already makes every `<skdx-autocomplete-item>` inert — pointer
|
|
222
|
+
* and keyboard both stop there — so this guard is the root's own invariant,
|
|
223
|
+
* not a path a real interaction reaches. {@link commitInputValue} is
|
|
224
|
+
* different: a read-only input is still focusable, so Tab and blur do reach
|
|
225
|
+
* it.
|
|
226
|
+
*/
|
|
227
|
+
commitItem(value: string, text: string): void;
|
|
228
|
+
/** Commits the raw draft text as the value (Enter with nothing highlighted, Tab, blur) — or restores the last committed text when `allowCustomValue` is off. */
|
|
229
|
+
commitInputValue(): void;
|
|
230
|
+
/** Closes and puts the last committed text back in the input (Escape). */
|
|
231
|
+
revert(): void;
|
|
232
|
+
/** Opens the popup and highlights the first or last suggestion once it mounts. */
|
|
233
|
+
openWithHighlight(edge: 'first' | 'last'): void;
|
|
234
|
+
/**
|
|
235
|
+
* Sets the virtually-focused suggestion id.
|
|
236
|
+
*
|
|
237
|
+
* Keyed on an id this element mints for its own options, so a consumer has nothing meaningful to pass — it is the `aria-activedescendant` wiring the input and item parts share with their root, not consumer API. It stays `public` to the compiler because those parts are instances of different classes, which `protected` cannot express.
|
|
238
|
+
*
|
|
239
|
+
* @internal
|
|
240
|
+
*/
|
|
241
|
+
setActiveId(id: string | null): void;
|
|
242
|
+
private readonly itemRegistry;
|
|
243
|
+
/** @internal Called by each rendered `<skdx-autocomplete-item>` so Enter can commit it by id. */
|
|
244
|
+
registerItem(id: string, entry: SkdxAutocompleteItemEntry): void;
|
|
245
|
+
/** @internal Called when an item unmounts or is filtered out; a gone suggestion can't stay highlighted. */
|
|
246
|
+
unregisterItem(id: string): void;
|
|
247
|
+
/**
|
|
248
|
+
* The registered entry for a suggestion id, or `undefined` when it is no longer rendered.
|
|
249
|
+
*
|
|
250
|
+
* Keyed on an id this element mints for its own options, so a consumer has nothing meaningful to pass — it is the `aria-activedescendant` wiring the input and item parts share with their root, not consumer API. It stays `public` to the compiler because those parts are instances of different classes, which `protected` cannot express.
|
|
251
|
+
*
|
|
252
|
+
* @internal
|
|
253
|
+
*/
|
|
254
|
+
getItem(id: string): SkdxAutocompleteItemEntry | undefined;
|
|
255
|
+
private reseedFrame?;
|
|
256
|
+
/**
|
|
257
|
+
* Virtual focus has to keep naming a suggestion that is actually rendered,
|
|
258
|
+
* and the item the user is on is exactly the one ordinary typing removes.
|
|
259
|
+
* Dropping the highlight there would leave the input with no
|
|
260
|
+
* `aria-activedescendant` while matches are still on screen, so it is
|
|
261
|
+
* re-pointed at the first surviving suggestion instead. Only an empty result
|
|
262
|
+
* set clears it: naming an element that is not an option is worse than naming
|
|
263
|
+
* none, and axe flags it.
|
|
264
|
+
*
|
|
265
|
+
* Deferred a frame because the new option set has to be in the DOM before
|
|
266
|
+
* "first" means anything — same reason as {@link openWithHighlight}.
|
|
267
|
+
*/
|
|
268
|
+
private scheduleReseed;
|
|
269
|
+
private emit;
|
|
270
|
+
private notify;
|
|
271
|
+
/**
|
|
272
|
+
* Filtering happens in *our light DOM*, which doesn't trigger a Lit update —
|
|
273
|
+
* so the suggestion count is watched with a MutationObserver rather than
|
|
274
|
+
* derived from a property. `announce` debounces, so typing a word produces
|
|
275
|
+
* one announcement rather than one per keystroke.
|
|
276
|
+
*/
|
|
277
|
+
private readonly itemObserver;
|
|
278
|
+
private announceSuggestionCount;
|
|
279
|
+
connectedCallback(): void;
|
|
280
|
+
disconnectedCallback(): void;
|
|
281
|
+
private hasUpdatedOnce;
|
|
282
|
+
private teardownOpenChangeComplete?;
|
|
283
|
+
protected updated(changed: Map<string, unknown>): void;
|
|
284
|
+
/** Restores the committed value and draft text the element was connected with. A reset fires no change event. */
|
|
285
|
+
formResetCallback(): void;
|
|
286
|
+
render(): import("lit").TemplateResult<1>;
|
|
287
|
+
}
|
|
288
|
+
declare global {
|
|
289
|
+
interface HTMLElementTagNameMap {
|
|
290
|
+
'skdx-autocomplete': SkdxAutocomplete;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
export {};
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/** @internal Selector for a suggestion that is still an option and still live, mirrored from the React autocomplete util. */
|
|
3
|
+
export declare const OPTION_SELECTOR = "[role=\"option\"]:not([data-disabled])";
|
|
4
|
+
/** @internal Event the root dispatches whenever its state moves, so every part can re-render off state it owns no attribute for. */
|
|
5
|
+
export declare const AUTOCOMPLETE_UPDATE_EVENT = "skdx-autocomplete-internal-update";
|
|
6
|
+
/** Default `getSuggestionCountLabel`: `"1 suggestion available"` / `"3 suggestions available"`. */
|
|
7
|
+
export declare function defaultGetSuggestionCountLabel(count: number): string;
|
|
8
|
+
/** What an `<skdx-autocomplete-item>` registers about itself, so Enter can commit it by id. */
|
|
9
|
+
export interface SkdxAutocompleteItemEntry {
|
|
10
|
+
/** The value committed to the root when this suggestion is chosen. */
|
|
11
|
+
value: string;
|
|
12
|
+
/** The item's `text-value`, or its rendered text — matched by `filter`, written back into the input. */
|
|
13
|
+
text: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Decides which `<skdx-autocomplete-item>`s survive the current draft text.
|
|
17
|
+
* `undefined` filters nothing — the consumer renders only the suggestions that
|
|
18
|
+
* match, which is what an async or server-side search needs.
|
|
19
|
+
*/
|
|
20
|
+
export type SkdxAutocompleteFilter = (itemText: string, inputValue: string) => boolean;
|
|
21
|
+
declare const SkdxAutocomplete_base: typeof LitElement & (new (...args: any[]) => import("../internal/form-associated.js").SkdxFormAssociated) & {
|
|
22
|
+
formAssociated: boolean;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* `<skdx-autocomplete>` — the Web Components implementation of the shared
|
|
26
|
+
* Autocomplete contract (see `@skdx/shared`'s `autocompleteContract`). A
|
|
27
|
+
* WAI-ARIA 1.2 "combobox with list autocomplete" with one deliberate
|
|
28
|
+
* difference from `<skdx-combobox>`: **the committed value does not have to
|
|
29
|
+
* come from the list**. Type "foo", tab away, and "foo" is the answer.
|
|
30
|
+
*
|
|
31
|
+
* The root owns **two separate** pieces of state — the draft text in the input
|
|
32
|
+
* (`input-value`) and the committed value (`value`) — plus the popup's open
|
|
33
|
+
* state, and hands all three down to every other `<skdx-autocomplete-*>` part,
|
|
34
|
+
* which look it up with `closest('skdx-autocomplete')`. Renders no visible box
|
|
35
|
+
* of its own (`display: contents`).
|
|
36
|
+
*
|
|
37
|
+
* Real DOM focus never leaves `<skdx-autocomplete-input>`; the highlighted
|
|
38
|
+
* suggestion is *virtual*, named by `aria-activedescendant`. Arrow Down/Up move
|
|
39
|
+
* the highlight, Enter commits it, Escape closes and puts the last committed
|
|
40
|
+
* text back, Tab commits the raw draft.
|
|
41
|
+
*
|
|
42
|
+
* Filtering is the consumer's job by default: render only the items that match
|
|
43
|
+
* the draft text, which is what an async or server-side search needs. Set the
|
|
44
|
+
* `filter` *property* to a predicate to move filtering inside the component
|
|
45
|
+
* instead.
|
|
46
|
+
*
|
|
47
|
+
* Form-associated via `ElementInternals`: with a `name`, the field submits the
|
|
48
|
+
* text currently in the input — which, after any commit, is the committed
|
|
49
|
+
* value — exactly as React's real `<input>` does, and a form reset restores
|
|
50
|
+
* the text and value it was connected with.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```html
|
|
54
|
+
* <skdx-autocomplete id="city">
|
|
55
|
+
* <skdx-autocomplete-input label="City" placeholder="Where to?"></skdx-autocomplete-input>
|
|
56
|
+
* <skdx-autocomplete-trigger label="Show suggestions">▾</skdx-autocomplete-trigger>
|
|
57
|
+
* <skdx-autocomplete-content>
|
|
58
|
+
* <skdx-autocomplete-list label="Cities">
|
|
59
|
+
* <skdx-autocomplete-item value="Oslo">Oslo</skdx-autocomplete-item>
|
|
60
|
+
* </skdx-autocomplete-list>
|
|
61
|
+
* <skdx-autocomplete-empty>No matches — we'll use what you typed</skdx-autocomplete-empty>
|
|
62
|
+
* </skdx-autocomplete-content>
|
|
63
|
+
* </skdx-autocomplete>
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @fires value-change - Fires with the new committed value (string) — on Enter, on a suggestion click, on Tab, and on blur. Never on a keystroke, and never when the value is unchanged.
|
|
67
|
+
* @fires input-value-change - Fires with the new draft text (string) on every keystroke, and whenever a commit or a revert rewrites the field.
|
|
68
|
+
* @fires open-change - Fires with the new open state (boolean) whenever the suggestion popup opens or closes.
|
|
69
|
+
* @fires open-change-complete - Fires with the new open state after `<skdx-autocomplete-content>`'s enter or exit animation has finished — as soon as the popup has settled, when it declares no animation at all. Not cancelable: the change has already happened.
|
|
70
|
+
*/
|
|
71
|
+
export declare class SkdxAutocomplete extends SkdxAutocomplete_base {
|
|
72
|
+
static styles: import("lit").CSSResult;
|
|
73
|
+
/**
|
|
74
|
+
* The committed value — the answer the form takes, which need not be one of
|
|
75
|
+
* the suggestions. A *separate* state from {@link inputValue}: the draft
|
|
76
|
+
* text moves on every keystroke, this only when something is committed.
|
|
77
|
+
* Listen for `value-change` to observe or override changes.
|
|
78
|
+
* @default '' — nothing committed, so blurring an untouched field commits nothing.
|
|
79
|
+
*/
|
|
80
|
+
value: string;
|
|
81
|
+
/**
|
|
82
|
+
* Initial committed value, applied once on connect and only if `value` was
|
|
83
|
+
* not authored. It also seeds {@link inputValue}, so an autocomplete
|
|
84
|
+
* restored from saved state shows the text it committed rather than an empty
|
|
85
|
+
* field, and it is the value a form reset restores.
|
|
86
|
+
* @default '' — the field starts committed to nothing.
|
|
87
|
+
*/
|
|
88
|
+
defaultValue: string;
|
|
89
|
+
/**
|
|
90
|
+
* The draft text currently in the input, typically used to drive filtering
|
|
91
|
+
* of the suggestion list. Listen for `input-value-change`.
|
|
92
|
+
* @default '' — an empty field, so an unfiltered list.
|
|
93
|
+
*/
|
|
94
|
+
inputValue: string;
|
|
95
|
+
/**
|
|
96
|
+
* Initial draft text, applied once on connect and only if `input-value` was
|
|
97
|
+
* not authored.
|
|
98
|
+
* @default undefined — falls back to whatever value the field starts committed to, so the box never silently disagrees with its own value.
|
|
99
|
+
*/
|
|
100
|
+
defaultInputValue?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Whether the suggestion popup is open. Listen for `open-change`.
|
|
103
|
+
* @default false — the popup opens on the first keystroke, or on focus with {@link openOnFocus}.
|
|
104
|
+
*/
|
|
105
|
+
open: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Initial open state, applied once on connect and only if `open` was not
|
|
108
|
+
* authored.
|
|
109
|
+
* @default false
|
|
110
|
+
*/
|
|
111
|
+
defaultOpen: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Lets the committed value be text that is not in the suggestion list — Tab,
|
|
114
|
+
* Enter with nothing highlighted, and blur all commit the raw draft. This is
|
|
115
|
+
* the whole point of the family: an autocomplete *suggests*, it does not
|
|
116
|
+
* constrain. Turn it off and an unmatched draft is discarded on blur with the
|
|
117
|
+
* last committed text put back, which makes this a `<skdx-combobox>` with
|
|
118
|
+
* extra steps — reach for that instead.
|
|
119
|
+
*
|
|
120
|
+
* Defaulting to `true` means the attribute has to be switched off by *value*
|
|
121
|
+
* (`allow-custom-value="false"`), not by absence.
|
|
122
|
+
* @default true
|
|
123
|
+
*/
|
|
124
|
+
allowCustomValue: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* Opens the suggestion popup as soon as the input takes focus, instead of
|
|
127
|
+
* waiting for the first keystroke. Off by default: an empty field usually
|
|
128
|
+
* means an unfiltered list, and dropping the entire dataset over the page on
|
|
129
|
+
* focus is rarely what the user asked for.
|
|
130
|
+
* @default false
|
|
131
|
+
*/
|
|
132
|
+
openOnFocus: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* Predicate deciding which `<skdx-autocomplete-item>`s survive the current
|
|
135
|
+
* draft text. Every item is measured by its `text-value`, or its rendered
|
|
136
|
+
* text, and a rejected one stops being an option entirely — so it leaves the
|
|
137
|
+
* suggestion count, the highlight order, and `<skdx-autocomplete-empty>`
|
|
138
|
+
* exactly as if the consumer had never rendered it. Property only: an
|
|
139
|
+
* attribute cannot carry a function.
|
|
140
|
+
* @default undefined — nothing is filtered; the consumer renders only the matching items, which is what an async or server-side search needs.
|
|
141
|
+
*/
|
|
142
|
+
filter?: SkdxAutocompleteFilter;
|
|
143
|
+
/**
|
|
144
|
+
* Blocks all interaction: the input is natively `disabled`, so it is not
|
|
145
|
+
* focusable and the popup can never open.
|
|
146
|
+
* @default false
|
|
147
|
+
*/
|
|
148
|
+
disabled: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Shows the committed text but blocks any change to it — the input is
|
|
151
|
+
* natively `readonly` and still focusable (unlike `disabled`), and no
|
|
152
|
+
* keystroke, Tab or blur commits anything.
|
|
153
|
+
* @default false
|
|
154
|
+
*/
|
|
155
|
+
readOnly: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Marks the field invalid, exposed as `aria-invalid`/`data-invalid` on
|
|
158
|
+
* `<skdx-autocomplete-input>`.
|
|
159
|
+
* @default false
|
|
160
|
+
*/
|
|
161
|
+
invalid: boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Name used as the `FormData` entry key when the autocomplete is inside a
|
|
164
|
+
* `<form>`. What is submitted is the text in the field, which after any
|
|
165
|
+
* commit is the committed value.
|
|
166
|
+
* @default undefined — the field submits nothing at all.
|
|
167
|
+
*/
|
|
168
|
+
name?: string;
|
|
169
|
+
/**
|
|
170
|
+
* Formats the message announced (through the shared live announcer) each
|
|
171
|
+
* time the number of rendered suggestions changes while the popup is open.
|
|
172
|
+
* Filtering changes nothing `aria-expanded` or `aria-activedescendant`
|
|
173
|
+
* reports, so this count is the only signal a screen-reader user gets that
|
|
174
|
+
* typing narrowed anything. Return an empty string to announce nothing.
|
|
175
|
+
* Property only.
|
|
176
|
+
* @default defaultGetSuggestionCountLabel — e.g. `"3 suggestions available"`
|
|
177
|
+
*/
|
|
178
|
+
getSuggestionCountLabel: (count: number) => string;
|
|
179
|
+
/** Id `<skdx-autocomplete-list>` takes, and the input's `aria-controls` points at. */
|
|
180
|
+
readonly listId: string;
|
|
181
|
+
/** Id of the virtually-focused (`aria-activedescendant`) suggestion, or `null`. */
|
|
182
|
+
activeId: string | null;
|
|
183
|
+
/** @internal The `<skdx-autocomplete-input>` descendant — the floating-ui anchor for the popup. */
|
|
184
|
+
inputHost: HTMLElement | null;
|
|
185
|
+
/**
|
|
186
|
+
* @internal The mounted `<skdx-autocomplete-content>`. Registered rather than
|
|
187
|
+
* looked up, because it is also what tells `<skdx-autocomplete-input>` that
|
|
188
|
+
* something else owns Escape.
|
|
189
|
+
*/
|
|
190
|
+
contentEl: HTMLElement | null;
|
|
191
|
+
/**
|
|
192
|
+
* The text Escape restores. Held whether or not `value` is driven from
|
|
193
|
+
* outside, because Escape has to put the last committed text back either
|
|
194
|
+
* way.
|
|
195
|
+
*/
|
|
196
|
+
private committedText;
|
|
197
|
+
/** Snapshot of the state the element was connected with, for `formResetCallback`. */
|
|
198
|
+
private initialValue?;
|
|
199
|
+
private initialInputValue?;
|
|
200
|
+
private seeded;
|
|
201
|
+
/** Sets `value` and dispatches `value-change`. A value equal to the current one is a no-op. */
|
|
202
|
+
setValue(value: string): void;
|
|
203
|
+
/** Sets `inputValue` and dispatches `input-value-change`. Unchanged text is a no-op. */
|
|
204
|
+
setInputValue(value: string): void;
|
|
205
|
+
/** Sets `open` and dispatches `open-change`. Clears the virtual highlight on close; an unchanged state is a no-op. */
|
|
206
|
+
setOpen(open: boolean): void;
|
|
207
|
+
/** Whether a suggestion's value is the committed one, for `aria-selected`. */
|
|
208
|
+
isSelected(value: string): boolean;
|
|
209
|
+
/**
|
|
210
|
+
* Whether an item's text survives the current `filter` predicate and draft text.
|
|
211
|
+
*
|
|
212
|
+
* A call the family's `*-item` element makes on its root to decide its own visibility, not consumer API. It stays `public` to the compiler because the item is an instance of a different class, which `protected` cannot express.
|
|
213
|
+
*
|
|
214
|
+
* @internal
|
|
215
|
+
*/
|
|
216
|
+
matchesFilter(itemText: string): boolean;
|
|
217
|
+
/**
|
|
218
|
+
* Commits a suggestion: writes its text into the input, its value into
|
|
219
|
+
* `value`, and closes.
|
|
220
|
+
*
|
|
221
|
+
* A locked root already makes every `<skdx-autocomplete-item>` inert — pointer
|
|
222
|
+
* and keyboard both stop there — so this guard is the root's own invariant,
|
|
223
|
+
* not a path a real interaction reaches. {@link commitInputValue} is
|
|
224
|
+
* different: a read-only input is still focusable, so Tab and blur do reach
|
|
225
|
+
* it.
|
|
226
|
+
*/
|
|
227
|
+
commitItem(value: string, text: string): void;
|
|
228
|
+
/** Commits the raw draft text as the value (Enter with nothing highlighted, Tab, blur) — or restores the last committed text when `allowCustomValue` is off. */
|
|
229
|
+
commitInputValue(): void;
|
|
230
|
+
/** Closes and puts the last committed text back in the input (Escape). */
|
|
231
|
+
revert(): void;
|
|
232
|
+
/** Opens the popup and highlights the first or last suggestion once it mounts. */
|
|
233
|
+
openWithHighlight(edge: 'first' | 'last'): void;
|
|
234
|
+
/**
|
|
235
|
+
* Sets the virtually-focused suggestion id.
|
|
236
|
+
*
|
|
237
|
+
* Keyed on an id this element mints for its own options, so a consumer has nothing meaningful to pass — it is the `aria-activedescendant` wiring the input and item parts share with their root, not consumer API. It stays `public` to the compiler because those parts are instances of different classes, which `protected` cannot express.
|
|
238
|
+
*
|
|
239
|
+
* @internal
|
|
240
|
+
*/
|
|
241
|
+
setActiveId(id: string | null): void;
|
|
242
|
+
private readonly itemRegistry;
|
|
243
|
+
/** @internal Called by each rendered `<skdx-autocomplete-item>` so Enter can commit it by id. */
|
|
244
|
+
registerItem(id: string, entry: SkdxAutocompleteItemEntry): void;
|
|
245
|
+
/** @internal Called when an item unmounts or is filtered out; a gone suggestion can't stay highlighted. */
|
|
246
|
+
unregisterItem(id: string): void;
|
|
247
|
+
/**
|
|
248
|
+
* The registered entry for a suggestion id, or `undefined` when it is no longer rendered.
|
|
249
|
+
*
|
|
250
|
+
* Keyed on an id this element mints for its own options, so a consumer has nothing meaningful to pass — it is the `aria-activedescendant` wiring the input and item parts share with their root, not consumer API. It stays `public` to the compiler because those parts are instances of different classes, which `protected` cannot express.
|
|
251
|
+
*
|
|
252
|
+
* @internal
|
|
253
|
+
*/
|
|
254
|
+
getItem(id: string): SkdxAutocompleteItemEntry | undefined;
|
|
255
|
+
private reseedFrame?;
|
|
256
|
+
/**
|
|
257
|
+
* Virtual focus has to keep naming a suggestion that is actually rendered,
|
|
258
|
+
* and the item the user is on is exactly the one ordinary typing removes.
|
|
259
|
+
* Dropping the highlight there would leave the input with no
|
|
260
|
+
* `aria-activedescendant` while matches are still on screen, so it is
|
|
261
|
+
* re-pointed at the first surviving suggestion instead. Only an empty result
|
|
262
|
+
* set clears it: naming an element that is not an option is worse than naming
|
|
263
|
+
* none, and axe flags it.
|
|
264
|
+
*
|
|
265
|
+
* Deferred a frame because the new option set has to be in the DOM before
|
|
266
|
+
* "first" means anything — same reason as {@link openWithHighlight}.
|
|
267
|
+
*/
|
|
268
|
+
private scheduleReseed;
|
|
269
|
+
private emit;
|
|
270
|
+
private notify;
|
|
271
|
+
/**
|
|
272
|
+
* Filtering happens in *our light DOM*, which doesn't trigger a Lit update —
|
|
273
|
+
* so the suggestion count is watched with a MutationObserver rather than
|
|
274
|
+
* derived from a property. `announce` debounces, so typing a word produces
|
|
275
|
+
* one announcement rather than one per keystroke.
|
|
276
|
+
*/
|
|
277
|
+
private readonly itemObserver;
|
|
278
|
+
private announceSuggestionCount;
|
|
279
|
+
connectedCallback(): void;
|
|
280
|
+
disconnectedCallback(): void;
|
|
281
|
+
private hasUpdatedOnce;
|
|
282
|
+
private teardownOpenChangeComplete?;
|
|
283
|
+
protected updated(changed: Map<string, unknown>): void;
|
|
284
|
+
/** Restores the committed value and draft text the element was connected with. A reset fires no change event. */
|
|
285
|
+
formResetCallback(): void;
|
|
286
|
+
render(): import("lit").TemplateResult<1>;
|
|
287
|
+
}
|
|
288
|
+
declare global {
|
|
289
|
+
interface HTMLElementTagNameMap {
|
|
290
|
+
'skdx-autocomplete': SkdxAutocomplete;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
var p=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var s=(a,l,e,t)=>{for(var r=t>1?void 0:t?m(l,e):l,u=a.length-1,o;u>=0;u--)(o=a[u])&&(r=(t?o(l,e,r):o(r))||r);return t&&r&&p(l,e,r),r};import{css as c,html as f,LitElement as v}from"lit";import{property as n}from"lit/decorators.js";import{customElement as g}from"../internal/define.js";import{FormAssociated as b}from"../internal/form-associated.js";import{nextId as y}from"../internal/ids.js";import{notifyOpenChangeComplete as V}from"../internal/open-change-complete.js";import{optOutBoolean as I}from"../internal/positioning.js";import{announce as O}from"../utils/live-announcer.js";var h='[role="option"]:not([data-disabled])',d="skdx-autocomplete-internal-update";function C(a){return`${a} suggestion${a===1?"":"s"} available`}var i=class extends b(v){constructor(){super(...arguments);this.value="";this.defaultValue="";this.inputValue="";this.open=!1;this.defaultOpen=!1;this.allowCustomValue=!0;this.openOnFocus=!1;this.disabled=!1;this.readOnly=!1;this.invalid=!1;this.getSuggestionCountLabel=C;this.listId=y("skdx-autocomplete-list");this.activeId=null;this.inputHost=null;this.contentEl=null;this.committedText="";this.seeded=!1;this.itemRegistry=new Map;this.itemObserver=new MutationObserver(()=>this.announceSuggestionCount());this.hasUpdatedOnce=!1}setValue(e){this.value!==e&&(this.value=e,this.emit("value-change",e))}setInputValue(e){this.inputValue!==e&&(this.inputValue=e,this.emit("input-value-change",e))}setOpen(e){this.open!==e&&(this.open=e,e||(this.activeId=null),this.emit("open-change",e))}isSelected(e){return e!==""&&e===this.value}matchesFilter(e){return this.filter===void 0||this.filter(e,this.inputValue)}commitItem(e,t){this.disabled||this.readOnly||(this.setValue(e),this.setInputValue(t),this.committedText=t,this.setOpen(!1))}commitInputValue(){if(!(this.disabled||this.readOnly)){if(!this.allowCustomValue){this.setInputValue(this.committedText),this.setOpen(!1);return}this.setValue(this.inputValue),this.committedText=this.inputValue,this.setOpen(!1)}}revert(){this.setInputValue(this.committedText),this.setOpen(!1)}openWithHighlight(e){this.setOpen(!0),requestAnimationFrame(()=>{let t=Array.from(this.querySelectorAll(h));t.length!==0&&this.setActiveId((e==="last"?t[t.length-1]:t[0]).id)})}setActiveId(e){this.activeId=e,this.notify()}registerItem(e,t){this.itemRegistry.set(e,t)}unregisterItem(e){this.itemRegistry.delete(e),this.activeId===e&&this.scheduleReseed()}getItem(e){return this.itemRegistry.get(e)}scheduleReseed(){this.reseedFrame===void 0&&(this.reseedFrame=requestAnimationFrame(()=>{this.reseedFrame=void 0;let e=this.activeId;if(e===null)return;let t=Array.from(this.querySelectorAll(h));t.some(r=>r.id===e)||this.setActiveId(t[0]?.id??null)}))}emit(e,t){this.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,composed:!0})),this.notify()}notify(){this.dispatchEvent(new CustomEvent(d,{bubbles:!0,composed:!0})),this.requestUpdate()}announceSuggestionCount(){this.open&&O(this.getSuggestionCountLabel(this.querySelectorAll(h).length))}connectedCallback(){super.connectedCallback(),this.seeded||(this.seeded=!0,this.hasAttribute("value")||(this.value=this.defaultValue),this.hasAttribute("input-value")||(this.inputValue=this.defaultInputValue??this.value),this.hasAttribute("open")||(this.open=this.defaultOpen),this.committedText=this.inputValue,this.initialValue=this.value,this.initialInputValue=this.inputValue),this.itemObserver.observe(this,{childList:!0,subtree:!0,attributeFilter:["data-disabled","role"]})}disconnectedCallback(){this.itemObserver.disconnect(),this.reseedFrame!==void 0&&cancelAnimationFrame(this.reseedFrame),this.reseedFrame=void 0,this.teardownOpenChangeComplete?.(),super.disconnectedCallback()}updated(e){let t=!this.hasUpdatedOnce;this.hasUpdatedOnce=!0,(e.has("inputValue")||e.has("name"))&&this.setFormValue(this.inputValue),e.has("open")&&this.open&&this.announceSuggestionCount(),e.size>0&&this.dispatchEvent(new CustomEvent(d,{bubbles:!0,composed:!0})),e.has("open")&&!t&&(this.teardownOpenChangeComplete?.(),this.teardownOpenChangeComplete=V(()=>this.contentEl,this.open,r=>this.dispatchEvent(new CustomEvent("open-change-complete",{detail:r,bubbles:!0,composed:!0}))))}formResetCallback(){this.value=this.initialValue??"",this.inputValue=this.initialInputValue??"",this.committedText=this.inputValue}render(){return f`<slot></slot>`}};i.styles=c`
|
|
2
|
+
:host {
|
|
3
|
+
display: contents;
|
|
4
|
+
}
|
|
5
|
+
`,s([n({type:String,reflect:!0})],i.prototype,"value",2),s([n({type:String,attribute:"default-value"})],i.prototype,"defaultValue",2),s([n({type:String,attribute:"input-value"})],i.prototype,"inputValue",2),s([n({type:String,attribute:"default-input-value"})],i.prototype,"defaultInputValue",2),s([n({type:Boolean,reflect:!0})],i.prototype,"open",2),s([n({type:Boolean,attribute:"default-open"})],i.prototype,"defaultOpen",2),s([n({converter:I,attribute:"allow-custom-value"})],i.prototype,"allowCustomValue",2),s([n({type:Boolean,attribute:"open-on-focus",reflect:!0})],i.prototype,"openOnFocus",2),s([n({attribute:!1})],i.prototype,"filter",2),s([n({type:Boolean,reflect:!0})],i.prototype,"disabled",2),s([n({type:Boolean,attribute:"read-only",reflect:!0})],i.prototype,"readOnly",2),s([n({type:Boolean,reflect:!0})],i.prototype,"invalid",2),s([n({type:String,reflect:!0})],i.prototype,"name",2),s([n({attribute:!1})],i.prototype,"getSuggestionCountLabel",2),i=s([g("skdx-autocomplete")],i);export{d as AUTOCOMPLETE_UPDATE_EVENT,h as OPTION_SELECTOR,i as SkdxAutocomplete,C as defaultGetSuggestionCountLabel};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";var u=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var O=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var b=(s,i)=>{for(var t in i)u(s,t,{get:i[t],enumerable:!0})},g=(s,i,t,n)=>{if(i&&typeof i=="object"||typeof i=="function")for(let e of O(i))!P.call(s,e)&&e!==t&&u(s,e,{get:()=>i[e],enumerable:!(n=f(i,e))||n.enumerable});return s};var w=s=>g(u({},"__esModule",{value:!0}),s),r=(s,i,t,n)=>{for(var e=n>1?void 0:n?f(i,t):i,c=s.length-1,p;c>=0;c--)(p=s[c])&&(e=(n?p(i,t,e):p(e))||e);return n&&e&&u(i,t,e),e};var D={};b(D,{SkdxAutocompleteContent:()=>o});module.exports=w(D);var l=require("lit"),a=require("lit/decorators.js"),m=require("../internal/closest.cjs"),y=require("../internal/define.cjs"),d=require("../internal/dismiss.cjs"),h=require("../internal/positioning.cjs"),E=require("../internal/styles.cjs"),v=require("./Autocomplete.cjs");var o=class extends l.LitElement{constructor(){super(...arguments);this.side="bottom";this.align="start";this.sideOffset=4;this.alignOffset=0;this.avoidCollisions=!0;this.collisionPadding=8;this.root=null;this.onRootUpdate=()=>this.syncHostState();this.preventFocusSteal=t=>t.preventDefault();this.handleDocumentKeyDown=t=>{t.key!=="Escape"||!this.root?.open||(t.preventDefault(),(0,d.dispatchEscapeKeyDown)(this,t)&&this.root.revert())};this.handleOutsidePointerDown=t=>{!this.root?.open||this.isInside(t.target)||(0,d.dispatchOutside)(this,"pointer-down-outside",t)&&this.root.setOpen(!1)};this.handleOutsideFocus=t=>{if(!this.root?.open)return;let n=(0,d.focusOutsideTarget)(t);n===null||this.isInside(n)||(0,d.dispatchOutside)(this,"focus-outside",t)&&this.root.setOpen(!1)}}connectedCallback(){super.connectedCallback(),this.root=(0,m.closestThroughPortal)(this,"skdx-autocomplete"),this.root&&(this.root.contentEl=this),this.root?.addEventListener(v.AUTOCOMPLETE_UPDATE_EVENT,this.onRootUpdate),this.addEventListener("mousedown",this.preventFocusSteal),document.addEventListener("keydown",this.handleDocumentKeyDown,!0),document.addEventListener("pointerdown",this.handleOutsidePointerDown),document.addEventListener("focusin",this.handleOutsideFocus),this.syncHostState()}disconnectedCallback(){this.root?.removeEventListener(v.AUTOCOMPLETE_UPDATE_EVENT,this.onRootUpdate),this.root?.contentEl===this&&(this.root.contentEl=null),this.removeEventListener("mousedown",this.preventFocusSteal),document.removeEventListener("keydown",this.handleDocumentKeyDown,!0),document.removeEventListener("pointerdown",this.handleOutsidePointerDown),document.removeEventListener("focusin",this.handleOutsideFocus),this.cleanupPosition?.(),this.cleanupPosition=void 0,super.disconnectedCallback()}isInside(t){return t?this.contains(t)||this.root?.contains(t)===!0:!1}syncHostState(){let t=this.root?.open??!1;this.setAttribute("data-state",t?"open":"closed"),this.setAttribute("data-side",this.side??"bottom"),this.setAttribute("data-align",this.align??"start"),this.hidden=!t,t?this.activate():this.deactivate()}activate(){this.cleanupPosition||!this.root?.inputHost||(this.cleanupPosition=(0,h.positionFloating)(this.root.inputHost,this,{side:this.side,align:this.align,sideOffset:this.sideOffset,alignOffset:this.alignOffset,avoidCollisions:this.avoidCollisions,collisionPadding:this.collisionPadding,collisionBoundary:this.collisionBoundary,component:"autocomplete"}))}deactivate(){this.cleanupPosition?.(),this.cleanupPosition=void 0}render(){return l.html`<slot></slot>`}};o.styles=[E.hiddenHostStyles,l.css`
|
|
2
|
+
:host {
|
|
3
|
+
display: block;
|
|
4
|
+
}
|
|
5
|
+
`],r([(0,a.property)({type:String})],o.prototype,"side",2),r([(0,a.property)({type:String})],o.prototype,"align",2),r([(0,a.property)({type:Number,attribute:"side-offset"})],o.prototype,"sideOffset",2),r([(0,a.property)({type:Number,attribute:"align-offset"})],o.prototype,"alignOffset",2),r([(0,a.property)({converter:h.optOutBoolean,attribute:"avoid-collisions"})],o.prototype,"avoidCollisions",2),r([(0,a.property)({type:Number,attribute:"collision-padding"})],o.prototype,"collisionPadding",2),r([(0,a.property)({attribute:!1})],o.prototype,"collisionBoundary",2),o=r([(0,y.customElement)("skdx-autocomplete-content","autocomplete","content")],o);0&&(module.exports={SkdxAutocompleteContent});
|