@kapiuara/ui 0.12.0 → 0.13.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 +1197 -49
- package/dist/components/chat/KapiChatDivider.d.ts +1 -2
- package/dist/components/chat/KapiChatDivider.js +1 -0
- package/dist/components/chat/KapiChatList.d.ts +10 -6
- package/dist/components/chat/KapiChatList.js +12 -11
- package/dist/components/chat/KapiChatThread.d.ts +2 -3
- package/dist/components/chat/KapiChatThread.js +73 -52
- package/dist/components/chat/KapiComposer.d.ts +3 -4
- package/dist/components/chat/KapiComposer.js +2 -1
- package/dist/components/chat/KapiMessageBubble.d.ts +3 -4
- package/dist/components/chat/KapiMessageBubble.js +1 -0
- package/dist/components/chat/KapiTypingIndicator.d.ts +2 -3
- package/dist/components/chat/KapiTypingIndicator.js +1 -0
- package/dist/components/chat/chatLogic.d.ts +6 -0
- package/dist/components/chat/chatLogic.js +2 -2
- package/dist/components/chat/index.d.ts +18 -14
- package/dist/components/data/KapiBarChart.d.ts +13 -14
- package/dist/components/data/KapiBarChart.js +54 -52
- package/dist/components/data/KapiDataTable.d.ts +56 -0
- package/dist/components/data/KapiDataTable.js +143 -0
- package/dist/components/data/KapiEventCalendar.d.ts +9 -4
- package/dist/components/data/KapiEventCalendar.js +100 -96
- package/dist/components/data/KapiHeatmap.d.ts +8 -9
- package/dist/components/data/KapiHeatmap.js +64 -63
- package/dist/components/data/KapiLineChart.d.ts +9 -10
- package/dist/components/data/KapiLineChart.js +59 -56
- package/dist/components/data/KapiPagination.d.ts +6 -4
- package/dist/components/data/KapiPagination.js +2 -1
- package/dist/components/data/KapiPaginationFooter.d.ts +2 -3
- package/dist/components/data/KapiPaginationFooter.js +7 -4
- package/dist/components/data/KapiSparkline.d.ts +8 -9
- package/dist/components/data/KapiSparkline.js +1 -0
- package/dist/components/data/KapiTable.d.ts +7 -360
- package/dist/components/data/KapiTable.js +417 -692
- package/dist/components/data/KapiTableFilter.d.ts +16 -10
- package/dist/components/data/KapiTableFilter.js +50 -48
- package/dist/components/data/KapiTableRow.d.ts +55 -0
- package/dist/components/data/KapiTableRow.js +103 -0
- package/dist/components/data/KapiTableToolbar.d.ts +37 -0
- package/dist/components/data/KapiTableToolbar.js +237 -0
- package/dist/components/data/chartFrame.d.ts +1 -1
- package/dist/components/data/chartFrame.js +54 -55
- package/dist/components/data/datasetSelectionLogic.d.ts +7 -4
- package/dist/components/data/datasetSelectionLogic.js +3 -2
- package/dist/components/data/eventCalendarLogic.d.ts +7 -3
- package/dist/components/data/eventCalendarLogic.js +5 -4
- package/dist/components/data/index.d.ts +108 -30
- package/dist/components/data/rowClickLogic.d.ts +51 -0
- package/dist/components/data/rowClickLogic.js +56 -0
- package/dist/components/data/tableCells.d.ts +38 -0
- package/dist/components/data/tableCells.js +121 -0
- package/dist/components/data/tableHeaderMenu.d.ts +21 -0
- package/dist/components/data/tableHeaderMenu.js +45 -0
- package/dist/components/data/tableLabels.d.ts +76 -0
- package/dist/components/data/tableLabels.js +48 -0
- package/dist/components/data/tableLogic.d.ts +119 -21
- package/dist/components/data/tableLogic.js +121 -84
- package/dist/components/data/tablePaginationLogic.d.ts +15 -0
- package/dist/components/data/tablePaginationLogic.js +15 -0
- package/dist/components/data/tableResizeLogic.d.ts +12 -4
- package/dist/components/data/tableResizeLogic.js +14 -10
- package/dist/components/data/tableTypes.d.ts +509 -0
- package/dist/components/data/useColumnResize.d.ts +28 -0
- package/dist/components/data/useColumnResize.js +116 -0
- package/dist/components/data/useRowKeyWarning.d.ts +10 -0
- package/dist/components/data/useRowKeyWarning.js +29 -0
- package/dist/components/data/useTableEdges.d.ts +15 -0
- package/dist/components/data/useTableEdges.js +26 -0
- package/dist/components/data/useTableSelection.d.ts +51 -0
- package/dist/components/data/useTableSelection.js +80 -0
- package/dist/components/display/KapiAnnotation.d.ts +10 -9
- package/dist/components/display/KapiAnnotation.js +98 -101
- package/dist/components/display/KapiAvatar.d.ts +19 -13
- package/dist/components/display/KapiAvatar.js +26 -24
- package/dist/components/display/KapiAvatarGroup.d.ts +26 -10
- package/dist/components/display/KapiAvatarGroup.js +26 -24
- package/dist/components/display/KapiBadge.d.ts +23 -12
- package/dist/components/display/KapiBadge.js +20 -15
- package/dist/components/display/KapiComment.d.ts +1 -2
- package/dist/components/display/KapiComment.js +3 -2
- package/dist/components/display/KapiCommentComposer.d.ts +2 -3
- package/dist/components/display/KapiCommentComposer.js +3 -2
- package/dist/components/display/KapiDescriptionList.d.ts +6 -5
- package/dist/components/display/KapiDescriptionList.js +1 -0
- package/dist/components/display/KapiFileItem.d.ts +2 -3
- package/dist/components/display/KapiFileItem.js +3 -2
- package/dist/components/display/KapiFileViewer.d.ts +8 -9
- package/dist/components/display/KapiFileViewer.js +1 -0
- package/dist/components/display/KapiIconTile.d.ts +7 -6
- package/dist/components/display/KapiIconTile.js +1 -0
- package/dist/components/display/KapiStat.d.ts +9 -8
- package/dist/components/display/KapiStat.js +1 -0
- package/dist/components/display/KapiTag.d.ts +5 -4
- package/dist/components/display/KapiTag.js +1 -0
- package/dist/components/display/KapiTimeline.d.ts +6 -5
- package/dist/components/display/KapiTimeline.js +1 -0
- package/dist/components/display/KapiTruncate.d.ts +1 -2
- package/dist/components/display/KapiTruncate.js +1 -0
- package/dist/components/display/fileItemLogic.d.ts +1 -1
- package/dist/components/display/iconTileLogic.d.ts +2 -2
- package/dist/components/display/index.d.ts +86 -44
- package/dist/components/display/statLogic.d.ts +1 -1
- package/dist/components/feedback/KapiAlert.d.ts +30 -7
- package/dist/components/feedback/KapiAlert.js +47 -23
- package/dist/components/feedback/KapiBulkBar.d.ts +11 -6
- package/dist/components/feedback/KapiBulkBar.js +6 -3
- package/dist/components/feedback/KapiCountdown.d.ts +15 -12
- package/dist/components/feedback/KapiCountdown.js +17 -16
- package/dist/components/feedback/KapiEmpty.d.ts +3 -2
- package/dist/components/feedback/KapiEmpty.js +1 -0
- package/dist/components/feedback/KapiFab.d.ts +39 -9
- package/dist/components/feedback/KapiFab.js +172 -91
- package/dist/components/feedback/KapiOfflineBanner.d.ts +7 -6
- package/dist/components/feedback/KapiOfflineBanner.js +1 -0
- package/dist/components/feedback/KapiProgress.d.ts +8 -7
- package/dist/components/feedback/KapiProgress.js +1 -0
- package/dist/components/feedback/KapiSkeleton.d.ts +6 -4
- package/dist/components/feedback/KapiToastContainer.d.ts +16 -8
- package/dist/components/feedback/KapiToastContainer.js +118 -63
- package/dist/components/feedback/KapiTour.d.ts +6 -7
- package/dist/components/feedback/KapiTour.js +91 -86
- package/dist/components/feedback/KapiUnsavedBar.d.ts +15 -8
- package/dist/components/feedback/KapiUnsavedBar.js +8 -4
- package/dist/components/feedback/bulkBarLogic.d.ts +6 -1
- package/dist/components/feedback/bulkBarLogic.js +7 -4
- package/dist/components/feedback/countdownLogic.d.ts +19 -11
- package/dist/components/feedback/fabLogic.d.ts +28 -0
- package/dist/components/feedback/fabLogic.js +18 -2
- package/dist/components/feedback/index.d.ts +65 -33
- package/dist/components/feedback/toastLayer.d.ts +18 -0
- package/dist/components/feedback/toastLayer.js +22 -0
- package/dist/components/feedback/toastStore.d.ts +97 -9
- package/dist/components/feedback/toastStore.js +132 -29
- package/dist/components/feedback/tourLogic.d.ts +4 -16
- package/dist/components/feedback/unsavedBarLogic.d.ts +7 -1
- package/dist/components/feedback/unsavedBarLogic.js +9 -5
- package/dist/components/inputs/KapiAutocomplete.d.ts +73 -48
- package/dist/components/inputs/KapiAutocomplete.js +128 -146
- package/dist/components/inputs/KapiButton.d.ts +30 -11
- package/dist/components/inputs/KapiButton.js +34 -27
- package/dist/components/inputs/KapiCalendar.d.ts +14 -8
- package/dist/components/inputs/KapiCalendar.js +36 -34
- package/dist/components/inputs/KapiCalendarGrid.d.ts +11 -6
- package/dist/components/inputs/KapiCalendarGrid.js +44 -38
- package/dist/components/inputs/KapiCheckCard.d.ts +2 -3
- package/dist/components/inputs/KapiCheckCard.js +1 -0
- package/dist/components/inputs/KapiCheckbox.d.ts +1 -1
- package/dist/components/inputs/KapiChecklist.d.ts +77 -0
- package/dist/components/inputs/KapiChecklist.js +175 -0
- package/dist/components/inputs/KapiDatePicker.d.ts +60 -22
- package/dist/components/inputs/KapiDatePicker.js +122 -100
- package/dist/components/inputs/KapiDateRangePicker.d.ts +44 -10
- package/dist/components/inputs/KapiDateRangePicker.js +148 -120
- package/dist/components/inputs/KapiFacetedSearch.d.ts +7 -6
- package/dist/components/inputs/KapiFacetedSearch.js +130 -167
- package/dist/components/inputs/KapiField.d.ts +16 -8
- package/dist/components/inputs/KapiField.js +44 -43
- package/dist/components/inputs/KapiFileUpload.d.ts +15 -16
- package/dist/components/inputs/KapiFileUpload.js +1 -0
- package/dist/components/inputs/KapiIconButton.d.ts +1 -1
- package/dist/components/inputs/KapiInput.d.ts +13 -12
- package/dist/components/inputs/KapiInput.js +70 -70
- package/dist/components/inputs/KapiInputGroup.d.ts +13 -10
- package/dist/components/inputs/KapiInputGroup.js +21 -19
- package/dist/components/inputs/KapiMaskedInput.d.ts +15 -15
- package/dist/components/inputs/KapiMaskedInput.js +51 -48
- package/dist/components/inputs/KapiNumberStepper.d.ts +30 -18
- package/dist/components/inputs/KapiNumberStepper.js +80 -65
- package/dist/components/inputs/KapiRadio.d.ts +1 -1
- package/dist/components/inputs/KapiRating.d.ts +40 -23
- package/dist/components/inputs/KapiRating.js +80 -65
- package/dist/components/inputs/KapiSearchChip.d.ts +9 -8
- package/dist/components/inputs/KapiSearchChip.js +46 -42
- package/dist/components/inputs/KapiSegmented.d.ts +49 -16
- package/dist/components/inputs/KapiSegmented.js +72 -51
- package/dist/components/inputs/KapiSelect.d.ts +120 -39
- package/dist/components/inputs/KapiSelect.js +309 -379
- package/dist/components/inputs/KapiSelectMenu.d.ts +38 -0
- package/dist/components/inputs/KapiSelectMenu.js +173 -0
- package/dist/components/inputs/KapiSlider.d.ts +37 -19
- package/dist/components/inputs/KapiSlider.js +67 -54
- package/dist/components/inputs/KapiSwitch.d.ts +13 -7
- package/dist/components/inputs/KapiSwitch.js +30 -21
- package/dist/components/inputs/KapiTagInput.d.ts +35 -24
- package/dist/components/inputs/KapiTagInput.js +77 -66
- package/dist/components/inputs/KapiTextarea.d.ts +12 -11
- package/dist/components/inputs/KapiTextarea.js +71 -49
- package/dist/components/inputs/asyncSelectLogic.d.ts +8 -4
- package/dist/components/inputs/asyncSelectLogic.js +13 -12
- package/dist/components/inputs/autocompleteLogic.d.ts +2 -29
- package/dist/components/inputs/autocompleteLogic.js +6 -6
- package/dist/components/inputs/checkControl.d.ts +3 -3
- package/dist/components/inputs/checkControl.js +2 -0
- package/dist/components/inputs/checklistLogic.d.ts +33 -0
- package/dist/components/inputs/checklistLogic.js +16 -0
- package/dist/components/inputs/datePickerLogic.d.ts +63 -13
- package/dist/components/inputs/datePickerLogic.js +119 -50
- package/dist/components/inputs/dateRangeLogic.d.ts +8 -3
- package/dist/components/inputs/dateRangeLogic.js +49 -43
- package/dist/components/inputs/facetedSearchLogic.d.ts +1 -3
- package/dist/components/inputs/facetedSearchLogic.js +4 -5
- package/dist/components/inputs/fieldLogic.d.ts +37 -1
- package/dist/components/inputs/fieldLogic.js +36 -19
- package/dist/components/inputs/index.d.ts +118 -57
- package/dist/components/inputs/inputGroupLogic.d.ts +1 -1
- package/dist/components/inputs/inputLogic.d.ts +1 -1
- package/dist/components/inputs/maskLogic.d.ts +3 -2
- package/dist/components/inputs/maskLogic.js +12 -10
- package/dist/components/inputs/ownField.d.ts +37 -0
- package/dist/components/inputs/ownField.js +37 -0
- package/dist/components/inputs/segmentedLogic.d.ts +4 -3
- package/dist/components/inputs/segmentedLogic.js +7 -11
- package/dist/components/inputs/selectKeyLogic.d.ts +45 -0
- package/dist/components/inputs/selectKeyLogic.js +52 -0
- package/dist/components/inputs/selectLogic.d.ts +79 -22
- package/dist/components/inputs/selectLogic.js +87 -51
- package/dist/components/inputs/useCalendarFocus.js +13 -12
- package/dist/components/inputs/useSelectCreate.d.ts +22 -0
- package/dist/components/inputs/useSelectCreate.js +35 -0
- package/dist/components/inputs/useSelectSource.d.ts +39 -0
- package/dist/components/inputs/useSelectSource.js +42 -0
- package/dist/components/layout/KapiAccessCard.d.ts +11 -12
- package/dist/components/layout/KapiAccessCard.js +41 -37
- package/dist/components/layout/KapiAccountMenu.d.ts +23 -8
- package/dist/components/layout/KapiAccountMenu.js +124 -104
- package/dist/components/layout/KapiCard.d.ts +14 -7
- package/dist/components/layout/KapiCard.js +1 -0
- package/dist/components/layout/KapiCluster.d.ts +8 -7
- package/dist/components/layout/KapiCluster.js +1 -0
- package/dist/components/layout/KapiContextSlot.d.ts +10 -11
- package/dist/components/layout/KapiContextSlot.js +97 -92
- package/dist/components/layout/KapiDivider.d.ts +3 -2
- package/dist/components/layout/KapiDivider.js +1 -0
- package/dist/components/layout/KapiGrid.d.ts +8 -7
- package/dist/components/layout/KapiGrid.js +1 -0
- package/dist/components/layout/KapiMasonry.d.ts +1 -2
- package/dist/components/layout/KapiMasonry.js +1 -0
- package/dist/components/layout/KapiNotificationBell.d.ts +14 -15
- package/dist/components/layout/KapiNotificationBell.js +113 -116
- package/dist/components/layout/KapiPageHeader.d.ts +14 -6
- package/dist/components/layout/KapiPageHeader.js +99 -87
- package/dist/components/layout/KapiPanelParts.d.ts +11 -7
- package/dist/components/layout/KapiPanelParts.js +1 -0
- package/dist/components/layout/KapiRail.d.ts +17 -11
- package/dist/components/layout/KapiRail.js +96 -83
- package/dist/components/layout/KapiRailAccount.d.ts +26 -0
- package/dist/components/layout/KapiRailAccount.js +37 -0
- package/dist/components/layout/KapiRoot.d.ts +85 -0
- package/dist/components/layout/KapiRoot.js +58 -0
- package/dist/components/layout/KapiScrollArea.d.ts +2 -3
- package/dist/components/layout/KapiScrollArea.js +1 -0
- package/dist/components/layout/KapiShell.d.ts +15 -10
- package/dist/components/layout/KapiShell.js +51 -46
- package/dist/components/layout/KapiStack.d.ts +6 -5
- package/dist/components/layout/KapiStack.js +1 -0
- package/dist/components/layout/KapiThemeScript.d.ts +23 -0
- package/dist/components/layout/KapiThemeScript.js +13 -0
- package/dist/components/layout/accessCardLogic.d.ts +2 -2
- package/dist/components/layout/index.d.ts +55 -35
- package/dist/components/layout/notificationBellLogic.d.ts +1 -1
- package/dist/components/layout/railContext.d.ts +6 -0
- package/dist/components/layout/railContext.js +6 -0
- package/dist/components/layout/railLogic.d.ts +14 -14
- package/dist/components/layout/useMasonrySpans.js +31 -30
- package/dist/components/layout/useRailOverflow.js +30 -29
- package/dist/components/locale/KapiLocaleProvider.d.ts +33 -4
- package/dist/components/locale/KapiLocaleProvider.js +28 -17
- package/dist/components/locale/index.d.ts +7 -5
- package/dist/components/locale/labelRegistry.d.ts +67 -59
- package/dist/components/locale/localeLogic.d.ts +20 -0
- package/dist/components/locale/localeLogic.js +30 -0
- package/dist/components/navigation/CtxSlidingList.d.ts +5 -3
- package/dist/components/navigation/CtxSlidingList.js +15 -14
- package/dist/components/navigation/KapiAccordion.d.ts +9 -8
- package/dist/components/navigation/KapiAccordion.js +29 -29
- package/dist/components/navigation/KapiBreadcrumb.d.ts +4 -5
- package/dist/components/navigation/KapiBreadcrumb.js +1 -0
- package/dist/components/navigation/KapiCollapsiblePanel.d.ts +22 -16
- package/dist/components/navigation/KapiCollapsiblePanel.js +46 -43
- package/dist/components/navigation/KapiContextPanel.d.ts +31 -32
- package/dist/components/navigation/KapiContextPanel.js +119 -108
- package/dist/components/navigation/KapiFilterChips.d.ts +15 -10
- package/dist/components/navigation/KapiFilterChips.js +27 -22
- package/dist/components/navigation/KapiNavBadge.d.ts +7 -5
- package/dist/components/navigation/KapiNavBadge.js +12 -10
- package/dist/components/navigation/KapiPanelGroup.d.ts +22 -23
- package/dist/components/navigation/KapiPanelGroup.js +62 -60
- package/dist/components/navigation/KapiSteps.d.ts +4 -5
- package/dist/components/navigation/KapiSteps.js +1 -0
- package/dist/components/navigation/KapiTabs.d.ts +34 -16
- package/dist/components/navigation/KapiTabs.js +58 -49
- package/dist/components/navigation/KapiTree.d.ts +58 -18
- package/dist/components/navigation/KapiTree.js +135 -83
- package/dist/components/navigation/KapiWizard.d.ts +21 -11
- package/dist/components/navigation/KapiWizard.js +79 -72
- package/dist/components/navigation/MiniNavItem.d.ts +3 -4
- package/dist/components/navigation/MiniNavItem.js +1 -0
- package/dist/components/navigation/breadcrumbLogic.d.ts +1 -1
- package/dist/components/navigation/contextPanelLogic.d.ts +9 -5
- package/dist/components/navigation/filterChipsLogic.d.ts +13 -7
- package/dist/components/navigation/filterChipsLogic.js +12 -14
- package/dist/components/navigation/index.d.ts +75 -39
- package/dist/components/navigation/panelGroupLogic.d.ts +5 -1
- package/dist/components/navigation/panelMini.d.ts +1 -1
- package/dist/components/navigation/panelMini.js +1 -1
- package/dist/components/navigation/tabsLogic.d.ts +3 -2
- package/dist/components/navigation/tabsLogic.js +8 -12
- package/dist/components/navigation/treeLogic.d.ts +5 -5
- package/dist/components/navigation/treeLogic.js +3 -9
- package/dist/components/overlays/KapiCanvasForm.d.ts +8 -8
- package/dist/components/overlays/KapiCanvasForm.js +1 -1
- package/dist/components/overlays/KapiCommandPalette.d.ts +14 -10
- package/dist/components/overlays/KapiCommandPalette.js +70 -67
- package/dist/components/overlays/KapiConfirm.d.ts +16 -11
- package/dist/components/overlays/KapiConfirm.js +47 -44
- package/dist/components/overlays/KapiContextMenu.d.ts +77 -16
- package/dist/components/overlays/KapiContextMenu.js +55 -70
- package/dist/components/overlays/KapiDialogHost.d.ts +5 -7
- package/dist/components/overlays/KapiDialogHost.js +67 -64
- package/dist/components/overlays/KapiDropdown.d.ts +43 -21
- package/dist/components/overlays/KapiDropdown.js +31 -80
- package/dist/components/overlays/KapiLoading.d.ts +10 -5
- package/dist/components/overlays/KapiLoading.js +28 -25
- package/dist/components/overlays/KapiMenuButton.d.ts +48 -17
- package/dist/components/overlays/KapiMenuButton.js +73 -95
- package/dist/components/overlays/KapiModal.d.ts +16 -8
- package/dist/components/overlays/KapiModal.js +72 -65
- package/dist/components/overlays/KapiOffcanvas.d.ts +23 -13
- package/dist/components/overlays/KapiOffcanvas.js +159 -143
- package/dist/components/overlays/KapiOffcanvasStack.d.ts +4 -4
- package/dist/components/overlays/KapiOffcanvasStack.js +63 -52
- package/dist/components/overlays/KapiPhotoView.d.ts +7 -8
- package/dist/components/overlays/KapiPhotoView.js +67 -64
- package/dist/components/overlays/KapiPopover.d.ts +18 -17
- package/dist/components/overlays/KapiPopover.js +32 -42
- package/dist/components/overlays/KapiShapeSheet.d.ts +18 -12
- package/dist/components/overlays/KapiShapeSheet.js +51 -45
- package/dist/components/overlays/KapiSplitModal.d.ts +12 -11
- package/dist/components/overlays/KapiSplitModal.js +78 -68
- package/dist/components/overlays/KapiTooltip.d.ts +20 -10
- package/dist/components/overlays/KapiTooltip.js +91 -68
- package/dist/components/overlays/commandPaletteLogic.d.ts +2 -4
- package/dist/components/overlays/commandPaletteLogic.js +2 -2
- package/dist/components/overlays/dialogStore.d.ts +41 -20
- package/dist/components/overlays/dialogStore.js +4 -4
- package/dist/components/overlays/dialogUtils.d.ts +22 -0
- package/dist/components/overlays/dialogUtils.js +6 -2
- package/dist/components/overlays/index.d.ts +48 -38
- package/dist/components/overlays/menuButtonLogic.d.ts +33 -31
- package/dist/components/overlays/menuButtonLogic.js +9 -3
- package/dist/components/overlays/menuKeyboardLogic.d.ts +42 -8
- package/dist/components/overlays/menuKeyboardLogic.js +46 -15
- package/dist/components/overlays/menuList.d.ts +91 -0
- package/dist/components/overlays/menuList.js +223 -0
- package/dist/components/overlays/modalStack.d.ts +21 -0
- package/dist/components/overlays/modalStack.js +23 -0
- package/dist/components/overlays/offcanvasCompanion.d.ts +1 -1
- package/dist/components/overlays/offcanvasResize.d.ts +1 -1
- package/dist/components/overlays/offcanvasSide.d.ts +12 -1
- package/dist/components/overlays/offcanvasSide.js +4 -4
- package/dist/components/overlays/popoverLogic.d.ts +12 -12
- package/dist/components/overlays/useExitPresence.js +23 -22
- package/dist/components/overlays/useNativeDialog.d.ts +15 -4
- package/dist/components/overlays/useNativeDialog.js +52 -33
- package/dist/components/rootProps.d.ts +6 -4
- package/dist/components/tone.d.ts +55 -0
- package/dist/components/tone.js +92 -0
- package/dist/css/base.css +1 -0
- package/dist/css/components/chat/chat.css +1 -0
- package/dist/css/components/data/KapiBarChart.css +1 -0
- package/dist/css/components/data/KapiEventCalendar.css +1 -0
- package/dist/css/components/data/KapiHeatmap.css +1 -0
- package/dist/css/components/data/KapiLineChart.css +1 -0
- package/dist/css/components/data/KapiSparkline.css +1 -0
- package/dist/css/components/data/KapiTable.css +1 -0
- package/dist/css/components/data/KapiTableFilter.css +1 -0
- package/dist/css/components/display/KapiAnnotation.css +1 -0
- package/dist/css/components/display/KapiComment.css +1 -0
- package/dist/css/components/display/KapiFileItem.css +1 -0
- package/dist/css/components/display/KapiFileViewer.css +1 -0
- package/dist/css/components/display/KapiTruncate.css +1 -0
- package/dist/css/components/display/display.css +1 -0
- package/dist/css/components/feedback/KapiBulkBar.css +1 -0
- package/dist/css/components/feedback/KapiOfflineBanner.css +1 -0
- package/dist/css/components/feedback/KapiUnsavedBar.css +1 -0
- package/dist/css/components/feedback/feedback.css +1 -0
- package/dist/css/components/inputs/KapiAutocomplete.css +1 -0
- package/dist/css/components/inputs/KapiButton.css +1 -0
- package/dist/css/components/inputs/KapiChecklist.css +1 -0
- package/dist/css/components/inputs/KapiDatePicker.css +1 -0
- package/dist/css/components/inputs/KapiFacetedSearch.css +1 -0
- package/dist/css/components/inputs/KapiFileUpload.css +1 -0
- package/dist/css/components/inputs/KapiInputGroup.css +1 -0
- package/dist/css/components/inputs/KapiSearchChip.css +1 -0
- package/dist/css/components/inputs/KapiSelect.css +1 -0
- package/dist/css/components/inputs/KapiTagInput.css +1 -0
- package/dist/css/components/inputs/checkControl.css +1 -0
- package/dist/css/components/inputs/inputsExtra.css +1 -0
- package/dist/css/components/layout/KapiAccessCard.css +1 -0
- package/dist/css/components/layout/KapiAccountMenu.css +1 -0
- package/dist/css/components/layout/KapiCard.css +1 -0
- package/dist/css/components/layout/KapiDivider.css +1 -0
- package/dist/css/components/layout/KapiMasonry.css +1 -0
- package/dist/css/components/layout/KapiNotificationBell.css +1 -0
- package/dist/css/components/layout/KapiPageHeader.css +1 -0
- package/dist/css/components/layout/KapiPanelParts.css +1 -0
- package/dist/css/components/layout/KapiRail.css +1 -0
- package/dist/css/components/layout/KapiRoot.css +1 -0
- package/dist/css/components/layout/KapiScrollArea.css +1 -0
- package/dist/css/components/layout/layout-primitives.css +1 -0
- package/dist/css/components/navigation/KapiFilterChips.css +1 -0
- package/dist/css/components/navigation/KapiNavBadge.css +1 -0
- package/dist/css/components/navigation/KapiSteps.css +1 -0
- package/dist/css/components/navigation/navigation.css +1 -0
- package/dist/css/components/overlays/KapiCommandPalette.css +1 -0
- package/dist/css/components/overlays/KapiConfirm.css +1 -0
- package/dist/css/components/overlays/KapiModal.css +1 -0
- package/dist/css/components/overlays/KapiOffcanvas.css +1 -0
- package/dist/css/components/overlays/KapiPopover.css +1 -0
- package/dist/css/components/overlays/KapiSplitModal.css +1 -0
- package/dist/css/components/overlays/overlays.css +1 -0
- package/dist/css/none.js +1 -0
- package/dist/hooks/dataColorLogic.d.ts +1 -1
- package/dist/hooks/dateFormat.js +13 -13
- package/dist/hooks/directionLogic.d.ts +32 -0
- package/dist/hooks/directionLogic.js +7 -0
- package/dist/hooks/fieldErrorsLogic.d.ts +35 -0
- package/dist/hooks/fieldErrorsLogic.js +13 -0
- package/dist/hooks/focusLogic.js +8 -7
- package/dist/hooks/hotkeyLogic.d.ts +5 -1
- package/dist/hooks/hotkeyLogic.js +2 -2
- package/dist/hooks/index.d.ts +122 -57
- package/dist/hooks/kapiRoot.d.ts +11 -4
- package/dist/hooks/kapiRoot.js +18 -5
- package/dist/hooks/mergeRefs.d.ts +9 -0
- package/dist/hooks/mergeRefs.js +15 -0
- package/dist/hooks/onlineStatusLogic.d.ts +4 -4
- package/dist/hooks/ownerDocument.d.ts +26 -0
- package/dist/hooks/ownerDocument.js +24 -0
- package/dist/hooks/portalRoot.d.ts +19 -0
- package/dist/hooks/portalRoot.js +10 -0
- package/dist/hooks/rafThrottle.d.ts +12 -4
- package/dist/hooks/rafThrottle.js +43 -10
- package/dist/hooks/rangeSelectLogic.d.ts +47 -0
- package/dist/hooks/rangeSelectLogic.js +29 -0
- package/dist/hooks/recentLogic.d.ts +3 -3
- package/dist/hooks/reducedMotion.js +11 -3
- package/dist/hooks/rightClick.d.ts +5 -1
- package/dist/hooks/rightClick.js +16 -15
- package/dist/hooks/scrollCollapseLogic.d.ts +2 -2
- package/dist/hooks/seriesPaletteLogic.d.ts +1 -1
- package/dist/hooks/shallowStable.d.ts +12 -0
- package/dist/hooks/shallowStable.js +17 -0
- package/dist/hooks/slidingIndicatorLogic.d.ts +4 -0
- package/dist/hooks/themeColorsLogic.d.ts +1 -1
- package/dist/hooks/themeDeriveLogic.d.ts +1 -2
- package/dist/hooks/themeRadiiLogic.d.ts +1 -1
- package/dist/hooks/themeScript.d.ts +10 -0
- package/dist/hooks/themeScript.js +5 -0
- package/dist/hooks/useAsyncLoader.d.ts +51 -0
- package/dist/hooks/useAsyncLoader.js +77 -0
- package/dist/hooks/useAsyncTasks.d.ts +19 -0
- package/dist/hooks/useAsyncTasks.js +37 -0
- package/dist/hooks/useBottomBarInset.d.ts +7 -0
- package/dist/hooks/useBottomBarInset.js +25 -0
- package/dist/hooks/useControllableState.d.ts +21 -0
- package/dist/hooks/useControllableState.js +17 -0
- package/dist/hooks/useDismiss.d.ts +40 -0
- package/dist/hooks/useDismiss.js +42 -0
- package/dist/hooks/useDragScroll.d.ts +10 -0
- package/dist/hooks/useDragScroll.js +36 -25
- package/dist/hooks/useFieldErrors.d.ts +39 -0
- package/dist/hooks/useFieldErrors.js +29 -0
- package/dist/hooks/useFocusReturn.d.ts +25 -0
- package/dist/hooks/useFocusReturn.js +31 -0
- package/dist/hooks/useGrowOrigin.d.ts +2 -2
- package/dist/hooks/useHotkey.d.ts +3 -3
- package/dist/hooks/useHydrated.d.ts +2 -0
- package/dist/hooks/useHydrated.js +6 -0
- package/dist/hooks/useKapiTheme.d.ts +3 -2
- package/dist/hooks/useKapiTheme.js +111 -68
- package/dist/hooks/useMediaQuery.d.ts +5 -1
- package/dist/hooks/useMediaQuery.js +5 -9
- package/dist/hooks/useOnlineStatus.d.ts +1 -1
- package/dist/hooks/useOutsidePress.d.ts +9 -0
- package/dist/hooks/useOutsidePress.js +11 -0
- package/dist/hooks/usePersistentState.d.ts +2 -2
- package/dist/hooks/usePersistentState.js +21 -21
- package/dist/hooks/usePlacement.d.ts +6 -5
- package/dist/hooks/usePlacement.js +68 -65
- package/dist/hooks/useRangeSelect.d.ts +24 -0
- package/dist/hooks/useRangeSelect.js +26 -0
- package/dist/hooks/useRecent.d.ts +3 -3
- package/dist/hooks/useScrollCollapse.d.ts +1 -1
- package/dist/hooks/useScrollEdges.d.ts +9 -8
- package/dist/hooks/useScrollEdges.js +62 -57
- package/dist/hooks/useSlidingIndicator.d.ts +1 -1
- package/dist/hooks/useSlidingIndicator.js +38 -33
- package/dist/hooks/useSubmitDraft.js +18 -19
- package/dist/hooks/useTypeahead.d.ts +9 -0
- package/dist/hooks/useTypeahead.js +20 -0
- package/dist/hooks/useUnsavedGuard.d.ts +7 -4
- package/dist/hooks/useUnsavedGuard.js +1 -0
- package/dist/hooks/useVirtualList.d.ts +36 -0
- package/dist/hooks/useVirtualList.js +126 -0
- package/dist/hooks/viewportInsetLogic.d.ts +37 -0
- package/dist/hooks/viewportInsetLogic.js +20 -0
- package/dist/hooks/virtualListLogic.d.ts +88 -0
- package/dist/hooks/virtualListLogic.js +80 -0
- package/dist/index.d.ts +13 -13
- package/dist/index.js +196 -179
- package/dist/kapi.css +1 -1
- package/dist/kapi.layered.css +1 -1
- package/package.json +14 -6
|
@@ -1,27 +1,38 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { withLabels as e } from "../labelsLogic.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { isWeekday as t, resolveFormatLocale as n, weekStartForLocale as r } from "./localeLogic.js";
|
|
4
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
5
|
+
import { createContext as a, useContext as o, useMemo as s } from "react";
|
|
5
6
|
//#region src/components/locale/KapiLocaleProvider.tsx
|
|
6
|
-
var
|
|
7
|
-
function
|
|
8
|
-
let
|
|
7
|
+
var c = a(null), l = {};
|
|
8
|
+
function u({ locale: e, labels: t = l, weekStartsOn: n, dir: r, children: a }) {
|
|
9
|
+
let o = s(() => ({
|
|
9
10
|
locale: e,
|
|
10
|
-
labels:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
labels: t,
|
|
12
|
+
weekStartsOn: n,
|
|
13
|
+
dir: r
|
|
14
|
+
}), [
|
|
15
|
+
e,
|
|
16
|
+
t,
|
|
17
|
+
n,
|
|
18
|
+
r
|
|
19
|
+
]);
|
|
20
|
+
return /* @__PURE__ */ i(c.Provider, {
|
|
21
|
+
value: o,
|
|
22
|
+
children: a
|
|
15
23
|
});
|
|
16
24
|
}
|
|
17
|
-
var
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
25
|
+
var d = () => o(c)?.locale, f = () => n(d()), p = (e) => {
|
|
26
|
+
let n = o(c);
|
|
27
|
+
return t(e) ? e : t(n?.weekStartsOn) ? n.weekStartsOn : r(n?.locale);
|
|
28
|
+
}, m = () => o(c)?.dir;
|
|
29
|
+
function h(t, n, r) {
|
|
30
|
+
let i = o(c)?.labels[t];
|
|
31
|
+
return s(() => e(i ? e(n, i) : n, r), [
|
|
21
32
|
n,
|
|
22
|
-
|
|
23
|
-
|
|
33
|
+
i,
|
|
34
|
+
r
|
|
24
35
|
]);
|
|
25
36
|
}
|
|
26
37
|
//#endregion
|
|
27
|
-
export {
|
|
38
|
+
export { u as KapiLocaleProvider, m as useKapiDir, f as useKapiFormatLocale, d as useKapiLocale, p as useKapiWeekStart, h as useLabels };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export { KapiLocaleProvider, useKapiLocale, useLabels } from "./KapiLocaleProvider";
|
|
2
|
-
export
|
|
3
|
-
export type {
|
|
4
|
-
export {
|
|
5
|
-
export type {
|
|
1
|
+
export { KapiLocaleProvider, useKapiDir, useKapiFormatLocale, useKapiLocale, useKapiWeekStart, useLabels } from "./KapiLocaleProvider.js";
|
|
2
|
+
export { DEFAULT_KAPI_LOCALE, DEFAULT_WEEK_START, resolveFormatLocale, weekStartForLocale } from "./localeLogic.js";
|
|
3
|
+
export type { KapiWeekday } from "./localeLogic.js";
|
|
4
|
+
export type { KapiLocaleProviderProps } from "./KapiLocaleProvider.js";
|
|
5
|
+
export type { KapiLabelOverrides, KapiLabelRegistry } from "./labelRegistry.js";
|
|
6
|
+
export { DEFAULT_LINK_LABELS } from "./linkLabels.js";
|
|
7
|
+
export type { KapiLinkLabels } from "./linkLabels.js";
|
|
@@ -1,61 +1,65 @@
|
|
|
1
|
-
import type { KapiLabelsOverride } from "../labelsLogic";
|
|
2
|
-
import type { KapiChartLabels } from "../data/chartFrame";
|
|
3
|
-
import type { KapiEventCalendarLabels } from "../data/KapiEventCalendar";
|
|
4
|
-
import type { KapiHeatmapLabels } from "../data/KapiHeatmap";
|
|
5
|
-
import type { KapiSparklineLabels } from "../data/KapiSparkline";
|
|
6
|
-
import type { KapiTableLabels } from "../data/KapiTable";
|
|
7
|
-
import type { KapiTableFilterLabels } from "../data/KapiTableFilter";
|
|
8
|
-
import type { KapiPaginationLabels } from "../data/KapiPagination";
|
|
9
|
-
import type {
|
|
10
|
-
import type {
|
|
11
|
-
import type {
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
14
|
-
import type {
|
|
15
|
-
import type {
|
|
16
|
-
import type {
|
|
17
|
-
import type {
|
|
18
|
-
import type {
|
|
19
|
-
import type {
|
|
20
|
-
import type {
|
|
21
|
-
import type {
|
|
22
|
-
import type {
|
|
23
|
-
import type {
|
|
24
|
-
import type {
|
|
25
|
-
import type {
|
|
26
|
-
import type {
|
|
27
|
-
import type {
|
|
28
|
-
import type {
|
|
29
|
-
import type {
|
|
30
|
-
import type {
|
|
31
|
-
import type {
|
|
32
|
-
import type {
|
|
33
|
-
import type {
|
|
34
|
-
import type {
|
|
35
|
-
import type {
|
|
36
|
-
import type {
|
|
37
|
-
import type {
|
|
38
|
-
import type {
|
|
39
|
-
import type {
|
|
40
|
-
import type {
|
|
41
|
-
import type {
|
|
42
|
-
import type {
|
|
43
|
-
import type {
|
|
44
|
-
import type {
|
|
45
|
-
import type {
|
|
46
|
-
import type {
|
|
47
|
-
import type {
|
|
48
|
-
import type {
|
|
49
|
-
import type {
|
|
50
|
-
import type {
|
|
51
|
-
import type {
|
|
52
|
-
import type {
|
|
53
|
-
import type {
|
|
54
|
-
import type {
|
|
55
|
-
import type {
|
|
56
|
-
import type {
|
|
57
|
-
import type {
|
|
58
|
-
import type {
|
|
1
|
+
import type { KapiLabelsOverride } from "../labelsLogic.js";
|
|
2
|
+
import type { KapiChartLabels } from "../data/chartFrame.js";
|
|
3
|
+
import type { KapiEventCalendarLabels } from "../data/KapiEventCalendar.js";
|
|
4
|
+
import type { KapiHeatmapLabels } from "../data/KapiHeatmap.js";
|
|
5
|
+
import type { KapiSparklineLabels } from "../data/KapiSparkline.js";
|
|
6
|
+
import type { KapiTableLabels } from "../data/KapiTable.js";
|
|
7
|
+
import type { KapiTableFilterLabels } from "../data/KapiTableFilter.js";
|
|
8
|
+
import type { KapiPaginationLabels } from "../data/KapiPagination.js";
|
|
9
|
+
import type { KapiAlertLabels } from "../feedback/KapiAlert.js";
|
|
10
|
+
import type { KapiBulkBarLabels } from "../feedback/KapiBulkBar.js";
|
|
11
|
+
import type { KapiUnsavedBarLabels } from "../feedback/KapiUnsavedBar.js";
|
|
12
|
+
import type { KapiOfflineBannerLabels } from "../feedback/KapiOfflineBanner.js";
|
|
13
|
+
import type { KapiTourLabels } from "../feedback/KapiTour.js";
|
|
14
|
+
import type { KapiCountdownLabels } from "../feedback/countdownLogic.js";
|
|
15
|
+
import type { KapiDateRangePickerLabels } from "../inputs/KapiDateRangePicker.js";
|
|
16
|
+
import type { KapiFacetedSearchLabels } from "../inputs/KapiFacetedSearch.js";
|
|
17
|
+
import type { KapiSearchChipLabels } from "../inputs/KapiSearchChip.js";
|
|
18
|
+
import type { KapiSelectLabels } from "../inputs/KapiSelect.js";
|
|
19
|
+
import type { KapiChecklistLabels } from "../inputs/KapiChecklist.js";
|
|
20
|
+
import type { KapiNumberStepperLabels } from "../inputs/KapiNumberStepper.js";
|
|
21
|
+
import type { KapiFileUploadLabels } from "../inputs/KapiFileUpload.js";
|
|
22
|
+
import type { KapiInputLabels } from "../inputs/KapiInput.js";
|
|
23
|
+
import type { KapiTagInputLabels } from "../inputs/KapiTagInput.js";
|
|
24
|
+
import type { KapiContextSlotLabels } from "../layout/KapiContextSlot.js";
|
|
25
|
+
import type { KapiAccountMenuLabels } from "../layout/KapiAccountMenu.js";
|
|
26
|
+
import type { KapiNotificationBellLabels } from "../layout/KapiNotificationBell.js";
|
|
27
|
+
import type { KapiOffcanvasLabels } from "../overlays/KapiOffcanvas.js";
|
|
28
|
+
import type { KapiPhotoViewLabels } from "../overlays/KapiPhotoView.js";
|
|
29
|
+
import type { KapiShapeSheetLabels } from "../overlays/KapiShapeSheet.js";
|
|
30
|
+
import type { KapiSplitModalLabels } from "../overlays/KapiSplitModal.js";
|
|
31
|
+
import type { KapiContextPanelLabels } from "../navigation/KapiContextPanel.js";
|
|
32
|
+
import type { KapiWizardLabels } from "../navigation/KapiWizard.js";
|
|
33
|
+
import type { KapiStepsLabels } from "../navigation/KapiSteps.js";
|
|
34
|
+
import type { KapiBreadcrumbLabels } from "../navigation/KapiBreadcrumb.js";
|
|
35
|
+
import type { KapiRailLabels } from "../layout/KapiRail.js";
|
|
36
|
+
import type { KapiScrollAreaLabels } from "../layout/KapiScrollArea.js";
|
|
37
|
+
import type { KapiFabLabels } from "../feedback/KapiFab.js";
|
|
38
|
+
import type { KapiRatingLabels } from "../inputs/KapiRating.js";
|
|
39
|
+
import type { KapiCuitInputLabels } from "../inputs/KapiMaskedInput.js";
|
|
40
|
+
import type { KapiLinkLabels } from "./linkLabels.js";
|
|
41
|
+
import type { KapiAvatarGroupLabels } from "../display/KapiAvatarGroup.js";
|
|
42
|
+
import type { KapiLoadingLabels } from "../overlays/KapiLoading.js";
|
|
43
|
+
import type { KapiTagLabels } from "../display/KapiTag.js";
|
|
44
|
+
import type { KapiFileViewerLabels } from "../display/KapiFileViewer.js";
|
|
45
|
+
import type { KapiCommentComposerLabels } from "../display/KapiCommentComposer.js";
|
|
46
|
+
import type { KapiToastLabels } from "../feedback/KapiToastContainer.js";
|
|
47
|
+
import type { KapiAutocompleteLabels } from "../inputs/KapiAutocomplete.js";
|
|
48
|
+
import type { KapiCollapsiblePanelLabels } from "../navigation/KapiCollapsiblePanel.js";
|
|
49
|
+
import type { KapiFilterChipsLabels } from "../navigation/KapiFilterChips.js";
|
|
50
|
+
import type { KapiTreeLabels } from "../navigation/KapiTree.js";
|
|
51
|
+
import type { KapiCanvasFormLabels } from "../overlays/KapiCanvasForm.js";
|
|
52
|
+
import type { KapiCommandPaletteLabels } from "../overlays/KapiCommandPalette.js";
|
|
53
|
+
import type { KapiConfirmLabels } from "../overlays/KapiConfirm.js";
|
|
54
|
+
import type { KapiContextMenuLabels } from "../overlays/KapiContextMenu.js";
|
|
55
|
+
import type { KapiDialogLabels } from "../overlays/KapiDialogHost.js";
|
|
56
|
+
import type { KapiModalLabels } from "../overlays/KapiModal.js";
|
|
57
|
+
import type { KapiMessageBubbleLabels } from "../chat/KapiMessageBubble.js";
|
|
58
|
+
import type { KapiChatListLabels } from "../chat/KapiChatList.js";
|
|
59
|
+
import type { KapiChatThreadLabels } from "../chat/KapiChatThread.js";
|
|
60
|
+
import type { KapiComposerLabels } from "../chat/KapiComposer.js";
|
|
61
|
+
import type { KapiTypingIndicatorLabels } from "../chat/KapiTypingIndicator.js";
|
|
62
|
+
import type { UnsavedGuardLabels } from "../../hooks/useUnsavedGuard.js";
|
|
59
63
|
/**
|
|
60
64
|
* Clave → tipo de los textos de cada componente. Es una `interface` a propósito: una app puede
|
|
61
65
|
* sumar sus propias claves por module augmentation (`declare module "@kapiuara/ui" { interface
|
|
@@ -68,7 +72,9 @@ import type { UnsavedGuardLabels } from "../../hooks/useUnsavedGuard";
|
|
|
68
72
|
*/
|
|
69
73
|
export interface KapiLabelRegistry {
|
|
70
74
|
accountMenu: KapiAccountMenuLabels;
|
|
75
|
+
alert: KapiAlertLabels;
|
|
71
76
|
autocomplete: KapiAutocompleteLabels;
|
|
77
|
+
avatarGroup: KapiAvatarGroupLabels;
|
|
72
78
|
breadcrumb: KapiBreadcrumbLabels;
|
|
73
79
|
bulkBar: KapiBulkBarLabels;
|
|
74
80
|
calendar: KapiDateRangePickerLabels;
|
|
@@ -76,6 +82,7 @@ export interface KapiLabelRegistry {
|
|
|
76
82
|
chart: KapiChartLabels;
|
|
77
83
|
chatList: KapiChatListLabels;
|
|
78
84
|
chatThread: KapiChatThreadLabels;
|
|
85
|
+
checklist: KapiChecklistLabels;
|
|
79
86
|
collapsiblePanel: KapiCollapsiblePanelLabels;
|
|
80
87
|
commandPalette: KapiCommandPaletteLabels;
|
|
81
88
|
commentComposer: KapiCommentComposerLabels;
|
|
@@ -96,6 +103,7 @@ export interface KapiLabelRegistry {
|
|
|
96
103
|
eventCalendar: KapiEventCalendarLabels;
|
|
97
104
|
input: KapiInputLabels;
|
|
98
105
|
link: KapiLinkLabels;
|
|
106
|
+
loading: KapiLoadingLabels;
|
|
99
107
|
messageBubble: KapiMessageBubbleLabels;
|
|
100
108
|
modal: KapiModalLabels;
|
|
101
109
|
notificationBell: KapiNotificationBellLabels;
|
|
@@ -127,5 +135,5 @@ export interface KapiLabelRegistry {
|
|
|
127
135
|
}
|
|
128
136
|
/** Overrides por clave que recibe el provider: cada uno parcial (una clave en `undefined` no pisa). */
|
|
129
137
|
export type KapiLabelOverrides = {
|
|
130
|
-
[K in keyof KapiLabelRegistry]?: KapiLabelsOverride<KapiLabelRegistry[K]
|
|
138
|
+
[K in keyof KapiLabelRegistry]?: KapiLabelsOverride<KapiLabelRegistry[K]> | undefined;
|
|
131
139
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** Locale de los formatos (fechas, números, tamaños) cuando no hay `KapiLocaleProvider` con `locale`. */
|
|
2
|
+
export declare const DEFAULT_KAPI_LOCALE = "es";
|
|
3
|
+
/** Día de la semana con la convención de `Date#getDay`: 0 = domingo, 1 = lunes… 6 = sábado. */
|
|
4
|
+
export type KapiWeekday = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
5
|
+
/** Primer día de la semana sin locale, o si el runtime no informa el del locale: lunes. */
|
|
6
|
+
export declare const DEFAULT_WEEK_START: KapiWeekday;
|
|
7
|
+
/**
|
|
8
|
+
* Locale para `Intl` a partir del del provider: sin valor, `DEFAULT_KAPI_LOCALE`; uno inválido
|
|
9
|
+
* (`Intl` tiraría `RangeError` al formatear) también vuelve al default en vez de romper el render.
|
|
10
|
+
* Cacheado por valor.
|
|
11
|
+
*/
|
|
12
|
+
export declare const resolveFormatLocale: (locale: string | undefined) => string;
|
|
13
|
+
/**
|
|
14
|
+
* Primer día de la semana de `locale` según CLDR (`Intl.Locale#getWeekInfo`, o la propiedad
|
|
15
|
+
* `weekInfo` de los runtimes que la publicaron primero): `en-US` → 0 (domingo), `es` → 1 (lunes),
|
|
16
|
+
* `ar` → 6 (sábado). Sin locale, inválido o sin soporte en el runtime: lunes (`DEFAULT_WEEK_START`).
|
|
17
|
+
*/
|
|
18
|
+
export declare const weekStartForLocale: (locale: string | undefined) => KapiWeekday;
|
|
19
|
+
/** ¿Es un día de la semana válido (entero de 0 a 6)? */
|
|
20
|
+
export declare const isWeekday: (n: unknown) => n is KapiWeekday;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
//#region src/components/locale/localeLogic.ts
|
|
2
|
+
var e = "es", t = 1, n = /* @__PURE__ */ new Map(), r = (e) => {
|
|
3
|
+
if (!e) return "es";
|
|
4
|
+
let t = n.get(e);
|
|
5
|
+
if (t === void 0) {
|
|
6
|
+
try {
|
|
7
|
+
t = Intl.getCanonicalLocales(e)[0] ?? "es";
|
|
8
|
+
} catch {
|
|
9
|
+
t = "es";
|
|
10
|
+
}
|
|
11
|
+
n.set(e, t);
|
|
12
|
+
}
|
|
13
|
+
return t;
|
|
14
|
+
}, i = /* @__PURE__ */ new Map(), a = (e) => {
|
|
15
|
+
if (!e) return 1;
|
|
16
|
+
let t = i.get(e);
|
|
17
|
+
if (t === void 0) {
|
|
18
|
+
t = 1;
|
|
19
|
+
try {
|
|
20
|
+
let n = new Intl.Locale(e), r = (n.getWeekInfo?.() ?? n.weekInfo)?.firstDay;
|
|
21
|
+
typeof r == "number" && r >= 1 && r <= 7 && (t = r % 7);
|
|
22
|
+
} catch {
|
|
23
|
+
t = 1;
|
|
24
|
+
}
|
|
25
|
+
i.set(e, t);
|
|
26
|
+
}
|
|
27
|
+
return t;
|
|
28
|
+
}, o = (e) => typeof e == "number" && Number.isInteger(e) && e >= 0 && e <= 6;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { e as DEFAULT_KAPI_LOCALE, t as DEFAULT_WEEK_START, o as isWeekday, r as resolveFormatLocale, a as weekStartForLocale };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import type { HTMLAttributes, ReactNode } from "react";
|
|
1
|
+
import type { HTMLAttributes, ReactNode, Ref } from "react";
|
|
2
2
|
export type CtxSlidingListProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
3
3
|
/** Clave del ítem activo; `null` oculta el indicador. */
|
|
4
|
-
active?: string | number | null;
|
|
4
|
+
active?: string | number | null | undefined;
|
|
5
5
|
children: ReactNode;
|
|
6
|
+
/** Ref al contenedor `.kapi-ctxlist`. */
|
|
7
|
+
ref?: Ref<HTMLDivElement> | undefined;
|
|
6
8
|
};
|
|
7
9
|
/**
|
|
8
10
|
* Lista del panel contextual con indicador deslizante (misma mecánica que KapiRail).
|
|
9
11
|
* Interno: el ítem activo se detecta por `aria-current="page"`.
|
|
10
12
|
*/
|
|
11
|
-
export declare const CtxSlidingList: ({ active, children, className, ...rest }: CtxSlidingListProps) => import("react").JSX.Element;
|
|
13
|
+
export declare const CtxSlidingList: ({ active, children, className, ref, ...rest }: CtxSlidingListProps) => import("react").JSX.Element;
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { joinClasses as e } from "../rootProps.js";
|
|
3
3
|
import { useSlidingIndicator as t } from "../../hooks/useSlidingIndicator.js";
|
|
4
|
-
import {
|
|
4
|
+
import { useMergedRefs as n } from "../../hooks/mergeRefs.js";
|
|
5
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
6
|
//#region src/components/navigation/CtxSlidingList.tsx
|
|
6
|
-
var
|
|
7
|
-
let { containerRef:
|
|
8
|
-
active:
|
|
9
|
-
deps: [
|
|
7
|
+
var a = ({ active: a = null, children: o, className: s, ref: c, ...l }) => {
|
|
8
|
+
let { containerRef: u, indicatorRef: d } = t({
|
|
9
|
+
active: a,
|
|
10
|
+
deps: [a, o],
|
|
10
11
|
findActive: (e) => e.querySelector("[aria-current=\"page\"]")
|
|
11
|
-
});
|
|
12
|
-
return /* @__PURE__ */
|
|
13
|
-
...
|
|
14
|
-
ref:
|
|
15
|
-
className: e("kapi-ctxlist",
|
|
16
|
-
children: [/* @__PURE__ */
|
|
17
|
-
ref:
|
|
12
|
+
}), f = n(u, c);
|
|
13
|
+
return /* @__PURE__ */ i("div", {
|
|
14
|
+
...l,
|
|
15
|
+
ref: f,
|
|
16
|
+
className: e("kapi-ctxlist", s),
|
|
17
|
+
children: [/* @__PURE__ */ r("span", {
|
|
18
|
+
ref: d,
|
|
18
19
|
className: "kapi-ctxlist__indicator",
|
|
19
20
|
"aria-hidden": "true"
|
|
20
|
-
}),
|
|
21
|
+
}), o]
|
|
21
22
|
});
|
|
22
23
|
};
|
|
23
24
|
//#endregion
|
|
24
|
-
export {
|
|
25
|
+
export { a as CtxSlidingList };
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { type HTMLAttributes, type ReactNode } from "react";
|
|
2
|
-
import "./navigation.css";
|
|
1
|
+
import { type HTMLAttributes, type ReactNode, type Ref } from "react";
|
|
3
2
|
/** Sección de `KapiAccordion`. `Id` acota los ids (p. ej. una unión de literales). */
|
|
4
3
|
export type KapiAccordionItem<Id extends string = string> = {
|
|
5
4
|
id: Id;
|
|
6
5
|
title: ReactNode;
|
|
7
6
|
content: ReactNode;
|
|
8
|
-
disabled?: boolean;
|
|
7
|
+
disabled?: boolean | undefined;
|
|
9
8
|
};
|
|
10
9
|
/** Atributos nativos (`id`, `style`, `data-*`…) van al contenedor. `Id` se infiere de `items`. */
|
|
11
10
|
export type KapiAccordionProps<Id extends string = string> = Omit<HTMLAttributes<HTMLDivElement>, "children" | "onChange"> & {
|
|
11
|
+
/** Ref al `<div>` raíz del acordeón. */
|
|
12
|
+
ref?: Ref<HTMLDivElement> | undefined;
|
|
12
13
|
/** Secciones, en orden; cada una con `id`, título, contenido y `disabled` opcional. */
|
|
13
|
-
items: KapiAccordionItem<Id>[];
|
|
14
|
+
items: readonly KapiAccordionItem<Id>[];
|
|
14
15
|
/** `true` (default): un solo ítem abierto a la vez. `false`: abren varios. */
|
|
15
|
-
single?: boolean;
|
|
16
|
+
single?: boolean | undefined;
|
|
16
17
|
/** Controlado: ids abiertos. Con `onOpenIdsChange` el padre decide el estado. */
|
|
17
|
-
openIds?: Id[];
|
|
18
|
+
openIds?: readonly Id[] | undefined;
|
|
18
19
|
/** Inicial cuando no es controlado. */
|
|
19
|
-
defaultOpenIds?: Id[];
|
|
20
|
+
defaultOpenIds?: readonly Id[] | undefined;
|
|
20
21
|
/** Se llama con los ids abiertos después de cada apertura o cierre (controlado o no). */
|
|
21
|
-
onOpenIdsChange?: (openIds: Id[]) => void;
|
|
22
|
+
onOpenIdsChange?: ((openIds: Id[]) => void) | undefined;
|
|
22
23
|
};
|
|
23
24
|
/** Acordeón: cada ítem es un botón (`aria-expanded`) que controla su región; flechas y Home/End recorren las cabeceras. */
|
|
24
25
|
export declare function KapiAccordion<Id extends string = string>({ items, single, openIds, defaultOpenIds, onOpenIdsChange, className, ...rest }: KapiAccordionProps<Id>): import("react").JSX.Element;
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import "#kapi-css/components/navigation/navigation.css";
|
|
2
3
|
import { joinClasses as e } from "../rootProps.js";
|
|
4
|
+
import { enabledIndexes as t, navKeyOf as n, nextEnabledIndex as r } from "../overlays/menuKeyboardLogic.js";
|
|
5
|
+
import { useControllableState as i } from "../../hooks/useControllableState.js";
|
|
3
6
|
/* empty css */
|
|
4
|
-
import { normalizeOpenIds as
|
|
5
|
-
import { jsx as
|
|
6
|
-
import { useId as
|
|
7
|
-
import { ChevronDown as
|
|
7
|
+
import { normalizeOpenIds as a, toggleOpenId as o } from "./accordionLogic.js";
|
|
8
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
9
|
+
import { useId as l } from "react";
|
|
10
|
+
import { ChevronDown as u } from "lucide-react";
|
|
8
11
|
//#region src/components/navigation/KapiAccordion.tsx
|
|
9
|
-
var
|
|
12
|
+
var d = ":scope > .kapi-accordion__item > .kapi-accordion__heading > .kapi-accordion__trigger:not(:disabled)", f = (e) => {
|
|
10
13
|
if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey) return;
|
|
11
|
-
let
|
|
12
|
-
if (!
|
|
13
|
-
let
|
|
14
|
-
|
|
14
|
+
let i = e.currentTarget.closest(".kapi-accordion");
|
|
15
|
+
if (!i) return;
|
|
16
|
+
let a = Array.from(i.querySelectorAll(d)), o = a.indexOf(e.currentTarget), s = n(e.key, "vertical");
|
|
17
|
+
!s || o < 0 || (e.preventDefault(), a[r(o, s, t(a.length))]?.focus());
|
|
15
18
|
};
|
|
16
|
-
function
|
|
17
|
-
let g =
|
|
18
|
-
|
|
19
|
-
d === void 0 && v(t), p?.(t);
|
|
20
|
-
};
|
|
21
|
-
return /* @__PURE__ */ r("div", {
|
|
19
|
+
function p({ items: t, single: n = !0, openIds: r, defaultOpenIds: d = [], onOpenIdsChange: p, className: m, ...h }) {
|
|
20
|
+
let g = l(), [_, v] = i(r, () => a(d, n), p), y = a(_, n), b = (e) => v(o(y, e, n));
|
|
21
|
+
return /* @__PURE__ */ s("div", {
|
|
22
22
|
...h,
|
|
23
23
|
className: e("kapi-accordion", m),
|
|
24
|
-
children:
|
|
25
|
-
let t = y.includes(e.id), n = `${g}-b-${e.id}`,
|
|
26
|
-
return /* @__PURE__ */
|
|
24
|
+
children: t.map((e) => {
|
|
25
|
+
let t = y.includes(e.id), n = `${g}-b-${e.id}`, r = `${g}-p-${e.id}`;
|
|
26
|
+
return /* @__PURE__ */ c("div", {
|
|
27
27
|
className: t ? "kapi-accordion__item kapi-accordion__item--open" : "kapi-accordion__item",
|
|
28
|
-
children: [/* @__PURE__ */
|
|
28
|
+
children: [/* @__PURE__ */ s("h3", {
|
|
29
29
|
className: "kapi-accordion__heading",
|
|
30
|
-
children: /* @__PURE__ */
|
|
30
|
+
children: /* @__PURE__ */ c("button", {
|
|
31
31
|
type: "button",
|
|
32
32
|
id: n,
|
|
33
33
|
className: "kapi-accordion__trigger",
|
|
34
34
|
"aria-expanded": t,
|
|
35
|
-
"aria-controls":
|
|
35
|
+
"aria-controls": r,
|
|
36
36
|
disabled: e.disabled,
|
|
37
37
|
onClick: () => b(e.id),
|
|
38
|
-
onKeyDown:
|
|
39
|
-
children: [/* @__PURE__ */
|
|
38
|
+
onKeyDown: f,
|
|
39
|
+
children: [/* @__PURE__ */ s("span", {
|
|
40
40
|
className: "kapi-accordion__title",
|
|
41
41
|
children: e.title
|
|
42
|
-
}), /* @__PURE__ */
|
|
42
|
+
}), /* @__PURE__ */ s(u, {
|
|
43
43
|
className: "kapi-accordion__chevron",
|
|
44
44
|
size: 18,
|
|
45
45
|
strokeWidth: 2,
|
|
46
46
|
"aria-hidden": !0
|
|
47
47
|
})]
|
|
48
48
|
})
|
|
49
|
-
}), /* @__PURE__ */
|
|
50
|
-
id:
|
|
49
|
+
}), /* @__PURE__ */ s("div", {
|
|
50
|
+
id: r,
|
|
51
51
|
role: "region",
|
|
52
52
|
"aria-labelledby": n,
|
|
53
53
|
className: "kapi-accordion__region",
|
|
54
54
|
inert: !t,
|
|
55
|
-
children: /* @__PURE__ */
|
|
55
|
+
children: /* @__PURE__ */ s("div", {
|
|
56
56
|
className: "kapi-accordion__clip",
|
|
57
|
-
children: /* @__PURE__ */
|
|
57
|
+
children: /* @__PURE__ */ s("div", {
|
|
58
58
|
className: "kapi-accordion__content",
|
|
59
59
|
children: e.content
|
|
60
60
|
})
|
|
@@ -65,4 +65,4 @@ function u({ items: c, single: u = !0, openIds: d, defaultOpenIds: f = [], onOpe
|
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
67
|
//#endregion
|
|
68
|
-
export {
|
|
68
|
+
export { p as KapiAccordion };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import "./navigation.css";
|
|
2
1
|
import { type HTMLAttributes, type ReactNode, type Ref } from "react";
|
|
3
|
-
import type { KapiLabelsOverride } from "../labelsLogic";
|
|
2
|
+
import type { KapiLabelsOverride } from "../labelsLogic.js";
|
|
4
3
|
export type KapiBreadcrumbItem = {
|
|
5
4
|
label: ReactNode;
|
|
6
|
-
onClick?: () => void;
|
|
5
|
+
onClick?: (() => void) | undefined;
|
|
7
6
|
};
|
|
8
7
|
export type KapiBreadcrumbLabels = {
|
|
9
8
|
/** Nombre accesible del `<nav>` (sin `aria-label`). */
|
|
@@ -13,11 +12,11 @@ export declare const DEFAULT_BREADCRUMB_LABELS: KapiBreadcrumbLabels;
|
|
|
13
12
|
/** Atributos nativos (`id`, `style`, `data-*`, `aria-*`…) van al `<nav>`. */
|
|
14
13
|
export type KapiBreadcrumbProps = Omit<HTMLAttributes<HTMLElement>, "children"> & {
|
|
15
14
|
/** Niveles de la ruta, del más general al actual (el último es la página actual). */
|
|
16
|
-
items: KapiBreadcrumbItem[];
|
|
15
|
+
items: readonly KapiBreadcrumbItem[];
|
|
17
16
|
/** Textos fijos (clave `breadcrumb`). `aria-label` gana sobre `navigation`. */
|
|
18
17
|
labels?: KapiLabelsOverride<KapiBreadcrumbLabels> | undefined;
|
|
19
18
|
/** Ref al `<nav>`. */
|
|
20
|
-
ref?: Ref<HTMLElement
|
|
19
|
+
ref?: Ref<HTMLElement> | undefined;
|
|
21
20
|
};
|
|
22
21
|
/** Migas de pan: `Inicio · Personas · Ana Pérez`. El último ítem es la ubicación actual. */
|
|
23
22
|
export declare function KapiBreadcrumb({ items, "aria-label": ariaLabelAttr, labels, className, ref, ...rest }: KapiBreadcrumbProps): import("react").JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { type ButtonHTMLAttributes, type HTMLAttributes, type ReactNode } from "react";
|
|
2
|
-
import { type KapiTooltipSide } from "../overlays/KapiTooltip";
|
|
3
|
-
import "
|
|
4
|
-
import type { KapiLabelsOverride } from "../labelsLogic";
|
|
1
|
+
import { type ButtonHTMLAttributes, type HTMLAttributes, type ReactNode, type Ref } from "react";
|
|
2
|
+
import { type KapiTooltipSide } from "../overlays/KapiTooltip.js";
|
|
3
|
+
import type { KapiLabelsOverride } from "../labelsLogic.js";
|
|
5
4
|
export type KapiCollapsiblePanelLabels = {
|
|
6
5
|
/** Botón de plegar (sin `collapseLabel`). */
|
|
7
6
|
collapse: string;
|
|
@@ -17,6 +16,8 @@ export type KapiCollapsiblePanelSide = "left" | "right";
|
|
|
17
16
|
* `onToggle` nativo se omite a propósito: así un `onToggle` viejo (hoy `onCollapsedChange`) no compila.
|
|
18
17
|
*/
|
|
19
18
|
export type KapiCollapsiblePanelProps = Omit<HTMLAttributes<HTMLElement>, "children" | "onToggle"> & {
|
|
19
|
+
/** Ref al `<aside>` raíz del panel. */
|
|
20
|
+
ref?: Ref<HTMLElement> | undefined;
|
|
20
21
|
/** Contenido del panel expandido (cuerpo scrolleable). */
|
|
21
22
|
children?: ReactNode;
|
|
22
23
|
/** Contenido de la tira cuando está plegado (usa `KapiCollapsiblePanelStripItem`). */
|
|
@@ -24,40 +25,45 @@ export type KapiCollapsiblePanelProps = Omit<HTMLAttributes<HTMLElement>, "child
|
|
|
24
25
|
/** Cabecera del panel expandido, a la izquierda del botón de plegar. */
|
|
25
26
|
header?: ReactNode;
|
|
26
27
|
/** Estado controlado. Si se omite, el panel maneja el suyo. */
|
|
27
|
-
collapsed?: boolean;
|
|
28
|
+
collapsed?: boolean | undefined;
|
|
28
29
|
/** Estado inicial plegado (no controlado). */
|
|
29
|
-
defaultCollapsed?: boolean;
|
|
30
|
+
defaultCollapsed?: boolean | undefined;
|
|
30
31
|
/** Se llama al plegar (`true`) o desplegar (`false`) con el estado pedido. */
|
|
31
|
-
onCollapsedChange?: (collapsed: boolean) => void;
|
|
32
|
+
onCollapsedChange?: ((collapsed: boolean) => void) | undefined;
|
|
32
33
|
/** Borde del layout donde vive: define el sentido de las flechas y el lado del tooltip. */
|
|
33
|
-
side?: KapiCollapsiblePanelSide;
|
|
34
|
+
side?: KapiCollapsiblePanelSide | undefined;
|
|
34
35
|
/** Ancho expandido (CSS), por defecto 320px. */
|
|
35
|
-
expandedWidth?: number | string;
|
|
36
|
+
expandedWidth?: number | string | undefined;
|
|
36
37
|
/** Ancho de la tira (CSS), por defecto 58px. */
|
|
37
|
-
collapsedWidth?: number | string;
|
|
38
|
+
collapsedWidth?: number | string | undefined;
|
|
38
39
|
/** Gana sobre `labels.collapse`. */
|
|
39
|
-
collapseLabel?: string;
|
|
40
|
+
collapseLabel?: string | undefined;
|
|
40
41
|
/** Gana sobre `labels.expand`. */
|
|
41
|
-
expandLabel?: string;
|
|
42
|
+
expandLabel?: string | undefined;
|
|
42
43
|
/** Textos fijos (clave `collapsiblePanel`); `aria-label` gana sobre `region`. */
|
|
43
44
|
labels?: KapiLabelsOverride<KapiCollapsiblePanelLabels> | undefined;
|
|
44
45
|
};
|
|
45
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* Lado del tooltip: siempre hacia el interior del layout. Lógico, porque el panel también lo es (en RTL
|
|
48
|
+
* el panel `left` se dibuja a la derecha y su tooltip abre hacia la izquierda).
|
|
49
|
+
*/
|
|
46
50
|
export declare const tooltipSideFor: (side: KapiCollapsiblePanelSide) => KapiTooltipSide;
|
|
47
51
|
/** Panel lateral plegable con tira (expandido ~320 / tira ~58). Genérico: el contenido es tuyo. */
|
|
48
52
|
export declare const KapiCollapsiblePanel: ({ children, strip, header, collapsed, defaultCollapsed, onCollapsedChange, side, expandedWidth, collapsedWidth, collapseLabel: collapseLabelProp, expandLabel: expandLabelProp, "aria-label": ariaLabelProp, labels, className, style: styleProp, ...rest }: KapiCollapsiblePanelProps) => import("react").JSX.Element;
|
|
49
53
|
/** Atributos nativos (`id`, `style`, `data-*`…) van al `<button>` (no al envoltorio del tooltip). */
|
|
50
54
|
export type KapiCollapsiblePanelStripItemProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "onClick" | "type"> & {
|
|
55
|
+
/** Ref al `<button>` del ítem. */
|
|
56
|
+
ref?: Ref<HTMLButtonElement> | undefined;
|
|
51
57
|
/** Ícono (lucide-react). */
|
|
52
58
|
icon: ReactNode;
|
|
53
59
|
/** Texto del tooltip y `aria-label`. */
|
|
54
60
|
label: string;
|
|
55
61
|
/** Marca el ícono como activo (resaltado y `aria-pressed`). */
|
|
56
|
-
active?: boolean;
|
|
62
|
+
active?: boolean | undefined;
|
|
57
63
|
/** Click en el ícono. */
|
|
58
|
-
onClick?: () => void;
|
|
64
|
+
onClick?: (() => void) | undefined;
|
|
59
65
|
/** Borde donde vive el panel (el mismo `side` del `KapiCollapsiblePanel`): el tooltip abre hacia el interior. */
|
|
60
|
-
side?: KapiCollapsiblePanelSide;
|
|
66
|
+
side?: KapiCollapsiblePanelSide | undefined;
|
|
61
67
|
};
|
|
62
68
|
/** Ícono de la tira con tooltip. */
|
|
63
69
|
export declare const KapiCollapsiblePanelStripItem: ({ icon, label, active, onClick, side, className, ...rest }: KapiCollapsiblePanelStripItemProps) => import("react").JSX.Element;
|