@pstdio/ui 0.26.0 → 0.36.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/dist/EquationComponent-DDd5UoIP.js +65 -0
- package/dist/EquationComponent-DDd5UoIP.js.map +1 -0
- package/dist/MermaidComponent-Cxg7NtjX.js +90 -0
- package/dist/MermaidComponent-Cxg7NtjX.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 +3271 -2848
- package/dist/chat-ui.js.map +1 -1
- package/dist/data-table-stats-row-UuTinYfL.js +415 -0
- package/dist/data-table-stats-row-UuTinYfL.js.map +1 -0
- package/dist/data-table.d.ts +174 -2
- package/dist/data-table.js +1349 -1187
- 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 -1302
- 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 +1504 -40
- package/dist/index.js +3121 -2707
- package/dist/index.js.map +1 -1
- package/dist/kanban-renderer.d.ts +339 -2
- package/dist/kanban-renderer.js +1413 -1085
- 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-I0dKQeeZ.js +225 -0
- package/dist/param-editor-I0dKQeeZ.js.map +1 -0
- package/dist/param-editor-field-CBguLs_b.js +2368 -0
- package/dist/param-editor-field-CBguLs_b.js.map +1 -0
- package/dist/param-editor.d.ts +407 -2
- package/dist/param-editor.js +3 -47
- 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-BgDvOEGH.js +7021 -0
- package/dist/rich-text-BgDvOEGH.js.map +1 -0
- package/dist/rich-text.d.ts +3 -2
- package/dist/rich-text.js +2 -429
- 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 -360
- package/dist/terminal.js.map +1 -1
- package/dist/theme-0cbWICbg.js +2936 -0
- package/dist/theme-0cbWICbg.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-Brm3Xr3m.d.ts +75 -0
- package/dist/workspace-badge-DrvH8WKV.js +241 -0
- package/dist/workspace-badge-DrvH8WKV.js.map +1 -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 +26 -13
- package/dist/EquationComponent-DeDYHvqY.js +0 -62
- package/dist/EquationComponent-DeDYHvqY.js.map +0 -1
- package/dist/MermaidComponent-X__B6qib.js +0 -60
- package/dist/MermaidComponent-X__B6qib.js.map +0 -1
- package/dist/activity-timeline-BynMjXSB.js +0 -283
- package/dist/activity-timeline-BynMjXSB.js.map +0 -1
- package/dist/alert-ubcrW24X.js +0 -33
- package/dist/alert-ubcrW24X.js.map +0 -1
- package/dist/browser-storage-BinyFNJX.js +0 -40
- package/dist/browser-storage-BinyFNJX.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 -25
- 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-history-story.d.ts +0 -14
- 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-history.d.ts +0 -6
- 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 -33
- 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-composer.d.ts +0 -49
- 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/use-chat-input-history.d.ts +0 -16
- 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 -45
- 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 -19
- package/dist/components/rich-text/lazy-markdown-editor.d.ts +0 -2
- package/dist/components/rich-text/markdown-editor/markdown-editor-scrolling.play.d.ts +0 -4
- 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 -6
- 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 -11
- package/dist/components/rich-text/prompt-input/prompt-input.d.ts +0 -27
- 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/resource-activity-feed/resource-activity-feed.d.ts +0 -58
- 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 -12
- 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-Nfmfi7bz.js +0 -847
- package/dist/edit-mode-data-table-Nfmfi7bz.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-Buek4icz.js +0 -1375
- package/dist/kanban-renderer-toolbar-Buek4icz.js.map +0 -1
- package/dist/lazy-markdown-editor-PzIBc9-l.js +0 -42
- package/dist/lazy-markdown-editor-PzIBc9-l.js.map +0 -1
- package/dist/list-row-DHzRa9-O.js +0 -815
- package/dist/list-row-DHzRa9-O.js.map +0 -1
- package/dist/markdown-BCfPxNpb.js +0 -1663
- package/dist/markdown-BCfPxNpb.js.map +0 -1
- package/dist/markdown-editor-CsJ4KNGu.js +0 -1034
- package/dist/markdown-editor-CsJ4KNGu.js.map +0 -1
- package/dist/mermaid-renderer-D0YP0FmJ.js +0 -425
- package/dist/mermaid-renderer-D0YP0FmJ.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-CFM2Nf3l.js +0 -161
- package/dist/param-editor-CFM2Nf3l.js.map +0 -1
- package/dist/param-editor-field-Bj-AGUY6.js +0 -1728
- package/dist/param-editor-field-Bj-AGUY6.js.map +0 -1
- package/dist/param-editor.js.map +0 -1
- package/dist/prism-n5gcERyD.js +0 -202
- package/dist/prism-n5gcERyD.js.map +0 -1
- package/dist/radio-BfjibByI.js +0 -51
- package/dist/radio-BfjibByI.js.map +0 -1
- package/dist/rich-message-q6Y6QJOq.js +0 -633
- package/dist/rich-message-q6Y6QJOq.js.map +0 -1
- package/dist/rich-text.js.map +0 -1
- package/dist/scroll-area-BMbg1WcD.js +0 -91
- package/dist/scroll-area-BMbg1WcD.js.map +0 -1
- package/dist/slider-DBHjdxsU.js +0 -1092
- package/dist/slider-DBHjdxsU.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 -83
- 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-AzJH4Om3.js +0 -3999
- package/dist/theme-AzJH4Om3.js.map +0 -1
- package/dist/theme-preference-DxGW1qg-.js +0 -114
- package/dist/theme-preference-DxGW1qg-.js.map +0 -1
- package/dist/theme.js.map +0 -1
- package/dist/tree-list-CPjbGTvs.js +0 -1348
- package/dist/tree-list-CPjbGTvs.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-CuOcmnZc.js +0 -175
- package/dist/workspace-badge-CuOcmnZc.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,40 +1,1504 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
export
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
1
|
+
import { i as ScrollAreaProps, r as ScrollArea, t as ResourceBadge } from "./resource-badge-95WPVlZf.js";
|
|
2
|
+
import { _ as ActivityHeader, a as ActivityComposerProps, b as ActivityRootProps, c as ActivityReply, d as ActivityEventProps, f as ActivityActor, g as ActivityFeedProps, h as ActivityFeed, i as ActivityComposer, l as ActivityReplyProps, m as ActivityTimelineProps, n as ActivityAvatar, o as ActivityComment, p as ActivityTimeline, r as ActivityAvatarProps, s as ActivityCommentProps, t as Activity, u as ActivityEvent, v as ActivityHeaderProps, y as ActivityRoot } from "./index-DlmvvQ6x.js";
|
|
3
|
+
import { a as resolveSessionIndicatorColor, c as ResourceActionMenu, d as ResourceContextMenu, i as SessionIndicator, l as ResourceActionMenuProps, n as WorkspaceBadgeProps, o as resolveSessionIndicatorIcon, r as SessionCompletionStatus, s as sessionCompletionStatuses, t as WorkspaceBadge, u as ResourceContextAction } from "./workspace-badge-Brm3Xr3m.js";
|
|
4
|
+
import { a as createThemePreferenceFromVsCodeTheme, c as ThemePreferenceOption, d as defaultThemePreferences, f as getThemePreferenceClassName, h as isThemePreference, i as createMonacoThemeFromVsCodeTheme, l as ThemePreferenceTokens, m as getThemePreferenceMode, n as MonacoThemeData, o as ThemePreference, p as getThemePreferenceClassNames, r as VsCodeColorTheme, s as ThemePreferenceMode, t as _default, u as applyThemePreference } from "./index-Dd6e8lU_.js";
|
|
5
|
+
import { Alert, BadgeProps, BoxProps, Breadcrumb as Breadcrumb$1, CenterProps, ChakraProvider, Checkbox as Checkbox$1, ConditionalValue, EmptyState as EmptyState$1, FlexProps, HTMLChakraProps, IconButtonProps, IconProps, Menu, RadioGroup as RadioGroup$1, RecipeVariantProps, Slider as Slider$1, StackProps, Switch as Switch$1, SystemStyleObject, TextProps, Tooltip as Tooltip$1, chakra, createToaster } from "@chakra-ui/react";
|
|
6
|
+
import * as React$2 from "react";
|
|
7
|
+
import { Component, ComponentPropsWithoutRef, ComponentType, DragEvent, ElementType, ErrorInfo, HTMLAttributes, KeyboardEventHandler, MouseEvent, PointerEvent, ReactNode, Ref, RefObject, SetStateAction } from "react";
|
|
8
|
+
import { LucideIcon } from "lucide-react";
|
|
9
|
+
//#region src/components/command-palette/palette-filter.d.ts
|
|
10
|
+
export declare const DEFAULT_PALETTE_ASSET_LIMIT = 48;
|
|
11
|
+
interface PaletteSearchEntry {
|
|
12
|
+
id: string;
|
|
13
|
+
mode?: string;
|
|
14
|
+
label: ReactNode;
|
|
15
|
+
searchText?: string;
|
|
16
|
+
secondaryLabel?: ReactNode;
|
|
17
|
+
assetType?: string;
|
|
18
|
+
}
|
|
19
|
+
interface PaletteMode {
|
|
20
|
+
id: string;
|
|
21
|
+
inputPrefix?: string;
|
|
22
|
+
}
|
|
23
|
+
interface FilterPaletteEntriesOptions {
|
|
24
|
+
query: string;
|
|
25
|
+
mode?: string;
|
|
26
|
+
getEffectiveQuery?: (query: string) => string;
|
|
27
|
+
defaultAssetLimit?: number;
|
|
28
|
+
}
|
|
29
|
+
export declare const filterPaletteEntries: <T extends PaletteSearchEntry>(entries: T[], options: FilterPaletteEntriesOptions) => T[];
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/components/command-palette/palette.d.ts
|
|
32
|
+
interface PaletteEntry extends PaletteSearchEntry {
|
|
33
|
+
description?: ReactNode;
|
|
34
|
+
icon?: ReactNode;
|
|
35
|
+
shortcut?: ReactNode;
|
|
36
|
+
endContent?: ReactNode;
|
|
37
|
+
group?: string;
|
|
38
|
+
isSelected?: boolean;
|
|
39
|
+
onActivate: () => void;
|
|
40
|
+
}
|
|
41
|
+
interface PaletteState<T extends PaletteEntry> {
|
|
42
|
+
query: string;
|
|
43
|
+
mode?: string;
|
|
44
|
+
activeIndex: number;
|
|
45
|
+
entries: T[];
|
|
46
|
+
}
|
|
47
|
+
interface PaletteEscapeContext<T extends PaletteEntry> extends PaletteState<T> {
|
|
48
|
+
activeEntry: T | null;
|
|
49
|
+
entryCount: number;
|
|
50
|
+
setQuery: (query: string) => void;
|
|
51
|
+
setActiveIndex: (index: SetStateAction<number>) => void;
|
|
52
|
+
runActiveEntry: () => void;
|
|
53
|
+
closePalette: () => void;
|
|
54
|
+
}
|
|
55
|
+
type PaletteStateValue<T extends PaletteEntry, TValue> = TValue | ((state: PaletteState<T>) => TValue);
|
|
56
|
+
interface PaletteProps<T extends PaletteEntry = PaletteEntry> {
|
|
57
|
+
open: boolean;
|
|
58
|
+
entries: T[];
|
|
59
|
+
initialQuery?: string;
|
|
60
|
+
initialActiveIndex?: number;
|
|
61
|
+
mode?: string;
|
|
62
|
+
modes?: PaletteMode[];
|
|
63
|
+
resetKey?: string;
|
|
64
|
+
inputIcon?: PaletteStateValue<T, ReactNode>;
|
|
65
|
+
placeholder?: PaletteStateValue<T, string>;
|
|
66
|
+
emptyLabel?: string;
|
|
67
|
+
footerStart?: ReactNode;
|
|
68
|
+
footerEnd?: ReactNode;
|
|
69
|
+
filterEntries?: (entries: T[], query: string, mode?: string) => T[];
|
|
70
|
+
onActiveEntryChange?: (entry: T | null, index: number) => void;
|
|
71
|
+
onQueryChange?: (query: string) => void;
|
|
72
|
+
onClose: () => void;
|
|
73
|
+
onEscape?: (ctx: PaletteEscapeContext<T>) => boolean | undefined;
|
|
74
|
+
}
|
|
75
|
+
export declare const Palette: <T extends PaletteEntry>(props: PaletteProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
76
|
+
//#endregion
|
|
77
|
+
//#region src/components/command-palette/palette-shortcut.d.ts
|
|
78
|
+
type PaletteShortcutBinding = string | string[];
|
|
79
|
+
export declare const PaletteShortcut: (props: {
|
|
80
|
+
binding: PaletteShortcutBinding;
|
|
81
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
82
|
+
//#endregion
|
|
83
|
+
//#region src/components/layout/header.d.ts
|
|
84
|
+
type HeaderVariant = "main" | "narrow" | "input";
|
|
85
|
+
interface HeaderProps extends Omit<StackProps, "variant"> {
|
|
86
|
+
variant?: HeaderVariant;
|
|
87
|
+
}
|
|
88
|
+
export declare const Header: React$2.ForwardRefExoticComponent<HeaderProps & React$2.RefAttributes<HTMLDivElement>>;
|
|
89
|
+
//#endregion
|
|
90
|
+
//#region src/components/layout/horizontal-menu-stack.d.ts
|
|
91
|
+
interface HorizontalMenuStackProps extends StackProps {
|
|
92
|
+
children?: StackProps["children"];
|
|
93
|
+
}
|
|
94
|
+
export declare function HorizontalMenuStack(props: HorizontalMenuStackProps): import("react/jsx-runtime").JSX.Element;
|
|
95
|
+
//#endregion
|
|
96
|
+
//#region src/components/layout/item-section.d.ts
|
|
97
|
+
interface ItemSectionProps {
|
|
98
|
+
children: ReactNode;
|
|
99
|
+
title?: string;
|
|
100
|
+
defaultOpen?: boolean;
|
|
101
|
+
action?: ReactNode;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* A collapsible section wrapper with a title trigger and optional action.
|
|
105
|
+
*/
|
|
106
|
+
export declare const ItemSection: (props: ItemSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
107
|
+
//#endregion
|
|
108
|
+
//#region src/components/layout/panel-header.constants.d.ts
|
|
109
|
+
export declare const PANEL_HEADER_HEIGHT = "2.5rem";
|
|
110
|
+
export declare const PANEL_HEADER_CONTROL_SIZE: "2xs";
|
|
111
|
+
export declare const PANEL_HEADER_TAB_SIZE: "sm";
|
|
112
|
+
//#endregion
|
|
113
|
+
//#region src/components/layout/resizable-split-layout.geometry.d.ts
|
|
114
|
+
type ResizableSplitSide = "left" | "right" | "top" | "bottom";
|
|
115
|
+
//#endregion
|
|
116
|
+
//#region src/components/layout/resizable-split-layout.handle.d.ts
|
|
117
|
+
type ResizableSplitSeparator = "gap" | "line";
|
|
118
|
+
//#endregion
|
|
119
|
+
//#region src/components/layout/resizable-split-layout.d.ts
|
|
120
|
+
interface ResizableSplitLayoutProps extends Omit<FlexProps, "children" | "onResize"> {
|
|
121
|
+
resizablePanel: ReactNode;
|
|
122
|
+
contentPanel: ReactNode;
|
|
123
|
+
resizableSide?: ResizableSplitSide;
|
|
124
|
+
defaultSizePx?: number;
|
|
125
|
+
minSizePx?: number;
|
|
126
|
+
maxSizePx?: number;
|
|
127
|
+
contentMinSizePx?: number;
|
|
128
|
+
collapsed?: boolean;
|
|
129
|
+
collapsible?: boolean;
|
|
130
|
+
resizeLabel?: string;
|
|
131
|
+
separator?: ResizableSplitSeparator;
|
|
132
|
+
layout?: ConditionalValue<"split" | "stacked" | "stacked-reverse" | "content">;
|
|
133
|
+
onSizeChange?: (size: number) => void;
|
|
134
|
+
onCollapsedChange?: (collapsed: boolean) => void;
|
|
135
|
+
}
|
|
136
|
+
export declare const ResizableSplitLayout: (props: ResizableSplitLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region src/components/list-row/list-row.types.d.ts
|
|
139
|
+
interface ListRowNavigationIntent {
|
|
140
|
+
id?: string;
|
|
141
|
+
payload?: unknown;
|
|
142
|
+
}
|
|
143
|
+
/** Context passed to row-level actions so hosts know which section or node triggered the action. */
|
|
144
|
+
interface ListRowActionContext {
|
|
145
|
+
sectionId?: string;
|
|
146
|
+
nodeId?: string;
|
|
147
|
+
}
|
|
148
|
+
/** Menu item used by row overflow menus and context menus. */
|
|
149
|
+
interface ListRowActionMenuItem {
|
|
150
|
+
id: string;
|
|
151
|
+
label: string;
|
|
152
|
+
commandId?: string;
|
|
153
|
+
description?: string;
|
|
154
|
+
icon?: ReactNode | ComponentType<{
|
|
155
|
+
size?: number | string;
|
|
156
|
+
}>;
|
|
157
|
+
disabled?: boolean;
|
|
158
|
+
readOnly?: boolean;
|
|
159
|
+
/** Render a separator before this item when it follows a different action group. */
|
|
160
|
+
separatorBefore?: boolean;
|
|
161
|
+
/** Trailing content rendered after the label. Use for Kbd shortcuts, counts, or badges. */
|
|
162
|
+
endContent?: ReactNode;
|
|
163
|
+
onAction?: () => void;
|
|
164
|
+
}
|
|
165
|
+
/** Inline action rendered on a row, optionally backed by a menu. */
|
|
166
|
+
interface ListRowAction {
|
|
167
|
+
id: string;
|
|
168
|
+
label: string;
|
|
169
|
+
icon?: ReactNode;
|
|
170
|
+
/** Tooltip shown when the action button is hovered or focused. Can include label + Kbd hint. */
|
|
171
|
+
tooltip?: ReactNode;
|
|
172
|
+
searchPlaceholder?: string;
|
|
173
|
+
emptyMenuLabel?: string;
|
|
174
|
+
menuItems?: ListRowActionMenuItem[];
|
|
175
|
+
onAction?: (context: ListRowActionContext) => void;
|
|
176
|
+
}
|
|
177
|
+
type ListRowVariant = "default" | "compact" | "collection" | "full-width" | "tree" | "empty-state";
|
|
178
|
+
type ListRowTone = "default" | "danger";
|
|
179
|
+
type ListRowMenuPlacement = "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "right" | "right-start" | "right-end" | "left" | "left-start" | "left-end";
|
|
180
|
+
/** Data model for one reusable row, including labels, icons, menus, actions, and children. */
|
|
181
|
+
interface ListRowItem {
|
|
182
|
+
id?: string;
|
|
183
|
+
label: ReactNode;
|
|
184
|
+
description?: ReactNode;
|
|
185
|
+
icon?: ReactNode;
|
|
186
|
+
iconColor?: IconProps["color"];
|
|
187
|
+
indicator?: {
|
|
188
|
+
icon: ReactNode;
|
|
189
|
+
color?: IconProps["color"];
|
|
190
|
+
tooltip?: string | null;
|
|
191
|
+
};
|
|
192
|
+
/** Custom content rendered on the right, before any hover actions. Use for Kbd shortcuts, counts, or badges. */
|
|
193
|
+
endContent?: ReactNode;
|
|
194
|
+
/** Tooltip shown on hover. Can be a string or ReactNode (e.g. Kbd shortcut hint). */
|
|
195
|
+
tooltip?: ReactNode;
|
|
196
|
+
disabled?: boolean;
|
|
197
|
+
/** Force chevron rendering even when children is empty (e.g. lazy-loaded folders). */
|
|
198
|
+
isContainer?: boolean;
|
|
199
|
+
isNavigable?: boolean;
|
|
200
|
+
href?: string;
|
|
201
|
+
navigationIntent?: ListRowNavigationIntent;
|
|
202
|
+
onActivate?: () => void;
|
|
203
|
+
/** Left-click menu opened from the row surface. */
|
|
204
|
+
menuItems?: ListRowActionMenuItem[];
|
|
205
|
+
menuPlacement?: ListRowMenuPlacement;
|
|
206
|
+
contextMenuItems?: ListRowActionMenuItem[];
|
|
207
|
+
actions?: ListRowAction[];
|
|
208
|
+
children?: ListRowItem[];
|
|
209
|
+
}
|
|
210
|
+
type ListRowRootProps = ComponentPropsWithoutRef<typeof chakra.div>;
|
|
211
|
+
/** Props for the row surface used by lists, trees, menus, and dense navigation UIs. */
|
|
212
|
+
interface ListRowProps extends ListRowItem, Omit<ListRowRootProps, "as" | "asChild" | "children" | "draggable" | "onClick" | "onDragEnd" | "onDragOver" | "onDragStart" | "onDrop" | "onPointerMove" | keyof ListRowItem> {
|
|
213
|
+
depth?: number;
|
|
214
|
+
/** Applies selected styling without owning selection state. */
|
|
215
|
+
isSelected?: boolean;
|
|
216
|
+
/** Controls child expansion styling and chevron state. */
|
|
217
|
+
isExpanded?: boolean;
|
|
218
|
+
/** Forces the expand affordance when children are lazy-loaded or externally controlled. */
|
|
219
|
+
showExpandToggle?: boolean;
|
|
220
|
+
/** Shows context-menu actions from an inline trigger in addition to right-click access. */
|
|
221
|
+
showContextMenuTrigger?: boolean;
|
|
222
|
+
variant?: ListRowVariant;
|
|
223
|
+
tone?: ListRowTone;
|
|
224
|
+
selectedBg?: ListRowRootProps["bg"];
|
|
225
|
+
hoverBg?: ListRowRootProps["bg"];
|
|
226
|
+
/** Wrap content into a single child element. Used for `<Menu.Item asChild><ListRow asChild>…</ListRow></Menu.Item>` and link components. */
|
|
227
|
+
asChild?: boolean;
|
|
228
|
+
onToggleExpand?: () => void;
|
|
229
|
+
onClick?: (event: MouseEvent<HTMLElement>) => void;
|
|
230
|
+
onPointerMove?: (event: PointerEvent<HTMLElement>) => void;
|
|
231
|
+
draggable?: boolean;
|
|
232
|
+
onDragStart?: (event: DragEvent<HTMLElement>) => void;
|
|
233
|
+
onDragOver?: (event: DragEvent<HTMLElement>) => void;
|
|
234
|
+
onDragEnd?: (event: DragEvent<HTMLElement>) => void;
|
|
235
|
+
onDrop?: (event: DragEvent<HTMLElement>) => void;
|
|
236
|
+
}
|
|
237
|
+
//#endregion
|
|
238
|
+
//#region src/components/list-row/list-row.d.ts
|
|
239
|
+
export declare const ListRow: import("react").ForwardRefExoticComponent<ListRowProps & import("react").RefAttributes<HTMLElement>>;
|
|
240
|
+
//#endregion
|
|
241
|
+
//#region src/components/notification-center/notification-center.types.d.ts
|
|
242
|
+
type NotificationCenterPriority = "low" | "normal" | "high" | "urgent";
|
|
243
|
+
type NotificationCenterStatus = "open" | "read" | "snoozed" | "done" | "dismissed" | "expired";
|
|
244
|
+
interface NotificationCenterAction {
|
|
245
|
+
id: string;
|
|
246
|
+
label: string;
|
|
247
|
+
primary?: boolean;
|
|
248
|
+
destructive?: boolean;
|
|
249
|
+
}
|
|
250
|
+
interface NotificationCenterItem {
|
|
251
|
+
id: string;
|
|
252
|
+
title: string;
|
|
253
|
+
body?: string | null;
|
|
254
|
+
kind?: string;
|
|
255
|
+
priority: NotificationCenterPriority;
|
|
256
|
+
status: NotificationCenterStatus;
|
|
257
|
+
sourceLabel?: string | null;
|
|
258
|
+
targetLabel?: string | null;
|
|
259
|
+
timeLabel?: string | null;
|
|
260
|
+
actions?: NotificationCenterAction[];
|
|
261
|
+
searchText?: string;
|
|
262
|
+
}
|
|
263
|
+
interface NotificationCenterProps {
|
|
264
|
+
items: NotificationCenterItem[];
|
|
265
|
+
loading?: boolean;
|
|
266
|
+
error?: string | null;
|
|
267
|
+
autoFocus?: boolean;
|
|
268
|
+
emptyLabel?: string;
|
|
269
|
+
query?: string;
|
|
270
|
+
onQueryChange?: (query: string) => void;
|
|
271
|
+
onActivateItem?: (item: NotificationCenterItem) => void;
|
|
272
|
+
onRunAction?: (item: NotificationCenterItem, action: NotificationCenterAction) => void;
|
|
273
|
+
onDismiss?: (item: NotificationCenterItem) => void;
|
|
274
|
+
onEscape?: () => void;
|
|
275
|
+
footerStart?: ReactNode;
|
|
276
|
+
footerEnd?: ReactNode;
|
|
277
|
+
}
|
|
278
|
+
//#endregion
|
|
279
|
+
//#region src/components/notification-center/notification-center.d.ts
|
|
280
|
+
export declare const NotificationCenter: (props: NotificationCenterProps) => import("react/jsx-runtime").JSX.Element;
|
|
281
|
+
//#endregion
|
|
282
|
+
//#region src/components/overlays/attached-menu.d.ts
|
|
283
|
+
interface AttachedMenuProps extends Omit<FlexProps, "children"> {
|
|
284
|
+
children?: ReactNode;
|
|
285
|
+
}
|
|
286
|
+
export declare const AttachedMenu: (props: AttachedMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
287
|
+
//#endregion
|
|
288
|
+
//#region src/components/overlays/attached-panel.d.ts
|
|
289
|
+
interface AttachedPanelProps extends Omit<FlexProps, "children"> {
|
|
290
|
+
children?: ReactNode;
|
|
291
|
+
header?: ReactNode;
|
|
292
|
+
resizable?: boolean;
|
|
293
|
+
}
|
|
294
|
+
export declare const AttachedPanel: (props: AttachedPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
295
|
+
//#endregion
|
|
296
|
+
//#region src/components/overlays/attachment-chip.d.ts
|
|
297
|
+
interface AttachmentChipProps {
|
|
298
|
+
file: File;
|
|
299
|
+
/** Accessible label for the remove control; the caller owns translation. */
|
|
300
|
+
removeLabel: string;
|
|
301
|
+
disabled?: boolean;
|
|
302
|
+
onRemove: () => void;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* A file queued for upload, before the resource it belongs to exists. Removal
|
|
306
|
+
* lives on the chip because there is no other surface between picking a file
|
|
307
|
+
* and submitting where a mistaken attachment can be taken back.
|
|
308
|
+
*/
|
|
309
|
+
export declare const AttachmentChip: (props: AttachmentChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
310
|
+
//#endregion
|
|
311
|
+
//#region src/components/overlays/bubble-button.d.ts
|
|
312
|
+
type BubbleButtonStyleProps = "transition" | "_hover" | "_active" | "borderColor" | "borderWidth";
|
|
313
|
+
interface BubbleButtonProps extends Omit<IconButtonProps, BubbleButtonStyleProps> {
|
|
314
|
+
containerProps?: HTMLChakraProps<"div">;
|
|
315
|
+
isOpen?: boolean;
|
|
316
|
+
tooltip?: ReactNode;
|
|
317
|
+
}
|
|
318
|
+
export declare const BubbleButton: import("react").ForwardRefExoticComponent<BubbleButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
319
|
+
//#endregion
|
|
320
|
+
//#region src/components/overlays/bubble-panel.d.ts
|
|
321
|
+
interface BubblePanelProps {
|
|
322
|
+
isOpen?: boolean;
|
|
323
|
+
title?: string;
|
|
324
|
+
menu?: ReactNode;
|
|
325
|
+
onClose?: () => void;
|
|
326
|
+
closeLabel?: string;
|
|
327
|
+
onPopOut?: (() => void) | null;
|
|
328
|
+
popOutLabel?: string;
|
|
329
|
+
width?: string;
|
|
330
|
+
height?: string;
|
|
331
|
+
containerProps?: HTMLChakraProps<"section">;
|
|
332
|
+
testId?: string;
|
|
333
|
+
"aria-label"?: string;
|
|
334
|
+
children?: ReactNode;
|
|
335
|
+
}
|
|
336
|
+
export declare const BubblePanel: import("react").ForwardRefExoticComponent<BubblePanelProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
337
|
+
//#endregion
|
|
338
|
+
//#region src/components/overlays/delete-confirmation-modal.d.ts
|
|
339
|
+
interface DeleteConfirmationModalProps {
|
|
340
|
+
open: boolean;
|
|
341
|
+
onClose: () => void;
|
|
342
|
+
onDelete: () => void | Promise<void>;
|
|
343
|
+
headline?: string;
|
|
344
|
+
notificationText?: string;
|
|
345
|
+
buttonText?: string;
|
|
346
|
+
/** Extra controls rendered below the message, e.g. an opt-in checkbox. */
|
|
347
|
+
children?: ReactNode;
|
|
348
|
+
}
|
|
349
|
+
export declare const DeleteConfirmationModal: (props: DeleteConfirmationModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
350
|
+
//#endregion
|
|
351
|
+
//#region src/components/overlays/dialog-accept-shortcut.d.ts
|
|
352
|
+
interface DialogAcceptShortcutEvent {
|
|
353
|
+
key: string;
|
|
354
|
+
ctrlKey: boolean;
|
|
355
|
+
metaKey: boolean;
|
|
356
|
+
shiftKey: boolean;
|
|
357
|
+
altKey: boolean;
|
|
358
|
+
defaultPrevented: boolean;
|
|
359
|
+
preventDefault: () => void;
|
|
360
|
+
stopPropagation: () => void;
|
|
361
|
+
}
|
|
362
|
+
export declare const handleDialogAcceptShortcut: (event: DialogAcceptShortcutEvent, accept: () => void, enabled?: boolean) => void;
|
|
363
|
+
//#endregion
|
|
364
|
+
//#region src/components/overlays/folder-picker-dialog.d.ts
|
|
365
|
+
interface FolderPickerEntry {
|
|
366
|
+
name: string;
|
|
367
|
+
path: string;
|
|
368
|
+
isDirectory: boolean;
|
|
369
|
+
}
|
|
370
|
+
interface FolderPickerProps {
|
|
371
|
+
currentPath: string;
|
|
372
|
+
entries: FolderPickerEntry[];
|
|
373
|
+
isLoading?: boolean;
|
|
374
|
+
isOpening?: boolean;
|
|
375
|
+
error?: string;
|
|
376
|
+
onClose: () => void;
|
|
377
|
+
onSelect: () => void;
|
|
378
|
+
onNavigate: (path: string) => void;
|
|
379
|
+
onCreateFolder: (name: string) => Promise<void>;
|
|
380
|
+
}
|
|
381
|
+
export declare const FolderPicker: (props: FolderPickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
382
|
+
export declare const FolderPickerDialog: (props: FolderPickerProps & {
|
|
383
|
+
open: boolean;
|
|
384
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
385
|
+
//#endregion
|
|
386
|
+
//#region src/components/overlays/search-modal-content.d.ts
|
|
387
|
+
interface SearchModalContentProps {
|
|
388
|
+
children: ReactNode;
|
|
389
|
+
searchValue: string;
|
|
390
|
+
searchPlaceholder: string;
|
|
391
|
+
searchAriaLabel?: string;
|
|
392
|
+
searchIcon?: ReactNode;
|
|
393
|
+
searchInputRef?: Ref<HTMLInputElement>;
|
|
394
|
+
searchAutoFocus?: boolean;
|
|
395
|
+
showCloseButton?: boolean;
|
|
396
|
+
closeButtonLabel?: string;
|
|
397
|
+
bodyBefore?: ReactNode;
|
|
398
|
+
footerStart?: ReactNode;
|
|
399
|
+
footerEnd?: ReactNode;
|
|
400
|
+
scrollAreaProps?: Omit<ScrollAreaProps, "children">;
|
|
401
|
+
onSearchChange: (value: string) => void;
|
|
402
|
+
onSearchKeyDown?: KeyboardEventHandler<HTMLInputElement>;
|
|
403
|
+
}
|
|
404
|
+
export declare const SearchModalContent: (props: SearchModalContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
405
|
+
//#endregion
|
|
406
|
+
//#region src/components/overlays/searchable-menu.d.ts
|
|
407
|
+
type MenuRootProps = React.ComponentProps<typeof Menu.Root>;
|
|
408
|
+
type MenuContentProps = React.ComponentProps<typeof Menu.Content>;
|
|
409
|
+
interface SearchableMenuItem {
|
|
410
|
+
id: string;
|
|
411
|
+
label: string;
|
|
412
|
+
searchText?: string;
|
|
413
|
+
secondaryLabel?: string;
|
|
414
|
+
tooltipLabel?: ReactNode;
|
|
415
|
+
icon?: ElementType;
|
|
416
|
+
variant?: "default" | "compact" | "full-width";
|
|
417
|
+
isDisabled?: boolean;
|
|
418
|
+
isSelected?: boolean;
|
|
419
|
+
onSelect?: () => void;
|
|
420
|
+
}
|
|
421
|
+
interface SearchableMenuParentList<T extends SearchableMenuItem> {
|
|
422
|
+
items: T[];
|
|
423
|
+
selectedLabel: string;
|
|
424
|
+
selectedIcon?: ElementType;
|
|
425
|
+
ariaLabel?: string;
|
|
426
|
+
disabled?: boolean;
|
|
427
|
+
emptyState?: ReactNode;
|
|
428
|
+
filterItems?: (items: T[], query: string) => T[];
|
|
429
|
+
searchPlaceholder?: string;
|
|
430
|
+
showSearch?: boolean;
|
|
431
|
+
contentTestId?: string;
|
|
432
|
+
onSelect?: (item: T) => void;
|
|
433
|
+
}
|
|
434
|
+
interface SearchableMenuProps<T extends SearchableMenuItem> {
|
|
435
|
+
trigger: ReactNode;
|
|
436
|
+
items: T[];
|
|
437
|
+
searchPlaceholder: string;
|
|
438
|
+
emptyState: ReactNode;
|
|
439
|
+
filterItems?: (items: T[], query: string) => T[];
|
|
440
|
+
listId?: string;
|
|
441
|
+
header?: ReactNode;
|
|
442
|
+
width?: MenuContentProps["width"];
|
|
443
|
+
maxListHeight?: string;
|
|
444
|
+
showSearch?: boolean;
|
|
445
|
+
closeOnSelect?: MenuRootProps["closeOnSelect"];
|
|
446
|
+
lazyMount?: MenuRootProps["lazyMount"];
|
|
447
|
+
open?: MenuRootProps["open"];
|
|
448
|
+
positioning?: MenuRootProps["positioning"];
|
|
449
|
+
onOpenChange?: MenuRootProps["onOpenChange"];
|
|
450
|
+
onFocusOutside?: MenuRootProps["onFocusOutside"];
|
|
451
|
+
contentTestId?: string;
|
|
452
|
+
portalled?: boolean;
|
|
453
|
+
parentList?: SearchableMenuParentList<T>;
|
|
454
|
+
}
|
|
455
|
+
export declare const SearchableMenu: <T extends SearchableMenuItem>(props: SearchableMenuProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
456
|
+
//#endregion
|
|
457
|
+
//#region src/components/primitives/alert.d.ts
|
|
458
|
+
interface AlertProps extends Omit<Alert.RootProps, "title"> {
|
|
459
|
+
startElement?: React$2.ReactNode;
|
|
460
|
+
endElement?: React$2.ReactNode;
|
|
461
|
+
title?: React$2.ReactNode;
|
|
462
|
+
icon?: React$2.ReactElement;
|
|
463
|
+
}
|
|
464
|
+
export declare const AlertMessage: React$2.ForwardRefExoticComponent<AlertProps & React$2.RefAttributes<HTMLDivElement>>;
|
|
465
|
+
//#endregion
|
|
466
|
+
//#region src/components/primitives/breadcrumb.d.ts
|
|
467
|
+
interface BreadcrumbItem {
|
|
468
|
+
title: React$2.ReactNode;
|
|
469
|
+
url?: string;
|
|
470
|
+
onClick?: () => void;
|
|
471
|
+
contextMenuActions?: ResourceContextAction[];
|
|
472
|
+
}
|
|
473
|
+
interface BreadcrumbLinkProps {
|
|
474
|
+
to: string;
|
|
475
|
+
children: React$2.ReactNode;
|
|
476
|
+
}
|
|
477
|
+
interface BreadcrumbProps extends Breadcrumb$1.RootProps {
|
|
478
|
+
separator?: React$2.ReactNode;
|
|
479
|
+
separatorGap?: SystemStyleObject["gap"];
|
|
480
|
+
items: BreadcrumbItem[];
|
|
481
|
+
linkComponent?: React$2.ComponentType<BreadcrumbLinkProps>;
|
|
482
|
+
}
|
|
483
|
+
export declare const Breadcrumb: React$2.ForwardRefExoticComponent<BreadcrumbProps & React$2.RefAttributes<HTMLDivElement>>;
|
|
484
|
+
//#endregion
|
|
485
|
+
//#region src/components/primitives/checkbox.d.ts
|
|
486
|
+
interface CheckboxProps extends Checkbox$1.RootProps {
|
|
487
|
+
icon?: React$2.ReactNode;
|
|
488
|
+
inputProps?: React$2.InputHTMLAttributes<HTMLInputElement>;
|
|
489
|
+
rootRef?: React$2.RefObject<HTMLLabelElement | null>;
|
|
490
|
+
}
|
|
491
|
+
export declare const Checkbox: React$2.ForwardRefExoticComponent<CheckboxProps & React$2.RefAttributes<HTMLInputElement>>;
|
|
492
|
+
//#endregion
|
|
493
|
+
//#region src/components/primitives/chip.d.ts
|
|
494
|
+
interface ChipProps extends Omit<BadgeProps, "size" | "variant"> {}
|
|
495
|
+
export declare const Chip: (props: ChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
496
|
+
//#endregion
|
|
497
|
+
//#region src/components/primitives/content-placeholder.d.ts
|
|
498
|
+
interface ContentPlaceholderProps extends BoxProps {}
|
|
499
|
+
export declare const ContentPlaceholder: (props: ContentPlaceholderProps) => import("react/jsx-runtime").JSX.Element;
|
|
500
|
+
declare const Label: (props: TextProps) => import("react/jsx-runtime").JSX.Element;
|
|
501
|
+
//#endregion
|
|
502
|
+
//#region src/components/primitives/empty-state.d.ts
|
|
503
|
+
/** Centered empty-state message with optional icon, description, and follow-up actions. */
|
|
504
|
+
interface EmptyStateProps extends EmptyState$1.RootProps {
|
|
505
|
+
/** Primary empty-state message. */
|
|
506
|
+
title: string;
|
|
507
|
+
/** Supporting explanation shown below the title. */
|
|
508
|
+
description?: string;
|
|
509
|
+
/** Decorative or semantic icon shown above the message. */
|
|
510
|
+
icon?: React$2.ReactNode;
|
|
511
|
+
}
|
|
512
|
+
export declare const EmptyState: React$2.ForwardRefExoticComponent<EmptyStateProps & React$2.RefAttributes<HTMLDivElement>>;
|
|
513
|
+
//#endregion
|
|
514
|
+
//#region src/components/primitives/error-boundary.d.ts
|
|
515
|
+
interface ErrorBoundaryProps {
|
|
516
|
+
children: ReactNode;
|
|
517
|
+
fallback?: ReactNode;
|
|
518
|
+
label?: string;
|
|
519
|
+
onReset?: () => void;
|
|
520
|
+
}
|
|
521
|
+
interface ErrorBoundaryState {
|
|
522
|
+
error: Error | null;
|
|
523
|
+
}
|
|
524
|
+
export declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
|
525
|
+
state: ErrorBoundaryState;
|
|
526
|
+
static getDerivedStateFromError(error: Error): {
|
|
527
|
+
error: Error;
|
|
528
|
+
};
|
|
529
|
+
componentDidCatch(error: Error, info: ErrorInfo): void;
|
|
530
|
+
handleReset: () => void;
|
|
531
|
+
render(): string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
|
|
532
|
+
}
|
|
533
|
+
//#endregion
|
|
534
|
+
//#region src/components/primitives/glyph-icon.d.ts
|
|
535
|
+
type GlyphIconProps = Omit<HTMLAttributes<HTMLSpanElement>, "children">;
|
|
536
|
+
interface GlyphIconOptions {
|
|
537
|
+
/**
|
|
538
|
+
* Optical size relative to a round glyph. Every glyph is normalised to the same
|
|
539
|
+
* ink box, so square marks such as the level bars need trimming to carry the
|
|
540
|
+
* same visual weight as the status rings.
|
|
541
|
+
*/
|
|
542
|
+
scale?: number;
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
* Builds a component for one `prompt-studio-icons` glyph so lucide icons and
|
|
546
|
+
* font glyphs share a single component type in the icon registry.
|
|
547
|
+
*/
|
|
548
|
+
export declare const createGlyphIcon: (glyph: string, options?: GlyphIconOptions) => ComponentType<GlyphIconProps>;
|
|
549
|
+
//#endregion
|
|
550
|
+
//#region src/components/primitives/icon-options.d.ts
|
|
551
|
+
interface IconColorPickerIconOption {
|
|
552
|
+
value: string | null;
|
|
553
|
+
label: string;
|
|
554
|
+
icon: ComponentType;
|
|
555
|
+
}
|
|
556
|
+
export declare const optionColors: readonly ["gray", "red", "orange", "yellow", "green", "teal", "blue", "cyan", "purple", "pink"];
|
|
557
|
+
export declare const optionIcons: ({
|
|
558
|
+
value: string;
|
|
559
|
+
label: string;
|
|
560
|
+
icon: ComponentType<{
|
|
561
|
+
onChange?: import("react").ChangeEventHandler<HTMLSpanElement, Element> | undefined;
|
|
562
|
+
onError?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
563
|
+
onSubmit?: import("react").SubmitEventHandler<HTMLSpanElement> | undefined;
|
|
564
|
+
slot?: string | undefined | undefined;
|
|
565
|
+
style?: import("react").CSSProperties | undefined;
|
|
566
|
+
title?: string | undefined | undefined;
|
|
567
|
+
color?: string | undefined | undefined;
|
|
568
|
+
content?: string | undefined | undefined;
|
|
569
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
570
|
+
hidden?: boolean | undefined | undefined;
|
|
571
|
+
"aria-roledescription"?: string | undefined | undefined;
|
|
572
|
+
role?: import("react").AriaRole | undefined;
|
|
573
|
+
defaultChecked?: boolean | undefined | undefined;
|
|
574
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
575
|
+
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
576
|
+
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
577
|
+
accessKey?: string | undefined | undefined;
|
|
578
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
579
|
+
autoFocus?: boolean | undefined | undefined;
|
|
580
|
+
className?: string | undefined | undefined;
|
|
581
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
582
|
+
contextMenu?: string | undefined | undefined;
|
|
583
|
+
dir?: string | undefined | undefined;
|
|
584
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
585
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
586
|
+
id?: string | undefined | undefined;
|
|
587
|
+
lang?: string | undefined | undefined;
|
|
588
|
+
nonce?: string | undefined | undefined;
|
|
589
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
590
|
+
tabIndex?: number | undefined | undefined;
|
|
591
|
+
radioGroup?: string | undefined | undefined;
|
|
592
|
+
about?: string | undefined | undefined;
|
|
593
|
+
datatype?: string | undefined | undefined;
|
|
594
|
+
inlist?: any;
|
|
595
|
+
prefix?: string | undefined | undefined;
|
|
596
|
+
property?: string | undefined | undefined;
|
|
597
|
+
rel?: string | undefined | undefined;
|
|
598
|
+
resource?: string | undefined | undefined;
|
|
599
|
+
rev?: string | undefined | undefined;
|
|
600
|
+
typeof?: string | undefined | undefined;
|
|
601
|
+
vocab?: string | undefined | undefined;
|
|
602
|
+
autoCorrect?: string | undefined | undefined;
|
|
603
|
+
autoSave?: string | undefined | undefined;
|
|
604
|
+
itemProp?: string | undefined | undefined;
|
|
605
|
+
itemScope?: boolean | undefined | undefined;
|
|
606
|
+
itemType?: string | undefined | undefined;
|
|
607
|
+
itemID?: string | undefined | undefined;
|
|
608
|
+
itemRef?: string | undefined | undefined;
|
|
609
|
+
results?: number | undefined | undefined;
|
|
610
|
+
security?: string | undefined | undefined;
|
|
611
|
+
unselectable?: "on" | "off" | undefined | undefined;
|
|
612
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
613
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
614
|
+
popoverTarget?: string | undefined | undefined;
|
|
615
|
+
inert?: boolean | undefined | undefined;
|
|
616
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
617
|
+
is?: string | undefined | undefined;
|
|
618
|
+
exportparts?: string | undefined | undefined;
|
|
619
|
+
part?: string | undefined | undefined;
|
|
620
|
+
"aria-activedescendant"?: string | undefined | undefined;
|
|
621
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
622
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
623
|
+
"aria-braillelabel"?: string | undefined | undefined;
|
|
624
|
+
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
625
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
626
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
627
|
+
"aria-colcount"?: number | undefined | undefined;
|
|
628
|
+
"aria-colindex"?: number | undefined | undefined;
|
|
629
|
+
"aria-colindextext"?: string | undefined | undefined;
|
|
630
|
+
"aria-colspan"?: number | undefined | undefined;
|
|
631
|
+
"aria-controls"?: string | undefined | undefined;
|
|
632
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
633
|
+
"aria-describedby"?: string | undefined | undefined;
|
|
634
|
+
"aria-description"?: string | undefined | undefined;
|
|
635
|
+
"aria-details"?: string | undefined | undefined;
|
|
636
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
637
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
638
|
+
"aria-errormessage"?: string | undefined | undefined;
|
|
639
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
640
|
+
"aria-flowto"?: string | undefined | undefined;
|
|
641
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
642
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
643
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
644
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
645
|
+
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
646
|
+
"aria-label"?: string | undefined | undefined;
|
|
647
|
+
"aria-labelledby"?: string | undefined | undefined;
|
|
648
|
+
"aria-level"?: number | undefined | undefined;
|
|
649
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
650
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
651
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
652
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
653
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
654
|
+
"aria-owns"?: string | undefined | undefined;
|
|
655
|
+
"aria-placeholder"?: string | undefined | undefined;
|
|
656
|
+
"aria-posinset"?: number | undefined | undefined;
|
|
657
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
658
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
659
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
660
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
661
|
+
"aria-rowcount"?: number | undefined | undefined;
|
|
662
|
+
"aria-rowindex"?: number | undefined | undefined;
|
|
663
|
+
"aria-rowindextext"?: string | undefined | undefined;
|
|
664
|
+
"aria-rowspan"?: number | undefined | undefined;
|
|
665
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
666
|
+
"aria-setsize"?: number | undefined | undefined;
|
|
667
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
668
|
+
"aria-valuemax"?: number | undefined | undefined;
|
|
669
|
+
"aria-valuemin"?: number | undefined | undefined;
|
|
670
|
+
"aria-valuenow"?: number | undefined | undefined;
|
|
671
|
+
"aria-valuetext"?: string | undefined | undefined;
|
|
672
|
+
dangerouslySetInnerHTML?: {
|
|
673
|
+
__html: string | TrustedHTML;
|
|
674
|
+
} | undefined | undefined;
|
|
675
|
+
onCopy?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
676
|
+
onCopyCapture?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
677
|
+
onCut?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
678
|
+
onCutCapture?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
679
|
+
onPaste?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
680
|
+
onPasteCapture?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
681
|
+
onCompositionEnd?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
682
|
+
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
683
|
+
onCompositionStart?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
684
|
+
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
685
|
+
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
686
|
+
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
687
|
+
onFocus?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
|
|
688
|
+
onFocusCapture?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
|
|
689
|
+
onBlur?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
|
|
690
|
+
onBlurCapture?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
|
|
691
|
+
onChangeCapture?: import("react").ChangeEventHandler<HTMLSpanElement, Element> | undefined;
|
|
692
|
+
onBeforeInput?: import("react").InputEventHandler<HTMLSpanElement> | undefined;
|
|
693
|
+
onBeforeInputCapture?: import("react").InputEventHandler<HTMLSpanElement> | undefined;
|
|
694
|
+
onInput?: import("react").InputEventHandler<HTMLSpanElement> | undefined;
|
|
695
|
+
onInputCapture?: import("react").InputEventHandler<HTMLSpanElement> | undefined;
|
|
696
|
+
onReset?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
697
|
+
onResetCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
698
|
+
onSubmitCapture?: import("react").SubmitEventHandler<HTMLSpanElement> | undefined;
|
|
699
|
+
onInvalid?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
700
|
+
onInvalidCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
701
|
+
onLoad?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
702
|
+
onLoadCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
703
|
+
onErrorCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
704
|
+
onKeyDown?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
705
|
+
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
706
|
+
onKeyPress?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
707
|
+
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
708
|
+
onKeyUp?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
709
|
+
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
710
|
+
onAbort?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
711
|
+
onAbortCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
712
|
+
onCanPlay?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
713
|
+
onCanPlayCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
714
|
+
onCanPlayThrough?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
715
|
+
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
716
|
+
onDurationChange?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
717
|
+
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
718
|
+
onEmptied?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
719
|
+
onEmptiedCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
720
|
+
onEncrypted?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
721
|
+
onEncryptedCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
722
|
+
onEnded?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
723
|
+
onEndedCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
724
|
+
onLoadedData?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
725
|
+
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
726
|
+
onLoadedMetadata?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
727
|
+
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
728
|
+
onLoadStart?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
729
|
+
onLoadStartCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
730
|
+
onPause?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
731
|
+
onPauseCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
732
|
+
onPlay?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
733
|
+
onPlayCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
734
|
+
onPlaying?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
735
|
+
onPlayingCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
736
|
+
onProgress?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
737
|
+
onProgressCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
738
|
+
onRateChange?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
739
|
+
onRateChangeCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
740
|
+
onSeeked?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
741
|
+
onSeekedCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
742
|
+
onSeeking?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
743
|
+
onSeekingCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
744
|
+
onStalled?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
745
|
+
onStalledCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
746
|
+
onSuspend?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
747
|
+
onSuspendCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
748
|
+
onTimeUpdate?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
749
|
+
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
750
|
+
onVolumeChange?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
751
|
+
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
752
|
+
onWaiting?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
753
|
+
onWaitingCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
754
|
+
onAuxClick?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
755
|
+
onAuxClickCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
756
|
+
onClick?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
757
|
+
onClickCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
758
|
+
onContextMenu?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
759
|
+
onContextMenuCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
760
|
+
onDoubleClick?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
761
|
+
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
762
|
+
onDrag?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
763
|
+
onDragCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
764
|
+
onDragEnd?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
765
|
+
onDragEndCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
766
|
+
onDragEnter?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
767
|
+
onDragEnterCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
768
|
+
onDragExit?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
769
|
+
onDragExitCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
770
|
+
onDragLeave?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
771
|
+
onDragLeaveCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
772
|
+
onDragOver?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
773
|
+
onDragOverCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
774
|
+
onDragStart?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
775
|
+
onDragStartCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
776
|
+
onDrop?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
777
|
+
onDropCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
778
|
+
onMouseDown?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
779
|
+
onMouseDownCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
780
|
+
onMouseEnter?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
781
|
+
onMouseLeave?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
782
|
+
onMouseMove?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
783
|
+
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
784
|
+
onMouseOut?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
785
|
+
onMouseOutCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
786
|
+
onMouseOver?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
787
|
+
onMouseOverCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
788
|
+
onMouseUp?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
789
|
+
onMouseUpCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
790
|
+
onSelect?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
791
|
+
onSelectCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
792
|
+
onTouchCancel?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
793
|
+
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
794
|
+
onTouchEnd?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
795
|
+
onTouchEndCapture?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
796
|
+
onTouchMove?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
797
|
+
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
798
|
+
onTouchStart?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
799
|
+
onTouchStartCapture?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
800
|
+
onPointerDown?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
801
|
+
onPointerDownCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
802
|
+
onPointerMove?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
803
|
+
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
804
|
+
onPointerUp?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
805
|
+
onPointerUpCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
806
|
+
onPointerCancel?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
807
|
+
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
808
|
+
onPointerEnter?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
809
|
+
onPointerLeave?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
810
|
+
onPointerOver?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
811
|
+
onPointerOverCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
812
|
+
onPointerOut?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
813
|
+
onPointerOutCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
814
|
+
onGotPointerCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
815
|
+
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
816
|
+
onLostPointerCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
817
|
+
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
818
|
+
onScroll?: import("react").UIEventHandler<HTMLSpanElement> | undefined;
|
|
819
|
+
onScrollCapture?: import("react").UIEventHandler<HTMLSpanElement> | undefined;
|
|
820
|
+
onScrollEnd?: import("react").UIEventHandler<HTMLSpanElement> | undefined;
|
|
821
|
+
onScrollEndCapture?: import("react").UIEventHandler<HTMLSpanElement> | undefined;
|
|
822
|
+
onWheel?: import("react").WheelEventHandler<HTMLSpanElement> | undefined;
|
|
823
|
+
onWheelCapture?: import("react").WheelEventHandler<HTMLSpanElement> | undefined;
|
|
824
|
+
onAnimationStart?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
825
|
+
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
826
|
+
onAnimationEnd?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
827
|
+
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
828
|
+
onAnimationIteration?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
829
|
+
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
830
|
+
onToggle?: import("react").ToggleEventHandler<HTMLSpanElement> | undefined;
|
|
831
|
+
onBeforeToggle?: import("react").ToggleEventHandler<HTMLSpanElement> | undefined;
|
|
832
|
+
onTransitionCancel?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
833
|
+
onTransitionCancelCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
834
|
+
onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
835
|
+
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
836
|
+
onTransitionRun?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
837
|
+
onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
838
|
+
onTransitionStart?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
839
|
+
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
840
|
+
}>;
|
|
841
|
+
} | {
|
|
842
|
+
value: null;
|
|
843
|
+
label: string;
|
|
844
|
+
icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
845
|
+
} | {
|
|
846
|
+
value: string;
|
|
847
|
+
label: string;
|
|
848
|
+
icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
849
|
+
})[];
|
|
850
|
+
export declare const getIconComponent: (name: string | null | undefined, iconOptions?: readonly IconColorPickerIconOption[]) => ComponentType;
|
|
851
|
+
//#endregion
|
|
852
|
+
//#region src/components/primitives/icon-color-picker.d.ts
|
|
853
|
+
interface IconColorPickerProps {
|
|
854
|
+
color: string;
|
|
855
|
+
colorOptions?: readonly string[];
|
|
856
|
+
icon?: string | null;
|
|
857
|
+
iconOptions?: readonly IconColorPickerIconOption[];
|
|
858
|
+
onColorChange: (color: string) => void;
|
|
859
|
+
onIconChange?: (icon: string | null) => void;
|
|
860
|
+
disabled?: boolean;
|
|
861
|
+
showIcons?: boolean;
|
|
862
|
+
colorLabel?: string;
|
|
863
|
+
iconLabel?: string;
|
|
864
|
+
"aria-label"?: string;
|
|
865
|
+
}
|
|
866
|
+
export declare const IconColorPicker: (props: IconColorPickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
867
|
+
//#endregion
|
|
868
|
+
//#region src/components/primitives/integration-card.d.ts
|
|
869
|
+
interface IntegrationCardProps {
|
|
870
|
+
icon: ReactNode;
|
|
871
|
+
name: string;
|
|
872
|
+
description: string;
|
|
873
|
+
id: string;
|
|
874
|
+
version?: string;
|
|
875
|
+
category?: string;
|
|
876
|
+
active?: boolean;
|
|
877
|
+
actionLabel?: string;
|
|
878
|
+
}
|
|
879
|
+
export declare const IntegrationCard: (props: IntegrationCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
880
|
+
//#endregion
|
|
881
|
+
//#region src/components/primitives/radio.d.ts
|
|
882
|
+
interface RadioProps extends RadioGroup$1.ItemProps {
|
|
883
|
+
rootRef?: React$2.RefObject<HTMLDivElement | null>;
|
|
884
|
+
inputProps?: React$2.InputHTMLAttributes<HTMLInputElement>;
|
|
885
|
+
}
|
|
886
|
+
export declare const Radio: React$2.ForwardRefExoticComponent<RadioProps & React$2.RefAttributes<HTMLInputElement>>;
|
|
887
|
+
export declare const RadioGroup: React$2.ForwardRefExoticComponent<RadioGroup$1.RootProps & React$2.RefAttributes<HTMLDivElement>>;
|
|
888
|
+
//#endregion
|
|
889
|
+
//#region src/theme/recipes/segmented-control.d.ts
|
|
890
|
+
declare const segmentedControlSlotRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"root" | "item", {
|
|
891
|
+
size: {
|
|
892
|
+
sm: {
|
|
893
|
+
root: {
|
|
894
|
+
height: "segmented-control-sm";
|
|
895
|
+
};
|
|
896
|
+
item: {
|
|
897
|
+
height: "segmented-control-item-sm";
|
|
898
|
+
paddingInline: "compact";
|
|
899
|
+
};
|
|
900
|
+
};
|
|
901
|
+
xs: {
|
|
902
|
+
root: {
|
|
903
|
+
height: "segmented-control-xs";
|
|
904
|
+
};
|
|
905
|
+
item: {
|
|
906
|
+
height: "segmented-control-item-xs";
|
|
907
|
+
paddingInline: "xs";
|
|
908
|
+
};
|
|
909
|
+
};
|
|
910
|
+
};
|
|
911
|
+
}>;
|
|
912
|
+
//#endregion
|
|
913
|
+
//#region src/components/primitives/segmented-control.d.ts
|
|
914
|
+
type VariantProps = RecipeVariantProps<typeof segmentedControlSlotRecipe>;
|
|
915
|
+
interface SegmentedControlRootProps extends HTMLChakraProps<"div">, VariantProps {}
|
|
916
|
+
interface SegmentedControlOption {
|
|
917
|
+
value: string;
|
|
918
|
+
label: string;
|
|
919
|
+
}
|
|
920
|
+
interface SegmentedControlProps extends Omit<SegmentedControlRootProps, "onChange"> {
|
|
921
|
+
options: SegmentedControlOption[];
|
|
922
|
+
value: string;
|
|
923
|
+
onValueChange: (value: string) => void;
|
|
924
|
+
disabled?: boolean;
|
|
925
|
+
"aria-label"?: string;
|
|
926
|
+
}
|
|
927
|
+
export declare const SegmentedControl: (props: SegmentedControlProps) => import("react/jsx-runtime").JSX.Element;
|
|
928
|
+
//#endregion
|
|
929
|
+
//#region src/components/primitives/simple-card.d.ts
|
|
930
|
+
type SimpleCardProps = BoxProps;
|
|
931
|
+
export declare const SimpleCard: (props: SimpleCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
932
|
+
type SimpleCardBodyProps = BoxProps;
|
|
933
|
+
export declare const SimpleCardBody: (props: SimpleCardBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
934
|
+
//#endregion
|
|
935
|
+
//#region src/components/primitives/slider.d.ts
|
|
936
|
+
interface SliderProps extends Slider$1.RootProps {}
|
|
937
|
+
export declare const Slider: React$2.ForwardRefExoticComponent<SliderProps & React$2.RefAttributes<HTMLDivElement>>;
|
|
938
|
+
//#endregion
|
|
939
|
+
//#region src/components/primitives/switch.d.ts
|
|
940
|
+
interface SwitchProps extends Switch$1.RootProps {
|
|
941
|
+
inputProps?: React$2.InputHTMLAttributes<HTMLInputElement>;
|
|
942
|
+
rootRef?: React$2.RefObject<HTMLLabelElement | null>;
|
|
943
|
+
trackLabel?: {
|
|
944
|
+
on: React$2.ReactNode;
|
|
945
|
+
off: React$2.ReactNode;
|
|
946
|
+
};
|
|
947
|
+
thumbLabel?: {
|
|
948
|
+
on: React$2.ReactNode;
|
|
949
|
+
off: React$2.ReactNode;
|
|
950
|
+
};
|
|
951
|
+
}
|
|
952
|
+
export declare const Switch: React$2.ForwardRefExoticComponent<SwitchProps & React$2.RefAttributes<HTMLInputElement>>;
|
|
953
|
+
//#endregion
|
|
954
|
+
//#region src/components/primitives/tag-swatch.d.ts
|
|
955
|
+
interface TagSwatchProps extends Omit<CenterProps, "color"> {
|
|
956
|
+
color: string;
|
|
957
|
+
icon?: string | null;
|
|
958
|
+
iconOptions?: readonly IconColorPickerIconOption[];
|
|
959
|
+
/** Renders the icon glyph instead of a plain colour dot when the value carries an icon. */
|
|
960
|
+
showIcon?: boolean;
|
|
961
|
+
}
|
|
962
|
+
export declare const TagSwatch: (props: TagSwatchProps) => import("react/jsx-runtime").JSX.Element;
|
|
963
|
+
//#endregion
|
|
964
|
+
//#region src/components/primitives/toaster.d.ts
|
|
965
|
+
export declare const toaster: ReturnType<typeof createToaster>;
|
|
966
|
+
export declare const Toaster: () => import("react/jsx-runtime").JSX.Element;
|
|
967
|
+
//#endregion
|
|
968
|
+
//#region src/components/primitives/tooltip.d.ts
|
|
969
|
+
interface TooltipProps extends Tooltip$1.RootProps {
|
|
970
|
+
children?: React$2.ReactElement;
|
|
971
|
+
portalled?: boolean;
|
|
972
|
+
portalRef?: React$2.RefObject<HTMLElement>;
|
|
973
|
+
content: React$2.ReactNode;
|
|
974
|
+
contentProps?: Tooltip$1.ContentProps;
|
|
975
|
+
disabled?: boolean;
|
|
976
|
+
}
|
|
977
|
+
export declare const Tooltip: React$2.ForwardRefExoticComponent<TooltipProps & React$2.RefAttributes<HTMLDivElement>>;
|
|
978
|
+
//#endregion
|
|
979
|
+
//#region src/components/tree-list/tree-list.types.d.ts
|
|
980
|
+
type TreeListNavigationIntent = ListRowNavigationIntent;
|
|
981
|
+
type TreeListActionContext = ListRowActionContext;
|
|
982
|
+
type TreeListActionMenuItem = ListRowActionMenuItem;
|
|
983
|
+
type TreeListAction = ListRowAction;
|
|
984
|
+
type TreeListNodeRowVariant = Extract<ListRowVariant, "empty-state">;
|
|
985
|
+
interface TreeListInlineInput {
|
|
986
|
+
ariaLabel: string;
|
|
987
|
+
defaultValue?: string;
|
|
988
|
+
placeholder?: string;
|
|
989
|
+
onCommit(value: string): Promise<void> | void;
|
|
990
|
+
onCancel?(): void;
|
|
991
|
+
}
|
|
992
|
+
/** Tree node data rendered by `TreeList`; extends the row API used by `ListRow`. */
|
|
993
|
+
type TreeListNode = ListRowItem & {
|
|
994
|
+
id: string;
|
|
995
|
+
/** Opaque host scope passed to a configurable move policy. */
|
|
996
|
+
moveScope?: string;
|
|
997
|
+
children?: TreeListNode[];
|
|
998
|
+
/** Per-node visual row variant. Used for non-interactive placeholder rows. */
|
|
999
|
+
rowVariant?: TreeListNodeRowVariant;
|
|
1000
|
+
inlineInput?: TreeListInlineInput;
|
|
1001
|
+
showContextMenuTrigger?: boolean;
|
|
1002
|
+
hiddenByDefault?: boolean;
|
|
1003
|
+
/** Opt in to the tree-customization (hide/show) menu. Items are non-hideable unless this is true. */
|
|
1004
|
+
canHide?: boolean;
|
|
1005
|
+
/** Opt out of reordering while keeping the node visible in its group. */
|
|
1006
|
+
canReorder?: boolean;
|
|
1007
|
+
/** Allow this node to be moved to another tree location. */
|
|
1008
|
+
canDrag?: boolean;
|
|
1009
|
+
/** Allow movable nodes to be dropped on this node. */
|
|
1010
|
+
canDrop?: boolean;
|
|
1011
|
+
};
|
|
1012
|
+
/** Top-level tree section with optional header, actions, empty state, and child nodes. */
|
|
1013
|
+
interface TreeListSection {
|
|
1014
|
+
id: string;
|
|
1015
|
+
/** Opaque host scope passed to a configurable move policy. */
|
|
1016
|
+
moveScope?: string;
|
|
1017
|
+
label?: string;
|
|
1018
|
+
collapsible?: boolean;
|
|
1019
|
+
actions?: TreeListAction[];
|
|
1020
|
+
emptyState?: ReactNode;
|
|
1021
|
+
nodes: TreeListNode[];
|
|
1022
|
+
hiddenByDefault?: boolean;
|
|
1023
|
+
/** Opt in to the tree-customization (hide/show) menu. Sections are non-hideable unless this is true. */
|
|
1024
|
+
canHide?: boolean;
|
|
1025
|
+
/** Opt out of reordering while keeping the section visible in its group. */
|
|
1026
|
+
canReorder?: boolean;
|
|
1027
|
+
}
|
|
1028
|
+
/** Navigation payload emitted when a navigable tree node is activated. */
|
|
1029
|
+
interface TreeListNavigateEvent {
|
|
1030
|
+
sectionId: string;
|
|
1031
|
+
nodeId: string;
|
|
1032
|
+
node: TreeListNode;
|
|
1033
|
+
intent?: TreeListNavigationIntent;
|
|
1034
|
+
}
|
|
1035
|
+
/** Props passed to the host-provided tree link component. */
|
|
1036
|
+
interface TreeListLinkProps {
|
|
1037
|
+
to: string;
|
|
1038
|
+
children: ReactNode;
|
|
1039
|
+
}
|
|
1040
|
+
type TreeListLinkComponent = ComponentType<TreeListLinkProps>;
|
|
1041
|
+
//#endregion
|
|
1042
|
+
//#region src/components/sidenav/sidenav.types.d.ts
|
|
1043
|
+
interface SidenavProps {
|
|
1044
|
+
storageKey: string;
|
|
1045
|
+
sections: TreeListSection[];
|
|
1046
|
+
activeNodeId?: string | string[] | null;
|
|
1047
|
+
header?: ReactNode;
|
|
1048
|
+
footer?: ReactNode;
|
|
1049
|
+
/** Right-click menu available from every point in the Sidenav. */
|
|
1050
|
+
contextActions?: ResourceContextAction[];
|
|
1051
|
+
/** Initial width when resizable. Set explicitly to override the persisted width. */
|
|
1052
|
+
width?: string | number;
|
|
1053
|
+
emptyLabel?: string;
|
|
1054
|
+
defaultExpandedSections?: string[];
|
|
1055
|
+
linkComponent?: TreeListLinkComponent;
|
|
1056
|
+
onNavigate?: (event: TreeListNavigateEvent) => void;
|
|
1057
|
+
closable?: boolean;
|
|
1058
|
+
onOpenChange?: (open: boolean) => void;
|
|
1059
|
+
/** Allow split layouts to resize the sidenav. Defaults to `true`. */
|
|
1060
|
+
resizable?: boolean;
|
|
1061
|
+
defaultWidth?: number;
|
|
1062
|
+
minWidth?: number;
|
|
1063
|
+
maxWidth?: number;
|
|
1064
|
+
/**
|
|
1065
|
+
* When enabled, the scroll content is virtualized — only nodes near the viewport
|
|
1066
|
+
* are mounted. Use for sidenavs that may contain hundreds of entries. Requires
|
|
1067
|
+
* sections with flat nodes (no expandable children).
|
|
1068
|
+
*/
|
|
1069
|
+
virtualize?: boolean;
|
|
1070
|
+
}
|
|
1071
|
+
//#endregion
|
|
1072
|
+
//#region src/components/sidenav/sidenav.d.ts
|
|
1073
|
+
export declare const Sidenav: (props: SidenavProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
1074
|
+
//#endregion
|
|
1075
|
+
//#region src/components/sidenav/sidenav.store.d.ts
|
|
1076
|
+
interface SidenavSnapshot {
|
|
1077
|
+
open: boolean;
|
|
1078
|
+
expandedSections: string[];
|
|
1079
|
+
expandedNodes: string[];
|
|
1080
|
+
width: number | null;
|
|
1081
|
+
}
|
|
1082
|
+
interface SidenavState extends SidenavSnapshot {
|
|
1083
|
+
openSidenav: () => void;
|
|
1084
|
+
closeSidenav: () => void;
|
|
1085
|
+
toggleSidenav: () => void;
|
|
1086
|
+
toggleSection: (sectionId: string) => void;
|
|
1087
|
+
toggleNode: (nodeId: string) => void;
|
|
1088
|
+
setSectionExpanded: (sectionId: string, expanded: boolean) => void;
|
|
1089
|
+
setNodeExpanded: (nodeId: string, expanded: boolean) => void;
|
|
1090
|
+
setWidth: (width: number) => void;
|
|
1091
|
+
reset: () => void;
|
|
1092
|
+
}
|
|
1093
|
+
export declare const useSidenavStore: <T>(storageKey: string, selector: (state: SidenavState) => T, initialState?: Partial<SidenavSnapshot>) => T;
|
|
1094
|
+
//#endregion
|
|
1095
|
+
//#region src/components/tree-list/tree-list-visibility.store.d.ts
|
|
1096
|
+
type VisibilityOverride = "hidden" | "shown";
|
|
1097
|
+
interface TreeListVisibilitySnapshot {
|
|
1098
|
+
sectionOverrides: Record<string, VisibilityOverride>;
|
|
1099
|
+
nodeOverrides: Record<string, VisibilityOverride>;
|
|
1100
|
+
}
|
|
1101
|
+
interface TreeListVisibilityState extends TreeListVisibilitySnapshot {
|
|
1102
|
+
setSection: (id: string, value: VisibilityOverride | undefined) => void;
|
|
1103
|
+
setNode: (id: string, value: VisibilityOverride | undefined) => void;
|
|
1104
|
+
toggleSection: (id: string, hiddenByDefault: boolean) => void;
|
|
1105
|
+
toggleNode: (id: string, hiddenByDefault: boolean) => void;
|
|
1106
|
+
clearSection: (id: string) => void;
|
|
1107
|
+
clearNode: (id: string) => void;
|
|
1108
|
+
reset: () => void;
|
|
1109
|
+
}
|
|
1110
|
+
export declare const getTreeListVisibilityStore: (storageKey: string) => Omit<import("zustand").StoreApi<TreeListVisibilityState>, "setState" | "persist"> & {
|
|
1111
|
+
setState(partial: TreeListVisibilityState | Partial<TreeListVisibilityState> | ((state: TreeListVisibilityState) => TreeListVisibilityState | Partial<TreeListVisibilityState>), replace?: false | undefined): unknown;
|
|
1112
|
+
setState(state: TreeListVisibilityState | ((state: TreeListVisibilityState) => TreeListVisibilityState), replace: true): unknown;
|
|
1113
|
+
persist: {
|
|
1114
|
+
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<TreeListVisibilityState, unknown, unknown>>) => void;
|
|
1115
|
+
clearStorage: () => void;
|
|
1116
|
+
rehydrate: () => Promise<void> | void;
|
|
1117
|
+
hasHydrated: () => boolean;
|
|
1118
|
+
onHydrate: (fn: (state: TreeListVisibilityState) => void) => () => void;
|
|
1119
|
+
onFinishHydration: (fn: (state: TreeListVisibilityState) => void) => () => void;
|
|
1120
|
+
getOptions: () => Partial<import("zustand/middleware").PersistOptions<TreeListVisibilityState, unknown, unknown>>;
|
|
1121
|
+
};
|
|
1122
|
+
};
|
|
1123
|
+
export declare const useTreeListVisibilityStore: <T>(storageKey: string, selector: (state: TreeListVisibilityState) => T) => T;
|
|
1124
|
+
//#endregion
|
|
1125
|
+
//#region src/components/tab-strip/tab-visibility.store.d.ts
|
|
1126
|
+
interface TabVisibilitySnapshot {
|
|
1127
|
+
tabOverrides: Record<string, VisibilityOverride>;
|
|
1128
|
+
}
|
|
1129
|
+
interface TabVisibilityState extends TabVisibilitySnapshot {
|
|
1130
|
+
setTab: (key: string, value: VisibilityOverride | undefined) => void;
|
|
1131
|
+
toggleTab: (key: string, hiddenByDefault: boolean) => void;
|
|
1132
|
+
clearTab: (key: string) => void;
|
|
1133
|
+
reset: () => void;
|
|
1134
|
+
}
|
|
1135
|
+
export declare const getTabVisibilityStore: (storageKey: string) => Omit<import("zustand").StoreApi<TabVisibilityState>, "setState" | "persist"> & {
|
|
1136
|
+
setState(partial: TabVisibilityState | Partial<TabVisibilityState> | ((state: TabVisibilityState) => TabVisibilityState | Partial<TabVisibilityState>), replace?: false | undefined): unknown;
|
|
1137
|
+
setState(state: TabVisibilityState | ((state: TabVisibilityState) => TabVisibilityState), replace: true): unknown;
|
|
1138
|
+
persist: {
|
|
1139
|
+
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<TabVisibilityState, unknown, unknown>>) => void;
|
|
1140
|
+
clearStorage: () => void;
|
|
1141
|
+
rehydrate: () => Promise<void> | void;
|
|
1142
|
+
hasHydrated: () => boolean;
|
|
1143
|
+
onHydrate: (fn: (state: TabVisibilityState) => void) => () => void;
|
|
1144
|
+
onFinishHydration: (fn: (state: TabVisibilityState) => void) => () => void;
|
|
1145
|
+
getOptions: () => Partial<import("zustand/middleware").PersistOptions<TabVisibilityState, unknown, unknown>>;
|
|
1146
|
+
};
|
|
1147
|
+
};
|
|
1148
|
+
export declare const useTabVisibilityStore: <T>(storageKey: string, selector: (state: TabVisibilityState) => T) => T;
|
|
1149
|
+
//#endregion
|
|
1150
|
+
//#region src/components/tab-strip/tab-visibility-filter.d.ts
|
|
1151
|
+
interface TabVisibilityPlacement {
|
|
1152
|
+
closable?: boolean;
|
|
1153
|
+
hiddenByDefault?: boolean;
|
|
1154
|
+
pinned?: boolean;
|
|
1155
|
+
title?: string;
|
|
1156
|
+
contributionId: string;
|
|
1157
|
+
}
|
|
1158
|
+
export declare const filterVisibleTabs: <T extends TabVisibilityPlacement>(placements: T[], tabOverrides: Record<string, VisibilityOverride>, getKey: (placement: T) => string) => T[];
|
|
1159
|
+
interface TabVisibilityMenuActions {
|
|
1160
|
+
onToggleTab: (key: string, hiddenByDefault: boolean) => void;
|
|
1161
|
+
onResetAll: () => void;
|
|
1162
|
+
}
|
|
1163
|
+
interface BuildTabMenuOptions {
|
|
1164
|
+
visibleIcon: ReactNode;
|
|
1165
|
+
hiddenIcon: ReactNode;
|
|
1166
|
+
resetIcon?: ReactNode;
|
|
1167
|
+
}
|
|
1168
|
+
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[];
|
|
1169
|
+
//#endregion
|
|
1170
|
+
//#region src/components/tab-strip/window-tabs.d.ts
|
|
1171
|
+
interface WindowTab {
|
|
1172
|
+
id: string;
|
|
1173
|
+
label: string;
|
|
1174
|
+
icon?: ReactNode;
|
|
1175
|
+
}
|
|
1176
|
+
interface WindowTabsProps {
|
|
1177
|
+
tabs: WindowTab[];
|
|
1178
|
+
selectedId?: string;
|
|
1179
|
+
onSelect: (id: string) => void;
|
|
1180
|
+
onClose: (id: string) => void;
|
|
1181
|
+
onReorder?: (id: string, targetId: string) => void;
|
|
1182
|
+
"aria-label": string;
|
|
1183
|
+
}
|
|
1184
|
+
export declare const WindowTabs: (props: WindowTabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
1185
|
+
//#endregion
|
|
1186
|
+
//#region src/components/tab-strip/window-title-bar.d.ts
|
|
1187
|
+
interface WindowTitleBarProps {
|
|
1188
|
+
platform: string;
|
|
1189
|
+
children?: ReactNode;
|
|
1190
|
+
}
|
|
1191
|
+
export declare const WindowTitleBar: (props: WindowTitleBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
1192
|
+
//#endregion
|
|
1193
|
+
//#region src/components/tag-editor/tag-editor.types.d.ts
|
|
1194
|
+
interface TagEditorValue {
|
|
1195
|
+
id: string;
|
|
1196
|
+
name: string;
|
|
1197
|
+
color: string;
|
|
1198
|
+
sortOrder: number;
|
|
1199
|
+
actions?: string[];
|
|
1200
|
+
icon?: string | null;
|
|
1201
|
+
isDefault?: boolean;
|
|
1202
|
+
isNew?: boolean;
|
|
1203
|
+
}
|
|
1204
|
+
interface TagEditorAction {
|
|
1205
|
+
value: string;
|
|
1206
|
+
label: string;
|
|
1207
|
+
/** Rendered before the label in the trigger and the menu row. */
|
|
1208
|
+
icon?: ReactNode;
|
|
1209
|
+
}
|
|
1210
|
+
interface TagEditorProps {
|
|
1211
|
+
values: TagEditorValue[];
|
|
1212
|
+
onValuesChange: (values: TagEditorValue[]) => void;
|
|
1213
|
+
onDeleteValue?: (value: TagEditorValue) => void;
|
|
1214
|
+
onSetDefault?: (value: TagEditorValue) => void;
|
|
1215
|
+
/** Enables inline renaming of the tag definition itself. */
|
|
1216
|
+
onTitleChange?: (title: string) => void;
|
|
1217
|
+
title?: string;
|
|
1218
|
+
description?: string;
|
|
1219
|
+
/** Rendered on the right of the header row, e.g. a mode toggle and a delete action. */
|
|
1220
|
+
headerActions?: ReactNode;
|
|
1221
|
+
/** Marks the heading with the unsaved-changes asterisk. */
|
|
1222
|
+
hasChanges?: boolean;
|
|
1223
|
+
isSaving?: boolean;
|
|
1224
|
+
readOnly?: boolean;
|
|
1225
|
+
addLabel?: string;
|
|
1226
|
+
/** Name given to a freshly added option before it is renamed inline. */
|
|
1227
|
+
addName?: string;
|
|
1228
|
+
actionOptions?: TagEditorAction[];
|
|
1229
|
+
/** Names the per-row action control, e.g. "Commands". Used in its label and aria-label. */
|
|
1230
|
+
actionsLabel?: string;
|
|
1231
|
+
/** Names the default-value control shown under the list when showDefault is set. */
|
|
1232
|
+
defaultValueLabel?: string;
|
|
1233
|
+
defaultAddColor?: string;
|
|
1234
|
+
defaultAddIcon?: string | null;
|
|
1235
|
+
deleteButtonText?: string;
|
|
1236
|
+
deleteHeadline?: string;
|
|
1237
|
+
deleteNotificationText?: (value: TagEditorValue) => string;
|
|
1238
|
+
colorOptions?: readonly string[];
|
|
1239
|
+
iconOptions?: readonly IconColorPickerIconOption[];
|
|
1240
|
+
showDefault?: boolean;
|
|
1241
|
+
showIcons?: boolean;
|
|
1242
|
+
/** Draws the list as a bordered card, so the header and footer bands read as one panel. */
|
|
1243
|
+
framed?: boolean;
|
|
1244
|
+
/** Renders a column header band above the rows. Needs `framed` to look right. */
|
|
1245
|
+
showColumnHeaders?: boolean;
|
|
1246
|
+
/** Header label above the option names, e.g. "State". */
|
|
1247
|
+
valueColumnLabel?: string;
|
|
1248
|
+
}
|
|
1249
|
+
//#endregion
|
|
1250
|
+
//#region src/components/tag-editor/tag-editor.d.ts
|
|
1251
|
+
export declare const TagEditor: (props: TagEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
1252
|
+
//#endregion
|
|
1253
|
+
//#region src/components/tag-editor/tag-editor-heading.d.ts
|
|
1254
|
+
interface TagEditorHeadingProps {
|
|
1255
|
+
children: ReactNode;
|
|
1256
|
+
/** Appends the unsaved-changes marker. */
|
|
1257
|
+
hasChanges?: boolean;
|
|
1258
|
+
}
|
|
1259
|
+
/**
|
|
1260
|
+
* Screen heading for a tag settings panel. The asterisk stays quiet on purpose —
|
|
1261
|
+
* the enabled Save button in the same header is the loud signal.
|
|
1262
|
+
*/
|
|
1263
|
+
export declare const TagEditorHeading: (props: TagEditorHeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
1264
|
+
//#endregion
|
|
1265
|
+
//#region src/components/tag-editor/tag-editor-save-bar.d.ts
|
|
1266
|
+
interface TagEditorSaveBarProps {
|
|
1267
|
+
onSave: () => void;
|
|
1268
|
+
onReset: () => void;
|
|
1269
|
+
hasChanges?: boolean;
|
|
1270
|
+
isSaving?: boolean;
|
|
1271
|
+
resetLabel?: string;
|
|
1272
|
+
saveLabel?: string;
|
|
1273
|
+
}
|
|
1274
|
+
/**
|
|
1275
|
+
* The single commit point for a tag settings screen, anchored in its header.
|
|
1276
|
+
* Reset only appears while edits are pending, so the resting state stays quiet.
|
|
1277
|
+
*/
|
|
1278
|
+
export declare const TagEditorSaveBar: (props: TagEditorSaveBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
1279
|
+
//#endregion
|
|
1280
|
+
//#region src/components/tag-editor/tag-settings-panel.d.ts
|
|
1281
|
+
interface SaveTagSettingsInput<TValue> {
|
|
1282
|
+
deletedIds: Set<string>;
|
|
1283
|
+
drafts: TagEditorValue[];
|
|
1284
|
+
values: TValue[];
|
|
1285
|
+
}
|
|
1286
|
+
type EditorLabels = Pick<TagEditorProps, "actionOptions" | "actionsLabel" | "addLabel" | "addName" | "colorOptions" | "deleteButtonText" | "deleteHeadline" | "defaultValueLabel" | "deleteNotificationText" | "description" | "framed" | "iconOptions" | "readOnly" | "showDefault" | "onSetDefault" | "showColumnHeaders" | "showIcons" | "title" | "valueColumnLabel">;
|
|
1287
|
+
type SortableValue = {
|
|
1288
|
+
id: string;
|
|
1289
|
+
sortOrder: number;
|
|
1290
|
+
};
|
|
1291
|
+
interface TagSettingsPanelProps<TValue extends SortableValue> extends EditorLabels {
|
|
1292
|
+
errorTitle: string;
|
|
1293
|
+
loadingText?: string;
|
|
1294
|
+
resetLabel?: string;
|
|
1295
|
+
saveLabel?: string;
|
|
1296
|
+
/** Loaded values; pass undefined while the initial load is pending. */
|
|
1297
|
+
values: TValue[] | undefined;
|
|
1298
|
+
/** Load/save error surfaced by the host's data layer. */
|
|
1299
|
+
loadError?: unknown;
|
|
1300
|
+
/**
|
|
1301
|
+
* Persists the pending edits. The host owns fetching and cache invalidation;
|
|
1302
|
+
* the panel resets its delete tracking once the returned promise resolves.
|
|
1303
|
+
*/
|
|
1304
|
+
onSave: (input: SaveTagSettingsInput<TValue>) => Promise<void>;
|
|
1305
|
+
toEditorValue: (value: TValue) => TagEditorValue;
|
|
1306
|
+
valueNeedsUpdate: (original: TValue, draft: TagEditorValue) => boolean;
|
|
1307
|
+
}
|
|
1308
|
+
export declare const TagSettingsPanel: <TValue extends SortableValue>(props: TagSettingsPanelProps<TValue>) => import("react/jsx-runtime").JSX.Element;
|
|
1309
|
+
//#endregion
|
|
1310
|
+
//#region src/components/tree-list/tree-list-reorder.d.ts
|
|
1311
|
+
interface TreeListMoveEndpoint {
|
|
1312
|
+
kind: "section" | "node";
|
|
1313
|
+
sectionId: string;
|
|
1314
|
+
id: string;
|
|
1315
|
+
moveScope?: string;
|
|
1316
|
+
}
|
|
1317
|
+
interface TreeListMove {
|
|
1318
|
+
source: TreeListMoveEndpoint;
|
|
1319
|
+
destination: TreeListMoveEndpoint;
|
|
1320
|
+
}
|
|
1321
|
+
type TreeListMovePolicy = (move: TreeListMove) => boolean;
|
|
1322
|
+
//#endregion
|
|
1323
|
+
//#region src/components/tree-list/tree-list.d.ts
|
|
1324
|
+
type TreeListRowVariant = "compact" | "tree";
|
|
1325
|
+
/** Sectioned hierarchical list for files, resources, navigation, and customizable sidenavs. */
|
|
1326
|
+
interface TreeListProps {
|
|
1327
|
+
/** Ordered sections to render, each containing nested tree nodes. */
|
|
1328
|
+
sections: TreeListSection[];
|
|
1329
|
+
/** Controlled section ids that are currently expanded. */
|
|
1330
|
+
expandedSectionIds?: string[];
|
|
1331
|
+
/** Controlled node ids that are currently expanded. */
|
|
1332
|
+
expandedNodeIds?: string[];
|
|
1333
|
+
/** Active node id, or ids, used for selection styling. */
|
|
1334
|
+
activeNodeId?: string | string[] | null;
|
|
1335
|
+
/** Compact rows suit app navigation; tree rows suit file/resource hierarchies. */
|
|
1336
|
+
rowVariant?: TreeListRowVariant;
|
|
1337
|
+
sectionGap?: StackProps["gap"];
|
|
1338
|
+
nodeGap?: StackProps["gap"];
|
|
1339
|
+
/** Link renderer used when nodes provide `href`. */
|
|
1340
|
+
linkComponent?: TreeListLinkComponent;
|
|
1341
|
+
/** Called when a navigable node is activated. */
|
|
1342
|
+
onNavigate?: (event: TreeListNavigateEvent) => void;
|
|
1343
|
+
onToggleSection?: (sectionId: string) => void;
|
|
1344
|
+
onToggleNode?: (nodeId: string) => void;
|
|
1345
|
+
onSectionContextMenu?: (event: MouseEvent<HTMLElement>, sectionId: string) => void;
|
|
1346
|
+
/** Render large trees with virtual rows. Disable when using drag ordering. */
|
|
1347
|
+
virtualize?: boolean;
|
|
1348
|
+
scrollRef?: RefObject<HTMLDivElement | null>;
|
|
1349
|
+
draggable?: boolean;
|
|
1350
|
+
onReorderSections?: (nextSectionIds: string[]) => void;
|
|
1351
|
+
onReorderNodes?: (sectionId: string, nextNodeIds: string[]) => void;
|
|
1352
|
+
/** Decide whether a proposed customization move is valid. */
|
|
1353
|
+
canMove?: TreeListMovePolicy;
|
|
1354
|
+
/** Move a node onto another node, or onto the tree root when the target is omitted. */
|
|
1355
|
+
onMoveNode?: (sourceNodeId: string, targetNodeId?: string) => void;
|
|
1356
|
+
backgroundContextActions?: ResourceContextAction[];
|
|
1357
|
+
}
|
|
1358
|
+
export declare const TreeList: (props: TreeListProps) => import("react/jsx-runtime").JSX.Element;
|
|
1359
|
+
//#endregion
|
|
1360
|
+
//#region src/components/tree-list/tree-list-drag-provider.d.ts
|
|
1361
|
+
interface TreeListDragProviderProps {
|
|
1362
|
+
sections: TreeListSection[];
|
|
1363
|
+
canMove?: TreeListMovePolicy;
|
|
1364
|
+
onReorderSections?: (nextSectionIds: string[], sourceSectionId: string, destinationSectionId: string) => void;
|
|
1365
|
+
onReorderNodes?: (sectionId: string, nextNodeIds: string[]) => void;
|
|
1366
|
+
children: ReactNode;
|
|
1367
|
+
}
|
|
1368
|
+
export declare const TreeListDragProvider: (props: TreeListDragProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
1369
|
+
//#endregion
|
|
1370
|
+
//#region src/components/tree-list/tree-list-order.store.d.ts
|
|
1371
|
+
interface TreeListOrderSnapshot {
|
|
1372
|
+
sectionOrder: string[];
|
|
1373
|
+
nodeOrderBySection: Record<string, string[]>;
|
|
1374
|
+
sectionSlotById: Record<string, TreeListOrderSlot>;
|
|
1375
|
+
}
|
|
1376
|
+
type TreeListOrderSlot = "header" | "content" | "footer";
|
|
1377
|
+
interface TreeListOrderState extends TreeListOrderSnapshot {
|
|
1378
|
+
setSectionOrder: (nextSectionIds: string[]) => void;
|
|
1379
|
+
setNodeOrder: (sectionId: string, nextNodeIds: string[]) => void;
|
|
1380
|
+
setSectionSlot: (sectionId: string, slot: TreeListOrderSlot) => void;
|
|
1381
|
+
resetSectionOrder: () => void;
|
|
1382
|
+
resetNodeOrder: (sectionId: string) => void;
|
|
1383
|
+
reset: () => void;
|
|
1384
|
+
}
|
|
1385
|
+
export declare const getTreeListOrderStore: (storageKey: string) => Omit<import("zustand").StoreApi<TreeListOrderState>, "setState" | "persist"> & {
|
|
1386
|
+
setState(partial: TreeListOrderState | Partial<TreeListOrderState> | ((state: TreeListOrderState) => TreeListOrderState | Partial<TreeListOrderState>), replace?: false | undefined): unknown;
|
|
1387
|
+
setState(state: TreeListOrderState | ((state: TreeListOrderState) => TreeListOrderState), replace: true): unknown;
|
|
1388
|
+
persist: {
|
|
1389
|
+
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<TreeListOrderState, unknown, unknown>>) => void;
|
|
1390
|
+
clearStorage: () => void;
|
|
1391
|
+
rehydrate: () => Promise<void> | void;
|
|
1392
|
+
hasHydrated: () => boolean;
|
|
1393
|
+
onHydrate: (fn: (state: TreeListOrderState) => void) => () => void;
|
|
1394
|
+
onFinishHydration: (fn: (state: TreeListOrderState) => void) => () => void;
|
|
1395
|
+
getOptions: () => Partial<import("zustand/middleware").PersistOptions<TreeListOrderState, unknown, unknown>>;
|
|
1396
|
+
};
|
|
1397
|
+
};
|
|
1398
|
+
export declare const useTreeListOrderStore: <T>(storageKey: string, selector: (state: TreeListOrderState) => T) => T;
|
|
1399
|
+
//#endregion
|
|
1400
|
+
//#region src/components/tree-list/tree-list-order-filter.d.ts
|
|
1401
|
+
export declare const applyTreeListOrder: (sections: TreeListSection[], sectionOrder: string[], nodeOrderBySection: Record<string, string[]>) => TreeListSection[];
|
|
1402
|
+
//#endregion
|
|
1403
|
+
//#region src/components/tree-list/tree-list-visibility-filter.d.ts
|
|
1404
|
+
export declare const resolveVisibility: (override: VisibilityOverride | undefined, hiddenByDefault: boolean | undefined) => VisibilityOverride;
|
|
1405
|
+
export declare const filterVisibleNodes: (nodes: TreeListNode[], nodeOverrides: Record<string, VisibilityOverride>) => TreeListNode[];
|
|
1406
|
+
export declare const filterVisibleSections: (sections: TreeListSection[], sectionOverrides: Record<string, VisibilityOverride>, nodeOverrides: Record<string, VisibilityOverride>) => TreeListSection[];
|
|
1407
|
+
interface TreeVisibilityMenuActions {
|
|
1408
|
+
onToggleSection: (id: string, hiddenByDefault: boolean) => void;
|
|
1409
|
+
onToggleNode: (id: string, hiddenByDefault: boolean) => void;
|
|
1410
|
+
onResetAll: () => void;
|
|
1411
|
+
}
|
|
1412
|
+
interface BuildMenuOptions {
|
|
1413
|
+
visibleIcon: ReactNode;
|
|
1414
|
+
hiddenIcon: ReactNode;
|
|
1415
|
+
resetIcon?: ReactNode;
|
|
1416
|
+
}
|
|
1417
|
+
interface TreeVisibilityMenuItems {
|
|
1418
|
+
headerSections?: TreeListSection[];
|
|
1419
|
+
sections: TreeListSection[];
|
|
1420
|
+
footerSections?: TreeListSection[];
|
|
1421
|
+
}
|
|
1422
|
+
export declare const buildTreeVisibilityMenuActions: (items: TreeVisibilityMenuItems, sectionOverrides: Record<string, VisibilityOverride>, nodeOverrides: Record<string, VisibilityOverride>, actions: TreeVisibilityMenuActions, options: BuildMenuOptions) => ResourceContextAction[];
|
|
1423
|
+
//#endregion
|
|
1424
|
+
//#region src/utils/apply-file-icon-theme-preference.d.ts
|
|
1425
|
+
interface FileIconThemeFont {
|
|
1426
|
+
fontFamily: string;
|
|
1427
|
+
src: {
|
|
1428
|
+
url: string;
|
|
1429
|
+
format?: string;
|
|
1430
|
+
}[];
|
|
1431
|
+
weight?: string;
|
|
1432
|
+
style?: string;
|
|
1433
|
+
}
|
|
1434
|
+
interface FileIconThemePreferenceOption {
|
|
1435
|
+
id: string;
|
|
1436
|
+
title?: string;
|
|
1437
|
+
definitions: Record<string, unknown>;
|
|
1438
|
+
fileExtensions: Record<string, string>;
|
|
1439
|
+
fileNames: Record<string, string>;
|
|
1440
|
+
defaults: {
|
|
1441
|
+
file?: string;
|
|
1442
|
+
folder?: string;
|
|
1443
|
+
};
|
|
1444
|
+
fonts: FileIconThemeFont[];
|
|
1445
|
+
}
|
|
1446
|
+
export declare const defaultFileIconThemePreferences: FileIconThemePreferenceOption[];
|
|
1447
|
+
export declare const isFileIconThemePreference: (value: string | null, themes: readonly FileIconThemePreferenceOption[]) => value is string;
|
|
1448
|
+
interface ResolvedFileIconGlyph {
|
|
1449
|
+
fontFamily: string;
|
|
1450
|
+
fontCharacter: string;
|
|
1451
|
+
fontColor?: string;
|
|
1452
|
+
}
|
|
1453
|
+
export declare const resolveFileIconGlyph: (theme: FileIconThemePreferenceOption | undefined, filename: string, isDirectory?: boolean) => ResolvedFileIconGlyph | undefined;
|
|
1454
|
+
export declare const applyFileIconThemePreference: (themeId: string | null, themes: readonly FileIconThemePreferenceOption[]) => void;
|
|
1455
|
+
//#endregion
|
|
1456
|
+
//#region src/utils/file-icon-theme-preference.d.ts
|
|
1457
|
+
interface FileIconThemePreferenceContextValue {
|
|
1458
|
+
fileIconThemePreference: string | null;
|
|
1459
|
+
fileIconThemePreferences: readonly FileIconThemePreferenceOption[];
|
|
1460
|
+
activeFileIconTheme: FileIconThemePreferenceOption | undefined;
|
|
1461
|
+
setFileIconThemePreference: (preference: string) => void;
|
|
1462
|
+
}
|
|
1463
|
+
interface FileIconThemePreferenceProviderProps {
|
|
1464
|
+
children: ReactNode;
|
|
1465
|
+
themePreferences?: readonly FileIconThemePreferenceOption[];
|
|
1466
|
+
}
|
|
1467
|
+
export declare const FileIconThemePreferenceProvider: (props: FileIconThemePreferenceProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
1468
|
+
export declare const useFileIconThemePreference: () => FileIconThemePreferenceContextValue;
|
|
1469
|
+
//#endregion
|
|
1470
|
+
//#region src/utils/get-file-type-icon.d.ts
|
|
1471
|
+
export declare const getFileTypeIcon: (filename: string) => LucideIcon;
|
|
1472
|
+
//#endregion
|
|
1473
|
+
//#region src/utils/prism.d.ts
|
|
1474
|
+
export declare const installPrismGlobal: () => Promise<void>;
|
|
1475
|
+
//#endregion
|
|
1476
|
+
//#region src/utils/resolve-file-icon-element.d.ts
|
|
1477
|
+
interface ResolveFileIconElementOptions {
|
|
1478
|
+
isDirectory?: boolean;
|
|
1479
|
+
theme?: FileIconThemePreferenceOption;
|
|
1480
|
+
size?: number;
|
|
1481
|
+
}
|
|
1482
|
+
export declare const resolveFileIconElement: (filename: string, options?: ResolveFileIconElementOptions) => import("react/jsx-runtime").JSX.Element;
|
|
1483
|
+
//#endregion
|
|
1484
|
+
//#region src/utils/theme-preference.d.ts
|
|
1485
|
+
interface ThemePreferenceContextValue {
|
|
1486
|
+
themePreference: ThemePreference;
|
|
1487
|
+
themePreferences: readonly ThemePreferenceOption[];
|
|
1488
|
+
setThemePreference: (preference: ThemePreference) => void;
|
|
1489
|
+
toggleThemePreference: () => void;
|
|
1490
|
+
}
|
|
1491
|
+
interface ThemePreferenceProviderProps {
|
|
1492
|
+
children: ReactNode;
|
|
1493
|
+
initialPreference?: ThemePreference;
|
|
1494
|
+
/** A default used only when the user has not chosen a theme in this scope. */
|
|
1495
|
+
defaultPreference?: ThemePreference;
|
|
1496
|
+
preferenceScope?: string;
|
|
1497
|
+
themePreferences?: readonly ThemePreferenceOption[];
|
|
1498
|
+
}
|
|
1499
|
+
export declare const getInitialThemePreference: (themePreferences?: readonly ThemePreferenceOption[]) => string;
|
|
1500
|
+
export declare const ThemePreferenceProvider: (props: ThemePreferenceProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
1501
|
+
export declare const useThemePreference: () => ThemePreferenceContextValue;
|
|
1502
|
+
//#endregion
|
|
1503
|
+
export { Activity, type ActivityActor, ActivityAvatar, type ActivityAvatarProps, ActivityComment, type ActivityCommentProps, ActivityComposer, type ActivityComposerProps, ActivityEvent, type ActivityEventProps, ActivityFeed, type ActivityFeedProps, ActivityHeader, type ActivityHeaderProps, ActivityReply, type ActivityReplyProps, ActivityRoot, type ActivityRootProps, ActivityTimeline, type ActivityTimelineProps, type AlertProps, type AttachedMenuProps, type AttachmentChipProps, type BreadcrumbItem, ChakraProvider, type CheckboxProps, type ChipProps, Label as ContentPlaceholderLabel, type EmptyStateProps, type FileIconThemeFont, type FileIconThemePreferenceOption, type FilterPaletteEntriesOptions, type FolderPickerEntry, type FolderPickerProps, type HeaderProps, type HeaderVariant, type IconColorPickerIconOption, type IconColorPickerProps, type IntegrationCardProps, type ItemSectionProps, type ListRowAction, type ListRowActionContext, type ListRowActionMenuItem, type ListRowItem, type ListRowNavigationIntent, type MonacoThemeData, type NotificationCenterAction, type NotificationCenterItem, type NotificationCenterPriority, type NotificationCenterProps, type NotificationCenterStatus, type PaletteEntry, type PaletteEscapeContext, type PaletteMode, type PaletteProps, type PaletteSearchEntry, type PaletteShortcutBinding, type PaletteState, type PaletteStateValue, type RadioProps, type ResizableSplitSeparator, ResourceActionMenu, type ResourceActionMenuProps, ResourceBadge, type ResourceContextAction, ResourceContextMenu, type SaveTagSettingsInput, ScrollArea, type SearchModalContentProps, type SearchableMenuItem, type SearchableMenuParentList, type SegmentedControlOption, type SegmentedControlProps, type SessionCompletionStatus, SessionIndicator, type SidenavProps, type SimpleCardBodyProps, type SimpleCardProps, type SliderProps, type SwitchProps, type TabVisibilityPlacement, type TagEditorAction, type TagEditorHeadingProps, type TagEditorProps, type TagEditorSaveBarProps, type TagEditorValue, type TagSettingsPanelProps, type TagSwatchProps, type ThemePreference, type ThemePreferenceMode, type ThemePreferenceOption, type ThemePreferenceTokens, type TreeListAction, type TreeListActionContext, type TreeListActionMenuItem, type TreeListInlineInput, type TreeListLinkComponent, type TreeListMove, type TreeListMoveEndpoint, type TreeListMovePolicy, type TreeListNavigateEvent, type TreeListNavigationIntent, type TreeListNode, type TreeListSection, type TreeVisibilityMenuItems, type VisibilityOverride, type VsCodeColorTheme, type WindowTab, type WindowTabsProps, type WindowTitleBarProps, WorkspaceBadge, type WorkspaceBadgeProps, applyThemePreference, createMonacoThemeFromVsCodeTheme, createThemePreferenceFromVsCodeTheme, defaultThemePreferences, getThemePreferenceClassName, getThemePreferenceClassNames, getThemePreferenceMode, isThemePreference, _default as psTheme, resolveSessionIndicatorColor, resolveSessionIndicatorIcon, sessionCompletionStatuses };
|
|
1504
|
+
export {};
|