@cueplusplus/ui 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2229 -0
- package/dist/agent-runtime/_glyphs.js +43 -0
- package/dist/agent-runtime/branch-picker.d.ts +45 -0
- package/dist/agent-runtime/branch-picker.js +87 -0
- package/dist/agent-runtime/index.d.ts +4 -0
- package/dist/agent-runtime/index.js +4 -0
- package/dist/agent-runtime/tool-call-card.d.ts +69 -0
- package/dist/agent-runtime/tool-call-card.js +187 -0
- package/dist/agent-runtime/use-agent-thread.d.ts +164 -0
- package/dist/agent-runtime/use-agent-thread.js +251 -0
- package/dist/chat/index.d.ts +2 -2
- package/dist/chat/message-list.d.ts +6 -0
- package/dist/chat/message-list.js +35 -0
- package/dist/chrome/app-shell.d.ts +52 -2
- package/dist/chrome/app-shell.js +80 -8
- package/dist/chrome/index.d.ts +2 -2
- package/dist/configurator/_export.js +3 -2
- package/dist/configurator/_overrides.d.ts +1 -1
- package/dist/configurator/token-editor.js +4 -1
- package/dist/date/_segments.js +37 -2
- package/dist/elements/activity-graph.d.ts +40 -0
- package/dist/elements/activity-graph.js +81 -0
- package/dist/elements/agent-card.d.ts +49 -0
- package/dist/elements/agent-card.js +91 -0
- package/dist/elements/agent-handoff.d.ts +24 -0
- package/dist/elements/agent-handoff.js +53 -0
- package/dist/elements/agent-mode-badge.d.ts +72 -0
- package/dist/elements/agent-mode-badge.js +110 -0
- package/dist/elements/agent-plan.d.ts +24 -0
- package/dist/elements/agent-plan.js +74 -0
- package/dist/elements/agent-status.d.ts +29 -0
- package/dist/elements/agent-status.js +46 -0
- package/dist/elements/agent-surface.d.ts +65 -0
- package/dist/elements/agent-surface.js +68 -0
- package/dist/elements/animated-number.d.ts +86 -0
- package/dist/elements/animated-number.js +118 -0
- package/dist/elements/approval-card.d.ts +40 -0
- package/dist/elements/approval-card.js +78 -0
- package/dist/elements/artifact-card.d.ts +30 -0
- package/dist/elements/artifact-card.js +58 -0
- package/dist/elements/background-inbox.d.ts +39 -0
- package/dist/elements/background-inbox.js +60 -0
- package/dist/elements/canvas-split.d.ts +77 -0
- package/dist/elements/canvas-split.js +138 -0
- package/dist/elements/chart.d.ts +41 -0
- package/dist/elements/chart.js +117 -0
- package/dist/elements/chat-panel.d.ts +46 -0
- package/dist/elements/chat-panel.js +104 -0
- package/dist/elements/checkpoint-history.d.ts +31 -0
- package/dist/elements/checkpoint-history.js +65 -0
- package/dist/elements/clamp.d.ts +90 -0
- package/dist/elements/clamp.js +109 -0
- package/dist/elements/code-diff.d.ts +42 -0
- package/dist/elements/code-diff.js +69 -0
- package/dist/elements/code-runner.d.ts +38 -0
- package/dist/elements/code-runner.js +84 -0
- package/dist/elements/command-palette.d.ts +48 -0
- package/dist/elements/command-palette.js +129 -0
- package/dist/elements/compaction-row.d.ts +63 -0
- package/dist/elements/compaction-row.js +110 -0
- package/dist/elements/comparison-card.d.ts +47 -0
- package/dist/elements/comparison-card.js +69 -0
- package/dist/elements/composer.d.ts +274 -0
- package/dist/elements/composer.js +505 -0
- package/dist/elements/computer-use.d.ts +40 -0
- package/dist/elements/computer-use.js +92 -0
- package/dist/elements/confidence-marker.d.ts +39 -0
- package/dist/elements/confidence-marker.js +64 -0
- package/dist/elements/connection-state.d.ts +29 -0
- package/dist/elements/connection-state.js +66 -0
- package/dist/elements/context-breakdown.d.ts +30 -0
- package/dist/elements/context-breakdown.js +86 -0
- package/dist/elements/context-usage.d.ts +99 -0
- package/dist/elements/context-usage.js +225 -0
- package/dist/elements/conversation-search.d.ts +48 -0
- package/dist/elements/conversation-search.js +88 -0
- package/dist/elements/cost-meter.d.ts +33 -0
- package/dist/elements/cost-meter.js +75 -0
- package/dist/elements/data-table.d.ts +31 -0
- package/dist/elements/data-table.js +67 -0
- package/dist/elements/day-separator.d.ts +34 -0
- package/dist/elements/day-separator.js +50 -0
- package/dist/elements/diagram.d.ts +34 -0
- package/dist/elements/diagram.js +75 -0
- package/dist/elements/document-reference.d.ts +37 -0
- package/dist/elements/document-reference.js +66 -0
- package/dist/elements/draft-restore.d.ts +27 -0
- package/dist/elements/draft-restore.js +54 -0
- package/dist/elements/edit-message.d.ts +36 -0
- package/dist/elements/edit-message.js +77 -0
- package/dist/elements/elements.css +459 -0
- package/dist/elements/elicitation-form.d.ts +48 -0
- package/dist/elements/elicitation-form.js +106 -0
- package/dist/elements/empty-state.d.ts +52 -0
- package/dist/elements/empty-state.js +98 -0
- package/dist/elements/end-of-turn-summary.d.ts +60 -0
- package/dist/elements/end-of-turn-summary.js +75 -0
- package/dist/elements/error-state.d.ts +29 -0
- package/dist/elements/error-state.js +55 -0
- package/dist/elements/feedback-dialog.d.ts +36 -0
- package/dist/elements/feedback-dialog.js +81 -0
- package/dist/elements/file-tree.d.ts +45 -0
- package/dist/elements/file-tree.js +84 -0
- package/dist/elements/flow-graph.d.ts +45 -0
- package/dist/elements/flow-graph.js +78 -0
- package/dist/elements/generative/chart.js +200 -0
- package/dist/elements/generative/faults.js +111 -0
- package/dist/elements/generative/icons.d.ts +41 -0
- package/dist/elements/generative/icons.js +190 -0
- package/dist/elements/generative/intrinsics.js +483 -0
- package/dist/elements/generative/spec.d.ts +110 -0
- package/dist/elements/generative/spec.js +366 -0
- package/dist/elements/generative.css +1145 -0
- package/dist/elements/generative.d.ts +144 -0
- package/dist/elements/generative.js +126 -0
- package/dist/elements/guardrail-notice.d.ts +29 -0
- package/dist/elements/guardrail-notice.js +63 -0
- package/dist/elements/image-generation.d.ts +18 -0
- package/dist/elements/image-generation.js +64 -0
- package/dist/elements/index.d.ts +116 -0
- package/dist/elements/index.js +115 -0
- package/dist/elements/inline-citation.d.ts +43 -0
- package/dist/elements/inline-citation.js +93 -0
- package/dist/elements/job-progress.d.ts +49 -0
- package/dist/elements/job-progress.js +74 -0
- package/dist/elements/launcher-bubble.d.ts +34 -0
- package/dist/elements/launcher-bubble.js +72 -0
- package/dist/elements/live-region-announcer.d.ts +130 -0
- package/dist/elements/live-region-announcer.js +230 -0
- package/dist/elements/loading-state.d.ts +27 -0
- package/dist/elements/loading-state.js +36 -0
- package/dist/elements/map-answer.d.ts +38 -0
- package/dist/elements/map-answer.js +93 -0
- package/dist/elements/markdown.d.ts +131 -0
- package/dist/elements/markdown.js +528 -0
- package/dist/elements/math-block.d.ts +51 -0
- package/dist/elements/math-block.js +70 -0
- package/dist/elements/mcp-server-panel.d.ts +41 -0
- package/dist/elements/mcp-server-panel.js +115 -0
- package/dist/elements/memory-chips.d.ts +30 -0
- package/dist/elements/memory-chips.js +43 -0
- package/dist/elements/message-actions.d.ts +38 -0
- package/dist/elements/message-actions.js +71 -0
- package/dist/elements/message-attachment.d.ts +48 -0
- package/dist/elements/message-attachment.js +63 -0
- package/dist/elements/message-branches.d.ts +25 -0
- package/dist/elements/message-branches.js +65 -0
- package/dist/elements/message-pair.d.ts +33 -0
- package/dist/elements/message-pair.js +65 -0
- package/dist/elements/message-queue.d.ts +31 -0
- package/dist/elements/message-queue.js +80 -0
- package/dist/elements/message-timing.d.ts +33 -0
- package/dist/elements/message-timing.js +37 -0
- package/dist/elements/mobile-composer.d.ts +44 -0
- package/dist/elements/mobile-composer.js +88 -0
- package/dist/elements/model-picker.d.ts +38 -0
- package/dist/elements/model-picker.js +69 -0
- package/dist/elements/number-ticker.d.ts +18 -0
- package/dist/elements/number-ticker.js +47 -0
- package/dist/elements/onboarding.d.ts +30 -0
- package/dist/elements/onboarding.js +75 -0
- package/dist/elements/permission-grant.d.ts +35 -0
- package/dist/elements/permission-grant.js +86 -0
- package/dist/elements/permission-scopes.d.ts +215 -0
- package/dist/elements/permission-scopes.js +249 -0
- package/dist/elements/prompt-library.d.ts +43 -0
- package/dist/elements/prompt-library.js +117 -0
- package/dist/elements/queue-dock.d.ts +101 -0
- package/dist/elements/queue-dock.js +132 -0
- package/dist/elements/quota-banner.d.ts +26 -0
- package/dist/elements/quota-banner.js +66 -0
- package/dist/elements/quote-reply.d.ts +44 -0
- package/dist/elements/quote-reply.js +79 -0
- package/dist/elements/range.d.ts +29 -0
- package/dist/elements/range.js +45 -0
- package/dist/elements/read-aloud.d.ts +45 -0
- package/dist/elements/read-aloud.js +75 -0
- package/dist/elements/reasoning-effort.d.ts +36 -0
- package/dist/elements/reasoning-effort.js +67 -0
- package/dist/elements/reasoning-panel.d.ts +46 -0
- package/dist/elements/reasoning-panel.js +75 -0
- package/dist/elements/recommendation-card.d.ts +45 -0
- package/dist/elements/recommendation-card.js +83 -0
- package/dist/elements/regenerate-menu.d.ts +45 -0
- package/dist/elements/regenerate-menu.js +51 -0
- package/dist/elements/replay.d.ts +217 -0
- package/dist/elements/replay.js +498 -0
- package/dist/elements/research-report.d.ts +38 -0
- package/dist/elements/research-report.js +69 -0
- package/dist/elements/retrieval-chunks.d.ts +43 -0
- package/dist/elements/retrieval-chunks.js +81 -0
- package/dist/elements/revert-dock.d.ts +159 -0
- package/dist/elements/revert-dock.js +327 -0
- package/dist/elements/reviewable-diff.d.ts +45 -0
- package/dist/elements/reviewable-diff.js +110 -0
- package/dist/elements/risk-badge.d.ts +52 -0
- package/dist/elements/risk-badge.js +91 -0
- package/dist/elements/schedule-card.d.ts +42 -0
- package/dist/elements/schedule-card.js +90 -0
- package/dist/elements/score-breakdown.d.ts +47 -0
- package/dist/elements/score-breakdown.js +82 -0
- package/dist/elements/scroll-anchor.d.ts +32 -0
- package/dist/elements/scroll-anchor.js +121 -0
- package/dist/elements/settings-panel.d.ts +52 -0
- package/dist/elements/settings-panel.js +107 -0
- package/dist/elements/shared-conversation.d.ts +39 -0
- package/dist/elements/shared-conversation.js +68 -0
- package/dist/elements/sources.d.ts +33 -0
- package/dist/elements/sources.js +61 -0
- package/dist/elements/speaker-identity.d.ts +32 -0
- package/dist/elements/speaker-identity.js +51 -0
- package/dist/elements/spec-sheet.d.ts +31 -0
- package/dist/elements/spec-sheet.js +45 -0
- package/dist/elements/stopped-run.d.ts +22 -0
- package/dist/elements/stopped-run.js +50 -0
- package/dist/elements/streaming-text.d.ts +31 -0
- package/dist/elements/streaming-text.js +45 -0
- package/dist/elements/subagent-list.d.ts +37 -0
- package/dist/elements/subagent-list.js +79 -0
- package/dist/elements/suggestions.d.ts +30 -0
- package/dist/elements/suggestions.js +36 -0
- package/dist/elements/surfaces.d.ts +85 -0
- package/dist/elements/surfaces.js +107 -0
- package/dist/elements/tail-status.d.ts +131 -0
- package/dist/elements/tail-status.js +94 -0
- package/dist/elements/terminal-block.d.ts +29 -0
- package/dist/elements/terminal-block.js +54 -0
- package/dist/elements/thinking-indicator.d.ts +18 -0
- package/dist/elements/thinking-indicator.js +36 -0
- package/dist/elements/thread-list.d.ts +35 -0
- package/dist/elements/thread-list.js +68 -0
- package/dist/elements/thread-search.d.ts +42 -0
- package/dist/elements/thread-search.js +99 -0
- package/dist/elements/timeline.d.ts +37 -0
- package/dist/elements/timeline.js +46 -0
- package/dist/elements/todo-list.d.ts +42 -0
- package/dist/elements/todo-list.js +59 -0
- package/dist/elements/tool-call.d.ts +41 -0
- package/dist/elements/tool-call.js +85 -0
- package/dist/elements/tool-error.d.ts +39 -0
- package/dist/elements/tool-error.js +76 -0
- package/dist/elements/tool-group.d.ts +45 -0
- package/dist/elements/tool-group.js +71 -0
- package/dist/elements/tool-timeline.d.ts +65 -0
- package/dist/elements/tool-timeline.js +88 -0
- package/dist/elements/trace-waterfall.d.ts +37 -0
- package/dist/elements/trace-waterfall.js +69 -0
- package/dist/elements/transcript-rules.d.ts +67 -0
- package/dist/elements/transcript-rules.js +95 -0
- package/dist/elements/turn-footer.d.ts +74 -0
- package/dist/elements/turn-footer.js +101 -0
- package/dist/elements/typing-indicator.d.ts +16 -0
- package/dist/elements/typing-indicator.js +51 -0
- package/dist/elements/verdict-row.d.ts +89 -0
- package/dist/elements/verdict-row.js +150 -0
- package/dist/elements/vocabulary.d.ts +612 -0
- package/dist/elements/vocabulary.js +611 -0
- package/dist/elements/voice-conversation.d.ts +49 -0
- package/dist/elements/voice-conversation.js +123 -0
- package/dist/elements/web-preview.d.ts +32 -0
- package/dist/elements/web-preview.js +66 -0
- package/dist/elements/web-search.d.ts +37 -0
- package/dist/elements/web-search.js +66 -0
- package/dist/elements/work-collapse.d.ts +103 -0
- package/dist/elements/work-collapse.js +131 -0
- package/dist/icons/containers.d.ts +89 -0
- package/dist/icons/containers.js +295 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/index.d.ts +6 -4
- package/dist/index.js +2 -1
- package/dist/instruments/two-step-button.js +25 -6
- package/dist/layout/sidebar.d.ts +19 -1
- package/dist/layout/sidebar.js +19 -1
- package/dist/primitives/button.js +11 -1
- package/dist/primitives/chip.d.ts +35 -9
- package/dist/primitives/chip.js +97 -11
- package/dist/system/agent-skin.d.ts +27 -0
- package/dist/system/agent-skin.js +20 -0
- package/dist/system/portal.d.ts +5 -3
- package/dist/system/portal.js +19 -5
- package/dist/system/theme-provider.js +54 -9
- package/dist/system/use-density.d.ts +9 -0
- package/dist/system/use-density.js +9 -0
- package/dist/system/use-isomorphic-layout-effect.js +19 -1
- package/dist/theming/_presets.d.ts +1 -1
- package/dist/theming/_presets.js +71 -8
- package/dist/theming/contrast.d.ts +16 -4
- package/dist/theming/contrast.js +33 -6
- package/dist/theming/create-theme.d.ts +6 -2
- package/dist/theming/create-theme.js +32 -5
- package/dist/theming/serialize.d.ts +10 -1
- package/dist/theming/serialize.js +62 -8
- package/manifest/components/activity-graph.json +88 -0
- package/manifest/components/agent-card.json +120 -0
- package/manifest/components/agent-handoff.json +87 -0
- package/manifest/components/agent-mode-badge.json +84 -0
- package/manifest/components/agent-plan.json +67 -0
- package/manifest/components/agent-status.json +73 -0
- package/manifest/components/agent-surface.json +78 -0
- package/manifest/components/alert-dialog.json +1 -1
- package/manifest/components/animated-number.json +67 -0
- package/manifest/components/app-shell.json +99 -7
- package/manifest/components/approval-card.json +106 -0
- package/manifest/components/artifact-card.json +81 -0
- package/manifest/components/audience-icon.json +52 -0
- package/manifest/components/background-inbox.json +71 -0
- package/manifest/components/branch-picker.json +124 -0
- package/manifest/components/button.json +1 -0
- package/manifest/components/canvas-split-body.json +62 -0
- package/manifest/components/canvas-split-document.json +54 -0
- package/manifest/components/canvas-split-header.json +83 -0
- package/manifest/components/canvas-split-line.json +62 -0
- package/manifest/components/canvas-split-message.json +62 -0
- package/manifest/components/canvas-split-thread.json +54 -0
- package/manifest/components/canvas-split.json +60 -0
- package/manifest/components/catalogue-icon.json +52 -0
- package/manifest/components/channel-beta-icon.json +52 -0
- package/manifest/components/channel-released-icon.json +52 -0
- package/manifest/components/chart.json +93 -0
- package/manifest/components/chat-empty-state.json +55 -0
- package/manifest/components/chat-panel-assistant-message.json +51 -0
- package/manifest/components/chat-panel-composer.json +66 -0
- package/manifest/components/chat-panel-messages.json +51 -0
- package/manifest/components/chat-panel-typing.json +51 -0
- package/manifest/components/chat-panel-user-message.json +51 -0
- package/manifest/components/chat-panel.json +57 -0
- package/manifest/components/checkpoint-history.json +80 -0
- package/manifest/components/chip.json +24 -12
- package/manifest/components/clamp.json +102 -0
- package/manifest/components/cli-tool-icon.json +52 -0
- package/manifest/components/code-diff.json +87 -0
- package/manifest/components/code-runner.json +97 -0
- package/manifest/components/compaction-row.json +100 -0
- package/manifest/components/comparison-card.json +83 -0
- package/manifest/components/composer-actions.json +65 -0
- package/manifest/components/composer-attach-button.json +65 -0
- package/manifest/components/composer-attachment-chip.json +75 -0
- package/manifest/components/composer-attachments.json +60 -0
- package/manifest/components/composer-bar.json +73 -0
- package/manifest/components/composer-command-item.json +79 -0
- package/manifest/components/composer-context.json +67 -0
- package/manifest/components/composer-input.json +73 -0
- package/manifest/components/composer-menu-item.json +72 -0
- package/manifest/components/composer-menu.json +79 -0
- package/manifest/components/composer-model-item.json +75 -0
- package/manifest/components/composer-model-trigger.json +75 -0
- package/manifest/components/composer-person-item.json +79 -0
- package/manifest/components/composer-send.json +80 -0
- package/manifest/components/composer-toolbar.json +65 -0
- package/manifest/components/composer-voice-button.json +68 -0
- package/manifest/components/composer-voice.json +75 -0
- package/manifest/components/computer-use.json +84 -0
- package/manifest/components/confidence-marker.json +74 -0
- package/manifest/components/connection-state.json +84 -0
- package/manifest/components/context-breakdown.json +65 -0
- package/manifest/components/context-usage.json +85 -0
- package/manifest/components/conversation-search.json +92 -0
- package/manifest/components/cost-meter.json +74 -0
- package/manifest/components/cue-portal-frame.json +1 -1
- package/manifest/components/day-separator.json +58 -0
- package/manifest/components/delegation-card.json +1 -1
- package/manifest/components/density.json +1 -1
- package/manifest/components/diagram.json +100 -0
- package/manifest/components/document-reference.json +90 -0
- package/manifest/components/draft-restore.json +82 -0
- package/manifest/components/drawer.json +1 -1
- package/manifest/components/dropdown-menu.json +1 -1
- package/manifest/components/edit-message.json +105 -0
- package/manifest/components/elements-command-palette.json +100 -0
- package/manifest/components/elements-composer.json +71 -0
- package/manifest/components/elements-data-table.json +68 -0
- package/manifest/components/elements-timeline.json +69 -0
- package/manifest/components/elicitation-form.json +103 -0
- package/manifest/components/empty-state-composer.json +64 -0
- package/manifest/components/empty-state-greeting.json +49 -0
- package/manifest/components/empty-state-suggestion.json +57 -0
- package/manifest/components/empty-state-suggestions.json +49 -0
- package/manifest/components/end-of-turn-summary.json +77 -0
- package/manifest/components/error-state.json +80 -0
- package/manifest/components/feedback-dialog.json +107 -0
- package/manifest/components/file-tree.json +83 -0
- package/manifest/components/flow-graph.json +75 -0
- package/manifest/components/folder-icon.json +52 -0
- package/manifest/components/frac.json +59 -0
- package/manifest/components/generation-loader.json +64 -0
- package/manifest/components/generative-ui.json +93 -0
- package/manifest/components/guardrail-notice.json +91 -0
- package/manifest/components/hover-card.json +1 -1
- package/manifest/components/image-generation.json +67 -0
- package/manifest/components/info-tip.json +1 -1
- package/manifest/components/inline-citation.json +77 -0
- package/manifest/components/job-progress.json +96 -0
- package/manifest/components/launcher-bubble.json +105 -0
- package/manifest/components/live-region-announcer.json +79 -0
- package/manifest/components/map-answer.json +83 -0
- package/manifest/components/markdown-text.json +94 -0
- package/manifest/components/math-block.json +74 -0
- package/manifest/components/mcp-server-icon.json +52 -0
- package/manifest/components/mcp-server-panel.json +87 -0
- package/manifest/components/memory-chips.json +65 -0
- package/manifest/components/message-actions.json +99 -0
- package/manifest/components/message-attachments.json +63 -0
- package/manifest/components/message-branches.json +71 -0
- package/manifest/components/message-list.json +1 -1
- package/manifest/components/message-pair.json +86 -0
- package/manifest/components/message-queue.json +74 -0
- package/manifest/components/message-timing.json +62 -0
- package/manifest/components/mobile-composer.json +126 -0
- package/manifest/components/model-picker.json +76 -0
- package/manifest/components/node-card.json +1 -1
- package/manifest/components/node-handle.json +1 -1
- package/manifest/components/number-ticker.json +61 -0
- package/manifest/components/onboarding.json +84 -0
- package/manifest/components/otp-field.json +7 -7
- package/manifest/components/permission-grant.json +92 -0
- package/manifest/components/permission-scopes.json +139 -0
- package/manifest/components/popover.json +1 -1
- package/manifest/components/prompt-library.json +99 -0
- package/manifest/components/queue-dock.json +110 -0
- package/manifest/components/quota-banner.json +94 -0
- package/manifest/components/quote-reply.json +105 -0
- package/manifest/components/read-aloud.json +111 -0
- package/manifest/components/reasoning-effort.json +81 -0
- package/manifest/components/reasoning-panel.json +108 -0
- package/manifest/components/recommendation-card.json +107 -0
- package/manifest/components/regenerate-menu.json +89 -0
- package/manifest/components/replay-player.json +102 -0
- package/manifest/components/research-report.json +76 -0
- package/manifest/components/retrieval-chunks.json +84 -0
- package/manifest/components/revert-dock.json +150 -0
- package/manifest/components/reviewable-diff.json +93 -0
- package/manifest/components/risk-badge.json +74 -0
- package/manifest/components/schedule-card.json +101 -0
- package/manifest/components/score-breakdown.json +91 -0
- package/manifest/components/scroll-anchor.json +72 -0
- package/manifest/components/scroll-area.json +7 -7
- package/manifest/components/search-input.json +7 -7
- package/manifest/components/segmented-control.json +21 -21
- package/manifest/components/settings-panel.json +118 -0
- package/manifest/components/shared-conversation.json +89 -0
- package/manifest/components/shimmer-label.json +59 -0
- package/manifest/components/skill-icon.json +52 -0
- package/manifest/components/sources.json +83 -0
- package/manifest/components/speaker-identity.json +61 -0
- package/manifest/components/spec-sheet.json +80 -0
- package/manifest/components/stack-icon.json +52 -0
- package/manifest/components/stacks-matrix-icon.json +52 -0
- package/manifest/components/stat.json +1 -1
- package/manifest/components/status-dot.json +1 -1
- package/manifest/components/stopped-run.json +81 -0
- package/manifest/components/streaming-text.json +71 -0
- package/manifest/components/sub.json +44 -0
- package/manifest/components/subagent-list.json +88 -0
- package/manifest/components/suggestions.json +84 -0
- package/manifest/components/sup.json +44 -0
- package/manifest/components/swap-label.json +71 -0
- package/manifest/components/tail-status.json +109 -0
- package/manifest/components/terminal-block.json +91 -0
- package/manifest/components/theme-provider.json +2 -2
- package/manifest/components/thinking-indicator.json +63 -0
- package/manifest/components/thread-list.json +76 -0
- package/manifest/components/thread-search.json +90 -0
- package/manifest/components/threshold-rail.json +2 -2
- package/manifest/components/time-boundary.json +62 -0
- package/manifest/components/timeline.json +1 -1
- package/manifest/components/todo-list.json +69 -0
- package/manifest/components/toggle-group.json +7 -7
- package/manifest/components/token-editor.json +1 -1
- package/manifest/components/tool-call-card.json +200 -0
- package/manifest/components/tool-call.json +119 -0
- package/manifest/components/tool-error.json +114 -0
- package/manifest/components/tool-group.json +83 -0
- package/manifest/components/tool-timeline.json +119 -0
- package/manifest/components/toolbar.json +7 -7
- package/manifest/components/tooltip.json +1 -1
- package/manifest/components/trace-waterfall.json +74 -0
- package/manifest/components/turn-footer.json +105 -0
- package/manifest/components/typing-indicator.json +53 -0
- package/manifest/components/unread-divider.json +55 -0
- package/manifest/components/usage-chart.json +1 -1
- package/manifest/components/verdict-row.json +91 -0
- package/manifest/components/voice-conversation.json +109 -0
- package/manifest/components/web-preview.json +87 -0
- package/manifest/components/web-search.json +92 -0
- package/manifest/components/work-collapse.json +102 -0
- package/manifest/manifest.json +2670 -33
- package/manifest/tokens.json +22 -1
- package/package.json +46 -4
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
//#region src/icons/containers.tsx
|
|
3
|
+
/**
|
|
4
|
+
* The containers a catalogue sorts things into, drawn.
|
|
5
|
+
*
|
|
6
|
+
* A console's navigation column is a list of *places*: everything, one person's
|
|
7
|
+
* stack, everyone's stacks at once, an audience, a channel, a folder somebody
|
|
8
|
+
* made, and the two kinds of thing a registry files beside a skill. Every one
|
|
9
|
+
* of those rows has a name, and a name is enough — right up until the column
|
|
10
|
+
* rails, at which point the row is nothing but its glyph and a place with no
|
|
11
|
+
* glyph is a place that has disappeared. That is what this set is for, and it
|
|
12
|
+
* is why it is a set rather than ten icons: they are read in one column, one
|
|
13
|
+
* after another, so a grid or a weight that drifts on any one of them is read
|
|
14
|
+
* as a mistake on that row rather than as a style.
|
|
15
|
+
*
|
|
16
|
+
* Drawn inline, on the same terms as the library's own `_glyphs` modules: a
|
|
17
|
+
* navigation column should not put an icon dependency on its render path, and
|
|
18
|
+
* hand-set strokes stay hairline-thin at the 10–16px `--cue-icon-*` sizes
|
|
19
|
+
* console density asks for. `lucide-react` stays the answer for everything
|
|
20
|
+
* outside this vocabulary — it is an optional peer, and these ten are here
|
|
21
|
+
* only because no icon library has a mark for "everyone's stacks, side by
|
|
22
|
+
* side".
|
|
23
|
+
*
|
|
24
|
+
* Three rules hold the set together, and the suite holds all three:
|
|
25
|
+
*
|
|
26
|
+
* - **One grid.** `0 0 16 16` at `stroke-width` 1.5, the grid and the weight
|
|
27
|
+
* every glyph in this library is already drawn on. A 24 grid is what
|
|
28
|
+
* `lucide-react` uses and what the prototype these came from used, but 1.5
|
|
29
|
+
* on a 24 grid renders two-thirds the weight of 1.5 on a 16 grid at the same
|
|
30
|
+
* box — so matching the number there would have meant not matching the line.
|
|
31
|
+
* The line is the thing a reader sees.
|
|
32
|
+
* - **No size.** No `width`, no `height`: the caller sizes them, and in this
|
|
33
|
+
* library that means a density token — `size-icon-md` on a navigation row,
|
|
34
|
+
* `size-icon-sm` inside a control. An icon that measured itself would be the
|
|
35
|
+
* one thing in a density island that did not move.
|
|
36
|
+
* - **No colour.** `currentColor` throughout, so the tone comes from the row:
|
|
37
|
+
* muted at rest, `--cue-fg` when it is the current place, `--cue-danger`
|
|
38
|
+
* inside a destructive menu item. Nothing here reads a token directly.
|
|
39
|
+
*
|
|
40
|
+
* They are decorative by default — `aria-hidden` — because they mark a row that
|
|
41
|
+
* already carries its name, and a second announcement of the same word is
|
|
42
|
+
* noise. The props spread last, so a glyph that has become the *only* name for
|
|
43
|
+
* something (an icon-only rail with no `sr-only` label, which is a shape this
|
|
44
|
+
* library argues against but does not forbid) can be turned back into a picture
|
|
45
|
+
* with `aria-hidden={false} role="img"` and a `<title>`.
|
|
46
|
+
*/
|
|
47
|
+
/**
|
|
48
|
+
* The chassis every icon in the set is drawn on.
|
|
49
|
+
*
|
|
50
|
+
* One object rather than six attributes written ten times: consistency by
|
|
51
|
+
* construction is the only kind that survives an eleventh icon being added in a
|
|
52
|
+
* hurry.
|
|
53
|
+
*
|
|
54
|
+
* @internal Not part of the public API.
|
|
55
|
+
*/
|
|
56
|
+
const CONTAINER_ICON = {
|
|
57
|
+
viewBox: "0 0 16 16",
|
|
58
|
+
fill: "none",
|
|
59
|
+
stroke: "currentColor",
|
|
60
|
+
strokeWidth: "1.5",
|
|
61
|
+
strokeLinecap: "round",
|
|
62
|
+
strokeLinejoin: "round",
|
|
63
|
+
"aria-hidden": true
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* The catalogue itself: everything there is, before anything has been narrowed.
|
|
67
|
+
*
|
|
68
|
+
* One tile repeated over a 2×2 rather than a stack of rows, because the row
|
|
69
|
+
* this marks is the one that *undoes* a filter — "all of it" is a shape, and a
|
|
70
|
+
* list glyph would have promised an ordering the row does not have.
|
|
71
|
+
*/
|
|
72
|
+
function CatalogueIcon(props) {
|
|
73
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
74
|
+
...CONTAINER_ICON,
|
|
75
|
+
...props,
|
|
76
|
+
children: [
|
|
77
|
+
/* @__PURE__ */ jsx("rect", {
|
|
78
|
+
x: "2.25",
|
|
79
|
+
y: "2.25",
|
|
80
|
+
width: "5",
|
|
81
|
+
height: "5",
|
|
82
|
+
rx: "1"
|
|
83
|
+
}),
|
|
84
|
+
/* @__PURE__ */ jsx("rect", {
|
|
85
|
+
x: "8.75",
|
|
86
|
+
y: "2.25",
|
|
87
|
+
width: "5",
|
|
88
|
+
height: "5",
|
|
89
|
+
rx: "1"
|
|
90
|
+
}),
|
|
91
|
+
/* @__PURE__ */ jsx("rect", {
|
|
92
|
+
x: "2.25",
|
|
93
|
+
y: "8.75",
|
|
94
|
+
width: "5",
|
|
95
|
+
height: "5",
|
|
96
|
+
rx: "1"
|
|
97
|
+
}),
|
|
98
|
+
/* @__PURE__ */ jsx("rect", {
|
|
99
|
+
x: "8.75",
|
|
100
|
+
y: "8.75",
|
|
101
|
+
width: "5",
|
|
102
|
+
height: "5",
|
|
103
|
+
rx: "1"
|
|
104
|
+
})
|
|
105
|
+
]
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* One person's stack: the set of things they have actually installed.
|
|
110
|
+
*
|
|
111
|
+
* Plates seen edge-on — the layers idiom — because a stack is an accumulation
|
|
112
|
+
* and not a container: things go into it one at a time and the order they went
|
|
113
|
+
* in is part of what it is.
|
|
114
|
+
*/
|
|
115
|
+
function StackIcon(props) {
|
|
116
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
117
|
+
...CONTAINER_ICON,
|
|
118
|
+
...props,
|
|
119
|
+
children: [/* @__PURE__ */ jsx("path", { d: "M8 2.75 14 6l-6 3.25L2 6z" }), /* @__PURE__ */ jsx("path", { d: "m2 10 6 3.25L14 10" })]
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Every stack at once, one column each: who has what, read across.
|
|
124
|
+
*
|
|
125
|
+
* A table rather than more plates. The head rule and the name column are what
|
|
126
|
+
* make it a matrix instead of a grid — the question it answers is "which of
|
|
127
|
+
* these does that person not have", and that is a question with two axes.
|
|
128
|
+
*/
|
|
129
|
+
function StacksMatrixIcon(props) {
|
|
130
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
131
|
+
...CONTAINER_ICON,
|
|
132
|
+
...props,
|
|
133
|
+
children: [/* @__PURE__ */ jsx("rect", {
|
|
134
|
+
x: "2.25",
|
|
135
|
+
y: "3",
|
|
136
|
+
width: "11.5",
|
|
137
|
+
height: "10",
|
|
138
|
+
rx: "1.25"
|
|
139
|
+
}), /* @__PURE__ */ jsx("path", { d: "M2.25 6.5h11.5M6.25 6.5V13" })]
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* An audience: a named group of people something is published to.
|
|
144
|
+
*
|
|
145
|
+
* People, not an abstract shape. An audience is the one container in this set
|
|
146
|
+
* whose members are humans rather than artefacts, and drawing it as a diamond
|
|
147
|
+
* or a tag would have filed it with the folders — which is exactly the mistake
|
|
148
|
+
* a reader makes when deciding where to publish something.
|
|
149
|
+
*/
|
|
150
|
+
function AudienceIcon(props) {
|
|
151
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
152
|
+
...CONTAINER_ICON,
|
|
153
|
+
...props,
|
|
154
|
+
children: [
|
|
155
|
+
/* @__PURE__ */ jsx("circle", {
|
|
156
|
+
cx: "6.25",
|
|
157
|
+
cy: "5.5",
|
|
158
|
+
r: "2.25"
|
|
159
|
+
}),
|
|
160
|
+
/* @__PURE__ */ jsx("path", { d: "M2 13.25c0-2.2 1.9-3.5 4.25-3.5s4.25 1.3 4.25 3.5" }),
|
|
161
|
+
/* @__PURE__ */ jsx("path", { d: "M10.5 3.6a2.25 2.25 0 0 1 0 3.8" }),
|
|
162
|
+
/* @__PURE__ */ jsx("path", { d: "M11.9 9.95c1.35.5 2.1 1.6 2.1 3.3" })
|
|
163
|
+
]
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* The released channel: what a colleague gets when they install without asking
|
|
168
|
+
* for anything in particular.
|
|
169
|
+
*
|
|
170
|
+
* A ring filled solid. Its pair, {@link ChannelBetaIcon}, is the same ring
|
|
171
|
+
* filled halfway — the two are one mark told twice, so a reader never has to
|
|
172
|
+
* learn which of two unrelated pictures means "finished".
|
|
173
|
+
*/
|
|
174
|
+
function ChannelReleasedIcon(props) {
|
|
175
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
176
|
+
...CONTAINER_ICON,
|
|
177
|
+
...props,
|
|
178
|
+
children: [/* @__PURE__ */ jsx("circle", {
|
|
179
|
+
cx: "8",
|
|
180
|
+
cy: "8",
|
|
181
|
+
r: "5.5"
|
|
182
|
+
}), /* @__PURE__ */ jsx("circle", {
|
|
183
|
+
cx: "8",
|
|
184
|
+
cy: "8",
|
|
185
|
+
r: "3",
|
|
186
|
+
fill: "currentColor",
|
|
187
|
+
stroke: "none"
|
|
188
|
+
})]
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* The beta channel: the same things, one merge earlier.
|
|
193
|
+
*
|
|
194
|
+
* The released ring at half fill. Half rather than empty because a beta is not
|
|
195
|
+
* an absence of a release — it is a release that has not finished happening,
|
|
196
|
+
* and an empty ring would have read as "nothing here yet".
|
|
197
|
+
*/
|
|
198
|
+
function ChannelBetaIcon(props) {
|
|
199
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
200
|
+
...CONTAINER_ICON,
|
|
201
|
+
...props,
|
|
202
|
+
children: [/* @__PURE__ */ jsx("circle", {
|
|
203
|
+
cx: "8",
|
|
204
|
+
cy: "8",
|
|
205
|
+
r: "5.5"
|
|
206
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
207
|
+
d: "M8 5a3 3 0 0 1 0 6z",
|
|
208
|
+
fill: "currentColor",
|
|
209
|
+
stroke: "none"
|
|
210
|
+
})]
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* A folder somebody made: a shelf of bookmarks, filed by hand.
|
|
215
|
+
*
|
|
216
|
+
* The tab is the whole glyph. A plain rounded box in this library is a panel,
|
|
217
|
+
* a card or a dialog, and the one thing a folder has to say is that a person
|
|
218
|
+
* put these here on purpose rather than a query having returned them.
|
|
219
|
+
*/
|
|
220
|
+
function FolderIcon(props) {
|
|
221
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
222
|
+
...CONTAINER_ICON,
|
|
223
|
+
...props,
|
|
224
|
+
children: /* @__PURE__ */ jsx("path", { d: "M2 12.5V4.5a1 1 0 0 1 1-1h3.4l1.6 2H13a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1z" })
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* An MCP server in the registry: a thing an agent connects *to*.
|
|
229
|
+
*
|
|
230
|
+
* Two rack units with a status lamp each. It is drawn as hardware on purpose —
|
|
231
|
+
* an MCP server is the one entry in a catalogue of files that is a running
|
|
232
|
+
* process somewhere, with an address and a session, and a row that looked like
|
|
233
|
+
* a document would hide the only fact about it that matters operationally.
|
|
234
|
+
*/
|
|
235
|
+
function McpServerIcon(props) {
|
|
236
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
237
|
+
...CONTAINER_ICON,
|
|
238
|
+
...props,
|
|
239
|
+
children: [
|
|
240
|
+
/* @__PURE__ */ jsx("rect", {
|
|
241
|
+
x: "2.25",
|
|
242
|
+
y: "3",
|
|
243
|
+
width: "11.5",
|
|
244
|
+
height: "4.5",
|
|
245
|
+
rx: "1.25"
|
|
246
|
+
}),
|
|
247
|
+
/* @__PURE__ */ jsx("rect", {
|
|
248
|
+
x: "2.25",
|
|
249
|
+
y: "8.5",
|
|
250
|
+
width: "11.5",
|
|
251
|
+
height: "4.5",
|
|
252
|
+
rx: "1.25"
|
|
253
|
+
}),
|
|
254
|
+
/* @__PURE__ */ jsx("path", { d: "M4.75 5.25h.01M4.75 10.75h.01" })
|
|
255
|
+
]
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* A CLI tool in the registry: a thing that runs in a terminal.
|
|
260
|
+
*
|
|
261
|
+
* A window with a prompt in it, rather than a bare chevron. A chevron on its
|
|
262
|
+
* own is a disclosure everywhere else in this library, and a navigation row
|
|
263
|
+
* that appeared to expand and then navigated instead is a worse failure than a
|
|
264
|
+
* slightly busier glyph at 10px.
|
|
265
|
+
*/
|
|
266
|
+
function CliToolIcon(props) {
|
|
267
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
268
|
+
...CONTAINER_ICON,
|
|
269
|
+
...props,
|
|
270
|
+
children: [/* @__PURE__ */ jsx("rect", {
|
|
271
|
+
x: "2.25",
|
|
272
|
+
y: "2.75",
|
|
273
|
+
width: "11.5",
|
|
274
|
+
height: "10.5",
|
|
275
|
+
rx: "1.5"
|
|
276
|
+
}), /* @__PURE__ */ jsx("path", { d: "m5 6.75 1.9 1.75L5 10.25M8.75 10.25h2.5" })]
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* A skill: the thing every other container in this set holds.
|
|
281
|
+
*
|
|
282
|
+
* One mark, and a spark rather than a document, because what is being filed is
|
|
283
|
+
* a capability. The file it happens to be written in is an implementation
|
|
284
|
+
* detail of how it travels, and a page glyph would have made the catalogue look
|
|
285
|
+
* like a folder of documents rather than a list of things an agent can now do.
|
|
286
|
+
*/
|
|
287
|
+
function SkillIcon(props) {
|
|
288
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
289
|
+
...CONTAINER_ICON,
|
|
290
|
+
...props,
|
|
291
|
+
children: /* @__PURE__ */ jsx("path", { d: "M8 2.25 9.6 6.4l4.15 1.6-4.15 1.6L8 13.75 6.4 9.6 2.25 8 6.4 6.4z" })
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
//#endregion
|
|
295
|
+
export { AudienceIcon, CatalogueIcon, ChannelBetaIcon, ChannelReleasedIcon, CliToolIcon, FolderIcon, McpServerIcon, SkillIcon, StackIcon, StacksMatrixIcon };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { AudienceIcon, CatalogueIcon, ChannelBetaIcon, ChannelReleasedIcon, CliToolIcon, FolderIcon, McpServerIcon, SkillIcon, StackIcon, StacksMatrixIcon } from "./containers.js";
|
|
2
|
+
export { AudienceIcon, CatalogueIcon, ChannelBetaIcon, ChannelReleasedIcon, CliToolIcon, FolderIcon, McpServerIcon, SkillIcon, StackIcon, StacksMatrixIcon };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { AskAnswer, AskBox, AskBoxProps, AskDanger, AskKind, AskOption } from "./chat/ask-box.js";
|
|
2
|
+
import { Message, MessageProps, MessageRole } from "./chat/message.js";
|
|
1
3
|
import { AGENT_COLOR_PROPERTY, AGENT_HUES, AGENT_ROOT_COLOR, AgentColorOptions, agentColor, agentColorStyle } from "./chat/agent-color.js";
|
|
2
4
|
import { AgentPile, AgentPileEntry, AgentPileProps, AgentPileSize } from "./chat/agent-pile.js";
|
|
3
|
-
import { AskAnswer, AskBox, AskBoxProps, AskDanger, AskKind, AskOption } from "./chat/ask-box.js";
|
|
4
5
|
import { Composer, ComposerProps, ComposerSubmitKey } from "./chat/composer.js";
|
|
5
6
|
import { DelegationCard, DelegationCardProps, DelegationDirection, DelegationStatus } from "./chat/delegation-card.js";
|
|
6
|
-
import { Message, MessageProps, MessageRole } from "./chat/message.js";
|
|
7
7
|
import { MessageList, MessageListProps } from "./chat/message-list.js";
|
|
8
8
|
import "./chat/index.js";
|
|
9
9
|
import { ScrollEdges, TAB_FADE_PX, computeScrollEdges, edgeFadeMask } from "./chrome/_tabs-scroll.js";
|
|
@@ -13,7 +13,7 @@ import { Link, LinkProps, linkVariants } from "./layout/link.js";
|
|
|
13
13
|
import { Separator, SeparatorProps } from "./primitives/separator.js";
|
|
14
14
|
import { AppBar, AppBarActionsProps, AppBarBrandProps, AppBarLinkProps, AppBarNavProps, AppBarRegister, AppBarRootProps, AppBarSeparatorProps } from "./chrome/app-bar.js";
|
|
15
15
|
import { Sidebar, SidebarItemProps, SidebarRailProps, SidebarRootProps, SidebarSectionProps, useSidebar } from "./layout/sidebar.js";
|
|
16
|
-
import { AppShell, AppShellAsideProps, AppShellBodyProps, AppShellContentProps, AppShellNavTriggerProps, AppShellRootProps, AppShellScrollerProps, AppShellSidebarProps } from "./chrome/app-shell.js";
|
|
16
|
+
import { AppShell, AppShellAsideProps, AppShellBarProps, AppShellBodyProps, AppShellContentProps, AppShellNavTriggerProps, AppShellRootProps, AppShellScrollerProps, AppShellSidebarProps } from "./chrome/app-shell.js";
|
|
17
17
|
import { EmptyState, EmptyStateProps } from "./chrome/empty-state.js";
|
|
18
18
|
import { Eyebrow, EyebrowProps } from "./chrome/eyebrow.js";
|
|
19
19
|
import { Container, ContainerProps, ContainerWidth } from "./layout/container.js";
|
|
@@ -63,6 +63,8 @@ import { CueLogotype, CueLogotypeProps } from "./brand/cue-logotype.js";
|
|
|
63
63
|
import { CueMark, CueMarkProps } from "./brand/cue-mark.js";
|
|
64
64
|
import { Plussie, PlussieExpression, PlussieProps } from "./brand/plussie.js";
|
|
65
65
|
import "./brand/index.js";
|
|
66
|
+
import { AudienceIcon, CatalogueIcon, ChannelBetaIcon, ChannelReleasedIcon, CliToolIcon, FolderIcon, McpServerIcon, SkillIcon, StackIcon, StacksMatrixIcon } from "./icons/containers.js";
|
|
67
|
+
import "./icons/index.js";
|
|
66
68
|
import { AppWindowFrame, AppWindowFrameProps } from "./instruments/app-window-frame.js";
|
|
67
69
|
import { Button, ButtonProps, buttonVariants } from "./primitives/button.js";
|
|
68
70
|
import { CopyButton, CopyButtonProps } from "./instruments/copy-button.js";
|
|
@@ -118,4 +120,4 @@ import { DEFAULT_STORAGE_KEY, PersistedPreferences, PrepaintDefaults, PrepaintOp
|
|
|
118
120
|
import { ControlSize, useControlHeight, useDensity } from "./system/use-density.js";
|
|
119
121
|
import { useTheme } from "./system/use-theme.js";
|
|
120
122
|
import { DensityLevel, FontName, Mode, ThemeName } from "./system/index.js";
|
|
121
|
-
export { AGENT_COLOR_PROPERTY, AGENT_HUES, AGENT_ROOT_COLOR, Accordion, type AccordionHeaderProps, type AccordionItemProps, type AccordionPanelProps, type AccordionRootProps, type AccordionTriggerProps, type AgentColorOptions, AgentPile, type AgentPileEntry, type AgentPileProps, type AgentPileSize, AlertDialog, type AlertDialogActionProps, type AlertDialogCancelProps, type AlertDialogContentProps, type AlertDialogDescriptionProps, type AlertDialogFooterProps, type AlertDialogRootProps, type AlertDialogTitleProps, type AlertDialogTriggerProps, AppBar, type AppBarActionsProps, type AppBarBrandProps, type AppBarLinkProps, type AppBarNavProps, type AppBarRegister, type AppBarRootProps, type AppBarSeparatorProps, AppShell, type AppShellAsideProps, type AppShellBodyProps, type AppShellContentProps, type AppShellNavTriggerProps, type AppShellRootProps, type AppShellScrollerProps, type AppShellSidebarProps, AppWindowFrame, type AppWindowFrameProps, type AskAnswer, AskBox, type AskBoxProps, type AskDanger, type AskKind, type AskOption, Autocomplete, type AutocompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, type BarOverflow, type BrandAssetProps, type BrandSize, type BrandTone, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonProps, Card, type CardContentProps, type CardDescriptionProps, type CardFooterProps, type CardHeaderProps, type CardRootProps, type CardTitleProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, Collapsible, type CollapsiblePanelProps, type CollapsibleRootProps, type CollapsibleTriggerProps, Combobox, type ComboboxOption, type ComboboxProps, CommandPalette, type CommandPaletteItem, type CommandPaletteProps, Composer, type ComposerProps, type ComposerSubmitKey, Container, type ContainerProps, type ContainerWidth, ContextMenu, type ContextMenuContentProps, type ContextMenuRootProps, type ContextMenuTriggerProps, type ControlSize, type ControlVariantProps, CopyButton, type CopyButtonProps, CueLogotype, type CueLogotypeProps, CueMark, type CueMarkProps, CuePortalFrame, type CuePortalFrameProps, DEFAULT_STORAGE_KEY, DelegationCard, type DelegationCardProps, type DelegationDirection, type DelegationStatus, Density, type DensityLevel, type DensityProps, DescriptionList, type DescriptionListDetailProps, type DescriptionListLayout, type DescriptionListRootProps, type DescriptionListTermProps, Dialog, type DialogCloseProps, type DialogContentProps, type DialogDescriptionProps, type DialogFooterProps, type DialogRootProps, type DialogTitleProps, type DialogTriggerProps, Disclosure, type DisclosureProps, Drawer, type DrawerCloseProps, type DrawerContentProps, type DrawerDescriptionProps, type DrawerFooterProps, type DrawerRootProps, type DrawerSwipeDirection, type DrawerTitleProps, type DrawerTriggerProps, DropdownMenu, type DropdownMenuCheckboxItemProps, type DropdownMenuContentProps, type DropdownMenuGroupProps, type DropdownMenuItemProps, type DropdownMenuLabelProps, type DropdownMenuRootProps, type DropdownMenuSeparatorProps, type DropdownMenuTriggerProps, EmptyState, type EmptyStateProps, EnvVarInput, type EnvVarInputProps, Eyebrow, type EyebrowProps, Field, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorProps, type FieldIssue, FieldLabel, type FieldLabelProps, type FieldProps, type FilePartition, type FilePartitionOptions, type FileRejectReason, type FileRejection, FileUpload, type FileUploadProps, type FontFamilies, type FontName, Footer, type FooterProps, type FormControlSize, Grid, type GridColumns, type GridProps, GroupBar, type GroupBarItem, type GroupBarProps, type GroupBarTone, HoverCard, type HoverCardContentProps, type HoverCardRootProps, type HoverCardTriggerProps, IconButton, type IconButtonProps, InfoTip, type InfoTipProps, Input, InputGroup, type InputGroupProps, type InputProps, Item, type ItemProps, Kbd, type KbdProps, Link, type LinkProps, Menubar, type MenubarContentProps, type MenubarMenuProps, type MenubarRootProps, type MenubarTriggerProps, Message, MessageList, type MessageListProps, type MessageProps, type MessageRole, Meter, type MeterProps, type MeterProvenance, type MeterTone, type Mode, MultiSelect, type MultiSelectProps, NavigationMenu, type NavigationMenuContentProps, type NavigationMenuItemProps, type NavigationMenuLinkProps, type NavigationMenuListProps, type NavigationMenuRootProps, type NavigationMenuTriggerProps, type NavigationMenuViewportProps, NumberField, type NumberFieldProps, OTPField, type OTPFieldProps, OVERLAY_SIDE_OFFSET, PageShell, type PageShellProps, type PageWidth, Pagination, type PaginationEntry, type PaginationProps, Panel, PanelHeader, type PanelHeaderProps, type PanelProps, PasswordInput, type PasswordInputProps, type PersistedPreferences, Plussie, type PlussieExpression, type PlussieProps, Popover, type PopoverCloseProps, type PopoverContentProps, type PopoverDescriptionProps, type PopoverRootProps, type PopoverTitleProps, type PopoverTriggerProps, type PrepaintDefaults, type PrepaintOptions, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rating, type RatingProps, type RatingSize, type ResolvedMode, Row, type RowProps, ScrollArea, type ScrollAreaOrientation, type ScrollAreaProps, type ScrollEdges, ScrollableTabsList, type ScrollableTabsListProps, ScrubInput, type ScrubInputProps, SeamCell, type SeamCellProps, SeamGrid, type SeamGridProps, type SeamGround, SeamList, type SeamListProps, SearchInput, type SearchInputProps, SectionHeader, type SectionHeaderProps, SegmentedControl, type SegmentedControlItem, type SegmentedControlProps, type SegmentedControlSize, Select, type SelectOption, type SelectProps, Separator, type SeparatorProps, Sheet, type SheetCloseProps, type SheetContentProps, type SheetDescriptionProps, type SheetFooterProps, type SheetRootProps, type SheetTitleProps, type SheetTriggerProps, Sidebar, type SidebarItemProps, type SidebarRailProps, type SidebarRootProps, type SidebarSectionProps, Skeleton, type SkeletonProps, Slider, type SliderProps, type SpaceStep, Sparkline, type SparklineProps, Spinner, type SpinnerProps, Stack, type StackAlign, type StackJustify, type StackProps, Stat, type StatProps, type StatTone, StatusBar, type StatusBarItemProps, type StatusBarProps, type StatusBarTone, StatusDot, type StatusDotProps, type StatusTone, Stepper, type StepperProps, type StepperState, type StepperStep, Switch, type SwitchProps, TAB_FADE_PX, TREE_GUIDE_GLYPHS, Table, type TableCaptionProps, type TableCellProps, type TableHeadProps, type TableRootProps, type TableRowProps, TableScrollRegion, type TableScrollRegionProps, type TableSectionProps, Tabs, type TabsListProps, type TabsPanelProps, type TabsRootProps, type TabsTabProps, TagsInput, type TagsInputProps, TerminalFrame, type TerminalFrameLine, type TerminalFrameProps, type TerminalLine, type TerminalLineTone, type TerminalScript, type TerminalStep, Textarea, type TextareaProps, type ThemeContextValue, type ThemeName, ThemeProvider, type ThemeProviderProps, Timeline, type TimelineContentProps, type TimelineItemProps, type TimelineMarkerProps, type TimelineRootProps, TitleBar, type TitleBarProps, Toast, type ToastManager, type ToastOptions, type ToastProviderProps, type ToastTone, type ToastViewportProps, Toggle, ToggleGroup, type ToggleGroupProps, type ToggleProps, Toolbar, type ToolbarButtonProps, type ToolbarGroupProps, type ToolbarRootProps, type ToolbarSeparatorProps, Tooltip, type TooltipContentProps, type TooltipProviderProps, type TooltipRootProps, type TooltipTriggerProps, Tree, type TreeGuide, type TreeItem, type TreeProps, type TreeRow, type TreeVisibility, TreeVisibilityToggle, type TreeVisibilityToggleProps, TwoStepButton, type TwoStepButtonProps, type TwoStepTone, type UploadFile, type UploadStatus, UsageChart, type UsageChartPoint, type UsageChartProps, type UsageChartTone, agentColor, agentColorStyle, bareControlClasses, buttonVariants, chipVariants, computeScrollEdges, controlClasses, controlGroupFocusClasses, controlSurface, controlVariants, edgeFadeMask, envReference, flattenTree, itemVariants, linkVariants, menuItemClasses, menuLabelClasses, menuPopupClasses, menuSeparatorClasses, overlayDescriptionClasses, overlayFooterClasses, overlayModalTransitionClasses, overlayPopupTransitionClasses, overlayPositionerClasses, overlaySurfaceClasses, overlayTextClasses, overlayTitleClasses, paginationRange, parseEnvReference, partitionFiles, prepaintScript, rowVariants, scrimClasses, useControlHeight, useCuePortalProps, useDensity, useSidebar, useTheme, useToast };
|
|
123
|
+
export { AGENT_COLOR_PROPERTY, AGENT_HUES, AGENT_ROOT_COLOR, Accordion, type AccordionHeaderProps, type AccordionItemProps, type AccordionPanelProps, type AccordionRootProps, type AccordionTriggerProps, type AgentColorOptions, AgentPile, type AgentPileEntry, type AgentPileProps, type AgentPileSize, AlertDialog, type AlertDialogActionProps, type AlertDialogCancelProps, type AlertDialogContentProps, type AlertDialogDescriptionProps, type AlertDialogFooterProps, type AlertDialogRootProps, type AlertDialogTitleProps, type AlertDialogTriggerProps, AppBar, type AppBarActionsProps, type AppBarBrandProps, type AppBarLinkProps, type AppBarNavProps, type AppBarRegister, type AppBarRootProps, type AppBarSeparatorProps, AppShell, type AppShellAsideProps, type AppShellBarProps, type AppShellBodyProps, type AppShellContentProps, type AppShellNavTriggerProps, type AppShellRootProps, type AppShellScrollerProps, type AppShellSidebarProps, AppWindowFrame, type AppWindowFrameProps, type AskAnswer, AskBox, type AskBoxProps, type AskDanger, type AskKind, type AskOption, AudienceIcon, Autocomplete, type AutocompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, type BarOverflow, type BrandAssetProps, type BrandSize, type BrandTone, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonProps, Card, type CardContentProps, type CardDescriptionProps, type CardFooterProps, type CardHeaderProps, type CardRootProps, type CardTitleProps, CatalogueIcon, ChannelBetaIcon, ChannelReleasedIcon, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, CliToolIcon, Collapsible, type CollapsiblePanelProps, type CollapsibleRootProps, type CollapsibleTriggerProps, Combobox, type ComboboxOption, type ComboboxProps, CommandPalette, type CommandPaletteItem, type CommandPaletteProps, Composer, type ComposerProps, type ComposerSubmitKey, Container, type ContainerProps, type ContainerWidth, ContextMenu, type ContextMenuContentProps, type ContextMenuRootProps, type ContextMenuTriggerProps, type ControlSize, type ControlVariantProps, CopyButton, type CopyButtonProps, CueLogotype, type CueLogotypeProps, CueMark, type CueMarkProps, CuePortalFrame, type CuePortalFrameProps, DEFAULT_STORAGE_KEY, DelegationCard, type DelegationCardProps, type DelegationDirection, type DelegationStatus, Density, type DensityLevel, type DensityProps, DescriptionList, type DescriptionListDetailProps, type DescriptionListLayout, type DescriptionListRootProps, type DescriptionListTermProps, Dialog, type DialogCloseProps, type DialogContentProps, type DialogDescriptionProps, type DialogFooterProps, type DialogRootProps, type DialogTitleProps, type DialogTriggerProps, Disclosure, type DisclosureProps, Drawer, type DrawerCloseProps, type DrawerContentProps, type DrawerDescriptionProps, type DrawerFooterProps, type DrawerRootProps, type DrawerSwipeDirection, type DrawerTitleProps, type DrawerTriggerProps, DropdownMenu, type DropdownMenuCheckboxItemProps, type DropdownMenuContentProps, type DropdownMenuGroupProps, type DropdownMenuItemProps, type DropdownMenuLabelProps, type DropdownMenuRootProps, type DropdownMenuSeparatorProps, type DropdownMenuTriggerProps, EmptyState, type EmptyStateProps, EnvVarInput, type EnvVarInputProps, Eyebrow, type EyebrowProps, Field, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorProps, type FieldIssue, FieldLabel, type FieldLabelProps, type FieldProps, type FilePartition, type FilePartitionOptions, type FileRejectReason, type FileRejection, FileUpload, type FileUploadProps, FolderIcon, type FontFamilies, type FontName, Footer, type FooterProps, type FormControlSize, Grid, type GridColumns, type GridProps, GroupBar, type GroupBarItem, type GroupBarProps, type GroupBarTone, HoverCard, type HoverCardContentProps, type HoverCardRootProps, type HoverCardTriggerProps, IconButton, type IconButtonProps, InfoTip, type InfoTipProps, Input, InputGroup, type InputGroupProps, type InputProps, Item, type ItemProps, Kbd, type KbdProps, Link, type LinkProps, McpServerIcon, Menubar, type MenubarContentProps, type MenubarMenuProps, type MenubarRootProps, type MenubarTriggerProps, Message, MessageList, type MessageListProps, type MessageProps, type MessageRole, Meter, type MeterProps, type MeterProvenance, type MeterTone, type Mode, MultiSelect, type MultiSelectProps, NavigationMenu, type NavigationMenuContentProps, type NavigationMenuItemProps, type NavigationMenuLinkProps, type NavigationMenuListProps, type NavigationMenuRootProps, type NavigationMenuTriggerProps, type NavigationMenuViewportProps, NumberField, type NumberFieldProps, OTPField, type OTPFieldProps, OVERLAY_SIDE_OFFSET, PageShell, type PageShellProps, type PageWidth, Pagination, type PaginationEntry, type PaginationProps, Panel, PanelHeader, type PanelHeaderProps, type PanelProps, PasswordInput, type PasswordInputProps, type PersistedPreferences, Plussie, type PlussieExpression, type PlussieProps, Popover, type PopoverCloseProps, type PopoverContentProps, type PopoverDescriptionProps, type PopoverRootProps, type PopoverTitleProps, type PopoverTriggerProps, type PrepaintDefaults, type PrepaintOptions, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rating, type RatingProps, type RatingSize, type ResolvedMode, Row, type RowProps, ScrollArea, type ScrollAreaOrientation, type ScrollAreaProps, type ScrollEdges, ScrollableTabsList, type ScrollableTabsListProps, ScrubInput, type ScrubInputProps, SeamCell, type SeamCellProps, SeamGrid, type SeamGridProps, type SeamGround, SeamList, type SeamListProps, SearchInput, type SearchInputProps, SectionHeader, type SectionHeaderProps, SegmentedControl, type SegmentedControlItem, type SegmentedControlProps, type SegmentedControlSize, Select, type SelectOption, type SelectProps, Separator, type SeparatorProps, Sheet, type SheetCloseProps, type SheetContentProps, type SheetDescriptionProps, type SheetFooterProps, type SheetRootProps, type SheetTitleProps, type SheetTriggerProps, Sidebar, type SidebarItemProps, type SidebarRailProps, type SidebarRootProps, type SidebarSectionProps, Skeleton, type SkeletonProps, SkillIcon, Slider, type SliderProps, type SpaceStep, Sparkline, type SparklineProps, Spinner, type SpinnerProps, Stack, type StackAlign, StackIcon, type StackJustify, type StackProps, StacksMatrixIcon, Stat, type StatProps, type StatTone, StatusBar, type StatusBarItemProps, type StatusBarProps, type StatusBarTone, StatusDot, type StatusDotProps, type StatusTone, Stepper, type StepperProps, type StepperState, type StepperStep, Switch, type SwitchProps, TAB_FADE_PX, TREE_GUIDE_GLYPHS, Table, type TableCaptionProps, type TableCellProps, type TableHeadProps, type TableRootProps, type TableRowProps, TableScrollRegion, type TableScrollRegionProps, type TableSectionProps, Tabs, type TabsListProps, type TabsPanelProps, type TabsRootProps, type TabsTabProps, TagsInput, type TagsInputProps, TerminalFrame, type TerminalFrameLine, type TerminalFrameProps, type TerminalLine, type TerminalLineTone, type TerminalScript, type TerminalStep, Textarea, type TextareaProps, type ThemeContextValue, type ThemeName, ThemeProvider, type ThemeProviderProps, Timeline, type TimelineContentProps, type TimelineItemProps, type TimelineMarkerProps, type TimelineRootProps, TitleBar, type TitleBarProps, Toast, type ToastManager, type ToastOptions, type ToastProviderProps, type ToastTone, type ToastViewportProps, Toggle, ToggleGroup, type ToggleGroupProps, type ToggleProps, Toolbar, type ToolbarButtonProps, type ToolbarGroupProps, type ToolbarRootProps, type ToolbarSeparatorProps, Tooltip, type TooltipContentProps, type TooltipProviderProps, type TooltipRootProps, type TooltipTriggerProps, Tree, type TreeGuide, type TreeItem, type TreeProps, type TreeRow, type TreeVisibility, TreeVisibilityToggle, type TreeVisibilityToggleProps, TwoStepButton, type TwoStepButtonProps, type TwoStepTone, type UploadFile, type UploadStatus, UsageChart, type UsageChartPoint, type UsageChartProps, type UsageChartTone, agentColor, agentColorStyle, bareControlClasses, buttonVariants, chipVariants, computeScrollEdges, controlClasses, controlGroupFocusClasses, controlSurface, controlVariants, edgeFadeMask, envReference, flattenTree, itemVariants, linkVariants, menuItemClasses, menuLabelClasses, menuPopupClasses, menuSeparatorClasses, overlayDescriptionClasses, overlayFooterClasses, overlayModalTransitionClasses, overlayPopupTransitionClasses, overlayPositionerClasses, overlaySurfaceClasses, overlayTextClasses, overlayTitleClasses, paginationRange, parseEnvReference, partitionFiles, prepaintScript, rowVariants, scrimClasses, useControlHeight, useCuePortalProps, useDensity, useSidebar, useTheme, useToast };
|
package/dist/index.js
CHANGED
|
@@ -66,6 +66,7 @@ import { TagsInput } from "./forms/tags-input.js";
|
|
|
66
66
|
import { Textarea } from "./forms/textarea.js";
|
|
67
67
|
import { ToggleGroup } from "./forms/toggle-group.js";
|
|
68
68
|
import { Toggle } from "./forms/toggle.js";
|
|
69
|
+
import { AudienceIcon, CatalogueIcon, ChannelBetaIcon, ChannelReleasedIcon, CliToolIcon, FolderIcon, McpServerIcon, SkillIcon, StackIcon, StacksMatrixIcon } from "./icons/containers.js";
|
|
69
70
|
import { AppWindowFrame } from "./instruments/app-window-frame.js";
|
|
70
71
|
import { CopyButton } from "./instruments/copy-button.js";
|
|
71
72
|
import { GroupBar } from "./instruments/group-bar.js";
|
|
@@ -107,4 +108,4 @@ import { Kbd } from "./primitives/kbd.js";
|
|
|
107
108
|
import { Skeleton } from "./primitives/skeleton.js";
|
|
108
109
|
import { useControlHeight, useDensity } from "./system/use-density.js";
|
|
109
110
|
import { useTheme } from "./system/use-theme.js";
|
|
110
|
-
export { AGENT_COLOR_PROPERTY, AGENT_HUES, AGENT_ROOT_COLOR, Accordion, AgentPile, AlertDialog, AppBar, AppShell, AppWindowFrame, AskBox, Autocomplete, Avatar, AvatarGroup, Breadcrumb, Button, ButtonGroup, Card, Checkbox, CheckboxGroup, Chip, Collapsible, Combobox, CommandPalette, Composer, Container, ContextMenu, CopyButton, CueLogotype, CueMark, CuePortalFrame, DEFAULT_STORAGE_KEY, DelegationCard, Density, DescriptionList, Dialog, Disclosure, Drawer, DropdownMenu, EmptyState, EnvVarInput, Eyebrow, Field, FieldDescription, FieldError, FieldLabel, FileUpload, Footer, Grid, GroupBar, HoverCard, IconButton, InfoTip, Input, InputGroup, Item, Kbd, Link, Menubar, Message, MessageList, Meter, MultiSelect, NavigationMenu, NumberField, OTPField, OVERLAY_SIDE_OFFSET, PageShell, Pagination, Panel, PanelHeader, PasswordInput, Plussie, Popover, Progress, Radio, RadioGroup, Rating, Row, ScrollArea, ScrollableTabsList, ScrubInput, SeamCell, SeamGrid, SeamList, SearchInput, SectionHeader, SegmentedControl, Select, Separator, Sheet, Sidebar, Skeleton, Slider, Sparkline, Spinner, Stack, Stat, StatusBar, StatusDot, Stepper, Switch, TAB_FADE_PX, TREE_GUIDE_GLYPHS, Table, TableScrollRegion, Tabs, TagsInput, TerminalFrame, Textarea, ThemeProvider, Timeline, TitleBar, Toast, Toggle, ToggleGroup, Toolbar, Tooltip, Tree, TreeVisibilityToggle, TwoStepButton, UsageChart, agentColor, agentColorStyle, bareControlClasses, buttonVariants, chipVariants, computeScrollEdges, controlClasses, controlGroupFocusClasses, controlSurface, controlVariants, edgeFadeMask, envReference, flattenTree, itemVariants, linkVariants, menuItemClasses, menuLabelClasses, menuPopupClasses, menuSeparatorClasses, overlayDescriptionClasses, overlayFooterClasses, overlayModalTransitionClasses, overlayPopupTransitionClasses, overlayPositionerClasses, overlaySurfaceClasses, overlayTextClasses, overlayTitleClasses, paginationRange, parseEnvReference, partitionFiles, prepaintScript, rowVariants, scrimClasses, useControlHeight, useCuePortalProps, useDensity, useSidebar, useTheme, useToast };
|
|
111
|
+
export { AGENT_COLOR_PROPERTY, AGENT_HUES, AGENT_ROOT_COLOR, Accordion, AgentPile, AlertDialog, AppBar, AppShell, AppWindowFrame, AskBox, AudienceIcon, Autocomplete, Avatar, AvatarGroup, Breadcrumb, Button, ButtonGroup, Card, CatalogueIcon, ChannelBetaIcon, ChannelReleasedIcon, Checkbox, CheckboxGroup, Chip, CliToolIcon, Collapsible, Combobox, CommandPalette, Composer, Container, ContextMenu, CopyButton, CueLogotype, CueMark, CuePortalFrame, DEFAULT_STORAGE_KEY, DelegationCard, Density, DescriptionList, Dialog, Disclosure, Drawer, DropdownMenu, EmptyState, EnvVarInput, Eyebrow, Field, FieldDescription, FieldError, FieldLabel, FileUpload, FolderIcon, Footer, Grid, GroupBar, HoverCard, IconButton, InfoTip, Input, InputGroup, Item, Kbd, Link, McpServerIcon, Menubar, Message, MessageList, Meter, MultiSelect, NavigationMenu, NumberField, OTPField, OVERLAY_SIDE_OFFSET, PageShell, Pagination, Panel, PanelHeader, PasswordInput, Plussie, Popover, Progress, Radio, RadioGroup, Rating, Row, ScrollArea, ScrollableTabsList, ScrubInput, SeamCell, SeamGrid, SeamList, SearchInput, SectionHeader, SegmentedControl, Select, Separator, Sheet, Sidebar, Skeleton, SkillIcon, Slider, Sparkline, Spinner, Stack, StackIcon, StacksMatrixIcon, Stat, StatusBar, StatusDot, Stepper, Switch, TAB_FADE_PX, TREE_GUIDE_GLYPHS, Table, TableScrollRegion, Tabs, TagsInput, TerminalFrame, Textarea, ThemeProvider, Timeline, TitleBar, Toast, Toggle, ToggleGroup, Toolbar, Tooltip, Tree, TreeVisibilityToggle, TwoStepButton, UsageChart, agentColor, agentColorStyle, bareControlClasses, buttonVariants, chipVariants, computeScrollEdges, controlClasses, controlGroupFocusClasses, controlSurface, controlVariants, edgeFadeMask, envReference, flattenTree, itemVariants, linkVariants, menuItemClasses, menuLabelClasses, menuPopupClasses, menuSeparatorClasses, overlayDescriptionClasses, overlayFooterClasses, overlayModalTransitionClasses, overlayPopupTransitionClasses, overlayPositionerClasses, overlaySurfaceClasses, overlayTextClasses, overlayTitleClasses, paginationRange, parseEnvReference, partitionFiles, prepaintScript, rowVariants, scrimClasses, useControlHeight, useCuePortalProps, useDensity, useSidebar, useTheme, useToast };
|
|
@@ -7,14 +7,33 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
7
7
|
/**
|
|
8
8
|
* The armed confirm button's fill.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* `danger` variant
|
|
13
|
-
*
|
|
10
|
+
* Both tones now take the ink their own theme authors against them —
|
|
11
|
+
* `danger-fg` on the red, `warn-fg` on the amber — which is the same shape
|
|
12
|
+
* `Button`'s `danger` variant and `RevertDock`'s confirm paint on the red, and
|
|
13
|
+
* the only place in the package the amber's ink is spent.
|
|
14
|
+
*
|
|
15
|
+
* Both replaced literals, and both literals were wrong in the same way. The
|
|
16
|
+
* red's `text-white` measured 2.99:1 on cue's dark block, which is the default
|
|
17
|
+
* theme. The amber's `text-black` was the better guess of the two — an amber is
|
|
18
|
+
* usually light — but "usually" is not a measurement: it fell to 3.58:1 on
|
|
19
|
+
* requestport's light amber, 3.74:1 on dusk's and 4.22:1 on cue's own, because
|
|
20
|
+
* a light theme darkens its amber to clear the paper and a darkened amber wants
|
|
21
|
+
* paper back. Neither pairing could be fixed by choosing a better literal:
|
|
22
|
+
* which ink a tone can carry is a property of that tone, so each theme derives
|
|
23
|
+
* one. Both tokens clear 4.5:1 on all twenty shipped blocks, and
|
|
24
|
+
* `test/destructive-ink.test.ts` measures this string rather than trusting it.
|
|
25
|
+
*
|
|
26
|
+
* Both tokens are spelled without their prefix on purpose. `tokensUsed` in the
|
|
27
|
+
* package manifest is scanned out of the source text, *comments included*, so a
|
|
28
|
+
* `--cue-…` written in prose is published as a token this component resolves
|
|
29
|
+
* whether or not any class string resolves one. Spelling the amber's ink that
|
|
30
|
+
* way while the palette still had none would have published a token that did
|
|
31
|
+
* not exist; spelling it that way now would still put the claim in the wrong
|
|
32
|
+
* place. The class strings below are where this component names its tokens.
|
|
14
33
|
*/
|
|
15
34
|
const CONFIRM_TONES = {
|
|
16
|
-
danger: "border-transparent bg-danger text-
|
|
17
|
-
warn: "border-transparent bg-warn text-
|
|
35
|
+
danger: "border-transparent bg-danger text-danger-fg hover:opacity-90",
|
|
36
|
+
warn: "border-transparent bg-warn text-warn-fg hover:opacity-90"
|
|
18
37
|
};
|
|
19
38
|
/** The idle trigger: outline only, so a destructive action is never the loudest thing on screen. */
|
|
20
39
|
const IDLE_TONES = {
|
package/dist/layout/sidebar.d.ts
CHANGED
|
@@ -5,7 +5,25 @@ interface SidebarContextValue {
|
|
|
5
5
|
collapsed: boolean;
|
|
6
6
|
toggle: () => void;
|
|
7
7
|
}
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* Read the collapse state of the nearest {@link SidebarRoot}.
|
|
10
|
+
*
|
|
11
|
+
* Hands back `{ collapsed, toggle }`: whether the column is at its narrow
|
|
12
|
+
* width, and the same valve `Sidebar.Rail` pulls. It is for the part the kit
|
|
13
|
+
* does not ship — a footer that drops its labels when the column narrows, a
|
|
14
|
+
* keyboard shortcut, a collapse control somewhere other than the rail.
|
|
15
|
+
*
|
|
16
|
+
* Outside a `Sidebar.Root` it reports `collapsed: false` and a `toggle` that
|
|
17
|
+
* does nothing, rather than throwing. A row rendered on its own — in a test, on
|
|
18
|
+
* a docs page, in a menu that reuses the same markup — is a legitimate thing,
|
|
19
|
+
* and the honest answer for it is that nothing is collapsed.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* const { collapsed } = useSidebar();
|
|
23
|
+
* <Button variant="ghost" icon={Plus} aria-label="New scene">
|
|
24
|
+
* {collapsed ? null : "New scene"}
|
|
25
|
+
* </Button>
|
|
26
|
+
*/
|
|
9
27
|
declare function useSidebar(): SidebarContextValue;
|
|
10
28
|
/**
|
|
11
29
|
* Which landmark a navigation column announces as.
|
package/dist/layout/sidebar.js
CHANGED
|
@@ -15,7 +15,25 @@ const SidebarContext = React.createContext({
|
|
|
15
15
|
collapsed: false,
|
|
16
16
|
toggle: () => {}
|
|
17
17
|
});
|
|
18
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Read the collapse state of the nearest {@link SidebarRoot}.
|
|
20
|
+
*
|
|
21
|
+
* Hands back `{ collapsed, toggle }`: whether the column is at its narrow
|
|
22
|
+
* width, and the same valve `Sidebar.Rail` pulls. It is for the part the kit
|
|
23
|
+
* does not ship — a footer that drops its labels when the column narrows, a
|
|
24
|
+
* keyboard shortcut, a collapse control somewhere other than the rail.
|
|
25
|
+
*
|
|
26
|
+
* Outside a `Sidebar.Root` it reports `collapsed: false` and a `toggle` that
|
|
27
|
+
* does nothing, rather than throwing. A row rendered on its own — in a test, on
|
|
28
|
+
* a docs page, in a menu that reuses the same markup — is a legitimate thing,
|
|
29
|
+
* and the honest answer for it is that nothing is collapsed.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* const { collapsed } = useSidebar();
|
|
33
|
+
* <Button variant="ghost" icon={Plus} aria-label="New scene">
|
|
34
|
+
* {collapsed ? null : "New scene"}
|
|
35
|
+
* </Button>
|
|
36
|
+
*/
|
|
19
37
|
function useSidebar() {
|
|
20
38
|
return React.useContext(SidebarContext);
|
|
21
39
|
}
|
|
@@ -26,6 +26,16 @@ const buttonChassis = "inline-flex select-none items-center justify-center gap-[
|
|
|
26
26
|
* reads as white-on-black in `cue` and cyan-on-near-black in `terminal` with no
|
|
27
27
|
* per-theme branching here.
|
|
28
28
|
*
|
|
29
|
+
* `danger` is one of the two tones this system fills a control with — the other
|
|
30
|
+
* is the amber on `TwoStepButton`'s confirm — and they are the two the palette
|
|
31
|
+
* gives an ink of their own. It used to be painted `text-white`, a
|
|
32
|
+
* literal chosen when there was nothing else to choose: white measures 2.99:1
|
|
33
|
+
* on cue's own red in dark mode — the default theme, under AA and under the 3:1
|
|
34
|
+
* floor a non-text control gets — and under AA on eight of the ten dark blocks
|
|
35
|
+
* this system ships. `--cue-danger-fg` is authored against each theme's red and
|
|
36
|
+
* clears 4.5:1 on all twenty. `test/destructive-ink.test.ts` measures it here,
|
|
37
|
+
* at the call site, rather than measuring the token pair on its own.
|
|
38
|
+
*
|
|
29
39
|
* @internal Not part of the public API; imported by `icon-button.tsx`.
|
|
30
40
|
*/
|
|
31
41
|
const buttonTones = {
|
|
@@ -33,7 +43,7 @@ const buttonTones = {
|
|
|
33
43
|
secondary: "border border-border text-fg-muted hover:border-border-strong hover:text-fg bg-surface-2",
|
|
34
44
|
ghost: "text-fg-muted hover:text-fg hover:bg-surface-2 border border-transparent",
|
|
35
45
|
outline: "border border-border text-fg hover:border-accent hover:text-accent bg-transparent",
|
|
36
|
-
danger: "bg-danger text-
|
|
46
|
+
danger: "bg-danger text-danger-fg hover:opacity-90 border border-transparent",
|
|
37
47
|
"danger-outline": "border text-danger bg-transparent hover:bg-danger/10 border-danger/40"
|
|
38
48
|
};
|
|
39
49
|
/**
|
|
@@ -2,21 +2,36 @@ import { ClassProp, VariantProps } from "../lib/cva.js";
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
//#region src/primitives/chip.d.ts
|
|
4
4
|
/**
|
|
5
|
-
* The tinted-chip recipe: `bg-<tone>/10 border-<tone>/35 text-<tone
|
|
5
|
+
* The tinted-chip recipe: `bg-<tone>/10 border-<tone>/35 text-<tone>`, and the
|
|
6
|
+
* two quieter readings of it — `outline`, which drops the fill, and `tag`,
|
|
7
|
+
* which drops the fill and the voice with it.
|
|
6
8
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* `bg-transparent`
|
|
10
|
-
* utilities in the class string and
|
|
11
|
-
*
|
|
12
|
-
*
|
|
9
|
+
* Every property that varies is emitted from exactly one place: one rim, one
|
|
10
|
+
* ink, one fill, one gutter, one type size, always. Emitting `bg-<tone>/10`
|
|
11
|
+
* from the tone map and then cancelling it with `bg-transparent` would leave
|
|
12
|
+
* two competing utilities in the class string, and `chipVariants` is exported —
|
|
13
|
+
* a caller who uses it without `cn` gets a raw string where the winner is
|
|
14
|
+
* decided by stylesheet order rather than by which utility was written last.
|
|
15
|
+
* `h-chip h-4` proves the point at the other end: `tailwind-merge` cannot even
|
|
16
|
+
* see that as a conflict, because `chip` is a token name and not a scale step.
|
|
17
|
+
* So nothing here cancels anything. What varies moves into `variants` or
|
|
18
|
+
* `compoundVariants` until only one of it is ever emitted.
|
|
19
|
+
*
|
|
20
|
+
* That is why `neutral` carries no rim of its own. The other six tones rim
|
|
21
|
+
* themselves at `/35` in all three variants, but the neutral line has two
|
|
22
|
+
* weights in this system: `--cue-border` is a box edge, and a chip is a box;
|
|
23
|
+
* `--cue-hair-strong` is the rule between things, and a tag is a mark on the
|
|
24
|
+
* page rather than a container. The rim is therefore a compound of tone and
|
|
25
|
+
* variant, exactly as the fill is.
|
|
13
26
|
*
|
|
14
27
|
* @example
|
|
15
28
|
* <span className={chipVariants({ tone: "danger", variant: "outline" })}>fault</span>
|
|
29
|
+
* @example
|
|
30
|
+
* <span className={chipVariants({ variant: "tag" })}>mcp</span>
|
|
16
31
|
*/
|
|
17
32
|
declare const chipVariants: (props?: ({
|
|
18
|
-
tone?: "
|
|
19
|
-
variant?: "outline" | "tinted" | null | undefined;
|
|
33
|
+
tone?: "danger" | "info" | "warn" | "accent" | "ok" | "busy" | "neutral" | null | undefined;
|
|
34
|
+
variant?: "outline" | "tinted" | "tag" | null | undefined;
|
|
20
35
|
interactive?: boolean | null | undefined;
|
|
21
36
|
} & ClassProp) | undefined) => string;
|
|
22
37
|
interface ChipProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof chipVariants> {
|
|
@@ -37,10 +52,21 @@ interface ChipProps extends React.HTMLAttributes<HTMLElement>, VariantProps<type
|
|
|
37
52
|
* plus `neutral` and `accent`, so a chip, a `StatusDot` and a `Meter` always
|
|
38
53
|
* agree on what "warn" looks like.
|
|
39
54
|
*
|
|
55
|
+
* `variant` sets how loudly it says it. `tinted` is the chip proper — a tone
|
|
56
|
+
* tint behind tone ink. `outline` drops the fill and keeps the voice, for a
|
|
57
|
+
* chip on an already-busy ground. `tag` drops both: a hairline rim, micro type
|
|
58
|
+
* and closed tracking, for the facts that sit *beside* a row's name — a kind, a
|
|
59
|
+
* lifecycle, a scope — where a row full of tinted chips would read as a row of
|
|
60
|
+
* buttons. All three keep `h-chip`, so a mixed row still has one baseline.
|
|
61
|
+
*
|
|
40
62
|
* @example
|
|
41
63
|
* <Chip tone="ok">online</Chip>
|
|
42
64
|
* @example
|
|
43
65
|
* <Chip tone="accent" variant="outline" interactive onClick={toggle}>dimmer</Chip>
|
|
66
|
+
* @example
|
|
67
|
+
* <Chip variant="tag">mcp</Chip>
|
|
68
|
+
* @example
|
|
69
|
+
* <Chip tone="danger" variant="tag">needs auth</Chip>
|
|
44
70
|
*/
|
|
45
71
|
declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLElement>>;
|
|
46
72
|
//#endregion
|