@ahrowe/ui 0.35.0 → 0.37.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 +102 -72
- 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/index.d.ts +13 -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/useHotkeys.d.ts +45 -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 +37 -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/index.d.ts +1 -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 +3 -0
- package/dist/cjs-types/common/menu/menu.d.ts +14 -0
- package/dist/cjs-types/common/menu/menu.types.d.ts +61 -0
- package/dist/cjs-types/common/menu/menuHotkeys.d.ts +20 -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 +45 -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 +37 -0
- package/dist/cjs-types/common/sticky/stickyStack.d.ts +51 -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 +12 -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/scroller.d.ts +33 -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 +63 -0
- package/dist/cjs-types/common/virtualList/useRowNavigation.d.ts +60 -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 +55 -0
- package/dist/cjs-types/common/virtualList/virtualList.d.ts +5 -0
- package/dist/cjs-types/common/virtualList/virtualList.types.d.ts +357 -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 +155 -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/useHotkeys.mjs +2 -0
- package/dist/esm/common/hooks/useHotkeys.mjs.map +1 -0
- package/dist/esm/common/hooks/useScrollEdges.mjs +2 -0
- package/dist/esm/common/hooks/useScrollEdges.mjs.map +1 -0
- package/dist/esm/common/hooks/useSwipeDismiss.mjs +1 -1
- package/dist/esm/common/hooks/useSwipeDismiss.mjs.map +1 -1
- package/dist/esm/common/infiniteBlock/useInfiniteScroll.mjs +2 -0
- package/dist/esm/common/infiniteBlock/useInfiniteScroll.mjs.map +1 -0
- package/dist/esm/common/input/input.mjs +1 -1
- package/dist/esm/common/input/input.mjs.map +1 -1
- package/dist/esm/common/input/input.module.mjs +1 -1
- package/dist/esm/common/input/input.module.mjs.map +1 -1
- 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/menu/menu.mjs +1 -1
- package/dist/esm/common/menu/menu.mjs.map +1 -1
- package/dist/esm/common/menu/menu.types.mjs.map +1 -1
- package/dist/esm/common/menu/menuHotkeys.mjs +2 -0
- package/dist/esm/common/menu/menuHotkeys.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/multiSelect/multiSelect.module.mjs +1 -1
- package/dist/esm/common/multiSelect/multiSelect.module.mjs.map +1 -1
- package/dist/esm/common/otpInput/otpInput.module.mjs.map +1 -1
- package/dist/esm/common/popover/usePopoverPosition.mjs +1 -1
- package/dist/esm/common/popover/usePopoverPosition.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/sticky/sticky.mjs +1 -1
- package/dist/esm/common/sticky/sticky.mjs.map +1 -1
- package/dist/esm/common/sticky/stickyStack.mjs +1 -1
- package/dist/esm/common/sticky/stickyStack.mjs.map +1 -1
- 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/utils/scrollAncestors.mjs +1 -1
- package/dist/esm/common/utils/scrollAncestors.mjs.map +1 -1
- package/dist/esm/common/virtualList/scroller.mjs +2 -0
- package/dist/esm/common/virtualList/scroller.mjs.map +1 -0
- package/dist/esm/common/virtualList/useRowDrag.mjs +1 -1
- package/dist/esm/common/virtualList/useRowDrag.mjs.map +1 -1
- package/dist/esm/common/virtualList/useRowNavigation.mjs +1 -1
- package/dist/esm/common/virtualList/useRowNavigation.mjs.map +1 -1
- package/dist/esm/common/virtualList/useVirtualWindow.mjs +1 -1
- package/dist/esm/common/virtualList/useVirtualWindow.mjs.map +1 -1
- package/dist/esm/common/virtualList/virtualList.mjs +1 -1
- package/dist/esm/common/virtualList/virtualList.mjs.map +1 -1
- package/dist/esm/common/virtualList/virtualList.module.mjs +1 -1
- package/dist/esm/common/virtualList/virtualList.module.mjs.map +1 -1
- 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/index.d.ts +13 -0
- package/dist/types/common/hooks/useHotkeys.d.ts +45 -0
- package/dist/types/common/hooks/useScrollEdges.d.ts +18 -0
- package/dist/types/common/hooks/useSheet.d.ts +1 -1
- package/dist/types/common/hooks/useSwipeDismiss.d.ts +6 -2
- 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 +1 -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 +3 -2
- package/dist/types/common/menu/menu.d.ts +1 -1
- package/dist/types/common/menu/menu.types.d.ts +13 -7
- package/dist/types/common/menu/menuHotkeys.d.ts +20 -0
- 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 +2 -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 +2 -2
- package/dist/types/common/sticky/sticky.types.d.ts +16 -1
- package/dist/types/common/sticky/stickyStack.d.ts +5 -0
- 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/utils/scrollAncestors.d.ts +10 -0
- package/dist/types/common/virtualList/index.d.ts +2 -2
- package/dist/types/common/virtualList/scroller.d.ts +33 -0
- 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 +7 -2
- package/dist/types/common/virtualList/useRowNavigation.d.ts +12 -2
- package/dist/types/common/virtualList/useSorting.d.ts +1 -1
- package/dist/types/common/virtualList/useVirtualWindow.d.ts +22 -3
- package/dist/types/common/virtualList/virtualList.d.ts +3 -3
- package/dist/types/common/virtualList/virtualList.types.d.ts +44 -4
- 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 +154 -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 +124 -230
- package/docs/Card.md +1 -1
- package/docs/Divider.md +2 -0
- package/docs/Dropdown.md +20 -0
- package/docs/Hooks.md +232 -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 +57 -14
- package/docs/Menu.md +27 -3
- package/docs/Modal.md +34 -10
- package/docs/MultiSelect.md +2 -2
- package/docs/Pagination.md +1 -1
- package/docs/Popover.md +4 -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/Sticky.md +22 -1
- package/docs/Timer.md +1 -1
- package/docs/VirtualList.md +44 -4
- 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/esm/common/loading/iconLoading/iconLoading.mjs +0 -2
- package/dist/esm/common/loading/iconLoading/iconLoading.mjs.map +0 -1
- package/dist/esm/common/loading/iconLoading/iconLoading.module.mjs +0 -2
- package/dist/esm/common/loading/iconLoading/iconLoading.module.mjs.map +0 -1
- package/dist/esm/common/loading/iconLoading/index.mjs +0 -2
- package/dist/esm/common/loading/iconLoading/index.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/dist/types/common/loading/iconLoading/iconLoading.d.ts +0 -5
- package/dist/types/common/loading/iconLoading/index.d.ts +0 -2
- package/docs/Icon.md +0 -27
- package/docs/InfiniteBlock.md +0 -23
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* All CSS custom properties used by the component library.
|
|
3
|
+
* Every key is optional so a theme only needs to declare the variables it overrides.
|
|
4
|
+
* You may also add arbitrary custom variables via the index signature.
|
|
5
|
+
*/
|
|
6
|
+
export interface ThemeVariables {
|
|
7
|
+
'--grey'?: string;
|
|
8
|
+
'--lightgrey'?: string;
|
|
9
|
+
'--lightergrey'?: string;
|
|
10
|
+
'--white'?: string;
|
|
11
|
+
'--red'?: string;
|
|
12
|
+
'--lighter-red'?: string;
|
|
13
|
+
'--green'?: string;
|
|
14
|
+
'--lighter-green'?: string;
|
|
15
|
+
'--blue'?: string;
|
|
16
|
+
'--lighter-blue'?: string;
|
|
17
|
+
'--black'?: string;
|
|
18
|
+
'--primary-color'?: string;
|
|
19
|
+
/** Optional gradient layered over --primary-color on large filled surfaces (Button, Chip, ProgressBar, Switch, Slider, Pagination, OptionPicker, Badge). --primary-color stays the solid and stays required: borders, outlines, strokes, shadows and text read it, and a gradient is invalid in all of them. Unset means a flat --primary-color everywhere. */
|
|
20
|
+
'--primary-gradient'?: string;
|
|
21
|
+
'--primary-accent'?: string;
|
|
22
|
+
'--primary-lighter'?: string;
|
|
23
|
+
'--accent-color'?: string;
|
|
24
|
+
'--accent-color-light'?: string;
|
|
25
|
+
'--text-color'?: string;
|
|
26
|
+
'--text-dark'?: string;
|
|
27
|
+
'--text-light'?: string;
|
|
28
|
+
'--text-on-primary'?: string;
|
|
29
|
+
'--text-on-delete'?: string;
|
|
30
|
+
'--border-color'?: string;
|
|
31
|
+
/** Focus ring/border colour used across interactive components. Falls back to --primary-color when unset. */
|
|
32
|
+
'--focus-border-color'?: string;
|
|
33
|
+
'--background'?: string;
|
|
34
|
+
'--background-accent'?: string;
|
|
35
|
+
'--background-accent-dark'?: string;
|
|
36
|
+
'--background-accent-light'?: string;
|
|
37
|
+
'--background-modal'?: string;
|
|
38
|
+
/** Pale surface behind a checkbox and similar low-emphasis fills. */
|
|
39
|
+
'--light-background-color'?: string;
|
|
40
|
+
'--success-color'?: string;
|
|
41
|
+
'--success-lighter'?: string;
|
|
42
|
+
'--error-color'?: string;
|
|
43
|
+
'--error-lighter'?: string;
|
|
44
|
+
'--required-mark-color'?: string;
|
|
45
|
+
'--info-color'?: string;
|
|
46
|
+
'--info-lighter'?: string;
|
|
47
|
+
'--warn-color'?: string;
|
|
48
|
+
'--warn-lighter'?: string;
|
|
49
|
+
'--default-font-size'?: string;
|
|
50
|
+
'--text-small-font-size'?: string;
|
|
51
|
+
'--header-font-size'?: string;
|
|
52
|
+
'--header-medium-font-size'?: string;
|
|
53
|
+
'--header-small-font-size'?: string;
|
|
54
|
+
'--default-font-weight'?: string;
|
|
55
|
+
'--header-font-weight'?: string;
|
|
56
|
+
'--default-font'?: string;
|
|
57
|
+
'--themed-font'?: string;
|
|
58
|
+
/** Font for code and stack traces. Falls back to `monospace`. */
|
|
59
|
+
'--monospace-font'?: string;
|
|
60
|
+
'--disabled-input-color'?: string;
|
|
61
|
+
'--disabled-font-color'?: string;
|
|
62
|
+
'--input-background'?: string;
|
|
63
|
+
'--input-icon-color'?: string;
|
|
64
|
+
'--error-border-color'?: string;
|
|
65
|
+
'--input-label-resting-color'?: string;
|
|
66
|
+
'--input-label-floating-color'?: string;
|
|
67
|
+
'--search-input-color'?: string;
|
|
68
|
+
/** Colour of an input's error message. */
|
|
69
|
+
'--error-font-color'?: string;
|
|
70
|
+
'--default-border-radius'?: string;
|
|
71
|
+
'--padding-sides'?: string;
|
|
72
|
+
'--margin-top'?: string;
|
|
73
|
+
'--spacing-s'?: string;
|
|
74
|
+
'--spacing-m'?: string;
|
|
75
|
+
'--spacing-l'?: string;
|
|
76
|
+
/** Falls back to 4px. */
|
|
77
|
+
'--spacing-xs'?: string;
|
|
78
|
+
/** Avatar corner radius. Falls back to --default-border-radius when unset. */
|
|
79
|
+
'--avatar-radius'?: string;
|
|
80
|
+
/** Padding around the modal panel's content. Falls back to --spacing-l when unset. */
|
|
81
|
+
'--modal-padding'?: string;
|
|
82
|
+
/** Gap between the modal's header, body and footer. Falls back to --spacing-l when unset. */
|
|
83
|
+
'--modal-gap'?: string;
|
|
84
|
+
/** How far the modal body bleeds past its own edge so a focus ring isn't clipped by the
|
|
85
|
+
* scroll container. Falls back to half of --modal-gap when unset. */
|
|
86
|
+
'--modal-body-bleed'?: string;
|
|
87
|
+
/** How far the modal body's content fades into the header and footer while there is more to
|
|
88
|
+
* scroll. Set to 0px to switch the fade off. Falls back to --modal-gap plus --modal-body-bleed. */
|
|
89
|
+
'--modal-scroll-fade'?: string;
|
|
90
|
+
/** Widest the modal panel gets. Falls back to the width left once its own padding is kept
|
|
91
|
+
* clear on both sides. */
|
|
92
|
+
'--modal-max-width'?: string;
|
|
93
|
+
/** Tallest the modal panel gets. Falls back to the height left once its own padding is kept
|
|
94
|
+
* clear above and below. */
|
|
95
|
+
'--modal-max-height'?: string;
|
|
96
|
+
/** How far the fade runs from each edge. Falls back to 24px. Modal and Carousel set their own
|
|
97
|
+
* instead, through --modal-scroll-fade and a value tuned to the dot strip. */
|
|
98
|
+
'--scroll-fade-length'?: string;
|
|
99
|
+
/** Widest a bottom sheet gets before it stops growing and centres. Falls back to 560px. */
|
|
100
|
+
'--sheet-max-width'?: string;
|
|
101
|
+
/** Tallest a bottom sheet gets, as a ceiling on top of the space actually visible. Falls back
|
|
102
|
+
* to 70dvh. Modal sets 90dvh on its own panel, so this does not reach a Modal sheet. */
|
|
103
|
+
'--sheet-max-height'?: string;
|
|
104
|
+
/** Padding below a sheet's content, clearing a phone's home indicator. Falls back to 8px, or
|
|
105
|
+
* the device's own safe-area inset where that is larger. Modal sets --modal-padding on its own
|
|
106
|
+
* panel, so this does not reach a Modal sheet. */
|
|
107
|
+
'--sheet-safe-padding'?: string;
|
|
108
|
+
/** Default-style button background. Falls back to transparent when unset. */
|
|
109
|
+
'--button-default-background'?: string;
|
|
110
|
+
/** Default-style button text colour. Falls back to --text-color when unset. */
|
|
111
|
+
'--button-default-color'?: string;
|
|
112
|
+
/** Default-style button border (full `border` shorthand, e.g. `1px solid var(--border-color)`). Falls back to a transparent 1px border when unset. */
|
|
113
|
+
'--button-default-border'?: string;
|
|
114
|
+
'--card-shadow'?: string;
|
|
115
|
+
'--background-card-elevated'?: string;
|
|
116
|
+
'--background-card-outlined'?: string;
|
|
117
|
+
'--background-card-filled'?: string;
|
|
118
|
+
/** Slider track (unfilled) colour. Falls back to --background-accent-light. */
|
|
119
|
+
'--slider-track-color'?: string;
|
|
120
|
+
/** Slider filled-range colour. Falls back to --primary-color. */
|
|
121
|
+
'--slider-range-color'?: string;
|
|
122
|
+
/** Slider thumb colour. Falls back to --primary-color. */
|
|
123
|
+
'--slider-thumb-color'?: string;
|
|
124
|
+
/** Slider thumb diameter. Falls back to 1.125x --default-font-size, i.e. 18px at a 16px base (also settable per instance via the `size` prop). */
|
|
125
|
+
'--slider-thumb-size'?: string;
|
|
126
|
+
/** Slider track thickness. Falls back to 0.375x --default-font-size, i.e. 6px at a 16px base. */
|
|
127
|
+
'--slider-track-height'?: string;
|
|
128
|
+
/** Step marker diameter. Falls back to 40px. */
|
|
129
|
+
'--stepper-marker-size'?: string;
|
|
130
|
+
/** Step marker corner radius. Falls back to --default-border-radius. */
|
|
131
|
+
'--stepper-marker-radius'?: string;
|
|
132
|
+
/** Idle (upcoming) marker/connector colour. Falls back to --primary-lighter. */
|
|
133
|
+
'--stepper-idle-color'?: string;
|
|
134
|
+
/** Current-step marker colour. Falls back to --primary-color. */
|
|
135
|
+
'--stepper-active-color'?: string;
|
|
136
|
+
/** Completed-step marker fill/colour. Falls back to --primary-color. */
|
|
137
|
+
'--stepper-done-color'?: string;
|
|
138
|
+
/** Errored-step marker colour. Falls back to --error-color. */
|
|
139
|
+
'--stepper-error-color'?: string;
|
|
140
|
+
/** Completed connector colour. Falls back to --primary-color. */
|
|
141
|
+
'--stepper-connector-color'?: string;
|
|
142
|
+
/** Completed connector thickness. Falls back to 3px. */
|
|
143
|
+
'--stepper-connector-thickness'?: string;
|
|
144
|
+
/** Not-yet-reached connector thickness. Falls back to 1px. */
|
|
145
|
+
'--stepper-connector-idle-thickness'?: string;
|
|
146
|
+
/** Gap between marker and label, and grid column gap. Falls back to 12px. */
|
|
147
|
+
'--stepper-gap'?: string;
|
|
148
|
+
/** Text/check colour on a filled marker. Falls back to --text-on-primary. */
|
|
149
|
+
'--stepper-text-on-marker'?: string;
|
|
150
|
+
/** Timer ring track (unfilled) colour. Falls back to --background-accent-light. */
|
|
151
|
+
'--timer-track-color'?: string;
|
|
152
|
+
/** Timer ring progress (remaining time) colour. Falls back to --primary-color. */
|
|
153
|
+
'--timer-progress-color'?: string;
|
|
154
|
+
/** Timer ring colour once inside the urgent threshold. Falls back to --error-color. */
|
|
155
|
+
'--timer-urgent-color'?: string;
|
|
156
|
+
/** Timer ring diameter. Falls back to 10em, i.e. 160px at a 16px base (also settable per instance via the `size` prop). */
|
|
157
|
+
'--timer-size'?: string;
|
|
158
|
+
/** Timer ring stroke thickness. Falls back to 10px (also settable per instance via `strokeWidth`). */
|
|
159
|
+
'--timer-stroke-width'?: string;
|
|
160
|
+
/** Timer MM:SS readout text colour. Falls back to --text-color. */
|
|
161
|
+
'--timer-text-color'?: string;
|
|
162
|
+
/** Timer label (below the readout) text colour. Falls back to --text-dark. */
|
|
163
|
+
'--timer-label-color'?: string;
|
|
164
|
+
/** Ripple shown as the timer runs out. Falls back to --timer-progress-color. */
|
|
165
|
+
'--timer-ripple-color'?: string;
|
|
166
|
+
/** Tooltip bubble and details badge. Falls back to an inverse of the page: --text-color mixed 82% into --background. */
|
|
167
|
+
'--tooltip-background'?: string;
|
|
168
|
+
/** Text on that bubble. Falls back to --background. */
|
|
169
|
+
'--tooltip-color'?: string;
|
|
170
|
+
/** Size of the checkmark box. Falls back to 1.375em, i.e. 22px at a 16px base. */
|
|
171
|
+
'--checkbox-size'?: string;
|
|
172
|
+
/** Gap between the box and its label. Falls back to 0.5em, i.e. 8px at a 16px base. */
|
|
173
|
+
'--checkbox-gap'?: string;
|
|
174
|
+
/** Size of the inline colour swatch. Falls back to 2em, i.e. 32px at a 16px base. */
|
|
175
|
+
'--swatch-size'?: string;
|
|
176
|
+
/** Diameter of a radio. Falls back to 1.125em, i.e. 18px at a 16px base. */
|
|
177
|
+
'--radio-size'?: string;
|
|
178
|
+
/** Gap between a radio and its label. Falls back to 0.625em, i.e. 10px at a 16px base. */
|
|
179
|
+
'--radio-gap'?: string;
|
|
180
|
+
/** Diameter of the main button. Falls back to 56px. */
|
|
181
|
+
'--fab-size'?: string;
|
|
182
|
+
/** Diameter of a speed-dial entry's button. Falls back to 40px. */
|
|
183
|
+
'--fab-mini-size'?: string;
|
|
184
|
+
/** Icon box inside either. Falls back to 18px, and does not follow --fab-size. */
|
|
185
|
+
'--fab-icon-size'?: string;
|
|
186
|
+
/** Dot colour. Falls back to --primary-color. */
|
|
187
|
+
'--timeline-dot-color'?: string;
|
|
188
|
+
/** Ring drawn around a dot, separating it from the line. Falls back to --background. */
|
|
189
|
+
'--timeline-dot-border'?: string;
|
|
190
|
+
/** Dot diameter. Falls back to 14px. */
|
|
191
|
+
'--timeline-dot-size'?: string;
|
|
192
|
+
/** Diameter of a dot carrying an icon. Falls back to 28px. */
|
|
193
|
+
'--timeline-icon-dot-size'?: string;
|
|
194
|
+
/** Connector colour. Falls back to --border-color. */
|
|
195
|
+
'--timeline-line-color'?: string;
|
|
196
|
+
/** Connector thickness. Falls back to 2px. */
|
|
197
|
+
'--timeline-line-thickness'?: string;
|
|
198
|
+
/** Gap between the dot column and the content. Falls back to 16px. */
|
|
199
|
+
'--timeline-gap'?: string;
|
|
200
|
+
/** Vertical gap between items. Falls back to 20px. */
|
|
201
|
+
'--timeline-item-gap'?: string;
|
|
202
|
+
/** Row height. Falls back to 32px. */
|
|
203
|
+
'--tree-node-height'?: string;
|
|
204
|
+
/** Selected row background. Falls back to --primary-color. */
|
|
205
|
+
'--tree-selected-background'?: string;
|
|
206
|
+
/** Selected row text. Falls back to --text-on-primary. */
|
|
207
|
+
'--tree-selected-color'?: string;
|
|
208
|
+
/** Page button size. Falls back to 36px. */
|
|
209
|
+
'--pagination-size'?: string;
|
|
210
|
+
/** Gap between page buttons. Falls back to 4px. */
|
|
211
|
+
'--pagination-gap'?: string;
|
|
212
|
+
/** Current page background. Falls back to --primary-color. */
|
|
213
|
+
'--pagination-active-background'?: string;
|
|
214
|
+
/** Current page text. Falls back to --text-on-primary. */
|
|
215
|
+
'--pagination-active-color'?: string;
|
|
216
|
+
/** Filled symbol. Falls back to --primary-color. */
|
|
217
|
+
'--rating-filled-color'?: string;
|
|
218
|
+
/** Empty symbol. Falls back to --background-accent-light. */
|
|
219
|
+
'--rating-empty-color'?: string;
|
|
220
|
+
/** Symbol size. Falls back to 1.25x --default-font-size, i.e. 20px at a 16px base. */
|
|
221
|
+
'--rating-size'?: string;
|
|
222
|
+
/** Minimum height of the control. Falls back to `calc(1.25em + 14px)`. */
|
|
223
|
+
'--multi-select-min-height'?: string;
|
|
224
|
+
/** Maximum height of the open option panel. Falls back to 260px. */
|
|
225
|
+
'--multi-select-panel-height'?: string;
|
|
226
|
+
/** Width a column collapses to once it has no cards (see `collapseEmptyColumns`). Falls back to 140px. */
|
|
227
|
+
'--kanban-empty-column-width'?: string;
|
|
228
|
+
'--option-picker-padding'?: string;
|
|
229
|
+
/** Track (unfilled) background colour. Falls back to --background-accent. */
|
|
230
|
+
'--progress-bar-track-color'?: string;
|
|
231
|
+
/** Canvas behind the plan. Falls back to --background. */
|
|
232
|
+
'--plan-canvas-background'?: string;
|
|
233
|
+
/** Grid lines, drawn at low opacity. Falls back to --text-color. */
|
|
234
|
+
'--plan-grid-color'?: string;
|
|
235
|
+
/** The storey below, traced under the current one. Falls back to --text-dark. */
|
|
236
|
+
'--plan-underlay-color'?: string;
|
|
237
|
+
/** Room floor. Falls back to --background-accent. */
|
|
238
|
+
'--plan-room-fill'?: string;
|
|
239
|
+
/** Room floor under the pointer. Falls back to --background-accent-light. */
|
|
240
|
+
'--plan-room-fill-hover'?: string;
|
|
241
|
+
/** Edge of the walls bounding a selected room. Falls back to --primary-color. */
|
|
242
|
+
'--plan-room-edge-selected'?: string;
|
|
243
|
+
/** Body of those same walls. Falls back to --primary-lighter. */
|
|
244
|
+
'--plan-room-edge-selected-fill'?: string;
|
|
245
|
+
/** Wall body. Falls back to --text-color mixed 58% into the canvas. */
|
|
246
|
+
'--plan-wall-fill'?: string;
|
|
247
|
+
/** Wall edge, its caps and the jamb faces. Falls back to --text-color mixed 38% in. */
|
|
248
|
+
'--plan-wall-outline'?: string;
|
|
249
|
+
/** Wall corner treatment, any `stroke-linejoin` value. Falls back to `round`. */
|
|
250
|
+
'--plan-wall-join'?: string;
|
|
251
|
+
/** How far a mitred corner may run, when --plan-wall-join is `miter`. Falls back to `4`. */
|
|
252
|
+
'--plan-wall-miter-limit'?: string;
|
|
253
|
+
/** Door leaf and swing arc. Falls back to --text-dark. */
|
|
254
|
+
'--plan-door-color'?: string;
|
|
255
|
+
/** Window pane line. Falls back to --info-color. */
|
|
256
|
+
'--plan-window-color'?: string;
|
|
257
|
+
/** RoomDrawer's snap construction lines. Falls back to --info-color. */
|
|
258
|
+
'--plan-guide-color'?: string;
|
|
259
|
+
/** RoomDrawer's ruler. Falls back to --primary-color. */
|
|
260
|
+
'--plan-measure-color'?: string;
|
|
261
|
+
[key: string]: string | undefined;
|
|
262
|
+
}
|
|
263
|
+
export interface Theme {
|
|
264
|
+
/** Unique identifier used to select this theme via `currentThemeId`. */
|
|
265
|
+
id: string;
|
|
266
|
+
/**
|
|
267
|
+
* ID of another theme whose variables are applied before this theme's own
|
|
268
|
+
* variables, enabling lightweight inheritance / layering.
|
|
269
|
+
*/
|
|
270
|
+
baseThemeId?: string;
|
|
271
|
+
variables: ThemeVariables;
|
|
272
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { default as React, Component } from 'react';
|
|
2
|
+
import { Theme } from './theme.types.js';
|
|
3
|
+
interface Props {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
themes?: Theme[];
|
|
6
|
+
currentThemeId?: string;
|
|
7
|
+
}
|
|
8
|
+
interface State {
|
|
9
|
+
resolvedVariables: Record<string, string>;
|
|
10
|
+
colorFadeActive: boolean;
|
|
11
|
+
currentThemeColor: string | null;
|
|
12
|
+
}
|
|
13
|
+
declare class ThemeProvider extends Component<Props, State> {
|
|
14
|
+
state: State;
|
|
15
|
+
private colorFadeTimeout;
|
|
16
|
+
private wrapperRef;
|
|
17
|
+
private themeColorMeta;
|
|
18
|
+
private createdThemeColorMeta;
|
|
19
|
+
componentDidMount(): void;
|
|
20
|
+
componentDidUpdate(prevProps: Props, prevState: State): void;
|
|
21
|
+
componentWillUnmount(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Replaces the former react-helmet usage: keep a single
|
|
24
|
+
* <meta name="theme-color"> in sync with the active theme's primary colour.
|
|
25
|
+
* Reuses a tag the host app already declares; otherwise creates its own
|
|
26
|
+
* (and removes it again on unmount).
|
|
27
|
+
*/
|
|
28
|
+
private syncThemeColorMeta;
|
|
29
|
+
/**
|
|
30
|
+
* Resolves the full variable set for a given theme ID by walking up the
|
|
31
|
+
* baseThemeId chain. Returns variables ordered from deepest ancestor to
|
|
32
|
+
* the requested theme so callers can merge in order (later entries win).
|
|
33
|
+
*/
|
|
34
|
+
private resolveChain;
|
|
35
|
+
private applyTheme;
|
|
36
|
+
render(): React.JSX.Element;
|
|
37
|
+
}
|
|
38
|
+
export default ThemeProvider;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The nearest ThemeProvider's resolved variables, for content that renders outside its DOM
|
|
3
|
+
* subtree. Theme variables reach a component by CSS inheritance, which a portal breaks: a
|
|
4
|
+
* `BodyEnd` child lands wherever `#bodyEnd` happens to be, so it picks up whatever provider
|
|
5
|
+
* wraps *that* node rather than the one it was written under.
|
|
6
|
+
*
|
|
7
|
+
* Deliberately its own module rather than a member of `themeProvider.tsx`: BodyEnd needs the
|
|
8
|
+
* context and nothing else, and importing the component for it would pull the whole
|
|
9
|
+
* ThemeProvider into every bundle that uses a portal.
|
|
10
|
+
*/
|
|
11
|
+
export declare const ThemeVariablesContext: import('react').Context<Record<string, string> | null>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode, Ref } from 'react';
|
|
2
|
+
import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types.js';
|
|
3
|
+
import { TiltAxisLock } from './tiltMath.js';
|
|
4
|
+
export type TiltTrackingMode = 'self' | 'group';
|
|
5
|
+
export type TiltSlots = 'root' | 'perspective' | 'surface';
|
|
6
|
+
export interface TiltHandle {
|
|
7
|
+
/** Directly drives the tilt rotation, clamped to `maxTilt`/`maxTiltX`/`maxTiltY`. For custom choreography (e.g. shuffling). */
|
|
8
|
+
setTilt: (rotateX: number, rotateY: number) => void;
|
|
9
|
+
/** Returns to flat. */
|
|
10
|
+
reset: () => void;
|
|
11
|
+
}
|
|
12
|
+
export interface TiltProps extends HtmlProps {
|
|
13
|
+
children?: ReactNode;
|
|
14
|
+
/** Shared clamp for both tilt axes, in degrees. @default 15 */
|
|
15
|
+
maxTilt?: number;
|
|
16
|
+
/** Overrides `maxTilt` for the X axis (tilts top/bottom edges, driven by vertical cursor position). */
|
|
17
|
+
maxTiltX?: number;
|
|
18
|
+
/** Overrides `maxTilt` for the Y axis (tilts left/right edges, driven by horizontal cursor position). */
|
|
19
|
+
maxTiltY?: number;
|
|
20
|
+
/** CSS `perspective` in px, applied to the perspective wrapper. @default 800 */
|
|
21
|
+
perspective?: number;
|
|
22
|
+
/** Easing curve applied to the normalized cursor offset (range roughly [-1, 1]) before scaling by `maxTilt`. @default defaultTiltEasing */
|
|
23
|
+
easing?: (t: number) => number;
|
|
24
|
+
/** Disables tilt on one axis entirely. @default 'none' */
|
|
25
|
+
lockAxis?: TiltAxisLock;
|
|
26
|
+
/** Cosmetic `scale()` applied together with the tilt while tracking. @default 1 */
|
|
27
|
+
scaleOnHover?: number;
|
|
28
|
+
/** `'self'` tracks the pointer over this element's own bounding box; `'group'` reads a shared pointer position from an ancestor `TiltGroup`, falling back to `'self'` if none exists. @default 'self' */
|
|
29
|
+
trackingMode?: TiltTrackingMode;
|
|
30
|
+
/** Disables tilt tracking entirely. @default false */
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
/** Fires on every applied tilt update. */
|
|
33
|
+
onTiltChange?: (rotateX: number, rotateY: number) => void;
|
|
34
|
+
/** Imperative handle for driving the tilt directly. */
|
|
35
|
+
ref?: Ref<TiltHandle>;
|
|
36
|
+
className?: string;
|
|
37
|
+
style?: CSSProperties;
|
|
38
|
+
classNames?: SlotClassNames<TiltSlots>;
|
|
39
|
+
styles?: SlotStyles<TiltSlots>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type TiltAxisLock = 'x' | 'y' | 'none';
|
|
2
|
+
export interface ComputeTiltOptions {
|
|
3
|
+
maxTiltX: number;
|
|
4
|
+
maxTiltY: number;
|
|
5
|
+
easing: (t: number) => number;
|
|
6
|
+
lockAxis: TiltAxisLock;
|
|
7
|
+
}
|
|
8
|
+
export interface TiltResult {
|
|
9
|
+
rotateX: number;
|
|
10
|
+
rotateY: number;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Eases faster near the edges (|t| close to 1) and flatter near the center (|t| close to 0),
|
|
14
|
+
* while staying odd-symmetric so tilt direction always matches cursor direction.
|
|
15
|
+
*/
|
|
16
|
+
export declare function defaultTiltEasing(t: number): number;
|
|
17
|
+
/**
|
|
18
|
+
* Computes the tilt rotation for a pointer at (x, y) relative to `rect`'s top-left corner.
|
|
19
|
+
* Vertical cursor position drives rotateX (tilts top/bottom edges), horizontal drives rotateY.
|
|
20
|
+
*/
|
|
21
|
+
export declare function computeTilt(x: number, y: number, rect: {
|
|
22
|
+
width: number;
|
|
23
|
+
height: number;
|
|
24
|
+
}, { maxTiltX, maxTiltY, easing, lockAxis }: ComputeTiltOptions): TiltResult;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { TiltGroupContextValue, TiltGroupProps } from './tiltGroup.types.js';
|
|
3
|
+
export declare const TiltGroupContext: import('react').Context<TiltGroupContextValue | null>;
|
|
4
|
+
export declare function useTiltGroup(): TiltGroupContextValue | null;
|
|
5
|
+
declare function TiltGroup({ children, className, style, ...rest }: TiltGroupProps): ReactElement;
|
|
6
|
+
export default TiltGroup;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { HtmlProps } from '../types/slots.types.js';
|
|
3
|
+
export interface TiltGroupContextValue {
|
|
4
|
+
/** Last known pointer position, in coordinates relative to the group container's top-left corner. `null` once the pointer has left. */
|
|
5
|
+
pointer: {
|
|
6
|
+
x: number;
|
|
7
|
+
y: number;
|
|
8
|
+
} | null;
|
|
9
|
+
/** The group container's bounding rect, refreshed on pointer enter/move. */
|
|
10
|
+
rect: DOMRect | null;
|
|
11
|
+
}
|
|
12
|
+
export interface TiltGroupProps extends HtmlProps {
|
|
13
|
+
children?: ReactNode;
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: CSSProperties;
|
|
16
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TimeValue } from '../../timeFunctions.js';
|
|
2
|
+
import { SlotClassNames, SlotStyles } from '../../../types/slots.types.js';
|
|
3
|
+
import { TimeInputSlots } from '../../timeInput.types.js';
|
|
4
|
+
export type ClockMode = 'hours' | 'minutes';
|
|
5
|
+
export interface ClockDialProps {
|
|
6
|
+
time: TimeValue;
|
|
7
|
+
mode: ClockMode;
|
|
8
|
+
use24Hour: boolean;
|
|
9
|
+
minuteStep: number;
|
|
10
|
+
/** Live update while clicking/dragging. */
|
|
11
|
+
onChange: (time: TimeValue) => void;
|
|
12
|
+
/** Pointer released on a value — parent decides whether to advance mode or close. */
|
|
13
|
+
onCommit: (time: TimeValue) => void;
|
|
14
|
+
classNames?: SlotClassNames<TimeInputSlots>;
|
|
15
|
+
styles?: SlotStyles<TimeInputSlots>;
|
|
16
|
+
}
|
|
17
|
+
export interface DialNumber {
|
|
18
|
+
label: string;
|
|
19
|
+
/** Step index from the top, clockwise. */
|
|
20
|
+
slot: number;
|
|
21
|
+
/** Resolved hour (0–23) or minute (0–59) this number represents. */
|
|
22
|
+
value: number;
|
|
23
|
+
ring: 'outer' | 'inner';
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './clockDial.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './timeInput.js';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export interface TimeValue {
|
|
2
|
+
hours: number;
|
|
3
|
+
minutes: number;
|
|
4
|
+
}
|
|
5
|
+
export declare const clampHour: (h: number) => number;
|
|
6
|
+
export declare const clampMinute: (m: number) => number;
|
|
7
|
+
/** Parse a "HH:MM" (24-hour) string. Returns null for anything that isn't a valid time. */
|
|
8
|
+
export declare function parseTimeString(value: string | null | undefined): TimeValue | null;
|
|
9
|
+
/** Format a TimeValue as a zero-padded "HH:MM" string. */
|
|
10
|
+
export declare function formatTime(time: TimeValue | null | undefined): string;
|
|
11
|
+
/** Snap a minute value to the nearest multiple of `step` (step <= 1 is a no-op). */
|
|
12
|
+
export declare function snapMinute(minute: number, step: number): number;
|
|
13
|
+
export declare const timeToMinutes: (time: TimeValue) => number;
|
|
14
|
+
/** Clamp a time into [min, max] (both "HH:MM" strings, either optional). */
|
|
15
|
+
export declare function clampToRange(time: TimeValue, min?: string | null, max?: string | null): TimeValue;
|
|
16
|
+
export declare function isWithinRange(time: TimeValue, min?: string | null, max?: string | null): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Auto-correct a masked "HH:MM" value as the user types: clamp the hour segment to 23
|
|
19
|
+
* and the minute segment to 59 so the field can never hold an impossible time.
|
|
20
|
+
*/
|
|
21
|
+
export declare function correctTimeMaskValue(value: string): string;
|
|
22
|
+
export interface DialPoint {
|
|
23
|
+
x: number;
|
|
24
|
+
y: number;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Cartesian coordinates for a point on the dial. `slot` is the step index from the
|
|
28
|
+
* top of the clock, going clockwise; `stepDegrees` is the angle between steps
|
|
29
|
+
* (30° for hours, 6° for minutes). Returns coordinates relative to (cx, cy).
|
|
30
|
+
*/
|
|
31
|
+
export declare function polarPoint(cx: number, cy: number, radius: number, slot: number, stepDegrees: number): DialPoint;
|
|
32
|
+
/** Rotation (deg) of a hand pointing at `slot`. A 3-o'clock-default hand points up at slot 0. */
|
|
33
|
+
export declare const handAngle: (slot: number, stepDegrees: number) => number;
|
|
34
|
+
/** Angle (0–360, clockwise from top) of a pointer at (dx, dy) relative to the dial centre. */
|
|
35
|
+
export declare function pointerAngle(dx: number, dy: number): number;
|
|
36
|
+
export declare const pointerRadius: (dx: number, dy: number) => number;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TimeInputProps } from './timeInput.types.js';
|
|
3
|
+
export default function TimeInput({ value, selected, onChange, onSelect, formValidator, isInline, isModal, noInput, noHeader, showClearButton, showNowButton, minuteStep, use24Hour, minTime, maxTime, label, isValid, errorMessage, isRequired, disabled, className, style, classNames, styles: slotStyles, ...rest }: TimeInputProps): React.JSX.Element;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { FormValidator } from '../../services/formValidation/index.js';
|
|
3
|
+
import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types.js';
|
|
4
|
+
export type TimeInputSlots = 'root' | 'clock' | 'clockHeader' | 'headerSegment' | 'meridiem' | 'clockFace' | 'clockHand' | 'clockNumber' | 'footer';
|
|
5
|
+
export interface TimeInputProps extends Omit<HtmlProps, 'onChange' | 'onSelect'> {
|
|
6
|
+
/** Current time as a "HH:MM" (24-hour) string. */
|
|
7
|
+
value?: string | null;
|
|
8
|
+
/** Alias for `value`, to mirror DatePicker. */
|
|
9
|
+
selected?: string | null;
|
|
10
|
+
/** Fired on every change (typing or dial interaction). Emits null when cleared/invalid. */
|
|
11
|
+
onChange?: ((time: string | null) => void) | null;
|
|
12
|
+
/** Fired when a time is committed via the dial (and the popover closes). */
|
|
13
|
+
onSelect?: ((time: string | null) => void) | null;
|
|
14
|
+
formValidator?: FormValidator | null;
|
|
15
|
+
/** Render the dial inline instead of in a popover. */
|
|
16
|
+
isInline?: boolean;
|
|
17
|
+
/** Open the dial inside a Modal overlay. */
|
|
18
|
+
isModal?: boolean;
|
|
19
|
+
/** Hide the text input entirely (dial only). */
|
|
20
|
+
noInput?: boolean;
|
|
21
|
+
/** Hide the big HH:MM header above the dial. */
|
|
22
|
+
noHeader?: boolean;
|
|
23
|
+
/** Show a "clear" action in the footer. */
|
|
24
|
+
showClearButton?: boolean;
|
|
25
|
+
/** Show a "now" quick-select action in the footer. */
|
|
26
|
+
showNowButton?: boolean;
|
|
27
|
+
/** Snap minutes to this step on the dial (e.g. 5, 15). Default 1. */
|
|
28
|
+
minuteStep?: number;
|
|
29
|
+
/** 24-hour dial (double ring) when true (default); 12-hour dial + AM/PM when false. */
|
|
30
|
+
use24Hour?: boolean;
|
|
31
|
+
/** Lower bound, inclusive, as "HH:MM". */
|
|
32
|
+
minTime?: string | null;
|
|
33
|
+
/** Upper bound, inclusive, as "HH:MM". */
|
|
34
|
+
maxTime?: string | null;
|
|
35
|
+
label?: string;
|
|
36
|
+
isValid?: boolean;
|
|
37
|
+
errorMessage?: string;
|
|
38
|
+
isRequired?: boolean;
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
className?: string;
|
|
41
|
+
style?: React.CSSProperties;
|
|
42
|
+
classNames?: SlotClassNames<TimeInputSlots>;
|
|
43
|
+
styles?: SlotStyles<TimeInputSlots>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IconContent } from '../types/icon.types.js';
|
|
3
|
+
import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types.js';
|
|
4
|
+
/** Layout of entries relative to the connecting line. */
|
|
5
|
+
export declare enum TimelineAlignment {
|
|
6
|
+
/** Line and markers on the left, content to the right (the default). */
|
|
7
|
+
Left = "left",
|
|
8
|
+
/** Line and markers on the right, content to the left. */
|
|
9
|
+
Right = "right",
|
|
10
|
+
/** Line down the center, entries alternating left/right. */
|
|
11
|
+
Alternate = "alternate"
|
|
12
|
+
}
|
|
13
|
+
/** Semantic colour for an entry's marker, matching the theme's status colours. */
|
|
14
|
+
export declare enum TimelineItemStatus {
|
|
15
|
+
Default = "default",
|
|
16
|
+
Primary = "primary",
|
|
17
|
+
Success = "success",
|
|
18
|
+
Warn = "warn",
|
|
19
|
+
Error = "error"
|
|
20
|
+
}
|
|
21
|
+
export type TimelineSlots = 'root' | 'item' | 'marker' | 'dot' | 'connector' | 'content' | 'title' | 'description' | 'timestamp';
|
|
22
|
+
export interface TimelineItem {
|
|
23
|
+
/** Stable identity for the entry, used as its React key. Falls back to its array index when omitted; pass one whenever `items` can be reordered or have entries prepended (e.g. a live "newest first" audit log), so React doesn't misattribute row state across the shift. */
|
|
24
|
+
id?: string | number;
|
|
25
|
+
/** Primary label for the entry. */
|
|
26
|
+
title: React.ReactNode;
|
|
27
|
+
/** Secondary line under the title. */
|
|
28
|
+
description?: React.ReactNode;
|
|
29
|
+
/** Rendered next to the title, e.g. a date or relative time ("2 hours ago"). */
|
|
30
|
+
timestamp?: React.ReactNode;
|
|
31
|
+
/** Icon shown in the marker instead of a plain dot — a FontAwesome icon or any node. */
|
|
32
|
+
icon?: IconContent;
|
|
33
|
+
/** Semantic marker colour (default `Default`). */
|
|
34
|
+
status?: TimelineItemStatus;
|
|
35
|
+
/** Extra content rendered under the description, e.g. a diff, an attachment, an actor avatar. */
|
|
36
|
+
content?: React.ReactNode;
|
|
37
|
+
/** Makes the whole entry clickable (e.g. to open the full record), rendering it as an accessible button. */
|
|
38
|
+
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
39
|
+
/** Disables the entry: never clickable, dimmed. Only relevant alongside `onClick`. */
|
|
40
|
+
disabled?: boolean;
|
|
41
|
+
}
|
|
42
|
+
export interface TimelineProps extends HtmlProps {
|
|
43
|
+
/** The entries to render, in display order (typically newest first for an audit log). */
|
|
44
|
+
items?: TimelineItem[];
|
|
45
|
+
/** Layout of entries relative to the connecting line (default `Left`). */
|
|
46
|
+
alignment?: TimelineAlignment;
|
|
47
|
+
className?: string;
|
|
48
|
+
style?: React.CSSProperties;
|
|
49
|
+
classNames?: SlotClassNames<TimelineSlots>;
|
|
50
|
+
styles?: SlotStyles<TimelineSlots>;
|
|
51
|
+
}
|