@ahrowe/ui 0.35.0 → 0.36.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 +100 -71
- package/dist/cjs-types/common/accordion/accordion.d.ts +4 -0
- package/dist/cjs-types/common/accordion/accordion.types.d.ts +21 -0
- package/dist/cjs-types/common/accordion/index.d.ts +2 -0
- package/dist/cjs-types/common/actionButtons/actionButtons.d.ts +2 -0
- package/dist/cjs-types/common/actionButtons/actionButtons.types.d.ts +34 -0
- package/dist/cjs-types/common/actionButtons/index.d.ts +2 -0
- package/dist/cjs-types/common/actionIcon/actionIcon.d.ts +4 -0
- package/dist/cjs-types/common/actionIcon/actionIcon.types.d.ts +15 -0
- package/dist/cjs-types/common/actionIcon/index.d.ts +2 -0
- package/dist/cjs-types/common/alert/alert.d.ts +4 -0
- package/dist/cjs-types/common/alert/alert.types.d.ts +30 -0
- package/dist/cjs-types/common/alert/index.d.ts +2 -0
- package/dist/cjs-types/common/animatedIcon/animatedIcon.d.ts +3 -0
- package/dist/cjs-types/common/animatedIcon/animatedIcon.types.d.ts +25 -0
- package/dist/cjs-types/common/animatedIcon/index.d.ts +2 -0
- package/dist/cjs-types/common/animatedLogo/animatedLogo.d.ts +4 -0
- package/dist/cjs-types/common/animatedLogo/animatedLogo.types.d.ts +35 -0
- package/dist/cjs-types/common/animatedLogo/index.d.ts +2 -0
- package/dist/cjs-types/common/animatedText/animatedText.d.ts +4 -0
- package/dist/cjs-types/common/animatedText/animatedText.types.d.ts +65 -0
- package/dist/cjs-types/common/animatedText/index.d.ts +2 -0
- package/dist/cjs-types/common/avatar/avatar.d.ts +4 -0
- package/dist/cjs-types/common/avatar/avatar.types.d.ts +26 -0
- package/dist/cjs-types/common/avatar/avatarGroup.d.ts +4 -0
- package/dist/cjs-types/common/avatar/index.d.ts +3 -0
- package/dist/cjs-types/common/badge/badge.d.ts +4 -0
- package/dist/cjs-types/common/badge/badge.types.d.ts +31 -0
- package/dist/cjs-types/common/badge/index.d.ts +2 -0
- package/dist/cjs-types/common/bodyEnd/bodyEnd.d.ts +4 -0
- package/dist/cjs-types/common/bodyEnd/bodyEnd.types.d.ts +4 -0
- package/dist/cjs-types/common/bodyEnd/index.d.ts +2 -0
- package/dist/cjs-types/common/breadcrumb/breadcrumb.d.ts +4 -0
- package/dist/cjs-types/common/breadcrumb/breadcrumb.types.d.ts +33 -0
- package/dist/cjs-types/common/breadcrumb/index.d.ts +2 -0
- package/dist/cjs-types/common/button/button.d.ts +9 -0
- package/dist/cjs-types/common/button/button.types.d.ts +42 -0
- package/dist/cjs-types/common/button/index.d.ts +2 -0
- package/dist/cjs-types/common/buttonGroup/buttonGroup.d.ts +4 -0
- package/dist/cjs-types/common/buttonGroup/buttonGroup.types.d.ts +12 -0
- package/dist/cjs-types/common/buttonGroup/index.d.ts +2 -0
- package/dist/cjs-types/common/card/Card.d.ts +4 -0
- package/dist/cjs-types/common/card/CardActions.d.ts +4 -0
- package/dist/cjs-types/common/card/CardContent.d.ts +4 -0
- package/dist/cjs-types/common/card/CardHeader.d.ts +4 -0
- package/dist/cjs-types/common/card/CardMedia.d.ts +4 -0
- package/dist/cjs-types/common/card/card.types.d.ts +55 -0
- package/dist/cjs-types/common/card/index.d.ts +6 -0
- package/dist/cjs-types/common/carousel/carousel.d.ts +4 -0
- package/dist/cjs-types/common/carousel/carousel.types.d.ts +35 -0
- package/dist/cjs-types/common/carousel/index.d.ts +2 -0
- package/dist/cjs-types/common/checkbox/checkbox.d.ts +4 -0
- package/dist/cjs-types/common/checkbox/checkbox.types.d.ts +27 -0
- package/dist/cjs-types/common/checkbox/index.d.ts +2 -0
- package/dist/cjs-types/common/chip/chip.d.ts +4 -0
- package/dist/cjs-types/common/chip/chip.types.d.ts +35 -0
- package/dist/cjs-types/common/chip/chipContainer.d.ts +4 -0
- package/dist/cjs-types/common/chip/index.d.ts +3 -0
- package/dist/cjs-types/common/colorPicker/colorPicker.d.ts +4 -0
- package/dist/cjs-types/common/colorPicker/colorPicker.types.d.ts +25 -0
- package/dist/cjs-types/common/colorPicker/index.d.ts +2 -0
- package/dist/cjs-types/common/colorPicker/toHex.d.ts +11 -0
- package/dist/cjs-types/common/configProvider/configProvider.d.ts +13 -0
- package/dist/cjs-types/common/configProvider/configProvider.types.d.ts +133 -0
- package/dist/cjs-types/common/configProvider/index.d.ts +6 -0
- package/dist/cjs-types/common/configProvider/presentation.types.d.ts +14 -0
- package/dist/cjs-types/common/configProvider/useComponentDefaults.d.ts +17 -0
- package/dist/cjs-types/common/configProvider/useLabels.d.ts +22 -0
- package/dist/cjs-types/common/configProvider/usePresentationDefault.d.ts +8 -0
- package/dist/cjs-types/common/confirmModal/confirmModal.d.ts +4 -0
- package/dist/cjs-types/common/confirmModal/confirmModal.types.d.ts +24 -0
- package/dist/cjs-types/common/confirmModal/index.d.ts +2 -0
- package/dist/cjs-types/common/datePicker/components/datePickerMonth/datePickerMonth.d.ts +2 -0
- package/dist/cjs-types/common/datePicker/components/datePickerMonth/datePickerMonth.types.d.ts +23 -0
- package/dist/cjs-types/common/datePicker/components/datePickerMonth/index.d.ts +1 -0
- package/dist/cjs-types/common/datePicker/dateFunctions.d.ts +44 -0
- package/dist/cjs-types/common/datePicker/datePicker.d.ts +3 -0
- package/dist/cjs-types/common/datePicker/datePicker.types.d.ts +60 -0
- package/dist/cjs-types/common/datePicker/index.d.ts +2 -0
- package/dist/cjs-types/common/divider/divider.d.ts +4 -0
- package/dist/cjs-types/common/divider/divider.types.d.ts +21 -0
- package/dist/cjs-types/common/divider/index.d.ts +2 -0
- package/dist/cjs-types/common/drawer/drawer.d.ts +4 -0
- package/dist/cjs-types/common/drawer/drawer.types.d.ts +15 -0
- package/dist/cjs-types/common/drawer/index.d.ts +2 -0
- package/dist/cjs-types/common/dropZone/dropZone.d.ts +4 -0
- package/dist/cjs-types/common/dropZone/dropZone.types.d.ts +90 -0
- package/dist/cjs-types/common/dropZone/index.d.ts +2 -0
- package/dist/cjs-types/common/dropdown/dropdown.d.ts +4 -0
- package/dist/cjs-types/common/dropdown/dropdown.types.d.ts +47 -0
- package/dist/cjs-types/common/dropdown/index.d.ts +2 -0
- package/dist/cjs-types/common/emptyState/emptyState.d.ts +3 -0
- package/dist/cjs-types/common/emptyState/emptyState.types.d.ts +20 -0
- package/dist/cjs-types/common/emptyState/index.d.ts +2 -0
- package/dist/cjs-types/common/errorBoundary/errorBoundary.d.ts +14 -0
- package/dist/cjs-types/common/errorBoundary/errorBoundary.types.d.ts +57 -0
- package/dist/cjs-types/common/errorBoundary/index.d.ts +2 -0
- package/dist/cjs-types/common/fab/components/fabBase/fabBase.d.ts +3 -0
- package/dist/cjs-types/common/fab/components/fabBase/fabBase.types.d.ts +12 -0
- package/dist/cjs-types/common/fab/components/fabBase/index.d.ts +1 -0
- package/dist/cjs-types/common/fab/fab.d.ts +3 -0
- package/dist/cjs-types/common/fab/fab.types.d.ts +22 -0
- package/dist/cjs-types/common/fab/index.d.ts +2 -0
- package/dist/cjs-types/common/flip/flip.d.ts +3 -0
- package/dist/cjs-types/common/flip/flip.types.d.ts +44 -0
- package/dist/cjs-types/common/flip/index.d.ts +2 -0
- package/dist/cjs-types/common/floorPlan/floorPlan.faces.d.ts +33 -0
- package/dist/cjs-types/common/floorPlan/floorPlan.fixtures.d.ts +35 -0
- package/dist/cjs-types/common/floorPlan/floorPlan.geometry.d.ts +111 -0
- package/dist/cjs-types/common/floorPlan/floorPlan.graph.d.ts +184 -0
- package/dist/cjs-types/common/floorPlan/floorPlan.hit.d.ts +26 -0
- package/dist/cjs-types/common/floorPlan/floorPlan.json.d.ts +23 -0
- package/dist/cjs-types/common/floorPlan/floorPlan.mesh.d.ts +36 -0
- package/dist/cjs-types/common/floorPlan/floorPlan.path.d.ts +59 -0
- package/dist/cjs-types/common/floorPlan/floorPlan.plan.d.ts +98 -0
- package/dist/cjs-types/common/floorPlan/floorPlan.rooms.d.ts +47 -0
- package/dist/cjs-types/common/floorPlan/floorPlan.snap.d.ts +101 -0
- package/dist/cjs-types/common/floorPlan/floorPlan.triangulate.d.ts +11 -0
- package/dist/cjs-types/common/floorPlan/floorPlan.types.d.ts +276 -0
- package/dist/cjs-types/common/floorPlan/index.d.ts +30 -0
- package/dist/cjs-types/common/floorPlan/legacySvg.d.ts +27 -0
- package/dist/cjs-types/common/hooks/useAnchorTracking.d.ts +40 -0
- package/dist/cjs-types/common/hooks/useCoarsePointer.d.ts +3 -0
- package/dist/cjs-types/common/hooks/useFocusBoundary.d.ts +20 -0
- package/dist/cjs-types/common/hooks/useMediaQuery.d.ts +9 -0
- package/dist/cjs-types/common/hooks/useOverlay.d.ts +26 -0
- package/dist/cjs-types/common/hooks/useScrollEdges.d.ts +18 -0
- package/dist/cjs-types/common/hooks/useSheet.d.ts +19 -0
- package/dist/cjs-types/common/hooks/useSwipeDismiss.d.ts +33 -0
- package/dist/cjs-types/common/hooks/useVisualViewportSize.d.ts +13 -0
- package/dist/cjs-types/common/iconPicker/iconPicker.d.ts +3 -0
- package/dist/cjs-types/common/iconPicker/iconPicker.types.d.ts +23 -0
- package/dist/cjs-types/common/iconPicker/index.d.ts +2 -0
- package/dist/cjs-types/common/idleManager/idleManager.d.ts +3 -0
- package/dist/cjs-types/common/idleManager/idleManager.types.d.ts +8 -0
- package/dist/cjs-types/common/idleManager/index.d.ts +2 -0
- package/dist/cjs-types/common/infiniteBlock/useInfiniteScroll.d.ts +5 -0
- package/dist/cjs-types/common/input/index.d.ts +2 -0
- package/dist/cjs-types/common/input/input.d.ts +4 -0
- package/dist/cjs-types/common/input/input.types.d.ts +84 -0
- package/dist/cjs-types/common/inputDropdown/index.d.ts +2 -0
- package/dist/cjs-types/common/inputDropdown/inputDropdown.d.ts +3 -0
- package/dist/cjs-types/common/inputDropdown/inputDropdown.types.d.ts +36 -0
- package/dist/cjs-types/common/interactableDiv/index.d.ts +2 -0
- package/dist/cjs-types/common/interactableDiv/interactableDiv.d.ts +8 -0
- package/dist/cjs-types/common/kanbanBoard/KanbanBoard.d.ts +3 -0
- package/dist/cjs-types/common/kanbanBoard/KanbanColumn.d.ts +45 -0
- package/dist/cjs-types/common/kanbanBoard/KanbanItem.d.ts +3 -0
- package/dist/cjs-types/common/kanbanBoard/index.d.ts +3 -0
- package/dist/cjs-types/common/kanbanBoard/kanbanBoard.types.d.ts +129 -0
- package/dist/cjs-types/common/kanbanBoard/kanbanBoard.utils.d.ts +60 -0
- package/dist/cjs-types/common/klipyPicker/components/gifPreview/gifPreview.d.ts +3 -0
- package/dist/cjs-types/common/klipyPicker/components/gifPreview/gifPreview.types.d.ts +7 -0
- package/dist/cjs-types/common/klipyPicker/components/gifPreview/index.d.ts +1 -0
- package/dist/cjs-types/common/klipyPicker/components/gifView/gifView.d.ts +3 -0
- package/dist/cjs-types/common/klipyPicker/components/gifView/gifView.types.d.ts +4 -0
- package/dist/cjs-types/common/klipyPicker/components/gifView/index.d.ts +1 -0
- package/dist/cjs-types/common/klipyPicker/index.d.ts +2 -0
- package/dist/cjs-types/common/klipyPicker/klipyPicker.d.ts +3 -0
- package/dist/cjs-types/common/klipyPicker/klipyPicker.types.d.ts +15 -0
- package/dist/cjs-types/common/loading/iconLoading/iconLoading.d.ts +5 -0
- package/dist/cjs-types/common/loading/iconLoading/index.d.ts +2 -0
- package/dist/cjs-types/common/loading/index.d.ts +2 -0
- package/dist/cjs-types/common/loading/spinnerLoading/index.d.ts +2 -0
- package/dist/cjs-types/common/loading/spinnerLoading/spinnerLoading.d.ts +6 -0
- package/dist/cjs-types/common/maskedInput/index.d.ts +2 -0
- package/dist/cjs-types/common/maskedInput/mask.d.ts +48 -0
- package/dist/cjs-types/common/maskedInput/maskedInput.d.ts +13 -0
- package/dist/cjs-types/common/maskedInput/maskedInput.types.d.ts +38 -0
- package/dist/cjs-types/common/menu/index.d.ts +2 -0
- package/dist/cjs-types/common/menu/menu.d.ts +14 -0
- package/dist/cjs-types/common/menu/menu.types.d.ts +55 -0
- package/dist/cjs-types/common/modal/index.d.ts +2 -0
- package/dist/cjs-types/common/modal/modal.d.ts +3 -0
- package/dist/cjs-types/common/modal/modal.types.d.ts +31 -0
- package/dist/cjs-types/common/multiSelect/index.d.ts +2 -0
- package/dist/cjs-types/common/multiSelect/multiSelect.d.ts +4 -0
- package/dist/cjs-types/common/multiSelect/multiSelect.types.d.ts +69 -0
- package/dist/cjs-types/common/numberInput/index.d.ts +3 -0
- package/dist/cjs-types/common/numberInput/numberInput.d.ts +5 -0
- package/dist/cjs-types/common/numberInput/numberInput.types.d.ts +76 -0
- package/dist/cjs-types/common/numberInput/useStepRepeat.d.ts +17 -0
- package/dist/cjs-types/common/optionPicker/index.d.ts +2 -0
- package/dist/cjs-types/common/optionPicker/optionPicker.d.ts +4 -0
- package/dist/cjs-types/common/optionPicker/optionPicker.types.d.ts +16 -0
- package/dist/cjs-types/common/otpInput/index.d.ts +2 -0
- package/dist/cjs-types/common/otpInput/otpInput.d.ts +4 -0
- package/dist/cjs-types/common/otpInput/otpInput.types.d.ts +60 -0
- package/dist/cjs-types/common/overscroll/index.d.ts +2 -0
- package/dist/cjs-types/common/overscroll/overscroll.d.ts +2 -0
- package/dist/cjs-types/common/overscroll/overscroll.types.d.ts +14 -0
- package/dist/cjs-types/common/pagination/index.d.ts +2 -0
- package/dist/cjs-types/common/pagination/pagination.d.ts +4 -0
- package/dist/cjs-types/common/pagination/pagination.types.d.ts +45 -0
- package/dist/cjs-types/common/planCanvas/index.d.ts +2 -0
- package/dist/cjs-types/common/planCanvas/planCanvas.d.ts +7 -0
- package/dist/cjs-types/common/planCanvas/planCanvas.types.d.ts +64 -0
- package/dist/cjs-types/common/popover/index.d.ts +2 -0
- package/dist/cjs-types/common/popover/popover.d.ts +3 -0
- package/dist/cjs-types/common/popover/popover.types.d.ts +94 -0
- package/dist/cjs-types/common/popover/usePopoverPosition.d.ts +44 -0
- package/dist/cjs-types/common/progressBar/index.d.ts +2 -0
- package/dist/cjs-types/common/progressBar/progressBar.d.ts +5 -0
- package/dist/cjs-types/common/progressBar/progressBar.types.d.ts +18 -0
- package/dist/cjs-types/common/radioGroup/index.d.ts +2 -0
- package/dist/cjs-types/common/radioGroup/radioGroup.d.ts +4 -0
- package/dist/cjs-types/common/radioGroup/radioGroup.types.d.ts +45 -0
- package/dist/cjs-types/common/rating/index.d.ts +2 -0
- package/dist/cjs-types/common/rating/rating.d.ts +4 -0
- package/dist/cjs-types/common/rating/rating.types.d.ts +19 -0
- package/dist/cjs-types/common/revealLens/index.d.ts +2 -0
- package/dist/cjs-types/common/revealLens/revealLens.d.ts +4 -0
- package/dist/cjs-types/common/revealLens/revealLens.types.d.ts +24 -0
- package/dist/cjs-types/common/ripple/index.d.ts +2 -0
- package/dist/cjs-types/common/ripple/ripple.d.ts +5 -0
- package/dist/cjs-types/common/ripple/ripple.types.d.ts +16 -0
- package/dist/cjs-types/common/roomDrawer/index.d.ts +2 -0
- package/dist/cjs-types/common/roomDrawer/roomDrawer.d.ts +3 -0
- package/dist/cjs-types/common/roomDrawer/roomDrawer.types.d.ts +308 -0
- package/dist/cjs-types/common/roomDrawer/usePlanHistory.d.ts +24 -0
- package/dist/cjs-types/common/roomViewer/index.d.ts +2 -0
- package/dist/cjs-types/common/roomViewer/roomViewer.d.ts +10 -0
- package/dist/cjs-types/common/roomViewer/roomViewer.types.d.ts +91 -0
- package/dist/cjs-types/common/scrollFade/index.d.ts +2 -0
- package/dist/cjs-types/common/scrollFade/scrollFade.d.ts +4 -0
- package/dist/cjs-types/common/scrollFade/scrollFade.types.d.ts +20 -0
- package/dist/cjs-types/common/scrollbarProvider/index.d.ts +2 -0
- package/dist/cjs-types/common/scrollbarProvider/scrollbarProvider.d.ts +7 -0
- package/dist/cjs-types/common/searchInput/index.d.ts +2 -0
- package/dist/cjs-types/common/searchInput/searchInput.d.ts +3 -0
- package/dist/cjs-types/common/searchInput/searchInput.types.d.ts +28 -0
- package/dist/cjs-types/common/sectionHeader/index.d.ts +2 -0
- package/dist/cjs-types/common/sectionHeader/sectionHeader.d.ts +4 -0
- package/dist/cjs-types/common/sectionHeader/sectionHeader.types.d.ts +27 -0
- package/dist/cjs-types/common/sheetBackdrop/index.d.ts +2 -0
- package/dist/cjs-types/common/sheetBackdrop/sheetBackdrop.d.ts +16 -0
- package/dist/cjs-types/common/sheetBackdrop/sheetBackdrop.types.d.ts +7 -0
- package/dist/cjs-types/common/skeleton/index.d.ts +2 -0
- package/dist/cjs-types/common/skeleton/skeleton.d.ts +4 -0
- package/dist/cjs-types/common/skeleton/skeleton.types.d.ts +22 -0
- package/dist/cjs-types/common/slider/index.d.ts +2 -0
- package/dist/cjs-types/common/slider/slider.d.ts +3 -0
- package/dist/cjs-types/common/slider/slider.types.d.ts +68 -0
- package/dist/cjs-types/common/splitButton/index.d.ts +2 -0
- package/dist/cjs-types/common/splitButton/splitButton.d.ts +3 -0
- package/dist/cjs-types/common/splitButton/splitButton.types.d.ts +35 -0
- package/dist/cjs-types/common/stepper/index.d.ts +2 -0
- package/dist/cjs-types/common/stepper/stepper.d.ts +3 -0
- package/dist/cjs-types/common/stepper/stepper.types.d.ts +77 -0
- package/dist/cjs-types/common/sticky/index.d.ts +1 -0
- package/dist/cjs-types/common/sticky/sticky.d.ts +3 -0
- package/dist/cjs-types/common/sticky/sticky.types.d.ts +22 -0
- package/dist/cjs-types/common/sticky/stickyStack.d.ts +46 -0
- package/dist/cjs-types/common/switch/index.d.ts +2 -0
- package/dist/cjs-types/common/switch/switch.d.ts +4 -0
- package/dist/cjs-types/common/switch/switch.types.d.ts +21 -0
- package/dist/cjs-types/common/tabHeader/index.d.ts +2 -0
- package/dist/cjs-types/common/tabHeader/tabHeader.d.ts +4 -0
- package/dist/cjs-types/common/tabHeader/tabHeader.types.d.ts +20 -0
- package/dist/cjs-types/common/textarea/index.d.ts +2 -0
- package/dist/cjs-types/common/textarea/textarea.d.ts +3 -0
- package/dist/cjs-types/common/textarea/textarea.types.d.ts +2 -0
- package/dist/cjs-types/common/themeProvider/defaultTheme.d.ts +7 -0
- package/dist/cjs-types/common/themeProvider/index.d.ts +4 -0
- package/dist/cjs-types/common/themeProvider/lightTheme.d.ts +13 -0
- package/dist/cjs-types/common/themeProvider/theme.types.d.ts +272 -0
- package/dist/cjs-types/common/themeProvider/themeProvider.d.ts +38 -0
- package/dist/cjs-types/common/themeProvider/themeVariablesContext.d.ts +11 -0
- package/dist/cjs-types/common/themeProvider/useTheme.d.ts +4 -0
- package/dist/cjs-types/common/tilt/index.d.ts +4 -0
- package/dist/cjs-types/common/tilt/tilt.d.ts +3 -0
- package/dist/cjs-types/common/tilt/tilt.types.d.ts +40 -0
- package/dist/cjs-types/common/tilt/tiltMath.d.ts +24 -0
- package/dist/cjs-types/common/tiltGroup/index.d.ts +3 -0
- package/dist/cjs-types/common/tiltGroup/tiltGroup.d.ts +6 -0
- package/dist/cjs-types/common/tiltGroup/tiltGroup.types.d.ts +16 -0
- package/dist/cjs-types/common/timeInput/components/clockDial/clockDial.d.ts +3 -0
- package/dist/cjs-types/common/timeInput/components/clockDial/clockDial.types.d.ts +24 -0
- package/dist/cjs-types/common/timeInput/components/clockDial/index.d.ts +1 -0
- package/dist/cjs-types/common/timeInput/index.d.ts +1 -0
- package/dist/cjs-types/common/timeInput/timeFunctions.d.ts +36 -0
- package/dist/cjs-types/common/timeInput/timeInput.d.ts +3 -0
- package/dist/cjs-types/common/timeInput/timeInput.types.d.ts +44 -0
- package/dist/cjs-types/common/timeline/index.d.ts +2 -0
- package/dist/cjs-types/common/timeline/timeline.d.ts +3 -0
- package/dist/cjs-types/common/timeline/timeline.types.d.ts +51 -0
- package/dist/cjs-types/common/timer/index.d.ts +2 -0
- package/dist/cjs-types/common/timer/timer.chime.d.ts +1 -0
- package/dist/cjs-types/common/timer/timer.d.ts +3 -0
- package/dist/cjs-types/common/timer/timer.types.d.ts +110 -0
- package/dist/cjs-types/common/toast/index.d.ts +3 -0
- package/dist/cjs-types/common/toast/toast.d.ts +11 -0
- package/dist/cjs-types/common/toast/toast.types.d.ts +50 -0
- package/dist/cjs-types/common/toast/toastProvider.d.ts +8 -0
- package/dist/cjs-types/common/toast/toastService.d.ts +7 -0
- package/dist/cjs-types/common/tooltip/index.d.ts +2 -0
- package/dist/cjs-types/common/tooltip/tooltip.d.ts +3 -0
- package/dist/cjs-types/common/tooltip/tooltip.types.d.ts +17 -0
- package/dist/cjs-types/common/tree/flattenTree.d.ts +3 -0
- package/dist/cjs-types/common/tree/index.d.ts +3 -0
- package/dist/cjs-types/common/tree/tree.d.ts +4 -0
- package/dist/cjs-types/common/tree/tree.types.d.ts +67 -0
- package/dist/cjs-types/common/types/actions.types.d.ts +7 -0
- package/dist/cjs-types/common/types/baseProps.types.d.ts +29 -0
- package/dist/cjs-types/common/types/icon.types.d.ts +17 -0
- package/dist/cjs-types/common/types/slots.types.d.ts +4 -0
- package/dist/cjs-types/common/utils/activationKey.d.ts +9 -0
- package/dist/cjs-types/common/utils/interactiveTarget.d.ts +7 -0
- package/dist/cjs-types/common/utils/listNavigation.d.ts +49 -0
- package/dist/cjs-types/common/utils/mergeRefs.d.ts +12 -0
- package/dist/cjs-types/common/utils/renderIcon.d.ts +29 -0
- package/dist/cjs-types/common/utils/scrollAncestors.d.ts +2 -0
- package/dist/cjs-types/common/utils/visualViewport.d.ts +7 -0
- package/dist/cjs-types/common/virtualList/index.d.ts +2 -0
- package/dist/cjs-types/common/virtualList/useColumnResize.d.ts +59 -0
- package/dist/cjs-types/common/virtualList/useColumns.d.ts +52 -0
- package/dist/cjs-types/common/virtualList/useHeaderNavigation.d.ts +22 -0
- package/dist/cjs-types/common/virtualList/useRowDrag.d.ts +58 -0
- package/dist/cjs-types/common/virtualList/useRowNavigation.d.ts +50 -0
- package/dist/cjs-types/common/virtualList/useSelection.d.ts +24 -0
- package/dist/cjs-types/common/virtualList/useSorting.d.ts +26 -0
- package/dist/cjs-types/common/virtualList/useVirtualWindow.d.ts +36 -0
- package/dist/cjs-types/common/virtualList/virtualList.d.ts +5 -0
- package/dist/cjs-types/common/virtualList/virtualList.types.d.ts +317 -0
- package/dist/cjs-types/common/virtualList/virtualList.utils.d.ts +126 -0
- package/dist/cjs-types/common/virtualList/virtualListHeader.d.ts +35 -0
- package/dist/cjs-types/common/virtualList/virtualRow.d.ts +62 -0
- package/dist/cjs-types/common/wizard/index.d.ts +1 -0
- package/dist/cjs-types/common/wizard/wizard.d.ts +3 -0
- package/dist/cjs-types/common/wizard/wizard.types.d.ts +12 -0
- package/dist/cjs-types/hooks/useWindowSize.d.ts +6 -0
- package/dist/cjs-types/index.d.ts +154 -0
- package/dist/cjs-types/package.json +3 -0
- package/dist/cjs-types/services/formValidation/FormValidatorGroupWithForm.d.ts +18 -0
- package/dist/cjs-types/services/formValidation/index.d.ts +5 -0
- package/dist/cjs-types/services/formValidation/useFormValidatorGroup.d.ts +10 -0
- package/dist/cjs-types/services/formValidation/validatableComponent.d.ts +36 -0
- package/dist/cjs-types/services/klipy.d.ts +36 -0
- package/dist/cjs-types/services/localization.d.ts +3 -0
- package/dist/esm/common/carousel/carousel.mjs +1 -1
- package/dist/esm/common/carousel/carousel.mjs.map +1 -1
- package/dist/esm/common/carousel/carousel.module.mjs.map +1 -1
- package/dist/esm/common/confirmModal/confirmModal.mjs +1 -1
- package/dist/esm/common/confirmModal/confirmModal.mjs.map +1 -1
- package/dist/esm/common/datePicker/datePicker.mjs +1 -1
- package/dist/esm/common/datePicker/datePicker.mjs.map +1 -1
- package/dist/esm/common/drawer/drawer.module.mjs.map +1 -1
- package/dist/esm/common/dropdown/dropdown.mjs +1 -1
- package/dist/esm/common/dropdown/dropdown.mjs.map +1 -1
- package/dist/esm/common/dropdown/dropdown.module.mjs +1 -1
- package/dist/esm/common/dropdown/dropdown.module.mjs.map +1 -1
- package/dist/esm/common/hooks/useScrollEdges.mjs +2 -0
- package/dist/esm/common/hooks/useScrollEdges.mjs.map +1 -0
- package/dist/esm/common/infiniteBlock/useInfiniteScroll.mjs +2 -0
- package/dist/esm/common/infiniteBlock/useInfiniteScroll.mjs.map +1 -0
- package/dist/esm/common/inputDropdown/inputDropdown.mjs +1 -1
- package/dist/esm/common/inputDropdown/inputDropdown.mjs.map +1 -1
- package/dist/esm/common/interactableDiv/interactableDiv.mjs +1 -1
- package/dist/esm/common/interactableDiv/interactableDiv.mjs.map +1 -1
- package/dist/esm/common/klipyPicker/components/gifPreview/gifPreview.module.mjs.map +1 -1
- package/dist/esm/common/klipyPicker/components/gifView/gifView.module.mjs.map +1 -1
- package/dist/esm/common/maskedInput/mask.mjs +2 -0
- package/dist/esm/common/maskedInput/mask.mjs.map +1 -0
- package/dist/esm/common/maskedInput/maskedInput.mjs +2 -0
- package/dist/esm/common/maskedInput/maskedInput.mjs.map +1 -0
- package/dist/esm/common/modal/modal.mjs +1 -1
- package/dist/esm/common/modal/modal.mjs.map +1 -1
- package/dist/esm/common/modal/modal.module.mjs +1 -1
- package/dist/esm/common/modal/modal.module.mjs.map +1 -1
- package/dist/esm/common/multiSelect/multiSelect.mjs +1 -1
- package/dist/esm/common/multiSelect/multiSelect.mjs.map +1 -1
- package/dist/esm/common/radioGroup/radioGroup.types.mjs.map +1 -1
- package/dist/esm/common/rating/rating.module.mjs.map +1 -1
- package/dist/esm/common/ripple/ripple.mjs +1 -1
- package/dist/esm/common/ripple/ripple.mjs.map +1 -1
- package/dist/esm/common/scrollFade/scrollFade.mjs +2 -0
- package/dist/esm/common/scrollFade/scrollFade.mjs.map +1 -0
- package/dist/esm/common/scrollFade/scrollFade.module.mjs +2 -0
- package/dist/esm/common/scrollFade/scrollFade.module.mjs.map +1 -0
- package/dist/esm/common/scrollFade/scrollFade.types.mjs +2 -0
- package/dist/esm/common/scrollFade/scrollFade.types.mjs.map +1 -0
- package/dist/esm/common/styles/scrollFade.module.mjs +2 -0
- package/dist/esm/common/styles/scrollFade.module.mjs.map +1 -0
- package/dist/esm/common/styles/sheet.module.mjs.map +1 -1
- package/dist/esm/common/timeInput/timeInput.mjs +1 -1
- package/dist/esm/common/timeInput/timeInput.mjs.map +1 -1
- package/dist/esm/common/utils/interactiveTarget.mjs +2 -0
- package/dist/esm/common/utils/interactiveTarget.mjs.map +1 -0
- package/dist/esm/common/utils/listNavigation.mjs +2 -0
- package/dist/esm/common/utils/listNavigation.mjs.map +1 -0
- package/dist/esm/common/wizard/wizard.module.mjs.map +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/og.png +0 -0
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/mcp.js +341 -56
- package/dist/og.png +0 -0
- package/dist/style.css +1 -1
- package/dist/types/common/accordion/accordion.d.ts +1 -1
- package/dist/types/common/accordion/accordion.types.d.ts +1 -1
- package/dist/types/common/accordion/index.d.ts +2 -2
- package/dist/types/common/actionButtons/actionButtons.d.ts +1 -1
- package/dist/types/common/actionButtons/actionButtons.types.d.ts +3 -3
- package/dist/types/common/actionButtons/index.d.ts +2 -2
- package/dist/types/common/actionIcon/actionIcon.d.ts +1 -1
- package/dist/types/common/actionIcon/actionIcon.types.d.ts +2 -2
- package/dist/types/common/actionIcon/index.d.ts +2 -2
- package/dist/types/common/alert/alert.d.ts +1 -1
- package/dist/types/common/alert/alert.types.d.ts +2 -2
- package/dist/types/common/alert/index.d.ts +2 -2
- package/dist/types/common/animatedIcon/animatedIcon.d.ts +1 -1
- package/dist/types/common/animatedIcon/animatedIcon.types.d.ts +1 -1
- package/dist/types/common/animatedIcon/index.d.ts +2 -2
- package/dist/types/common/animatedLogo/animatedLogo.d.ts +1 -1
- package/dist/types/common/animatedLogo/animatedLogo.types.d.ts +1 -1
- package/dist/types/common/animatedLogo/index.d.ts +2 -2
- package/dist/types/common/animatedText/animatedText.d.ts +1 -1
- package/dist/types/common/animatedText/animatedText.types.d.ts +1 -1
- package/dist/types/common/animatedText/index.d.ts +2 -2
- package/dist/types/common/avatar/avatar.d.ts +1 -1
- package/dist/types/common/avatar/avatar.types.d.ts +2 -2
- package/dist/types/common/avatar/avatarGroup.d.ts +1 -1
- package/dist/types/common/avatar/index.d.ts +3 -3
- package/dist/types/common/badge/badge.d.ts +1 -1
- package/dist/types/common/badge/badge.types.d.ts +1 -1
- package/dist/types/common/badge/index.d.ts +2 -2
- package/dist/types/common/bodyEnd/bodyEnd.d.ts +1 -1
- package/dist/types/common/bodyEnd/index.d.ts +2 -2
- package/dist/types/common/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/types/common/breadcrumb/breadcrumb.types.d.ts +2 -2
- package/dist/types/common/breadcrumb/index.d.ts +2 -2
- package/dist/types/common/button/button.d.ts +1 -1
- package/dist/types/common/button/button.types.d.ts +2 -2
- package/dist/types/common/button/index.d.ts +2 -2
- package/dist/types/common/buttonGroup/buttonGroup.d.ts +1 -1
- package/dist/types/common/buttonGroup/buttonGroup.types.d.ts +1 -1
- package/dist/types/common/buttonGroup/index.d.ts +2 -2
- package/dist/types/common/card/Card.d.ts +1 -1
- package/dist/types/common/card/CardActions.d.ts +1 -1
- package/dist/types/common/card/CardContent.d.ts +1 -1
- package/dist/types/common/card/CardHeader.d.ts +1 -1
- package/dist/types/common/card/CardMedia.d.ts +1 -1
- package/dist/types/common/card/card.types.d.ts +3 -3
- package/dist/types/common/card/index.d.ts +6 -6
- package/dist/types/common/carousel/carousel.d.ts +1 -1
- package/dist/types/common/carousel/carousel.types.d.ts +1 -1
- package/dist/types/common/carousel/index.d.ts +2 -2
- package/dist/types/common/checkbox/checkbox.d.ts +1 -1
- package/dist/types/common/checkbox/checkbox.types.d.ts +2 -2
- package/dist/types/common/checkbox/index.d.ts +2 -2
- package/dist/types/common/chip/chip.d.ts +1 -1
- package/dist/types/common/chip/chip.types.d.ts +1 -1
- package/dist/types/common/chip/chipContainer.d.ts +1 -1
- package/dist/types/common/chip/index.d.ts +3 -3
- package/dist/types/common/colorPicker/colorPicker.d.ts +1 -1
- package/dist/types/common/colorPicker/colorPicker.types.d.ts +1 -1
- package/dist/types/common/colorPicker/index.d.ts +2 -2
- package/dist/types/common/configProvider/configProvider.d.ts +2 -2
- package/dist/types/common/configProvider/configProvider.types.d.ts +44 -44
- package/dist/types/common/configProvider/index.d.ts +6 -6
- package/dist/types/common/configProvider/useComponentDefaults.d.ts +1 -1
- package/dist/types/common/configProvider/useLabels.d.ts +1 -1
- package/dist/types/common/configProvider/usePresentationDefault.d.ts +1 -1
- package/dist/types/common/confirmModal/confirmModal.d.ts +1 -1
- package/dist/types/common/confirmModal/confirmModal.types.d.ts +2 -2
- package/dist/types/common/confirmModal/index.d.ts +2 -2
- package/dist/types/common/datePicker/components/datePickerMonth/datePickerMonth.d.ts +1 -1
- package/dist/types/common/datePicker/components/datePickerMonth/index.d.ts +1 -1
- package/dist/types/common/datePicker/datePicker.d.ts +1 -1
- package/dist/types/common/datePicker/datePicker.types.d.ts +2 -2
- package/dist/types/common/datePicker/index.d.ts +2 -2
- package/dist/types/common/divider/divider.d.ts +1 -1
- package/dist/types/common/divider/divider.types.d.ts +1 -1
- package/dist/types/common/divider/index.d.ts +2 -2
- package/dist/types/common/drawer/drawer.d.ts +1 -1
- package/dist/types/common/drawer/drawer.types.d.ts +1 -1
- package/dist/types/common/drawer/index.d.ts +2 -2
- package/dist/types/common/dropZone/dropZone.d.ts +1 -1
- package/dist/types/common/dropZone/dropZone.types.d.ts +1 -1
- package/dist/types/common/dropZone/index.d.ts +2 -2
- package/dist/types/common/dropdown/dropdown.d.ts +1 -1
- package/dist/types/common/dropdown/dropdown.types.d.ts +3 -3
- package/dist/types/common/dropdown/index.d.ts +2 -2
- package/dist/types/common/emptyState/emptyState.d.ts +1 -1
- package/dist/types/common/emptyState/emptyState.types.d.ts +2 -2
- package/dist/types/common/emptyState/index.d.ts +2 -2
- package/dist/types/common/errorBoundary/errorBoundary.d.ts +1 -1
- package/dist/types/common/errorBoundary/errorBoundary.types.d.ts +1 -1
- package/dist/types/common/errorBoundary/index.d.ts +2 -2
- package/dist/types/common/fab/components/fabBase/fabBase.d.ts +1 -1
- package/dist/types/common/fab/components/fabBase/fabBase.types.d.ts +1 -1
- package/dist/types/common/fab/components/fabBase/index.d.ts +1 -1
- package/dist/types/common/fab/fab.d.ts +1 -1
- package/dist/types/common/fab/fab.types.d.ts +2 -2
- package/dist/types/common/fab/index.d.ts +2 -2
- package/dist/types/common/flip/flip.d.ts +1 -1
- package/dist/types/common/flip/flip.types.d.ts +1 -1
- package/dist/types/common/flip/index.d.ts +2 -2
- package/dist/types/common/floorPlan/floorPlan.faces.d.ts +2 -2
- package/dist/types/common/floorPlan/floorPlan.fixtures.d.ts +1 -1
- package/dist/types/common/floorPlan/floorPlan.geometry.d.ts +1 -1
- package/dist/types/common/floorPlan/floorPlan.graph.d.ts +1 -1
- package/dist/types/common/floorPlan/floorPlan.hit.d.ts +1 -1
- package/dist/types/common/floorPlan/floorPlan.json.d.ts +1 -1
- package/dist/types/common/floorPlan/floorPlan.mesh.d.ts +1 -1
- package/dist/types/common/floorPlan/floorPlan.path.d.ts +1 -1
- package/dist/types/common/floorPlan/floorPlan.plan.d.ts +1 -1
- package/dist/types/common/floorPlan/floorPlan.rooms.d.ts +1 -1
- package/dist/types/common/floorPlan/floorPlan.snap.d.ts +1 -1
- package/dist/types/common/floorPlan/floorPlan.triangulate.d.ts +1 -1
- package/dist/types/common/floorPlan/index.d.ts +22 -22
- package/dist/types/common/floorPlan/legacySvg.d.ts +2 -2
- package/dist/types/common/hooks/useScrollEdges.d.ts +18 -0
- package/dist/types/common/hooks/useSheet.d.ts +1 -1
- package/dist/types/common/iconPicker/iconPicker.d.ts +1 -1
- package/dist/types/common/iconPicker/iconPicker.types.d.ts +2 -2
- package/dist/types/common/iconPicker/index.d.ts +2 -1
- package/dist/types/common/idleManager/idleManager.d.ts +1 -1
- package/dist/types/common/idleManager/index.d.ts +2 -1
- package/dist/types/common/infiniteBlock/useInfiniteScroll.d.ts +5 -0
- package/dist/types/common/input/index.d.ts +2 -2
- package/dist/types/common/input/input.d.ts +1 -1
- package/dist/types/common/input/input.types.d.ts +2 -2
- package/dist/types/common/inputDropdown/index.d.ts +2 -1
- package/dist/types/common/inputDropdown/inputDropdown.d.ts +1 -1
- package/dist/types/common/inputDropdown/inputDropdown.types.d.ts +2 -2
- package/dist/types/common/interactableDiv/index.d.ts +1 -1
- package/dist/types/common/interactableDiv/interactableDiv.d.ts +1 -1
- package/dist/types/common/kanbanBoard/KanbanBoard.d.ts +1 -1
- package/dist/types/common/kanbanBoard/KanbanColumn.d.ts +1 -1
- package/dist/types/common/kanbanBoard/KanbanItem.d.ts +1 -1
- package/dist/types/common/kanbanBoard/index.d.ts +3 -3
- package/dist/types/common/kanbanBoard/kanbanBoard.types.d.ts +1 -1
- package/dist/types/common/kanbanBoard/kanbanBoard.utils.d.ts +1 -1
- package/dist/types/common/klipyPicker/components/gifPreview/gifPreview.d.ts +1 -1
- package/dist/types/common/klipyPicker/components/gifPreview/gifPreview.types.d.ts +1 -1
- package/dist/types/common/klipyPicker/components/gifPreview/index.d.ts +1 -1
- package/dist/types/common/klipyPicker/components/gifView/gifView.d.ts +1 -1
- package/dist/types/common/klipyPicker/components/gifView/index.d.ts +1 -1
- package/dist/types/common/klipyPicker/index.d.ts +2 -2
- package/dist/types/common/klipyPicker/klipyPicker.d.ts +1 -1
- package/dist/types/common/klipyPicker/klipyPicker.types.d.ts +1 -1
- package/dist/types/common/loading/index.d.ts +2 -2
- package/dist/types/common/loading/spinnerLoading/index.d.ts +1 -1
- package/dist/types/common/maskedInput/index.d.ts +2 -0
- package/dist/types/common/maskedInput/mask.d.ts +48 -0
- package/dist/types/common/maskedInput/maskedInput.d.ts +13 -0
- package/dist/types/common/maskedInput/maskedInput.types.d.ts +38 -0
- package/dist/types/common/menu/index.d.ts +2 -2
- package/dist/types/common/menu/menu.d.ts +1 -1
- package/dist/types/common/menu/menu.types.d.ts +4 -4
- package/dist/types/common/modal/index.d.ts +2 -2
- package/dist/types/common/modal/modal.d.ts +1 -1
- package/dist/types/common/modal/modal.types.d.ts +6 -3
- package/dist/types/common/multiSelect/index.d.ts +2 -2
- package/dist/types/common/multiSelect/multiSelect.d.ts +1 -1
- package/dist/types/common/multiSelect/multiSelect.types.d.ts +3 -3
- package/dist/types/common/numberInput/index.d.ts +2 -2
- package/dist/types/common/numberInput/numberInput.d.ts +2 -2
- package/dist/types/common/numberInput/numberInput.types.d.ts +2 -2
- package/dist/types/common/optionPicker/index.d.ts +2 -2
- package/dist/types/common/optionPicker/optionPicker.d.ts +1 -1
- package/dist/types/common/optionPicker/optionPicker.types.d.ts +1 -1
- package/dist/types/common/otpInput/index.d.ts +2 -2
- package/dist/types/common/otpInput/otpInput.d.ts +1 -1
- package/dist/types/common/otpInput/otpInput.types.d.ts +2 -2
- package/dist/types/common/overscroll/index.d.ts +2 -2
- package/dist/types/common/overscroll/overscroll.d.ts +1 -1
- package/dist/types/common/pagination/index.d.ts +2 -2
- package/dist/types/common/pagination/pagination.d.ts +1 -1
- package/dist/types/common/pagination/pagination.types.d.ts +2 -2
- package/dist/types/common/planCanvas/index.d.ts +2 -2
- package/dist/types/common/planCanvas/planCanvas.d.ts +1 -1
- package/dist/types/common/planCanvas/planCanvas.types.d.ts +2 -2
- package/dist/types/common/popover/index.d.ts +2 -2
- package/dist/types/common/popover/popover.d.ts +1 -1
- package/dist/types/common/popover/popover.types.d.ts +2 -2
- package/dist/types/common/popover/usePopoverPosition.d.ts +1 -1
- package/dist/types/common/progressBar/index.d.ts +2 -2
- package/dist/types/common/progressBar/progressBar.d.ts +1 -1
- package/dist/types/common/progressBar/progressBar.types.d.ts +1 -1
- package/dist/types/common/radioGroup/index.d.ts +2 -2
- package/dist/types/common/radioGroup/radioGroup.d.ts +1 -1
- package/dist/types/common/radioGroup/radioGroup.types.d.ts +3 -3
- package/dist/types/common/rating/index.d.ts +2 -2
- package/dist/types/common/rating/rating.d.ts +1 -1
- package/dist/types/common/rating/rating.types.d.ts +2 -2
- package/dist/types/common/revealLens/index.d.ts +2 -2
- package/dist/types/common/revealLens/revealLens.d.ts +1 -1
- package/dist/types/common/revealLens/revealLens.types.d.ts +1 -1
- package/dist/types/common/ripple/index.d.ts +2 -2
- package/dist/types/common/ripple/ripple.d.ts +1 -1
- package/dist/types/common/ripple/ripple.types.d.ts +1 -1
- package/dist/types/common/roomDrawer/index.d.ts +2 -2
- package/dist/types/common/roomDrawer/roomDrawer.d.ts +1 -1
- package/dist/types/common/roomDrawer/roomDrawer.types.d.ts +3 -3
- package/dist/types/common/roomDrawer/usePlanHistory.d.ts +2 -2
- package/dist/types/common/roomViewer/index.d.ts +2 -2
- package/dist/types/common/roomViewer/roomViewer.d.ts +1 -1
- package/dist/types/common/roomViewer/roomViewer.types.d.ts +3 -3
- package/dist/types/common/scrollFade/index.d.ts +2 -0
- package/dist/types/common/scrollFade/scrollFade.d.ts +4 -0
- package/dist/types/common/scrollFade/scrollFade.types.d.ts +20 -0
- package/dist/types/common/scrollbarProvider/index.d.ts +1 -1
- package/dist/types/common/searchInput/index.d.ts +2 -2
- package/dist/types/common/searchInput/searchInput.d.ts +1 -1
- package/dist/types/common/searchInput/searchInput.types.d.ts +1 -1
- package/dist/types/common/sectionHeader/index.d.ts +2 -2
- package/dist/types/common/sectionHeader/sectionHeader.d.ts +1 -1
- package/dist/types/common/sectionHeader/sectionHeader.types.d.ts +3 -3
- package/dist/types/common/sheetBackdrop/index.d.ts +2 -2
- package/dist/types/common/sheetBackdrop/sheetBackdrop.d.ts +1 -1
- package/dist/types/common/skeleton/index.d.ts +2 -2
- package/dist/types/common/skeleton/skeleton.d.ts +1 -1
- package/dist/types/common/skeleton/skeleton.types.d.ts +1 -1
- package/dist/types/common/slider/index.d.ts +2 -2
- package/dist/types/common/slider/slider.d.ts +1 -1
- package/dist/types/common/slider/slider.types.d.ts +2 -2
- package/dist/types/common/splitButton/index.d.ts +2 -2
- package/dist/types/common/splitButton/splitButton.d.ts +1 -1
- package/dist/types/common/splitButton/splitButton.types.d.ts +4 -4
- package/dist/types/common/stepper/index.d.ts +2 -2
- package/dist/types/common/stepper/stepper.d.ts +1 -1
- package/dist/types/common/stepper/stepper.types.d.ts +2 -2
- package/dist/types/common/sticky/index.d.ts +1 -1
- package/dist/types/common/sticky/sticky.d.ts +1 -1
- package/dist/types/common/sticky/sticky.types.d.ts +1 -1
- package/dist/types/common/switch/index.d.ts +2 -2
- package/dist/types/common/switch/switch.d.ts +1 -1
- package/dist/types/common/switch/switch.types.d.ts +2 -2
- package/dist/types/common/tabHeader/index.d.ts +2 -2
- package/dist/types/common/tabHeader/tabHeader.d.ts +1 -1
- package/dist/types/common/tabHeader/tabHeader.types.d.ts +2 -2
- package/dist/types/common/textarea/index.d.ts +2 -2
- package/dist/types/common/textarea/textarea.d.ts +1 -1
- package/dist/types/common/textarea/textarea.types.d.ts +1 -1
- package/dist/types/common/themeProvider/defaultTheme.d.ts +1 -1
- package/dist/types/common/themeProvider/index.d.ts +4 -4
- package/dist/types/common/themeProvider/lightTheme.d.ts +1 -1
- package/dist/types/common/themeProvider/theme.types.d.ts +28 -0
- package/dist/types/common/themeProvider/themeProvider.d.ts +1 -1
- package/dist/types/common/tilt/index.d.ts +4 -4
- package/dist/types/common/tilt/tilt.d.ts +1 -1
- package/dist/types/common/tilt/tilt.types.d.ts +2 -2
- package/dist/types/common/tiltGroup/index.d.ts +3 -3
- package/dist/types/common/tiltGroup/tiltGroup.d.ts +1 -1
- package/dist/types/common/tiltGroup/tiltGroup.types.d.ts +1 -1
- package/dist/types/common/timeInput/components/clockDial/clockDial.d.ts +1 -1
- package/dist/types/common/timeInput/components/clockDial/clockDial.types.d.ts +3 -3
- package/dist/types/common/timeInput/components/clockDial/index.d.ts +1 -1
- package/dist/types/common/timeInput/index.d.ts +1 -1
- package/dist/types/common/timeInput/timeInput.d.ts +1 -1
- package/dist/types/common/timeInput/timeInput.types.d.ts +2 -2
- package/dist/types/common/timeline/index.d.ts +2 -2
- package/dist/types/common/timeline/timeline.d.ts +1 -1
- package/dist/types/common/timeline/timeline.types.d.ts +2 -2
- package/dist/types/common/timer/index.d.ts +2 -2
- package/dist/types/common/timer/timer.d.ts +1 -1
- package/dist/types/common/timer/timer.types.d.ts +2 -2
- package/dist/types/common/toast/index.d.ts +3 -3
- package/dist/types/common/toast/toast.d.ts +1 -1
- package/dist/types/common/toast/toast.types.d.ts +1 -1
- package/dist/types/common/toast/toastProvider.d.ts +1 -1
- package/dist/types/common/toast/toastService.d.ts +1 -1
- package/dist/types/common/tooltip/index.d.ts +2 -2
- package/dist/types/common/tooltip/tooltip.d.ts +1 -1
- package/dist/types/common/tree/flattenTree.d.ts +1 -1
- package/dist/types/common/tree/index.d.ts +3 -3
- package/dist/types/common/tree/tree.d.ts +1 -1
- package/dist/types/common/tree/tree.types.d.ts +2 -2
- package/dist/types/common/types/actions.types.d.ts +1 -1
- package/dist/types/common/types/slots.types.d.ts +1 -1
- package/dist/types/common/utils/interactiveTarget.d.ts +7 -0
- package/dist/types/common/utils/listNavigation.d.ts +49 -0
- package/dist/types/common/utils/renderIcon.d.ts +1 -1
- package/dist/types/common/virtualList/index.d.ts +2 -2
- package/dist/types/common/virtualList/useColumnResize.d.ts +1 -1
- package/dist/types/common/virtualList/useColumns.d.ts +1 -1
- package/dist/types/common/virtualList/useRowDrag.d.ts +1 -1
- package/dist/types/common/virtualList/useRowNavigation.d.ts +1 -1
- package/dist/types/common/virtualList/useSorting.d.ts +1 -1
- package/dist/types/common/virtualList/useVirtualWindow.d.ts +1 -1
- package/dist/types/common/virtualList/virtualList.d.ts +2 -2
- package/dist/types/common/virtualList/virtualList.types.d.ts +1 -1
- package/dist/types/common/virtualList/virtualList.utils.d.ts +1 -1
- package/dist/types/common/virtualList/virtualListHeader.d.ts +4 -4
- package/dist/types/common/virtualList/virtualRow.d.ts +1 -1
- package/dist/types/common/wizard/index.d.ts +1 -1
- package/dist/types/common/wizard/wizard.d.ts +1 -1
- package/dist/types/common/wizard/wizard.types.d.ts +1 -1
- package/dist/types/index.d.ts +153 -153
- package/dist/types/services/formValidation/index.d.ts +3 -3
- package/dist/types/services/formValidation/useFormValidatorGroup.d.ts +1 -1
- package/docs/ActionIcon.md +2 -0
- package/docs/CLAUDE.md +123 -230
- package/docs/Card.md +1 -1
- package/docs/Divider.md +2 -0
- package/docs/Dropdown.md +20 -0
- package/docs/IdleManager.md +38 -8
- package/docs/InputDropdown.md +11 -0
- package/docs/InteractableDiv.md +7 -1
- package/docs/KlipyPicker.md +1 -1
- package/docs/Loading.md +3 -1
- package/docs/Menu.md +2 -0
- package/docs/Modal.md +34 -10
- package/docs/MultiSelect.md +2 -2
- package/docs/Pagination.md +1 -1
- package/docs/Popover.md +2 -0
- package/docs/RadioGroup.md +1 -1
- package/docs/Rating.md +2 -0
- package/docs/Ripple.md +3 -0
- package/docs/RoomViewer.md +3 -5
- package/docs/ScrollFade.md +77 -0
- package/docs/ScrollbarProvider.md +2 -0
- package/docs/Slider.md +1 -1
- package/docs/Timer.md +1 -1
- package/docs/Wizard.md +1 -1
- package/package.json +33 -11
- package/dist/esm/common/infiniteBlock/infiniteBlock.mjs +0 -2
- package/dist/esm/common/infiniteBlock/infiniteBlock.mjs.map +0 -1
- package/dist/esm/common/infiniteBlock/infiniteBlock.module.mjs +0 -2
- package/dist/esm/common/infiniteBlock/infiniteBlock.module.mjs.map +0 -1
- package/dist/types/common/infiniteBlock/index.d.ts +0 -1
- package/dist/types/common/infiniteBlock/infiniteBlock.d.ts +0 -4
- package/dist/types/common/infiniteBlock/infiniteBlock.types.d.ts +0 -13
- package/docs/Icon.md +0 -27
- package/docs/InfiniteBlock.md +0 -23
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DEFAULT_CHIME_DATA_URI = "data:audio/wav;base64,UklGRkYeAABXQVZFZm10IBAAAAABAAEAESsAACJWAAACABAAZGF0YSIeAAAAAAkAIAA4AEQANwAPANH/jv9b/07/cf/F/zkAsAAJAScB+QCCANv/K/+h/mX+j/4d//P/3QChAQkC8QFZAV0AOP80/pb9i/0g/jj/kgDaAbsC9gJzAkwBwv82/gz9k/zz/Bz+y/+ZARMD1QOoA44CxQC6/u782PvD+778kv7SAO8CYQTGBPwDLALE/1j9hfvD+kz7Bf2J/zwCcgSbBWUF1QNGAVX+v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XO8gP3AADlCOwM+AmxAZn4k/NH9bf81gW6C0ELvwTE+yj1cvTx+aACzQmiCzMH9f5f94H02PeE/1sHJwvsCO4B//lh9YX2u/ydBOwJ1wl8BMv87fYA9nT60QEbCPYJdAaJ//f4QvbQ+C7/5QVaCb8HBAJK+zH33/fm/IIDIghVCBEEsf2o+KP3HPslAXcGPAiRBff/e/oM+On5AP+IBIoHdQbyAXr8//hU+Tj9hgJgBr0GfwN0/lb6Vvnq+58A5QR2BosEPgDp+9z5Ivv5/kYDuQUQBbcBiv3H+t/6sv2tAagEEwXIAhL/9fsW+9v8PwBoA6kEZQNeAD39rvt3/Bv/IQLsA5EDVgF6/of8f/xS/vcA/gJaA+0Biv+A/eD87f0HAAMC1wIhAlUAdf5+/ef9ZP8cASUC/QHNAEb/O/4w/hf/ZwBlAZUB7wDb//X+sP4f//b/uAAEAcEAJQCO/0r/bv/U/zkAaQBXAB8A7v/f/+7/";
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode, Ref } from 'react';
|
|
2
|
+
import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types.js';
|
|
3
|
+
export type TimerSlots = 'root' | 'ringWrapper' | 'ringSvg' | 'ringTrack' | 'ringProgress' | 'ripples' | 'ripple' | 'display' | 'time' | 'label' | 'controls' | 'addButton' | 'removeButton' | 'pauseButton' | 'cancelButton';
|
|
4
|
+
export type TimerStatus = 'idle' | 'running' | 'paused' | 'completed' | 'cancelled';
|
|
5
|
+
export interface TimerHandle {
|
|
6
|
+
/** Starts (or restarts, if idle/completed/cancelled) the countdown from its current duration. */
|
|
7
|
+
start: () => void;
|
|
8
|
+
/** Pauses a running timer. No-op if not running. */
|
|
9
|
+
pause: () => void;
|
|
10
|
+
/** Resumes a paused timer from where it left off. No-op if not paused. */
|
|
11
|
+
resume: () => void;
|
|
12
|
+
/** Adds seconds to the remaining time. Clamped to `maxSeconds` if set. */
|
|
13
|
+
addTime: (seconds: number) => void;
|
|
14
|
+
/** Removes seconds from the remaining time. Clamped to 0, which triggers completion. */
|
|
15
|
+
removeTime: (seconds: number) => void;
|
|
16
|
+
/** Stops the timer and resets it back to idle at its original starting duration. Does not fire onComplete. */
|
|
17
|
+
cancel: () => void;
|
|
18
|
+
/** Resets to idle at `durationSeconds` without starting. */
|
|
19
|
+
reset: () => void;
|
|
20
|
+
/** Current status snapshot. */
|
|
21
|
+
getStatus: () => TimerStatus;
|
|
22
|
+
/** Current remaining time in ms, read synchronously. */
|
|
23
|
+
getRemainingMs: () => number;
|
|
24
|
+
}
|
|
25
|
+
/** Text Timer renders of its own, for translating it. */
|
|
26
|
+
export interface TimerLabels {
|
|
27
|
+
/** Tooltip on the cancel button. */
|
|
28
|
+
cancel?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface TimerProps extends HtmlProps {
|
|
31
|
+
/** Starting duration in seconds. Changing this prop while mounted resets the timer to the new duration. */
|
|
32
|
+
durationSeconds: number;
|
|
33
|
+
/** Start ticking automatically on mount (and whenever `durationSeconds` changes). @default true */
|
|
34
|
+
autoStart?: boolean;
|
|
35
|
+
/** When `durationSeconds` changes after mount, restart from the new duration immediately (`true`) or only update the idle baseline (`false`). @default true */
|
|
36
|
+
resetOnDurationChange?: boolean;
|
|
37
|
+
/** Fires roughly every 200ms with the live remaining ms. */
|
|
38
|
+
onTick?: (remainingMs: number) => void;
|
|
39
|
+
/** Fires exactly once when the countdown reaches zero. */
|
|
40
|
+
onComplete?: () => void;
|
|
41
|
+
/** Fires when the timer transitions to running (initial start or resume). */
|
|
42
|
+
onStart?: () => void;
|
|
43
|
+
/** Fires when paused. */
|
|
44
|
+
onPause?: () => void;
|
|
45
|
+
/** Fires when resumed from pause. */
|
|
46
|
+
onResume?: () => void;
|
|
47
|
+
/** Fires when cancelled (via button or ref). */
|
|
48
|
+
onCancel?: () => void;
|
|
49
|
+
/** Fires whenever time is added, with the seconds added and the new total remaining seconds. */
|
|
50
|
+
onAddTime?: (secondsAdded: number, newRemainingSeconds: number) => void;
|
|
51
|
+
/** Fires whenever time is removed. */
|
|
52
|
+
onRemoveTime?: (secondsRemoved: number, newRemainingSeconds: number) => void;
|
|
53
|
+
/** Show the built-in control buttons (add/remove/pause-resume/cancel). @default true */
|
|
54
|
+
showControls?: boolean;
|
|
55
|
+
/** Individually hide the add-time button while keeping the others. */
|
|
56
|
+
hideAddButton?: boolean;
|
|
57
|
+
/** Individually hide the remove-time button while keeping the others. */
|
|
58
|
+
hideRemoveButton?: boolean;
|
|
59
|
+
/** Individually hide the pause/resume button while keeping the others. */
|
|
60
|
+
hidePauseButton?: boolean;
|
|
61
|
+
/** Individually hide the cancel button while keeping the others. */
|
|
62
|
+
hideCancelButton?: boolean;
|
|
63
|
+
/** Seconds added/removed per click of the add/remove buttons. @default 30 */
|
|
64
|
+
adjustSeconds?: number;
|
|
65
|
+
/** Optional cap on remaining time when adding. Unset = uncapped. */
|
|
66
|
+
maxSeconds?: number;
|
|
67
|
+
/** Label rendered under the time readout, e.g. "Boil pasta". */
|
|
68
|
+
label?: ReactNode;
|
|
69
|
+
/** Format the MM:SS (or H:MM:SS) readout. Defaults to a built-in formatter. */
|
|
70
|
+
formatTime?: (remainingMs: number) => ReactNode;
|
|
71
|
+
/** Diameter of the ring, any CSS length. Sets `--timer-size`, which defaults to `10em`, 160px at a 16px base. */
|
|
72
|
+
size?: string;
|
|
73
|
+
/** Ring stroke width in px. Sets `--timer-stroke-width`. @default 10 */
|
|
74
|
+
strokeWidth?: number;
|
|
75
|
+
/** Sweeps the depleting boundary counter-clockwise instead of the default clockwise (matching a clock face). @default false */
|
|
76
|
+
counterClockwise?: boolean;
|
|
77
|
+
/** Fraction of total duration (0-1) at which the ring switches to its urgent colour and the pulse (if enabled) kicks in. @default 0.1 */
|
|
78
|
+
urgentThreshold?: number;
|
|
79
|
+
/**
|
|
80
|
+
* Floor, in seconds, for how much time the urgent state gets — whichever of this or
|
|
81
|
+
* `urgentThreshold` (as a fraction of the total duration) produces the larger window wins.
|
|
82
|
+
* Without this, a short timer's `urgentThreshold` fraction can resolve to under a second,
|
|
83
|
+
* making the urgent/critical state barely perceptible. @default 3
|
|
84
|
+
*/
|
|
85
|
+
urgentMinSeconds?: number;
|
|
86
|
+
/** Enables the heartbeat/pulse effect once inside `urgentThreshold`. @default true */
|
|
87
|
+
pulseOnUrgent?: boolean;
|
|
88
|
+
/** Shows a thin ring pulsing outward from the dial's own edge and fading out while running (a beacon/live-indicator-style halo). @default false */
|
|
89
|
+
showRunningRipples?: boolean;
|
|
90
|
+
/** Play a short built-in chime on completion. @default false */
|
|
91
|
+
playSoundOnComplete?: boolean;
|
|
92
|
+
/** Overrides the built-in sound with a consumer-supplied audio URL. */
|
|
93
|
+
soundUrl?: string;
|
|
94
|
+
/** Volume 0-1 for the completion sound. @default 0.5 */
|
|
95
|
+
soundVolume?: number;
|
|
96
|
+
/** Show a browser Notification on completion (permission requested lazily on first `start()`, fails silently if denied/unsupported). @default false */
|
|
97
|
+
notifyOnComplete?: boolean;
|
|
98
|
+
/** Notification title when `notifyOnComplete` is set. @default 'Timer done' */
|
|
99
|
+
notificationTitle?: string;
|
|
100
|
+
/** Notification body when `notifyOnComplete` is set. Falls back to `label` when it's a string. */
|
|
101
|
+
notificationBody?: string;
|
|
102
|
+
/** Imperative handle for starting, pausing and resetting the timer. */
|
|
103
|
+
ref?: Ref<TimerHandle>;
|
|
104
|
+
className?: string;
|
|
105
|
+
style?: CSSProperties;
|
|
106
|
+
classNames?: SlotClassNames<TimerSlots>;
|
|
107
|
+
styles?: SlotStyles<TimerSlots>;
|
|
108
|
+
/** Overrides the text Timer renders of its own. Merged per key. */
|
|
109
|
+
labels?: TimerLabels;
|
|
110
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ToastItem, ToastLabels } from './toast.types.js';
|
|
3
|
+
interface ToastProps {
|
|
4
|
+
item: ToastItem;
|
|
5
|
+
isBottom: boolean;
|
|
6
|
+
onDismiss: (id: string) => void;
|
|
7
|
+
/** Already resolved by the provider: defaults, provider, then this toast's own. */
|
|
8
|
+
labels: Required<ToastLabels>;
|
|
9
|
+
}
|
|
10
|
+
declare function Toast({ item, isBottom, onDismiss, labels }: ToastProps): React.JSX.Element;
|
|
11
|
+
export default Toast;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { SlotClassNames, SlotStyles } from '../types/slots.types.js';
|
|
3
|
+
export type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
4
|
+
export type ToastType = 'default' | 'info' | 'success' | 'error' | 'warn';
|
|
5
|
+
export type ToastSlots = 'root' | 'icon' | 'content' | 'closeButton' | 'progressBar';
|
|
6
|
+
/** Text Toast renders of its own, for translating it. */
|
|
7
|
+
export interface ToastLabels {
|
|
8
|
+
/** The dismiss button, read out by screen readers. */
|
|
9
|
+
close?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ToastContextConfig {
|
|
12
|
+
position?: ToastPosition;
|
|
13
|
+
/** Duration in ms. 0 = persistent. */
|
|
14
|
+
duration?: number;
|
|
15
|
+
showRemainingTime?: boolean;
|
|
16
|
+
showCloseButton?: boolean;
|
|
17
|
+
/** Whether multiple toasts can be visible simultaneously. */
|
|
18
|
+
allowStacking?: boolean;
|
|
19
|
+
/** Pause the auto-dismiss timer while the toast is hovered or focused. */
|
|
20
|
+
pauseOnHover?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Overrides the text a toast renders of its own. Set on `ToastProvider` for
|
|
23
|
+
* the whole app, or per toast through `showToast` options.
|
|
24
|
+
*/
|
|
25
|
+
labels?: ToastLabels;
|
|
26
|
+
}
|
|
27
|
+
export interface ToastOptions extends ToastContextConfig {
|
|
28
|
+
type?: ToastType;
|
|
29
|
+
classNames?: SlotClassNames<ToastSlots>;
|
|
30
|
+
styles?: SlotStyles<ToastSlots>;
|
|
31
|
+
}
|
|
32
|
+
export interface ToastProviderProps extends ToastContextConfig {
|
|
33
|
+
children: ReactNode;
|
|
34
|
+
}
|
|
35
|
+
export interface ToastItem extends Pick<ToastOptions, 'labels'> {
|
|
36
|
+
id: string;
|
|
37
|
+
content: ReactNode;
|
|
38
|
+
options: ResolvedToastOptions;
|
|
39
|
+
dismissing: boolean;
|
|
40
|
+
}
|
|
41
|
+
export interface ResolvedToastOptions {
|
|
42
|
+
position: ToastPosition;
|
|
43
|
+
duration: number;
|
|
44
|
+
showRemainingTime: boolean;
|
|
45
|
+
showCloseButton: boolean;
|
|
46
|
+
pauseOnHover: boolean;
|
|
47
|
+
type: ToastType;
|
|
48
|
+
classNames?: SlotClassNames<ToastSlots>;
|
|
49
|
+
styles?: SlotStyles<ToastSlots>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
import { ToastContextConfig } from './toast.types.js';
|
|
3
|
+
interface ToastProviderProps extends ToastContextConfig {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare function ToastProvider({ children, position, duration, showRemainingTime, showCloseButton, allowStacking, pauseOnHover, labels, }: ToastProviderProps): React.JSX.Element;
|
|
7
|
+
export default ToastProvider;
|
|
8
|
+
export type { ToastProviderProps };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ToastOptions } from './toast.types.js';
|
|
3
|
+
type ShowToastFn = (content: ReactNode, options?: ToastOptions) => void;
|
|
4
|
+
export declare function _registerToastHandler(fn: ShowToastFn): void;
|
|
5
|
+
export declare function _unregisterToastHandler(): void;
|
|
6
|
+
export declare function showToast(content: ReactNode, options?: ToastOptions): void;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type TooltipVariant = 'info' | 'details' | 'error';
|
|
3
|
+
/** Text Tooltip renders of its own, for translating it. */
|
|
4
|
+
export interface TooltipLabels {
|
|
5
|
+
/** Accessible name of the `?` icon the `details` variant renders (default `More information`). */
|
|
6
|
+
details?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface TooltipProps {
|
|
9
|
+
variant: TooltipVariant;
|
|
10
|
+
message?: React.ReactNode;
|
|
11
|
+
isVisible?: boolean;
|
|
12
|
+
iconPosition?: string;
|
|
13
|
+
tooltipPosition?: string;
|
|
14
|
+
onClick?: () => void;
|
|
15
|
+
/** Overrides the text Tooltip renders of its own. Merged per key. */
|
|
16
|
+
labels?: TooltipLabels;
|
|
17
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { FlatTreeNode, TreeNode, TreeValue } from './tree.types.js';
|
|
2
|
+
/** The visible nodes in render order. Flat, not nested, deliberately: see docs/Tree.md. */
|
|
3
|
+
export declare function flattenTree(nodes: TreeNode[], expandedKeys: TreeValue[], level?: number, parentKey?: TreeValue | null): FlatTreeNode[];
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { IconContent } from '../types/icon.types.js';
|
|
3
|
+
import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types.js';
|
|
4
|
+
export type TreeValue = string | number;
|
|
5
|
+
export interface TreeNode {
|
|
6
|
+
key: TreeValue;
|
|
7
|
+
label: ReactNode;
|
|
8
|
+
/** Icon shown before the label. */
|
|
9
|
+
icon?: IconContent;
|
|
10
|
+
/** Child nodes. An empty array still renders a toggle, for a branch whose children load later. */
|
|
11
|
+
children?: TreeNode[];
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
}
|
|
14
|
+
/** One visible row produced by `flattenTree`. */
|
|
15
|
+
export interface FlatTreeNode {
|
|
16
|
+
node: TreeNode;
|
|
17
|
+
/** Depth from the roots, 0-based. */
|
|
18
|
+
level: number;
|
|
19
|
+
parentKey: TreeValue | null;
|
|
20
|
+
isBranch: boolean;
|
|
21
|
+
isExpanded: boolean;
|
|
22
|
+
/** Number of siblings at this level, for `aria-setsize`. */
|
|
23
|
+
setSize: number;
|
|
24
|
+
/** 1-based position among those siblings, for `aria-posinset`. */
|
|
25
|
+
posInSet: number;
|
|
26
|
+
}
|
|
27
|
+
export type TreeSlots = 'root' | 'node' | 'toggle' | 'icon' | 'label' | 'empty';
|
|
28
|
+
/** Text Tree renders of its own, for translating it. */
|
|
29
|
+
export interface TreeLabels {
|
|
30
|
+
/** Shown when `nodes` is empty (default `Nothing here`). */
|
|
31
|
+
empty?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface TreeProps extends Omit<HtmlProps<HTMLDivElement>, 'onSelect'> {
|
|
34
|
+
nodes: TreeNode[];
|
|
35
|
+
/** Controlled set of expanded branch keys. Omit for uncontrolled. */
|
|
36
|
+
expandedKeys?: TreeValue[];
|
|
37
|
+
/** Branches expanded initially when uncontrolled (default `[]`). */
|
|
38
|
+
defaultExpandedKeys?: TreeValue[];
|
|
39
|
+
onExpandedChange?: (keys: TreeValue[]) => void;
|
|
40
|
+
/** Controlled selected key. Omit for uncontrolled. */
|
|
41
|
+
selectedKey?: TreeValue | null;
|
|
42
|
+
/** Key selected initially when uncontrolled. */
|
|
43
|
+
defaultSelectedKey?: TreeValue;
|
|
44
|
+
onSelect?: (key: TreeValue, node: TreeNode) => void;
|
|
45
|
+
/** Clicking a branch's label toggles it as well as selecting it (default `true`). */
|
|
46
|
+
expandOnSelect?: boolean;
|
|
47
|
+
/** Indent per level in px (default `20`). */
|
|
48
|
+
indent?: number;
|
|
49
|
+
/** Icon for the expand/collapse toggle. Rotates 90° when open (default a right chevron). */
|
|
50
|
+
toggleIcon?: IconContent;
|
|
51
|
+
/**
|
|
52
|
+
* Sets a fixed viewport height and windows the rows through `VirtualList`, so only the visible
|
|
53
|
+
* ones are in the DOM. Use it past a few hundred visible nodes. Rows must then be uniform
|
|
54
|
+
* height: set `--tree-node-height` rather than sizing individual rows.
|
|
55
|
+
*/
|
|
56
|
+
height?: number | string;
|
|
57
|
+
/** Row height used by the windowed renderer before measurement (default `32`). */
|
|
58
|
+
estimatedRowHeight?: number;
|
|
59
|
+
disabled?: boolean;
|
|
60
|
+
'aria-label'?: string;
|
|
61
|
+
className?: string;
|
|
62
|
+
style?: CSSProperties;
|
|
63
|
+
classNames?: SlotClassNames<TreeSlots>;
|
|
64
|
+
styles?: SlotStyles<TreeSlots>;
|
|
65
|
+
/** Overrides the text Tree renders of its own. Merged per key. */
|
|
66
|
+
labels?: TreeLabels;
|
|
67
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* TypeScript allows hyphenated attributes on *intrinsic* elements only, so a component's props
|
|
4
|
+
* interface has to declare these itself — no React attribute type provides them.
|
|
5
|
+
*/
|
|
6
|
+
type DataAttributes = {
|
|
7
|
+
[K in `data-${string}`]?: string;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* HTML pass-through props accepted on the root element of every component: the full native
|
|
11
|
+
* attribute set for that element, plus `data-*`.
|
|
12
|
+
*
|
|
13
|
+
* Pass the root's element type for correctly-typed event handlers (`HtmlProps<HTMLDivElement>`);
|
|
14
|
+
* the default is the loose `HTMLElement`. Where the root is not a plain container, extend the
|
|
15
|
+
* matching React type instead and add `DataProps` for the `data-*` half — `Button` does this
|
|
16
|
+
* with `React.ButtonHTMLAttributes<HTMLButtonElement>`.
|
|
17
|
+
*
|
|
18
|
+
* `ref` is deliberately *not* here. `Ref<E>` is invariant, so a shared `Ref<HTMLElement>` is not
|
|
19
|
+
* assignable to the `<div>` it would be spread onto, and narrowing the default to `HTMLDivElement`
|
|
20
|
+
* re-types every event handler with it — which breaks `Dropdown` and `SplitButton`, whose `onClick`
|
|
21
|
+
* is typed for the `<button>` they hand it to. A component that accepts a ref declares it itself,
|
|
22
|
+
* next to its other props, typed for the element it actually lands on.
|
|
23
|
+
*
|
|
24
|
+
* A component prop that collides with a native one of the same name must `Omit` the native one.
|
|
25
|
+
*/
|
|
26
|
+
export type HtmlProps<E extends HTMLElement = HTMLElement> = React.HTMLAttributes<E> & DataAttributes;
|
|
27
|
+
/** The `data-*` half of {@link HtmlProps}, for components that source attributes elsewhere. */
|
|
28
|
+
export type DataProps = DataAttributes;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Anything a component will accept for an `icon` prop: either a FontAwesome
|
|
5
|
+
* `IconDefinition` (rendered through `FontAwesomeIcon`) or an arbitrary React
|
|
6
|
+
* element (rendered as-is) — an `<img>`, an inline `<svg>`, another icon
|
|
7
|
+
* library's component, …
|
|
8
|
+
*
|
|
9
|
+
* Deliberately `ReactElement` rather than `ReactNode`: `ReactNode` also covers
|
|
10
|
+
* strings, numbers and booleans, so a required icon prop would stop catching
|
|
11
|
+
* `icon="star"` at compile time and silently render the text instead. Matches
|
|
12
|
+
* what `Input` has always accepted for its own icon prop.
|
|
13
|
+
*
|
|
14
|
+
* Render one with `renderIcon` from `components/common/utils/renderIcon`, which
|
|
15
|
+
* picks the right branch.
|
|
16
|
+
*/
|
|
17
|
+
export type IconContent = IconDefinition | ReactElement;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export type SlotClassNames<Keys extends string> = Partial<Record<Keys, string>>;
|
|
3
|
+
export type SlotStyles<Keys extends string> = Partial<Record<Keys, CSSProperties>>;
|
|
4
|
+
export type { HtmlProps, DataProps } from './baseProps.types.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Whether a keydown is a click-equivalent activation of the element the handler sits on.
|
|
4
|
+
*
|
|
5
|
+
* The target check is the important half: keydown bubbles, so without it a Space typed into a
|
|
6
|
+
* nested input activates the container and, once the container calls `preventDefault()`, never
|
|
7
|
+
* reaches the input at all.
|
|
8
|
+
*/
|
|
9
|
+
export declare function isSelfActivation(event: React.KeyboardEvent): boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether a click landed on a control of its own inside `container`, rather than on the container.
|
|
3
|
+
*
|
|
4
|
+
* `container` itself never counts, or one carrying `role="button"` would exclude every click it is
|
|
5
|
+
* meant to answer. `role="group"` is absent for the same reason: it marks a wrapper, not a control.
|
|
6
|
+
*/
|
|
7
|
+
export declare function isInteractiveTarget(target: EventTarget | null, container: Element | null): boolean;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where the highlight goes next in a list the arrow keys move through.
|
|
3
|
+
*
|
|
4
|
+
* Shared so the library's listboxes agree on it. They did not: Dropdown wrapped and skipped
|
|
5
|
+
* disabled options, MultiSelect wrapped but stopped on them, and InputDropdown clamped at both
|
|
6
|
+
* ends and cleared the highlight when ArrowUp reached the top. Moving between two fields in the
|
|
7
|
+
* same form behaved differently for no reason a user could see.
|
|
8
|
+
*
|
|
9
|
+
* Only the arithmetic is shared. Which key means what, and what selecting does, stays with each
|
|
10
|
+
* component, because those genuinely differ.
|
|
11
|
+
*/
|
|
12
|
+
/** `null` is "nothing highlighted": the state a freshly opened list starts in. */
|
|
13
|
+
export type ActiveIndex = number | null;
|
|
14
|
+
export interface ListNavigationOptions {
|
|
15
|
+
/** Options that cannot be highlighted, by index. */
|
|
16
|
+
isDisabled?: (index: number) => boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Whether moving past an end comes back round. `false` stops on the last selectable option,
|
|
19
|
+
* for a list whose first entry is the text the user is still typing.
|
|
20
|
+
*/
|
|
21
|
+
wrap?: boolean;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The next selectable index in `step` direction, or `null` when the list has nothing to
|
|
25
|
+
* highlight. From `null` a forward step enters at the top and a backward step at the bottom,
|
|
26
|
+
* which is what both a native `<select>` and the ARIA combobox pattern do.
|
|
27
|
+
*/
|
|
28
|
+
export declare function nextIndex(from: ActiveIndex, step: 1 | -1, length: number, { isDisabled, wrap }?: ListNavigationOptions): ActiveIndex;
|
|
29
|
+
/** The first or last selectable index, for Home and End. */
|
|
30
|
+
export declare function edgeIndex(edge: 'first' | 'last', length: number, options?: ListNavigationOptions): ActiveIndex;
|
|
31
|
+
/**
|
|
32
|
+
* Scrolls `option` into view inside `list`, moving nothing else on the page.
|
|
33
|
+
*
|
|
34
|
+
* The arrow keys move a highlight, not the focus — the focus stays on the combobox, because that
|
|
35
|
+
* is what `aria-activedescendant` points from. So the browser never scrolls the option into view
|
|
36
|
+
* by itself, and a list taller than its panel would highlight rows the user cannot see.
|
|
37
|
+
*
|
|
38
|
+
* Measured with `getBoundingClientRect` rather than `offsetTop`, which is relative to the nearest
|
|
39
|
+
* positioned ancestor and so silently wrong whenever that is not the scrolling element itself.
|
|
40
|
+
* `scrollIntoView` would be shorter but is free to scroll every ancestor, including the page
|
|
41
|
+
* behind the panel.
|
|
42
|
+
*
|
|
43
|
+
* Rectangles are what the screen shows, and `scrollTop` is in layout pixels, so the two disagree
|
|
44
|
+
* whenever an ancestor carries a scale — which every one of these lists does, because the Popover
|
|
45
|
+
* panel holding them animates in from a smaller size. Measured mid-animation, a list 260 layout
|
|
46
|
+
* pixels tall reports a rectangle of 182, and scrolling by the raw difference moved 30% short
|
|
47
|
+
* every step. `offsetHeight` against the rectangle's height recovers the factor.
|
|
48
|
+
*/
|
|
49
|
+
export declare function scrollOptionIntoView(list: HTMLElement | null | undefined, option: Element | null | undefined): void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Ref } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Fans one element out to several refs, for a component that needs the node itself *and*
|
|
4
|
+
* hands it to the consumer through a `ref` prop.
|
|
5
|
+
*
|
|
6
|
+
* The returned callback is a new function on every render, so React detaches and reattaches
|
|
7
|
+
* it each time (null, then the node). Every ref here is therefore written twice per render,
|
|
8
|
+
* which is fine for storing a node and wrong for anything with a side effect. Call it inline
|
|
9
|
+
* rather than memoising: a memo would have to list the refs it closes over, and a consumer
|
|
10
|
+
* passing an inline callback ref changes that identity every render anyway.
|
|
11
|
+
*/
|
|
12
|
+
export declare function mergeRefs<T>(...refs: (Ref<T> | undefined)[]): (node: T | null) => void;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
+
import { IconContent } from '../types/icon.types.js';
|
|
4
|
+
interface RenderIconOptions {
|
|
5
|
+
/** Class applied to the rendered icon (or to the wrapper span for a custom element). */
|
|
6
|
+
className?: string;
|
|
7
|
+
/** Inline style applied to the rendered icon (or to the wrapper span for a custom element). */
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Narrows an `IconContent` to a FontAwesome `IconDefinition`.
|
|
12
|
+
*
|
|
13
|
+
* Both halves of the union are plain objects (a React element is one too), so
|
|
14
|
+
* they can only be told apart structurally: an icon definition always carries
|
|
15
|
+
* `prefix`, `iconName` and the `icon` tuple.
|
|
16
|
+
*/
|
|
17
|
+
export declare function isIconDefinition(icon: IconContent | null | undefined): icon is IconDefinition;
|
|
18
|
+
/**
|
|
19
|
+
* Renders an `icon` prop that may be either a FontAwesome `IconDefinition` or an
|
|
20
|
+
* arbitrary React element.
|
|
21
|
+
*
|
|
22
|
+
* A definition goes through `FontAwesomeIcon`; an element is returned untouched
|
|
23
|
+
* unless a `className`/`style` was given, in which case it is wrapped in a
|
|
24
|
+
* `<span>` carrying them so component and consumer slot styling still lands
|
|
25
|
+
* somewhere. Note that a custom element is not sized by FontAwesome's `1em`
|
|
26
|
+
* geometry — size it yourself if the surrounding layout expects a square icon.
|
|
27
|
+
*/
|
|
28
|
+
export declare function renderIcon(icon: IconContent | null | undefined, options?: RenderIconOptions): ReactNode;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { VirtualListColumn } from './virtualList.types.js';
|
|
3
|
+
interface UseColumnResizeArgs<T> {
|
|
4
|
+
columns?: VirtualListColumn<T>[];
|
|
5
|
+
/**
|
|
6
|
+
* The columns currently rendered, in order. A ref rather than a value because
|
|
7
|
+
* the visible set is derived one hook later, and only the freeze reads it, at
|
|
8
|
+
* event time.
|
|
9
|
+
*/
|
|
10
|
+
visibleColumnsRef: React.RefObject<VirtualListColumn<T>[]>;
|
|
11
|
+
resizableColumns: boolean;
|
|
12
|
+
/** Controlled widths. When provided, internal state is ignored. */
|
|
13
|
+
columnWidths?: Record<string, number>;
|
|
14
|
+
onColumnWidthsChange?: (widths: Record<string, number>) => void;
|
|
15
|
+
/** Restores widths saved under this key. Uncontrolled mode only. */
|
|
16
|
+
persistColumnsKey?: string;
|
|
17
|
+
rootRef: React.RefObject<HTMLDivElement | null>;
|
|
18
|
+
}
|
|
19
|
+
export interface UseColumnResizeResult<T> {
|
|
20
|
+
widths: Record<string, number>;
|
|
21
|
+
/**
|
|
22
|
+
* True once every visible column has an exact px width. Nothing moves at that
|
|
23
|
+
* moment, but from then on the layout is pixels rather than `fr`/`fit`.
|
|
24
|
+
*/
|
|
25
|
+
isFrozen: boolean;
|
|
26
|
+
isResizing: boolean;
|
|
27
|
+
/** Drops every user width and hands the layout back to the column definitions. */
|
|
28
|
+
reset: () => void;
|
|
29
|
+
/** Whether this column takes a resize at all, by handle or by keyboard. */
|
|
30
|
+
isResizable: (col: VirtualListColumn<T>) => boolean;
|
|
31
|
+
/** Widens (or, negative, narrows) one column. The keyboard entry point. */
|
|
32
|
+
resizeBy: (key: string, delta: number) => void;
|
|
33
|
+
/** Takes one column down to its minimum. */
|
|
34
|
+
resizeToMin: (key: string) => void;
|
|
35
|
+
/** Sizes one column to its widest rendered cell. */
|
|
36
|
+
autoFit: (key: string) => void;
|
|
37
|
+
/** Pointer props for one column's handle, or null when that column can't be resized. */
|
|
38
|
+
getHandleProps: (col: VirtualListColumn<T>) => React.HTMLAttributes<HTMLDivElement> | null;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* User column resizing: the width state, and a drag that doesn't go through
|
|
42
|
+
* React.
|
|
43
|
+
*
|
|
44
|
+
* A pointer move writes the dragged column's custom property straight onto the
|
|
45
|
+
* list element. The header and every row read that same property, so one DOM
|
|
46
|
+
* write resizes all of them in a single layout pass. Going through state
|
|
47
|
+
* instead would re-render the header plus every visible row on every frame, and
|
|
48
|
+
* the handle would trail the cursor by one frame, which is the whole difference
|
|
49
|
+
* between this feeling attached to the pointer and feeling cheap. React is told
|
|
50
|
+
* once, on release.
|
|
51
|
+
*
|
|
52
|
+
* The first resize **freezes** every visible column to its measured width. A
|
|
53
|
+
* `fr` track can't express "this one column is now 240px" without the others
|
|
54
|
+
* silently absorbing the difference, and once they hit their minimum the dragged
|
|
55
|
+
* edge stops following the cursor, which is the worst moment for it to happen.
|
|
56
|
+
* Frozen, the table is exact pixels and simply scrolls horizontally instead.
|
|
57
|
+
*/
|
|
58
|
+
export declare function useColumnResize<T>({ columns, visibleColumnsRef, resizableColumns, columnWidths, onColumnWidthsChange, persistColumnsKey, rootRef, }: UseColumnResizeArgs<T>): UseColumnResizeResult<T>;
|
|
59
|
+
export {};
|