@jini-ai/ui 0.1.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/LICENSE +201 -0
- package/README.md +277 -0
- package/dist/browser/index.d.ts +4 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +10 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/useDismissOnOutsideOrEscape.d.ts +18 -0
- package/dist/browser/useDismissOnOutsideOrEscape.d.ts.map +1 -0
- package/dist/browser/useDismissOnOutsideOrEscape.js +42 -0
- package/dist/browser/useDismissOnOutsideOrEscape.js.map +1 -0
- package/dist/browser/useFileDropTarget.d.ts +25 -0
- package/dist/browser/useFileDropTarget.d.ts.map +1 -0
- package/dist/browser/useFileDropTarget.js +64 -0
- package/dist/browser/useFileDropTarget.js.map +1 -0
- package/dist/browser/useGlobalKeydown.d.ts +16 -0
- package/dist/browser/useGlobalKeydown.d.ts.map +1 -0
- package/dist/browser/useGlobalKeydown.js +60 -0
- package/dist/browser/useGlobalKeydown.js.map +1 -0
- package/dist/browser/useModalWindowDragGuard.d.ts +35 -0
- package/dist/browser/useModalWindowDragGuard.d.ts.map +1 -0
- package/dist/browser/useModalWindowDragGuard.js +51 -0
- package/dist/browser/useModalWindowDragGuard.js.map +1 -0
- package/dist/components/AgentIcon.d.ts +15 -0
- package/dist/components/AgentIcon.d.ts.map +1 -0
- package/dist/components/AgentIcon.js +80 -0
- package/dist/components/AgentIcon.js.map +1 -0
- package/dist/components/AppChromeHeader.d.ts +19 -0
- package/dist/components/AppChromeHeader.d.ts.map +1 -0
- package/dist/components/AppChromeHeader.js +11 -0
- package/dist/components/AppChromeHeader.js.map +1 -0
- package/dist/components/CustomSelect.d.ts +28 -0
- package/dist/components/CustomSelect.d.ts.map +1 -0
- package/dist/components/CustomSelect.js +167 -0
- package/dist/components/CustomSelect.js.map +1 -0
- package/dist/components/ExportDiagnosticsButton.d.ts +40 -0
- package/dist/components/ExportDiagnosticsButton.d.ts.map +1 -0
- package/dist/components/ExportDiagnosticsButton.js +112 -0
- package/dist/components/ExportDiagnosticsButton.js.map +1 -0
- package/dist/components/Icon.d.ts +15 -0
- package/dist/components/Icon.d.ts.map +1 -0
- package/dist/components/Icon.js +236 -0
- package/dist/components/Icon.js.map +1 -0
- package/dist/components/KitErrorBoundary.d.ts +13 -0
- package/dist/components/KitErrorBoundary.d.ts.map +1 -0
- package/dist/components/KitErrorBoundary.js +30 -0
- package/dist/components/KitErrorBoundary.js.map +1 -0
- package/dist/components/LanguageMenu.d.ts +23 -0
- package/dist/components/LanguageMenu.d.ts.map +1 -0
- package/dist/components/LanguageMenu.js +44 -0
- package/dist/components/LanguageMenu.js.map +1 -0
- package/dist/components/Loading.d.ts +27 -0
- package/dist/components/Loading.d.ts.map +1 -0
- package/dist/components/Loading.js +24 -0
- package/dist/components/Loading.js.map +1 -0
- package/dist/components/PaletteTweaks.d.ts +11 -0
- package/dist/components/PaletteTweaks.d.ts.map +1 -0
- package/dist/components/PaletteTweaks.js +65 -0
- package/dist/components/PaletteTweaks.js.map +1 -0
- package/dist/components/RemixIcon.d.ts +15 -0
- package/dist/components/RemixIcon.d.ts.map +1 -0
- package/dist/components/RemixIcon.js +19 -0
- package/dist/components/RemixIcon.js.map +1 -0
- package/dist/components/Toast.d.ts +18 -0
- package/dist/components/Toast.d.ts.map +1 -0
- package/dist/components/Toast.js +70 -0
- package/dist/components/Toast.js.map +1 -0
- package/dist/components/TooltipLayer.d.ts +9 -0
- package/dist/components/TooltipLayer.d.ts.map +1 -0
- package/dist/components/TooltipLayer.js +289 -0
- package/dist/components/TooltipLayer.js.map +1 -0
- package/dist/components/WorkingDirPicker.d.ts +47 -0
- package/dist/components/WorkingDirPicker.d.ts.map +1 -0
- package/dist/components/WorkingDirPicker.js +63 -0
- package/dist/components/WorkingDirPicker.js.map +1 -0
- package/dist/features/agent-tools/model-context.d.ts +30 -0
- package/dist/features/agent-tools/model-context.d.ts.map +1 -0
- package/dist/features/agent-tools/model-context.js +29 -0
- package/dist/features/agent-tools/model-context.js.map +1 -0
- package/dist/features/agent-tools/types.d.ts +34 -0
- package/dist/features/agent-tools/types.d.ts.map +1 -0
- package/dist/features/agent-tools/types.js +18 -0
- package/dist/features/agent-tools/types.js.map +1 -0
- package/dist/features/asset-grid/constants.d.ts +10 -0
- package/dist/features/asset-grid/constants.d.ts.map +1 -0
- package/dist/features/asset-grid/constants.js +10 -0
- package/dist/features/asset-grid/constants.js.map +1 -0
- package/dist/features/asset-grid/dependencies.d.ts +22 -0
- package/dist/features/asset-grid/dependencies.d.ts.map +1 -0
- package/dist/features/asset-grid/dependencies.js +70 -0
- package/dist/features/asset-grid/dependencies.js.map +1 -0
- package/dist/features/asset-grid/index.d.ts +32 -0
- package/dist/features/asset-grid/index.d.ts.map +1 -0
- package/dist/features/asset-grid/index.js +16 -0
- package/dist/features/asset-grid/index.js.map +1 -0
- package/dist/features/asset-grid/ports.d.ts +42 -0
- package/dist/features/asset-grid/ports.d.ts.map +1 -0
- package/dist/features/asset-grid/ports.js +2 -0
- package/dist/features/asset-grid/ports.js.map +1 -0
- package/dist/features/asset-grid/react/components/AssetCard.d.ts +25 -0
- package/dist/features/asset-grid/react/components/AssetCard.d.ts.map +1 -0
- package/dist/features/asset-grid/react/components/AssetCard.js +27 -0
- package/dist/features/asset-grid/react/components/AssetCard.js.map +1 -0
- package/dist/features/asset-grid/react/components/AssetGrid.d.ts +45 -0
- package/dist/features/asset-grid/react/components/AssetGrid.d.ts.map +1 -0
- package/dist/features/asset-grid/react/components/AssetGrid.js +113 -0
- package/dist/features/asset-grid/react/components/AssetGrid.js.map +1 -0
- package/dist/features/asset-grid/react/components/AssetGridBody.d.ts +19 -0
- package/dist/features/asset-grid/react/components/AssetGridBody.d.ts.map +1 -0
- package/dist/features/asset-grid/react/components/AssetGridBody.js +21 -0
- package/dist/features/asset-grid/react/components/AssetGridBody.js.map +1 -0
- package/dist/features/asset-grid/react/components/AssetGridToolbar.d.ts +23 -0
- package/dist/features/asset-grid/react/components/AssetGridToolbar.d.ts.map +1 -0
- package/dist/features/asset-grid/react/components/AssetGridToolbar.js +9 -0
- package/dist/features/asset-grid/react/components/AssetGridToolbar.js.map +1 -0
- package/dist/features/asset-grid/react/components/DeleteConfirmDialog.d.ts +15 -0
- package/dist/features/asset-grid/react/components/DeleteConfirmDialog.d.ts.map +1 -0
- package/dist/features/asset-grid/react/components/DeleteConfirmDialog.js +33 -0
- package/dist/features/asset-grid/react/components/DeleteConfirmDialog.js.map +1 -0
- package/dist/features/asset-grid/react/components/SelectionActionBar.d.ts +11 -0
- package/dist/features/asset-grid/react/components/SelectionActionBar.d.ts.map +1 -0
- package/dist/features/asset-grid/react/components/SelectionActionBar.js +8 -0
- package/dist/features/asset-grid/react/components/SelectionActionBar.js.map +1 -0
- package/dist/features/asset-grid/react/components/SelectionBand.d.ts +7 -0
- package/dist/features/asset-grid/react/components/SelectionBand.d.ts.map +1 -0
- package/dist/features/asset-grid/react/components/SelectionBand.js +8 -0
- package/dist/features/asset-grid/react/components/SelectionBand.js.map +1 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridData.d.ts +38 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridData.d.ts.map +1 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridData.js +55 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridData.js.map +1 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridKeyboardShortcuts.d.ts +15 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridKeyboardShortcuts.d.ts.map +1 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridKeyboardShortcuts.js +30 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridKeyboardShortcuts.js.map +1 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridLiveUpdates.d.ts +40 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridLiveUpdates.d.ts.map +1 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridLiveUpdates.js +119 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridLiveUpdates.js.map +1 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridSelection.d.ts +12 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridSelection.d.ts.map +1 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridSelection.js +23 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridSelection.js.map +1 -0
- package/dist/features/asset-grid/react/hooks/useRubberBandDrag.d.ts +19 -0
- package/dist/features/asset-grid/react/hooks/useRubberBandDrag.d.ts.map +1 -0
- package/dist/features/asset-grid/react/hooks/useRubberBandDrag.js +112 -0
- package/dist/features/asset-grid/react/hooks/useRubberBandDrag.js.map +1 -0
- package/dist/features/asset-grid/rules.d.ts +72 -0
- package/dist/features/asset-grid/rules.d.ts.map +1 -0
- package/dist/features/asset-grid/rules.js +219 -0
- package/dist/features/asset-grid/rules.js.map +1 -0
- package/dist/features/asset-grid/types.d.ts +68 -0
- package/dist/features/asset-grid/types.d.ts.map +1 -0
- package/dist/features/asset-grid/types.js +9 -0
- package/dist/features/asset-grid/types.js.map +1 -0
- package/dist/features/asset-tree-browser/constants.d.ts +23 -0
- package/dist/features/asset-tree-browser/constants.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/constants.js +22 -0
- package/dist/features/asset-tree-browser/constants.js.map +1 -0
- package/dist/features/asset-tree-browser/dependencies.d.ts +14 -0
- package/dist/features/asset-tree-browser/dependencies.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/dependencies.js +66 -0
- package/dist/features/asset-tree-browser/dependencies.js.map +1 -0
- package/dist/features/asset-tree-browser/index.d.ts +46 -0
- package/dist/features/asset-tree-browser/index.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/index.js +23 -0
- package/dist/features/asset-tree-browser/index.js.map +1 -0
- package/dist/features/asset-tree-browser/ports.d.ts +53 -0
- package/dist/features/asset-tree-browser/ports.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/ports.js +15 -0
- package/dist/features/asset-tree-browser/ports.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeBreadcrumbs.d.ts +9 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeBreadcrumbs.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeBreadcrumbs.js +11 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeBreadcrumbs.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeBrowser.d.ts +63 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeBrowser.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeBrowser.js +150 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeBrowser.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeEmptyState.d.ts +8 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeEmptyState.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeEmptyState.js +8 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeEmptyState.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeFileRow.d.ts +33 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeFileRow.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeFileRow.js +68 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeFileRow.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeFolderRow.d.ts +12 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeFolderRow.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeFolderRow.js +8 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeFolderRow.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeRowMenu.d.ts +33 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeRowMenu.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeRowMenu.js +15 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeRowMenu.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeSelectionBar.d.ts +13 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeSelectionBar.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeSelectionBar.js +8 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeSelectionBar.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeToolbar.d.ts +14 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeToolbar.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeToolbar.js +17 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeToolbar.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeUploadErrorBanner.d.ts +8 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeUploadErrorBanner.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeUploadErrorBanner.js +8 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeUploadErrorBanner.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/FilePreviewPane.d.ts +39 -0
- package/dist/features/asset-tree-browser/react/components/FilePreviewPane.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/FilePreviewPane.js +22 -0
- package/dist/features/asset-tree-browser/react/components/FilePreviewPane.js.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeBatchActions.d.ts +30 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeBatchActions.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeBatchActions.js +63 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeBatchActions.js.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeClipboardPasteUpload.d.ts +22 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeClipboardPasteUpload.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeClipboardPasteUpload.js +22 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeClipboardPasteUpload.js.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeCopyLocalPath.d.ts +13 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeCopyLocalPath.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeCopyLocalPath.js +21 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeCopyLocalPath.js.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeDragUpload.d.ts +9 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeDragUpload.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeDragUpload.js +8 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeDragUpload.js.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeNavigation.d.ts +30 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeNavigation.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeNavigation.js +43 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeNavigation.js.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreePreview.d.ts +18 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreePreview.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreePreview.js +37 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreePreview.js.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeRename.d.ts +28 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeRename.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeRename.js +51 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeRename.js.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeRowMenu.d.ts +19 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeRowMenu.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeRowMenu.js +24 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeRowMenu.js.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeSelection.d.ts +29 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeSelection.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeSelection.js +51 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeSelection.js.map +1 -0
- package/dist/features/asset-tree-browser/rules.d.ts +103 -0
- package/dist/features/asset-tree-browser/rules.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/rules.js +254 -0
- package/dist/features/asset-tree-browser/rules.js.map +1 -0
- package/dist/features/asset-tree-browser/types.d.ts +104 -0
- package/dist/features/asset-tree-browser/types.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/types.js +12 -0
- package/dist/features/asset-tree-browser/types.js.map +1 -0
- package/dist/features/browser-chrome/constants.d.ts +13 -0
- package/dist/features/browser-chrome/constants.d.ts.map +1 -0
- package/dist/features/browser-chrome/constants.js +13 -0
- package/dist/features/browser-chrome/constants.js.map +1 -0
- package/dist/features/browser-chrome/dependencies.d.ts +26 -0
- package/dist/features/browser-chrome/dependencies.d.ts.map +1 -0
- package/dist/features/browser-chrome/dependencies.js +57 -0
- package/dist/features/browser-chrome/dependencies.js.map +1 -0
- package/dist/features/browser-chrome/index.d.ts +15 -0
- package/dist/features/browser-chrome/index.d.ts.map +1 -0
- package/dist/features/browser-chrome/index.js +8 -0
- package/dist/features/browser-chrome/index.js.map +1 -0
- package/dist/features/browser-chrome/ports.d.ts +16 -0
- package/dist/features/browser-chrome/ports.d.ts.map +1 -0
- package/dist/features/browser-chrome/ports.js +2 -0
- package/dist/features/browser-chrome/ports.js.map +1 -0
- package/dist/features/browser-chrome/react/components/BrowserViewportControls.d.ts +20 -0
- package/dist/features/browser-chrome/react/components/BrowserViewportControls.d.ts.map +1 -0
- package/dist/features/browser-chrome/react/components/BrowserViewportControls.js +38 -0
- package/dist/features/browser-chrome/react/components/BrowserViewportControls.js.map +1 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserBridgeRegistration.d.ts +27 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserBridgeRegistration.d.ts.map +1 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserBridgeRegistration.js +38 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserBridgeRegistration.js.map +1 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserHistory.d.ts +27 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserHistory.d.ts.map +1 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserHistory.js +48 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserHistory.js.map +1 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserNavigationStack.d.ts +24 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserNavigationStack.d.ts.map +1 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserNavigationStack.js +69 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserNavigationStack.js.map +1 -0
- package/dist/features/browser-chrome/rules.d.ts +68 -0
- package/dist/features/browser-chrome/rules.d.ts.map +1 -0
- package/dist/features/browser-chrome/rules.js +269 -0
- package/dist/features/browser-chrome/rules.js.map +1 -0
- package/dist/features/browser-chrome/types.d.ts +42 -0
- package/dist/features/browser-chrome/types.d.ts.map +1 -0
- package/dist/features/browser-chrome/types.js +15 -0
- package/dist/features/browser-chrome/types.js.map +1 -0
- package/dist/features/command-palette/constants.d.ts +5 -0
- package/dist/features/command-palette/constants.d.ts.map +1 -0
- package/dist/features/command-palette/constants.js +5 -0
- package/dist/features/command-palette/constants.js.map +1 -0
- package/dist/features/command-palette/dependencies.d.ts +12 -0
- package/dist/features/command-palette/dependencies.d.ts.map +1 -0
- package/dist/features/command-palette/dependencies.js +41 -0
- package/dist/features/command-palette/dependencies.js.map +1 -0
- package/dist/features/command-palette/index.d.ts +9 -0
- package/dist/features/command-palette/index.d.ts.map +1 -0
- package/dist/features/command-palette/index.js +7 -0
- package/dist/features/command-palette/index.js.map +1 -0
- package/dist/features/command-palette/ports.d.ts +5 -0
- package/dist/features/command-palette/ports.d.ts.map +1 -0
- package/dist/features/command-palette/ports.js +6 -0
- package/dist/features/command-palette/ports.js.map +1 -0
- package/dist/features/command-palette/react/components/CommandPalette.d.ts +26 -0
- package/dist/features/command-palette/react/components/CommandPalette.d.ts.map +1 -0
- package/dist/features/command-palette/react/components/CommandPalette.js +35 -0
- package/dist/features/command-palette/react/components/CommandPalette.js.map +1 -0
- package/dist/features/command-palette/react/components/CommandPaletteRow.d.ts +10 -0
- package/dist/features/command-palette/react/components/CommandPaletteRow.d.ts.map +1 -0
- package/dist/features/command-palette/react/components/CommandPaletteRow.js +6 -0
- package/dist/features/command-palette/react/components/CommandPaletteRow.js.map +1 -0
- package/dist/features/command-palette/react/hooks/useCommandPalette.d.ts +38 -0
- package/dist/features/command-palette/react/hooks/useCommandPalette.d.ts.map +1 -0
- package/dist/features/command-palette/react/hooks/useCommandPalette.js +70 -0
- package/dist/features/command-palette/react/hooks/useCommandPalette.js.map +1 -0
- package/dist/features/command-palette/rules.d.ts +21 -0
- package/dist/features/command-palette/rules.d.ts.map +1 -0
- package/dist/features/command-palette/rules.js +72 -0
- package/dist/features/command-palette/rules.js.map +1 -0
- package/dist/features/command-palette/types.d.ts +21 -0
- package/dist/features/command-palette/types.d.ts.map +1 -0
- package/dist/features/command-palette/types.js +2 -0
- package/dist/features/command-palette/types.js.map +1 -0
- package/dist/features/connectors/ConnectorsBrowser.d.ts +33 -0
- package/dist/features/connectors/ConnectorsBrowser.d.ts.map +1 -0
- package/dist/features/connectors/ConnectorsBrowser.js +59 -0
- package/dist/features/connectors/ConnectorsBrowser.js.map +1 -0
- package/dist/features/connectors/components/ConnectorAlertList.d.ts +9 -0
- package/dist/features/connectors/components/ConnectorAlertList.d.ts.map +1 -0
- package/dist/features/connectors/components/ConnectorAlertList.js +12 -0
- package/dist/features/connectors/components/ConnectorAlertList.js.map +1 -0
- package/dist/features/connectors/components/ConnectorCard.d.ts +19 -0
- package/dist/features/connectors/components/ConnectorCard.d.ts.map +1 -0
- package/dist/features/connectors/components/ConnectorCard.js +60 -0
- package/dist/features/connectors/components/ConnectorCard.js.map +1 -0
- package/dist/features/connectors/components/ConnectorDetailDrawer.d.ts +31 -0
- package/dist/features/connectors/components/ConnectorDetailDrawer.d.ts.map +1 -0
- package/dist/features/connectors/components/ConnectorDetailDrawer.js +69 -0
- package/dist/features/connectors/components/ConnectorDetailDrawer.js.map +1 -0
- package/dist/features/connectors/components/ConnectorGate.d.ts +10 -0
- package/dist/features/connectors/components/ConnectorGate.d.ts.map +1 -0
- package/dist/features/connectors/components/ConnectorGate.js +7 -0
- package/dist/features/connectors/components/ConnectorGate.js.map +1 -0
- package/dist/features/connectors/components/ConnectorGrid.d.ts +29 -0
- package/dist/features/connectors/components/ConnectorGrid.d.ts.map +1 -0
- package/dist/features/connectors/components/ConnectorGrid.js +13 -0
- package/dist/features/connectors/components/ConnectorGrid.js.map +1 -0
- package/dist/features/connectors/components/ConnectorLogo.d.ts +15 -0
- package/dist/features/connectors/components/ConnectorLogo.d.ts.map +1 -0
- package/dist/features/connectors/components/ConnectorLogo.js +30 -0
- package/dist/features/connectors/components/ConnectorLogo.js.map +1 -0
- package/dist/features/connectors/components/ConnectorSearchBar.d.ts +11 -0
- package/dist/features/connectors/components/ConnectorSearchBar.d.ts.map +1 -0
- package/dist/features/connectors/components/ConnectorSearchBar.js +24 -0
- package/dist/features/connectors/components/ConnectorSearchBar.js.map +1 -0
- package/dist/features/connectors/components/ProviderTabBar.d.ts +10 -0
- package/dist/features/connectors/components/ProviderTabBar.d.ts.map +1 -0
- package/dist/features/connectors/components/ProviderTabBar.js +12 -0
- package/dist/features/connectors/components/ProviderTabBar.js.map +1 -0
- package/dist/features/connectors/constants.d.ts +19 -0
- package/dist/features/connectors/constants.d.ts.map +1 -0
- package/dist/features/connectors/constants.js +21 -0
- package/dist/features/connectors/constants.js.map +1 -0
- package/dist/features/connectors/dependencies.d.ts +17 -0
- package/dist/features/connectors/dependencies.d.ts.map +1 -0
- package/dist/features/connectors/dependencies.js +147 -0
- package/dist/features/connectors/dependencies.js.map +1 -0
- package/dist/features/connectors/hooks/useConnectorAuthorization.d.ts +29 -0
- package/dist/features/connectors/hooks/useConnectorAuthorization.d.ts.map +1 -0
- package/dist/features/connectors/hooks/useConnectorAuthorization.js +226 -0
- package/dist/features/connectors/hooks/useConnectorAuthorization.js.map +1 -0
- package/dist/features/connectors/hooks/useConnectorCatalog.d.ts +24 -0
- package/dist/features/connectors/hooks/useConnectorCatalog.d.ts.map +1 -0
- package/dist/features/connectors/hooks/useConnectorCatalog.js +57 -0
- package/dist/features/connectors/hooks/useConnectorCatalog.js.map +1 -0
- package/dist/features/connectors/hooks/useConnectorDetail.d.ts +25 -0
- package/dist/features/connectors/hooks/useConnectorDetail.d.ts.map +1 -0
- package/dist/features/connectors/hooks/useConnectorDetail.js +88 -0
- package/dist/features/connectors/hooks/useConnectorDetail.js.map +1 -0
- package/dist/features/connectors/hooks/useWiredConnectorsBrowser.d.ts +40 -0
- package/dist/features/connectors/hooks/useWiredConnectorsBrowser.d.ts.map +1 -0
- package/dist/features/connectors/hooks/useWiredConnectorsBrowser.js +38 -0
- package/dist/features/connectors/hooks/useWiredConnectorsBrowser.js.map +1 -0
- package/dist/features/connectors/index.d.ts +33 -0
- package/dist/features/connectors/index.d.ts.map +1 -0
- package/dist/features/connectors/index.js +17 -0
- package/dist/features/connectors/index.js.map +1 -0
- package/dist/features/connectors/ports.d.ts +52 -0
- package/dist/features/connectors/ports.d.ts.map +1 -0
- package/dist/features/connectors/ports.js +2 -0
- package/dist/features/connectors/ports.js.map +1 -0
- package/dist/features/connectors/rules.d.ts +58 -0
- package/dist/features/connectors/rules.d.ts.map +1 -0
- package/dist/features/connectors/rules.js +387 -0
- package/dist/features/connectors/rules.js.map +1 -0
- package/dist/features/connectors/types.d.ts +86 -0
- package/dist/features/connectors/types.d.ts.map +1 -0
- package/dist/features/connectors/types.js +8 -0
- package/dist/features/connectors/types.js.map +1 -0
- package/dist/features/file-dropzone/constants.d.ts +25 -0
- package/dist/features/file-dropzone/constants.d.ts.map +1 -0
- package/dist/features/file-dropzone/constants.js +52 -0
- package/dist/features/file-dropzone/constants.js.map +1 -0
- package/dist/features/file-dropzone/index.d.ts +17 -0
- package/dist/features/file-dropzone/index.d.ts.map +1 -0
- package/dist/features/file-dropzone/index.js +10 -0
- package/dist/features/file-dropzone/index.js.map +1 -0
- package/dist/features/file-dropzone/react/components/FileDropzone.d.ts +55 -0
- package/dist/features/file-dropzone/react/components/FileDropzone.d.ts.map +1 -0
- package/dist/features/file-dropzone/react/components/FileDropzone.js +61 -0
- package/dist/features/file-dropzone/react/components/FileDropzone.js.map +1 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneLightbox.d.ts +9 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneLightbox.d.ts.map +1 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneLightbox.js +44 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneLightbox.js.map +1 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneNameList.d.ts +9 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneNameList.d.ts.map +1 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneNameList.js +10 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneNameList.js.map +1 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneThumbnailGrid.d.ts +10 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneThumbnailGrid.d.ts.map +1 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneThumbnailGrid.js +44 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneThumbnailGrid.js.map +1 -0
- package/dist/features/file-dropzone/react/hooks/useFileDialogTracking.d.ts +35 -0
- package/dist/features/file-dropzone/react/hooks/useFileDialogTracking.d.ts.map +1 -0
- package/dist/features/file-dropzone/react/hooks/useFileDialogTracking.js +113 -0
- package/dist/features/file-dropzone/react/hooks/useFileDialogTracking.js.map +1 -0
- package/dist/features/file-dropzone/react/hooks/useFileDropzone.d.ts +44 -0
- package/dist/features/file-dropzone/react/hooks/useFileDropzone.d.ts.map +1 -0
- package/dist/features/file-dropzone/react/hooks/useFileDropzone.js +135 -0
- package/dist/features/file-dropzone/react/hooks/useFileDropzone.js.map +1 -0
- package/dist/features/file-dropzone/react/hooks/useFileDropzonePreviews.d.ts +9 -0
- package/dist/features/file-dropzone/react/hooks/useFileDropzonePreviews.d.ts.map +1 -0
- package/dist/features/file-dropzone/react/hooks/useFileDropzonePreviews.js +133 -0
- package/dist/features/file-dropzone/react/hooks/useFileDropzonePreviews.js.map +1 -0
- package/dist/features/file-dropzone/rules.d.ts +17 -0
- package/dist/features/file-dropzone/rules.d.ts.map +1 -0
- package/dist/features/file-dropzone/rules.js +63 -0
- package/dist/features/file-dropzone/rules.js.map +1 -0
- package/dist/features/file-dropzone/types.d.ts +21 -0
- package/dist/features/file-dropzone/types.d.ts.map +1 -0
- package/dist/features/file-dropzone/types.js +14 -0
- package/dist/features/file-dropzone/types.js.map +1 -0
- package/dist/features/html-viewer/constants.d.ts +16 -0
- package/dist/features/html-viewer/constants.d.ts.map +1 -0
- package/dist/features/html-viewer/constants.js +16 -0
- package/dist/features/html-viewer/constants.js.map +1 -0
- package/dist/features/html-viewer/dependencies.d.ts +8 -0
- package/dist/features/html-viewer/dependencies.d.ts.map +1 -0
- package/dist/features/html-viewer/dependencies.js +51 -0
- package/dist/features/html-viewer/dependencies.js.map +1 -0
- package/dist/features/html-viewer/index.d.ts +18 -0
- package/dist/features/html-viewer/index.d.ts.map +1 -0
- package/dist/features/html-viewer/index.js +10 -0
- package/dist/features/html-viewer/index.js.map +1 -0
- package/dist/features/html-viewer/ports.d.ts +25 -0
- package/dist/features/html-viewer/ports.d.ts.map +1 -0
- package/dist/features/html-viewer/ports.js +2 -0
- package/dist/features/html-viewer/ports.js.map +1 -0
- package/dist/features/html-viewer/react/components/DeckNavigationControls.d.ts +11 -0
- package/dist/features/html-viewer/react/components/DeckNavigationControls.d.ts.map +1 -0
- package/dist/features/html-viewer/react/components/DeckNavigationControls.js +10 -0
- package/dist/features/html-viewer/react/components/DeckNavigationControls.js.map +1 -0
- package/dist/features/html-viewer/react/components/PresentMenu.d.ts +10 -0
- package/dist/features/html-viewer/react/components/PresentMenu.d.ts.map +1 -0
- package/dist/features/html-viewer/react/components/PresentMenu.js +17 -0
- package/dist/features/html-viewer/react/components/PresentMenu.js.map +1 -0
- package/dist/features/html-viewer/react/components/ZoomMenu.d.ts +11 -0
- package/dist/features/html-viewer/react/components/ZoomMenu.d.ts.map +1 -0
- package/dist/features/html-viewer/react/components/ZoomMenu.js +12 -0
- package/dist/features/html-viewer/react/components/ZoomMenu.js.map +1 -0
- package/dist/features/html-viewer/react/hooks/useDeckNavigation.d.ts +24 -0
- package/dist/features/html-viewer/react/hooks/useDeckNavigation.d.ts.map +1 -0
- package/dist/features/html-viewer/react/hooks/useDeckNavigation.js +37 -0
- package/dist/features/html-viewer/react/hooks/useDeckNavigation.js.map +1 -0
- package/dist/features/html-viewer/react/hooks/usePresentMode.d.ts +14 -0
- package/dist/features/html-viewer/react/hooks/usePresentMode.d.ts.map +1 -0
- package/dist/features/html-viewer/react/hooks/usePresentMode.js +28 -0
- package/dist/features/html-viewer/react/hooks/usePresentMode.js.map +1 -0
- package/dist/features/html-viewer/react/hooks/useZoomControl.d.ts +16 -0
- package/dist/features/html-viewer/react/hooks/useZoomControl.d.ts.map +1 -0
- package/dist/features/html-viewer/react/hooks/useZoomControl.js +22 -0
- package/dist/features/html-viewer/react/hooks/useZoomControl.js.map +1 -0
- package/dist/features/html-viewer/rules.d.ts +22 -0
- package/dist/features/html-viewer/rules.d.ts.map +1 -0
- package/dist/features/html-viewer/rules.js +48 -0
- package/dist/features/html-viewer/rules.js.map +1 -0
- package/dist/features/html-viewer/types.d.ts +20 -0
- package/dist/features/html-viewer/types.d.ts.map +1 -0
- package/dist/features/html-viewer/types.js +12 -0
- package/dist/features/html-viewer/types.js.map +1 -0
- package/dist/features/i18n/context.d.ts +63 -0
- package/dist/features/i18n/context.d.ts.map +1 -0
- package/dist/features/i18n/context.js +87 -0
- package/dist/features/i18n/context.js.map +1 -0
- package/dist/features/i18n/index.d.ts +6 -0
- package/dist/features/i18n/index.d.ts.map +1 -0
- package/dist/features/i18n/index.js +3 -0
- package/dist/features/i18n/index.js.map +1 -0
- package/dist/features/i18n/locale.d.ts +69 -0
- package/dist/features/i18n/locale.d.ts.map +1 -0
- package/dist/features/i18n/locale.js +86 -0
- package/dist/features/i18n/locale.js.map +1 -0
- package/dist/features/i18n/types.d.ts +26 -0
- package/dist/features/i18n/types.d.ts.map +1 -0
- package/dist/features/i18n/types.js +12 -0
- package/dist/features/i18n/types.js.map +1 -0
- package/dist/features/iframe-pool/constants.d.ts +2 -0
- package/dist/features/iframe-pool/constants.d.ts.map +1 -0
- package/dist/features/iframe-pool/constants.js +2 -0
- package/dist/features/iframe-pool/constants.js.map +1 -0
- package/dist/features/iframe-pool/index.d.ts +9 -0
- package/dist/features/iframe-pool/index.d.ts.map +1 -0
- package/dist/features/iframe-pool/index.js +7 -0
- package/dist/features/iframe-pool/index.js.map +1 -0
- package/dist/features/iframe-pool/react/components/IframeKeepAliveProvider.d.ts +16 -0
- package/dist/features/iframe-pool/react/components/IframeKeepAliveProvider.d.ts.map +1 -0
- package/dist/features/iframe-pool/react/components/IframeKeepAliveProvider.js +85 -0
- package/dist/features/iframe-pool/react/components/IframeKeepAliveProvider.js.map +1 -0
- package/dist/features/iframe-pool/react/components/PooledIframe.d.ts +12 -0
- package/dist/features/iframe-pool/react/components/PooledIframe.d.ts.map +1 -0
- package/dist/features/iframe-pool/react/components/PooledIframe.js +53 -0
- package/dist/features/iframe-pool/react/components/PooledIframe.js.map +1 -0
- package/dist/features/iframe-pool/react/dom-sync.d.ts +15 -0
- package/dist/features/iframe-pool/react/dom-sync.d.ts.map +1 -0
- package/dist/features/iframe-pool/react/dom-sync.js +119 -0
- package/dist/features/iframe-pool/react/dom-sync.js.map +1 -0
- package/dist/features/iframe-pool/react/hooks/useIframeKeepAlivePool.d.ts +10 -0
- package/dist/features/iframe-pool/react/hooks/useIframeKeepAlivePool.d.ts.map +1 -0
- package/dist/features/iframe-pool/react/hooks/useIframeKeepAlivePool.js +63 -0
- package/dist/features/iframe-pool/react/hooks/useIframeKeepAlivePool.js.map +1 -0
- package/dist/features/iframe-pool/react/pool-context.d.ts +3 -0
- package/dist/features/iframe-pool/react/pool-context.d.ts.map +1 -0
- package/dist/features/iframe-pool/react/pool-context.js +3 -0
- package/dist/features/iframe-pool/react/pool-context.js.map +1 -0
- package/dist/features/iframe-pool/rules.d.ts +17 -0
- package/dist/features/iframe-pool/rules.d.ts.map +1 -0
- package/dist/features/iframe-pool/rules.js +34 -0
- package/dist/features/iframe-pool/rules.js.map +1 -0
- package/dist/features/iframe-pool/types.d.ts +24 -0
- package/dist/features/iframe-pool/types.d.ts.map +1 -0
- package/dist/features/iframe-pool/types.js +2 -0
- package/dist/features/iframe-pool/types.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/constants.d.ts +16 -0
- package/dist/features/lexical-rich-text-editor/constants.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/constants.js +18 -0
- package/dist/features/lexical-rich-text-editor/constants.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/deserialize.d.ts +9 -0
- package/dist/features/lexical-rich-text-editor/deserialize.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/deserialize.js +55 -0
- package/dist/features/lexical-rich-text-editor/deserialize.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/index.d.ts +12 -0
- package/dist/features/lexical-rich-text-editor/index.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/index.js +11 -0
- package/dist/features/lexical-rich-text-editor/index.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/mention-node.d.ts +56 -0
- package/dist/features/lexical-rich-text-editor/mention-node.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/mention-node.js +142 -0
- package/dist/features/lexical-rich-text-editor/mention-node.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/mention-parser.d.ts +47 -0
- package/dist/features/lexical-rich-text-editor/mention-parser.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/mention-parser.js +239 -0
- package/dist/features/lexical-rich-text-editor/mention-parser.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/components/CaretFloatingLayer.d.ts +20 -0
- package/dist/features/lexical-rich-text-editor/react/components/CaretFloatingLayer.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/components/CaretFloatingLayer.js +33 -0
- package/dist/features/lexical-rich-text-editor/react/components/CaretFloatingLayer.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/components/RichTextInput.d.ts +61 -0
- package/dist/features/lexical-rich-text-editor/react/components/RichTextInput.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/components/RichTextInput.js +154 -0
- package/dist/features/lexical-rich-text-editor/react/components/RichTextInput.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useCaretFloatingLayerPosition.d.ts +15 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useCaretFloatingLayerPosition.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useCaretFloatingLayerPosition.js +54 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useCaretFloatingLayerPosition.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useKeyboardCommands.d.ts +11 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useKeyboardCommands.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useKeyboardCommands.js +70 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useKeyboardCommands.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useMentionAtomicNavigation.d.ts +8 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useMentionAtomicNavigation.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useMentionAtomicNavigation.js +63 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useMentionAtomicNavigation.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useMentionColorStamping.d.ts +18 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useMentionColorStamping.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useMentionColorStamping.js +64 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useMentionColorStamping.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/usePasteFiles.d.ts +5 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/usePasteFiles.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/usePasteFiles.js +24 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/usePasteFiles.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useSeededValue.d.ts +21 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useSeededValue.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useSeededValue.js +35 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useSeededValue.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useSyncedOnChange.d.ts +10 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useSyncedOnChange.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useSyncedOnChange.js +29 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useSyncedOnChange.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useTriggerDetection.d.ts +6 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useTriggerDetection.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useTriggerDetection.js +39 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useTriggerDetection.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/test-support/lexical-harness.d.ts +11 -0
- package/dist/features/lexical-rich-text-editor/react/test-support/lexical-harness.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/test-support/lexical-harness.js +35 -0
- package/dist/features/lexical-rich-text-editor/react/test-support/lexical-harness.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/rules.d.ts +83 -0
- package/dist/features/lexical-rich-text-editor/rules.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/rules.js +317 -0
- package/dist/features/lexical-rich-text-editor/rules.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/serialize.d.ts +8 -0
- package/dist/features/lexical-rich-text-editor/serialize.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/serialize.js +44 -0
- package/dist/features/lexical-rich-text-editor/serialize.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/types.d.ts +83 -0
- package/dist/features/lexical-rich-text-editor/types.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/types.js +15 -0
- package/dist/features/lexical-rich-text-editor/types.js.map +1 -0
- package/dist/features/list-detail-panel/index.d.ts +7 -0
- package/dist/features/list-detail-panel/index.d.ts.map +1 -0
- package/dist/features/list-detail-panel/index.js +4 -0
- package/dist/features/list-detail-panel/index.js.map +1 -0
- package/dist/features/list-detail-panel/react/components/ListDetailPanel.d.ts +40 -0
- package/dist/features/list-detail-panel/react/components/ListDetailPanel.d.ts.map +1 -0
- package/dist/features/list-detail-panel/react/components/ListDetailPanel.js +23 -0
- package/dist/features/list-detail-panel/react/components/ListDetailPanel.js.map +1 -0
- package/dist/features/list-detail-panel/react/hooks/useListDetailSelection.d.ts +17 -0
- package/dist/features/list-detail-panel/react/hooks/useListDetailSelection.d.ts.map +1 -0
- package/dist/features/list-detail-panel/react/hooks/useListDetailSelection.js +23 -0
- package/dist/features/list-detail-panel/react/hooks/useListDetailSelection.js.map +1 -0
- package/dist/features/list-detail-panel/rules.d.ts +13 -0
- package/dist/features/list-detail-panel/rules.d.ts.map +1 -0
- package/dist/features/list-detail-panel/rules.js +22 -0
- package/dist/features/list-detail-panel/rules.js.map +1 -0
- package/dist/features/list-detail-panel/types.d.ts +22 -0
- package/dist/features/list-detail-panel/types.d.ts.map +1 -0
- package/dist/features/list-detail-panel/types.js +15 -0
- package/dist/features/list-detail-panel/types.js.map +1 -0
- package/dist/features/memory/async-commit-guard.d.ts +30 -0
- package/dist/features/memory/async-commit-guard.d.ts.map +1 -0
- package/dist/features/memory/async-commit-guard.js +12 -0
- package/dist/features/memory/async-commit-guard.js.map +1 -0
- package/dist/features/memory/constants.d.ts +42 -0
- package/dist/features/memory/constants.d.ts.map +1 -0
- package/dist/features/memory/constants.js +87 -0
- package/dist/features/memory/constants.js.map +1 -0
- package/dist/features/memory/dependencies.d.ts +68 -0
- package/dist/features/memory/dependencies.d.ts.map +1 -0
- package/dist/features/memory/dependencies.js +229 -0
- package/dist/features/memory/dependencies.js.map +1 -0
- package/dist/features/memory/formatters.d.ts +37 -0
- package/dist/features/memory/formatters.d.ts.map +1 -0
- package/dist/features/memory/formatters.js +343 -0
- package/dist/features/memory/formatters.js.map +1 -0
- package/dist/features/memory/index.d.ts +27 -0
- package/dist/features/memory/index.d.ts.map +1 -0
- package/dist/features/memory/index.js +26 -0
- package/dist/features/memory/index.js.map +1 -0
- package/dist/features/memory/ports.d.ts +53 -0
- package/dist/features/memory/ports.d.ts.map +1 -0
- package/dist/features/memory/ports.js +2 -0
- package/dist/features/memory/ports.js.map +1 -0
- package/dist/features/memory/react/components/MemoryAdvancedModal.d.ts +16 -0
- package/dist/features/memory/react/components/MemoryAdvancedModal.d.ts.map +1 -0
- package/dist/features/memory/react/components/MemoryAdvancedModal.js +45 -0
- package/dist/features/memory/react/components/MemoryAdvancedModal.js.map +1 -0
- package/dist/features/memory/react/components/MemoryConnectedPanel.d.ts +39 -0
- package/dist/features/memory/react/components/MemoryConnectedPanel.d.ts.map +1 -0
- package/dist/features/memory/react/components/MemoryConnectedPanel.js +56 -0
- package/dist/features/memory/react/components/MemoryConnectedPanel.js.map +1 -0
- package/dist/features/memory/react/components/MemoryEntryCard.d.ts +10 -0
- package/dist/features/memory/react/components/MemoryEntryCard.d.ts.map +1 -0
- package/dist/features/memory/react/components/MemoryEntryCard.js +16 -0
- package/dist/features/memory/react/components/MemoryEntryCard.js.map +1 -0
- package/dist/features/memory/react/components/MemoryExtractionCard.d.ts +9 -0
- package/dist/features/memory/react/components/MemoryExtractionCard.d.ts.map +1 -0
- package/dist/features/memory/react/components/MemoryExtractionCard.js +20 -0
- package/dist/features/memory/react/components/MemoryExtractionCard.js.map +1 -0
- package/dist/features/memory/react/components/MemoryHooksPanel.d.ts +8 -0
- package/dist/features/memory/react/components/MemoryHooksPanel.d.ts.map +1 -0
- package/dist/features/memory/react/components/MemoryHooksPanel.js +48 -0
- package/dist/features/memory/react/components/MemoryHooksPanel.js.map +1 -0
- package/dist/features/memory/react/components/MemoryHowPanel.d.ts +7 -0
- package/dist/features/memory/react/components/MemoryHowPanel.d.ts.map +1 -0
- package/dist/features/memory/react/components/MemoryHowPanel.js +12 -0
- package/dist/features/memory/react/components/MemoryHowPanel.js.map +1 -0
- package/dist/features/memory/react/components/MemoryList.d.ts +22 -0
- package/dist/features/memory/react/components/MemoryList.d.ts.map +1 -0
- package/dist/features/memory/react/components/MemoryList.js +27 -0
- package/dist/features/memory/react/components/MemoryList.js.map +1 -0
- package/dist/features/memory/react/components/MemoryManualEditor.d.ts +17 -0
- package/dist/features/memory/react/components/MemoryManualEditor.d.ts.map +1 -0
- package/dist/features/memory/react/components/MemoryManualEditor.js +63 -0
- package/dist/features/memory/react/components/MemoryManualEditor.js.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryConfig.hooks.d.ts +29 -0
- package/dist/features/memory/react/hooks/useMemoryConfig.hooks.d.ts.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryConfig.hooks.js +219 -0
- package/dist/features/memory/react/hooks/useMemoryConfig.hooks.js.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryConnectors.hooks.d.ts +57 -0
- package/dist/features/memory/react/hooks/useMemoryConnectors.hooks.d.ts.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryConnectors.hooks.js +517 -0
- package/dist/features/memory/react/hooks/useMemoryConnectors.hooks.js.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryEntries.hooks.d.ts +52 -0
- package/dist/features/memory/react/hooks/useMemoryEntries.hooks.d.ts.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryEntries.hooks.js +341 -0
- package/dist/features/memory/react/hooks/useMemoryEntries.hooks.js.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryExtractions.hooks.d.ts +21 -0
- package/dist/features/memory/react/hooks/useMemoryExtractions.hooks.d.ts.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryExtractions.hooks.js +181 -0
- package/dist/features/memory/react/hooks/useMemoryExtractions.hooks.js.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryExtractions.store.d.ts +69 -0
- package/dist/features/memory/react/hooks/useMemoryExtractions.store.d.ts.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryExtractions.store.js +269 -0
- package/dist/features/memory/react/hooks/useMemoryExtractions.store.js.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryFlash.hooks.d.ts +12 -0
- package/dist/features/memory/react/hooks/useMemoryFlash.hooks.d.ts.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryFlash.hooks.js +24 -0
- package/dist/features/memory/react/hooks/useMemoryFlash.hooks.js.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryNavigation.hooks.d.ts +24 -0
- package/dist/features/memory/react/hooks/useMemoryNavigation.hooks.d.ts.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryNavigation.hooks.js +37 -0
- package/dist/features/memory/react/hooks/useMemoryNavigation.hooks.js.map +1 -0
- package/dist/features/memory/react/render-markdown.d.ts +2 -0
- package/dist/features/memory/react/render-markdown.d.ts.map +1 -0
- package/dist/features/memory/react/render-markdown.js +24 -0
- package/dist/features/memory/react/render-markdown.js.map +1 -0
- package/dist/features/memory/rules.d.ts +44 -0
- package/dist/features/memory/rules.d.ts.map +1 -0
- package/dist/features/memory/rules.js +73 -0
- package/dist/features/memory/rules.js.map +1 -0
- package/dist/features/memory/types.d.ts +157 -0
- package/dist/features/memory/types.d.ts.map +1 -0
- package/dist/features/memory/types.js +2 -0
- package/dist/features/memory/types.js.map +1 -0
- package/dist/features/mention-autocomplete/constants.d.ts +9 -0
- package/dist/features/mention-autocomplete/constants.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/constants.js +9 -0
- package/dist/features/mention-autocomplete/constants.js.map +1 -0
- package/dist/features/mention-autocomplete/index.d.ts +17 -0
- package/dist/features/mention-autocomplete/index.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/index.js +9 -0
- package/dist/features/mention-autocomplete/index.js.map +1 -0
- package/dist/features/mention-autocomplete/react/components/MentionAutocomplete.d.ts +44 -0
- package/dist/features/mention-autocomplete/react/components/MentionAutocomplete.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/react/components/MentionAutocomplete.js +35 -0
- package/dist/features/mention-autocomplete/react/components/MentionAutocomplete.js.map +1 -0
- package/dist/features/mention-autocomplete/react/components/MentionCategoryTabs.d.ts +12 -0
- package/dist/features/mention-autocomplete/react/components/MentionCategoryTabs.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/react/components/MentionCategoryTabs.js +15 -0
- package/dist/features/mention-autocomplete/react/components/MentionCategoryTabs.js.map +1 -0
- package/dist/features/mention-autocomplete/react/components/MentionResultItem.d.ts +17 -0
- package/dist/features/mention-autocomplete/react/components/MentionResultItem.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/react/components/MentionResultItem.js +14 -0
- package/dist/features/mention-autocomplete/react/components/MentionResultItem.js.map +1 -0
- package/dist/features/mention-autocomplete/react/components/MentionResultsList.d.ts +17 -0
- package/dist/features/mention-autocomplete/react/components/MentionResultsList.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/react/components/MentionResultsList.js +10 -0
- package/dist/features/mention-autocomplete/react/components/MentionResultsList.js.map +1 -0
- package/dist/features/mention-autocomplete/react/components/SelectedMentionChips.d.ts +12 -0
- package/dist/features/mention-autocomplete/react/components/SelectedMentionChips.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/react/components/SelectedMentionChips.js +11 -0
- package/dist/features/mention-autocomplete/react/components/SelectedMentionChips.js.map +1 -0
- package/dist/features/mention-autocomplete/react/hooks/useMentionAutocomplete.d.ts +56 -0
- package/dist/features/mention-autocomplete/react/hooks/useMentionAutocomplete.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/react/hooks/useMentionAutocomplete.js +115 -0
- package/dist/features/mention-autocomplete/react/hooks/useMentionAutocomplete.js.map +1 -0
- package/dist/features/mention-autocomplete/rules.d.ts +54 -0
- package/dist/features/mention-autocomplete/rules.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/rules.js +109 -0
- package/dist/features/mention-autocomplete/rules.js.map +1 -0
- package/dist/features/mention-autocomplete/types.d.ts +56 -0
- package/dist/features/mention-autocomplete/types.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/types.js +20 -0
- package/dist/features/mention-autocomplete/types.js.map +1 -0
- package/dist/features/observability/boot-timing.d.ts +32 -0
- package/dist/features/observability/boot-timing.d.ts.map +1 -0
- package/dist/features/observability/boot-timing.js +129 -0
- package/dist/features/observability/boot-timing.js.map +1 -0
- package/dist/features/observability/iframe.d.ts +35 -0
- package/dist/features/observability/iframe.d.ts.map +1 -0
- package/dist/features/observability/iframe.js +62 -0
- package/dist/features/observability/iframe.js.map +1 -0
- package/dist/features/observability/index.d.ts +19 -0
- package/dist/features/observability/index.d.ts.map +1 -0
- package/dist/features/observability/index.js +10 -0
- package/dist/features/observability/index.js.map +1 -0
- package/dist/features/observability/install.d.ts +39 -0
- package/dist/features/observability/install.d.ts.map +1 -0
- package/dist/features/observability/install.js +54 -0
- package/dist/features/observability/install.js.map +1 -0
- package/dist/features/observability/long-task.d.ts +26 -0
- package/dist/features/observability/long-task.d.ts.map +1 -0
- package/dist/features/observability/long-task.js +82 -0
- package/dist/features/observability/long-task.js.map +1 -0
- package/dist/features/observability/ports.d.ts +14 -0
- package/dist/features/observability/ports.d.ts.map +1 -0
- package/dist/features/observability/ports.js +4 -0
- package/dist/features/observability/ports.js.map +1 -0
- package/dist/features/observability/resource-error.d.ts +21 -0
- package/dist/features/observability/resource-error.d.ts.map +1 -0
- package/dist/features/observability/resource-error.js +65 -0
- package/dist/features/observability/resource-error.js.map +1 -0
- package/dist/features/observability/stuck-run.d.ts +41 -0
- package/dist/features/observability/stuck-run.d.ts.map +1 -0
- package/dist/features/observability/stuck-run.js +113 -0
- package/dist/features/observability/stuck-run.js.map +1 -0
- package/dist/features/observability/visibility.d.ts +25 -0
- package/dist/features/observability/visibility.d.ts.map +1 -0
- package/dist/features/observability/visibility.js +68 -0
- package/dist/features/observability/visibility.js.map +1 -0
- package/dist/features/observability/white-screen.d.ts +52 -0
- package/dist/features/observability/white-screen.d.ts.map +1 -0
- package/dist/features/observability/white-screen.js +190 -0
- package/dist/features/observability/white-screen.js.map +1 -0
- package/dist/features/progress-card/components/ProgressCard.d.ts +19 -0
- package/dist/features/progress-card/components/ProgressCard.d.ts.map +1 -0
- package/dist/features/progress-card/components/ProgressCard.js +30 -0
- package/dist/features/progress-card/components/ProgressCard.js.map +1 -0
- package/dist/features/progress-card/index.d.ts +7 -0
- package/dist/features/progress-card/index.d.ts.map +1 -0
- package/dist/features/progress-card/index.js +4 -0
- package/dist/features/progress-card/index.js.map +1 -0
- package/dist/features/progress-card/reference-adapters.d.ts +93 -0
- package/dist/features/progress-card/reference-adapters.d.ts.map +1 -0
- package/dist/features/progress-card/reference-adapters.js +279 -0
- package/dist/features/progress-card/reference-adapters.js.map +1 -0
- package/dist/features/progress-card/rules.d.ts +27 -0
- package/dist/features/progress-card/rules.d.ts.map +1 -0
- package/dist/features/progress-card/rules.js +69 -0
- package/dist/features/progress-card/rules.js.map +1 -0
- package/dist/features/progress-card/types.d.ts +35 -0
- package/dist/features/progress-card/types.d.ts.map +1 -0
- package/dist/features/progress-card/types.js +9 -0
- package/dist/features/progress-card/types.js.map +1 -0
- package/dist/features/resource-dashboard/constants.d.ts +7 -0
- package/dist/features/resource-dashboard/constants.d.ts.map +1 -0
- package/dist/features/resource-dashboard/constants.js +7 -0
- package/dist/features/resource-dashboard/constants.js.map +1 -0
- package/dist/features/resource-dashboard/dependencies.d.ts +48 -0
- package/dist/features/resource-dashboard/dependencies.d.ts.map +1 -0
- package/dist/features/resource-dashboard/dependencies.js +94 -0
- package/dist/features/resource-dashboard/dependencies.js.map +1 -0
- package/dist/features/resource-dashboard/index.d.ts +33 -0
- package/dist/features/resource-dashboard/index.d.ts.map +1 -0
- package/dist/features/resource-dashboard/index.js +26 -0
- package/dist/features/resource-dashboard/index.js.map +1 -0
- package/dist/features/resource-dashboard/ports.d.ts +56 -0
- package/dist/features/resource-dashboard/ports.d.ts.map +1 -0
- package/dist/features/resource-dashboard/ports.js +2 -0
- package/dist/features/resource-dashboard/ports.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoard.d.ts +40 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoard.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoard.js +64 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoard.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoardToolbar.d.ts +39 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoardToolbar.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoardToolbar.js +14 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoardToolbar.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoardView.d.ts +65 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoardView.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoardView.js +14 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoardView.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceCard.d.ts +33 -0
- package/dist/features/resource-dashboard/react/components/ResourceCard.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceCard.js +37 -0
- package/dist/features/resource-dashboard/react/components/ResourceCard.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceKanbanBoard.d.ts +31 -0
- package/dist/features/resource-dashboard/react/components/ResourceKanbanBoard.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceKanbanBoard.js +32 -0
- package/dist/features/resource-dashboard/react/components/ResourceKanbanBoard.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceMetrics.d.ts +13 -0
- package/dist/features/resource-dashboard/react/components/ResourceMetrics.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceMetrics.js +13 -0
- package/dist/features/resource-dashboard/react/components/ResourceMetrics.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowList.d.ts +32 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowList.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowList.js +25 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowList.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowListItem.d.ts +28 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowListItem.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowListItem.js +14 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowListItem.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowListView.d.ts +48 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowListView.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowListView.js +18 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowListView.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceRunHistoryList.d.ts +22 -0
- package/dist/features/resource-dashboard/react/components/ResourceRunHistoryList.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceRunHistoryList.js +20 -0
- package/dist/features/resource-dashboard/react/components/ResourceRunHistoryList.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/StatusPill.d.ts +18 -0
- package/dist/features/resource-dashboard/react/components/StatusPill.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/StatusPill.js +16 -0
- package/dist/features/resource-dashboard/react/components/StatusPill.js.map +1 -0
- package/dist/features/resource-dashboard/react/hooks/useResourceBoard.d.ts +78 -0
- package/dist/features/resource-dashboard/react/hooks/useResourceBoard.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/hooks/useResourceBoard.js +220 -0
- package/dist/features/resource-dashboard/react/hooks/useResourceBoard.js.map +1 -0
- package/dist/features/resource-dashboard/react/hooks/useResourceRowList.d.ts +47 -0
- package/dist/features/resource-dashboard/react/hooks/useResourceRowList.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/hooks/useResourceRowList.js +137 -0
- package/dist/features/resource-dashboard/react/hooks/useResourceRowList.js.map +1 -0
- package/dist/features/resource-dashboard/rules.d.ts +44 -0
- package/dist/features/resource-dashboard/rules.d.ts.map +1 -0
- package/dist/features/resource-dashboard/rules.js +124 -0
- package/dist/features/resource-dashboard/rules.js.map +1 -0
- package/dist/features/resource-dashboard/types.d.ts +123 -0
- package/dist/features/resource-dashboard/types.d.ts.map +1 -0
- package/dist/features/resource-dashboard/types.js +30 -0
- package/dist/features/resource-dashboard/types.js.map +1 -0
- package/dist/features/revision-review/index.d.ts +5 -0
- package/dist/features/revision-review/index.d.ts.map +1 -0
- package/dist/features/revision-review/index.js +4 -0
- package/dist/features/revision-review/index.js.map +1 -0
- package/dist/features/revision-review/react/components/RevisionDiffCard.d.ts +19 -0
- package/dist/features/revision-review/react/components/RevisionDiffCard.d.ts.map +1 -0
- package/dist/features/revision-review/react/components/RevisionDiffCard.js +19 -0
- package/dist/features/revision-review/react/components/RevisionDiffCard.js.map +1 -0
- package/dist/features/revision-review/react/components/RevisionHistoryList.d.ts +7 -0
- package/dist/features/revision-review/react/components/RevisionHistoryList.d.ts.map +1 -0
- package/dist/features/revision-review/react/components/RevisionHistoryList.js +9 -0
- package/dist/features/revision-review/react/components/RevisionHistoryList.js.map +1 -0
- package/dist/features/revision-review/rules.d.ts +13 -0
- package/dist/features/revision-review/rules.d.ts.map +1 -0
- package/dist/features/revision-review/rules.js +26 -0
- package/dist/features/revision-review/rules.js.map +1 -0
- package/dist/features/revision-review/types.d.ts +25 -0
- package/dist/features/revision-review/types.d.ts.map +1 -0
- package/dist/features/revision-review/types.js +2 -0
- package/dist/features/revision-review/types.js.map +1 -0
- package/dist/features/rich-text-input/constants.d.ts +16 -0
- package/dist/features/rich-text-input/constants.d.ts.map +1 -0
- package/dist/features/rich-text-input/constants.js +18 -0
- package/dist/features/rich-text-input/constants.js.map +1 -0
- package/dist/features/rich-text-input/deserialize.d.ts +9 -0
- package/dist/features/rich-text-input/deserialize.d.ts.map +1 -0
- package/dist/features/rich-text-input/deserialize.js +55 -0
- package/dist/features/rich-text-input/deserialize.js.map +1 -0
- package/dist/features/rich-text-input/index.d.ts +12 -0
- package/dist/features/rich-text-input/index.d.ts.map +1 -0
- package/dist/features/rich-text-input/index.js +11 -0
- package/dist/features/rich-text-input/index.js.map +1 -0
- package/dist/features/rich-text-input/mention-node.d.ts +56 -0
- package/dist/features/rich-text-input/mention-node.d.ts.map +1 -0
- package/dist/features/rich-text-input/mention-node.js +142 -0
- package/dist/features/rich-text-input/mention-node.js.map +1 -0
- package/dist/features/rich-text-input/mention-parser.d.ts +47 -0
- package/dist/features/rich-text-input/mention-parser.d.ts.map +1 -0
- package/dist/features/rich-text-input/mention-parser.js +239 -0
- package/dist/features/rich-text-input/mention-parser.js.map +1 -0
- package/dist/features/rich-text-input/react/components/CaretFloatingLayer.d.ts +20 -0
- package/dist/features/rich-text-input/react/components/CaretFloatingLayer.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/components/CaretFloatingLayer.js +33 -0
- package/dist/features/rich-text-input/react/components/CaretFloatingLayer.js.map +1 -0
- package/dist/features/rich-text-input/react/components/RichTextInput.d.ts +61 -0
- package/dist/features/rich-text-input/react/components/RichTextInput.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/components/RichTextInput.js +154 -0
- package/dist/features/rich-text-input/react/components/RichTextInput.js.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useCaretFloatingLayerPosition.d.ts +15 -0
- package/dist/features/rich-text-input/react/hooks/useCaretFloatingLayerPosition.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useCaretFloatingLayerPosition.js +54 -0
- package/dist/features/rich-text-input/react/hooks/useCaretFloatingLayerPosition.js.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useKeyboardCommands.d.ts +11 -0
- package/dist/features/rich-text-input/react/hooks/useKeyboardCommands.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useKeyboardCommands.js +70 -0
- package/dist/features/rich-text-input/react/hooks/useKeyboardCommands.js.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useMentionAtomicNavigation.d.ts +8 -0
- package/dist/features/rich-text-input/react/hooks/useMentionAtomicNavigation.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useMentionAtomicNavigation.js +63 -0
- package/dist/features/rich-text-input/react/hooks/useMentionAtomicNavigation.js.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useMentionColorStamping.d.ts +18 -0
- package/dist/features/rich-text-input/react/hooks/useMentionColorStamping.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useMentionColorStamping.js +64 -0
- package/dist/features/rich-text-input/react/hooks/useMentionColorStamping.js.map +1 -0
- package/dist/features/rich-text-input/react/hooks/usePasteFiles.d.ts +5 -0
- package/dist/features/rich-text-input/react/hooks/usePasteFiles.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/hooks/usePasteFiles.js +24 -0
- package/dist/features/rich-text-input/react/hooks/usePasteFiles.js.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useSeededValue.d.ts +21 -0
- package/dist/features/rich-text-input/react/hooks/useSeededValue.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useSeededValue.js +35 -0
- package/dist/features/rich-text-input/react/hooks/useSeededValue.js.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useSyncedOnChange.d.ts +10 -0
- package/dist/features/rich-text-input/react/hooks/useSyncedOnChange.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useSyncedOnChange.js +29 -0
- package/dist/features/rich-text-input/react/hooks/useSyncedOnChange.js.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useTriggerDetection.d.ts +6 -0
- package/dist/features/rich-text-input/react/hooks/useTriggerDetection.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useTriggerDetection.js +39 -0
- package/dist/features/rich-text-input/react/hooks/useTriggerDetection.js.map +1 -0
- package/dist/features/rich-text-input/react/test-support/lexical-harness.d.ts +11 -0
- package/dist/features/rich-text-input/react/test-support/lexical-harness.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/test-support/lexical-harness.js +35 -0
- package/dist/features/rich-text-input/react/test-support/lexical-harness.js.map +1 -0
- package/dist/features/rich-text-input/rules.d.ts +83 -0
- package/dist/features/rich-text-input/rules.d.ts.map +1 -0
- package/dist/features/rich-text-input/rules.js +317 -0
- package/dist/features/rich-text-input/rules.js.map +1 -0
- package/dist/features/rich-text-input/serialize.d.ts +8 -0
- package/dist/features/rich-text-input/serialize.d.ts.map +1 -0
- package/dist/features/rich-text-input/serialize.js +44 -0
- package/dist/features/rich-text-input/serialize.js.map +1 -0
- package/dist/features/rich-text-input/types.d.ts +83 -0
- package/dist/features/rich-text-input/types.d.ts.map +1 -0
- package/dist/features/rich-text-input/types.js +15 -0
- package/dist/features/rich-text-input/types.js.map +1 -0
- package/dist/features/schedule-picker/constants.d.ts +12 -0
- package/dist/features/schedule-picker/constants.d.ts.map +1 -0
- package/dist/features/schedule-picker/constants.js +24 -0
- package/dist/features/schedule-picker/constants.js.map +1 -0
- package/dist/features/schedule-picker/index.d.ts +16 -0
- package/dist/features/schedule-picker/index.d.ts.map +1 -0
- package/dist/features/schedule-picker/index.js +9 -0
- package/dist/features/schedule-picker/index.js.map +1 -0
- package/dist/features/schedule-picker/react/components/RecurringSchedulePicker.d.ts +31 -0
- package/dist/features/schedule-picker/react/components/RecurringSchedulePicker.d.ts.map +1 -0
- package/dist/features/schedule-picker/react/components/RecurringSchedulePicker.js +30 -0
- package/dist/features/schedule-picker/react/components/RecurringSchedulePicker.js.map +1 -0
- package/dist/features/schedule-picker/react/components/ScheduleFields.d.ts +14 -0
- package/dist/features/schedule-picker/react/components/ScheduleFields.d.ts.map +1 -0
- package/dist/features/schedule-picker/react/components/ScheduleFields.js +16 -0
- package/dist/features/schedule-picker/react/components/ScheduleFields.js.map +1 -0
- package/dist/features/schedule-picker/react/components/ScheduleKindTabs.d.ts +9 -0
- package/dist/features/schedule-picker/react/components/ScheduleKindTabs.d.ts.map +1 -0
- package/dist/features/schedule-picker/react/components/ScheduleKindTabs.js +8 -0
- package/dist/features/schedule-picker/react/components/ScheduleKindTabs.js.map +1 -0
- package/dist/features/schedule-picker/react/components/ScheduleSummary.d.ts +23 -0
- package/dist/features/schedule-picker/react/components/ScheduleSummary.d.ts.map +1 -0
- package/dist/features/schedule-picker/react/components/ScheduleSummary.js +32 -0
- package/dist/features/schedule-picker/react/components/ScheduleSummary.js.map +1 -0
- package/dist/features/schedule-picker/react/components/WeekdayGrid.d.ts +9 -0
- package/dist/features/schedule-picker/react/components/WeekdayGrid.d.ts.map +1 -0
- package/dist/features/schedule-picker/react/components/WeekdayGrid.js +8 -0
- package/dist/features/schedule-picker/react/components/WeekdayGrid.js.map +1 -0
- package/dist/features/schedule-picker/react/hooks/useRecurringSchedulePicker.d.ts +38 -0
- package/dist/features/schedule-picker/react/hooks/useRecurringSchedulePicker.d.ts.map +1 -0
- package/dist/features/schedule-picker/react/hooks/useRecurringSchedulePicker.js +58 -0
- package/dist/features/schedule-picker/react/hooks/useRecurringSchedulePicker.js.map +1 -0
- package/dist/features/schedule-picker/rules.d.ts +40 -0
- package/dist/features/schedule-picker/rules.d.ts.map +1 -0
- package/dist/features/schedule-picker/rules.js +105 -0
- package/dist/features/schedule-picker/rules.js.map +1 -0
- package/dist/features/schedule-picker/types.d.ts +70 -0
- package/dist/features/schedule-picker/types.d.ts.map +1 -0
- package/dist/features/schedule-picker/types.js +9 -0
- package/dist/features/schedule-picker/types.js.map +1 -0
- package/dist/features/settings-dialog/index.d.ts +7 -0
- package/dist/features/settings-dialog/index.d.ts.map +1 -0
- package/dist/features/settings-dialog/index.js +4 -0
- package/dist/features/settings-dialog/index.js.map +1 -0
- package/dist/features/settings-dialog/react/components/SettingsDialogShell.d.ts +49 -0
- package/dist/features/settings-dialog/react/components/SettingsDialogShell.d.ts.map +1 -0
- package/dist/features/settings-dialog/react/components/SettingsDialogShell.js +55 -0
- package/dist/features/settings-dialog/react/components/SettingsDialogShell.js.map +1 -0
- package/dist/features/settings-dialog/react/hooks/useSettingsDialogShell.d.ts +39 -0
- package/dist/features/settings-dialog/react/hooks/useSettingsDialogShell.d.ts.map +1 -0
- package/dist/features/settings-dialog/react/hooks/useSettingsDialogShell.js +50 -0
- package/dist/features/settings-dialog/react/hooks/useSettingsDialogShell.js.map +1 -0
- package/dist/features/settings-dialog/rules.d.ts +13 -0
- package/dist/features/settings-dialog/rules.d.ts.map +1 -0
- package/dist/features/settings-dialog/rules.js +21 -0
- package/dist/features/settings-dialog/rules.js.map +1 -0
- package/dist/features/settings-dialog/tabs/appearance/constants.d.ts +12 -0
- package/dist/features/settings-dialog/tabs/appearance/constants.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/appearance/constants.js +10 -0
- package/dist/features/settings-dialog/tabs/appearance/constants.js.map +1 -0
- package/dist/features/settings-dialog/tabs/appearance/index.d.ts +6 -0
- package/dist/features/settings-dialog/tabs/appearance/index.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/appearance/index.js +3 -0
- package/dist/features/settings-dialog/tabs/appearance/index.js.map +1 -0
- package/dist/features/settings-dialog/tabs/appearance/react/components/AppearanceTab.d.ts +29 -0
- package/dist/features/settings-dialog/tabs/appearance/react/components/AppearanceTab.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/appearance/react/components/AppearanceTab.js +31 -0
- package/dist/features/settings-dialog/tabs/appearance/react/components/AppearanceTab.js.map +1 -0
- package/dist/features/settings-dialog/tabs/appearance/types.d.ts +12 -0
- package/dist/features/settings-dialog/tabs/appearance/types.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/appearance/types.js +8 -0
- package/dist/features/settings-dialog/tabs/appearance/types.js.map +1 -0
- package/dist/features/settings-dialog/tabs/instructions/index.d.ts +3 -0
- package/dist/features/settings-dialog/tabs/instructions/index.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/instructions/index.js +2 -0
- package/dist/features/settings-dialog/tabs/instructions/index.js.map +1 -0
- package/dist/features/settings-dialog/tabs/instructions/react/components/InstructionsTab.d.ts +25 -0
- package/dist/features/settings-dialog/tabs/instructions/react/components/InstructionsTab.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/instructions/react/components/InstructionsTab.js +16 -0
- package/dist/features/settings-dialog/tabs/instructions/react/components/InstructionsTab.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/constants.d.ts +8 -0
- package/dist/features/settings-dialog/tabs/integrations/constants.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/constants.js +15 -0
- package/dist/features/settings-dialog/tabs/integrations/constants.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/dependencies.d.ts +16 -0
- package/dist/features/settings-dialog/tabs/integrations/dependencies.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/dependencies.js +38 -0
- package/dist/features/settings-dialog/tabs/integrations/dependencies.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/index.d.ts +19 -0
- package/dist/features/settings-dialog/tabs/integrations/index.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/index.js +10 -0
- package/dist/features/settings-dialog/tabs/integrations/index.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/ports.d.ts +21 -0
- package/dist/features/settings-dialog/tabs/integrations/ports.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/ports.js +2 -0
- package/dist/features/settings-dialog/tabs/integrations/ports.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/ClientPicker.d.ts +27 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/ClientPicker.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/ClientPicker.js +31 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/ClientPicker.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/CodexInstallToggleButton.d.ts +12 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/CodexInstallToggleButton.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/CodexInstallToggleButton.js +21 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/CodexInstallToggleButton.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/IntegrationsTab.d.ts +27 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/IntegrationsTab.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/IntegrationsTab.js +54 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/IntegrationsTab.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/SnippetBlock.d.ts +17 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/SnippetBlock.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/SnippetBlock.js +53 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/SnippetBlock.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useCodexInstallToggle.d.ts +39 -0
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useCodexInstallToggle.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useCodexInstallToggle.js +82 -0
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useCodexInstallToggle.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useMcpInstallInfo.d.ts +26 -0
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useMcpInstallInfo.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useMcpInstallInfo.js +56 -0
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useMcpInstallInfo.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/rules.d.ts +45 -0
- package/dist/features/settings-dialog/tabs/integrations/rules.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/rules.js +181 -0
- package/dist/features/settings-dialog/tabs/integrations/rules.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/types.d.ts +58 -0
- package/dist/features/settings-dialog/tabs/integrations/types.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/types.js +15 -0
- package/dist/features/settings-dialog/tabs/integrations/types.js.map +1 -0
- package/dist/features/settings-dialog/tabs/language/index.d.ts +4 -0
- package/dist/features/settings-dialog/tabs/language/index.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/language/index.js +2 -0
- package/dist/features/settings-dialog/tabs/language/index.js.map +1 -0
- package/dist/features/settings-dialog/tabs/language/react/components/LanguageTab.d.ts +15 -0
- package/dist/features/settings-dialog/tabs/language/react/components/LanguageTab.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/language/react/components/LanguageTab.js +18 -0
- package/dist/features/settings-dialog/tabs/language/react/components/LanguageTab.js.map +1 -0
- package/dist/features/settings-dialog/tabs/language/types.d.ts +15 -0
- package/dist/features/settings-dialog/tabs/language/types.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/language/types.js +2 -0
- package/dist/features/settings-dialog/tabs/language/types.js.map +1 -0
- package/dist/features/settings-dialog/tabs/notifications/constants.d.ts +3 -0
- package/dist/features/settings-dialog/tabs/notifications/constants.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/notifications/constants.js +8 -0
- package/dist/features/settings-dialog/tabs/notifications/constants.js.map +1 -0
- package/dist/features/settings-dialog/tabs/notifications/index.d.ts +5 -0
- package/dist/features/settings-dialog/tabs/notifications/index.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/notifications/index.js +3 -0
- package/dist/features/settings-dialog/tabs/notifications/index.js.map +1 -0
- package/dist/features/settings-dialog/tabs/notifications/react/components/NotificationsTab.d.ts +33 -0
- package/dist/features/settings-dialog/tabs/notifications/react/components/NotificationsTab.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/notifications/react/components/NotificationsTab.js +71 -0
- package/dist/features/settings-dialog/tabs/notifications/react/components/NotificationsTab.js.map +1 -0
- package/dist/features/settings-dialog/tabs/notifications/types.d.ts +15 -0
- package/dist/features/settings-dialog/tabs/notifications/types.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/notifications/types.js +2 -0
- package/dist/features/settings-dialog/tabs/notifications/types.js.map +1 -0
- package/dist/features/settings-dialog/tabs/privacy/index.d.ts +5 -0
- package/dist/features/settings-dialog/tabs/privacy/index.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/privacy/index.js +3 -0
- package/dist/features/settings-dialog/tabs/privacy/index.js.map +1 -0
- package/dist/features/settings-dialog/tabs/privacy/react/components/PrivacyTab.d.ts +34 -0
- package/dist/features/settings-dialog/tabs/privacy/react/components/PrivacyTab.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/privacy/react/components/PrivacyTab.js +36 -0
- package/dist/features/settings-dialog/tabs/privacy/react/components/PrivacyTab.js.map +1 -0
- package/dist/features/settings-dialog/tabs/privacy/rules.d.ts +31 -0
- package/dist/features/settings-dialog/tabs/privacy/rules.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/privacy/rules.js +70 -0
- package/dist/features/settings-dialog/tabs/privacy/rules.js.map +1 -0
- package/dist/features/settings-dialog/tabs/privacy/types.d.ts +26 -0
- package/dist/features/settings-dialog/tabs/privacy/types.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/privacy/types.js +13 -0
- package/dist/features/settings-dialog/tabs/privacy/types.js.map +1 -0
- package/dist/features/settings-dialog/types.d.ts +46 -0
- package/dist/features/settings-dialog/types.d.ts.map +1 -0
- package/dist/features/settings-dialog/types.js +18 -0
- package/dist/features/settings-dialog/types.js.map +1 -0
- package/dist/features/sketch-editor/constants.d.ts +46 -0
- package/dist/features/sketch-editor/constants.d.ts.map +1 -0
- package/dist/features/sketch-editor/constants.js +104 -0
- package/dist/features/sketch-editor/constants.js.map +1 -0
- package/dist/features/sketch-editor/dependencies.d.ts +4 -0
- package/dist/features/sketch-editor/dependencies.d.ts.map +1 -0
- package/dist/features/sketch-editor/dependencies.js +18 -0
- package/dist/features/sketch-editor/dependencies.js.map +1 -0
- package/dist/features/sketch-editor/dom.d.ts +38 -0
- package/dist/features/sketch-editor/dom.d.ts.map +1 -0
- package/dist/features/sketch-editor/dom.js +263 -0
- package/dist/features/sketch-editor/dom.js.map +1 -0
- package/dist/features/sketch-editor/index.d.ts +21 -0
- package/dist/features/sketch-editor/index.d.ts.map +1 -0
- package/dist/features/sketch-editor/index.js +13 -0
- package/dist/features/sketch-editor/index.js.map +1 -0
- package/dist/features/sketch-editor/ports.d.ts +52 -0
- package/dist/features/sketch-editor/ports.d.ts.map +1 -0
- package/dist/features/sketch-editor/ports.js +2 -0
- package/dist/features/sketch-editor/ports.js.map +1 -0
- package/dist/features/sketch-editor/react/components/SketchEditor.d.ts +53 -0
- package/dist/features/sketch-editor/react/components/SketchEditor.d.ts.map +1 -0
- package/dist/features/sketch-editor/react/components/SketchEditor.js +74 -0
- package/dist/features/sketch-editor/react/components/SketchEditor.js.map +1 -0
- package/dist/features/sketch-editor/react/components/SketchMainMenu.d.ts +19 -0
- package/dist/features/sketch-editor/react/components/SketchMainMenu.d.ts.map +1 -0
- package/dist/features/sketch-editor/react/components/SketchMainMenu.js +9 -0
- package/dist/features/sketch-editor/react/components/SketchMainMenu.js.map +1 -0
- package/dist/features/sketch-editor/react/components/SketchSaveStateBadge.d.ts +7 -0
- package/dist/features/sketch-editor/react/components/SketchSaveStateBadge.d.ts.map +1 -0
- package/dist/features/sketch-editor/react/components/SketchSaveStateBadge.js +7 -0
- package/dist/features/sketch-editor/react/components/SketchSaveStateBadge.js.map +1 -0
- package/dist/features/sketch-editor/react/dependencies-fake.d.ts +4 -0
- package/dist/features/sketch-editor/react/dependencies-fake.d.ts.map +1 -0
- package/dist/features/sketch-editor/react/dependencies-fake.js +76 -0
- package/dist/features/sketch-editor/react/dependencies-fake.js.map +1 -0
- package/dist/features/sketch-editor/react/hooks/useSketchDomEnhancements.d.ts +27 -0
- package/dist/features/sketch-editor/react/hooks/useSketchDomEnhancements.d.ts.map +1 -0
- package/dist/features/sketch-editor/react/hooks/useSketchDomEnhancements.js +78 -0
- package/dist/features/sketch-editor/react/hooks/useSketchDomEnhancements.js.map +1 -0
- package/dist/features/sketch-editor/react/hooks/useSketchSaveWorkflow.d.ts +41 -0
- package/dist/features/sketch-editor/react/hooks/useSketchSaveWorkflow.d.ts.map +1 -0
- package/dist/features/sketch-editor/react/hooks/useSketchSaveWorkflow.js +127 -0
- package/dist/features/sketch-editor/react/hooks/useSketchSaveWorkflow.js.map +1 -0
- package/dist/features/sketch-editor/react/hooks/useSketchScene.d.ts +28 -0
- package/dist/features/sketch-editor/react/hooks/useSketchScene.d.ts.map +1 -0
- package/dist/features/sketch-editor/react/hooks/useSketchScene.js +87 -0
- package/dist/features/sketch-editor/react/hooks/useSketchScene.js.map +1 -0
- package/dist/features/sketch-editor/react/hooks/useSketchTheme.d.ts +5 -0
- package/dist/features/sketch-editor/react/hooks/useSketchTheme.d.ts.map +1 -0
- package/dist/features/sketch-editor/react/hooks/useSketchTheme.js +22 -0
- package/dist/features/sketch-editor/react/hooks/useSketchTheme.js.map +1 -0
- package/dist/features/sketch-editor/rules.d.ts +66 -0
- package/dist/features/sketch-editor/rules.d.ts.map +1 -0
- package/dist/features/sketch-editor/rules.js +257 -0
- package/dist/features/sketch-editor/rules.js.map +1 -0
- package/dist/features/sketch-editor/types.d.ts +45 -0
- package/dist/features/sketch-editor/types.d.ts.map +1 -0
- package/dist/features/sketch-editor/types.js +8 -0
- package/dist/features/sketch-editor/types.js.map +1 -0
- package/dist/features/source-config-list/constants.d.ts +15 -0
- package/dist/features/source-config-list/constants.d.ts.map +1 -0
- package/dist/features/source-config-list/constants.js +15 -0
- package/dist/features/source-config-list/constants.js.map +1 -0
- package/dist/features/source-config-list/dependencies.d.ts +40 -0
- package/dist/features/source-config-list/dependencies.d.ts.map +1 -0
- package/dist/features/source-config-list/dependencies.js +75 -0
- package/dist/features/source-config-list/dependencies.js.map +1 -0
- package/dist/features/source-config-list/index.d.ts +23 -0
- package/dist/features/source-config-list/index.d.ts.map +1 -0
- package/dist/features/source-config-list/index.js +12 -0
- package/dist/features/source-config-list/index.js.map +1 -0
- package/dist/features/source-config-list/ports.d.ts +55 -0
- package/dist/features/source-config-list/ports.d.ts.map +1 -0
- package/dist/features/source-config-list/ports.js +2 -0
- package/dist/features/source-config-list/ports.js.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigAddForm.d.ts +40 -0
- package/dist/features/source-config-list/react/components/SourceConfigAddForm.d.ts.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigAddForm.js +25 -0
- package/dist/features/source-config-list/react/components/SourceConfigAddForm.js.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigField.d.ts +28 -0
- package/dist/features/source-config-list/react/components/SourceConfigField.d.ts.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigField.js +21 -0
- package/dist/features/source-config-list/react/components/SourceConfigField.js.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigItemCard.d.ts +35 -0
- package/dist/features/source-config-list/react/components/SourceConfigItemCard.d.ts.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigItemCard.js +41 -0
- package/dist/features/source-config-list/react/components/SourceConfigItemCard.js.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigList.d.ts +33 -0
- package/dist/features/source-config-list/react/components/SourceConfigList.d.ts.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigList.js +49 -0
- package/dist/features/source-config-list/react/components/SourceConfigList.js.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigListView.d.ts +30 -0
- package/dist/features/source-config-list/react/components/SourceConfigListView.d.ts.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigListView.js +16 -0
- package/dist/features/source-config-list/react/components/SourceConfigListView.js.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigTestControl.d.ts +19 -0
- package/dist/features/source-config-list/react/components/SourceConfigTestControl.d.ts.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigTestControl.js +15 -0
- package/dist/features/source-config-list/react/components/SourceConfigTestControl.js.map +1 -0
- package/dist/features/source-config-list/react/hooks/useSourceConfigAddForm.d.ts +35 -0
- package/dist/features/source-config-list/react/hooks/useSourceConfigAddForm.d.ts.map +1 -0
- package/dist/features/source-config-list/react/hooks/useSourceConfigAddForm.js +55 -0
- package/dist/features/source-config-list/react/hooks/useSourceConfigAddForm.js.map +1 -0
- package/dist/features/source-config-list/react/hooks/useSourceConfigList.d.ts +55 -0
- package/dist/features/source-config-list/react/hooks/useSourceConfigList.d.ts.map +1 -0
- package/dist/features/source-config-list/react/hooks/useSourceConfigList.js +142 -0
- package/dist/features/source-config-list/react/hooks/useSourceConfigList.js.map +1 -0
- package/dist/features/source-config-list/rules.d.ts +46 -0
- package/dist/features/source-config-list/rules.d.ts.map +1 -0
- package/dist/features/source-config-list/rules.js +122 -0
- package/dist/features/source-config-list/rules.js.map +1 -0
- package/dist/features/source-config-list/types.d.ts +101 -0
- package/dist/features/source-config-list/types.d.ts.map +1 -0
- package/dist/features/source-config-list/types.js +17 -0
- package/dist/features/source-config-list/types.js.map +1 -0
- package/dist/features/tab-launcher-menu/constants.d.ts +6 -0
- package/dist/features/tab-launcher-menu/constants.d.ts.map +1 -0
- package/dist/features/tab-launcher-menu/constants.js +6 -0
- package/dist/features/tab-launcher-menu/constants.js.map +1 -0
- package/dist/features/tab-launcher-menu/index.d.ts +8 -0
- package/dist/features/tab-launcher-menu/index.d.ts.map +1 -0
- package/dist/features/tab-launcher-menu/index.js +7 -0
- package/dist/features/tab-launcher-menu/index.js.map +1 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherActionRow.d.ts +9 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherActionRow.d.ts.map +1 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherActionRow.js +5 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherActionRow.js.map +1 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherMenu.d.ts +27 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherMenu.d.ts.map +1 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherMenu.js +42 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherMenu.js.map +1 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherResultRow.d.ts +14 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherResultRow.d.ts.map +1 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherResultRow.js +5 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherResultRow.js.map +1 -0
- package/dist/features/tab-launcher-menu/react/hooks/useTabLauncherMenu.d.ts +43 -0
- package/dist/features/tab-launcher-menu/react/hooks/useTabLauncherMenu.d.ts.map +1 -0
- package/dist/features/tab-launcher-menu/react/hooks/useTabLauncherMenu.js +120 -0
- package/dist/features/tab-launcher-menu/react/hooks/useTabLauncherMenu.js.map +1 -0
- package/dist/features/tab-launcher-menu/rules.d.ts +19 -0
- package/dist/features/tab-launcher-menu/rules.d.ts.map +1 -0
- package/dist/features/tab-launcher-menu/rules.js +63 -0
- package/dist/features/tab-launcher-menu/rules.js.map +1 -0
- package/dist/features/tab-launcher-menu/types.d.ts +56 -0
- package/dist/features/tab-launcher-menu/types.d.ts.map +1 -0
- package/dist/features/tab-launcher-menu/types.js +2 -0
- package/dist/features/tab-launcher-menu/types.js.map +1 -0
- package/dist/features/tab-strip/constants.d.ts +8 -0
- package/dist/features/tab-strip/constants.d.ts.map +1 -0
- package/dist/features/tab-strip/constants.js +8 -0
- package/dist/features/tab-strip/constants.js.map +1 -0
- package/dist/features/tab-strip/dependencies.d.ts +9 -0
- package/dist/features/tab-strip/dependencies.d.ts.map +1 -0
- package/dist/features/tab-strip/dependencies.js +21 -0
- package/dist/features/tab-strip/dependencies.js.map +1 -0
- package/dist/features/tab-strip/index.d.ts +13 -0
- package/dist/features/tab-strip/index.d.ts.map +1 -0
- package/dist/features/tab-strip/index.js +8 -0
- package/dist/features/tab-strip/index.js.map +1 -0
- package/dist/features/tab-strip/ports.d.ts +16 -0
- package/dist/features/tab-strip/ports.d.ts.map +1 -0
- package/dist/features/tab-strip/ports.js +4 -0
- package/dist/features/tab-strip/ports.js.map +1 -0
- package/dist/features/tab-strip/react/components/TabStrip.d.ts +40 -0
- package/dist/features/tab-strip/react/components/TabStrip.d.ts.map +1 -0
- package/dist/features/tab-strip/react/components/TabStrip.js +28 -0
- package/dist/features/tab-strip/react/components/TabStrip.js.map +1 -0
- package/dist/features/tab-strip/react/components/TabStripItem.d.ts +30 -0
- package/dist/features/tab-strip/react/components/TabStripItem.d.ts.map +1 -0
- package/dist/features/tab-strip/react/components/TabStripItem.js +48 -0
- package/dist/features/tab-strip/react/components/TabStripItem.js.map +1 -0
- package/dist/features/tab-strip/react/hooks/useTabStripDragReorder.d.ts +59 -0
- package/dist/features/tab-strip/react/hooks/useTabStripDragReorder.d.ts.map +1 -0
- package/dist/features/tab-strip/react/hooks/useTabStripDragReorder.js +130 -0
- package/dist/features/tab-strip/react/hooks/useTabStripDragReorder.js.map +1 -0
- package/dist/features/tab-strip/rules.d.ts +64 -0
- package/dist/features/tab-strip/rules.d.ts.map +1 -0
- package/dist/features/tab-strip/rules.js +111 -0
- package/dist/features/tab-strip/rules.js.map +1 -0
- package/dist/features/tab-strip/types.d.ts +55 -0
- package/dist/features/tab-strip/types.d.ts.map +1 -0
- package/dist/features/tab-strip/types.js +2 -0
- package/dist/features/tab-strip/types.js.map +1 -0
- package/dist/features/version-manager/constants.d.ts +17 -0
- package/dist/features/version-manager/constants.d.ts.map +1 -0
- package/dist/features/version-manager/constants.js +17 -0
- package/dist/features/version-manager/constants.js.map +1 -0
- package/dist/features/version-manager/dependencies.d.ts +17 -0
- package/dist/features/version-manager/dependencies.d.ts.map +1 -0
- package/dist/features/version-manager/dependencies.js +49 -0
- package/dist/features/version-manager/dependencies.js.map +1 -0
- package/dist/features/version-manager/index.d.ts +19 -0
- package/dist/features/version-manager/index.d.ts.map +1 -0
- package/dist/features/version-manager/index.js +11 -0
- package/dist/features/version-manager/index.js.map +1 -0
- package/dist/features/version-manager/ports.d.ts +53 -0
- package/dist/features/version-manager/ports.d.ts.map +1 -0
- package/dist/features/version-manager/ports.js +2 -0
- package/dist/features/version-manager/ports.js.map +1 -0
- package/dist/features/version-manager/react/components/VersionManagerModal.d.ts +28 -0
- package/dist/features/version-manager/react/components/VersionManagerModal.d.ts.map +1 -0
- package/dist/features/version-manager/react/components/VersionManagerModal.js +69 -0
- package/dist/features/version-manager/react/components/VersionManagerModal.js.map +1 -0
- package/dist/features/version-manager/react/components/VersionPreviewFrame.d.ts +17 -0
- package/dist/features/version-manager/react/components/VersionPreviewFrame.d.ts.map +1 -0
- package/dist/features/version-manager/react/components/VersionPreviewFrame.js +16 -0
- package/dist/features/version-manager/react/components/VersionPreviewFrame.js.map +1 -0
- package/dist/features/version-manager/react/components/VersionPromptPopover.d.ts +24 -0
- package/dist/features/version-manager/react/components/VersionPromptPopover.d.ts.map +1 -0
- package/dist/features/version-manager/react/components/VersionPromptPopover.js +24 -0
- package/dist/features/version-manager/react/components/VersionPromptPopover.js.map +1 -0
- package/dist/features/version-manager/react/components/VersionRestoreControl.d.ts +10 -0
- package/dist/features/version-manager/react/components/VersionRestoreControl.d.ts.map +1 -0
- package/dist/features/version-manager/react/components/VersionRestoreControl.js +19 -0
- package/dist/features/version-manager/react/components/VersionRestoreControl.js.map +1 -0
- package/dist/features/version-manager/react/components/VersionSidebar.d.ts +21 -0
- package/dist/features/version-manager/react/components/VersionSidebar.d.ts.map +1 -0
- package/dist/features/version-manager/react/components/VersionSidebar.js +14 -0
- package/dist/features/version-manager/react/components/VersionSidebar.js.map +1 -0
- package/dist/features/version-manager/react/hooks/usePreviewCanvasSize.d.ts +10 -0
- package/dist/features/version-manager/react/hooks/usePreviewCanvasSize.d.ts.map +1 -0
- package/dist/features/version-manager/react/hooks/usePreviewCanvasSize.js +38 -0
- package/dist/features/version-manager/react/hooks/usePreviewCanvasSize.js.map +1 -0
- package/dist/features/version-manager/react/hooks/useVersionManager.d.ts +67 -0
- package/dist/features/version-manager/react/hooks/useVersionManager.d.ts.map +1 -0
- package/dist/features/version-manager/react/hooks/useVersionManager.js +287 -0
- package/dist/features/version-manager/react/hooks/useVersionManager.js.map +1 -0
- package/dist/features/version-manager/rules.d.ts +76 -0
- package/dist/features/version-manager/rules.d.ts.map +1 -0
- package/dist/features/version-manager/rules.js +162 -0
- package/dist/features/version-manager/rules.js.map +1 -0
- package/dist/features/version-manager/types.d.ts +66 -0
- package/dist/features/version-manager/types.d.ts.map +1 -0
- package/dist/features/version-manager/types.js +12 -0
- package/dist/features/version-manager/types.js.map +1 -0
- package/dist/features/viewer-shell/constants.d.ts +11 -0
- package/dist/features/viewer-shell/constants.d.ts.map +1 -0
- package/dist/features/viewer-shell/constants.js +14 -0
- package/dist/features/viewer-shell/constants.js.map +1 -0
- package/dist/features/viewer-shell/dependencies.d.ts +8 -0
- package/dist/features/viewer-shell/dependencies.d.ts.map +1 -0
- package/dist/features/viewer-shell/dependencies.js +16 -0
- package/dist/features/viewer-shell/dependencies.js.map +1 -0
- package/dist/features/viewer-shell/index.d.ts +40 -0
- package/dist/features/viewer-shell/index.d.ts.map +1 -0
- package/dist/features/viewer-shell/index.js +21 -0
- package/dist/features/viewer-shell/index.js.map +1 -0
- package/dist/features/viewer-shell/ports.d.ts +23 -0
- package/dist/features/viewer-shell/ports.d.ts.map +1 -0
- package/dist/features/viewer-shell/ports.js +2 -0
- package/dist/features/viewer-shell/ports.js.map +1 -0
- package/dist/features/viewer-shell/react/components/AudioViewerBody.d.ts +11 -0
- package/dist/features/viewer-shell/react/components/AudioViewerBody.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/AudioViewerBody.js +9 -0
- package/dist/features/viewer-shell/react/components/AudioViewerBody.js.map +1 -0
- package/dist/features/viewer-shell/react/components/CodeWithLines.d.ts +7 -0
- package/dist/features/viewer-shell/react/components/CodeWithLines.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/CodeWithLines.js +10 -0
- package/dist/features/viewer-shell/react/components/CodeWithLines.js.map +1 -0
- package/dist/features/viewer-shell/react/components/CommentSideDock.d.ts +10 -0
- package/dist/features/viewer-shell/react/components/CommentSideDock.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/CommentSideDock.js +11 -0
- package/dist/features/viewer-shell/react/components/CommentSideDock.js.map +1 -0
- package/dist/features/viewer-shell/react/components/CommentSidePanel.d.ts +60 -0
- package/dist/features/viewer-shell/react/components/CommentSidePanel.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/CommentSidePanel.js +91 -0
- package/dist/features/viewer-shell/react/components/CommentSidePanel.js.map +1 -0
- package/dist/features/viewer-shell/react/components/ImageViewerBody.d.ts +9 -0
- package/dist/features/viewer-shell/react/components/ImageViewerBody.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/ImageViewerBody.js +8 -0
- package/dist/features/viewer-shell/react/components/ImageViewerBody.js.map +1 -0
- package/dist/features/viewer-shell/react/components/JsonPanel.d.ts +8 -0
- package/dist/features/viewer-shell/react/components/JsonPanel.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/JsonPanel.js +9 -0
- package/dist/features/viewer-shell/react/components/JsonPanel.js.map +1 -0
- package/dist/features/viewer-shell/react/components/MarkdownSplitPane.d.ts +51 -0
- package/dist/features/viewer-shell/react/components/MarkdownSplitPane.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/MarkdownSplitPane.js +43 -0
- package/dist/features/viewer-shell/react/components/MarkdownSplitPane.js.map +1 -0
- package/dist/features/viewer-shell/react/components/SegmentedToggle.d.ts +23 -0
- package/dist/features/viewer-shell/react/components/SegmentedToggle.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/SegmentedToggle.js +23 -0
- package/dist/features/viewer-shell/react/components/SegmentedToggle.js.map +1 -0
- package/dist/features/viewer-shell/react/components/SvgSourcePane.d.ts +23 -0
- package/dist/features/viewer-shell/react/components/SvgSourcePane.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/SvgSourcePane.js +18 -0
- package/dist/features/viewer-shell/react/components/SvgSourcePane.js.map +1 -0
- package/dist/features/viewer-shell/react/components/VideoViewerBody.d.ts +7 -0
- package/dist/features/viewer-shell/react/components/VideoViewerBody.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/VideoViewerBody.js +7 -0
- package/dist/features/viewer-shell/react/components/VideoViewerBody.js.map +1 -0
- package/dist/features/viewer-shell/react/components/ViewerFileActions.d.ts +17 -0
- package/dist/features/viewer-shell/react/components/ViewerFileActions.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/ViewerFileActions.js +14 -0
- package/dist/features/viewer-shell/react/components/ViewerFileActions.js.map +1 -0
- package/dist/features/viewer-shell/react/components/ViewerShell.d.ts +31 -0
- package/dist/features/viewer-shell/react/components/ViewerShell.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/ViewerShell.js +18 -0
- package/dist/features/viewer-shell/react/components/ViewerShell.js.map +1 -0
- package/dist/features/viewer-shell/react/components/ViewportSwitcher.d.ts +27 -0
- package/dist/features/viewer-shell/react/components/ViewportSwitcher.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/ViewportSwitcher.js +40 -0
- package/dist/features/viewer-shell/react/components/ViewportSwitcher.js.map +1 -0
- package/dist/features/viewer-shell/react/components/ViewportToggleGroup.d.ts +17 -0
- package/dist/features/viewer-shell/react/components/ViewportToggleGroup.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/ViewportToggleGroup.js +19 -0
- package/dist/features/viewer-shell/react/components/ViewportToggleGroup.js.map +1 -0
- package/dist/features/viewer-shell/react/hooks/useCommentReorder.d.ts +19 -0
- package/dist/features/viewer-shell/react/hooks/useCommentReorder.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/hooks/useCommentReorder.js +71 -0
- package/dist/features/viewer-shell/react/hooks/useCommentReorder.js.map +1 -0
- package/dist/features/viewer-shell/react/hooks/useCopyToClipboard.d.ts +22 -0
- package/dist/features/viewer-shell/react/hooks/useCopyToClipboard.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/hooks/useCopyToClipboard.js +46 -0
- package/dist/features/viewer-shell/react/hooks/useCopyToClipboard.js.map +1 -0
- package/dist/features/viewer-shell/react/hooks/useMarkdownScrollSync.d.ts +32 -0
- package/dist/features/viewer-shell/react/hooks/useMarkdownScrollSync.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/hooks/useMarkdownScrollSync.js +157 -0
- package/dist/features/viewer-shell/react/hooks/useMarkdownScrollSync.js.map +1 -0
- package/dist/features/viewer-shell/rules.d.ts +93 -0
- package/dist/features/viewer-shell/rules.d.ts.map +1 -0
- package/dist/features/viewer-shell/rules.js +248 -0
- package/dist/features/viewer-shell/rules.js.map +1 -0
- package/dist/features/viewer-shell/types.d.ts +78 -0
- package/dist/features/viewer-shell/types.d.ts.map +1 -0
- package/dist/features/viewer-shell/types.js +19 -0
- package/dist/features/viewer-shell/types.js.map +1 -0
- package/dist/hooks/useCoalescedCallback.d.ts +35 -0
- package/dist/hooks/useCoalescedCallback.d.ts.map +1 -0
- package/dist/hooks/useCoalescedCallback.js +61 -0
- package/dist/hooks/useCoalescedCallback.js.map +1 -0
- package/dist/hooks/useDebouncedValue.d.ts +2 -0
- package/dist/hooks/useDebouncedValue.d.ts.map +1 -0
- package/dist/hooks/useDebouncedValue.js +14 -0
- package/dist/hooks/useDebouncedValue.js.map +1 -0
- package/dist/hooks/useInView.d.ts +19 -0
- package/dist/hooks/useInView.d.ts.map +1 -0
- package/dist/hooks/useInView.js +39 -0
- package/dist/hooks/useInView.js.map +1 -0
- package/dist/hooks/useResizableSplitPane.d.ts +44 -0
- package/dist/hooks/useResizableSplitPane.d.ts.map +1 -0
- package/dist/hooks/useResizableSplitPane.js +259 -0
- package/dist/hooks/useResizableSplitPane.js.map +1 -0
- package/dist/hooks/useStableHandler.d.ts +10 -0
- package/dist/hooks/useStableHandler.d.ts.map +1 -0
- package/dist/hooks/useStableHandler.js +17 -0
- package/dist/hooks/useStableHandler.js.map +1 -0
- package/dist/index.d.ts +86 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +90 -0
- package/dist/index.js.map +1 -0
- package/dist/react/components/AgentIcon.d.ts +15 -0
- package/dist/react/components/AgentIcon.d.ts.map +1 -0
- package/dist/react/components/AgentIcon.js +80 -0
- package/dist/react/components/AgentIcon.js.map +1 -0
- package/dist/react/components/AppChromeHeader.d.ts +19 -0
- package/dist/react/components/AppChromeHeader.d.ts.map +1 -0
- package/dist/react/components/AppChromeHeader.js +11 -0
- package/dist/react/components/AppChromeHeader.js.map +1 -0
- package/dist/react/components/BrandLogo.d.ts +77 -0
- package/dist/react/components/BrandLogo.d.ts.map +1 -0
- package/dist/react/components/BrandLogo.js +93 -0
- package/dist/react/components/BrandLogo.js.map +1 -0
- package/dist/react/components/CompactToggle.d.ts +10 -0
- package/dist/react/components/CompactToggle.d.ts.map +1 -0
- package/dist/react/components/CompactToggle.js +13 -0
- package/dist/react/components/CompactToggle.js.map +1 -0
- package/dist/react/components/ComponentKitPreview.d.ts +47 -0
- package/dist/react/components/ComponentKitPreview.d.ts.map +1 -0
- package/dist/react/components/ComponentKitPreview.js +43 -0
- package/dist/react/components/ComponentKitPreview.js.map +1 -0
- package/dist/react/components/CustomSelect.d.ts +158 -0
- package/dist/react/components/CustomSelect.d.ts.map +1 -0
- package/dist/react/components/CustomSelect.js +268 -0
- package/dist/react/components/CustomSelect.js.map +1 -0
- package/dist/react/components/EdgeScrollZones.d.ts +3 -0
- package/dist/react/components/EdgeScrollZones.d.ts.map +1 -0
- package/dist/react/components/EdgeScrollZones.js +6 -0
- package/dist/react/components/EdgeScrollZones.js.map +1 -0
- package/dist/react/components/EditorIcon.d.ts +16 -0
- package/dist/react/components/EditorIcon.d.ts.map +1 -0
- package/dist/react/components/EditorIcon.js +75 -0
- package/dist/react/components/EditorIcon.js.map +1 -0
- package/dist/react/components/ExportDiagnosticsButton.d.ts +110 -0
- package/dist/react/components/ExportDiagnosticsButton.d.ts.map +1 -0
- package/dist/react/components/ExportDiagnosticsButton.js +150 -0
- package/dist/react/components/ExportDiagnosticsButton.js.map +1 -0
- package/dist/react/components/FileImportPanel.d.ts +15 -0
- package/dist/react/components/FileImportPanel.d.ts.map +1 -0
- package/dist/react/components/FileImportPanel.js +17 -0
- package/dist/react/components/FileImportPanel.js.map +1 -0
- package/dist/react/components/HeaderActionsMenu.d.ts +72 -0
- package/dist/react/components/HeaderActionsMenu.d.ts.map +1 -0
- package/dist/react/components/HeaderActionsMenu.js +111 -0
- package/dist/react/components/HeaderActionsMenu.js.map +1 -0
- package/dist/react/components/Icon.d.ts +15 -0
- package/dist/react/components/Icon.d.ts.map +1 -0
- package/dist/react/components/Icon.js +236 -0
- package/dist/react/components/Icon.js.map +1 -0
- package/dist/react/components/ImportChoice.d.ts +11 -0
- package/dist/react/components/ImportChoice.d.ts.map +1 -0
- package/dist/react/components/ImportChoice.js +15 -0
- package/dist/react/components/ImportChoice.js.map +1 -0
- package/dist/react/components/KitErrorBoundary.d.ts +13 -0
- package/dist/react/components/KitErrorBoundary.d.ts.map +1 -0
- package/dist/react/components/KitErrorBoundary.js +30 -0
- package/dist/react/components/KitErrorBoundary.js.map +1 -0
- package/dist/react/components/LanguageMenu.d.ts +69 -0
- package/dist/react/components/LanguageMenu.d.ts.map +1 -0
- package/dist/react/components/LanguageMenu.js +102 -0
- package/dist/react/components/LanguageMenu.js.map +1 -0
- package/dist/react/components/Loading.d.ts +27 -0
- package/dist/react/components/Loading.d.ts.map +1 -0
- package/dist/react/components/Loading.js +24 -0
- package/dist/react/components/Loading.js.map +1 -0
- package/dist/react/components/Notice.d.ts +14 -0
- package/dist/react/components/Notice.d.ts.map +1 -0
- package/dist/react/components/Notice.js +23 -0
- package/dist/react/components/Notice.js.map +1 -0
- package/dist/react/components/OnboardingChipField.d.ts +21 -0
- package/dist/react/components/OnboardingChipField.d.ts.map +1 -0
- package/dist/react/components/OnboardingChipField.js +19 -0
- package/dist/react/components/OnboardingChipField.js.map +1 -0
- package/dist/react/components/OnboardingDropdown.d.ts +133 -0
- package/dist/react/components/OnboardingDropdown.d.ts.map +1 -0
- package/dist/react/components/OnboardingDropdown.js +257 -0
- package/dist/react/components/OnboardingDropdown.js.map +1 -0
- package/dist/react/components/OnboardingPanelHeader.d.ts +7 -0
- package/dist/react/components/OnboardingPanelHeader.d.ts.map +1 -0
- package/dist/react/components/OnboardingPanelHeader.js +5 -0
- package/dist/react/components/OnboardingPanelHeader.js.map +1 -0
- package/dist/react/components/OptionCards.d.ts +14 -0
- package/dist/react/components/OptionCards.d.ts.map +1 -0
- package/dist/react/components/OptionCards.js +5 -0
- package/dist/react/components/OptionCards.js.map +1 -0
- package/dist/react/components/PaletteTweaks.d.ts +65 -0
- package/dist/react/components/PaletteTweaks.d.ts.map +1 -0
- package/dist/react/components/PaletteTweaks.js +116 -0
- package/dist/react/components/PaletteTweaks.js.map +1 -0
- package/dist/react/components/PillButton.d.ts +33 -0
- package/dist/react/components/PillButton.d.ts.map +1 -0
- package/dist/react/components/PillButton.js +14 -0
- package/dist/react/components/PillButton.js.map +1 -0
- package/dist/react/components/PopoverItem.d.ts +24 -0
- package/dist/react/components/PopoverItem.d.ts.map +1 -0
- package/dist/react/components/PopoverItem.js +12 -0
- package/dist/react/components/PopoverItem.js.map +1 -0
- package/dist/react/components/PopoverMenu.d.ts +15 -0
- package/dist/react/components/PopoverMenu.d.ts.map +1 -0
- package/dist/react/components/PopoverMenu.js +13 -0
- package/dist/react/components/PopoverMenu.js.map +1 -0
- package/dist/react/components/RemixIcon.d.ts +15 -0
- package/dist/react/components/RemixIcon.d.ts.map +1 -0
- package/dist/react/components/RemixIcon.js +19 -0
- package/dist/react/components/RemixIcon.js.map +1 -0
- package/dist/react/components/StatCard.d.ts +7 -0
- package/dist/react/components/StatCard.d.ts.map +1 -0
- package/dist/react/components/StatCard.js +5 -0
- package/dist/react/components/StatCard.js.map +1 -0
- package/dist/react/components/Toast.d.ts +95 -0
- package/dist/react/components/Toast.d.ts.map +1 -0
- package/dist/react/components/Toast.js +131 -0
- package/dist/react/components/Toast.js.map +1 -0
- package/dist/react/components/ToggleRow.d.ts +10 -0
- package/dist/react/components/ToggleRow.d.ts.map +1 -0
- package/dist/react/components/ToggleRow.js +13 -0
- package/dist/react/components/ToggleRow.js.map +1 -0
- package/dist/react/components/TokenChip.d.ts +8 -0
- package/dist/react/components/TokenChip.d.ts.map +1 -0
- package/dist/react/components/TokenChip.js +6 -0
- package/dist/react/components/TokenChip.js.map +1 -0
- package/dist/react/components/TooltipLayer.d.ts +55 -0
- package/dist/react/components/TooltipLayer.d.ts.map +1 -0
- package/dist/react/components/TooltipLayer.js +294 -0
- package/dist/react/components/TooltipLayer.js.map +1 -0
- package/dist/react/components/ValueChip.d.ts +8 -0
- package/dist/react/components/ValueChip.d.ts.map +1 -0
- package/dist/react/components/ValueChip.js +6 -0
- package/dist/react/components/ValueChip.js.map +1 -0
- package/dist/react/components/WorkingDirPicker.d.ts +133 -0
- package/dist/react/components/WorkingDirPicker.d.ts.map +1 -0
- package/dist/react/components/WorkingDirPicker.js +183 -0
- package/dist/react/components/WorkingDirPicker.js.map +1 -0
- package/dist/react/hooks/useBrandFonts.d.ts +22 -0
- package/dist/react/hooks/useBrandFonts.d.ts.map +1 -0
- package/dist/react/hooks/useBrandFonts.js +75 -0
- package/dist/react/hooks/useBrandFonts.js.map +1 -0
- package/dist/react/hooks/useCoalescedCallback.d.ts +35 -0
- package/dist/react/hooks/useCoalescedCallback.d.ts.map +1 -0
- package/dist/react/hooks/useCoalescedCallback.js +61 -0
- package/dist/react/hooks/useCoalescedCallback.js.map +1 -0
- package/dist/react/hooks/useDebouncedValue.d.ts +2 -0
- package/dist/react/hooks/useDebouncedValue.d.ts.map +1 -0
- package/dist/react/hooks/useDebouncedValue.js +14 -0
- package/dist/react/hooks/useDebouncedValue.js.map +1 -0
- package/dist/react/hooks/useEdgeAutoScroll.d.ts +18 -0
- package/dist/react/hooks/useEdgeAutoScroll.d.ts.map +1 -0
- package/dist/react/hooks/useEdgeAutoScroll.js +80 -0
- package/dist/react/hooks/useEdgeAutoScroll.js.map +1 -0
- package/dist/react/hooks/useInView.d.ts +19 -0
- package/dist/react/hooks/useInView.d.ts.map +1 -0
- package/dist/react/hooks/useInView.js +39 -0
- package/dist/react/hooks/useInView.js.map +1 -0
- package/dist/react/hooks/useResizableSplitPane.d.ts +44 -0
- package/dist/react/hooks/useResizableSplitPane.d.ts.map +1 -0
- package/dist/react/hooks/useResizableSplitPane.js +259 -0
- package/dist/react/hooks/useResizableSplitPane.js.map +1 -0
- package/dist/react/hooks/useStableHandler.d.ts +10 -0
- package/dist/react/hooks/useStableHandler.d.ts.map +1 -0
- package/dist/react/hooks/useStableHandler.js +17 -0
- package/dist/react/hooks/useStableHandler.js.map +1 -0
- package/dist/utils/appearance.d.ts +32 -0
- package/dist/utils/appearance.d.ts.map +1 -0
- package/dist/utils/appearance.js +78 -0
- package/dist/utils/appearance.js.map +1 -0
- package/dist/utils/auto-open-file.d.ts +19 -0
- package/dist/utils/auto-open-file.d.ts.map +1 -0
- package/dist/utils/auto-open-file.js +161 -0
- package/dist/utils/auto-open-file.js.map +1 -0
- package/dist/utils/color-math.d.ts +34 -0
- package/dist/utils/color-math.d.ts.map +1 -0
- package/dist/utils/color-math.js +79 -0
- package/dist/utils/color-math.js.map +1 -0
- package/dist/utils/copy-to-clipboard.d.ts +11 -0
- package/dist/utils/copy-to-clipboard.d.ts.map +1 -0
- package/dist/utils/copy-to-clipboard.js +56 -0
- package/dist/utils/copy-to-clipboard.js.map +1 -0
- package/dist/utils/design-md.d.ts +27 -0
- package/dist/utils/design-md.d.ts.map +1 -0
- package/dist/utils/design-md.js +94 -0
- package/dist/utils/design-md.js.map +1 -0
- package/dist/utils/dom-subscriptions.d.ts +50 -0
- package/dist/utils/dom-subscriptions.d.ts.map +1 -0
- package/dist/utils/dom-subscriptions.js +116 -0
- package/dist/utils/dom-subscriptions.js.map +1 -0
- package/dist/utils/file-system-errors.d.ts +12 -0
- package/dist/utils/file-system-errors.d.ts.map +1 -0
- package/dist/utils/file-system-errors.js +30 -0
- package/dist/utils/file-system-errors.js.map +1 -0
- package/dist/utils/file-transfer.d.ts +10 -0
- package/dist/utils/file-transfer.d.ts.map +1 -0
- package/dist/utils/file-transfer.js +125 -0
- package/dist/utils/file-transfer.js.map +1 -0
- package/dist/utils/ime-composing.d.ts +18 -0
- package/dist/utils/ime-composing.d.ts.map +1 -0
- package/dist/utils/ime-composing.js +20 -0
- package/dist/utils/ime-composing.js.map +1 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +17 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/localized-url.d.ts +7 -0
- package/dist/utils/localized-url.d.ts.map +1 -0
- package/dist/utils/localized-url.js +16 -0
- package/dist/utils/localized-url.js.map +1 -0
- package/dist/utils/markdown-scroll-sync.d.ts +38 -0
- package/dist/utils/markdown-scroll-sync.d.ts.map +1 -0
- package/dist/utils/markdown-scroll-sync.js +277 -0
- package/dist/utils/markdown-scroll-sync.js.map +1 -0
- package/dist/utils/notifications.d.ts +51 -0
- package/dist/utils/notifications.d.ts.map +1 -0
- package/dist/utils/notifications.js +238 -0
- package/dist/utils/notifications.js.map +1 -0
- package/dist/utils/platform.d.ts +6 -0
- package/dist/utils/platform.d.ts.map +1 -0
- package/dist/utils/platform.js +8 -0
- package/dist/utils/platform.js.map +1 -0
- package/dist/utils/polygon-selection.d.ts +65 -0
- package/dist/utils/polygon-selection.d.ts.map +1 -0
- package/dist/utils/polygon-selection.js +123 -0
- package/dist/utils/polygon-selection.js.map +1 -0
- package/dist/utils/scroll-tabs-with-wheel.d.ts +19 -0
- package/dist/utils/scroll-tabs-with-wheel.d.ts.map +1 -0
- package/dist/utils/scroll-tabs-with-wheel.js +47 -0
- package/dist/utils/scroll-tabs-with-wheel.js.map +1 -0
- package/dist/utils/smooth-scroll-to-top.d.ts +30 -0
- package/dist/utils/smooth-scroll-to-top.d.ts.map +1 -0
- package/dist/utils/smooth-scroll-to-top.js +120 -0
- package/dist/utils/smooth-scroll-to-top.js.map +1 -0
- package/dist/utils/sse.d.ts +26 -0
- package/dist/utils/sse.d.ts.map +1 -0
- package/dist/utils/sse.js +51 -0
- package/dist/utils/sse.js.map +1 -0
- package/dist/utils/timezone.d.ts +18 -0
- package/dist/utils/timezone.d.ts.map +1 -0
- package/dist/utils/timezone.js +69 -0
- package/dist/utils/timezone.js.map +1 -0
- package/dist/utils/uuid.d.ts +30 -0
- package/dist/utils/uuid.d.ts.map +1 -0
- package/dist/utils/uuid.js +53 -0
- package/dist/utils/uuid.js.map +1 -0
- package/dist/utils/visual-stability.d.ts +14 -0
- package/dist/utils/visual-stability.d.ts.map +1 -0
- package/dist/utils/visual-stability.js +23 -0
- package/dist/utils/visual-stability.js.map +1 -0
- package/dist/utils/zip.d.ts +19 -0
- package/dist/utils/zip.d.ts.map +1 -0
- package/dist/utils/zip.js +132 -0
- package/dist/utils/zip.js.map +1 -0
- package/dist/vitest-chat-entry.d.ts +13 -0
- package/dist/vitest-chat-entry.d.ts.map +1 -0
- package/dist/vitest-chat-entry.js +13 -0
- package/dist/vitest-chat-entry.js.map +1 -0
- package/package.json +63 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { useCallback, useRef, useState } from 'react';
|
|
2
|
+
import { FILE_SYSTEM_READ_ERROR_MESSAGE, isFileSystemReadError } from '../utils/file-system-errors.js';
|
|
3
|
+
import { filesFromDataTransfer } from '../utils/file-transfer.js';
|
|
4
|
+
/**
|
|
5
|
+
* A generic drop target: nesting-depth-tracked drag-over state (`dragenter`/
|
|
6
|
+
* `dragleave` fire for every descendant element, so a naive boolean would
|
|
7
|
+
* flicker off while dragging over a child element — `dragDepthRef` is what
|
|
8
|
+
* avoids that), and a drop handler that recursively expands dropped folders
|
|
9
|
+
* via `utils/file-transfer.ts`'s `filesFromDataTransfer`.
|
|
10
|
+
*
|
|
11
|
+
* Promoted (2026-07-18) from `features/asset-tree-browser`'s
|
|
12
|
+
* `useAssetTreeDragUpload` (itself already fully generic — no asset-tree
|
|
13
|
+
* types) once `features/file-dropzone/` needed the identical shape, so a
|
|
14
|
+
* second feature reuses one hook instead of a near-duplicate copy.
|
|
15
|
+
* `useAssetTreeDragUpload` re-exports this under its original name.
|
|
16
|
+
*/
|
|
17
|
+
export function useFileDropTarget(onUploadFiles) {
|
|
18
|
+
const [draggingFiles, setDraggingFiles] = useState(false);
|
|
19
|
+
const [dropReadError, setDropReadError] = useState(null);
|
|
20
|
+
const dragDepthRef = useRef(0);
|
|
21
|
+
const onUploadFilesRef = useRef(onUploadFiles);
|
|
22
|
+
onUploadFilesRef.current = onUploadFiles;
|
|
23
|
+
const clearDropReadError = useCallback(() => setDropReadError(null), []);
|
|
24
|
+
const onDragEnter = useCallback((event) => {
|
|
25
|
+
event.preventDefault();
|
|
26
|
+
dragDepthRef.current += 1;
|
|
27
|
+
setDraggingFiles(true);
|
|
28
|
+
}, []);
|
|
29
|
+
const onDragOver = useCallback((event) => {
|
|
30
|
+
event.preventDefault();
|
|
31
|
+
event.dataTransfer.dropEffect = 'copy';
|
|
32
|
+
}, []);
|
|
33
|
+
const onDragLeave = useCallback((event) => {
|
|
34
|
+
if (!event.currentTarget.contains(event.relatedTarget)) {
|
|
35
|
+
dragDepthRef.current = 0;
|
|
36
|
+
setDraggingFiles(false);
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
dragDepthRef.current = Math.max(0, dragDepthRef.current - 1);
|
|
40
|
+
if (dragDepthRef.current === 0)
|
|
41
|
+
setDraggingFiles(false);
|
|
42
|
+
}, []);
|
|
43
|
+
const onDrop = useCallback((event) => {
|
|
44
|
+
event.preventDefault();
|
|
45
|
+
dragDepthRef.current = 0;
|
|
46
|
+
setDraggingFiles(false);
|
|
47
|
+
setDropReadError(null);
|
|
48
|
+
const dataTransfer = event.dataTransfer;
|
|
49
|
+
void (async () => {
|
|
50
|
+
try {
|
|
51
|
+
const dropped = await filesFromDataTransfer(dataTransfer);
|
|
52
|
+
if (dropped.length > 0)
|
|
53
|
+
onUploadFilesRef.current(dropped);
|
|
54
|
+
}
|
|
55
|
+
catch (error) {
|
|
56
|
+
if (!isFileSystemReadError(error))
|
|
57
|
+
throw error;
|
|
58
|
+
setDropReadError(FILE_SYSTEM_READ_ERROR_MESSAGE);
|
|
59
|
+
}
|
|
60
|
+
})();
|
|
61
|
+
}, []);
|
|
62
|
+
return { draggingFiles, dropReadError, clearDropReadError, onDragEnter, onDragOver, onDragLeave, onDrop };
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=useFileDropTarget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFileDropTarget.js","sourceRoot":"","sources":["../../src/browser/useFileDropTarget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|
|
1
|
+
export declare function resolveGlobalKeydownTarget(target: 'window' | 'document'): EventTarget | undefined;
|
|
2
|
+
export interface UseGlobalKeydownOptions {
|
|
3
|
+
/** Skip attaching the listener while `false` (e.g. only while a surface is active/mounted-and-open). Defaults to `true`. */
|
|
4
|
+
enabled?: boolean;
|
|
5
|
+
/** Listener target. Defaults to `'window'`. */
|
|
6
|
+
target?: 'window' | 'document';
|
|
7
|
+
/** Attach in the capture phase — needed to run before a nested/portaled surface's own listeners. Defaults to `false`. */
|
|
8
|
+
capture?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Attaches `handler` as a `keydown` listener for as long as `enabled` stays
|
|
12
|
+
* `true`, removing it on cleanup or when `enabled` flips to `false`. A no-op
|
|
13
|
+
* outside the browser (SSR).
|
|
14
|
+
*/
|
|
15
|
+
export declare function useGlobalKeydown(handler: (event: KeyboardEvent) => void, options?: UseGlobalKeydownOptions): void;
|
|
16
|
+
//# sourceMappingURL=useGlobalKeydown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGlobalKeydown.d.ts","sourceRoot":"","sources":["../../src/browser/useGlobalKeydown.ts"],"names":[],"mappings":"AAsBA,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,QAAQ,GAAG,UAAU,GAAG,WAAW,GAAG,SAAS,CAEjG;AAED,MAAM,WAAW,uBAAuB;IACtC,4HAA4H;IAC5H,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+CAA+C;IAC/C,MAAM,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;IAC/B,yHAAyH;IACzH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,EACvC,OAAO,GAAE,uBAA4B,GACpC,IAAI,CAgCN"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// Shared "run this keydown handler for as long as the feature is active"
|
|
2
|
+
// plumbing. useAssetGridKeyboardShortcuts (asset-grid) and
|
|
3
|
+
// useAnnotationKeyboardShortcuts (annotation-canvas, `@jini-ai/renderers-react`)
|
|
4
|
+
// both wrote the identical shape: bail out of the effect while an `active`
|
|
5
|
+
// flag is false, otherwise attach one `window` keydown listener and remove it
|
|
6
|
+
// on cleanup/deactivation. useSketchDomEnhancements (sketch-editor) wrote the
|
|
7
|
+
// same lifecycle-scoped-listener shape twice more, on `document` with the
|
|
8
|
+
// capture phase, to win a race against a third-party library's own
|
|
9
|
+
// listeners. What's shared across all of these is the subscribe/enable/
|
|
10
|
+
// cleanup plumbing — which keys mean what stays entirely feature-owned in the
|
|
11
|
+
// `handler` callback passed in.
|
|
12
|
+
import { useEffect, useRef } from 'react';
|
|
13
|
+
// Resolves which global to attach the listener to. Exported (previously
|
|
14
|
+
// inlined in the effect below) so the "target unavailable" (SSR) branch has
|
|
15
|
+
// a direct unit test — driving it through a real `renderHook` mount hits
|
|
16
|
+
// React DOM internals that themselves dereference `window` well before this
|
|
17
|
+
// hook's own effect ever runs, making that branch unreachable via a
|
|
18
|
+
// rendered test (see packages/ui/source-map.md's 2026-07-22 dated entry;
|
|
19
|
+
// same "extract into a directly-testable pure function" precedent as
|
|
20
|
+
// `@jini-ai/mcp`'s `oauth.ts` readCappedText).
|
|
21
|
+
export function resolveGlobalKeydownTarget(target) {
|
|
22
|
+
return target === 'document' ? globalThis.document : globalThis.window;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Attaches `handler` as a `keydown` listener for as long as `enabled` stays
|
|
26
|
+
* `true`, removing it on cleanup or when `enabled` flips to `false`. A no-op
|
|
27
|
+
* outside the browser (SSR).
|
|
28
|
+
*/
|
|
29
|
+
export function useGlobalKeydown(handler, options = {}) {
|
|
30
|
+
const { enabled = true, target = 'window', capture = false } = options;
|
|
31
|
+
// Latest-ref indirection so callers don't need to memoize `handler` for
|
|
32
|
+
// the listener effect below to stay attached with fresh behavior.
|
|
33
|
+
const handlerRef = useRef(handler);
|
|
34
|
+
useEffect(() => {
|
|
35
|
+
handlerRef.current = handler;
|
|
36
|
+
}, [handler]);
|
|
37
|
+
useEffect(() => {
|
|
38
|
+
if (!enabled)
|
|
39
|
+
return;
|
|
40
|
+
const eventTarget = resolveGlobalKeydownTarget(target);
|
|
41
|
+
// `resolveGlobalKeydownTarget` itself has a direct, real test proving
|
|
42
|
+
// it CAN return `undefined` (see this file's own test). This call
|
|
43
|
+
// site's guard against that, though, is empirically and structurally
|
|
44
|
+
// unreachable through any real mount: `useEffect` bodies only ever run
|
|
45
|
+
// client-side, after React has already committed real DOM nodes via
|
|
46
|
+
// `ReactDOM` — which itself requires `window` (and, for a 'document'
|
|
47
|
+
// target, `document`) to already exist. There is no real browser
|
|
48
|
+
// session in which this hook's effect runs at all while its own
|
|
49
|
+
// resolved target has vanished. See packages/ui/source-map.md's
|
|
50
|
+
// 2026-07-22 dated entry.
|
|
51
|
+
if (typeof eventTarget === 'undefined')
|
|
52
|
+
return;
|
|
53
|
+
function onKeyDown(event) {
|
|
54
|
+
handlerRef.current(event);
|
|
55
|
+
}
|
|
56
|
+
eventTarget.addEventListener('keydown', onKeyDown, capture);
|
|
57
|
+
return () => eventTarget.removeEventListener('keydown', onKeyDown, capture);
|
|
58
|
+
}, [enabled, target, capture]);
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=useGlobalKeydown.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGlobalKeydown.js","sourceRoot":"","sources":["../../src/browser/useGlobalKeydown.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,2DAA2D;AAC3D,iFAAiF;AACjF,2EAA2E;AAC3E,8EAA8E;AAC9E,8EAA8E;AAC9E,0EAA0E;AAC1E,mEAAmE;AACnE,wEAAwE;AACxE,8EAA8E;AAC9E,gCAAgC;AAEhC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,C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0B,EAAE,OAAO,CAAC,CAAC;IAC/F,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AACjC,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Height (px) of the "drag strip" at the top of a modal's backdrop that a
|
|
3
|
+
* host treats as a window-drag handle rather than a dismiss target.
|
|
4
|
+
*/
|
|
5
|
+
export declare const MODAL_WINDOW_DRAG_STRIP_HEIGHT = 56;
|
|
6
|
+
/**
|
|
7
|
+
* True if `event` landed inside the drag-strip region (the top
|
|
8
|
+
* `MODAL_WINDOW_DRAG_STRIP_HEIGHT` px) of an element matching
|
|
9
|
+
* `backdropSelector`.
|
|
10
|
+
*/
|
|
11
|
+
export declare function eventHitsModalWindowDragStrip(event: MouseEvent | PointerEvent, backdropSelector: string): boolean;
|
|
12
|
+
export interface UseModalWindowDragGuardOptions {
|
|
13
|
+
/**
|
|
14
|
+
* CSS selector matching the backdrop element(s) whose top drag strip
|
|
15
|
+
* should be protected. Pass a comma-joined list to cover several modal
|
|
16
|
+
* backdrop classes at once (e.g. `'.my-modal-backdrop, .other-backdrop'`).
|
|
17
|
+
*/
|
|
18
|
+
backdropSelector: string;
|
|
19
|
+
/** Disable the guard without unmounting it. Defaults to `true`. */
|
|
20
|
+
enabled?: boolean;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Stops a pointerdown/mousedown/click inside a modal backdrop's drag strip
|
|
24
|
+
* from propagating further up the DOM tree. Intended for hosts that let
|
|
25
|
+
* users drag the surrounding window (e.g. a frameless desktop shell) via a
|
|
26
|
+
* strip at the top of a modal's backdrop: without this guard, that same
|
|
27
|
+
* click also reaches an ancestor's outside-click-to-dismiss listener and
|
|
28
|
+
* closes the modal the drag strip sits on top of.
|
|
29
|
+
*
|
|
30
|
+
* Listens in the capture phase on `document` for the lifetime of the
|
|
31
|
+
* component, matching pointer/mouse events against `eventHitsModalWindowDragStrip`
|
|
32
|
+
* and calling `event.stopPropagation()` on a hit.
|
|
33
|
+
*/
|
|
34
|
+
export declare function useModalWindowDragGuard(options: UseModalWindowDragGuardOptions): void;
|
|
35
|
+
//# sourceMappingURL=useModalWindowDragGuard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useModalWindowDragGuard.d.ts","sourceRoot":"","sources":["../../src/browser/useModalWindowDragGuard.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,8BAA8B,KAAK,CAAC;AAEjD;;;;GAIG;AACH,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,UAAU,GAAG,YAAY,EAChC,gBAAgB,EAAE,MAAM,GACvB,OAAO,CAQT;AAED,MAAM,WAAW,8BAA8B;IAC7C;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB,mEAAmE;IACnE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,8BAA8B,GAAG,IAAI,CAqBrF"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { useEffect } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Height (px) of the "drag strip" at the top of a modal's backdrop that a
|
|
4
|
+
* host treats as a window-drag handle rather than a dismiss target.
|
|
5
|
+
*/
|
|
6
|
+
export const MODAL_WINDOW_DRAG_STRIP_HEIGHT = 56;
|
|
7
|
+
/**
|
|
8
|
+
* True if `event` landed inside the drag-strip region (the top
|
|
9
|
+
* `MODAL_WINDOW_DRAG_STRIP_HEIGHT` px) of an element matching
|
|
10
|
+
* `backdropSelector`.
|
|
11
|
+
*/
|
|
12
|
+
export function eventHitsModalWindowDragStrip(event, backdropSelector) {
|
|
13
|
+
const target = event.target;
|
|
14
|
+
return (event.clientY >= 0 &&
|
|
15
|
+
event.clientY <= MODAL_WINDOW_DRAG_STRIP_HEIGHT &&
|
|
16
|
+
target instanceof Element &&
|
|
17
|
+
target.matches(backdropSelector));
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Stops a pointerdown/mousedown/click inside a modal backdrop's drag strip
|
|
21
|
+
* from propagating further up the DOM tree. Intended for hosts that let
|
|
22
|
+
* users drag the surrounding window (e.g. a frameless desktop shell) via a
|
|
23
|
+
* strip at the top of a modal's backdrop: without this guard, that same
|
|
24
|
+
* click also reaches an ancestor's outside-click-to-dismiss listener and
|
|
25
|
+
* closes the modal the drag strip sits on top of.
|
|
26
|
+
*
|
|
27
|
+
* Listens in the capture phase on `document` for the lifetime of the
|
|
28
|
+
* component, matching pointer/mouse events against `eventHitsModalWindowDragStrip`
|
|
29
|
+
* and calling `event.stopPropagation()` on a hit.
|
|
30
|
+
*/
|
|
31
|
+
export function useModalWindowDragGuard(options) {
|
|
32
|
+
const { backdropSelector, enabled = true } = options;
|
|
33
|
+
useEffect(() => {
|
|
34
|
+
if (!enabled)
|
|
35
|
+
return;
|
|
36
|
+
const stopBackdropDismissInDragStrip = (event) => {
|
|
37
|
+
if (eventHitsModalWindowDragStrip(event, backdropSelector)) {
|
|
38
|
+
event.stopPropagation();
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
document.addEventListener('pointerdown', stopBackdropDismissInDragStrip, true);
|
|
42
|
+
document.addEventListener('mousedown', stopBackdropDismissInDragStrip, true);
|
|
43
|
+
document.addEventListener('click', stopBackdropDismissInDragStrip, true);
|
|
44
|
+
return () => {
|
|
45
|
+
document.removeEventListener('pointerdown', stopBackdropDismissInDragStrip, true);
|
|
46
|
+
document.removeEventListener('mousedown', stopBackdropDismissInDragStrip, true);
|
|
47
|
+
document.removeEventListener('click', stopBackdropDismissInDragStrip, true);
|
|
48
|
+
};
|
|
49
|
+
}, [backdropSelector, enabled]);
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=useModalWindowDragGuard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useModalWindowDragGuard.js","sour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,EAAE,8BAA8B,EAAE,IAAI,CAAC,CAAC;YAChF,QAAQ,CAAC,mBAAmB,CAAC,OAAO,EAAE,8BAA8B,EAAE,IAAI,CAAC,CAAC;QAC9E,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC,CAAC;AAClC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
id: string;
|
|
3
|
+
size?: number;
|
|
4
|
+
className?: string;
|
|
5
|
+
/** Base path assets are served from. Defaults to `/agent-icons`. */
|
|
6
|
+
basePath?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Renders a coding-agent's brand mark by id, with a graceful initial-letter
|
|
10
|
+
* fallback for ids the host hasn't shipped artwork for. Assets are expected
|
|
11
|
+
* to live under `${basePath}/<id>.<ext>` (default basePath `/agent-icons`).
|
|
12
|
+
*/
|
|
13
|
+
export declare function AgentIcon({ id, size, className, basePath }: Props): import("react").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=AgentIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentIcon.d.ts","sourceRoot":"","sources":["../../src/components/AgentIcon.tsx"],"names":[],"mappings":"AAEA,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAkDD;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,EAAE,IAAS,EAAE,SAAS,EAAE,QAAyB,EAAE,EAAE,KAAK,+BAkDvF"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// Coding-agent CLIs that ship a bundled brand asset under the host's
|
|
3
|
+
// `<basePath>/` (e.g. a public `/agent-icons/` directory). SVG is preferred
|
|
4
|
+
// (resolution-independent, single file ≤ a few KB); PNG is the fallback for
|
|
5
|
+
// vendors that don't publish an SVG mark. New brand: drop the optimised file
|
|
6
|
+
// in that folder and add the id here.
|
|
7
|
+
const ICON_EXT = {
|
|
8
|
+
amr: 'svg',
|
|
9
|
+
claude: 'svg',
|
|
10
|
+
codex: 'svg',
|
|
11
|
+
gemini: 'svg',
|
|
12
|
+
opencode: 'svg',
|
|
13
|
+
'cursor-agent': 'svg',
|
|
14
|
+
copilot: 'svg',
|
|
15
|
+
qwen: 'svg',
|
|
16
|
+
qoder: 'svg',
|
|
17
|
+
deepseek: 'svg',
|
|
18
|
+
reasonix: 'svg',
|
|
19
|
+
mimo: 'svg',
|
|
20
|
+
hermes: 'svg',
|
|
21
|
+
'grok-build': 'svg',
|
|
22
|
+
kimi: 'svg',
|
|
23
|
+
pi: 'svg',
|
|
24
|
+
kiro: 'svg',
|
|
25
|
+
kilo: 'svg',
|
|
26
|
+
vibe: 'svg',
|
|
27
|
+
antigravity: 'svg',
|
|
28
|
+
aider: 'png',
|
|
29
|
+
'trae-cli': 'png',
|
|
30
|
+
devin: 'png',
|
|
31
|
+
};
|
|
32
|
+
// SVG marks that are single-color silhouettes (no baked brand colors).
|
|
33
|
+
// Rendered as a CSS-masked `<span>` so `background-color: currentColor`
|
|
34
|
+
// can paint them in whatever text color the surrounding theme resolves
|
|
35
|
+
// to — light text under dark theme, dark text under light theme. The
|
|
36
|
+
// SVG file itself uses an explicit dark fill (baked) instead of
|
|
37
|
+
// `currentColor`, so if anything outside this component ever loads
|
|
38
|
+
// the asset through `<img>` it still renders as a legible dark mark
|
|
39
|
+
// rather than collapsing to the SVG document's default black-on-…-black.
|
|
40
|
+
const MONO_ICONS = new Set([
|
|
41
|
+
'cursor-agent',
|
|
42
|
+
'opencode',
|
|
43
|
+
'hermes',
|
|
44
|
+
'mimo',
|
|
45
|
+
'kilo',
|
|
46
|
+
'grok-build',
|
|
47
|
+
]);
|
|
48
|
+
/**
|
|
49
|
+
* Renders a coding-agent's brand mark by id, with a graceful initial-letter
|
|
50
|
+
* fallback for ids the host hasn't shipped artwork for. Assets are expected
|
|
51
|
+
* to live under `${basePath}/<id>.<ext>` (default basePath `/agent-icons`).
|
|
52
|
+
*/
|
|
53
|
+
export function AgentIcon({ id, size = 36, className, basePath = '/agent-icons' }) {
|
|
54
|
+
const cls = 'agent-icon' + (className ? ' ' + className : '');
|
|
55
|
+
const ext = ICON_EXT[id];
|
|
56
|
+
if (ext) {
|
|
57
|
+
if (ext === 'svg' && MONO_ICONS.has(id)) {
|
|
58
|
+
const src = `${basePath}/${id}.svg`;
|
|
59
|
+
const style = {
|
|
60
|
+
width: size,
|
|
61
|
+
height: size,
|
|
62
|
+
WebkitMaskImage: `url("${src}")`,
|
|
63
|
+
maskImage: `url("${src}")`,
|
|
64
|
+
};
|
|
65
|
+
return (_jsx("span", { className: cls + ' agent-icon-mono', style: style, "aria-hidden": "true" }));
|
|
66
|
+
}
|
|
67
|
+
return (_jsx("img", { src: `${basePath}/${id}.${ext}`, alt: "", width: size, height: size, className: cls, "aria-hidden": "true", draggable: false }));
|
|
68
|
+
}
|
|
69
|
+
// Fallback for brands we don't ship artwork for. A neutral rounded
|
|
70
|
+
// square with the initial letter — reads as "no official mark yet"
|
|
71
|
+
// without inventing brand artwork we can't license.
|
|
72
|
+
const initial = (id.match(/[a-z]/i)?.[0] ?? '?').toUpperCase();
|
|
73
|
+
return (_jsx("span", { className: cls + ' agent-icon-fallback', style: {
|
|
74
|
+
width: size,
|
|
75
|
+
height: size,
|
|
76
|
+
fontSize: Math.round(size * 0.42),
|
|
77
|
+
lineHeight: 1,
|
|
78
|
+
}, "aria-hidden": "true", children: initial }));
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=AgentIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentIcon.js","sourceRoot":"","sources":["../../src/components/AgentIcon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
|
+
children?: ReactNode;
|
|
5
|
+
fileActionsBefore?: ReactNode;
|
|
6
|
+
onBack?: () => void;
|
|
7
|
+
backLabel?: string;
|
|
8
|
+
showTrafficSpace?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const APP_CHROME_FILE_ACTIONS_ID = "app-chrome-file-actions";
|
|
11
|
+
export declare const APP_CHROME_FILE_ACTIONS_SELECTOR = "[data-app-chrome-file-actions=\"true\"]";
|
|
12
|
+
export declare function AppChromeHeader({ actions, children, fileActionsBefore, onBack, backLabel, showTrafficSpace, }: Props): import("react").JSX.Element;
|
|
13
|
+
export declare function SettingsIconButton({ onClick, title, ariaLabel, }: {
|
|
14
|
+
onClick: () => void;
|
|
15
|
+
title: string;
|
|
16
|
+
ariaLabel: string;
|
|
17
|
+
}): import("react").JSX.Element;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=AppChromeHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppChromeHeader.d.ts","sourceRoot":"","sources":["../../src/components/AppChromeHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,UAAU,KAAK;IACb,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,0BAA0B,4BAA4B,CAAC;AACpE,eAAO,MAAM,gCAAgC,4CAA0C,CAAC;AAExF,wBAAgB,eAAe,CAAC,EAC9B,OAAO,EACP,QAAQ,EACR,iBAAiB,EACjB,MAAM,EACN,SAAkB,EAClB,gBAAuB,GACxB,EAAE,KAAK,+BA4BP;AAED,wBAAgB,kBAAkB,CAAC,EACjC,OAAO,EACP,KAAK,EACL,SAAS,GACV,EAAE;IACD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB,+BAcA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { RemixIcon } from './RemixIcon';
|
|
3
|
+
export const APP_CHROME_FILE_ACTIONS_ID = 'app-chrome-file-actions';
|
|
4
|
+
export const APP_CHROME_FILE_ACTIONS_SELECTOR = '[data-app-chrome-file-actions="true"]';
|
|
5
|
+
export function AppChromeHeader({ actions, children, fileActionsBefore, onBack, backLabel = 'Back', showTrafficSpace = true, }) {
|
|
6
|
+
return (_jsxs("header", { className: "app-chrome-header", children: [showTrafficSpace ? _jsx("div", { className: "app-chrome-traffic-space", "aria-hidden": true }) : null, onBack ? (_jsx("button", { type: "button", className: "app-chrome-back jini-tooltip", onClick: onBack, title: backLabel, "data-tooltip": backLabel, "data-tooltip-placement": "bottom", "aria-label": backLabel, children: _jsx(RemixIcon, { name: "arrow-left-line", size: 16 }) })) : null, children ? _jsx("div", { className: "app-chrome-content", children: children }) : null, _jsx("div", { className: "app-chrome-drag", "aria-hidden": true }), fileActionsBefore ? _jsx("div", { className: "app-chrome-file-actions-before", children: fileActionsBefore }) : null, _jsx("div", { id: APP_CHROME_FILE_ACTIONS_ID, className: "app-chrome-file-actions", "data-app-chrome-file-actions": "true" }), actions ? _jsx("div", { className: "app-chrome-actions", children: actions }) : null] }));
|
|
7
|
+
}
|
|
8
|
+
export function SettingsIconButton({ onClick, title, ariaLabel, }) {
|
|
9
|
+
return (_jsx("button", { type: "button", className: "settings-icon-btn jini-tooltip", onClick: onClick, title: title, "data-tooltip": title, "data-tooltip-placement": "bottom", "aria-label": ariaLabel, children: _jsx(RemixIcon, { name: "settings-line", size: 18 }) }));
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=AppChromeHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppChromeHeader.js","sourceRoot":"","sources":["../../src/components/AppChromeHeader.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAWxC,MAAM,CAAC,MAAM,0BAA0B,GAAG,yBAAyB,CAAC;AACpE,MAAM,CAAC,MAAM,gCAAgC,GAAG,uCAAuC,CAAC;AAExF,MAAM,UAAU,eAAe,CAAC,EAC9B,OAAO,EACP,QAAQ,EACR,iBAAiB,EACjB,MAAM,EACN,SAAS,GAAG,MAAM,EAClB,gBAAgB,GAAG,IAAI,GACjB;IACN,OAAO,CACL,kBAAQ,SAAS,EAAC,mBAAmB,aAClC,gBAAgB,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,0BAA0B,wBAAe,CAAC,CAAC,CAAC,IAAI,EAClF,MAAM,CAAC,CAAC,CAAC,CACR,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,8BAA8B,EACxC,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,SAAS,kBACF,SAAS,4BACA,QAAQ,gBACnB,SAAS,YAErB,KAAC,SAAS,IAAC,IAAI,EAAC,iBAAiB,EAAC,IAAI,EAAE,EAAE,GAAI,GACvC,CACV,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,oBAAoB,YAAE,QAAQ,GAAO,CAAC,CAAC,CAAC,IAAI,EACvE,cAAK,SAAS,EAAC,iBAAiB,wBAAe,EAC9C,iBAAiB,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,gCAAgC,YAAE,iBAAiB,GAAO,CAAC,CAAC,CAAC,IAAI,EACrG,cACE,EAAE,EAAE,0BAA0B,EAC9B,SAAS,EAAC,yBAAyB,kCACN,MAAM,GACnC,EACD,OAAO,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,oBAAoB,YAAE,OAAO,GAAO,CAAC,CAAC,CAAC,IAAI,IAC9D,CACV,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,EACjC,OAAO,EACP,KAAK,EACL,SAAS,GAKV;IACC,OAAO,CACL,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,gCAAgC,EAC1C,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,kBACE,KAAK,4BACI,QAAQ,gBACnB,SAAS,YAErB,KAAC,SAAS,IAAC,IAAI,EAAC,eAAe,EAAC,IAAI,EAAE,EAAE,GAAI,GACrC,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface CustomSelectOption {
|
|
2
|
+
value: string;
|
|
3
|
+
label: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface CustomSelectGroup {
|
|
7
|
+
label: string;
|
|
8
|
+
options: CustomSelectOption[];
|
|
9
|
+
}
|
|
10
|
+
export type CustomSelectItem = CustomSelectOption | CustomSelectGroup;
|
|
11
|
+
interface Props {
|
|
12
|
+
value: string;
|
|
13
|
+
options: CustomSelectItem[];
|
|
14
|
+
onChange: (value: string) => void;
|
|
15
|
+
ariaLabel: string;
|
|
16
|
+
labelledBy?: string;
|
|
17
|
+
className?: string;
|
|
18
|
+
triggerClassName?: string;
|
|
19
|
+
menuClassName?: string;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
portal?: boolean;
|
|
23
|
+
title?: string;
|
|
24
|
+
onFocus?: () => void;
|
|
25
|
+
}
|
|
26
|
+
export declare function CustomSelect({ value, options, onChange, ariaLabel, labelledBy, className, triggerClassName, menuClassName, disabled, placeholder, portal, title, onFocus, }: Props): import("react").JSX.Element;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=CustomSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomSelect.d.ts","sourceRoot":"","sources":["../../src/components/CustomSelect.tsx"],"names":[],"mappings":"AAUA,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B;AAED,MAAM,MAAM,gBAAgB,GAAG,kBAAkB,GAAG,iBAAiB,CAAC;AAEtE,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAyBD,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,OAAO,EACP,QAAQ,EACR,SAAS,EACT,UAAU,EACV,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,QAAgB,EAChB,WAAW,EACX,MAAa,EACb,KAAK,EACL,OAAO,GACR,EAAE,KAAK,+BA0NP"}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// NOTE: verified zero real consumers in the vendored source snapshot before
|
|
3
|
+
// porting (see packages/ui/source-map.md) — shipped anyway since it's small,
|
|
4
|
+
// self-contained, and correct; a host may still find it useful as a select
|
|
5
|
+
// primitive with grouped options and optional portal-rendered menu.
|
|
6
|
+
import { useCallback, useEffect, useId, useMemo, useRef, useState } from 'react';
|
|
7
|
+
import { createPortal } from 'react-dom';
|
|
8
|
+
import { Icon } from './Icon';
|
|
9
|
+
function isGroup(item) {
|
|
10
|
+
return 'options' in item;
|
|
11
|
+
}
|
|
12
|
+
function flattenOptions(items) {
|
|
13
|
+
return items.flatMap((item) => isGroup(item)
|
|
14
|
+
? item.options.map((option) => ({ ...option, group: item.label }))
|
|
15
|
+
: [item]);
|
|
16
|
+
}
|
|
17
|
+
export function CustomSelect({ value, options, onChange, ariaLabel, labelledBy, className, triggerClassName, menuClassName, disabled = false, placeholder, portal = true, title, onFocus, }) {
|
|
18
|
+
const reactId = useId();
|
|
19
|
+
const idBase = reactId.replace(/:/g, '');
|
|
20
|
+
const buttonRef = useRef(null);
|
|
21
|
+
const menuRef = useRef(null);
|
|
22
|
+
const wasOpenRef = useRef(false);
|
|
23
|
+
const activeSourceValueRef = useRef(value);
|
|
24
|
+
const [open, setOpen] = useState(false);
|
|
25
|
+
const [activeValue, setActiveValue] = useState(value);
|
|
26
|
+
const [position, setPosition] = useState(null);
|
|
27
|
+
const flatOptions = useMemo(() => flattenOptions(options), [options]);
|
|
28
|
+
const selected = flatOptions.find((option) => option.value === value);
|
|
29
|
+
const selectedLabel = selected?.label ?? placeholder ?? value;
|
|
30
|
+
const enabledOptions = useMemo(() => flatOptions.filter((option) => !option.disabled), [flatOptions]);
|
|
31
|
+
const flatOptionsRef = useRef(flatOptions);
|
|
32
|
+
const enabledOptionsRef = useRef(enabledOptions);
|
|
33
|
+
flatOptionsRef.current = flatOptions;
|
|
34
|
+
enabledOptionsRef.current = enabledOptions;
|
|
35
|
+
const optionIdByValue = useMemo(() => new Map(flatOptions.map((option, index) => [option.value, `${idBase}-option-${index}`])), [flatOptions, idBase]);
|
|
36
|
+
const activeOptionId = open && activeValue ? optionIdByValue.get(activeValue) : undefined;
|
|
37
|
+
const updatePosition = useCallback(() => {
|
|
38
|
+
if (!buttonRef.current)
|
|
39
|
+
return;
|
|
40
|
+
const rect = buttonRef.current.getBoundingClientRect();
|
|
41
|
+
const gap = 4;
|
|
42
|
+
const viewportPad = 12;
|
|
43
|
+
const below = window.innerHeight - rect.bottom - viewportPad;
|
|
44
|
+
const above = rect.top - viewportPad;
|
|
45
|
+
const maxHeight = Math.max(160, Math.min(300, Math.max(below, above) - gap));
|
|
46
|
+
const openAbove = below < 180 && above > below;
|
|
47
|
+
setPosition({
|
|
48
|
+
top: openAbove ? Math.max(viewportPad, rect.top - maxHeight - gap) : rect.bottom + gap,
|
|
49
|
+
left: Math.min(Math.max(viewportPad, rect.left), Math.max(viewportPad, window.innerWidth - rect.width - viewportPad)),
|
|
50
|
+
width: rect.width,
|
|
51
|
+
maxHeight,
|
|
52
|
+
});
|
|
53
|
+
}, []);
|
|
54
|
+
useEffect(() => {
|
|
55
|
+
if (!portal)
|
|
56
|
+
return;
|
|
57
|
+
if (!open) {
|
|
58
|
+
setPosition(null);
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
updatePosition();
|
|
62
|
+
}, [open, portal, updatePosition]);
|
|
63
|
+
useEffect(() => {
|
|
64
|
+
if (!open) {
|
|
65
|
+
wasOpenRef.current = false;
|
|
66
|
+
activeSourceValueRef.current = value;
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
if (wasOpenRef.current && activeSourceValueRef.current === value)
|
|
70
|
+
return;
|
|
71
|
+
const selectedOption = flatOptionsRef.current.find((option) => option.value === value && !option.disabled);
|
|
72
|
+
setActiveValue(selectedOption?.value ?? enabledOptionsRef.current[0]?.value ?? '');
|
|
73
|
+
wasOpenRef.current = true;
|
|
74
|
+
activeSourceValueRef.current = value;
|
|
75
|
+
}, [open, value]);
|
|
76
|
+
useEffect(() => {
|
|
77
|
+
if (!open)
|
|
78
|
+
return;
|
|
79
|
+
const onPointerDown = (event) => {
|
|
80
|
+
const target = event.target;
|
|
81
|
+
if (buttonRef.current?.contains(target) || menuRef.current?.contains(target))
|
|
82
|
+
return;
|
|
83
|
+
setOpen(false);
|
|
84
|
+
};
|
|
85
|
+
const onScrollOrResize = () => {
|
|
86
|
+
if (portal)
|
|
87
|
+
updatePosition();
|
|
88
|
+
};
|
|
89
|
+
document.addEventListener('mousedown', onPointerDown);
|
|
90
|
+
window.addEventListener('resize', onScrollOrResize);
|
|
91
|
+
window.addEventListener('scroll', onScrollOrResize, true);
|
|
92
|
+
return () => {
|
|
93
|
+
document.removeEventListener('mousedown', onPointerDown);
|
|
94
|
+
window.removeEventListener('resize', onScrollOrResize);
|
|
95
|
+
window.removeEventListener('scroll', onScrollOrResize, true);
|
|
96
|
+
};
|
|
97
|
+
}, [open, portal]);
|
|
98
|
+
const choose = (nextValue) => {
|
|
99
|
+
const next = flatOptions.find((option) => option.value === nextValue);
|
|
100
|
+
if (!next || next.disabled)
|
|
101
|
+
return;
|
|
102
|
+
onChange(next.value);
|
|
103
|
+
setOpen(false);
|
|
104
|
+
buttonRef.current?.focus();
|
|
105
|
+
};
|
|
106
|
+
const moveActive = (direction) => {
|
|
107
|
+
if (!enabledOptions.length)
|
|
108
|
+
return;
|
|
109
|
+
const currentIndex = enabledOptions.findIndex((option) => option.value === activeValue);
|
|
110
|
+
const nextIndex = currentIndex < 0
|
|
111
|
+
? 0
|
|
112
|
+
: (currentIndex + direction + enabledOptions.length) % enabledOptions.length;
|
|
113
|
+
setActiveValue(enabledOptions[nextIndex].value);
|
|
114
|
+
};
|
|
115
|
+
const onButtonKeyDown = (event) => {
|
|
116
|
+
if (event.key === 'ArrowDown' || event.key === 'ArrowUp') {
|
|
117
|
+
event.preventDefault();
|
|
118
|
+
if (!open) {
|
|
119
|
+
setOpen(true);
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
moveActive(event.key === 'ArrowDown' ? 1 : -1);
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
if (event.key === 'Enter' || event.key === ' ') {
|
|
126
|
+
event.preventDefault();
|
|
127
|
+
if (open) {
|
|
128
|
+
choose(activeValue || value);
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
setOpen(true);
|
|
132
|
+
}
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
if (event.key === 'Escape' && open) {
|
|
136
|
+
event.preventDefault();
|
|
137
|
+
event.stopPropagation();
|
|
138
|
+
setOpen(false);
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
const menu = (_jsx("div", { ref: menuRef, id: `${idBase}-menu`, className: [
|
|
142
|
+
'jini-select-menu',
|
|
143
|
+
portal ? 'portal' : 'inline',
|
|
144
|
+
menuClassName,
|
|
145
|
+
].filter(Boolean).join(' '), role: "listbox", "aria-label": ariaLabel, style: portal && position
|
|
146
|
+
? {
|
|
147
|
+
top: position.top,
|
|
148
|
+
left: position.left,
|
|
149
|
+
width: position.width,
|
|
150
|
+
maxHeight: position.maxHeight,
|
|
151
|
+
}
|
|
152
|
+
: undefined, children: options.map((item) => {
|
|
153
|
+
if (isGroup(item)) {
|
|
154
|
+
return (_jsxs("div", { className: "jini-select-group", children: [_jsx("div", { className: "jini-select-group-label", children: item.label }), item.options.map((option) => (_jsx(SelectOptionButton, { option: option, selected: option.value === value, active: option.value === activeValue, id: optionIdByValue.get(option.value), onChoose: choose, onActive: setActiveValue }, option.value)))] }, `group:${item.label}`));
|
|
155
|
+
}
|
|
156
|
+
return (_jsx(SelectOptionButton, { option: item, selected: item.value === value, active: item.value === activeValue, id: optionIdByValue.get(item.value), onChoose: choose, onActive: setActiveValue }, item.value));
|
|
157
|
+
}) }));
|
|
158
|
+
return (_jsxs("div", { className: ['jini-select', className].filter(Boolean).join(' '), children: [_jsxs("button", { ref: buttonRef, type: "button", className: ['jini-select-trigger', triggerClassName].filter(Boolean).join(' '), role: "combobox", value: value, "aria-haspopup": "listbox", "aria-expanded": open, "aria-controls": `${idBase}-menu`, "aria-activedescendant": activeOptionId, "aria-describedby": labelledBy, "aria-label": `${ariaLabel}: ${selectedLabel}`, disabled: disabled, title: title, onClick: () => setOpen((current) => !current), onKeyDown: onButtonKeyDown, onFocus: onFocus, children: [_jsx("span", { id: `${idBase}-value`, className: "jini-select-value", children: selectedLabel }), _jsx(Icon, { name: "chevron-down", size: 14 })] }), open ? (portal ? (position ? createPortal(menu, document.body) : null) : menu) : null] }));
|
|
159
|
+
}
|
|
160
|
+
function SelectOptionButton({ option, selected, active, id, onChoose, onActive, }) {
|
|
161
|
+
return (_jsxs("button", { id: id, type: "button", className: [
|
|
162
|
+
'jini-select-option',
|
|
163
|
+
selected ? 'selected' : '',
|
|
164
|
+
active ? 'active' : '',
|
|
165
|
+
].filter(Boolean).join(' '), role: "option", "aria-selected": selected, tabIndex: -1, disabled: option.disabled, onMouseEnter: () => onActive(option.value), onClick: () => onChoose(option.value), children: [_jsx("span", { className: "jini-select-option-label", children: option.label }), _jsx("span", { className: "jini-select-option-check", "aria-hidden": true, children: _jsx(Icon, { name: "check", size: 13 }) })] }));
|
|
166
|
+
}
|
|
167
|
+
//# sourceMappingURL=CustomSelect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomSelect.js","sourceRoot":"","sources":["../../src/components/CustomSelect.tsx"],"names":[],"mappings":";AAAA,4EAA4E;AAC5E,6EAA6E;AAC7E,2EAA2E;AAC3E,oEAAoE;AAEpE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjF,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AA0C9B,SAAS,OAAO,CAAC,IAAsB;IACrC,OAAO,SAAS,IAAI,IAAI,CAAC;AAC3B,CAAC;AAED,SAAS,cAAc,CAAC,KAAyB;IAC/C,OAAO,KAAK,C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