@pstdio/ui 0.25.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -1
- package/dist/EquationComponent-DDd5UoIP.js +65 -0
- package/dist/EquationComponent-DDd5UoIP.js.map +1 -0
- package/dist/MermaidComponent-DGDnQ6pb.js +90 -0
- package/dist/MermaidComponent-DGDnQ6pb.js.map +1 -0
- package/dist/browser-storage-C_ipoNwP.js +37 -0
- package/dist/browser-storage-C_ipoNwP.js.map +1 -0
- package/dist/chat-ui.d.ts +688 -2
- package/dist/chat-ui.js +3272 -2763
- package/dist/chat-ui.js.map +1 -1
- package/dist/data-table-stats-row-DNJG8tLZ.js +415 -0
- package/dist/data-table-stats-row-DNJG8tLZ.js.map +1 -0
- package/dist/data-table.d.ts +143 -2
- package/dist/data-table.js +1216 -1188
- package/dist/data-table.js.map +1 -1
- package/dist/diff-bubble-DZsarmSG.js +61 -0
- package/dist/diff-bubble-DZsarmSG.js.map +1 -0
- package/dist/diff-drawer-45rpk3aq.js +776 -0
- package/dist/diff-drawer-45rpk3aq.js.map +1 -0
- package/dist/diff-editor-CGpeyoCE.js +124 -0
- package/dist/diff-editor-CGpeyoCE.js.map +1 -0
- package/dist/diff-size-Dydn_Uw5.js +61 -0
- package/dist/diff-size-Dydn_Uw5.js.map +1 -0
- package/dist/diff-viewer-hGkaF_zW.js +558 -0
- package/dist/diff-viewer-hGkaF_zW.js.map +1 -0
- package/dist/diff.d.ts +128 -2
- package/dist/diff.js +163 -1300
- package/dist/diff.js.map +1 -1
- package/dist/empty-state-3mVV_pV-.js +38 -0
- package/dist/empty-state-3mVV_pV-.js.map +1 -0
- package/dist/file-change-badge-0QFNv82B.js +64 -0
- package/dist/file-change-badge-0QFNv82B.js.map +1 -0
- package/dist/index-BfFLdci8.d.ts +189 -0
- package/dist/index-Dd6e8lU_.d.ts +61 -0
- package/dist/index-DlmvvQ6x.d.ts +143 -0
- package/dist/index.d.ts +1508 -41
- package/dist/index.js +3167 -3173
- package/dist/index.js.map +1 -1
- package/dist/kanban-renderer.d.ts +337 -2
- package/dist/kanban-renderer.js +1413 -1084
- package/dist/kanban-renderer.js.map +1 -1
- package/dist/list-row-De9R2zKU.js +1008 -0
- package/dist/list-row-De9R2zKU.js.map +1 -0
- package/dist/mermaid-renderer-DImi0fDp.js +553 -0
- package/dist/mermaid-renderer-DImi0fDp.js.map +1 -0
- package/dist/mermaid.d.ts +12 -2
- package/dist/mermaid.js +2 -5
- package/dist/monaco-browser-CLRPSE4-.js +14 -0
- package/dist/monaco-browser-CLRPSE4-.js.map +1 -0
- package/dist/param-editor-IJzw1cA2.js +225 -0
- package/dist/param-editor-IJzw1cA2.js.map +1 -0
- package/dist/param-editor-field-DscIjv8s.js +2368 -0
- package/dist/param-editor-field-DscIjv8s.js.map +1 -0
- package/dist/param-editor.d.ts +407 -0
- package/dist/param-editor.js +3 -0
- package/dist/prism-pSHJejZx.js +646 -0
- package/dist/prism-pSHJejZx.js.map +1 -0
- package/dist/radio-CiFrDN6O.js +54 -0
- package/dist/radio-CiFrDN6O.js.map +1 -0
- package/dist/resource-badge-95WPVlZf.d.ts +76 -0
- package/dist/rich-text-DtQpHBlX.js +7018 -0
- package/dist/rich-text-DtQpHBlX.js.map +1 -0
- package/dist/rich-text.d.ts +3 -2
- package/dist/rich-text.js +2 -265
- package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
- package/dist/scroll-area-Cr1lNXAr.js +100 -0
- package/dist/scroll-area-Cr1lNXAr.js.map +1 -0
- package/dist/slider-hwHYe98I.js +423 -0
- package/dist/slider-hwHYe98I.js.map +1 -0
- package/dist/style.css +2 -1
- package/dist/terminal.d.ts +203 -2
- package/dist/terminal.js +324 -357
- package/dist/terminal.js.map +1 -1
- package/dist/theme-kSkOHzbV.js +2852 -0
- package/dist/theme-kSkOHzbV.js.map +1 -0
- package/dist/theme-preference-pzfuK5cH.js +101 -0
- package/dist/theme-preference-pzfuK5cH.js.map +1 -0
- package/dist/theme.d.ts +3 -2
- package/dist/theme.js +2 -15
- package/dist/tree-list-BUfDQz3v.js +1449 -0
- package/dist/tree-list-BUfDQz3v.js.map +1 -0
- package/dist/types-yjKBk07w.d.ts +161 -0
- package/dist/workspace-badge-9g78pXHS.js +245 -0
- package/dist/workspace-badge-9g78pXHS.js.map +1 -0
- package/dist/workspace-badge-CkJ_jTQw.d.ts +75 -0
- package/dist-monaco/assets/codicon-ngg6Pgfi.ttf +0 -0
- package/dist-monaco/assets/css.worker-DFdt6_zu.js +89 -0
- package/dist-monaco/assets/editor.worker-O-CH8JUO.js +26 -0
- package/dist-monaco/assets/html.worker-JUzsMP-j.js +502 -0
- package/dist-monaco/assets/json.worker-B4dEhy0e.js +58 -0
- package/dist-monaco/assets/ts.worker-CmEKzkmF.js +67734 -0
- package/dist-monaco/monaco.css +1 -0
- package/dist-monaco/monaco.js +1201 -0
- package/package.json +30 -12
- package/dist/EquationComponent-DeDYHvqY.js +0 -62
- package/dist/EquationComponent-DeDYHvqY.js.map +0 -1
- package/dist/MermaidComponent-BVdDqDRU.js +0 -60
- package/dist/MermaidComponent-BVdDqDRU.js.map +0 -1
- package/dist/browser-storage-DPtOQJx0.js +0 -127
- package/dist/browser-storage-DPtOQJx0.js.map +0 -1
- package/dist/components/activity/activity-avatar.d.ts +0 -9
- package/dist/components/activity/activity-comment.d.ts +0 -27
- package/dist/components/activity/activity-composer.d.ts +0 -18
- package/dist/components/activity/activity-event.d.ts +0 -12
- package/dist/components/activity/activity-root.d.ts +0 -15
- package/dist/components/activity/activity-timeline.d.ts +0 -6
- package/dist/components/activity/activity.types.d.ts +0 -5
- package/dist/components/activity/index.d.ts +0 -27
- package/dist/components/activity/resource-activity-feed.d.ts +0 -58
- package/dist/components/chat-ui/components/ai-conversation.d.ts +0 -603
- package/dist/components/chat-ui/components/ai-message.d.ts +0 -91
- package/dist/components/chat-ui/components/ai-response.d.ts +0 -5
- package/dist/components/chat-ui/components/approval-prompt.d.ts +0 -8
- package/dist/components/chat-ui/components/attachment-list.d.ts +0 -23
- package/dist/components/chat-ui/components/auto-scroll.d.ts +0 -37
- package/dist/components/chat-ui/components/chat-input-actions.d.ts +0 -13
- package/dist/components/chat-ui/components/chat-input-attachments.d.ts +0 -12
- package/dist/components/chat-ui/components/chat-input-question-prompt.d.ts +0 -36
- package/dist/components/chat-ui/components/chat-input.d.ts +0 -31
- package/dist/components/chat-ui/components/chat-message-animation.d.ts +0 -22
- package/dist/components/chat-ui/components/chat-message-list-items.d.ts +0 -17
- package/dist/components/chat-ui/components/chat-message-list.d.ts +0 -12
- package/dist/components/chat-ui/components/chat-panel-sticky-user-message.d.ts +0 -13
- package/dist/components/chat-ui/components/chat-panel.d.ts +0 -45
- package/dist/components/chat-ui/components/chat-skeleton.d.ts +0 -1
- package/dist/components/chat-ui/components/composer-constants.d.ts +0 -1
- package/dist/components/chat-ui/components/conversation-browse.d.ts +0 -22
- package/dist/components/chat-ui/components/message-action-panel.d.ts +0 -10
- package/dist/components/chat-ui/components/message-parts-renderer.d.ts +0 -13
- package/dist/components/chat-ui/components/message-types.d.ts +0 -116
- package/dist/components/chat-ui/components/model-swap-separator.d.ts +0 -5
- package/dist/components/chat-ui/components/queued-follow-up-list-state.d.ts +0 -4
- package/dist/components/chat-ui/components/queued-follow-up-list.d.ts +0 -11
- package/dist/components/chat-ui/components/send-button.d.ts +0 -7
- package/dist/components/chat-ui/components/timeline-title.d.ts +0 -6
- package/dist/components/chat-ui/components/timeline-tool-blocks.d.ts +0 -14
- package/dist/components/chat-ui/components/timeline.d.ts +0 -113
- package/dist/components/chat-ui/components/tool-invocation-timeline.d.ts +0 -8
- package/dist/components/chat-ui/components/working-indicator.d.ts +0 -9
- package/dist/components/chat-ui/components/workspace-hub.d.ts +0 -19
- package/dist/components/chat-ui/index.d.ts +0 -19
- package/dist/components/chat-ui/mocks/library/index.d.ts +0 -10
- package/dist/components/chat-ui/performance/chat-mount-metrics.d.ts +0 -37
- package/dist/components/chat-ui/performance/chat-panel.perf.d.ts +0 -18
- package/dist/components/chat-ui/performance/chat-performance-fixtures.d.ts +0 -28
- package/dist/components/chat-ui/performance/chat-performance-panel.d.ts +0 -23
- package/dist/components/chat-ui/performance/chat-performance-story-utils.d.ts +0 -30
- package/dist/components/chat-ui/tool-rendering/apply-patch-renderer.d.ts +0 -2
- package/dist/components/chat-ui/tool-rendering/build-timeline.d.ts +0 -13
- package/dist/components/chat-ui/tool-rendering/default-renderers.d.ts +0 -13
- package/dist/components/chat-ui/tool-rendering/edit-renderer.d.ts +0 -2
- package/dist/components/chat-ui/tool-rendering/index.d.ts +0 -3
- package/dist/components/chat-ui/tool-rendering/question-prompt.d.ts +0 -9
- package/dist/components/chat-ui/tool-rendering/question-renderer.d.ts +0 -10
- package/dist/components/chat-ui/tool-rendering/shared.d.ts +0 -53
- package/dist/components/chat-ui/tool-rendering/standard-renderers.d.ts +0 -7
- package/dist/components/chat-ui/tool-rendering/todowrite-renderer.d.ts +0 -10
- package/dist/components/chat-ui/tool-rendering/types.d.ts +0 -12
- package/dist/components/chat-ui/utils/diff.d.ts +0 -21
- package/dist/components/chat-ui/utils/editor-state.d.ts +0 -1
- package/dist/components/chat-ui/utils/get-icon.d.ts +0 -36
- package/dist/components/chat-ui/utils/tool-name.d.ts +0 -2
- package/dist/components/command-palette/index.d.ts +0 -4
- package/dist/components/command-palette/palette-filter.d.ts +0 -23
- package/dist/components/command-palette/palette-list.d.ts +0 -11
- package/dist/components/command-palette/palette-shortcut.d.ts +0 -12
- package/dist/components/command-palette/palette.d.ts +0 -48
- package/dist/components/data-table/build-columns.d.ts +0 -16
- package/dist/components/data-table/categorical-color-cell.d.ts +0 -8
- package/dist/components/data-table/color-cell-style.d.ts +0 -13
- package/dist/components/data-table/color-scale-cell.d.ts +0 -7
- package/dist/components/data-table/data-table-column-menu.d.ts +0 -17
- package/dist/components/data-table/data-table-header.d.ts +0 -12
- package/dist/components/data-table/data-table-row-display.d.ts +0 -11
- package/dist/components/data-table/data-table-skeleton.d.ts +0 -13
- package/dist/components/data-table/data-table-stat-chart.d.ts +0 -21
- package/dist/components/data-table/data-table-state.d.ts +0 -27
- package/dist/components/data-table/data-table-stats-row.d.ts +0 -11
- package/dist/components/data-table/data-table-stats.d.ts +0 -19
- package/dist/components/data-table/data-table-table-parts.d.ts +0 -22
- package/dist/components/data-table/data-table.d.ts +0 -2
- package/dist/components/data-table/data-table.story-descriptions.d.ts +0 -6
- package/dist/components/data-table/data-table.story-fixtures.d.ts +0 -6
- package/dist/components/data-table/edit-mode-data-table-body.d.ts +0 -30
- package/dist/components/data-table/edit-mode-data-table-cell.d.ts +0 -16
- package/dist/components/data-table/edit-mode-data-table-editors.d.ts +0 -19
- package/dist/components/data-table/edit-mode-data-table-header.d.ts +0 -24
- package/dist/components/data-table/edit-mode-data-table-selection.d.ts +0 -12
- package/dist/components/data-table/edit-mode-data-table.d.ts +0 -2
- package/dist/components/data-table/edit-mode-story.d.ts +0 -5
- package/dist/components/data-table/friendly-json-display.d.ts +0 -31
- package/dist/components/data-table/helpers.d.ts +0 -10
- package/dist/components/data-table/index.d.ts +0 -7
- package/dist/components/data-table/json-cell.d.ts +0 -6
- package/dist/components/data-table/pagination-footer.d.ts +0 -11
- package/dist/components/data-table/selection-toolbar.d.ts +0 -11
- package/dist/components/data-table/types.d.ts +0 -117
- package/dist/components/diff-viewer/build-changed-files-tree.d.ts +0 -4
- package/dist/components/diff-viewer/code-editor.d.ts +0 -43
- package/dist/components/diff-viewer/diff-bubble.d.ts +0 -14
- package/dist/components/diff-viewer/diff-card-body.d.ts +0 -60
- package/dist/components/diff-viewer/diff-card-content.d.ts +0 -23
- package/dist/components/diff-viewer/diff-card-load-state.d.ts +0 -9
- package/dist/components/diff-viewer/diff-card.d.ts +0 -46
- package/dist/components/diff-viewer/diff-drawer-empty-state.d.ts +0 -1
- package/dist/components/diff-viewer/diff-drawer-height.d.ts +0 -10
- package/dist/components/diff-viewer/diff-drawer-scroll.d.ts +0 -28
- package/dist/components/diff-viewer/diff-drawer.d.ts +0 -29
- package/dist/components/diff-viewer/diff-editor.d.ts +0 -20
- package/dist/components/diff-viewer/diff-size.d.ts +0 -16
- package/dist/components/diff-viewer/diff-view-adapter.d.ts +0 -27
- package/dist/components/diff-viewer/diff-viewer-options-menu.d.ts +0 -16
- package/dist/components/diff-viewer/diff-viewer.d.ts +0 -14
- package/dist/components/diff-viewer/diff-viewer.store.d.ts +0 -21
- package/dist/components/diff-viewer/file-change-badge.d.ts +0 -3
- package/dist/components/diff-viewer/file-list-panel.d.ts +0 -18
- package/dist/components/diff-viewer/index.d.ts +0 -9
- package/dist/components/diff-viewer/monaco-browser.d.ts +0 -1
- package/dist/components/diff-viewer/types.d.ts +0 -13
- package/dist/components/diff-viewer/use-selected-diff-scroll.d.ts +0 -23
- package/dist/components/file-browser/column-file-browser.d.ts +0 -20
- package/dist/components/internal/performance-panel.d.ts +0 -40
- package/dist/components/internal/style-guide.d.ts +0 -14
- package/dist/components/internal/token-editor-controls.d.ts +0 -8
- package/dist/components/internal/token-editor-data.d.ts +0 -40
- package/dist/components/internal/token-editor-state.d.ts +0 -22
- package/dist/components/kanban-renderer/collection-badge.d.ts +0 -7
- package/dist/components/kanban-renderer/display-menu.d.ts +0 -16
- package/dist/components/kanban-renderer/filter-menu.d.ts +0 -12
- package/dist/components/kanban-renderer/index.d.ts +0 -19
- package/dist/components/kanban-renderer/kanban-renderer-attribute-badge.d.ts +0 -7
- package/dist/components/kanban-renderer/kanban-renderer-badge-helpers.d.ts +0 -46
- package/dist/components/kanban-renderer/kanban-renderer-board-column-header.d.ts +0 -8
- package/dist/components/kanban-renderer/kanban-renderer-board-group-section.d.ts +0 -17
- package/dist/components/kanban-renderer/kanban-renderer-board-move.d.ts +0 -21
- package/dist/components/kanban-renderer/kanban-renderer-board.d.ts +0 -49
- package/dist/components/kanban-renderer/kanban-renderer-card.d.ts +0 -17
- package/dist/components/kanban-renderer/kanban-renderer-content.d.ts +0 -27
- package/dist/components/kanban-renderer/kanban-renderer-create-dialog.d.ts +0 -12
- package/dist/components/kanban-renderer/kanban-renderer-create-field.d.ts +0 -10
- package/dist/components/kanban-renderer/kanban-renderer-enum-helpers.d.ts +0 -10
- package/dist/components/kanban-renderer/kanban-renderer-grouping.d.ts +0 -23
- package/dist/components/kanban-renderer/kanban-renderer-helpers.d.ts +0 -58
- package/dist/components/kanban-renderer/kanban-renderer-list-items.d.ts +0 -25
- package/dist/components/kanban-renderer/kanban-renderer-list.d.ts +0 -43
- package/dist/components/kanban-renderer/kanban-renderer-story-fixtures.d.ts +0 -14
- package/dist/components/kanban-renderer/kanban-renderer-toolbar.d.ts +0 -15
- package/dist/components/kanban-renderer/kanban-renderer-view-bar.d.ts +0 -14
- package/dist/components/kanban-renderer/kanban-renderer-views.d.ts +0 -12
- package/dist/components/kanban-renderer/kanban-renderer.d.ts +0 -43
- package/dist/components/kanban-renderer/types.d.ts +0 -159
- package/dist/components/kanban-renderer/use-kanban-renderer-store.d.ts +0 -78
- package/dist/components/kanban-renderer/use-resolved-attributes.d.ts +0 -14
- package/dist/components/layout/header.d.ts +0 -7
- package/dist/components/layout/horizontal-menu-stack.d.ts +0 -6
- package/dist/components/layout/index.d.ts +0 -8
- package/dist/components/layout/item-section.d.ts +0 -11
- package/dist/components/layout/panel-header.constants.d.ts +0 -3
- package/dist/components/layout/resizable-split-layout.d.ts +0 -22
- package/dist/components/layout/resizable-split-layout.geometry.d.ts +0 -56
- package/dist/components/layout/resizable-split-layout.handle.d.ts +0 -25
- package/dist/components/layout/resizable-split-layout.panels.d.ts +0 -29
- package/dist/components/layout/resizable-split-layout.root-size.d.ts +0 -3
- package/dist/components/list-row/list-row-actions.d.ts +0 -11
- package/dist/components/list-row/list-row-chrome.d.ts +0 -11
- package/dist/components/list-row/list-row-content.d.ts +0 -17
- package/dist/components/list-row/list-row-menu.d.ts +0 -12
- package/dist/components/list-row/list-row-root-props.d.ts +0 -34
- package/dist/components/list-row/list-row.d.ts +0 -2
- package/dist/components/list-row/list-row.types.d.ts +0 -109
- package/dist/components/list-row/searchable-action-menu.d.ts +0 -6
- package/dist/components/mermaid-renderer/download-png.d.ts +0 -7
- package/dist/components/mermaid-renderer/index.d.ts +0 -2
- package/dist/components/mermaid-renderer/mermaid-error-state.d.ts +0 -6
- package/dist/components/mermaid-renderer/mermaid-fixtures.d.ts +0 -9
- package/dist/components/mermaid-renderer/mermaid-fullscreen.d.ts +0 -10
- package/dist/components/mermaid-renderer/mermaid-renderer.d.ts +0 -8
- package/dist/components/mermaid-renderer/mermaid-svg-view.d.ts +0 -12
- package/dist/components/mermaid-renderer/mermaid-toolbar.d.ts +0 -12
- package/dist/components/mermaid-renderer/mermaid-zoom.d.ts +0 -6
- package/dist/components/mermaid-renderer/svg-data-url.d.ts +0 -6
- package/dist/components/mermaid-renderer/use-mermaid-render.d.ts +0 -5
- package/dist/components/notification-center/index.d.ts +0 -2
- package/dist/components/notification-center/notification-center.d.ts +0 -2
- package/dist/components/notification-center/notification-center.types.d.ts +0 -37
- package/dist/components/overlays/attached-menu.d.ts +0 -6
- package/dist/components/overlays/attached-panel.d.ts +0 -9
- package/dist/components/overlays/attachment-chip.d.ts +0 -13
- package/dist/components/overlays/bubble-button.d.ts +0 -10
- package/dist/components/overlays/bubble-panel.d.ts +0 -18
- package/dist/components/overlays/delete-confirmation-modal.d.ts +0 -13
- package/dist/components/overlays/dialog-accept-shortcut.d.ts +0 -12
- package/dist/components/overlays/index.d.ts +0 -17
- package/dist/components/overlays/repo-picker-dialog.d.ts +0 -25
- package/dist/components/overlays/resource-context-menu.d.ts +0 -35
- package/dist/components/overlays/search-modal-content.d.ts +0 -20
- package/dist/components/overlays/searchable-menu-input.d.ts +0 -9
- package/dist/components/overlays/searchable-menu.d.ts +0 -65
- package/dist/components/param-editor/index.d.ts +0 -31
- package/dist/components/param-editor/inputs/action-input.d.ts +0 -14
- package/dist/components/param-editor/inputs/anchor-grid-input.d.ts +0 -12
- package/dist/components/param-editor/inputs/anchor-grid.d.ts +0 -4
- package/dist/components/param-editor/inputs/boolean-input.d.ts +0 -13
- package/dist/components/param-editor/inputs/color-input.d.ts +0 -14
- package/dist/components/param-editor/inputs/date-input.d.ts +0 -16
- package/dist/components/param-editor/inputs/file-upload-input.d.ts +0 -15
- package/dist/components/param-editor/inputs/file-upload-value.d.ts +0 -7
- package/dist/components/param-editor/inputs/horizontal-text-input.d.ts +0 -13
- package/dist/components/param-editor/inputs/markdown-input.d.ts +0 -13
- package/dist/components/param-editor/inputs/number-input.d.ts +0 -18
- package/dist/components/param-editor/inputs/numeric-value.d.ts +0 -6
- package/dist/components/param-editor/inputs/range-input.d.ts +0 -18
- package/dist/components/param-editor/inputs/range-value.d.ts +0 -5
- package/dist/components/param-editor/inputs/resource-input-chips.d.ts +0 -15
- package/dist/components/param-editor/inputs/resource-input.d.ts +0 -20
- package/dist/components/param-editor/inputs/segmented-input.d.ts +0 -15
- package/dist/components/param-editor/inputs/selection-input.d.ts +0 -27
- package/dist/components/param-editor/inputs/selection-menu.d.ts +0 -39
- package/dist/components/param-editor/inputs/slider-marks.d.ts +0 -5
- package/dist/components/param-editor/inputs/text-input.d.ts +0 -14
- package/dist/components/param-editor/inputs/vector-input.d.ts +0 -17
- package/dist/components/param-editor/inputs/vector-value.d.ts +0 -7
- package/dist/components/param-editor/param-editor-advanced-field.d.ts +0 -14
- package/dist/components/param-editor/param-editor-control-fixtures.d.ts +0 -24
- package/dist/components/param-editor/param-editor-control-item.d.ts +0 -15
- package/dist/components/param-editor/param-editor-control-list.d.ts +0 -5
- package/dist/components/param-editor/param-editor-field-label.d.ts +0 -1
- package/dist/components/param-editor/param-editor-field.d.ts +0 -13
- package/dist/components/param-editor/param-editor-horizontal.d.ts +0 -11
- package/dist/components/param-editor/param-editor-inline-group.d.ts +0 -5
- package/dist/components/param-editor/param-editor-label.d.ts +0 -7
- package/dist/components/param-editor/param-editor-presentation.d.ts +0 -3
- package/dist/components/param-editor/param-editor-read-only-field.d.ts +0 -9
- package/dist/components/param-editor/param-editor-read-only-value.d.ts +0 -8
- package/dist/components/param-editor/param-editor-row.d.ts +0 -17
- package/dist/components/param-editor/param-editor-section.d.ts +0 -17
- package/dist/components/param-editor/param-editor.d.ts +0 -12
- package/dist/components/param-editor/param-editor.types.d.ts +0 -31
- package/dist/components/param-editor/resolve-param-value.d.ts +0 -2
- package/dist/components/primitives/alert.d.ts +0 -9
- package/dist/components/primitives/breadcrumb.d.ts +0 -20
- package/dist/components/primitives/checkbox.d.ts +0 -8
- package/dist/components/primitives/chip.d.ts +0 -4
- package/dist/components/primitives/content-placeholder.d.ts +0 -6
- package/dist/components/primitives/empty-state.d.ts +0 -12
- package/dist/components/primitives/error-boundary.d.ts +0 -26
- package/dist/components/primitives/glyph-icon.d.ts +0 -16
- package/dist/components/primitives/icon-color-picker.d.ts +0 -15
- package/dist/components/primitives/icon-options.d.ts +0 -301
- package/dist/components/primitives/index.d.ts +0 -39
- package/dist/components/primitives/info-card.d.ts +0 -12
- package/dist/components/primitives/integration-card.d.ts +0 -12
- package/dist/components/primitives/number-input.d.ts +0 -6
- package/dist/components/primitives/radio.d.ts +0 -8
- package/dist/components/primitives/resource-badge.d.ts +0 -64
- package/dist/components/primitives/scroll-area.d.ts +0 -17
- package/dist/components/primitives/segmented-control.d.ts +0 -20
- package/dist/components/primitives/session-indicator.d.ts +0 -15
- package/dist/components/primitives/simple-card.d.ts +0 -5
- package/dist/components/primitives/slider.d.ts +0 -5
- package/dist/components/primitives/switch.d.ts +0 -15
- package/dist/components/primitives/tag-swatch.d.ts +0 -10
- package/dist/components/primitives/toaster.d.ts +0 -3
- package/dist/components/primitives/tooltip.d.ts +0 -11
- package/dist/components/primitives/workspace-badge.d.ts +0 -23
- package/dist/components/rich-text/collaborative-markdown-editor/awareness-cursors.d.ts +0 -5
- package/dist/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.d.ts +0 -9
- package/dist/components/rich-text/index.d.ts +0 -17
- package/dist/components/rich-text/lazy-markdown-editor.d.ts +0 -2
- package/dist/components/rich-text/markdown-editor/markdown-editor.d.ts +0 -17
- package/dist/components/rich-text/markdown-editor/markdown-table.story-fixture.d.ts +0 -3
- package/dist/components/rich-text/markdown-editor/plugins/MarkdownSectionNavigationPlugin.d.ts +0 -8
- package/dist/components/rich-text/markdown-editor/plugins/MarkdownSlashCommandPlugin.d.ts +0 -1
- package/dist/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkNode.d.ts +0 -21
- package/dist/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.d.ts +0 -2
- package/dist/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/index.d.ts +0 -2
- package/dist/components/rich-text/markdown-editor/plugins/markdown-history-plugin.d.ts +0 -1
- package/dist/components/rich-text/markdown-editor/plugins/markdown-section-navigation.d.ts +0 -20
- package/dist/components/rich-text/prompt-input/commands.d.ts +0 -2
- package/dist/components/rich-text/prompt-input/events.d.ts +0 -2
- package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/CommentPlugin.d.ts +0 -1
- package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentCommands.d.ts +0 -3
- package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentSchema.d.ts +0 -1
- package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/nodes/CommentNode/CommentNode.d.ts +0 -16
- package/dist/components/rich-text/prompt-input/plugins/ImperativeAPIPlugin.d.ts +0 -7
- package/dist/components/rich-text/prompt-input/plugins/KeyboardShortcutPlugin.d.ts +0 -4
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuOption.d.ts +0 -12
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuPlugin.d.ts +0 -11
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenu.d.ts +0 -9
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenuItem.d.ts +0 -12
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/constants.d.ts +0 -2
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/hooks/useContextLookup.d.ts +0 -14
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/checkForTriggers.d.ts +0 -9
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/getSortedMenuOptions.d.ts +0 -2
- package/dist/components/rich-text/prompt-input/plugins/ReferencePlugin/ReferencePlugin.d.ts +0 -7
- package/dist/components/rich-text/prompt-input/plugins/ReferencePlugin/nodes/ReferenceNode/ReferenceNode.d.ts +0 -25
- package/dist/components/rich-text/prompt-input/plugins/keyboard-shortcuts.d.ts +0 -9
- package/dist/components/rich-text/prompt-input/prompt-input.d.ts +0 -25
- package/dist/components/rich-text/prompt-input/theme/prompt-input-theme.d.ts +0 -3
- package/dist/components/rich-text/prompt-input/utils.d.ts +0 -22
- package/dist/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkNode.d.ts +0 -21
- package/dist/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.d.ts +0 -2
- package/dist/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/index.d.ts +0 -2
- package/dist/components/rich-text/rich-message/rich-message.d.ts +0 -10
- package/dist/components/rich-text/shared/components/content-editable.d.ts +0 -9
- package/dist/components/rich-text/shared/components/default-rich-text-components.d.ts +0 -3
- package/dist/components/rich-text/shared/editor-config.d.ts +0 -5
- package/dist/components/rich-text/shared/lexical-code.d.ts +0 -2
- package/dist/components/rich-text/shared/markdown-ast.d.ts +0 -7
- package/dist/components/rich-text/shared/markdown-codec.d.ts +0 -3
- package/dist/components/rich-text/shared/markdown-export.d.ts +0 -2
- package/dist/components/rich-text/shared/markdown-import.d.ts +0 -2
- package/dist/components/rich-text/shared/markdown-inline.d.ts +0 -5
- package/dist/components/rich-text/shared/markdown-source-document.d.ts +0 -7
- package/dist/components/rich-text/shared/markdown-source-links.d.ts +0 -11
- package/dist/components/rich-text/shared/markdown-source-map.d.ts +0 -10
- package/dist/components/rich-text/shared/markdown-table.d.ts +0 -41
- package/dist/components/rich-text/shared/markdown-url-context.d.ts +0 -9
- package/dist/components/rich-text/shared/markdown-url.d.ts +0 -3
- package/dist/components/rich-text/shared/nodes/DataTableNode.d.ts +0 -24
- package/dist/components/rich-text/shared/nodes/MarkdownImageNode.d.ts +0 -35
- package/dist/components/rich-text/shared/nodes/MarkdownLinkNode.d.ts +0 -18
- package/dist/components/rich-text/shared/nodes/RawHtmlNode.d.ts +0 -31
- package/dist/components/rich-text/shared/plugins/CodePlugin/CodeBlockActionsPlugin.d.ts +0 -4
- package/dist/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.d.ts +0 -3
- package/dist/components/rich-text/shared/plugins/CodePlugin/CodeHighlightingPlugin.d.ts +0 -1
- package/dist/components/rich-text/shared/plugins/EquationPlugin/EquationComponent.d.ts +0 -6
- package/dist/components/rich-text/shared/plugins/EquationPlugin/EquationNode.d.ts +0 -26
- package/dist/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.d.ts +0 -4
- package/dist/components/rich-text/shared/plugins/EquationPlugin/KatexRenderer.d.ts +0 -4
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.d.ts +0 -4
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/floating-toolbar-buttons.d.ts +0 -18
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +0 -1
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/resolve-block-type.d.ts +0 -17
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/should-show-floating-toolbar.d.ts +0 -11
- package/dist/components/rich-text/shared/plugins/HorizontalRulePlugin/HorizontalRuleNode.d.ts +0 -13
- package/dist/components/rich-text/shared/plugins/HorizontalRulePlugin/horizontalRule.d.ts +0 -2
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.d.ts +0 -4
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/LinkPlugin.d.ts +0 -1
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/commands.d.ts +0 -2
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/index.d.ts +0 -3
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/link-editor-content.d.ts +0 -18
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/getSelectedNode.d.ts +0 -2
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/link-edit-state.d.ts +0 -1
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/selection-link-url.d.ts +0 -2
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/setFloatingElemPos.d.ts +0 -1
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/url.d.ts +0 -2
- package/dist/components/rich-text/shared/plugins/MermaidPlugin/MermaidComponent.d.ts +0 -6
- package/dist/components/rich-text/shared/plugins/MermaidPlugin/MermaidNode.d.ts +0 -23
- package/dist/components/rich-text/shared/plugins/StateUpdatePlugin.d.ts +0 -6
- package/dist/components/rich-text/shared/plugins/ToggleEditablePlugin.d.ts +0 -3
- package/dist/components/rich-text/shared/plugins/TreeViewPlugin/TreeViewPlugin.d.ts +0 -1
- package/dist/components/rich-text/shared/prism-global.d.ts +0 -2
- package/dist/components/rich-text/shared/transformers/markdown-transformers-test-utils.d.ts +0 -3
- package/dist/components/rich-text/shared/transformers/markdown-transformers.d.ts +0 -16
- package/dist/components/rich-text/shared/types/rich-text-components.d.ts +0 -15
- package/dist/components/rich-text/theme/rich-text-theme.d.ts +0 -3
- package/dist/components/rich-text/types.d.ts +0 -8
- package/dist/components/rich-text/utils/inferResourceType.d.ts +0 -1
- package/dist/components/rich-text/utils/markdown.d.ts +0 -5
- package/dist/components/rich-text/utils/mediaType.d.ts +0 -1
- package/dist/components/sidenav/sidenav-footer.d.ts +0 -6
- package/dist/components/sidenav/sidenav-header.d.ts +0 -6
- package/dist/components/sidenav/sidenav.d.ts +0 -2
- package/dist/components/sidenav/sidenav.store.d.ts +0 -49
- package/dist/components/sidenav/sidenav.types.d.ts +0 -31
- package/dist/components/tab-strip/tab-visibility-filter.d.ts +0 -22
- package/dist/components/tab-strip/tab-visibility.store.d.ts +0 -41
- package/dist/components/tab-strip/window-tabs.d.ts +0 -15
- package/dist/components/tab-strip/window-title-bar.d.ts +0 -6
- package/dist/components/tag-editor/index.d.ts +0 -8
- package/dist/components/tag-editor/tag-editor-heading.d.ts +0 -11
- package/dist/components/tag-editor/tag-editor-row.d.ts +0 -20
- package/dist/components/tag-editor/tag-editor-save-bar.d.ts +0 -13
- package/dist/components/tag-editor/tag-editor.d.ts +0 -2
- package/dist/components/tag-editor/tag-editor.types.d.ts +0 -57
- package/dist/components/tag-editor/tag-settings-panel.d.ts +0 -30
- package/dist/components/terminal/bind-session.d.ts +0 -33
- package/dist/components/terminal/index.d.ts +0 -6
- package/dist/components/terminal/scripted-bridge.d.ts +0 -35
- package/dist/components/terminal/terminal-contract.d.ts +0 -22
- package/dist/components/terminal/terminal-theme.d.ts +0 -12
- package/dist/components/terminal/terminal.d.ts +0 -56
- package/dist/components/terminal/types.d.ts +0 -35
- package/dist/components/terminal/use-terminal-session.d.ts +0 -21
- package/dist/components/tree-list/tree-list-background.d.ts +0 -8
- package/dist/components/tree-list/tree-list-drag-provider.d.ts +0 -13
- package/dist/components/tree-list/tree-list-drag.d.ts +0 -7
- package/dist/components/tree-list/tree-list-inline-creation-story.d.ts +0 -3
- package/dist/components/tree-list/tree-list-inline-input.d.ts +0 -9
- package/dist/components/tree-list/tree-list-model.d.ts +0 -58
- package/dist/components/tree-list/tree-list-move-surface.d.ts +0 -7
- package/dist/components/tree-list/tree-list-node-row.d.ts +0 -21
- package/dist/components/tree-list/tree-list-order-filter.d.ts +0 -2
- package/dist/components/tree-list/tree-list-order.store.d.ts +0 -45
- package/dist/components/tree-list/tree-list-reorder.d.ts +0 -24
- package/dist/components/tree-list/tree-list-section-header.d.ts +0 -14
- package/dist/components/tree-list/tree-list-sortable.d.ts +0 -24
- package/dist/components/tree-list/tree-list-visibility-filter.d.ts +0 -24
- package/dist/components/tree-list/tree-list-visibility.store.d.ts +0 -45
- package/dist/components/tree-list/tree-list.d.ts +0 -41
- package/dist/components/tree-list/tree-list.types.d.ts +0 -63
- package/dist/components/tree-list/use-tree-list-keyboard-navigation.d.ts +0 -15
- package/dist/diff-bubble-DvUPRnfB.js +0 -183
- package/dist/diff-bubble-DvUPRnfB.js.map +0 -1
- package/dist/edit-mode-data-table-B8UpWb7i.js +0 -846
- package/dist/edit-mode-data-table-B8UpWb7i.js.map +0 -1
- package/dist/empty-state-Bo4HVrgr.js +0 -34
- package/dist/empty-state-Bo4HVrgr.js.map +0 -1
- package/dist/foundations/gallery/gallery-frame.d.ts +0 -21
- package/dist/foundations/gallery/sections/badges-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/buttons-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/composite-chat-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/composites-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/feedback-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/input-authoring-card.d.ts +0 -1
- package/dist/foundations/gallery/sections/inputs-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/layout-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/navigation-identity-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/overlays-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/panels-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/param-editor-composite-card.d.ts +0 -1
- package/dist/foundations/gallery/sections/settings-composite-cards.d.ts +0 -1
- package/dist/kanban-renderer-toolbar-DzY6THJY.js +0 -1374
- package/dist/kanban-renderer-toolbar-DzY6THJY.js.map +0 -1
- package/dist/lazy-markdown-editor-ClZPZuaU.js +0 -235
- package/dist/lazy-markdown-editor-ClZPZuaU.js.map +0 -1
- package/dist/list-row-BDoV_iMV.js +0 -815
- package/dist/list-row-BDoV_iMV.js.map +0 -1
- package/dist/markdown-editor-CAVqJ9yR.js +0 -1019
- package/dist/markdown-editor-CAVqJ9yR.js.map +0 -1
- package/dist/markdown-gNucAjnF.js +0 -1643
- package/dist/markdown-gNucAjnF.js.map +0 -1
- package/dist/mermaid-renderer-CVnuKs-A.js +0 -425
- package/dist/mermaid-renderer-CVnuKs-A.js.map +0 -1
- package/dist/mermaid.js.map +0 -1
- package/dist/monaco-browser-l82HnffN.js +0 -22
- package/dist/monaco-browser-l82HnffN.js.map +0 -1
- package/dist/param-editor-CTx3mDxQ.js +0 -161
- package/dist/param-editor-CTx3mDxQ.js.map +0 -1
- package/dist/param-editor-field-DteDEyeU.js +0 -2810
- package/dist/param-editor-field-DteDEyeU.js.map +0 -1
- package/dist/prompt-input-DNpRL5tI.js +0 -564
- package/dist/prompt-input-DNpRL5tI.js.map +0 -1
- package/dist/radio-cLMEBBZk.js +0 -76
- package/dist/radio-cLMEBBZk.js.map +0 -1
- package/dist/rich-message-CuPiKxKX.js +0 -78
- package/dist/rich-message-CuPiKxKX.js.map +0 -1
- package/dist/rich-text.js.map +0 -1
- package/dist/test-utils/local-storage.d.ts +0 -1
- package/dist/theme/custom/index.d.ts +0 -2
- package/dist/theme/custom/vscode-theme.d.ts +0 -32
- package/dist/theme/global.d.ts +0 -62
- package/dist/theme/index.d.ts +0 -3
- package/dist/theme/primitives/colors.d.ts +0 -1081
- package/dist/theme/primitives/fonts.d.ts +0 -84
- package/dist/theme/primitives/sizes.d.ts +0 -207
- package/dist/theme/recipes/activity-comment.d.ts +0 -36
- package/dist/theme/recipes/alert.d.ts +0 -1
- package/dist/theme/recipes/badge.d.ts +0 -58
- package/dist/theme/recipes/button.d.ts +0 -188
- package/dist/theme/recipes/color-picker.d.ts +0 -18
- package/dist/theme/recipes/dialog.d.ts +0 -1
- package/dist/theme/recipes/divider.d.ts +0 -1
- package/dist/theme/recipes/drawer.d.ts +0 -1
- package/dist/theme/recipes/editable.d.ts +0 -46
- package/dist/theme/recipes/form.d.ts +0 -1
- package/dist/theme/recipes/input.d.ts +0 -94
- package/dist/theme/recipes/kbd.d.ts +0 -41
- package/dist/theme/recipes/menu.d.ts +0 -1
- package/dist/theme/recipes/number-input.d.ts +0 -98
- package/dist/theme/recipes/popover.d.ts +0 -16
- package/dist/theme/recipes/progress-circle.d.ts +0 -28
- package/dist/theme/recipes/resizable-split-layout.d.ts +0 -106
- package/dist/theme/recipes/segmented-control.d.ts +0 -22
- package/dist/theme/recipes/skeleton.d.ts +0 -1
- package/dist/theme/recipes/switch.d.ts +0 -18
- package/dist/theme/recipes/tabs.d.ts +0 -80
- package/dist/theme/recipes/textarea.d.ts +0 -62
- package/dist/theme/recipes/timeline.d.ts +0 -74
- package/dist/theme/recipes/tooltip.d.ts +0 -1
- package/dist/theme/recipes/window-title-bar.d.ts +0 -19
- package/dist/theme/shadowless-default-config.d.ts +0 -2
- package/dist/theme/theme.d.ts +0 -2
- package/dist/theme/tokens/borders.d.ts +0 -17
- package/dist/theme/tokens/colors-background.d.ts +0 -260
- package/dist/theme/tokens/colors-visualization.d.ts +0 -162
- package/dist/theme/tokens/colors.d.ts +0 -878
- package/dist/theme/tokens/layer-styles.d.ts +0 -1
- package/dist/theme/tokens/text.d.ts +0 -1
- package/dist/theme-Dc7hVvMC.js +0 -3990
- package/dist/theme-Dc7hVvMC.js.map +0 -1
- package/dist/theme-preference-Bpobguh4.js +0 -114
- package/dist/theme-preference-Bpobguh4.js.map +0 -1
- package/dist/theme.js.map +0 -1
- package/dist/tree-list-CZvcg3_6.js +0 -1348
- package/dist/tree-list-CZvcg3_6.js.map +0 -1
- package/dist/utils/apply-file-icon-theme-preference.d.ts +0 -35
- package/dist/utils/apply-theme-preference.d.ts +0 -22
- package/dist/utils/browser-storage.d.ts +0 -7
- package/dist/utils/file-icon-theme-preference.d.ts +0 -15
- package/dist/utils/get-file-type-icon.d.ts +0 -2
- package/dist/utils/prism.d.ts +0 -1
- package/dist/utils/resolve-file-icon-element.d.ts +0 -8
- package/dist/utils/theme-preference.d.ts +0 -20
- package/dist/workspace-badge-BR_GgsAG.js +0 -175
- package/dist/workspace-badge-BR_GgsAG.js.map +0 -1
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { DecoratorNode, LexicalEditor, LexicalNode, NodeKey, SerializedLexicalNode, Spread } from 'lexical';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
export type SerializedMarkdownImageNode = Spread<{
|
|
4
|
-
source: string;
|
|
5
|
-
alt: string;
|
|
6
|
-
title: string | null;
|
|
7
|
-
}, SerializedLexicalNode>;
|
|
8
|
-
interface MarkdownImageProps {
|
|
9
|
-
source: string;
|
|
10
|
-
alt: string;
|
|
11
|
-
title: string | null;
|
|
12
|
-
onLoad?: () => void;
|
|
13
|
-
}
|
|
14
|
-
export declare const MarkdownImage: (props: MarkdownImageProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export declare class MarkdownImageNode extends DecoratorNode<ReactNode> {
|
|
16
|
-
__source: string;
|
|
17
|
-
__alt: string;
|
|
18
|
-
__title: string | null;
|
|
19
|
-
static getType(): string;
|
|
20
|
-
static clone(node: MarkdownImageNode): MarkdownImageNode;
|
|
21
|
-
constructor(source: string, alt: string, title?: string | null, key?: NodeKey);
|
|
22
|
-
createDOM(): HTMLSpanElement;
|
|
23
|
-
updateDOM(): boolean;
|
|
24
|
-
isInline(): boolean;
|
|
25
|
-
getSource(): string;
|
|
26
|
-
getAlt(): string;
|
|
27
|
-
getTitle(): string | null;
|
|
28
|
-
getTextContent(): string;
|
|
29
|
-
exportJSON(): SerializedMarkdownImageNode;
|
|
30
|
-
static importJSON(node: SerializedMarkdownImageNode): MarkdownImageNode;
|
|
31
|
-
decorate(editor: LexicalEditor): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
}
|
|
33
|
-
export declare const $createMarkdownImageNode: (source: string, alt: string, title?: string | null) => MarkdownImageNode;
|
|
34
|
-
export declare const $isMarkdownImageNode: (node: LexicalNode | null | undefined) => node is MarkdownImageNode;
|
|
35
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { LinkAttributes, LinkNode, SerializedLinkNode } from '@lexical/link';
|
|
2
|
-
import { LexicalNode, NodeKey, SerializedLexicalNode, Spread } from 'lexical';
|
|
3
|
-
import { MarkdownUrlResolver } from '../markdown-url';
|
|
4
|
-
export type SerializedMarkdownLinkNode = Spread<{
|
|
5
|
-
source: string;
|
|
6
|
-
}, Spread<SerializedLinkNode, SerializedLexicalNode>>;
|
|
7
|
-
export declare class MarkdownLinkNode extends LinkNode {
|
|
8
|
-
__source: string;
|
|
9
|
-
static getType(): string;
|
|
10
|
-
static clone(node: MarkdownLinkNode): MarkdownLinkNode;
|
|
11
|
-
constructor(source?: string, resolvedUrl?: string | null, attributes?: LinkAttributes, key?: NodeKey);
|
|
12
|
-
getSource(): string;
|
|
13
|
-
setURL(url: string): this;
|
|
14
|
-
exportJSON(): SerializedMarkdownLinkNode;
|
|
15
|
-
static importJSON(node: SerializedMarkdownLinkNode): MarkdownLinkNode;
|
|
16
|
-
}
|
|
17
|
-
export declare const $createMarkdownLinkNode: (source: string, resolver?: MarkdownUrlResolver, attributes?: LinkAttributes) => MarkdownLinkNode;
|
|
18
|
-
export declare const $isMarkdownLinkNode: (node: LexicalNode | null | undefined) => node is MarkdownLinkNode;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { DecoratorNode, LexicalNode, NodeKey, SerializedLexicalNode, Spread } from 'lexical';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
export type RawHtmlDisplay = "inline" | "block";
|
|
4
|
-
export type SerializedRawHtmlNode = Spread<{
|
|
5
|
-
source: string;
|
|
6
|
-
display: RawHtmlDisplay;
|
|
7
|
-
}, SerializedLexicalNode>;
|
|
8
|
-
interface RawHtmlProps {
|
|
9
|
-
source: string;
|
|
10
|
-
display: RawHtmlDisplay;
|
|
11
|
-
}
|
|
12
|
-
export declare const RawHtml: (props: RawHtmlProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
13
|
-
export declare class RawHtmlNode extends DecoratorNode<ReactNode> {
|
|
14
|
-
__source: string;
|
|
15
|
-
__display: RawHtmlDisplay;
|
|
16
|
-
static getType(): string;
|
|
17
|
-
static clone(node: RawHtmlNode): RawHtmlNode;
|
|
18
|
-
constructor(source: string, display: RawHtmlDisplay, key?: NodeKey);
|
|
19
|
-
createDOM(): HTMLDivElement | HTMLSpanElement;
|
|
20
|
-
updateDOM(previous: RawHtmlNode): boolean;
|
|
21
|
-
isInline(): boolean;
|
|
22
|
-
getSource(): string;
|
|
23
|
-
getDisplay(): RawHtmlDisplay;
|
|
24
|
-
getTextContent(): string;
|
|
25
|
-
exportJSON(): SerializedRawHtmlNode;
|
|
26
|
-
static importJSON(node: SerializedRawHtmlNode): RawHtmlNode;
|
|
27
|
-
decorate(): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
}
|
|
29
|
-
export declare const $createRawHtmlNode: (source: string, display: RawHtmlDisplay) => RawHtmlNode;
|
|
30
|
-
export declare const $isRawHtmlNode: (node: LexicalNode | null | undefined) => node is RawHtmlNode;
|
|
31
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function CodeHighlightingPlugin(): null;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { DOMConversionMap, EditorConfig, LexicalNode, NodeKey, SerializedLexicalNode, Spread, DecoratorNode, DOMExportOutput } from 'lexical';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
export type SerializedEquationNode = Spread<{
|
|
4
|
-
equation: string;
|
|
5
|
-
inline: boolean;
|
|
6
|
-
}, SerializedLexicalNode>;
|
|
7
|
-
export declare class EquationNode extends DecoratorNode<React.ReactNode> {
|
|
8
|
-
__equation: string;
|
|
9
|
-
__inline: boolean;
|
|
10
|
-
static getType(): string;
|
|
11
|
-
static clone(node: EquationNode): EquationNode;
|
|
12
|
-
constructor(equation: string, inline?: boolean, key?: NodeKey);
|
|
13
|
-
static importJSON(serializedNode: SerializedEquationNode): EquationNode;
|
|
14
|
-
exportJSON(): SerializedEquationNode;
|
|
15
|
-
createDOM(_config: EditorConfig): HTMLElement;
|
|
16
|
-
exportDOM(): DOMExportOutput;
|
|
17
|
-
static importDOM(): DOMConversionMap | null;
|
|
18
|
-
updateDOM(prevNode: EquationNode): boolean;
|
|
19
|
-
getTextContent(): string;
|
|
20
|
-
getEquation(): string;
|
|
21
|
-
setEquation(equation: string): void;
|
|
22
|
-
isInline(): boolean;
|
|
23
|
-
decorate(): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
}
|
|
25
|
-
export declare function $createEquationNode(equation?: string, inline?: boolean): EquationNode;
|
|
26
|
-
export declare function $isEquationNode(node: LexicalNode | null | undefined): node is EquationNode;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { HeadingTagType } from '@lexical/rich-text';
|
|
2
|
-
import { LexicalEditor } from 'lexical';
|
|
3
|
-
import { BlockType } from './resolve-block-type';
|
|
4
|
-
interface FloatingToolbarButtonsProps {
|
|
5
|
-
editor: LexicalEditor;
|
|
6
|
-
blockType: BlockType;
|
|
7
|
-
isBold: boolean;
|
|
8
|
-
isItalic: boolean;
|
|
9
|
-
isUnderline: boolean;
|
|
10
|
-
isCode: boolean;
|
|
11
|
-
isLink: boolean;
|
|
12
|
-
formatHeading: (headingSize: HeadingTagType) => void;
|
|
13
|
-
formatList: (type: "bullet" | "number" | "check") => void;
|
|
14
|
-
formatQuote: () => void;
|
|
15
|
-
insertLink: () => void;
|
|
16
|
-
}
|
|
17
|
-
export declare function FloatingToolbarButtons(props: FloatingToolbarButtonsProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { FloatingTextFormatToolbarPlugin } from './FloatingTextFormatToolbarPlugin';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { LexicalNode } from 'lexical';
|
|
2
|
-
export declare const blockTypeToBlockName: {
|
|
3
|
-
bullet: string;
|
|
4
|
-
check: string;
|
|
5
|
-
code: string;
|
|
6
|
-
h1: string;
|
|
7
|
-
h2: string;
|
|
8
|
-
h3: string;
|
|
9
|
-
h4: string;
|
|
10
|
-
h5: string;
|
|
11
|
-
h6: string;
|
|
12
|
-
number: string;
|
|
13
|
-
paragraph: string;
|
|
14
|
-
quote: string;
|
|
15
|
-
};
|
|
16
|
-
export type BlockType = keyof typeof blockTypeToBlockName;
|
|
17
|
-
export declare const resolveBlockTypeFromAnchor: (anchorNode: LexicalNode) => "number" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "paragraph" | "bullet" | "check" | "quote" | null;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
interface ShouldShowFloatingToolbarParams {
|
|
2
|
-
hasSelection: boolean;
|
|
3
|
-
isRangeSelection: boolean;
|
|
4
|
-
isCollapsed: boolean;
|
|
5
|
-
hasNativeSelection: boolean;
|
|
6
|
-
hasNativeRange: boolean;
|
|
7
|
-
isAnchorInsideEditor: boolean;
|
|
8
|
-
isEditorEditable: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare function shouldShowFloatingToolbar(params: ShouldShowFloatingToolbarParams): boolean;
|
|
11
|
-
export {};
|
package/dist/components/rich-text/shared/plugins/HorizontalRulePlugin/HorizontalRuleNode.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { EditorConfig, ElementNode, LexicalEditor, LexicalNode, SerializedElementNode, Spread } from 'lexical';
|
|
2
|
-
export type SerializedHRNode = Spread<SerializedElementNode, SerializedElementNode>;
|
|
3
|
-
export declare class HRNode extends ElementNode {
|
|
4
|
-
static getType(): string;
|
|
5
|
-
static clone(node: HRNode): HRNode;
|
|
6
|
-
static importJSON(_serializedNode: SerializedHRNode): HRNode;
|
|
7
|
-
exportJSON(): SerializedHRNode;
|
|
8
|
-
createDOM(_config: EditorConfig, _editor: LexicalEditor): HTMLElement;
|
|
9
|
-
updateDOM(_prevNode: unknown, _dom: HTMLElement, _config: EditorConfig): boolean;
|
|
10
|
-
decorate(_editor: LexicalEditor): null;
|
|
11
|
-
}
|
|
12
|
-
export declare function $createHRNode(): HRNode;
|
|
13
|
-
export declare function $isHRNode(node: LexicalNode | null | undefined): node is HRNode;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function LinkPlugin(): React.JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
interface LinkEditorContentProps {
|
|
3
|
-
isActive: boolean;
|
|
4
|
-
isLinkEditMode: boolean;
|
|
5
|
-
editedLinkUrl: string;
|
|
6
|
-
editedLinkUrlIsValid: boolean;
|
|
7
|
-
linkUrl: string;
|
|
8
|
-
href: string;
|
|
9
|
-
inputRef: React.RefObject<HTMLInputElement | null>;
|
|
10
|
-
onEditedLinkUrlChange: (url: string) => void;
|
|
11
|
-
onInputKeyDown: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
12
|
-
onClose: () => void;
|
|
13
|
-
onSubmit: () => void;
|
|
14
|
-
onEdit: () => void;
|
|
15
|
-
onRemove: () => void;
|
|
16
|
-
}
|
|
17
|
-
export declare function LinkEditorContent(props: LinkEditorContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
18
|
-
export {};
|
package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/link-edit-state.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function shouldCancelLinkEdit(isLinkEditMode: boolean, isLink: boolean, linkUrl: string): boolean;
|
package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/setFloatingElemPos.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function setFloatingElemPos(targetRect: DOMRect | null, floatingElem: HTMLElement, anchorElem: HTMLElement, verticalGap?: number, horizontalOffset?: number, placement?: "above" | "legacy", coordinateSpace?: "anchor" | "viewport"): void;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { LexicalNode, NodeKey, SerializedLexicalNode, DecoratorNode } from 'lexical';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
export interface SerializedMermaidNode extends SerializedLexicalNode {
|
|
4
|
-
type: "mermaid";
|
|
5
|
-
code: string;
|
|
6
|
-
version: 1;
|
|
7
|
-
}
|
|
8
|
-
export declare class MermaidNode extends DecoratorNode<ReactNode> {
|
|
9
|
-
__code: string;
|
|
10
|
-
static getType(): string;
|
|
11
|
-
static clone(node: MermaidNode): MermaidNode;
|
|
12
|
-
constructor(code: string, key?: NodeKey);
|
|
13
|
-
createDOM(): HTMLDivElement;
|
|
14
|
-
updateDOM(): boolean;
|
|
15
|
-
static importJSON(serializedNode: SerializedMermaidNode): MermaidNode;
|
|
16
|
-
exportJSON(): SerializedMermaidNode;
|
|
17
|
-
getTextContent(): string;
|
|
18
|
-
getCode(): string;
|
|
19
|
-
setCode(code: string): void;
|
|
20
|
-
decorate(): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
}
|
|
22
|
-
export declare function $isMermaidNode(node: LexicalNode | null | undefined): node is MermaidNode;
|
|
23
|
-
export declare function $createMermaidNode(code: string): MermaidNode;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function TreeViewPlugin(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { TextMatchTransformer } from '@lexical/markdown';
|
|
2
|
-
import { TextNode } from 'lexical';
|
|
3
|
-
export declare const UNDERLINE_INS_TAG: TextMatchTransformer;
|
|
4
|
-
export declare const UNDERLINE_U_TAG: TextMatchTransformer;
|
|
5
|
-
export declare const LINK: TextMatchTransformer;
|
|
6
|
-
export declare const BARE_URL: TextMatchTransformer;
|
|
7
|
-
export declare const TRANSFORMERS_EXTENDED: (Readonly<{
|
|
8
|
-
dependencies: Array<import('lexical').Klass<import('lexical').LexicalNode>>;
|
|
9
|
-
export?: (node: import('lexical').LexicalNode, exportChildren: (node: import('lexical').ElementNode) => string, exportFormat: (node: TextNode, textContent: string) => string) => string | null;
|
|
10
|
-
importRegExp?: RegExp;
|
|
11
|
-
regExp: RegExp;
|
|
12
|
-
replace?: (node: TextNode, match: RegExpMatchArray) => void | TextNode;
|
|
13
|
-
getEndIndex?: (node: TextNode, match: RegExpMatchArray) => number | false;
|
|
14
|
-
trigger?: string;
|
|
15
|
-
type: "text-match";
|
|
16
|
-
}> | import('@lexical/markdown').ElementTransformer)[];
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export type RowData = Record<string, unknown>;
|
|
2
|
-
export interface DataTableProps {
|
|
3
|
-
data: RowData[];
|
|
4
|
-
isReadOnly?: boolean;
|
|
5
|
-
fullWidth?: boolean;
|
|
6
|
-
noBorder?: boolean;
|
|
7
|
-
hiddenColumns?: string[];
|
|
8
|
-
}
|
|
9
|
-
export interface CodeEditorProps {
|
|
10
|
-
language?: string;
|
|
11
|
-
defaultCode?: string;
|
|
12
|
-
isEditable?: boolean;
|
|
13
|
-
showLineNumbers?: boolean;
|
|
14
|
-
disableScroll?: boolean;
|
|
15
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type ResourceType = "table" | "connector" | "file" | "text" | "image" | "pdf" | "markdown" | "csv" | "json" | "code";
|
|
2
|
-
export interface Resource {
|
|
3
|
-
resourceId: string;
|
|
4
|
-
resourceType: ResourceType;
|
|
5
|
-
name: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
mediaType?: string;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function inferResourceTypeFromMediaType(mediaType: string): "text" | "table" | "image" | "json" | "pdf" | "markdown";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function mediaTypeFromPath(path: string): string | null;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
interface SidenavSnapshot {
|
|
2
|
-
open: boolean;
|
|
3
|
-
expandedSections: string[];
|
|
4
|
-
expandedNodes: string[];
|
|
5
|
-
width: number | null;
|
|
6
|
-
}
|
|
7
|
-
interface SidenavState extends SidenavSnapshot {
|
|
8
|
-
openSidenav: () => void;
|
|
9
|
-
closeSidenav: () => void;
|
|
10
|
-
toggleSidenav: () => void;
|
|
11
|
-
toggleSection: (sectionId: string) => void;
|
|
12
|
-
toggleNode: (nodeId: string) => void;
|
|
13
|
-
setSectionExpanded: (sectionId: string, expanded: boolean) => void;
|
|
14
|
-
setNodeExpanded: (nodeId: string, expanded: boolean) => void;
|
|
15
|
-
setWidth: (width: number) => void;
|
|
16
|
-
reset: () => void;
|
|
17
|
-
}
|
|
18
|
-
interface CreateSidenavStoreOptions {
|
|
19
|
-
storageKey: string;
|
|
20
|
-
initialState?: Partial<SidenavSnapshot>;
|
|
21
|
-
}
|
|
22
|
-
export declare const createSidenavStore: (options: CreateSidenavStoreOptions) => Omit<import('zustand').StoreApi<SidenavState>, "setState" | "persist"> & {
|
|
23
|
-
setState(partial: SidenavState | Partial<SidenavState> | ((state: SidenavState) => SidenavState | Partial<SidenavState>), replace?: false | undefined): unknown;
|
|
24
|
-
setState(state: SidenavState | ((state: SidenavState) => SidenavState), replace: true): unknown;
|
|
25
|
-
persist: {
|
|
26
|
-
setOptions: (options: Partial<import('zustand/middleware').PersistOptions<SidenavState, unknown, unknown>>) => void;
|
|
27
|
-
clearStorage: () => void;
|
|
28
|
-
rehydrate: () => Promise<void> | void;
|
|
29
|
-
hasHydrated: () => boolean;
|
|
30
|
-
onHydrate: (fn: (state: SidenavState) => void) => () => void;
|
|
31
|
-
onFinishHydration: (fn: (state: SidenavState) => void) => () => void;
|
|
32
|
-
getOptions: () => Partial<import('zustand/middleware').PersistOptions<SidenavState, unknown, unknown>>;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
export declare const getSidenavStore: (storageKey: string, initialState?: Partial<SidenavSnapshot>) => Omit<import('zustand').StoreApi<SidenavState>, "setState" | "persist"> & {
|
|
36
|
-
setState(partial: SidenavState | Partial<SidenavState> | ((state: SidenavState) => SidenavState | Partial<SidenavState>), replace?: false | undefined): unknown;
|
|
37
|
-
setState(state: SidenavState | ((state: SidenavState) => SidenavState), replace: true): unknown;
|
|
38
|
-
persist: {
|
|
39
|
-
setOptions: (options: Partial<import('zustand/middleware').PersistOptions<SidenavState, unknown, unknown>>) => void;
|
|
40
|
-
clearStorage: () => void;
|
|
41
|
-
rehydrate: () => Promise<void> | void;
|
|
42
|
-
hasHydrated: () => boolean;
|
|
43
|
-
onHydrate: (fn: (state: SidenavState) => void) => () => void;
|
|
44
|
-
onFinishHydration: (fn: (state: SidenavState) => void) => () => void;
|
|
45
|
-
getOptions: () => Partial<import('zustand/middleware').PersistOptions<SidenavState, unknown, unknown>>;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
export declare const useSidenavStore: <T>(storageKey: string, selector: (state: SidenavState) => T, initialState?: Partial<SidenavSnapshot>) => T;
|
|
49
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ResourceContextAction } from '../overlays/resource-context-menu';
|
|
3
|
-
import { TreeListLinkComponent, TreeListNavigateEvent, TreeListSection } from '../tree-list/tree-list.types';
|
|
4
|
-
export interface SidenavProps {
|
|
5
|
-
storageKey: string;
|
|
6
|
-
sections: TreeListSection[];
|
|
7
|
-
activeNodeId?: string | string[] | null;
|
|
8
|
-
header?: ReactNode;
|
|
9
|
-
footer?: ReactNode;
|
|
10
|
-
/** Right-click menu available from every point in the Sidenav. */
|
|
11
|
-
contextActions?: ResourceContextAction[];
|
|
12
|
-
/** Initial width when resizable. Set explicitly to override the persisted width. */
|
|
13
|
-
width?: string | number;
|
|
14
|
-
emptyLabel?: string;
|
|
15
|
-
defaultExpandedSections?: string[];
|
|
16
|
-
linkComponent?: TreeListLinkComponent;
|
|
17
|
-
onNavigate?: (event: TreeListNavigateEvent) => void;
|
|
18
|
-
closable?: boolean;
|
|
19
|
-
onOpenChange?: (open: boolean) => void;
|
|
20
|
-
/** Allow split layouts to resize the sidenav. Defaults to `true`. */
|
|
21
|
-
resizable?: boolean;
|
|
22
|
-
defaultWidth?: number;
|
|
23
|
-
minWidth?: number;
|
|
24
|
-
maxWidth?: number;
|
|
25
|
-
/**
|
|
26
|
-
* When enabled, the scroll content is virtualized — only nodes near the viewport
|
|
27
|
-
* are mounted. Use for sidenavs that may contain hundreds of entries. Requires
|
|
28
|
-
* sections with flat nodes (no expandable children).
|
|
29
|
-
*/
|
|
30
|
-
virtualize?: boolean;
|
|
31
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ResourceContextAction } from '../overlays/resource-context-menu';
|
|
3
|
-
import { VisibilityOverride } from '../tree-list/tree-list-visibility.store';
|
|
4
|
-
export interface TabVisibilityPlacement {
|
|
5
|
-
closable?: boolean;
|
|
6
|
-
hiddenByDefault?: boolean;
|
|
7
|
-
pinned?: boolean;
|
|
8
|
-
title?: string;
|
|
9
|
-
contributionId: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const filterVisibleTabs: <T extends TabVisibilityPlacement>(placements: T[], tabOverrides: Record<string, VisibilityOverride>, getKey: (placement: T) => string) => T[];
|
|
12
|
-
export interface TabVisibilityMenuActions {
|
|
13
|
-
onToggleTab: (key: string, hiddenByDefault: boolean) => void;
|
|
14
|
-
onResetAll: () => void;
|
|
15
|
-
}
|
|
16
|
-
interface BuildTabMenuOptions {
|
|
17
|
-
visibleIcon: ReactNode;
|
|
18
|
-
hiddenIcon: ReactNode;
|
|
19
|
-
resetIcon?: ReactNode;
|
|
20
|
-
}
|
|
21
|
-
export declare const buildTabVisibilityMenuActions: <T extends TabVisibilityPlacement>(placements: T[], tabOverrides: Record<string, VisibilityOverride>, actions: TabVisibilityMenuActions, getKey: (placement: T) => string, options: BuildTabMenuOptions, getIcon?: (placement: T) => ReactNode) => ResourceContextAction[];
|
|
22
|
-
export {};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { VisibilityOverride } from '../tree-list/tree-list-visibility.store';
|
|
2
|
-
interface TabVisibilitySnapshot {
|
|
3
|
-
tabOverrides: Record<string, VisibilityOverride>;
|
|
4
|
-
}
|
|
5
|
-
interface TabVisibilityState extends TabVisibilitySnapshot {
|
|
6
|
-
setTab: (key: string, value: VisibilityOverride | undefined) => void;
|
|
7
|
-
toggleTab: (key: string, hiddenByDefault: boolean) => void;
|
|
8
|
-
clearTab: (key: string) => void;
|
|
9
|
-
reset: () => void;
|
|
10
|
-
}
|
|
11
|
-
interface CreateTabVisibilityStoreOptions {
|
|
12
|
-
storageKey: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const createTabVisibilityStore: (options: CreateTabVisibilityStoreOptions) => Omit<import('zustand').StoreApi<TabVisibilityState>, "setState" | "persist"> & {
|
|
15
|
-
setState(partial: TabVisibilityState | Partial<TabVisibilityState> | ((state: TabVisibilityState) => TabVisibilityState | Partial<TabVisibilityState>), replace?: false | undefined): unknown;
|
|
16
|
-
setState(state: TabVisibilityState | ((state: TabVisibilityState) => TabVisibilityState), replace: true): unknown;
|
|
17
|
-
persist: {
|
|
18
|
-
setOptions: (options: Partial<import('zustand/middleware').PersistOptions<TabVisibilityState, unknown, unknown>>) => void;
|
|
19
|
-
clearStorage: () => void;
|
|
20
|
-
rehydrate: () => Promise<void> | void;
|
|
21
|
-
hasHydrated: () => boolean;
|
|
22
|
-
onHydrate: (fn: (state: TabVisibilityState) => void) => () => void;
|
|
23
|
-
onFinishHydration: (fn: (state: TabVisibilityState) => void) => () => void;
|
|
24
|
-
getOptions: () => Partial<import('zustand/middleware').PersistOptions<TabVisibilityState, unknown, unknown>>;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export declare const getTabVisibilityStore: (storageKey: string) => Omit<import('zustand').StoreApi<TabVisibilityState>, "setState" | "persist"> & {
|
|
28
|
-
setState(partial: TabVisibilityState | Partial<TabVisibilityState> | ((state: TabVisibilityState) => TabVisibilityState | Partial<TabVisibilityState>), replace?: false | undefined): unknown;
|
|
29
|
-
setState(state: TabVisibilityState | ((state: TabVisibilityState) => TabVisibilityState), replace: true): unknown;
|
|
30
|
-
persist: {
|
|
31
|
-
setOptions: (options: Partial<import('zustand/middleware').PersistOptions<TabVisibilityState, unknown, unknown>>) => void;
|
|
32
|
-
clearStorage: () => void;
|
|
33
|
-
rehydrate: () => Promise<void> | void;
|
|
34
|
-
hasHydrated: () => boolean;
|
|
35
|
-
onHydrate: (fn: (state: TabVisibilityState) => void) => () => void;
|
|
36
|
-
onFinishHydration: (fn: (state: TabVisibilityState) => void) => () => void;
|
|
37
|
-
getOptions: () => Partial<import('zustand/middleware').PersistOptions<TabVisibilityState, unknown, unknown>>;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
export declare const useTabVisibilityStore: <T>(storageKey: string, selector: (state: TabVisibilityState) => T) => T;
|
|
41
|
-
export type { TabVisibilitySnapshot, TabVisibilityState };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface WindowTab {
|
|
3
|
-
id: string;
|
|
4
|
-
label: string;
|
|
5
|
-
icon?: ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export interface WindowTabsProps {
|
|
8
|
-
tabs: WindowTab[];
|
|
9
|
-
selectedId?: string;
|
|
10
|
-
onSelect: (id: string) => void;
|
|
11
|
-
onClose: (id: string) => void;
|
|
12
|
-
onReorder?: (id: string, targetId: string) => void;
|
|
13
|
-
"aria-label": string;
|
|
14
|
-
}
|
|
15
|
-
export declare const WindowTabs: (props: WindowTabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { TagEditor } from './tag-editor';
|
|
2
|
-
export type { TagEditorAction, TagEditorProps, TagEditorValue } from './tag-editor.types';
|
|
3
|
-
export type { TagEditorHeadingProps } from './tag-editor-heading';
|
|
4
|
-
export { TagEditorHeading } from './tag-editor-heading';
|
|
5
|
-
export type { TagEditorSaveBarProps } from './tag-editor-save-bar';
|
|
6
|
-
export { TagEditorSaveBar } from './tag-editor-save-bar';
|
|
7
|
-
export type { SaveTagSettingsInput, TagSettingsPanelProps } from './tag-settings-panel';
|
|
8
|
-
export { TagSettingsPanel } from './tag-settings-panel';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface TagEditorHeadingProps {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
/** Appends the unsaved-changes marker. */
|
|
5
|
-
hasChanges?: boolean;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Screen heading for a tag settings panel. The asterisk stays quiet on purpose —
|
|
9
|
-
* the enabled Save button in the same header is the loud signal.
|
|
10
|
-
*/
|
|
11
|
-
export declare const TagEditorHeading: (props: TagEditorHeadingProps) => import("react/jsx-runtime").JSX.Element;
|