@jini-ai/ui 0.3.14 → 0.4.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/CHANGELOG.md +139 -0
- package/README.md +120 -26
- package/dist/browser/index.js +1 -1
- package/dist/browser/useDismissOnOutsideOrEscape.d.ts +10 -1
- package/dist/browser/useDismissOnOutsideOrEscape.js +7 -4
- package/dist/browser/useGlobalKeydown.d.ts +14 -2
- package/dist/browser/useGlobalKeydown.js +8 -17
- package/dist/features/a2ui/catalog-from-registry.d.ts +6 -3
- package/dist/features/a2ui/catalog-from-registry.js +1 -1
- package/dist/features/a2ui/index.d.ts +1 -1
- package/dist/features/a2ui/protocol.d.ts +1 -1
- package/dist/features/a2ui/renderer.js +23 -10
- package/dist/features/a2ui/use-a2ui-surface.d.ts +11 -6
- package/dist/features/a2ui/use-a2ui-surface.js +40 -10
- package/dist/features/admin-widgets/components/ComingSoonNotice.d.ts +11 -0
- package/dist/features/admin-widgets/components/ComingSoonNotice.js +7 -0
- package/dist/features/admin-widgets/components/ComingSoonPanel.d.ts +10 -0
- package/dist/features/admin-widgets/components/ComingSoonPanel.js +10 -0
- package/dist/features/admin-widgets/components/ImagePreviewModal.d.ts +16 -0
- package/dist/features/admin-widgets/components/ImagePreviewModal.hooks.d.ts +13 -0
- package/dist/features/admin-widgets/components/ImagePreviewModal.hooks.js +46 -0
- package/dist/features/admin-widgets/components/ImagePreviewModal.js +13 -0
- package/dist/features/admin-widgets/components/InfoTip.d.ts +18 -0
- package/dist/features/admin-widgets/components/InfoTip.hooks.d.ts +16 -0
- package/dist/features/admin-widgets/components/InfoTip.hooks.js +45 -0
- package/dist/features/admin-widgets/components/InfoTip.js +12 -0
- package/dist/features/admin-widgets/components/SeeMore/SeeMore.d.ts +41 -0
- package/dist/features/admin-widgets/components/SeeMore/SeeMore.hooks.d.ts +14 -0
- package/dist/features/admin-widgets/components/SeeMore/SeeMore.hooks.js +57 -0
- package/dist/features/admin-widgets/components/SeeMore/SeeMore.js +24 -0
- package/dist/features/admin-widgets/components/Select/Select.d.ts +39 -0
- package/dist/features/admin-widgets/components/Select/Select.hooks.d.ts +105 -0
- package/dist/features/admin-widgets/components/Select/Select.hooks.js +359 -0
- package/dist/features/admin-widgets/components/Select/Select.js +46 -0
- package/dist/features/admin-widgets/index.d.ts +20 -0
- package/dist/features/admin-widgets/index.js +11 -0
- package/dist/features/admin-widgets/styles/admin-widgets.css +2 -0
- package/dist/features/appearance/constants.d.ts +2 -2
- package/dist/features/appearance/constants.js +2 -1
- package/dist/features/appearance/react/components/AppearanceTab.js +5 -5
- package/dist/features/appearance/rules.d.ts +10 -4
- package/dist/features/appearance/rules.js +5 -5
- package/dist/features/appearance/types.d.ts +1 -1
- package/dist/features/appearance/types.js +1 -1
- package/dist/features/asset-grid/react/components/AssetGrid.js +1 -1
- package/dist/features/asset-grid/react/components/DeleteConfirmDialog.js +1 -1
- package/dist/features/asset-grid/react/hooks/useAssetGridKeyboardShortcuts.js +23 -21
- package/dist/features/asset-grid/react/hooks/useAssetGridLiveUpdates.d.ts +1 -1
- package/dist/features/asset-grid/react/hooks/useAssetGridLiveUpdates.js +1 -1
- package/dist/features/asset-tree-browser/ports.d.ts +3 -1
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeCopyLocalPath.js +1 -1
- package/dist/features/browser-chrome/react/components/BrowserViewportControls.js +1 -1
- package/dist/features/browser-chrome/types.js +1 -1
- package/dist/features/command-palette/ports.js +1 -1
- package/dist/features/connectors/ConnectorsBrowser.js +2 -2
- package/dist/features/connectors/components/ConnectorCard.js +3 -3
- package/dist/features/connectors/components/ConnectorDetailDrawer.js +1 -1
- package/dist/features/connectors/components/ConnectorGrid.js +2 -2
- package/dist/features/connectors/components/ConnectorSearchBar.js +2 -2
- package/dist/features/connectors/components/ProviderTabBar.js +2 -2
- package/dist/features/connectors/constants.d.ts +1 -1
- package/dist/features/connectors/constants.js +1 -1
- package/dist/features/connectors/hooks/useConnectorAuthorization.js +1 -1
- package/dist/features/connectors/rules.d.ts +2 -2
- package/dist/features/connectors/rules.js +1 -1
- package/dist/features/connectors/types.d.ts +2 -2
- package/dist/features/connectors/types.js +1 -1
- package/dist/features/execution/react/components/ByokProviderForm.js +3 -3
- package/dist/features/execution/react/components/ExecutionTab.js +2 -2
- package/dist/features/execution/react/components/LocalCliAgentCard.js +3 -3
- package/dist/features/execution/react/components/LocalCliAgentList.js +2 -2
- package/dist/features/execution/react/components/ProviderChipGroup.js +2 -2
- package/dist/features/execution/react/components/SearchableModelSelect.js +1 -1
- package/dist/features/execution/rules.js +1 -1
- package/dist/features/file-dropzone/react/components/FileDropzone.js +5 -3
- package/dist/features/file-dropzone/react/hooks/useFileDropzone.d.ts +1 -1
- package/dist/features/file-dropzone/react/hooks/useFileDropzone.js +1 -1
- package/dist/features/file-dropzone/types.d.ts +1 -1
- package/dist/features/file-dropzone/types.js +1 -1
- package/dist/features/folder-path-drop/react/hooks/useFolderPathDropCapture.js +6 -4
- package/dist/features/html-editor/canvas-content-wrapper.js +1 -1
- package/dist/features/html-editor/canvas-embed-placeholders.js +7 -7
- package/dist/features/html-editor/canvas-style.d.ts +4 -0
- package/dist/features/html-editor/canvas-style.js +6 -21
- package/dist/features/html-viewer/constants.d.ts +1 -1
- package/dist/features/html-viewer/constants.js +1 -1
- package/dist/features/html-viewer/react/components/PresentMenu.js +1 -1
- package/dist/features/html-viewer/react/components/ZoomMenu.js +1 -1
- package/dist/features/html-viewer/types.d.ts +1 -1
- package/dist/features/html-viewer/types.js +1 -1
- package/dist/features/i18n/dictionaries/index.d.ts +2 -3
- package/dist/features/i18n/dictionaries/settings-dialog.en.d.ts +1 -1
- package/dist/features/i18n/dictionary-translator.d.ts +16 -0
- package/dist/features/i18n/dictionary-translator.js +14 -0
- package/dist/features/i18n/index.d.ts +3 -0
- package/dist/features/i18n/index.js +2 -0
- package/dist/features/i18n/locale.d.ts +1 -1
- package/dist/features/i18n/template-i18n.d.ts +26 -0
- package/dist/features/i18n/template-i18n.js +36 -0
- package/dist/features/iframe-pool/react/components/IframeKeepAliveProvider.d.ts +1 -1
- package/dist/features/iframe-pool/react/components/IframeKeepAliveProvider.js +1 -1
- package/dist/features/instructions/react/components/InstructionsTab.js +1 -1
- package/dist/features/integrations/react/components/ClientPicker.js +4 -4
- package/dist/features/integrations/react/components/CodexInstallToggleButton.js +1 -1
- package/dist/features/integrations/react/components/IntegrationsTab.js +2 -2
- package/dist/features/integrations/react/components/SnippetBlock.js +1 -1
- package/dist/features/integrations/types.d.ts +1 -1
- package/dist/features/integrations/types.js +1 -1
- package/dist/features/interactive-ui/index.js +13 -13
- package/dist/features/interactive-ui/interactive-ui.css +1 -1
- package/dist/features/interactive-ui/providers/recharts/bar-chart.js +1 -1
- package/dist/features/interactive-ui/providers/recharts/line-chart.js +1 -1
- package/dist/features/interactive-ui/providers/recharts/pie-chart.js +2 -2
- package/dist/features/interactive-ui/providers/shadcn/lib/utils.d.ts +1 -1
- package/dist/features/interactive-ui/providers/shadcn/lib/utils.js +1 -1
- package/dist/features/interactive-ui/registry.d.ts +15 -4
- package/dist/features/interactive-ui/registry.js +5 -5
- package/dist/features/language/react/components/LanguageTab.js +2 -2
- package/dist/features/list-detail-panel/types.d.ts +1 -1
- package/dist/features/list-detail-panel/types.js +1 -1
- package/dist/features/mcp-ui/confirmation-store.js +2 -1
- package/dist/features/mcp-ui/surfaces/tokens.d.ts +17 -20
- package/dist/features/mcp-ui/surfaces/tokens.js +33 -35
- package/dist/features/media-providers/index.d.ts +1 -1
- package/dist/features/media-providers/index.js +1 -1
- package/dist/features/media-providers/react/components/MediaProvidersTab.js +4 -4
- package/dist/features/media-providers/rules.js +1 -1
- package/dist/features/memory/async-commit-guard.d.ts +1 -1
- package/dist/features/memory/constants.d.ts +1 -1
- package/dist/features/memory/constants.js +1 -1
- package/dist/features/memory/dependencies.d.ts +11 -23
- package/dist/features/memory/dependencies.js +116 -106
- package/dist/features/memory/index.d.ts +1 -1
- package/dist/features/memory/index.js +1 -1
- package/dist/features/memory/react/components/MemoryAdvancedModal.js +2 -2
- package/dist/features/memory/react/components/MemoryEntryCard.js +1 -1
- package/dist/features/memory/react/components/MemoryExtractionCard.js +1 -1
- package/dist/features/memory/react/components/MemoryHooksPanel.js +1 -1
- package/dist/features/memory/react/components/MemoryList.js +5 -5
- package/dist/features/memory/react/components/MemoryManualEditor.js +5 -5
- package/dist/features/memory/react/components/MemorySettingsPanel.js +1 -1
- package/dist/features/memory/react/hooks/useMemoryEntries.hooks.js +1 -1
- package/dist/features/memory/react/hooks/useMemoryNavigation.hooks.js +1 -1
- package/dist/features/memory/react/styles.js +1 -1
- package/dist/features/memory/rules.js +1 -1
- package/dist/features/memory/types.d.ts +1 -1
- package/dist/features/mention-autocomplete/react/hooks/useMentionAutocomplete.js +1 -1
- package/dist/features/notifications/react/components/NotificationsTab.js +7 -7
- package/dist/features/notifications/types.d.ts +1 -1
- package/dist/features/observability/boot-timing.js +2 -2
- package/dist/features/observability/stuck-run.js +1 -1
- package/dist/features/observability/white-screen.js +4 -4
- package/dist/features/panel-kit/fetch-query/adapter.react.d.ts +35 -0
- package/dist/features/panel-kit/fetch-query/adapter.react.js +122 -0
- package/dist/features/panel-kit/fetch-query/cache.d.ts +123 -0
- package/dist/features/panel-kit/fetch-query/cache.js +231 -0
- package/dist/features/panel-kit/fetch-query/environment.browser.d.ts +4 -0
- package/dist/features/panel-kit/fetch-query/environment.browser.js +25 -0
- package/dist/features/panel-kit/fetch-query/index.d.ts +4 -0
- package/dist/features/panel-kit/fetch-query/index.js +2 -0
- package/dist/features/panel-kit/fetch-query/types.d.ts +91 -0
- package/dist/features/panel-kit/fetch-query/types.js +2 -0
- package/dist/features/panel-kit/helpers/format-timestamp.d.ts +18 -0
- package/dist/features/panel-kit/helpers/format-timestamp.js +20 -0
- package/dist/features/panel-kit/helpers/permissions.d.ts +11 -0
- package/dist/features/panel-kit/helpers/permissions.js +10 -0
- package/dist/features/panel-kit/helpers/resolve-active-tab-id.d.ts +13 -0
- package/dist/features/panel-kit/helpers/resolve-active-tab-id.js +13 -0
- package/dist/features/panel-kit/helpers/retry-unreachable.d.ts +20 -0
- package/dist/features/panel-kit/helpers/retry-unreachable.js +39 -0
- package/dist/features/panel-kit/hooks/use-async-action.hooks.d.ts +13 -0
- package/dist/features/panel-kit/hooks/use-async-action.hooks.js +27 -0
- package/dist/features/panel-kit/hooks/use-dirty-guard.hooks.d.ts +18 -0
- package/dist/features/panel-kit/hooks/use-dirty-guard.hooks.js +33 -0
- package/dist/features/panel-kit/hooks/use-focus-trap.hooks.d.ts +8 -0
- package/dist/features/panel-kit/hooks/use-focus-trap.hooks.js +66 -0
- package/dist/features/panel-kit/hooks/use-serial-writes.hooks.d.ts +26 -0
- package/dist/features/panel-kit/hooks/use-serial-writes.hooks.js +41 -0
- package/dist/features/panel-kit/hooks/use-settlement-generation.hooks.d.ts +9 -0
- package/dist/features/panel-kit/hooks/use-settlement-generation.hooks.js +25 -0
- package/dist/features/panel-kit/index.d.ts +19 -0
- package/dist/features/panel-kit/index.js +13 -0
- package/dist/features/privacy/react/components/PrivacyTab.js +2 -2
- package/dist/features/privacy/types.d.ts +1 -1
- package/dist/features/privacy/types.js +1 -1
- package/dist/features/progress-card/reference-adapters.d.ts +1 -1
- package/dist/features/progress-card/rules.d.ts +1 -1
- package/dist/features/progress-card/rules.js +1 -1
- package/dist/features/progress-card/types.d.ts +1 -1
- package/dist/features/progress-card/types.js +1 -1
- package/dist/features/resource-dashboard/dependencies.d.ts +1 -1
- package/dist/features/resource-dashboard/ports.d.ts +1 -1
- package/dist/features/resource-dashboard/react/hooks/useResourceBoard.d.ts +1 -1
- package/dist/features/resource-dashboard/react/hooks/useResourceBoard.js +1 -1
- package/dist/features/resource-dashboard/rules.d.ts +1 -1
- package/dist/features/resource-dashboard/rules.js +2 -2
- package/dist/features/resource-dashboard/types.d.ts +4 -4
- package/dist/features/resource-dashboard/types.js +1 -1
- package/dist/features/schedule-picker/react/hooks/useRecurringSchedulePicker.js +1 -1
- package/dist/features/settings/dialog/styles/settings-dialog.css +62 -60
- package/dist/features/sketch-editor/constants.d.ts +1 -1
- package/dist/features/sketch-editor/constants.js +1 -1
- package/dist/features/sketch-editor/dom.d.ts +1 -1
- package/dist/features/sketch-editor/dom.js +1 -1
- package/dist/features/sketch-editor/react/hooks/useSketchDomEnhancements.d.ts +1 -1
- package/dist/features/sketch-editor/react/hooks/useSketchDomEnhancements.js +11 -9
- package/dist/features/sketch-editor/types.d.ts +1 -1
- package/dist/features/sketch-editor/types.js +1 -1
- package/dist/features/skills/react/components/SkillDraftForm.js +1 -1
- package/dist/features/skills/react/components/SkillRow.js +1 -1
- package/dist/features/skills/react/components/SkillsTab.js +2 -2
- package/dist/features/source-config-list/agent-handles.js +2 -2
- package/dist/features/source-config-list/react/hooks/useSourceConfigAddForm.d.ts +1 -1
- package/dist/features/source-config-list/react/hooks/useSourceConfigAddForm.js +1 -1
- package/dist/features/source-config-list/rules.d.ts +1 -1
- package/dist/features/source-config-list/rules.js +3 -3
- package/dist/features/source-config-list/types.d.ts +1 -1
- package/dist/features/source-config-list/types.js +1 -1
- package/dist/features/tab-launcher-menu/react/hooks/useTabLauncherMenu.js +1 -1
- package/dist/features/tab-strip/index.d.ts +4 -0
- package/dist/features/tab-strip/index.js +2 -0
- package/dist/features/tab-strip/react/components/TabBar.d.ts +23 -0
- package/dist/features/tab-strip/react/components/TabBar.hooks.d.ts +25 -0
- package/dist/features/tab-strip/react/components/TabBar.hooks.js +57 -0
- package/dist/features/tab-strip/react/components/TabBar.js +18 -0
- package/dist/features/tab-strip/react/components/TabStrip.js +2 -1
- package/dist/features/tab-strip/react/components/TabStripFrame.d.ts +3 -0
- package/dist/features/tab-strip/react/components/TabStripFrame.js +7 -0
- package/dist/features/tabbed-dialog/react/hooks/useTabbedDialog.js +1 -1
- package/dist/features/tabbed-dialog/styles/tabbed-dialog.css +8 -141
- package/dist/features/tabbed-dialog/types.d.ts +1 -1
- package/dist/features/tabbed-dialog/types.js +1 -1
- package/dist/features/version-manager/ports.d.ts +1 -1
- package/dist/features/version-manager/react/components/VersionPromptPopover.js +5 -3
- package/dist/features/version-manager/react/components/VersionRestoreControl.js +1 -1
- package/dist/features/version-manager/types.d.ts +1 -1
- package/dist/features/version-manager/types.js +1 -1
- package/dist/features/viewer-shell/dependencies.js +1 -1
- package/dist/features/viewer-shell/ports.d.ts +1 -1
- package/dist/features/viewer-shell/react/components/ViewportSwitcher.js +1 -1
- package/dist/features/viewer-shell/react/hooks/useMarkdownScrollSync.d.ts +1 -1
- package/dist/features/viewer-shell/react/hooks/useMarkdownScrollSync.js +1 -1
- package/dist/features/viewer-shell/types.d.ts +1 -1
- package/dist/features/viewer-shell/types.js +1 -1
- package/dist/index.d.ts +420 -0
- package/dist/index.js +421 -1
- package/dist/react/components/ComponentKitPreview.js +1 -1
- package/dist/react/components/EditorIcon.d.ts +1 -1
- package/dist/react/components/EditorIcon.js +22 -22
- package/dist/react/components/ExportDiagnosticsButton.d.ts +8 -1
- package/dist/react/components/ExportDiagnosticsButton.js +6 -6
- package/dist/react/components/PaletteTweaks.js +5 -5
- package/dist/react/hooks/useBrandFonts.d.ts +19 -4
- package/dist/react/hooks/useBrandFonts.js +11 -7
- package/dist/react/hooks/useDebouncedValue.d.ts +12 -1
- package/dist/react/hooks/useDebouncedValue.js +9 -4
- package/dist/react/hooks/useStableHandler.d.ts +3 -1
- package/dist/react/hooks/useStableHandler.js +1 -1
- package/dist/renderers/annotation-canvas/drawing.d.ts +4 -4
- package/dist/renderers/annotation-canvas/drawing.js +28 -15
- package/dist/renderers/annotation-canvas/react/components/AnnotationCanvas.js +2 -2
- package/dist/renderers/annotation-canvas/react/hooks/useAnnotationCanvas.js +4 -3
- package/dist/renderers/annotation-canvas/rules.d.ts +1 -1
- package/dist/renderers/annotation-canvas/theme.d.ts +13 -0
- package/dist/renderers/annotation-canvas/theme.js +16 -0
- package/dist/renderers/annotation-canvas/types.d.ts +1 -1
- package/dist/renderers/index.d.ts +1 -1
- package/dist/renderers/new-tab-preview.d.ts +3 -0
- package/dist/renderers/new-tab-preview.js +3 -1
- package/dist/renderers/preview-modal-shell/react/hooks/usePreviewModalShell.d.ts +1 -1
- package/dist/renderers/preview-modal-shell/react/hooks/usePreviewModalShell.js +1 -1
- package/dist/renderers/preview-modal-shell/rules.d.ts +1 -1
- package/dist/renderers/preview-modal-shell/types.d.ts +3 -3
- package/dist/renderers/preview-modal-shell/types.js +2 -2
- package/dist/renderers/react/components/ArtifactView.d.ts +1 -1
- package/dist/renderers/react/components/ArtifactView.js +1 -1
- package/dist/renderers/registry.d.ts +12 -6
- package/dist/renderers/registry.js +7 -9
- package/dist/renderers/renderers/html.js +2 -2
- package/dist/renderers/renderers/index.js +1 -1
- package/dist/renderers/renderers/markdown.js +2 -2
- package/dist/renderers/renderers/react-component.js +1 -1
- package/dist/renderers/renderers/svg.js +1 -1
- package/dist/renderers/shiki.js +1 -1
- package/dist/renderers/srcdoc/build.d.ts +1 -1
- package/dist/renderers/srcdoc/build.js +1 -1
- package/dist/renderers/url-load-decision.d.ts +1 -1
- package/dist/renderers/url-load-decision.js +1 -1
- package/dist/styles/admin.css +273 -0
- package/dist/styles/variables.css +117 -0
- package/dist/theme/apply.d.ts +9 -0
- package/dist/theme/apply.js +77 -0
- package/dist/theme/color-scheme.d.ts +8 -0
- package/dist/theme/color-scheme.js +9 -0
- package/dist/theme/default.d.ts +4 -0
- package/dist/theme/default.js +11 -0
- package/dist/theme/index.d.ts +6 -0
- package/dist/theme/index.js +5 -0
- package/dist/theme/stylesheet.d.ts +8 -0
- package/dist/theme/stylesheet.js +14 -0
- package/dist/theme/types.d.ts +39 -0
- package/dist/theme/types.js +2 -0
- package/dist/theme/validation.d.ts +15 -0
- package/dist/theme/validation.js +55 -0
- package/dist/utils/appearance.js +1 -1
- package/dist/utils/browser-request.d.ts +12 -0
- package/dist/utils/browser-request.js +10 -0
- package/dist/utils/color-math.d.ts +20 -6
- package/dist/utils/color-math.js +12 -12
- package/dist/utils/copy-to-clipboard.d.ts +19 -8
- package/dist/utils/copy-to-clipboard.js +15 -11
- package/dist/utils/dom-subscriptions.js +1 -1
- package/dist/utils/endpoint-policy.d.ts +9 -3
- package/dist/utils/endpoint-policy.js +5 -5
- package/dist/utils/markdown-scroll-sync.js +3 -3
- package/dist/utils/notifications.d.ts +1 -1
- package/dist/utils/notifications.js +1 -1
- package/dist/utils/polygon-selection.d.ts +1 -1
- package/dist/utils/polygon-selection.js +1 -1
- package/dist/utils/scroll-tabs-with-wheel.d.ts +4 -1
- package/dist/utils/scroll-tabs-with-wheel.js +1 -1
- package/dist/utils/smooth-scroll-to-top.js +1 -1
- package/dist/utils/sse.d.ts +3 -1
- package/dist/utils/sse.js +1 -1
- package/package.json +105 -16
- package/dist/features/lexical-rich-text-editor/react/test-support/lexical-harness.d.ts +0 -11
- package/dist/features/lexical-rich-text-editor/react/test-support/lexical-harness.js +0 -35
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jini-ai/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Generic, product-neutral React UI primitives and feature domains. Framework-free types, decision rules, catalogs, and host port contracts live behind ./core (no React, no DOM). The Excalidraw and Lexical editors live behind ./sketch-editor and ./lexical-rich-text-editor; the GrapesJS-backed inline HTML editor lives behind ./html-editor.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -11,10 +11,41 @@
|
|
|
11
11
|
"jini": {
|
|
12
12
|
"domain": "ui",
|
|
13
13
|
"kind": "react-library",
|
|
14
|
-
"runtime": "browser"
|
|
14
|
+
"runtime": "browser",
|
|
15
|
+
"entries": {
|
|
16
|
+
".": "browser",
|
|
17
|
+
"./core": "universal",
|
|
18
|
+
"./sketch-editor": "browser",
|
|
19
|
+
"./lexical-rich-text-editor": "browser",
|
|
20
|
+
"./html-editor": "browser",
|
|
21
|
+
"./mcp-ui": "browser",
|
|
22
|
+
"./mcp-ui/surfaces": "universal",
|
|
23
|
+
"./interactive-ui": "browser",
|
|
24
|
+
"./interactive-ui/manifests": "universal",
|
|
25
|
+
"./a2ui": "browser",
|
|
26
|
+
"./renderers": "browser",
|
|
27
|
+
"./interactive-ui.css": "browser",
|
|
28
|
+
"./settings-dialog.css": "browser",
|
|
29
|
+
"./tabbed-dialog.css": "browser",
|
|
30
|
+
"./remixicon.css": "browser",
|
|
31
|
+
"./admin-widgets": "browser",
|
|
32
|
+
"./panel-kit": "browser",
|
|
33
|
+
"./fetch-query": "browser",
|
|
34
|
+
"./tab-strip": "browser",
|
|
35
|
+
"./admin-widgets.css": "browser",
|
|
36
|
+
"./theme": "browser",
|
|
37
|
+
"./styles/*": "browser"
|
|
38
|
+
}
|
|
15
39
|
},
|
|
16
40
|
"type": "module",
|
|
17
|
-
"sideEffects":
|
|
41
|
+
"sideEffects": [
|
|
42
|
+
"./dist/features/admin-widgets/styles/admin-widgets.css",
|
|
43
|
+
"./dist/styles/*.css",
|
|
44
|
+
"./dist/features/tabbed-dialog/styles/tabbed-dialog.css",
|
|
45
|
+
"./dist/features/settings/dialog/styles/settings-dialog.css",
|
|
46
|
+
"./dist/features/interactive-ui/interactive-ui.css",
|
|
47
|
+
"./dist/**/*.css"
|
|
48
|
+
],
|
|
18
49
|
"main": "./dist/index.js",
|
|
19
50
|
"types": "./dist/index.d.ts",
|
|
20
51
|
"exports": {
|
|
@@ -76,15 +107,46 @@
|
|
|
76
107
|
"./interactive-ui.css": "./dist/features/interactive-ui/interactive-ui.css",
|
|
77
108
|
"./settings-dialog.css": "./dist/features/settings/dialog/styles/settings-dialog.css",
|
|
78
109
|
"./tabbed-dialog.css": "./dist/features/tabbed-dialog/styles/tabbed-dialog.css",
|
|
79
|
-
"./remixicon.css": "./dist/react/components/remixicon-font/remixicon.css"
|
|
110
|
+
"./remixicon.css": "./dist/react/components/remixicon-font/remixicon.css",
|
|
111
|
+
"./admin-widgets": {
|
|
112
|
+
"types": "./dist/features/admin-widgets/index.d.ts",
|
|
113
|
+
"import": "./dist/features/admin-widgets/index.js",
|
|
114
|
+
"default": "./dist/features/admin-widgets/index.js"
|
|
115
|
+
},
|
|
116
|
+
"./panel-kit": {
|
|
117
|
+
"types": "./dist/features/panel-kit/index.d.ts",
|
|
118
|
+
"import": "./dist/features/panel-kit/index.js",
|
|
119
|
+
"default": "./dist/features/panel-kit/index.js"
|
|
120
|
+
},
|
|
121
|
+
"./fetch-query": {
|
|
122
|
+
"types": "./dist/features/panel-kit/fetch-query/index.d.ts",
|
|
123
|
+
"import": "./dist/features/panel-kit/fetch-query/index.js",
|
|
124
|
+
"default": "./dist/features/panel-kit/fetch-query/index.js"
|
|
125
|
+
},
|
|
126
|
+
"./tab-strip": {
|
|
127
|
+
"types": "./dist/features/tab-strip/index.d.ts",
|
|
128
|
+
"import": "./dist/features/tab-strip/index.js",
|
|
129
|
+
"default": "./dist/features/tab-strip/index.js"
|
|
130
|
+
},
|
|
131
|
+
"./admin-widgets.css": "./dist/features/admin-widgets/styles/admin-widgets.css",
|
|
132
|
+
"./theme": {
|
|
133
|
+
"types": "./dist/theme/index.d.ts",
|
|
134
|
+
"import": "./dist/theme/index.js",
|
|
135
|
+
"default": "./dist/theme/index.js"
|
|
136
|
+
},
|
|
137
|
+
"./styles/*": "./dist/styles/*"
|
|
80
138
|
},
|
|
81
139
|
"files": [
|
|
82
140
|
"dist",
|
|
141
|
+
"README.md",
|
|
142
|
+
"CHANGELOG.md",
|
|
143
|
+
"LICENSE",
|
|
83
144
|
"!dist/**/*.test.js",
|
|
84
145
|
"!dist/**/*.test.d.ts",
|
|
85
146
|
"!dist/**/*.test.js.map",
|
|
86
147
|
"!dist/**/*.test.d.ts.map",
|
|
87
148
|
"!dist/**/__tests__/**",
|
|
149
|
+
"!dist/**/test-support/**",
|
|
88
150
|
"!dist/**/*.map"
|
|
89
151
|
],
|
|
90
152
|
"publishConfig": {
|
|
@@ -92,29 +154,27 @@
|
|
|
92
154
|
"registry": "https://registry.npmjs.org"
|
|
93
155
|
},
|
|
94
156
|
"dependencies": {
|
|
95
|
-
"@mcp-ui/client": "7.1.1",
|
|
96
|
-
"@radix-ui/react-checkbox": "^1.3.11",
|
|
97
|
-
"@radix-ui/react-label": "^2.1.15",
|
|
98
|
-
"@radix-ui/react-radio-group": "^1.4.7",
|
|
99
|
-
"@radix-ui/react-select": "^2.3.7",
|
|
100
|
-
"@radix-ui/react-slot": "^1.3.3",
|
|
101
157
|
"class-variance-authority": "^0.7.1",
|
|
102
158
|
"clsx": "^2.1.1",
|
|
103
159
|
"micromark": "^4.0.0",
|
|
104
160
|
"micromark-extension-gfm": "^3.0.0",
|
|
105
161
|
"parse5": "^8.0.1",
|
|
106
|
-
"recharts": "^3.10.1",
|
|
107
162
|
"shiki": "^1.24.4",
|
|
108
163
|
"tailwind-merge": "^2.6.0",
|
|
109
164
|
"zod": "^3.25.76",
|
|
110
|
-
"@jini-ai/
|
|
111
|
-
"@jini-ai/
|
|
112
|
-
"@jini-ai/platform": "0.3.0"
|
|
165
|
+
"@jini-ai/core": "0.4.0",
|
|
166
|
+
"@jini-ai/agentic": "0.4.0"
|
|
113
167
|
},
|
|
114
168
|
"devDependencies": {
|
|
115
169
|
"@excalidraw/excalidraw": "0.18.1",
|
|
116
170
|
"@lexical/react": "0.36.2",
|
|
117
171
|
"@lexical/utils": "0.36.2",
|
|
172
|
+
"@mcp-ui/client": "7.1.1",
|
|
173
|
+
"@radix-ui/react-checkbox": "^1.3.11",
|
|
174
|
+
"@radix-ui/react-label": "^2.1.15",
|
|
175
|
+
"@radix-ui/react-radio-group": "^1.4.7",
|
|
176
|
+
"@radix-ui/react-select": "^2.3.7",
|
|
177
|
+
"@radix-ui/react-slot": "^1.3.3",
|
|
118
178
|
"@tailwindcss/cli": "^4.1.16",
|
|
119
179
|
"@testing-library/jest-dom": "^6.6.3",
|
|
120
180
|
"@testing-library/react": "^16.3.0",
|
|
@@ -127,16 +187,24 @@
|
|
|
127
187
|
"lexical": "0.36.2",
|
|
128
188
|
"react": "^19.2.0",
|
|
129
189
|
"react-dom": "^19.2.0",
|
|
190
|
+
"recharts": "^3.10.1",
|
|
130
191
|
"tailwindcss": "^4.1.16"
|
|
131
192
|
},
|
|
132
193
|
"peerDependencies": {
|
|
133
194
|
"@excalidraw/excalidraw": "0.18.1",
|
|
134
195
|
"@lexical/react": "0.36.2",
|
|
135
196
|
"@lexical/utils": "0.36.2",
|
|
197
|
+
"@mcp-ui/client": "7.1.1",
|
|
198
|
+
"@radix-ui/react-checkbox": "^1.3.11",
|
|
199
|
+
"@radix-ui/react-label": "^2.1.15",
|
|
200
|
+
"@radix-ui/react-radio-group": "^1.4.7",
|
|
201
|
+
"@radix-ui/react-select": "^2.3.7",
|
|
202
|
+
"@radix-ui/react-slot": "^1.3.3",
|
|
136
203
|
"grapesjs": "0.23.4",
|
|
137
204
|
"lexical": "0.36.2",
|
|
138
205
|
"react": "^18.3.0 || ^19.0.0",
|
|
139
|
-
"react-dom": "^18.3.0 || ^19.0.0"
|
|
206
|
+
"react-dom": "^18.3.0 || ^19.0.0",
|
|
207
|
+
"recharts": "^3.10.1"
|
|
140
208
|
},
|
|
141
209
|
"peerDependenciesMeta": {
|
|
142
210
|
"@excalidraw/excalidraw": {
|
|
@@ -148,6 +216,24 @@
|
|
|
148
216
|
"@lexical/utils": {
|
|
149
217
|
"optional": true
|
|
150
218
|
},
|
|
219
|
+
"@mcp-ui/client": {
|
|
220
|
+
"optional": true
|
|
221
|
+
},
|
|
222
|
+
"@radix-ui/react-checkbox": {
|
|
223
|
+
"optional": true
|
|
224
|
+
},
|
|
225
|
+
"@radix-ui/react-label": {
|
|
226
|
+
"optional": true
|
|
227
|
+
},
|
|
228
|
+
"@radix-ui/react-radio-group": {
|
|
229
|
+
"optional": true
|
|
230
|
+
},
|
|
231
|
+
"@radix-ui/react-select": {
|
|
232
|
+
"optional": true
|
|
233
|
+
},
|
|
234
|
+
"@radix-ui/react-slot": {
|
|
235
|
+
"optional": true
|
|
236
|
+
},
|
|
151
237
|
"grapesjs": {
|
|
152
238
|
"optional": true
|
|
153
239
|
},
|
|
@@ -159,10 +245,13 @@
|
|
|
159
245
|
},
|
|
160
246
|
"react-dom": {
|
|
161
247
|
"optional": true
|
|
248
|
+
},
|
|
249
|
+
"recharts": {
|
|
250
|
+
"optional": true
|
|
162
251
|
}
|
|
163
252
|
},
|
|
164
253
|
"scripts": {
|
|
165
|
-
"build": "node scripts/generate-agent-icon-data-uris.mjs && tsc -p tsconfig.json && mkdir -p dist/react/components/remixicon-font dist/features/settings/dialog/styles dist/features/tabbed-dialog/styles && cp src/react/components/remixicon-font/remixicon.css src/react/components/remixicon-font/remixicon.woff2 dist/react/components/remixicon-font/ && cp src/features/settings/dialog/styles/settings-dialog.css dist/features/settings/dialog/styles/ && cp src/features/tabbed-dialog/styles/tabbed-dialog.css dist/features/tabbed-dialog/styles/ && npx @tailwindcss/cli -i src/features/interactive-ui/styles.css -o dist/features/interactive-ui/interactive-ui.css --minify",
|
|
254
|
+
"build": "node scripts/generate-agent-icon-data-uris.mjs && tsc -p tsconfig.json && mkdir -p dist/react/components/remixicon-font dist/features/settings/dialog/styles dist/features/tabbed-dialog/styles && cp src/react/components/remixicon-font/remixicon.css src/react/components/remixicon-font/remixicon.woff2 dist/react/components/remixicon-font/ && cp src/features/settings/dialog/styles/settings-dialog.css dist/features/settings/dialog/styles/ && cp src/features/tabbed-dialog/styles/tabbed-dialog.css dist/features/tabbed-dialog/styles/ && npx @tailwindcss/cli -i src/features/interactive-ui/styles.css -o dist/features/interactive-ui/interactive-ui.css --minify && mkdir -p dist/features/admin-widgets/styles && cp src/features/admin-widgets/styles/admin-widgets.css dist/features/admin-widgets/styles/ && mkdir -p dist/styles && cp src/styles/*.css dist/styles/",
|
|
166
255
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
167
256
|
"test": "vitest run",
|
|
168
257
|
"test:coverage": "vitest run --coverage"
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { LexicalEditor } from 'lexical';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
/** Returns a `renderHook`/`render` `wrapper` plus a getter for the captured
|
|
4
|
-
* editor instance (populated after the first render). */
|
|
5
|
-
export declare function makeLexicalWrapper(namespace?: string): {
|
|
6
|
-
wrapper: (props: {
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
}) => ReactNode;
|
|
9
|
-
getEditor: () => LexicalEditor;
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=lexical-harness.d.ts.map
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
// Test-only helper (not part of this feature's public barrel): mounts a
|
|
3
|
-
// minimal `<LexicalComposer>` around a `renderHook`/`render` subject and
|
|
4
|
-
// hands the test the real `LexicalEditor` instance, since every hook in
|
|
5
|
-
// this feature needs `useLexicalComposerContext()` to be available above it
|
|
6
|
-
// in the tree.
|
|
7
|
-
import { LexicalComposer } from '@lexical/react/LexicalComposer';
|
|
8
|
-
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
|
|
9
|
-
import { MentionNode } from '../../mention-node.js';
|
|
10
|
-
function EditorCapture({ onEditor }) {
|
|
11
|
-
const [editor] = useLexicalComposerContext();
|
|
12
|
-
onEditor(editor);
|
|
13
|
-
return null;
|
|
14
|
-
}
|
|
15
|
-
/** Returns a `renderHook`/`render` `wrapper` plus a getter for the captured
|
|
16
|
-
* editor instance (populated after the first render). */
|
|
17
|
-
export function makeLexicalWrapper(namespace = 'rich-text-input-test') {
|
|
18
|
-
let captured = null;
|
|
19
|
-
const initialConfig = {
|
|
20
|
-
namespace,
|
|
21
|
-
nodes: [MentionNode],
|
|
22
|
-
onError(err) {
|
|
23
|
-
throw err;
|
|
24
|
-
},
|
|
25
|
-
};
|
|
26
|
-
return {
|
|
27
|
-
wrapper: ({ children }) => (_jsxs(LexicalComposer, { initialConfig: initialConfig, children: [_jsx(EditorCapture, { onEditor: (editor) => (captured = editor) }), children] })),
|
|
28
|
-
getEditor: () => {
|
|
29
|
-
if (!captured)
|
|
30
|
-
throw new Error('editor not captured yet — render the wrapper first');
|
|
31
|
-
return captured;
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=lexical-harness.js.map
|