@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,33 @@
|
|
|
1
|
+
export interface UseSwipeDismissOptions {
|
|
2
|
+
/** Called once the swipe commits (past the threshold) — after the exit transition finishes,
|
|
3
|
+
* not the instant the pointer is released. */
|
|
4
|
+
onDismiss: () => void;
|
|
5
|
+
/** Which axis the drag tracks (default `'x'`, the natural direction for a toast/notification). */
|
|
6
|
+
axis?: 'x' | 'y';
|
|
7
|
+
/** Distance in px past which releasing counts as a commit, regardless of speed (default `80`). */
|
|
8
|
+
distanceThreshold?: number;
|
|
9
|
+
/** Speed in px/ms past which releasing counts as a commit, regardless of distance (default `0.5`) —
|
|
10
|
+
* lets a fast flick dismiss even if the pointer didn't travel very far. */
|
|
11
|
+
velocityThreshold?: number;
|
|
12
|
+
/** Disables the gesture entirely — no listeners are attached. */
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
/** Restricts the gesture to coarse (touch) pointers, auto-detected via `matchMedia`. On a
|
|
15
|
+
* mouse/trackpad device a drag is more likely to be a text selection than an intentional
|
|
16
|
+
* dismiss, and other affordances (a close button, auto-dismiss) typically already cover that
|
|
17
|
+
* case. Default `true`; set `false` to allow the gesture on any pointer type. */
|
|
18
|
+
mobileOnly?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export interface UseSwipeDismissResult<T extends HTMLElement> {
|
|
21
|
+
/** Attach to the element that should become draggable. The hook wires up its own pointer
|
|
22
|
+
* listeners on this node directly (no handlers to spread), so this is the only thing to attach. */
|
|
23
|
+
ref: React.RefObject<T | null>;
|
|
24
|
+
/** True for the duration of an active drag — e.g. use it to pause an auto-dismiss timer. */
|
|
25
|
+
isDragging: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Drag-to-dismiss on any pointer type (touch, mouse, pen) via the Pointer Events API. Applies the
|
|
29
|
+
* drag offset and a fading opacity directly to the DOM node (bypassing React state) so the visual
|
|
30
|
+
* tracks the pointer at native speed, then either springs back or animates fully off-screen and
|
|
31
|
+
* calls `onDismiss` once that exit transition completes.
|
|
32
|
+
*/
|
|
33
|
+
export declare function useSwipeDismiss<T extends HTMLElement>({ onDismiss, axis, distanceThreshold, velocityThreshold, disabled, mobileOnly, }: UseSwipeDismissOptions): UseSwipeDismissResult<T>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface VisualViewportSize {
|
|
2
|
+
/** Height of the actually-visible viewport in px — shrinks when a mobile on-screen keyboard
|
|
3
|
+
* opens, unlike `window.innerHeight` / CSS `vh`, which stay pinned to the full layout viewport. */
|
|
4
|
+
height: number;
|
|
5
|
+
/** Vertical offset of the visible viewport's top edge within the layout viewport — non-zero once
|
|
6
|
+
* the page has scrolled to keep a focused field above the keyboard. */
|
|
7
|
+
offsetTop: number;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Tracks `window.visualViewport` so layout can react to the on-screen keyboard opening/closing.
|
|
11
|
+
* Falls back to `window.innerHeight`/0 in browsers without the API.
|
|
12
|
+
*/
|
|
13
|
+
export declare function useVisualViewportSize(): VisualViewportSize;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IconPickerProps } from './iconPicker.types.js';
|
|
3
|
+
export default function IconPicker({ data, selectedId, label, onChange, formValidator, isRequired: _isRequired, className, style, classNames, styles: slotStyles, ...rest }: IconPickerProps): React.JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
3
|
+
import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types.js';
|
|
4
|
+
import { FormValidator } from '../../services/formValidation/index.js';
|
|
5
|
+
export type IconPickerSlots = 'root' | 'label' | 'itemContainer' | 'item';
|
|
6
|
+
export interface IconPickerItem {
|
|
7
|
+
id: string;
|
|
8
|
+
label: string;
|
|
9
|
+
icon?: IconDefinition;
|
|
10
|
+
customIcon?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export interface IconPickerProps extends Omit<HtmlProps, 'onChange'> {
|
|
13
|
+
data?: IconPickerItem[];
|
|
14
|
+
selectedId?: string | null;
|
|
15
|
+
label?: string;
|
|
16
|
+
onChange?: (id: string) => void;
|
|
17
|
+
formValidator?: FormValidator | null;
|
|
18
|
+
isRequired?: boolean;
|
|
19
|
+
className?: string;
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
classNames?: SlotClassNames<IconPickerSlots>;
|
|
22
|
+
styles?: SlotStyles<IconPickerSlots>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface IdleManagerProps {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
/** Seconds of inactivity before children are rendered. Defaults to 600 (10 min). */
|
|
5
|
+
idleAfterSeconds?: number;
|
|
6
|
+
/** Children are only rendered when this is true AND the user is idle. Defaults to true. */
|
|
7
|
+
renderCondition?: boolean;
|
|
8
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare function useInfiniteScroll(containerRef: React.RefObject<HTMLDivElement | null>, onScroll: () => Promise<void>, disabled: boolean): {
|
|
3
|
+
isLoading: boolean;
|
|
4
|
+
sentinelRef: React.RefObject<HTMLDivElement | null>;
|
|
5
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { FormValidator } from '../../services/formValidation/index.js';
|
|
3
|
+
import { SlotClassNames, SlotStyles, DataProps } from '../types/slots.types.js';
|
|
4
|
+
export declare enum InputType {
|
|
5
|
+
Edit = "edit",
|
|
6
|
+
Phone = "phone",
|
|
7
|
+
Email = "email",
|
|
8
|
+
Iban = "iban",
|
|
9
|
+
Date = "date",
|
|
10
|
+
HasNoIcon = "hasNoIcon",
|
|
11
|
+
Search = "searchInput",
|
|
12
|
+
Password = "password"
|
|
13
|
+
}
|
|
14
|
+
export declare enum InputIconPosition {
|
|
15
|
+
Left = "left",
|
|
16
|
+
Right = "right"
|
|
17
|
+
}
|
|
18
|
+
export type InputSlots = 'label' | 'container' | 'input' | 'suffix' | 'upperRightLabel' | 'fieldset';
|
|
19
|
+
type OverriddenInputAttributes = 'onChange' | 'onFocus' | 'onBlur' | 'onMouseEnter' | 'onMouseLeave' | 'onClick' | 'type' | 'value' | 'min' | 'max' | 'autoComplete';
|
|
20
|
+
/** Text Input renders of its own, for translating it. */
|
|
21
|
+
export interface InputLabels {
|
|
22
|
+
/** Clear button on a search input, read out by screen readers. */
|
|
23
|
+
clear?: string;
|
|
24
|
+
/** Reveals a password, read out by screen readers. */
|
|
25
|
+
showPassword?: string;
|
|
26
|
+
/** Hides a password again. */
|
|
27
|
+
hidePassword?: string;
|
|
28
|
+
/** Clears a search input, read out by screen readers. */
|
|
29
|
+
clearSearch?: string;
|
|
30
|
+
}
|
|
31
|
+
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, OverriddenInputAttributes>, DataProps {
|
|
32
|
+
onMouseEnter?: ((event: React.MouseEvent) => void) | null;
|
|
33
|
+
onMouseLeave?: ((event: React.MouseEvent) => void) | null;
|
|
34
|
+
onFocus?: ((event: React.FocusEvent) => void) | null;
|
|
35
|
+
onBlur?: ((event: React.FocusEvent) => void) | null;
|
|
36
|
+
onChange?: ((value: string, event?: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement, Element>) => void) | null;
|
|
37
|
+
errorMessage?: string;
|
|
38
|
+
isValid?: boolean;
|
|
39
|
+
isRequired?: boolean;
|
|
40
|
+
label?: string;
|
|
41
|
+
name?: string;
|
|
42
|
+
className?: string;
|
|
43
|
+
style?: React.CSSProperties;
|
|
44
|
+
value?: string | number;
|
|
45
|
+
icon?: React.ReactElement | null;
|
|
46
|
+
iconPosition?: InputIconPosition;
|
|
47
|
+
isUppercase?: boolean;
|
|
48
|
+
isRow?: boolean;
|
|
49
|
+
tabIndex?: number;
|
|
50
|
+
type?: InputType;
|
|
51
|
+
onIconClick?: (() => void) | null;
|
|
52
|
+
parse?: ((value: string) => string) | null;
|
|
53
|
+
suffix?: string | React.ReactNode;
|
|
54
|
+
disabled?: boolean;
|
|
55
|
+
upperRightLabel?: string | React.ReactNode;
|
|
56
|
+
labelInBorder?: boolean;
|
|
57
|
+
showCancel?: boolean;
|
|
58
|
+
onClearClicked?: (() => void) | null;
|
|
59
|
+
min?: string | number | null;
|
|
60
|
+
max?: string | number | null;
|
|
61
|
+
placeholder?: string;
|
|
62
|
+
useMatLabelStyle?: boolean;
|
|
63
|
+
alwaysFloatLabel?: boolean;
|
|
64
|
+
autoComplete?: string | null;
|
|
65
|
+
onClick?: (() => void) | null;
|
|
66
|
+
readOnly?: boolean;
|
|
67
|
+
customInput?: React.ReactElement | null;
|
|
68
|
+
autoFocus?: boolean;
|
|
69
|
+
alwaysShowCancel?: boolean;
|
|
70
|
+
formValidator?: FormValidator | null;
|
|
71
|
+
multiline?: boolean;
|
|
72
|
+
rows?: number;
|
|
73
|
+
autoResize?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Ref to the rendered `<input>` (or `<textarea>` when `multiline`). Not forwarded to a
|
|
76
|
+
* `customInput`, which owns its own ref.
|
|
77
|
+
*/
|
|
78
|
+
ref?: React.Ref<HTMLInputElement | HTMLTextAreaElement>;
|
|
79
|
+
classNames?: SlotClassNames<InputSlots>;
|
|
80
|
+
styles?: SlotStyles<InputSlots>;
|
|
81
|
+
/** Overrides the text Input renders of its own. Merged per key. */
|
|
82
|
+
labels?: InputLabels;
|
|
83
|
+
}
|
|
84
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types.js';
|
|
3
|
+
import { FormValidator } from '../../services/formValidation/index.js';
|
|
4
|
+
export type InputDropdownSlots = 'root' | 'dropdown' | 'item';
|
|
5
|
+
export interface InputDropdownItem {
|
|
6
|
+
label?: string;
|
|
7
|
+
value: string;
|
|
8
|
+
}
|
|
9
|
+
export interface InputDropdownProps extends Omit<HtmlProps, 'onSelect'> {
|
|
10
|
+
label?: string;
|
|
11
|
+
value?: string;
|
|
12
|
+
formValidator?: FormValidator | null;
|
|
13
|
+
error?: string;
|
|
14
|
+
isRequired?: boolean;
|
|
15
|
+
items?: InputDropdownItem[];
|
|
16
|
+
/**
|
|
17
|
+
* Allow values that are not part of `items`. When true, the typed text is
|
|
18
|
+
* emitted via `onChange`/`onSelect`/the form validator on every keystroke,
|
|
19
|
+
* instead of only when an item is picked from the list.
|
|
20
|
+
*/
|
|
21
|
+
allowCustomValue?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Maximum number of filtered items rendered in the list. Matches beyond this
|
|
24
|
+
* are dropped (the user narrows by typing, not by scrolling). `0` renders all
|
|
25
|
+
* matches. Default `100`.
|
|
26
|
+
*/
|
|
27
|
+
maxItems?: number;
|
|
28
|
+
onSelect?: (value: string) => void;
|
|
29
|
+
onChange?: (value: unknown) => void;
|
|
30
|
+
placeholder?: string;
|
|
31
|
+
readOnly?: boolean;
|
|
32
|
+
className?: string;
|
|
33
|
+
style?: React.CSSProperties;
|
|
34
|
+
classNames?: SlotClassNames<InputDropdownSlots>;
|
|
35
|
+
styles?: SlotStyles<InputDropdownSlots>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React, ReactElement } from 'react';
|
|
2
|
+
import { DataProps } from '../types/baseProps.types.js';
|
|
3
|
+
interface Properties extends DataProps, Omit<React.HTMLAttributes<HTMLDivElement>, 'tabIndex'> {
|
|
4
|
+
tabIndex?: number | null;
|
|
5
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
6
|
+
}
|
|
7
|
+
declare function InteractableDiv({ className, children, onClick, onKeyDown, tabIndex, ref, ...props }: Properties): ReactElement;
|
|
8
|
+
export default InteractableDiv;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { KanbanBoardProps } from './kanbanBoard.types.js';
|
|
2
|
+
declare function KanbanBoard<T = unknown>({ columns, items, renderItem, onChange, dragHandle, getItemLabel, getItemDisabled, renderEmptyColumn, renderColumnActions, reorderableColumns, collapseEmptyColumns, columnMaxHeight, onLoadMore, loadMoreThreshold, className, style, classNames, styles: slotStyles, ...rest }: KanbanBoardProps<T>): import("react").JSX.Element;
|
|
3
|
+
export default KanbanBoard;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { KanbanColumnProps } from './kanbanBoard.types.js';
|
|
3
|
+
interface KanbanColumnInternalProps<T> extends KanbanColumnProps {
|
|
4
|
+
itemIds: string[];
|
|
5
|
+
items: Record<string, T>;
|
|
6
|
+
renderItem: (item: T, id: string) => ReactNode;
|
|
7
|
+
dragHandle?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Keep the column at its normal flex width even when `itemIds` is empty. Used while a drag
|
|
10
|
+
* is in progress: the empty-column collapse is driven by transient shadow state during a
|
|
11
|
+
* drag, and letting the column shrink mid-drag shifts every column's layout underneath the
|
|
12
|
+
* pointer, which can flip the collision target back and forth forever.
|
|
13
|
+
*/
|
|
14
|
+
preserveSizeWhileEmpty?: boolean;
|
|
15
|
+
/** Shrink to a narrow strip when empty — see `KanbanBoardProps.collapseEmptyColumns`. Defaults to `true`. */
|
|
16
|
+
collapseEmptyColumns?: boolean;
|
|
17
|
+
/** Work-in-progress limit — see `KanbanColumnDef.maxItems`. Display-only. */
|
|
18
|
+
maxItems?: number;
|
|
19
|
+
/** Freezes the column — see `KanbanColumnDef.disabled`. */
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
/** Returns whether a specific card can't be picked up — see `KanbanBoardProps.getItemDisabled`. */
|
|
22
|
+
getItemDisabled?: (item: T, id: string) => boolean;
|
|
23
|
+
/** Custom content shown when the column has no cards — see `KanbanBoardProps.renderEmptyColumn`. */
|
|
24
|
+
emptyPlaceholder?: ReactNode;
|
|
25
|
+
/** Custom header actions — see `KanbanBoardProps.renderColumnActions`. */
|
|
26
|
+
actions?: ReactNode;
|
|
27
|
+
/** Allow the whole column to be dragged (by its header) to reorder it — see `KanbanBoardProps.reorderableColumns`. */
|
|
28
|
+
reorderable?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Whether the card currently being dragged (if any) is actually a column. Suppresses the
|
|
31
|
+
* cards drop-target highlight, which otherwise lights up on every column a dragged column
|
|
32
|
+
* passes over — that highlight means "drop a card here", which doesn't apply mid-column-drag.
|
|
33
|
+
*/
|
|
34
|
+
activeIsColumn?: boolean;
|
|
35
|
+
/** Bounds the column's height and makes its card list scroll — see `KanbanBoardProps.columnMaxHeight`. */
|
|
36
|
+
columnMaxHeight?: string;
|
|
37
|
+
/** Whether more items exist for this column — see `KanbanColumnDef.hasMore`. */
|
|
38
|
+
hasMore?: boolean;
|
|
39
|
+
/** Requests the next page for this column — see `KanbanBoardProps.onLoadMore`. */
|
|
40
|
+
onLoadMore?: () => void | Promise<void>;
|
|
41
|
+
/** Scroll distance from the bottom that triggers `onLoadMore` — see `KanbanBoardProps.loadMoreThreshold`. */
|
|
42
|
+
loadMoreThreshold?: number;
|
|
43
|
+
}
|
|
44
|
+
declare function KanbanColumn<T>({ id, title, itemIds, items, renderItem, dragHandle, preserveSizeWhileEmpty, collapseEmptyColumns, maxItems, disabled, getItemDisabled, emptyPlaceholder, actions, reorderable, activeIsColumn, columnMaxHeight, hasMore, onLoadMore, loadMoreThreshold, className, style, classNames, styles: slotStyles, ...rest }: KanbanColumnInternalProps<T>): import("react").JSX.Element;
|
|
45
|
+
export default KanbanColumn;
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types.js';
|
|
3
|
+
export interface KanbanColumnDef {
|
|
4
|
+
id: string;
|
|
5
|
+
title: string;
|
|
6
|
+
itemIds: string[];
|
|
7
|
+
/**
|
|
8
|
+
* Optional work-in-progress limit. When set, the column header shows a `count/maxItems`
|
|
9
|
+
* badge, and the column gets a warning style once `itemIds.length` exceeds it. This is
|
|
10
|
+
* display-only — `KanbanBoard` doesn't block drops on its own. To enforce a hard limit,
|
|
11
|
+
* check it in `onChange` and skip updating your state when a drop would push a column over.
|
|
12
|
+
*/
|
|
13
|
+
maxItems?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Freezes the column: cards inside it can't be picked up, and nothing can be dropped into it.
|
|
16
|
+
* Use for a workflow rule like "cards in Done can't be moved back out."
|
|
17
|
+
*/
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Whether more items exist for this column beyond what's currently in `itemIds` — enables the
|
|
21
|
+
* scroll-triggered `onLoadMore` request. Only meaningful alongside `KanbanBoardProps.onLoadMore`;
|
|
22
|
+
* a column without it never asks for more regardless of this flag. Set `false` (or omit) once
|
|
23
|
+
* the column's source is exhausted to stop asking.
|
|
24
|
+
*/
|
|
25
|
+
hasMore?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export type KanbanBoardSlots = 'dragOverlay';
|
|
28
|
+
export interface KanbanBoardProps<T = unknown> extends Omit<HtmlProps, 'onChange'> {
|
|
29
|
+
/** Ordered list of column definitions. Each column owns its itemIds. */
|
|
30
|
+
columns: KanbanColumnDef[];
|
|
31
|
+
/** Flat map of all items keyed by their id. */
|
|
32
|
+
items: Record<string, T>;
|
|
33
|
+
/** Render function for each item. Receives the item data and its id. */
|
|
34
|
+
renderItem: (item: T, id: string) => ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* Called after every drop that changes column or order.
|
|
37
|
+
* Receives the full updated columns array — replace your state with this value.
|
|
38
|
+
*/
|
|
39
|
+
onChange: (columns: KanbanColumnDef[]) => void;
|
|
40
|
+
/**
|
|
41
|
+
* Restrict drag initiation to elements marked `data-drag-handle` within a card,
|
|
42
|
+
* instead of the whole card. Use when `renderItem` includes interactive content
|
|
43
|
+
* (buttons, inputs) that would otherwise have its clicks swallowed by the drag listener.
|
|
44
|
+
*/
|
|
45
|
+
dragHandle?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Produce an accessible label for a card, announced to screen-reader users while dragging
|
|
48
|
+
* (e.g. "Picked up <label>."). Defaults to the card's id when omitted.
|
|
49
|
+
*/
|
|
50
|
+
getItemLabel?: (item: T, id: string) => string;
|
|
51
|
+
/**
|
|
52
|
+
* Returns whether a specific card can't be picked up. Defaults to every card being draggable.
|
|
53
|
+
* Independent of a column's own `disabled` — a card can be pinned even in an otherwise
|
|
54
|
+
* unrestricted column.
|
|
55
|
+
*/
|
|
56
|
+
getItemDisabled?: (item: T, id: string) => boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Custom content shown inside a column when it has no cards, instead of leaving it blank.
|
|
59
|
+
* Receives the column definition.
|
|
60
|
+
*/
|
|
61
|
+
renderEmptyColumn?: (column: KanbanColumnDef) => ReactNode;
|
|
62
|
+
/**
|
|
63
|
+
* Custom actions rendered in a column's header, next to its title (e.g. an "add card"
|
|
64
|
+
* button, a column menu). Receives the column definition.
|
|
65
|
+
*/
|
|
66
|
+
renderColumnActions?: (column: KanbanColumnDef) => ReactNode;
|
|
67
|
+
/**
|
|
68
|
+
* Allow whole columns to be reordered by dragging their header, alongside the existing
|
|
69
|
+
* card dragging. Defaults to `false`.
|
|
70
|
+
*/
|
|
71
|
+
reorderableColumns?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Shrink a column to a narrow strip once it has no cards, instead of keeping it at the same
|
|
74
|
+
* width as every other column. Defaults to `true`. Set `false` to keep every column the same
|
|
75
|
+
* width regardless of card count. The collapsed width itself is set via the
|
|
76
|
+
* `--kanban-empty-column-width` CSS variable (falls back to `140px`) — override it theme-wide
|
|
77
|
+
* via `ThemeProvider`'s `variables`, or per board via `style`.
|
|
78
|
+
*/
|
|
79
|
+
collapseEmptyColumns?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Bounds each column's height (any CSS length, e.g. `'70vh'`, `'600px'`) and makes its card
|
|
82
|
+
* list scroll independently once content overflows, instead of growing the whole page. Leave
|
|
83
|
+
* unset for the default unbounded height. Required for `onLoadMore` to ever trigger, since an
|
|
84
|
+
* unbounded column never scrolls.
|
|
85
|
+
*/
|
|
86
|
+
columnMaxHeight?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Called with a column's `id` when that column has `hasMore` set and its card list is scrolled
|
|
89
|
+
* within `loadMoreThreshold` of the bottom — fetch and append the next page of items for it.
|
|
90
|
+
* `KanbanColumn` tracks its own in-flight state per column (shown as a spinner at the bottom of
|
|
91
|
+
* the list), so overlapping calls for the same column are never made concurrently. Also
|
|
92
|
+
* retried automatically if a loaded batch doesn't fill the column's visible height, since a
|
|
93
|
+
* column shorter than its own viewport never generates a scroll event to trigger a next page.
|
|
94
|
+
*/
|
|
95
|
+
onLoadMore?: (columnId: string) => void | Promise<void>;
|
|
96
|
+
/**
|
|
97
|
+
* Distance in px from the bottom of a column's scroll area that triggers `onLoadMore` (default
|
|
98
|
+
* `100`, matching `VirtualList`'s `loadMoreThreshold`).
|
|
99
|
+
*/
|
|
100
|
+
loadMoreThreshold?: number;
|
|
101
|
+
className?: string;
|
|
102
|
+
style?: CSSProperties;
|
|
103
|
+
classNames?: SlotClassNames<KanbanBoardSlots>;
|
|
104
|
+
styles?: SlotStyles<KanbanBoardSlots>;
|
|
105
|
+
}
|
|
106
|
+
export type KanbanColumnSlots = 'header' | 'items' | 'count' | 'placeholder' | 'actions' | 'loadingIndicator';
|
|
107
|
+
export interface KanbanColumnProps extends HtmlProps {
|
|
108
|
+
id: string;
|
|
109
|
+
title: string;
|
|
110
|
+
children?: ReactNode;
|
|
111
|
+
className?: string;
|
|
112
|
+
style?: CSSProperties;
|
|
113
|
+
classNames?: SlotClassNames<KanbanColumnSlots>;
|
|
114
|
+
styles?: SlotStyles<KanbanColumnSlots>;
|
|
115
|
+
}
|
|
116
|
+
export interface KanbanItemProps {
|
|
117
|
+
id: string;
|
|
118
|
+
dragHandle?: boolean;
|
|
119
|
+
/** Whether this card can't be picked up (column frozen, or the card itself is pinned). */
|
|
120
|
+
disabled?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Whether this card also can't be a drop target for other cards — i.e. other cards can't be
|
|
123
|
+
* reordered relative to it either. Only true when the *column* is frozen (nothing should be
|
|
124
|
+
* dropped into it at all); a card pinned individually via `getItemDisabled` stays droppable, so
|
|
125
|
+
* other cards can still land before/after it normally.
|
|
126
|
+
*/
|
|
127
|
+
preventAsDropTarget?: boolean;
|
|
128
|
+
children?: ReactNode;
|
|
129
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { Announcements, ClientRect, CollisionDetection, KeyboardCoordinateGetter } from '@dnd-kit/core';
|
|
2
|
+
import { KanbanColumnDef } from './kanbanBoard.types.js';
|
|
3
|
+
export declare function columnsEqual(a: KanbanColumnDef[], b: KanbanColumnDef[]): boolean;
|
|
4
|
+
export declare function findColumnForItem(columns: KanbanColumnDef[], itemId: string): number;
|
|
5
|
+
/** Whether a drag's `active`/`over` participant is a whole column (vs. a card) — see `reorderableColumns`. */
|
|
6
|
+
export declare function isColumnDragData(data: unknown): boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Reorders whole columns: moves `activeColumnId` to `overColumnId`'s position. Returns the same
|
|
9
|
+
* `columns` reference, unchanged, when either id doesn't resolve to a column or they're the same
|
|
10
|
+
* — callers can use that to skip a state update.
|
|
11
|
+
*/
|
|
12
|
+
export declare function moveColumn(columns: KanbanColumnDef[], activeColumnId: string, overColumnId: string): KanbanColumnDef[];
|
|
13
|
+
/**
|
|
14
|
+
* Collision detection for the board's shared `DndContext`, which has to pick between two very
|
|
15
|
+
* differently-scaled sets of droppables at once: individual cards / a column's own card list
|
|
16
|
+
* (small, numerous) and whole columns (large, few). Plain `closestCorners` weighs every
|
|
17
|
+
* registered droppable together regardless of what's actually being dragged, so while dragging a
|
|
18
|
+
* column it competes against every card and card-list droppable it happens to fly over too — the
|
|
19
|
+
* column-level target only wins when the pointer lands somewhere that geometrically favors it,
|
|
20
|
+
* which reads as needing to "wiggle it around" before the right drop target lights up. This
|
|
21
|
+
* restricts the candidates to only the same kind as whatever is being dragged: a column drag only
|
|
22
|
+
* considers other columns, a card drag only considers cards and card lists.
|
|
23
|
+
*/
|
|
24
|
+
export declare const kanbanCollisionDetection: CollisionDetection;
|
|
25
|
+
/** Extracts the column id from a column droppable's `column-<id>` identifier, or `null` for a card id. */
|
|
26
|
+
export declare function resolveColumnDropId(overId: string): string | null;
|
|
27
|
+
export interface DragGeometry {
|
|
28
|
+
/** The dragged card's current rect (translated by the drag delta), if measured. */
|
|
29
|
+
activeRect: ClientRect | null;
|
|
30
|
+
/** The rect of whatever `overId` refers to — a card, or a column's own droppable. */
|
|
31
|
+
overRect: ClientRect;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Computes the columns that result from dragging `activeItemId` over `overId` (a card id, or a
|
|
35
|
+
* `column-<id>` droppable id for empty column space). Returns the same `columns` reference,
|
|
36
|
+
* unchanged, when the drag doesn't resolve to a valid source/destination — callers can use that
|
|
37
|
+
* to skip a state update.
|
|
38
|
+
*
|
|
39
|
+
* `geometry` resolves cross-column drops that land on a card or gap with more than one possible
|
|
40
|
+
* position (see the two branches below for what each one decides).
|
|
41
|
+
*/
|
|
42
|
+
export declare function moveItem(columns: KanbanColumnDef[], activeItemId: string, overId: string, geometry: DragGeometry): KanbanColumnDef[];
|
|
43
|
+
/**
|
|
44
|
+
* Builds screen-reader drag announcements against the columns layout as currently understood
|
|
45
|
+
* (the live shadow layout while a drag is in progress, or the settled `columns` prop otherwise).
|
|
46
|
+
*/
|
|
47
|
+
export declare function buildAnnouncements<T>(columns: KanbanColumnDef[], items: Record<string, T>, getItemLabel: (item: T, id: string) => string): Announcements;
|
|
48
|
+
/**
|
|
49
|
+
* Custom keyboard coordinate getter for the board's multi-column, multi-`SortableContext`
|
|
50
|
+
* layout. dnd-kit's default `sortableKeyboardCoordinates` picks the geometrically closest
|
|
51
|
+
* droppable across the *entire* board — cards and column containers alike — which is unreliable
|
|
52
|
+
* once cards live inside independent per-column `SortableContext`s: up/down and left/right end up
|
|
53
|
+
* interchangeable depending on incidental rect positions. This instead restricts up/down to
|
|
54
|
+
* reordering within the active card's own column, and left/right to moving into the adjacent
|
|
55
|
+
* column (landing on the closest card there by vertical position, or the column itself when
|
|
56
|
+
* empty). Requires each `KanbanColumn`'s `SortableContext` to be given an explicit `id` matching
|
|
57
|
+
* its column id, so a card's `sortable.containerId` can be correlated with its `column-<id>`
|
|
58
|
+
* droppable.
|
|
59
|
+
*/
|
|
60
|
+
export declare const kanbanKeyboardCoordinateGetter: KeyboardCoordinateGetter;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './gifPreview.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './gifView.js';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { KlipyResult } from '../../services/klipy.js';
|
|
2
|
+
/** Text KlipyPicker renders of its own, for translating it. */
|
|
3
|
+
export interface KlipyPickerLabels {
|
|
4
|
+
/** Floating label on the search field. */
|
|
5
|
+
search?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface KlipyPickerProps {
|
|
8
|
+
className?: string;
|
|
9
|
+
token?: string;
|
|
10
|
+
isModal?: boolean;
|
|
11
|
+
onSelect?: (preview: KlipyResult | null) => void | Promise<void>;
|
|
12
|
+
selected?: string | null;
|
|
13
|
+
/** Overrides the text KlipyPicker renders of its own. Merged per key. */
|
|
14
|
+
labels?: KlipyPickerLabels;
|
|
15
|
+
}
|