@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
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
interface DateInputProps {
|
|
2
|
-
id: string;
|
|
3
|
-
defaultValue: string;
|
|
4
|
-
name: string;
|
|
5
|
-
min?: string;
|
|
6
|
-
max?: string;
|
|
7
|
-
onChange: (id: string, value: string) => void;
|
|
8
|
-
description: string;
|
|
9
|
-
readOnly?: boolean;
|
|
10
|
-
hideLabel?: boolean;
|
|
11
|
-
tooltipPlacement?: "top" | "right" | "bottom" | "left";
|
|
12
|
-
fullWidth?: boolean;
|
|
13
|
-
size?: "xs" | "sm";
|
|
14
|
-
}
|
|
15
|
-
export declare const DateInput: (props: DateInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FileUploadValue } from '../param-editor.types';
|
|
2
|
-
interface FileUploadInputProps {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
defaultValue: FileUploadValue[];
|
|
7
|
-
accept?: string;
|
|
8
|
-
multiple?: boolean;
|
|
9
|
-
uploadLabel?: string;
|
|
10
|
-
onChange: (id: string, value: FileUploadValue[]) => void;
|
|
11
|
-
readOnly?: boolean;
|
|
12
|
-
presentation?: "stacked" | "horizontal";
|
|
13
|
-
}
|
|
14
|
-
export declare const FileUploadInput: (props: FileUploadInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { FileUploadValue } from '../param-editor.types';
|
|
2
|
-
export type FileUploadSummaryState = "empty" | "queued" | "uploading" | "complete" | "error";
|
|
3
|
-
export declare const createFileUploadValues: (files: File[], existing: FileUploadValue[], multiple: boolean) => FileUploadValue[];
|
|
4
|
-
export declare const getFileUploadSummary: (values: FileUploadValue[]) => {
|
|
5
|
-
state: FileUploadSummaryState;
|
|
6
|
-
count: number;
|
|
7
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
interface HorizontalTextInputProps {
|
|
2
|
-
id: string;
|
|
3
|
-
defaultValue: string;
|
|
4
|
-
name: string;
|
|
5
|
-
onChange: (id: string, value: string) => void;
|
|
6
|
-
description: string;
|
|
7
|
-
readOnly?: boolean;
|
|
8
|
-
hideLabel?: boolean;
|
|
9
|
-
tooltipPlacement?: "top" | "right" | "bottom" | "left";
|
|
10
|
-
size?: "xs" | "sm";
|
|
11
|
-
}
|
|
12
|
-
export declare const HorizontalTextInput: (props: HorizontalTextInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
interface MarkdownInputProps {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
defaultValue: string;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
onChange: (id: string, value: string) => void;
|
|
8
|
-
readOnly?: boolean;
|
|
9
|
-
presentation?: "stacked" | "horizontal";
|
|
10
|
-
size?: "xs" | "sm";
|
|
11
|
-
}
|
|
12
|
-
export declare const MarkdownInput: (props: MarkdownInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
interface NumberInputProps {
|
|
2
|
-
id: string;
|
|
3
|
-
defaultValue: number;
|
|
4
|
-
name: string;
|
|
5
|
-
step?: number;
|
|
6
|
-
min?: number;
|
|
7
|
-
max?: number;
|
|
8
|
-
onChange: (id: string, value: number) => void;
|
|
9
|
-
description: string;
|
|
10
|
-
readOnly?: boolean;
|
|
11
|
-
hideLabel?: boolean;
|
|
12
|
-
hideSlider?: boolean;
|
|
13
|
-
tooltipPlacement?: "top" | "right" | "bottom" | "left";
|
|
14
|
-
fullWidth?: boolean;
|
|
15
|
-
size?: "xs" | "sm";
|
|
16
|
-
}
|
|
17
|
-
export declare const NumberInput: (props: NumberInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/** Clamp `value` into the inclusive range, tolerating an inverted min/max. */
|
|
2
|
-
export declare const clampToRange: (value: number, min: number, max: number) => number;
|
|
3
|
-
/** Snap `value` to the nearest multiple of `step` measured from `origin`. */
|
|
4
|
-
export declare const snapToStep: (value: number, step: number, origin?: number) => number;
|
|
5
|
-
/** Format a number with an optional unit suffix, trimming float noise. */
|
|
6
|
-
export declare const formatUnitValue: (value: number, unit?: string) => string;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { RangeValue } from '../param-editor.types';
|
|
2
|
-
interface RangeInputProps {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
defaultValue: RangeValue;
|
|
7
|
-
min: number;
|
|
8
|
-
max: number;
|
|
9
|
-
step?: number;
|
|
10
|
-
unit?: string;
|
|
11
|
-
markerCount?: number;
|
|
12
|
-
onChange: (id: string, value: RangeValue) => void;
|
|
13
|
-
readOnly?: boolean;
|
|
14
|
-
fullWidth?: boolean;
|
|
15
|
-
presentation?: "stacked" | "horizontal";
|
|
16
|
-
}
|
|
17
|
-
export declare const RangeInput: (props: RangeInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { RangeValue } from '../param-editor.types';
|
|
2
|
-
/** Order both handles and clamp (and optionally snap) them into `[min, max]`. */
|
|
3
|
-
export declare const normalizeRange: (value: RangeValue, min: number, max: number, step?: number) => RangeValue;
|
|
4
|
-
/** Replace a single handle, keeping the pair ordered. */
|
|
5
|
-
export declare const updateRangeHandle: (value: RangeValue, index: 0 | 1, next: number, min: number, max: number, step?: number) => RangeValue;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ResourceOption, ResourceRefValue } from '../param-editor.types';
|
|
2
|
-
interface ResourceChipProps {
|
|
3
|
-
option: ResourceOption;
|
|
4
|
-
onOpenResource?: (ref: ResourceRefValue) => void;
|
|
5
|
-
onRemove?: () => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const ResourceChip: (props: ResourceChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
interface ResourceChipListProps {
|
|
9
|
-
options: ResourceOption[];
|
|
10
|
-
onOpenResource?: (ref: ResourceRefValue) => void;
|
|
11
|
-
onRemove?: (optionId: string) => void;
|
|
12
|
-
emptyText?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const ResourceChipList: (props: ResourceChipListProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ResourceOption, ResourceRefValue } from '../param-editor.types';
|
|
2
|
-
interface ResourceInputProps {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
defaultValue: string | string[];
|
|
7
|
-
options: ResourceOption[];
|
|
8
|
-
onChange: (id: string, value: string | string[]) => void;
|
|
9
|
-
onOpenResource?: (ref: ResourceRefValue) => void;
|
|
10
|
-
readOnly?: boolean;
|
|
11
|
-
editable?: boolean;
|
|
12
|
-
multiSelect?: boolean;
|
|
13
|
-
placeholder?: string;
|
|
14
|
-
emptyText?: string;
|
|
15
|
-
fullWidth?: boolean;
|
|
16
|
-
presentation?: "stacked" | "horizontal";
|
|
17
|
-
size?: "xs" | "sm";
|
|
18
|
-
}
|
|
19
|
-
export declare const ResourceInput: (props: ResourceInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { SegmentedOption } from '../param-editor.types';
|
|
2
|
-
interface SegmentedInputProps {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
defaultValue: string;
|
|
7
|
-
options: SegmentedOption[];
|
|
8
|
-
variant?: "default" | "dots";
|
|
9
|
-
onChange: (id: string, value: string) => void;
|
|
10
|
-
readOnly?: boolean;
|
|
11
|
-
fullWidth?: boolean;
|
|
12
|
-
presentation?: "stacked" | "horizontal";
|
|
13
|
-
}
|
|
14
|
-
export declare const SegmentedInput: (props: SegmentedInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export {};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { SelectionGroup } from '../param-editor.types';
|
|
2
|
-
import { SelectionMenuOption } from './selection-menu';
|
|
3
|
-
interface SelectionInputProps {
|
|
4
|
-
id: string;
|
|
5
|
-
defaultValue: string | string[];
|
|
6
|
-
name: string;
|
|
7
|
-
options: SelectionMenuOption[];
|
|
8
|
-
onChange: (id: string, value: string | string[]) => void;
|
|
9
|
-
description: string;
|
|
10
|
-
readOnly?: boolean;
|
|
11
|
-
hideLabel?: boolean;
|
|
12
|
-
multiSelect?: boolean;
|
|
13
|
-
tooltipPlacement?: "top" | "right" | "bottom" | "left";
|
|
14
|
-
placeholder?: string;
|
|
15
|
-
fullWidth?: boolean;
|
|
16
|
-
/** Re-picking the selected option clears it. */
|
|
17
|
-
clearable?: boolean;
|
|
18
|
-
/** Inert, but still rendered as a control. */
|
|
19
|
-
disabled?: boolean;
|
|
20
|
-
searchable?: boolean;
|
|
21
|
-
searchPlaceholder?: string;
|
|
22
|
-
emptyText?: string;
|
|
23
|
-
group?: SelectionGroup;
|
|
24
|
-
size?: "xs" | "sm";
|
|
25
|
-
}
|
|
26
|
-
export declare const SelectionInput: (props: SelectionInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
export {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { SelectionGroup } from '../param-editor.types';
|
|
3
|
-
export interface SelectionMenuOption {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
icon?: string;
|
|
7
|
-
/** Palette key (e.g. "blue") applied to the option's icon. */
|
|
8
|
-
color?: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export interface SelectionMenuProps {
|
|
13
|
-
triggerLabel: ReactNode;
|
|
14
|
-
options: SelectionMenuOption[];
|
|
15
|
-
selectedIds: string[];
|
|
16
|
-
multiSelect: boolean;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
searchable?: boolean;
|
|
19
|
-
searchPlaceholder?: string;
|
|
20
|
-
emptyText?: string;
|
|
21
|
-
group?: SelectionGroup;
|
|
22
|
-
fullWidth?: boolean;
|
|
23
|
-
triggerVariant?: "button" | "icon";
|
|
24
|
-
triggerAriaLabel?: string;
|
|
25
|
-
size?: "xs" | "sm";
|
|
26
|
-
onToggle: (optionId: string) => void;
|
|
27
|
-
onGroupChange?: (optionId: string) => void;
|
|
28
|
-
}
|
|
29
|
-
export declare const selectionIndicator: (multiSelect: boolean, selected: boolean) => import("react/jsx-runtime").JSX.Element | null;
|
|
30
|
-
export declare const selectionOptionIcon: (option: SelectionMenuOption | undefined, boxSize: string) => import("react/jsx-runtime").JSX.Element | null;
|
|
31
|
-
/**
|
|
32
|
-
* The single dropdown behind every option picker in the editor — selection
|
|
33
|
-
* params and editable resource params alike. Sharing it is what keeps a
|
|
34
|
-
* resource attribute and a command param from drifting into two looks.
|
|
35
|
-
*
|
|
36
|
-
* Single-selects clear by re-picking the selected option; a dedicated "none"
|
|
37
|
-
* row would read as just another value to choose.
|
|
38
|
-
*/
|
|
39
|
-
export declare const SelectionMenu: (props: SelectionMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface TextInputProps {
|
|
2
|
-
id: string;
|
|
3
|
-
defaultValue: string;
|
|
4
|
-
name: string;
|
|
5
|
-
onChange: (id: string, value: string) => void;
|
|
6
|
-
description: string;
|
|
7
|
-
readOnly?: boolean;
|
|
8
|
-
singleLine?: boolean;
|
|
9
|
-
hideLabel?: boolean;
|
|
10
|
-
fullWidth?: boolean;
|
|
11
|
-
size?: "xs" | "sm";
|
|
12
|
-
}
|
|
13
|
-
export declare const TextInput: (props: TextInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { VectorValue } from '../param-editor.types';
|
|
2
|
-
interface VectorInputProps {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
defaultValue: VectorValue;
|
|
7
|
-
xLabel?: string;
|
|
8
|
-
yLabel?: string;
|
|
9
|
-
min?: number;
|
|
10
|
-
max?: number;
|
|
11
|
-
step?: number;
|
|
12
|
-
onChange: (id: string, value: VectorValue) => void;
|
|
13
|
-
readOnly?: boolean;
|
|
14
|
-
fullWidth?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare const VectorInput: (props: VectorInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { VectorValue } from '../param-editor.types';
|
|
2
|
-
export interface VectorBounds {
|
|
3
|
-
min?: number;
|
|
4
|
-
max?: number;
|
|
5
|
-
}
|
|
6
|
-
/** Update a single axis without dropping the other, clamping into optional bounds. */
|
|
7
|
-
export declare const updateVectorAxis: (value: VectorValue, axis: "x" | "y", next: number, bounds?: VectorBounds) => VectorValue;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Param, ParamValue, ParamValueMap } from './param-editor.types';
|
|
2
|
-
type AdvancedParam = Extract<Param, {
|
|
3
|
-
type: "range" | "segmented" | "actions" | "anchorGrid" | "vector" | "fileUpload";
|
|
4
|
-
}>;
|
|
5
|
-
interface ParamEditorAdvancedFieldProps {
|
|
6
|
-
param: AdvancedParam;
|
|
7
|
-
defaultValues: ParamValueMap;
|
|
8
|
-
onChange: (id: string, value: ParamValue) => void;
|
|
9
|
-
readOnly?: boolean;
|
|
10
|
-
fullWidth?: boolean;
|
|
11
|
-
presentation: "stacked" | "horizontal";
|
|
12
|
-
}
|
|
13
|
-
export declare const ParamEditorAdvancedField: (props: ParamEditorAdvancedFieldProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
14
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Param, ParamValueMap } from './param-editor.types';
|
|
2
|
-
export interface ParamEditorInputFixture {
|
|
3
|
-
param: Param;
|
|
4
|
-
defaultValues: ParamValueMap;
|
|
5
|
-
}
|
|
6
|
-
export declare const paramEditorInputFixtures: {
|
|
7
|
-
boolean: ParamEditorInputFixture;
|
|
8
|
-
number: ParamEditorInputFixture;
|
|
9
|
-
text: ParamEditorInputFixture;
|
|
10
|
-
markdown: ParamEditorInputFixture;
|
|
11
|
-
selection: ParamEditorInputFixture;
|
|
12
|
-
date: ParamEditorInputFixture;
|
|
13
|
-
color: ParamEditorInputFixture;
|
|
14
|
-
property: ParamEditorInputFixture;
|
|
15
|
-
readOnly: ParamEditorInputFixture;
|
|
16
|
-
resource: ParamEditorInputFixture;
|
|
17
|
-
reference: ParamEditorInputFixture;
|
|
18
|
-
range: ParamEditorInputFixture;
|
|
19
|
-
segmented: ParamEditorInputFixture;
|
|
20
|
-
actions: ParamEditorInputFixture;
|
|
21
|
-
anchorGrid: ParamEditorInputFixture;
|
|
22
|
-
vector: ParamEditorInputFixture;
|
|
23
|
-
fileUpload: ParamEditorInputFixture;
|
|
24
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
type ControlItemOrientation = "auto" | "inline" | "stacked";
|
|
3
|
-
interface ParamEditorControlItemProps {
|
|
4
|
-
name?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
hideLabel?: boolean;
|
|
7
|
-
fullWidth?: boolean;
|
|
8
|
-
/** `auto` renders inline when compact and stacked when full-width. */
|
|
9
|
-
orientation?: ControlItemOrientation;
|
|
10
|
-
/** Rendered on the label row, right-aligned (e.g. an editable value readout). */
|
|
11
|
-
labelTrailing?: ReactNode;
|
|
12
|
-
children: ReactNode;
|
|
13
|
-
}
|
|
14
|
-
export declare const ParamEditorControlItem: (props: ParamEditorControlItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ParamEditorLabel as ParamEditorFieldLabel } from './param-editor-label';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Param, ParamValue, ParamValueMap, ResourceRefValue } from './param-editor.types';
|
|
2
|
-
interface ParamEditorFieldProps {
|
|
3
|
-
param: Param;
|
|
4
|
-
defaultValues: ParamValueMap;
|
|
5
|
-
onChange: (id: string, value: ParamValue) => void;
|
|
6
|
-
onOpenResource?: (ref: ResourceRefValue) => void;
|
|
7
|
-
readOnly?: boolean;
|
|
8
|
-
fullWidth?: boolean;
|
|
9
|
-
presentation?: "stacked" | "horizontal";
|
|
10
|
-
size?: "xs" | "sm";
|
|
11
|
-
}
|
|
12
|
-
export declare const ParamEditorField: (props: ParamEditorFieldProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
13
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { InputGroup, Param, ParamValue, ParamValueMap, ResourceRefValue } from './param-editor.types';
|
|
2
|
-
export interface ParamEditorHorizontalProps {
|
|
3
|
-
params?: Param[];
|
|
4
|
-
groups?: InputGroup[];
|
|
5
|
-
defaultValues: ParamValueMap;
|
|
6
|
-
onChange: (id: string, value: ParamValue) => void;
|
|
7
|
-
onOpenResource?: (ref: ResourceRefValue) => void;
|
|
8
|
-
readOnly?: boolean;
|
|
9
|
-
variant?: "default" | "small";
|
|
10
|
-
}
|
|
11
|
-
export declare const ParamEditorHorizontal: (props: ParamEditorHorizontalProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { Param } from './param-editor.types';
|
|
2
|
-
export declare const isParamEditorRichControl: (param: Param) => param is import('./param-editor.types').FileUploadParam;
|
|
3
|
-
export declare const isParamEditorHorizontalControl: (param: Param) => param is import('./param-editor.types').PropertyParam | import('./param-editor.types').FileUploadParam | import('@pstdio/sdk/extensions').NumberControl | import('@pstdio/sdk/extensions').BooleanControl | import('@pstdio/sdk/extensions').TextControl | import('@pstdio/sdk/extensions').MarkdownControl | import('@pstdio/sdk/extensions').SelectionControl | import('@pstdio/sdk/extensions').DateControl | import('@pstdio/sdk/extensions').ColorControl | import('@pstdio/sdk/extensions').ReadOnlyControl | import('@pstdio/sdk/extensions').ResourceControl | import('@pstdio/sdk/extensions').RangeControl | import('@pstdio/sdk/extensions').SegmentedControl | import('@pstdio/sdk/extensions').ActionsControl | import('@pstdio/sdk/extensions').VectorControl;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Param } from './param-editor.types';
|
|
2
|
-
interface ParamEditorReadOnlyFieldProps {
|
|
3
|
-
param: Extract<Param, {
|
|
4
|
-
type: "readOnly";
|
|
5
|
-
}>;
|
|
6
|
-
fullWidth?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const ParamEditorReadOnlyField: (props: ParamEditorReadOnlyFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from '@chakra-ui/react';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
interface ParamEditorReadOnlyValueProps extends Omit<BoxProps, "children"> {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
preserveWhitespace?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const ParamEditorReadOnlyValue: (props: ParamEditorReadOnlyValueProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Param, ParamValue, ParamValueMap, ResourceRefValue } from './param-editor.types';
|
|
2
|
-
export interface ParamEditorRowProps {
|
|
3
|
-
param: Param;
|
|
4
|
-
values?: ParamValueMap;
|
|
5
|
-
onChange?: (id: string, value: ParamValue) => void;
|
|
6
|
-
onOpenResource?: (ref: ResourceRefValue) => void;
|
|
7
|
-
readOnly?: boolean;
|
|
8
|
-
fullWidth?: boolean;
|
|
9
|
-
variant?: "default" | "small";
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* The padded field row every param surface is built from. Surfaces that compose
|
|
13
|
-
* their own list of fields — a command dialog mixing built-in and host-supplied
|
|
14
|
-
* controls — stack these instead of nesting one editor per field, so the whole
|
|
15
|
-
* form keeps a single rhythm.
|
|
16
|
-
*/
|
|
17
|
-
export declare const ParamEditorRow: (props: ParamEditorRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Param, ParamValue, ParamValueMap, ResourceRefValue } from './param-editor.types';
|
|
2
|
-
interface ParamEditorSectionProps {
|
|
3
|
-
title?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
params: Param[];
|
|
6
|
-
defaultValues: ParamValueMap;
|
|
7
|
-
onChange: (id: string, value: ParamValue) => void;
|
|
8
|
-
onOpenResource?: (ref: ResourceRefValue) => void;
|
|
9
|
-
readOnly?: boolean;
|
|
10
|
-
fullWidth?: boolean;
|
|
11
|
-
collapsible?: boolean;
|
|
12
|
-
defaultCollapsed?: boolean;
|
|
13
|
-
isFirst?: boolean;
|
|
14
|
-
variant?: "default" | "small";
|
|
15
|
-
}
|
|
16
|
-
export declare const ParamEditorSection: (props: ParamEditorSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { InputGroup, Param, ParamValue, ParamValueMap, ResourceRefValue } from './param-editor.types';
|
|
2
|
-
export interface ParamEditorProps {
|
|
3
|
-
params?: Param[];
|
|
4
|
-
groups?: InputGroup[];
|
|
5
|
-
defaultValues?: ParamValueMap;
|
|
6
|
-
onChange?: (id: string, value: ParamValue) => void;
|
|
7
|
-
onOpenResource?: (ref: ResourceRefValue) => void;
|
|
8
|
-
readOnly?: boolean;
|
|
9
|
-
fullWidth?: boolean;
|
|
10
|
-
variant?: "default" | "small";
|
|
11
|
-
}
|
|
12
|
-
export declare const ParamEditor: (props: ParamEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { BaseControl as BaseParam, ControlGroup, ControlParam, ControlValue } from '@pstdio/sdk/extensions';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
export type { ActionOption, ActionsControl as ActionsParam, AnchorGridControl as AnchorGridParam, AnchorGridValue, BaseControl as BaseParam, BooleanControl as BooleanParam, ColorControl as ColorParam, ControlGroup, ControlParam, ControlValue, ControlValueMap, DateControl as DateParam, MarkdownControl as MarkdownParam, NumberControl as NumberParam, ParamEditorReadOnlyContent, ParamEditorReadOnlyImage, RangeControl as RangeParam, RangeValue, ReadOnlyControl as ReadOnlyParam, ResourceControl as ResourceParam, ResourceOption, ResourceRefValue, SegmentedControl as SegmentedParam, SegmentedOption, SelectionControl as SelectionParam, SelectionGroup, SelectionOption, TextControl as TextParam, VectorControl as VectorParam, VectorValue, } from '@pstdio/sdk/extensions';
|
|
4
|
-
export interface PropertyParam extends BaseParam {
|
|
5
|
-
type: "property";
|
|
6
|
-
value: ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export type FileUploadStatus = "queued" | "uploading" | "complete" | "error";
|
|
9
|
-
/** A selected file and the host-controlled state of its upload. */
|
|
10
|
-
export interface FileUploadValue {
|
|
11
|
-
id: string;
|
|
12
|
-
file: File;
|
|
13
|
-
status: FileUploadStatus;
|
|
14
|
-
/** Host-owned upload ref. Set after the selected file reaches storage. */
|
|
15
|
-
ref?: string;
|
|
16
|
-
progress?: number;
|
|
17
|
-
error?: string;
|
|
18
|
-
}
|
|
19
|
-
export interface FileUploadParam extends BaseParam {
|
|
20
|
-
type: "fileUpload";
|
|
21
|
-
defaultValue: FileUploadValue[];
|
|
22
|
-
accept?: string;
|
|
23
|
-
multiple?: boolean;
|
|
24
|
-
uploadLabel?: string;
|
|
25
|
-
}
|
|
26
|
-
export interface InputGroup extends Omit<ControlGroup, "params"> {
|
|
27
|
-
params: Param[];
|
|
28
|
-
}
|
|
29
|
-
export type Param = ControlParam | PropertyParam | FileUploadParam;
|
|
30
|
-
export type ParamValue = ControlValue | FileUploadValue[];
|
|
31
|
-
export type ParamValueMap = Record<string, ParamValue>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Alert as ChakraAlert } from '@chakra-ui/react';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
export interface AlertProps extends Omit<ChakraAlert.RootProps, "title"> {
|
|
4
|
-
startElement?: React.ReactNode;
|
|
5
|
-
endElement?: React.ReactNode;
|
|
6
|
-
title?: React.ReactNode;
|
|
7
|
-
icon?: React.ReactElement;
|
|
8
|
-
}
|
|
9
|
-
export declare const AlertMessage: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Breadcrumb as ChakraBreadcrumb, SystemStyleObject } from '@chakra-ui/react';
|
|
2
|
-
import { ResourceContextAction } from '../overlays/resource-context-menu';
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
export interface BreadcrumbItem {
|
|
5
|
-
title: React.ReactNode;
|
|
6
|
-
url?: string;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
contextMenuActions?: ResourceContextAction[];
|
|
9
|
-
}
|
|
10
|
-
export interface BreadcrumbLinkProps {
|
|
11
|
-
to: string;
|
|
12
|
-
children: React.ReactNode;
|
|
13
|
-
}
|
|
14
|
-
export interface BreadcrumbProps extends ChakraBreadcrumb.RootProps {
|
|
15
|
-
separator?: React.ReactNode;
|
|
16
|
-
separatorGap?: SystemStyleObject["gap"];
|
|
17
|
-
items: BreadcrumbItem[];
|
|
18
|
-
linkComponent?: React.ComponentType<BreadcrumbLinkProps>;
|
|
19
|
-
}
|
|
20
|
-
export declare const Breadcrumb: React.ForwardRefExoticComponent<BreadcrumbProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Checkbox as ChakraCheckbox } from '@chakra-ui/react';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
export interface CheckboxProps extends ChakraCheckbox.RootProps {
|
|
4
|
-
icon?: React.ReactNode;
|
|
5
|
-
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
6
|
-
rootRef?: React.RefObject<HTMLLabelElement | null>;
|
|
7
|
-
}
|
|
8
|
-
export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BoxProps, TextProps } from '@chakra-ui/react';
|
|
2
|
-
export interface ContentPlaceholderProps extends BoxProps {
|
|
3
|
-
}
|
|
4
|
-
export declare const contentPlaceholderBackgroundImage = "url(\"data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.2' fillRule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E\")";
|
|
5
|
-
export declare const ContentPlaceholder: (props: ContentPlaceholderProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export declare const Label: (props: TextProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { EmptyState as ChakraEmptyState } from '@chakra-ui/react';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
/** Centered empty-state message with optional icon, description, and follow-up actions. */
|
|
4
|
-
export interface EmptyStateProps extends ChakraEmptyState.RootProps {
|
|
5
|
-
/** Primary empty-state message. */
|
|
6
|
-
title: string;
|
|
7
|
-
/** Supporting explanation shown below the title. */
|
|
8
|
-
description?: string;
|
|
9
|
-
/** Decorative or semantic icon shown above the message. */
|
|
10
|
-
icon?: React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
export declare const EmptyState: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Component, ErrorInfo, ReactNode } from 'react';
|
|
2
|
-
interface ErrorBoundaryProps {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
fallback?: ReactNode;
|
|
5
|
-
label?: string;
|
|
6
|
-
onReset?: () => void;
|
|
7
|
-
}
|
|
8
|
-
interface ErrorBoundaryState {
|
|
9
|
-
error: Error | null;
|
|
10
|
-
}
|
|
11
|
-
export declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
|
12
|
-
state: ErrorBoundaryState;
|
|
13
|
-
static getDerivedStateFromError(error: Error): {
|
|
14
|
-
error: Error;
|
|
15
|
-
};
|
|
16
|
-
componentDidCatch(error: Error, info: ErrorInfo): void;
|
|
17
|
-
handleReset: () => void;
|
|
18
|
-
render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
19
|
-
}
|
|
20
|
-
interface ErrorFallbackProps {
|
|
21
|
-
error: Error;
|
|
22
|
-
label?: string;
|
|
23
|
-
onReset?: () => void;
|
|
24
|
-
}
|
|
25
|
-
export declare const ErrorFallback: (props: ErrorFallbackProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export {};
|