@dungle-scrubs/admin-ui-soft 0.0.0-stage → 0.1.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/GUIDE.md +110 -0
- package/LICENSE +21 -0
- package/README.md +36 -2
- package/THIRD-PARTY-NOTICES.md +25 -0
- package/UPSTREAM-VENDORED-CHANGES.md +317 -0
- package/VENDORED-CHANGES.md +60 -0
- package/dist/_virtual/_rolldown/runtime.js +13 -0
- package/dist/ai/compositions/agent-console/agent-console.d.ts +109 -0
- package/dist/ai/compositions/agent-console/agent-console.js +644 -0
- package/dist/ai/compositions/attention-feed/attention-feed.d.ts +127 -0
- package/dist/ai/compositions/attention-feed/attention-feed.js +626 -0
- package/dist/ai/compositions/conversation-browser/conversation-browser.d.ts +126 -0
- package/dist/ai/compositions/conversation-browser/conversation-browser.js +364 -0
- package/dist/ai/compositions/redaction-marker/redaction-marker.d.ts +42 -0
- package/dist/ai/compositions/redaction-marker/redaction-marker.js +202 -0
- package/dist/ai/compositions/run-inspector/json-view.js +164 -0
- package/dist/ai/compositions/run-inspector/run-inspector.d.ts +66 -0
- package/dist/ai/compositions/run-inspector/run-inspector.js +703 -0
- package/dist/ai/compositions/run-inspector/run-model.js +155 -0
- package/dist/ai/compositions/tool-approval/json-args.js +54 -0
- package/dist/ai/compositions/tool-approval/tool-approval.d.ts +57 -0
- package/dist/ai/compositions/tool-approval/tool-approval.js +331 -0
- package/dist/ai/compositions/tool-call-row/tool-call-row.js +74 -0
- package/dist/ai/compositions/transcript-viewer/to-thread-messages.js +65 -0
- package/dist/ai/compositions/transcript-viewer/transcript-viewer.d.ts +63 -0
- package/dist/ai/compositions/transcript-viewer/transcript-viewer.js +471 -0
- package/dist/ai/compositions/usage-meter/usage-format.js +107 -0
- package/dist/ai/compositions/usage-meter/usage-meter.d.ts +32 -0
- package/dist/ai/compositions/usage-meter/usage-meter.js +258 -0
- package/dist/ai/testing/mock-clock.d.ts +31 -0
- package/dist/ai/testing/mock-clock.js +66 -0
- package/dist/ai/testing/mock-reply.d.ts +70 -0
- package/dist/ai/testing/mock-reply.js +100 -0
- package/dist/ai/testing/mock-runtime.d.ts +86 -0
- package/dist/ai/testing/mock-runtime.js +384 -0
- package/dist/ai/types.d.ts +323 -0
- package/dist/ai.css +1088 -0
- package/dist/ai.d.ts +160 -0
- package/dist/ai.js +158 -0
- package/dist/components/assistant-ui/elements/activity-graph.d.ts +14 -0
- package/dist/components/assistant-ui/elements/activity-graph.js +69 -0
- package/dist/components/assistant-ui/elements/agent-card.d.ts +21 -0
- package/dist/components/assistant-ui/elements/agent-card.js +75 -0
- package/dist/components/assistant-ui/elements/agent-handoff.d.ts +13 -0
- package/dist/components/assistant-ui/elements/agent-handoff.js +47 -0
- package/dist/components/assistant-ui/elements/agent-plan.d.ts +16 -0
- package/dist/components/assistant-ui/elements/agent-plan.js +93 -0
- package/dist/components/assistant-ui/elements/agent-status.aui.d.ts +24 -0
- package/dist/components/assistant-ui/elements/agent-status.aui.js +161 -0
- package/dist/components/assistant-ui/elements/agent-status.d.ts +17 -0
- package/dist/components/assistant-ui/elements/agent-status.js +47 -0
- package/dist/components/assistant-ui/elements/approval-card.d.ts +31 -0
- package/dist/components/assistant-ui/elements/approval-card.js +99 -0
- package/dist/components/assistant-ui/elements/artifact-card.d.ts +12 -0
- package/dist/components/assistant-ui/elements/artifact-card.js +47 -0
- package/dist/components/assistant-ui/elements/assistant-modal.aui.d.ts +7 -0
- package/dist/components/assistant-ui/elements/assistant-modal.aui.js +276 -0
- package/dist/components/assistant-ui/elements/assistant-sidebar.aui.d.ts +7 -0
- package/dist/components/assistant-ui/elements/assistant-sidebar.aui.js +18 -0
- package/dist/components/assistant-ui/elements/attachment.aui.d.ts +9 -0
- package/dist/components/assistant-ui/elements/attachment.aui.js +143 -0
- package/dist/components/assistant-ui/elements/background-inbox.d.ts +18 -0
- package/dist/components/assistant-ui/elements/background-inbox.js +65 -0
- package/dist/components/assistant-ui/elements/canvas-split.d.ts +25 -0
- package/dist/components/assistant-ui/elements/canvas-split.js +106 -0
- package/dist/components/assistant-ui/elements/chart.d.ts +19 -0
- package/dist/components/assistant-ui/elements/chart.js +105 -0
- package/dist/components/assistant-ui/elements/chat-panel.d.ts +15 -0
- package/dist/components/assistant-ui/elements/chat-panel.js +82 -0
- package/dist/components/assistant-ui/elements/checkpoint-history.d.ts +17 -0
- package/dist/components/assistant-ui/elements/checkpoint-history.js +60 -0
- package/dist/components/assistant-ui/elements/code-diff.d.ts +18 -0
- package/dist/components/assistant-ui/elements/code-diff.js +89 -0
- package/dist/components/assistant-ui/elements/code-runner.d.ts +15 -0
- package/dist/components/assistant-ui/elements/code-runner.js +108 -0
- package/dist/components/assistant-ui/elements/command-palette.d.ts +20 -0
- package/dist/components/assistant-ui/elements/command-palette.js +129 -0
- package/dist/components/assistant-ui/elements/comparison-card.d.ts +18 -0
- package/dist/components/assistant-ui/elements/comparison-card.js +58 -0
- package/dist/components/assistant-ui/elements/composer-trigger-popover.aui.d.ts +51 -0
- package/dist/components/assistant-ui/elements/composer-trigger-popover.aui.js +104 -0
- package/dist/components/assistant-ui/elements/composer.d.ts +91 -0
- package/dist/components/assistant-ui/elements/composer.js +416 -0
- package/dist/components/assistant-ui/elements/computer-use.d.ts +19 -0
- package/dist/components/assistant-ui/elements/computer-use.js +84 -0
- package/dist/components/assistant-ui/elements/confidence-marker.d.ts +20 -0
- package/dist/components/assistant-ui/elements/confidence-marker.js +58 -0
- package/dist/components/assistant-ui/elements/connection-state.d.ts +13 -0
- package/dist/components/assistant-ui/elements/connection-state.js +59 -0
- package/dist/components/assistant-ui/elements/context-breakdown.d.ts +15 -0
- package/dist/components/assistant-ui/elements/context-breakdown.js +91 -0
- package/dist/components/assistant-ui/elements/context-display.aui.d.ts +25 -0
- package/dist/components/assistant-ui/elements/context-display.aui.js +26 -0
- package/dist/components/assistant-ui/elements/context-display.d.ts +43 -0
- package/dist/components/assistant-ui/elements/context-display.js +300 -0
- package/dist/components/assistant-ui/elements/conversation-map.aui.d.ts +9 -0
- package/dist/components/assistant-ui/elements/conversation-map.aui.js +177 -0
- package/dist/components/assistant-ui/elements/conversation-map.d.ts +19 -0
- package/dist/components/assistant-ui/elements/conversation-map.js +84 -0
- package/dist/components/assistant-ui/elements/conversation-search.d.ts +20 -0
- package/dist/components/assistant-ui/elements/conversation-search.js +75 -0
- package/dist/components/assistant-ui/elements/cost-meter.d.ts +19 -0
- package/dist/components/assistant-ui/elements/cost-meter.js +76 -0
- package/dist/components/assistant-ui/elements/data-table.d.ts +72 -0
- package/dist/components/assistant-ui/elements/data-table.js +368 -0
- package/dist/components/assistant-ui/elements/day-separator.d.ts +16 -0
- package/dist/components/assistant-ui/elements/day-separator.js +44 -0
- package/dist/components/assistant-ui/elements/diagram.d.ts +15 -0
- package/dist/components/assistant-ui/elements/diagram.js +65 -0
- package/dist/components/assistant-ui/elements/directive-text.aui.d.ts +11 -0
- package/dist/components/assistant-ui/elements/directive-text.aui.js +18 -0
- package/dist/components/assistant-ui/elements/directive-text.d.ts +32 -0
- package/dist/components/assistant-ui/elements/directive-text.js +35 -0
- package/dist/components/assistant-ui/elements/document-reference.d.ts +17 -0
- package/dist/components/assistant-ui/elements/document-reference.js +62 -0
- package/dist/components/assistant-ui/elements/draft-restore.d.ts +12 -0
- package/dist/components/assistant-ui/elements/draft-restore.js +43 -0
- package/dist/components/assistant-ui/elements/edit-message.d.ts +15 -0
- package/dist/components/assistant-ui/elements/edit-message.js +63 -0
- package/dist/components/assistant-ui/elements/elicitation-form.d.ts +23 -0
- package/dist/components/assistant-ui/elements/elicitation-form.js +112 -0
- package/dist/components/assistant-ui/elements/empty-state.d.ts +16 -0
- package/dist/components/assistant-ui/elements/empty-state.js +71 -0
- package/dist/components/assistant-ui/elements/error-state.d.ts +13 -0
- package/dist/components/assistant-ui/elements/error-state.js +52 -0
- package/dist/components/assistant-ui/elements/feedback-dialog.d.ts +15 -0
- package/dist/components/assistant-ui/elements/feedback-dialog.js +77 -0
- package/dist/components/assistant-ui/elements/file-tree.d.ts +20 -0
- package/dist/components/assistant-ui/elements/file-tree.js +74 -0
- package/dist/components/assistant-ui/elements/file.d.ts +52 -0
- package/dist/components/assistant-ui/elements/file.js +222 -0
- package/dist/components/assistant-ui/elements/flow-graph.d.ts +23 -0
- package/dist/components/assistant-ui/elements/flow-graph.js +72 -0
- package/dist/components/assistant-ui/elements/follow-up-suggestions.aui.d.ts +7 -0
- package/dist/components/assistant-ui/elements/follow-up-suggestions.aui.js +30 -0
- package/dist/components/assistant-ui/elements/generative-ui.d.ts +8 -0
- package/dist/components/assistant-ui/elements/generative-ui.js +27 -0
- package/dist/components/assistant-ui/elements/geo-map.d.ts +29 -0
- package/dist/components/assistant-ui/elements/geo-map.js +190 -0
- package/dist/components/assistant-ui/elements/guardrail-notice.d.ts +15 -0
- package/dist/components/assistant-ui/elements/guardrail-notice.js +59 -0
- package/dist/components/assistant-ui/elements/heat-graph.d.ts +9 -0
- package/dist/components/assistant-ui/elements/heat-graph.js +90 -0
- package/dist/components/assistant-ui/elements/image-gallery.d.ts +22 -0
- package/dist/components/assistant-ui/elements/image-gallery.js +192 -0
- package/dist/components/assistant-ui/elements/image-generation.d.ts +11 -0
- package/dist/components/assistant-ui/elements/image-generation.js +64 -0
- package/dist/components/assistant-ui/elements/image.d.ts +59 -0
- package/dist/components/assistant-ui/elements/image.js +416 -0
- package/dist/components/assistant-ui/elements/inline-citation.d.ts +23 -0
- package/dist/components/assistant-ui/elements/inline-citation.js +90 -0
- package/dist/components/assistant-ui/elements/job-progress.d.ts +25 -0
- package/dist/components/assistant-ui/elements/job-progress.js +102 -0
- package/dist/components/assistant-ui/elements/launcher-bubble.d.ts +15 -0
- package/dist/components/assistant-ui/elements/launcher-bubble.js +71 -0
- package/dist/components/assistant-ui/elements/link-preview.d.ts +17 -0
- package/dist/components/assistant-ui/elements/link-preview.js +77 -0
- package/dist/components/assistant-ui/elements/loading-state.d.ts +13 -0
- package/dist/components/assistant-ui/elements/loading-state.js +33 -0
- package/dist/components/assistant-ui/elements/logos.d.ts +10 -0
- package/dist/components/assistant-ui/elements/logos.js +63 -0
- package/dist/components/assistant-ui/elements/map-answer.d.ts +19 -0
- package/dist/components/assistant-ui/elements/map-answer.js +120 -0
- package/dist/components/assistant-ui/elements/markdown-text.d.ts +11 -0
- package/dist/components/assistant-ui/elements/markdown-text.js +152 -0
- package/dist/components/assistant-ui/elements/math-block.d.ts +25 -0
- package/dist/components/assistant-ui/elements/math-block.js +60 -0
- package/dist/components/assistant-ui/elements/mcp-config.aui.d.ts +28 -0
- package/dist/components/assistant-ui/elements/mcp-config.aui.js +380 -0
- package/dist/components/assistant-ui/elements/mcp-server-panel.d.ts +20 -0
- package/dist/components/assistant-ui/elements/mcp-server-panel.js +114 -0
- package/dist/components/assistant-ui/elements/media-player.d.ts +21 -0
- package/dist/components/assistant-ui/elements/media-player.js +302 -0
- package/dist/components/assistant-ui/elements/memory-chips.d.ts +16 -0
- package/dist/components/assistant-ui/elements/memory-chips.js +44 -0
- package/dist/components/assistant-ui/elements/mermaid-diagram.aui.d.ts +14 -0
- package/dist/components/assistant-ui/elements/mermaid-diagram.aui.js +43 -0
- package/dist/components/assistant-ui/elements/mermaid-diagram.d.ts +20 -0
- package/dist/components/assistant-ui/elements/mermaid-diagram.js +258 -0
- package/dist/components/assistant-ui/elements/message-actions.d.ts +17 -0
- package/dist/components/assistant-ui/elements/message-actions.js +57 -0
- package/dist/components/assistant-ui/elements/message-attachment.d.ts +18 -0
- package/dist/components/assistant-ui/elements/message-attachment.js +58 -0
- package/dist/components/assistant-ui/elements/message-branches.d.ts +12 -0
- package/dist/components/assistant-ui/elements/message-branches.js +55 -0
- package/dist/components/assistant-ui/elements/message-pair.d.ts +16 -0
- package/dist/components/assistant-ui/elements/message-pair.js +63 -0
- package/dist/components/assistant-ui/elements/message-queue.d.ts +15 -0
- package/dist/components/assistant-ui/elements/message-queue.js +70 -0
- package/dist/components/assistant-ui/elements/message-timing.aui.d.ts +30 -0
- package/dist/components/assistant-ui/elements/message-timing.aui.js +98 -0
- package/dist/components/assistant-ui/elements/message-timing.d.ts +14 -0
- package/dist/components/assistant-ui/elements/message-timing.js +26 -0
- package/dist/components/assistant-ui/elements/mobile-composer.d.ts +18 -0
- package/dist/components/assistant-ui/elements/mobile-composer.js +76 -0
- package/dist/components/assistant-ui/elements/model-picker.d.ts +19 -0
- package/dist/components/assistant-ui/elements/model-picker.js +68 -0
- package/dist/components/assistant-ui/elements/model-selector.aui.d.ts +23 -0
- package/dist/components/assistant-ui/elements/model-selector.aui.js +79 -0
- package/dist/components/assistant-ui/elements/model-selector.d.ts +130 -0
- package/dist/components/assistant-ui/elements/model-selector.js +399 -0
- package/dist/components/assistant-ui/elements/number-ticker.d.ts +10 -0
- package/dist/components/assistant-ui/elements/number-ticker.js +41 -0
- package/dist/components/assistant-ui/elements/onboarding.d.ts +17 -0
- package/dist/components/assistant-ui/elements/onboarding.js +69 -0
- package/dist/components/assistant-ui/elements/option-list.d.ts +39 -0
- package/dist/components/assistant-ui/elements/option-list.js +176 -0
- package/dist/components/assistant-ui/elements/permission-grant.d.ts +14 -0
- package/dist/components/assistant-ui/elements/permission-grant.js +84 -0
- package/dist/components/assistant-ui/elements/prompt-library.d.ts +20 -0
- package/dist/components/assistant-ui/elements/prompt-library.js +121 -0
- package/dist/components/assistant-ui/elements/question-flow.d.ts +24 -0
- package/dist/components/assistant-ui/elements/question-flow.js +180 -0
- package/dist/components/assistant-ui/elements/quota-banner.d.ts +14 -0
- package/dist/components/assistant-ui/elements/quota-banner.js +68 -0
- package/dist/components/assistant-ui/elements/quote-reply.d.ts +20 -0
- package/dist/components/assistant-ui/elements/quote-reply.js +66 -0
- package/dist/components/assistant-ui/elements/quote.aui.d.ts +61 -0
- package/dist/components/assistant-ui/elements/quote.aui.js +170 -0
- package/dist/components/assistant-ui/elements/read-aloud.d.ts +16 -0
- package/dist/components/assistant-ui/elements/read-aloud.js +66 -0
- package/dist/components/assistant-ui/elements/reasoning-effort.d.ts +17 -0
- package/dist/components/assistant-ui/elements/reasoning-effort.js +67 -0
- package/dist/components/assistant-ui/elements/reasoning-panel.d.ts +20 -0
- package/dist/components/assistant-ui/elements/reasoning-panel.js +60 -0
- package/dist/components/assistant-ui/elements/reasoning.aui.d.ts +24 -0
- package/dist/components/assistant-ui/elements/reasoning.aui.js +70 -0
- package/dist/components/assistant-ui/elements/reasoning.d.ts +38 -0
- package/dist/components/assistant-ui/elements/reasoning.js +194 -0
- package/dist/components/assistant-ui/elements/recommendation-card.d.ts +16 -0
- package/dist/components/assistant-ui/elements/recommendation-card.js +65 -0
- package/dist/components/assistant-ui/elements/regenerate-menu.d.ts +18 -0
- package/dist/components/assistant-ui/elements/regenerate-menu.js +46 -0
- package/dist/components/assistant-ui/elements/research-report.d.ts +19 -0
- package/dist/components/assistant-ui/elements/research-report.js +63 -0
- package/dist/components/assistant-ui/elements/retrieval-chunks.d.ts +19 -0
- package/dist/components/assistant-ui/elements/retrieval-chunks.js +86 -0
- package/dist/components/assistant-ui/elements/reviewable-diff.d.ts +21 -0
- package/dist/components/assistant-ui/elements/reviewable-diff.js +104 -0
- package/dist/components/assistant-ui/elements/schedule-card.d.ts +19 -0
- package/dist/components/assistant-ui/elements/schedule-card.js +80 -0
- package/dist/components/assistant-ui/elements/score-breakdown.d.ts +19 -0
- package/dist/components/assistant-ui/elements/score-breakdown.js +107 -0
- package/dist/components/assistant-ui/elements/scroll-anchor.d.ts +15 -0
- package/dist/components/assistant-ui/elements/scroll-anchor.js +104 -0
- package/dist/components/assistant-ui/elements/settings-panel.d.ts +23 -0
- package/dist/components/assistant-ui/elements/settings-panel.js +108 -0
- package/dist/components/assistant-ui/elements/shared-conversation.d.ts +18 -0
- package/dist/components/assistant-ui/elements/shared-conversation.js +56 -0
- package/dist/components/assistant-ui/elements/shiki-highlighter.aui.d.ts +29 -0
- package/dist/components/assistant-ui/elements/shiki-highlighter.aui.js +31 -0
- package/dist/components/assistant-ui/elements/shiki-highlighter.d.ts +26 -0
- package/dist/components/assistant-ui/elements/shiki-highlighter.js +49 -0
- package/dist/components/assistant-ui/elements/sources.aui.d.ts +24 -0
- package/dist/components/assistant-ui/elements/sources.aui.js +121 -0
- package/dist/components/assistant-ui/elements/sources.d.ts +21 -0
- package/dist/components/assistant-ui/elements/sources.js +109 -0
- package/dist/components/assistant-ui/elements/speaker-identity.d.ts +17 -0
- package/dist/components/assistant-ui/elements/speaker-identity.js +45 -0
- package/dist/components/assistant-ui/elements/spec-sheet.d.ts +17 -0
- package/dist/components/assistant-ui/elements/spec-sheet.js +39 -0
- package/dist/components/assistant-ui/elements/stopped-run.d.ts +12 -0
- package/dist/components/assistant-ui/elements/stopped-run.js +44 -0
- package/dist/components/assistant-ui/elements/streaming-text.d.ts +15 -0
- package/dist/components/assistant-ui/elements/streaming-text.js +45 -0
- package/dist/components/assistant-ui/elements/subagent-list.d.ts +17 -0
- package/dist/components/assistant-ui/elements/subagent-list.js +74 -0
- package/dist/components/assistant-ui/elements/suggestions.d.ts +14 -0
- package/dist/components/assistant-ui/elements/suggestions.js +25 -0
- package/dist/components/assistant-ui/elements/surfaces.d.ts +42 -0
- package/dist/components/assistant-ui/elements/surfaces.js +87 -0
- package/dist/components/assistant-ui/elements/syntax-highlighter.d.ts +7 -0
- package/dist/components/assistant-ui/elements/syntax-highlighter.js +41 -0
- package/dist/components/assistant-ui/elements/task-card.aui.d.ts +24 -0
- package/dist/components/assistant-ui/elements/task-card.aui.js +136 -0
- package/dist/components/assistant-ui/elements/task-card.d.ts +22 -0
- package/dist/components/assistant-ui/elements/task-card.js +104 -0
- package/dist/components/assistant-ui/elements/terminal-block.d.ts +27 -0
- package/dist/components/assistant-ui/elements/terminal-block.js +266 -0
- package/dist/components/assistant-ui/elements/thinking-indicator.d.ts +10 -0
- package/dist/components/assistant-ui/elements/thinking-indicator.js +30 -0
- package/dist/components/assistant-ui/elements/thread-list.aui.d.ts +39 -0
- package/dist/components/assistant-ui/elements/thread-list.aui.js +331 -0
- package/dist/components/assistant-ui/elements/thread-list.d.ts +19 -0
- package/dist/components/assistant-ui/elements/thread-list.js +72 -0
- package/dist/components/assistant-ui/elements/thread-search.d.ts +20 -0
- package/dist/components/assistant-ui/elements/thread-search.js +94 -0
- package/dist/components/assistant-ui/elements/thread.aui.d.ts +36 -0
- package/dist/components/assistant-ui/elements/thread.aui.js +625 -0
- package/dist/components/assistant-ui/elements/threadlist-sidebar.aui.d.ts +19 -0
- package/dist/components/assistant-ui/elements/threadlist-sidebar.aui.js +75 -0
- package/dist/components/assistant-ui/elements/timeline.d.ts +18 -0
- package/dist/components/assistant-ui/elements/timeline.js +40 -0
- package/dist/components/assistant-ui/elements/todo-list.d.ts +21 -0
- package/dist/components/assistant-ui/elements/todo-list.js +100 -0
- package/dist/components/assistant-ui/elements/tool-call.d.ts +17 -0
- package/dist/components/assistant-ui/elements/tool-call.js +70 -0
- package/dist/components/assistant-ui/elements/tool-error.d.ts +16 -0
- package/dist/components/assistant-ui/elements/tool-error.js +62 -0
- package/dist/components/assistant-ui/elements/tool-fallback.aui.d.ts +44 -0
- package/dist/components/assistant-ui/elements/tool-fallback.aui.js +542 -0
- package/dist/components/assistant-ui/elements/tool-group.aui.d.ts +37 -0
- package/dist/components/assistant-ui/elements/tool-group.aui.js +104 -0
- package/dist/components/assistant-ui/elements/tool-group.d.ts +20 -0
- package/dist/components/assistant-ui/elements/tool-group.js +71 -0
- package/dist/components/assistant-ui/elements/tool-timeline.d.ts +44 -0
- package/dist/components/assistant-ui/elements/tool-timeline.js +109 -0
- package/dist/components/assistant-ui/elements/tooltip-icon-button.d.ts +12 -0
- package/dist/components/assistant-ui/elements/tooltip-icon-button.js +30 -0
- package/dist/components/assistant-ui/elements/trace-waterfall.d.ts +33 -0
- package/dist/components/assistant-ui/elements/trace-waterfall.js +102 -0
- package/dist/components/assistant-ui/elements/typing-indicator.d.ts +9 -0
- package/dist/components/assistant-ui/elements/typing-indicator.js +45 -0
- package/dist/components/assistant-ui/elements/voice-conversation.aui.d.ts +11 -0
- package/dist/components/assistant-ui/elements/voice-conversation.aui.js +54 -0
- package/dist/components/assistant-ui/elements/voice-conversation.d.ts +21 -0
- package/dist/components/assistant-ui/elements/voice-conversation.js +110 -0
- package/dist/components/assistant-ui/elements/voice.aui.d.ts +22 -0
- package/dist/components/assistant-ui/elements/voice.aui.js +100 -0
- package/dist/components/assistant-ui/elements/voice.d.ts +15 -0
- package/dist/components/assistant-ui/elements/voice.js +400 -0
- package/dist/components/assistant-ui/elements/web-preview.d.ts +18 -0
- package/dist/components/assistant-ui/elements/web-preview.js +61 -0
- package/dist/components/assistant-ui/elements/web-search.d.ts +17 -0
- package/dist/components/assistant-ui/elements/web-search.js +54 -0
- package/dist/components/assistant-ui/utils/href.d.ts +13 -0
- package/dist/components/assistant-ui/utils/href.js +39 -0
- package/dist/components/assistant-ui/utils/range.d.ts +22 -0
- package/dist/components/assistant-ui/utils/range.js +48 -0
- package/dist/components/assistant-ui/utils/task.d.ts +14 -0
- package/dist/components/assistant-ui/utils/task.js +75 -0
- package/dist/components/icons/github.js +13 -0
- package/dist/components/theme-provider.d.ts +16 -0
- package/dist/components/theme-provider.js +116 -0
- package/dist/components/ui/accordion.d.ts +8 -0
- package/dist/components/ui/accordion.js +53 -0
- package/dist/components/ui/alert-dialog.d.ts +20 -0
- package/dist/components/ui/alert-dialog.js +93 -0
- package/dist/components/ui/alert.d.ts +12 -0
- package/dist/components/ui/alert.js +42 -0
- package/dist/components/ui/aspect-ratio.d.ts +6 -0
- package/dist/components/ui/aspect-ratio.js +13 -0
- package/dist/components/ui/attachment.d.ts +25 -0
- package/dist/components/ui/attachment.js +103 -0
- package/dist/components/ui/avatar.d.ts +13 -0
- package/dist/components/ui/avatar.js +50 -0
- package/dist/components/ui/badge.d.ts +14 -0
- package/dist/components/ui/badge.js +30 -0
- package/dist/components/ui/breadcrumb.d.ts +12 -0
- package/dist/components/ui/breadcrumb.js +71 -0
- package/dist/components/ui/bubble.d.ts +18 -0
- package/dist/components/ui/bubble.js +72 -0
- package/dist/components/ui/button-group.d.ts +12 -0
- package/dist/components/ui/button-group.js +41 -0
- package/dist/components/ui/button.d.ts +19 -0
- package/dist/components/ui/button.js +71 -0
- package/dist/components/ui/calendar.d.ts +12 -0
- package/dist/components/ui/calendar.js +108 -0
- package/dist/components/ui/card.d.ts +13 -0
- package/dist/components/ui/card.js +55 -0
- package/dist/components/ui/carousel.d.ts +30 -0
- package/dist/components/ui/carousel.js +131 -0
- package/dist/components/ui/chart.d.ts +46 -0
- package/dist/components/ui/chart.js +148 -0
- package/dist/components/ui/checkbox.d.ts +5 -0
- package/dist/components/ui/checkbox.js +20 -0
- package/dist/components/ui/collapsible.d.ts +7 -0
- package/dist/components/ui/collapsible.js +23 -0
- package/dist/components/ui/combobox.d.ts +26 -0
- package/dist/components/ui/combobox.js +161 -0
- package/dist/components/ui/command.d.ts +21 -0
- package/dist/components/ui/command.js +87 -0
- package/dist/components/ui/context-menu.d.ts +31 -0
- package/dist/components/ui/context-menu.js +132 -0
- package/dist/components/ui/dialog.d.ts +19 -0
- package/dist/components/ui/dialog.js +91 -0
- package/dist/components/ui/diff-viewer.d.ts +100 -0
- package/dist/components/ui/diff-viewer.js +461 -0
- package/dist/components/ui/direction.d.ts +2 -0
- package/dist/components/ui/direction.js +2 -0
- package/dist/components/ui/dot-matrix.d.ts +150 -0
- package/dist/components/ui/dot-matrix.js +248 -0
- package/dist/components/ui/drawer.d.ts +18 -0
- package/dist/components/ui/drawer.js +123 -0
- package/dist/components/ui/dropdown-menu.d.ts +31 -0
- package/dist/components/ui/dropdown-menu.js +136 -0
- package/dist/components/ui/empty.d.ts +13 -0
- package/dist/components/ui/empty.js +59 -0
- package/dist/components/ui/field.d.ts +26 -0
- package/dist/components/ui/field.js +109 -0
- package/dist/components/ui/hover-card.d.ts +7 -0
- package/dist/components/ui/hover-card.js +36 -0
- package/dist/components/ui/input-group.d.ts +20 -0
- package/dist/components/ui/input-group.js +77 -0
- package/dist/components/ui/input-otp.d.ts +13 -0
- package/dist/components/ui/input-otp.js +46 -0
- package/dist/components/ui/input.d.ts +5 -0
- package/dist/components/ui/input.js +14 -0
- package/dist/components/ui/item.d.ts +24 -0
- package/dist/components/ui/item.js +120 -0
- package/dist/components/ui/kbd.d.ts +5 -0
- package/dist/components/ui/kbd.js +19 -0
- package/dist/components/ui/label.d.ts +5 -0
- package/dist/components/ui/label.js +12 -0
- package/dist/components/ui/marker.d.ts +12 -0
- package/dist/components/ui/marker.js +42 -0
- package/dist/components/ui/menubar.d.ts +31 -0
- package/dist/components/ui/menubar.js +135 -0
- package/dist/components/ui/message-scroller.d.ts +12 -0
- package/dist/components/ui/message-scroller.js +59 -0
- package/dist/components/ui/message.d.ts +12 -0
- package/dist/components/ui/message.js +48 -0
- package/dist/components/ui/native-select.d.ts +10 -0
- package/dist/components/ui/native-select.js +37 -0
- package/dist/components/ui/navigation-menu.d.ts +13 -0
- package/dist/components/ui/navigation-menu.js +82 -0
- package/dist/components/ui/number-roll.d.ts +21 -0
- package/dist/components/ui/number-roll.js +269 -0
- package/dist/components/ui/pagination.d.ts +19 -0
- package/dist/components/ui/pagination.js +79 -0
- package/dist/components/ui/popover.d.ts +11 -0
- package/dist/components/ui/popover.js +54 -0
- package/dist/components/ui/progress.d.ts +9 -0
- package/dist/components/ui/progress.js +44 -0
- package/dist/components/ui/questionnaire.d.ts +21 -0
- package/dist/components/ui/questionnaire.js +169 -0
- package/dist/components/ui/radio-group.d.ts +7 -0
- package/dist/components/ui/radio-group.js +26 -0
- package/dist/components/ui/resizable.d.ts +9 -0
- package/dist/components/ui/resizable.js +28 -0
- package/dist/components/ui/scroll-area.d.ts +6 -0
- package/dist/components/ui/scroll-area.js +35 -0
- package/dist/components/ui/select.d.ts +17 -0
- package/dist/components/ui/select.js +96 -0
- package/dist/components/ui/separator.d.ts +5 -0
- package/dist/components/ui/separator.js +14 -0
- package/dist/components/ui/sheet.d.ts +16 -0
- package/dist/components/ui/sheet.js +87 -0
- package/dist/components/ui/sidebar.d.ts +65 -0
- package/dist/components/ui/sidebar.js +386 -0
- package/dist/components/ui/skeleton.d.ts +4 -0
- package/dist/components/ui/skeleton.js +12 -0
- package/dist/components/ui/slider.d.ts +5 -0
- package/dist/components/ui/slider.js +33 -0
- package/dist/components/ui/spinner.d.ts +4 -0
- package/dist/components/ui/spinner.js +15 -0
- package/dist/components/ui/switch.d.ts +7 -0
- package/dist/components/ui/switch.js +19 -0
- package/dist/components/ui/table.d.ts +12 -0
- package/dist/components/ui/table.js +65 -0
- package/dist/components/ui/tabs.d.ts +12 -0
- package/dist/components/ui/tabs.js +45 -0
- package/dist/components/ui/textarea.d.ts +5 -0
- package/dist/components/ui/textarea.js +12 -0
- package/dist/components/ui/toast.d.ts +18 -0
- package/dist/components/ui/toast.js +121 -0
- package/dist/components/ui/toggle-group.d.ts +13 -0
- package/dist/components/ui/toggle-group.js +51 -0
- package/dist/components/ui/toggle.d.ts +10 -0
- package/dist/components/ui/toggle.js +35 -0
- package/dist/components/ui/tooltip.d.ts +8 -0
- package/dist/components/ui/tooltip.js +43 -0
- package/dist/compositions/app-rail/app-rail.d.ts +19 -0
- package/dist/compositions/app-rail/app-rail.js +58 -0
- package/dist/compositions/app-shell/app-shell.d.ts +56 -0
- package/dist/compositions/app-shell/app-shell.js +143 -0
- package/dist/compositions/app-shell/theme-toggle.d.ts +10 -0
- package/dist/compositions/app-shell/theme-toggle.js +65 -0
- package/dist/compositions/confirm-action/confirm-action.d.ts +48 -0
- package/dist/compositions/confirm-action/confirm-action.js +48 -0
- package/dist/compositions/data-table/data-table-state.d.ts +23 -0
- package/dist/compositions/data-table/data-table-state.js +46 -0
- package/dist/compositions/data-table/data-table.d.ts +185 -0
- package/dist/compositions/data-table/data-table.js +615 -0
- package/dist/compositions/date-range-picker/date-range-options.d.ts +28 -0
- package/dist/compositions/date-range-picker/date-range-options.js +61 -0
- package/dist/compositions/date-range-picker/date-range-picker.d.ts +55 -0
- package/dist/compositions/date-range-picker/date-range-picker.js +409 -0
- package/dist/compositions/decision-queue/decision-queue.d.ts +114 -0
- package/dist/compositions/decision-queue/decision-queue.js +478 -0
- package/dist/compositions/event-feed/event-feed.d.ts +59 -0
- package/dist/compositions/event-feed/event-feed.js +105 -0
- package/dist/compositions/feedback.d.ts +20 -0
- package/dist/compositions/feedback.js +49 -0
- package/dist/compositions/fields.d.ts +64 -0
- package/dist/compositions/fields.js +293 -0
- package/dist/compositions/form-kit/form-context.d.ts +10 -0
- package/dist/compositions/form-kit/form-context.js +12 -0
- package/dist/compositions/form-kit/form-fields.d.ts +95 -0
- package/dist/compositions/form-kit/form-fields.js +233 -0
- package/dist/compositions/form-kit/form-kit.d.ts +128 -0
- package/dist/compositions/form-kit/form-kit.js +119 -0
- package/dist/compositions/inspector/inspector.d.ts +53 -0
- package/dist/compositions/inspector/inspector.js +80 -0
- package/dist/compositions/layout.d.ts +36 -0
- package/dist/compositions/layout.js +86 -0
- package/dist/compositions/state-blocks/state-blocks.d.ts +42 -0
- package/dist/compositions/state-blocks/state-blocks.js +81 -0
- package/dist/compositions/status-panel/status-panel.d.ts +94 -0
- package/dist/compositions/status-panel/status-panel.js +189 -0
- package/dist/fonts/InterVariable.woff2 +0 -0
- package/dist/fonts/inter.css +15 -0
- package/dist/hooks/use-attachment-src.js +35 -0
- package/dist/hooks/use-copy-to-clipboard.js +34 -0
- package/dist/hooks/use-mobile.d.ts +3 -0
- package/dist/hooks/use-mobile.js +18 -0
- package/dist/index.d.ts +102 -0
- package/dist/index.js +102 -0
- package/dist/lib/context-level.js +7 -0
- package/dist/lib/elapsed.js +61 -0
- package/dist/lib/iso-date.js +30 -0
- package/dist/lib/motion-loop.js +41 -0
- package/dist/lib/pointer.js +14 -0
- package/dist/lib/status-tone.d.ts +7 -0
- package/dist/lib/status-tone.js +55 -0
- package/dist/lib/triage-keys.js +229 -0
- package/dist/lib/utils.js +2 -0
- package/dist/motion/alert-toast/alert-toast.d.ts +51 -0
- package/dist/motion/alert-toast/alert-toast.js +226 -0
- package/dist/motion/branch-menu/branch-menu.d.ts +47 -0
- package/dist/motion/branch-menu/branch-menu.js +287 -0
- package/dist/motion/check-item/check-item.d.ts +24 -0
- package/dist/motion/check-item/check-item.js +110 -0
- package/dist/motion/dial/dial.d.ts +39 -0
- package/dist/motion/dial/dial.js +290 -0
- package/dist/motion/dictation-button/dictation-button.d.ts +45 -0
- package/dist/motion/dictation-button/dictation-button.js +232 -0
- package/dist/motion/hold-button/hold-button.d.ts +37 -0
- package/dist/motion/hold-button/hold-button.js +192 -0
- package/dist/motion/masonry-grid/masonry-grid.d.ts +42 -0
- package/dist/motion/masonry-grid/masonry-grid.js +145 -0
- package/dist/motion/prompt-composer/prompt-composer.d.ts +90 -0
- package/dist/motion/prompt-composer/prompt-composer.js +374 -0
- package/dist/motion/scrub-select/scrub-select.d.ts +33 -0
- package/dist/motion/scrub-select/scrub-select.js +346 -0
- package/dist/motion/spotlight-grid/spotlight-grid.d.ts +40 -0
- package/dist/motion/spotlight-grid/spotlight-grid.js +171 -0
- package/dist/motion/star-rating/star-rating.d.ts +32 -0
- package/dist/motion/star-rating/star-rating.js +191 -0
- package/dist/motion/status-glyph/status-glyph.d.ts +28 -0
- package/dist/motion/status-glyph/status-glyph.js +171 -0
- package/dist/motion/stepper/stepper.d.ts +56 -0
- package/dist/motion/stepper/stepper.js +211 -0
- package/dist/motion/swipe-row/swipe-row.d.ts +52 -0
- package/dist/motion/swipe-row/swipe-row.js +208 -0
- package/dist/motion/thinking-trace/thinking-trace.d.ts +32 -0
- package/dist/motion/thinking-trace/thinking-trace.js +186 -0
- package/dist/motion/tool-call-chip/tool-call-chip.d.ts +36 -0
- package/dist/motion/tool-call-chip/tool-call-chip.js +135 -0
- package/dist/motion/working-indicator/working-indicator.d.ts +38 -0
- package/dist/motion/working-indicator/working-indicator.js +171 -0
- package/dist/styles.css +828 -0
- package/dist/tokens.css +230 -0
- package/licenses/Inter-OFL.txt +92 -0
- package/licenses/assistant-ui-MIT.txt +21 -0
- package/licenses/shadcn-MIT.md +21 -0
- package/package.json +131 -3
package/dist/styles.css
ADDED
|
@@ -0,0 +1,828 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
@import "tw-animate-css";
|
|
3
|
+
@import "tw-shimmer";
|
|
4
|
+
@import "shadcn/tailwind.css";
|
|
5
|
+
@import "./fonts/inter.css";
|
|
6
|
+
@import "./tokens.css";
|
|
7
|
+
|
|
8
|
+
@source "./components/ui";
|
|
9
|
+
@source "./components/icons";
|
|
10
|
+
@source "./compositions";
|
|
11
|
+
@source "./lib";
|
|
12
|
+
@source "./motion";
|
|
13
|
+
@source not "./components/ui/diff-viewer.js";
|
|
14
|
+
@custom-variant dark (&:is(.dark *));
|
|
15
|
+
|
|
16
|
+
/* shadcn's semantic variables, mapped onto the soft tokens (tokens.css). */
|
|
17
|
+
:root,
|
|
18
|
+
.dark {
|
|
19
|
+
--background: var(--soft-canvas);
|
|
20
|
+
--foreground: var(--soft-text);
|
|
21
|
+
--card: var(--soft-surface);
|
|
22
|
+
--card-foreground: var(--soft-text);
|
|
23
|
+
--popover: var(--soft-surface);
|
|
24
|
+
--popover-foreground: var(--soft-text);
|
|
25
|
+
--primary: var(--soft-accent);
|
|
26
|
+
--primary-foreground: var(--soft-accent-text);
|
|
27
|
+
--secondary: var(--soft-surface);
|
|
28
|
+
--secondary-foreground: var(--soft-text);
|
|
29
|
+
--muted: var(--soft-surface-subtle);
|
|
30
|
+
--muted-foreground: var(--soft-text-secondary);
|
|
31
|
+
--accent: var(--soft-surface-hover);
|
|
32
|
+
--accent-foreground: var(--soft-text);
|
|
33
|
+
--destructive: var(--soft-critical-ink);
|
|
34
|
+
--border: var(--soft-border);
|
|
35
|
+
--input: var(--soft-input-border);
|
|
36
|
+
--ring: var(--soft-focus);
|
|
37
|
+
--radius: var(--soft-radius-md);
|
|
38
|
+
--info: var(--soft-info-ink);
|
|
39
|
+
--success: var(--soft-success-ink);
|
|
40
|
+
--warning: var(--soft-warning-ink);
|
|
41
|
+
--chart-1: var(--soft-accent);
|
|
42
|
+
--chart-2: var(--soft-success-fill);
|
|
43
|
+
--chart-3: var(--soft-warning-fill);
|
|
44
|
+
--chart-4: var(--soft-critical-fill);
|
|
45
|
+
--chart-5: var(--soft-magic-fill);
|
|
46
|
+
--sidebar: var(--soft-nav);
|
|
47
|
+
--sidebar-foreground: var(--soft-text);
|
|
48
|
+
--sidebar-primary: var(--soft-accent);
|
|
49
|
+
--sidebar-primary-foreground: var(--soft-accent-text);
|
|
50
|
+
--sidebar-accent: var(--soft-surface-active);
|
|
51
|
+
--sidebar-accent-foreground: var(--soft-text);
|
|
52
|
+
--sidebar-border: var(--soft-border);
|
|
53
|
+
--sidebar-ring: var(--soft-focus);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@theme inline {
|
|
57
|
+
--font-heading: var(--soft-font-sans);
|
|
58
|
+
--color-info: var(--info);
|
|
59
|
+
--color-success: var(--success);
|
|
60
|
+
--color-warning: var(--warning);
|
|
61
|
+
--color-chart-1: var(--chart-1);
|
|
62
|
+
--color-chart-2: var(--chart-2);
|
|
63
|
+
--color-chart-3: var(--chart-3);
|
|
64
|
+
--color-chart-4: var(--chart-4);
|
|
65
|
+
--color-chart-5: var(--chart-5);
|
|
66
|
+
--color-sidebar: var(--sidebar);
|
|
67
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
68
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
69
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
70
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
71
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
72
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
73
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
74
|
+
--color-background: var(--background);
|
|
75
|
+
--color-foreground: var(--foreground);
|
|
76
|
+
--color-card: var(--card);
|
|
77
|
+
--color-card-foreground: var(--card-foreground);
|
|
78
|
+
--color-popover: var(--popover);
|
|
79
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
80
|
+
--color-primary: var(--primary);
|
|
81
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
82
|
+
--color-secondary: var(--secondary);
|
|
83
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
84
|
+
--color-muted: var(--muted);
|
|
85
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
86
|
+
--color-accent: var(--accent);
|
|
87
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
88
|
+
--color-destructive: var(--destructive);
|
|
89
|
+
--color-border: var(--border);
|
|
90
|
+
--color-input: var(--input);
|
|
91
|
+
--color-ring: var(--ring);
|
|
92
|
+
--font-sans: var(--soft-font-sans);
|
|
93
|
+
--font-mono: var(--soft-font-mono);
|
|
94
|
+
--font-weight-normal: var(--soft-weight-regular);
|
|
95
|
+
--font-weight-medium: var(--soft-weight-medium);
|
|
96
|
+
--font-weight-semibold: var(--soft-weight-semibold);
|
|
97
|
+
--font-weight-bold: var(--soft-weight-bold);
|
|
98
|
+
--radius-sm: var(--soft-radius-sm);
|
|
99
|
+
--radius-md: var(--soft-radius-md);
|
|
100
|
+
--radius-lg: var(--soft-radius-lg);
|
|
101
|
+
--radius-xl: var(--soft-radius-lg);
|
|
102
|
+
--radius-2xl: var(--soft-radius-xl);
|
|
103
|
+
--radius-3xl: var(--soft-radius-xl);
|
|
104
|
+
--radius-4xl: var(--soft-radius-xl);
|
|
105
|
+
--shadow-sm: var(--soft-shadow-xs);
|
|
106
|
+
--shadow-md: var(--soft-shadow-sm);
|
|
107
|
+
--shadow-lg: var(--soft-shadow-md);
|
|
108
|
+
--shadow-xl: var(--soft-shadow-lg);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@layer base {
|
|
112
|
+
* {
|
|
113
|
+
border-color: var(--border);
|
|
114
|
+
}
|
|
115
|
+
body {
|
|
116
|
+
margin: 0;
|
|
117
|
+
background: var(--background);
|
|
118
|
+
color: var(--foreground);
|
|
119
|
+
font-family: var(--soft-font-sans);
|
|
120
|
+
font-size: var(--soft-font-size-md);
|
|
121
|
+
font-weight: var(--soft-weight-regular);
|
|
122
|
+
line-height: var(--soft-line-height-md);
|
|
123
|
+
font-feature-settings: var(--soft-font-features);
|
|
124
|
+
-webkit-font-smoothing: antialiased;
|
|
125
|
+
}
|
|
126
|
+
:where(
|
|
127
|
+
button,
|
|
128
|
+
a[href],
|
|
129
|
+
summary,
|
|
130
|
+
select,
|
|
131
|
+
label[for],
|
|
132
|
+
[role="button"],
|
|
133
|
+
[role="link"],
|
|
134
|
+
[role="tab"],
|
|
135
|
+
[role="option"],
|
|
136
|
+
[role="menuitem"],
|
|
137
|
+
[role="menuitemcheckbox"],
|
|
138
|
+
[role="menuitemradio"],
|
|
139
|
+
[role="switch"],
|
|
140
|
+
[role="checkbox"],
|
|
141
|
+
[role="radio"],
|
|
142
|
+
[role="combobox"],
|
|
143
|
+
[role="slider"],
|
|
144
|
+
[role="treeitem"],
|
|
145
|
+
[data-slot$="trigger"]
|
|
146
|
+
) {
|
|
147
|
+
cursor: pointer;
|
|
148
|
+
}
|
|
149
|
+
:where(:disabled, [aria-disabled="true"], [data-disabled]) {
|
|
150
|
+
cursor: not-allowed;
|
|
151
|
+
}
|
|
152
|
+
label:has(+ :disabled),
|
|
153
|
+
[data-disabled="true"] label {
|
|
154
|
+
cursor: default;
|
|
155
|
+
}
|
|
156
|
+
:focus-visible {
|
|
157
|
+
outline: 2px solid var(--ring);
|
|
158
|
+
outline-offset: 2px;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/*
|
|
163
|
+
* Button treatments. Flat fills with a hairline highlight on the solid
|
|
164
|
+
* variants and a bordered white secondary; rounded rectangles, not pills.
|
|
165
|
+
* Geometry stays in the components layer so caller sizing utilities win.
|
|
166
|
+
*/
|
|
167
|
+
@layer components {
|
|
168
|
+
.soft-button,
|
|
169
|
+
[data-slot="button"] {
|
|
170
|
+
border-radius: var(--soft-button-radius);
|
|
171
|
+
font-family: var(--soft-font-sans);
|
|
172
|
+
font-size: var(--soft-button-font-size);
|
|
173
|
+
font-weight: var(--soft-button-font-weight);
|
|
174
|
+
line-height: var(--soft-button-line-height);
|
|
175
|
+
transition:
|
|
176
|
+
background-color 120ms ease,
|
|
177
|
+
box-shadow 120ms ease,
|
|
178
|
+
color 120ms ease;
|
|
179
|
+
}
|
|
180
|
+
.soft-button:active:not(:disabled) {
|
|
181
|
+
translate: 0 0.5px;
|
|
182
|
+
}
|
|
183
|
+
.soft-button-primary {
|
|
184
|
+
background-color: var(--soft-accent);
|
|
185
|
+
color: var(--soft-accent-text);
|
|
186
|
+
box-shadow: var(--soft-button-primary-shadow);
|
|
187
|
+
}
|
|
188
|
+
.soft-button-primary:hover {
|
|
189
|
+
background-color: var(--soft-accent-hover);
|
|
190
|
+
}
|
|
191
|
+
.soft-button-secondary {
|
|
192
|
+
background: var(--soft-surface);
|
|
193
|
+
color: var(--soft-text);
|
|
194
|
+
box-shadow: var(--soft-button-shadow);
|
|
195
|
+
}
|
|
196
|
+
.soft-button-secondary:hover {
|
|
197
|
+
background: var(--soft-surface-hover);
|
|
198
|
+
}
|
|
199
|
+
.soft-button-outline {
|
|
200
|
+
background: transparent;
|
|
201
|
+
color: var(--soft-text);
|
|
202
|
+
box-shadow: inset 0 0 0 1px var(--soft-border-strong);
|
|
203
|
+
}
|
|
204
|
+
.soft-button-tertiary {
|
|
205
|
+
background: transparent;
|
|
206
|
+
color: var(--soft-text);
|
|
207
|
+
box-shadow: none;
|
|
208
|
+
}
|
|
209
|
+
.soft-button-outline:hover,
|
|
210
|
+
.soft-button-tertiary:hover {
|
|
211
|
+
background: var(--soft-surface-hover);
|
|
212
|
+
}
|
|
213
|
+
.soft-button-critical {
|
|
214
|
+
background-color: var(--soft-critical-fill);
|
|
215
|
+
color: var(--soft-critical-on-fill);
|
|
216
|
+
box-shadow: var(--soft-button-critical-shadow);
|
|
217
|
+
}
|
|
218
|
+
.soft-button-critical:hover {
|
|
219
|
+
background-color: var(--soft-critical-fill-hover);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
[data-slot="button"]:disabled {
|
|
223
|
+
opacity: 0.5;
|
|
224
|
+
}
|
|
225
|
+
.soft-button:focus-visible,
|
|
226
|
+
[data-slot="button"]:focus-visible {
|
|
227
|
+
outline: var(--soft-focus-width) solid var(--soft-focus);
|
|
228
|
+
outline-offset: var(--soft-focus-offset);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/* Fields: a white well with an inset hairline that darkens on hover. */
|
|
232
|
+
[data-slot="input"],
|
|
233
|
+
[data-slot="input-group"],
|
|
234
|
+
[data-slot="select-trigger"],
|
|
235
|
+
[data-slot="textarea"] {
|
|
236
|
+
border-radius: var(--soft-field-radius);
|
|
237
|
+
border: 0;
|
|
238
|
+
background: var(--soft-field-surface);
|
|
239
|
+
box-shadow: var(--soft-field-shadow);
|
|
240
|
+
color: var(--soft-text);
|
|
241
|
+
font-family: var(--soft-font-sans);
|
|
242
|
+
font-size: var(--soft-field-font-size);
|
|
243
|
+
font-weight: var(--soft-weight-regular);
|
|
244
|
+
line-height: var(--soft-field-line-height);
|
|
245
|
+
transition: box-shadow 120ms ease;
|
|
246
|
+
}
|
|
247
|
+
:is(
|
|
248
|
+
[data-slot="input"],
|
|
249
|
+
[data-slot="input-group"],
|
|
250
|
+
[data-slot="select-trigger"],
|
|
251
|
+
[data-slot="textarea"]
|
|
252
|
+
):hover:not(:disabled, [data-disabled]) {
|
|
253
|
+
box-shadow:
|
|
254
|
+
inset 0 0 0 1px var(--soft-border-strong),
|
|
255
|
+
var(--soft-shadow-xs);
|
|
256
|
+
}
|
|
257
|
+
[data-slot="input-group-control"] {
|
|
258
|
+
background: transparent;
|
|
259
|
+
font-size: var(--soft-field-font-size);
|
|
260
|
+
font-weight: var(--soft-weight-regular);
|
|
261
|
+
line-height: var(--soft-field-line-height);
|
|
262
|
+
}
|
|
263
|
+
[data-slot="textarea"] {
|
|
264
|
+
height: auto;
|
|
265
|
+
min-height: 96px;
|
|
266
|
+
resize: vertical;
|
|
267
|
+
}
|
|
268
|
+
[data-slot="input"]::placeholder,
|
|
269
|
+
[data-slot="input-group-control"]::placeholder,
|
|
270
|
+
[data-slot="textarea"]::placeholder {
|
|
271
|
+
color: var(--muted-foreground);
|
|
272
|
+
opacity: 1;
|
|
273
|
+
}
|
|
274
|
+
[data-slot="input"]:focus-visible,
|
|
275
|
+
[data-slot="textarea"]:focus-visible,
|
|
276
|
+
[data-slot="select-trigger"]:focus-visible,
|
|
277
|
+
[data-slot="input-group"]:focus-within {
|
|
278
|
+
outline: var(--soft-focus-width) solid var(--soft-focus);
|
|
279
|
+
outline-offset: 0;
|
|
280
|
+
box-shadow:
|
|
281
|
+
inset 0 0 0 1px var(--soft-accent),
|
|
282
|
+
var(--soft-shadow-xs);
|
|
283
|
+
}
|
|
284
|
+
[aria-invalid="true"][data-slot="input"],
|
|
285
|
+
[aria-invalid="true"][data-slot="textarea"],
|
|
286
|
+
[aria-invalid="true"][data-slot="select-trigger"],
|
|
287
|
+
[data-slot="input-group"]:has([aria-invalid="true"]) {
|
|
288
|
+
background: var(--soft-critical-bg);
|
|
289
|
+
box-shadow: inset 0 0 0 1px var(--soft-critical-border);
|
|
290
|
+
outline: 2px solid var(--destructive);
|
|
291
|
+
outline-offset: 0;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
/* Cards: white surface, hairline ring, faint lift. */
|
|
295
|
+
@layer components {
|
|
296
|
+
[data-slot="card"] {
|
|
297
|
+
background: var(--soft-surface);
|
|
298
|
+
color: var(--soft-text);
|
|
299
|
+
box-shadow: var(--soft-card-shadow);
|
|
300
|
+
font-size: var(--soft-font-size-md);
|
|
301
|
+
font-weight: var(--soft-weight-regular);
|
|
302
|
+
line-height: var(--soft-line-height-md);
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
[data-slot="card-title"] {
|
|
306
|
+
font-size: var(--soft-font-size-md);
|
|
307
|
+
font-weight: var(--soft-weight-semibold);
|
|
308
|
+
line-height: var(--soft-line-height-md);
|
|
309
|
+
}
|
|
310
|
+
/* Overlays and menus. */
|
|
311
|
+
[data-slot="card-description"],
|
|
312
|
+
[data-slot="dialog-description"],
|
|
313
|
+
[data-slot="label"],
|
|
314
|
+
[data-slot="select-item"],
|
|
315
|
+
[data-slot="dropdown-menu-item"],
|
|
316
|
+
[data-slot="popover-content"] {
|
|
317
|
+
font-size: var(--soft-font-size-md);
|
|
318
|
+
line-height: var(--soft-line-height-md);
|
|
319
|
+
}
|
|
320
|
+
[data-slot="dialog-content"] {
|
|
321
|
+
width: 560px;
|
|
322
|
+
max-width: calc(100vw - 24px);
|
|
323
|
+
max-height: calc(100dvh - 24px);
|
|
324
|
+
overflow-y: auto;
|
|
325
|
+
padding: var(--soft-space-5);
|
|
326
|
+
border-radius: var(--soft-radius-xl);
|
|
327
|
+
box-shadow: var(--soft-shadow-lg);
|
|
328
|
+
}
|
|
329
|
+
[data-slot="dialog-overlay"] {
|
|
330
|
+
background: var(--soft-backdrop);
|
|
331
|
+
backdrop-filter: blur(2px);
|
|
332
|
+
}
|
|
333
|
+
[data-slot="dialog-title"] {
|
|
334
|
+
font-size: var(--soft-font-size-lg);
|
|
335
|
+
font-weight: var(--soft-weight-semibold);
|
|
336
|
+
line-height: var(--soft-line-height-lg);
|
|
337
|
+
padding-right: var(--soft-space-8);
|
|
338
|
+
}
|
|
339
|
+
[data-slot="popover-content"],
|
|
340
|
+
[data-slot="dropdown-menu-content"],
|
|
341
|
+
[data-slot="select-content"] {
|
|
342
|
+
max-width: calc(100vw - 24px);
|
|
343
|
+
border-radius: 10px;
|
|
344
|
+
box-shadow: var(--soft-shadow-md);
|
|
345
|
+
}
|
|
346
|
+
[data-slot="calendar"] {
|
|
347
|
+
background: var(--popover);
|
|
348
|
+
--cell-size: 32px;
|
|
349
|
+
}
|
|
350
|
+
[data-slot="calendar"] [data-slot="button"] {
|
|
351
|
+
height: var(--cell-size);
|
|
352
|
+
padding: 0;
|
|
353
|
+
}
|
|
354
|
+
[data-slot="checkbox"][data-indeterminate] {
|
|
355
|
+
background: var(--primary);
|
|
356
|
+
color: var(--primary-foreground);
|
|
357
|
+
}
|
|
358
|
+
[data-slot="avatar-fallback"] {
|
|
359
|
+
background: var(--soft-accent-subtle);
|
|
360
|
+
color: var(--soft-accent-ink);
|
|
361
|
+
font-weight: var(--soft-weight-semibold);
|
|
362
|
+
}
|
|
363
|
+
[data-slot="spinner"] {
|
|
364
|
+
animation: soft-spin 800ms linear infinite;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
/* Tables: quiet header, hairline rows, tabular figures. */
|
|
368
|
+
[data-slot="table"] {
|
|
369
|
+
font-size: inherit;
|
|
370
|
+
font-variant-numeric: tabular-nums;
|
|
371
|
+
}
|
|
372
|
+
[data-slot="table-head"],
|
|
373
|
+
[data-slot="table-cell"] {
|
|
374
|
+
padding: var(--soft-cell-padding);
|
|
375
|
+
}
|
|
376
|
+
[data-slot="table-head"] {
|
|
377
|
+
background: var(--soft-surface-subtle);
|
|
378
|
+
color: var(--soft-text-secondary);
|
|
379
|
+
font-size: var(--soft-font-size-sm);
|
|
380
|
+
font-weight: var(--soft-weight-medium);
|
|
381
|
+
}
|
|
382
|
+
.soft-table-scroll {
|
|
383
|
+
overflow-x: auto;
|
|
384
|
+
width: 100%;
|
|
385
|
+
border-radius: var(--soft-radius-md);
|
|
386
|
+
}
|
|
387
|
+
.soft-table-scroll table {
|
|
388
|
+
width: 100%;
|
|
389
|
+
border-collapse: collapse;
|
|
390
|
+
font-variant-numeric: tabular-nums;
|
|
391
|
+
}
|
|
392
|
+
.soft-table-scroll th,
|
|
393
|
+
.soft-table-scroll td {
|
|
394
|
+
padding: var(--soft-cell-padding);
|
|
395
|
+
border-bottom: 1px solid var(--border);
|
|
396
|
+
white-space: nowrap;
|
|
397
|
+
}
|
|
398
|
+
.soft-table-scroll th {
|
|
399
|
+
background: var(--soft-surface-subtle);
|
|
400
|
+
color: var(--soft-text-secondary);
|
|
401
|
+
font-size: var(--soft-font-size-sm);
|
|
402
|
+
font-weight: var(--soft-weight-medium);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
/* A table placed straight in a card runs edge to edge, aligned to the card padding. */
|
|
406
|
+
[data-slot="card"] > [data-slot="data-table"] > [data-slot="data-table-scroll"] {
|
|
407
|
+
border-inline: 0;
|
|
408
|
+
border-radius: 0;
|
|
409
|
+
background: var(--soft-surface);
|
|
410
|
+
}
|
|
411
|
+
[data-slot="card"] > [data-slot="data-table"] > [data-slot="data-table-footer"] {
|
|
412
|
+
padding-inline: var(--soft-card-padding);
|
|
413
|
+
}
|
|
414
|
+
[data-slot="card"]
|
|
415
|
+
> :is([data-slot="data-table"] > [data-slot="data-table-scroll"], .soft-table-scroll)
|
|
416
|
+
:is(th, td):first-child {
|
|
417
|
+
padding-left: var(--soft-card-padding);
|
|
418
|
+
}
|
|
419
|
+
[data-slot="card"]
|
|
420
|
+
> :is([data-slot="data-table"] > [data-slot="data-table-scroll"], .soft-table-scroll)
|
|
421
|
+
:is(th, td):last-child {
|
|
422
|
+
padding-right: var(--soft-card-padding);
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/* Links and form scaffolding. */
|
|
426
|
+
.soft-link {
|
|
427
|
+
color: var(--soft-text-link);
|
|
428
|
+
text-decoration: underline;
|
|
429
|
+
text-decoration-thickness: 1px;
|
|
430
|
+
text-underline-offset: 2px;
|
|
431
|
+
}
|
|
432
|
+
.soft-link:hover {
|
|
433
|
+
text-decoration-thickness: 2px;
|
|
434
|
+
}
|
|
435
|
+
.soft-field {
|
|
436
|
+
display: grid;
|
|
437
|
+
gap: var(--soft-label-gap);
|
|
438
|
+
min-width: 0;
|
|
439
|
+
}
|
|
440
|
+
.soft-field-message {
|
|
441
|
+
color: var(--muted-foreground);
|
|
442
|
+
font-size: var(--soft-font-size-sm);
|
|
443
|
+
line-height: var(--soft-line-height-sm);
|
|
444
|
+
}
|
|
445
|
+
.soft-field-error {
|
|
446
|
+
color: var(--soft-critical-ink);
|
|
447
|
+
font-size: var(--soft-font-size-sm);
|
|
448
|
+
line-height: var(--soft-line-height-sm);
|
|
449
|
+
}
|
|
450
|
+
.soft-choice {
|
|
451
|
+
display: flex;
|
|
452
|
+
align-items: start;
|
|
453
|
+
gap: var(--soft-space-2);
|
|
454
|
+
}
|
|
455
|
+
.soft-choice > :first-child {
|
|
456
|
+
margin-top: 3px;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/* Layout helpers. */
|
|
460
|
+
.soft-stack {
|
|
461
|
+
display: flex;
|
|
462
|
+
gap: var(--soft-gap, var(--soft-space-4));
|
|
463
|
+
min-width: 0;
|
|
464
|
+
}
|
|
465
|
+
.soft-grid {
|
|
466
|
+
display: grid;
|
|
467
|
+
grid-template-columns: repeat(var(--soft-columns, 2), minmax(0, 1fr));
|
|
468
|
+
gap: var(--soft-gap, var(--soft-space-4));
|
|
469
|
+
min-width: 0;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
/* Page: a centered column with a compact header row. */
|
|
473
|
+
.soft-page {
|
|
474
|
+
width: 100%;
|
|
475
|
+
max-width: 1120px;
|
|
476
|
+
margin: 0 auto;
|
|
477
|
+
padding: 28px 32px 40px;
|
|
478
|
+
min-width: 0;
|
|
479
|
+
}
|
|
480
|
+
.soft-page > a.soft-link {
|
|
481
|
+
color: var(--soft-text-secondary);
|
|
482
|
+
font-size: var(--soft-font-size-sm);
|
|
483
|
+
text-decoration: none;
|
|
484
|
+
}
|
|
485
|
+
.soft-page > a.soft-link:hover {
|
|
486
|
+
color: var(--soft-text);
|
|
487
|
+
}
|
|
488
|
+
.soft-page-header {
|
|
489
|
+
display: flex;
|
|
490
|
+
flex-wrap: wrap;
|
|
491
|
+
justify-content: space-between;
|
|
492
|
+
align-items: flex-end;
|
|
493
|
+
gap: var(--soft-space-3) var(--soft-space-4);
|
|
494
|
+
margin-bottom: var(--soft-space-6);
|
|
495
|
+
}
|
|
496
|
+
.soft-page h1 {
|
|
497
|
+
font-size: var(--soft-font-size-2xl);
|
|
498
|
+
line-height: var(--soft-line-height-2xl);
|
|
499
|
+
font-weight: var(--soft-weight-semibold);
|
|
500
|
+
letter-spacing: var(--soft-tracking-tight);
|
|
501
|
+
}
|
|
502
|
+
.soft-page-actions {
|
|
503
|
+
display: flex;
|
|
504
|
+
flex-wrap: wrap;
|
|
505
|
+
gap: var(--soft-space-2);
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
/* Sections inside a card: small secondary heading, dashed separator. */
|
|
509
|
+
:not(.soft-grid) > .soft-section + .soft-section {
|
|
510
|
+
border-top: 1px dashed var(--soft-border-strong);
|
|
511
|
+
padding-top: var(--soft-space-4);
|
|
512
|
+
}
|
|
513
|
+
.soft-section-title {
|
|
514
|
+
color: var(--soft-text-secondary);
|
|
515
|
+
font-size: var(--soft-font-size-sm);
|
|
516
|
+
font-weight: var(--soft-weight-semibold);
|
|
517
|
+
line-height: var(--soft-line-height-sm);
|
|
518
|
+
letter-spacing: 0.04em;
|
|
519
|
+
text-transform: uppercase;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
/* Tones feed badges and banners. */
|
|
523
|
+
.soft-tone {
|
|
524
|
+
--soft-tone-ink: var(--soft-neutral-ink);
|
|
525
|
+
--soft-tone-bg: var(--soft-neutral-bg);
|
|
526
|
+
--soft-tone-fg: var(--soft-neutral-ink);
|
|
527
|
+
--soft-tone-border: var(--soft-neutral-border);
|
|
528
|
+
}
|
|
529
|
+
.soft-tone[data-tone="info"] {
|
|
530
|
+
--soft-tone-ink: var(--soft-info-ink);
|
|
531
|
+
--soft-tone-bg: var(--soft-info-bg);
|
|
532
|
+
--soft-tone-fg: var(--soft-info-ink);
|
|
533
|
+
--soft-tone-border: var(--soft-info-border);
|
|
534
|
+
}
|
|
535
|
+
.soft-tone[data-tone="success"] {
|
|
536
|
+
--soft-tone-ink: var(--soft-success-ink);
|
|
537
|
+
--soft-tone-bg: var(--soft-success-bg);
|
|
538
|
+
--soft-tone-fg: var(--soft-success-ink);
|
|
539
|
+
--soft-tone-border: var(--soft-success-border);
|
|
540
|
+
}
|
|
541
|
+
.soft-tone[data-tone="warning"] {
|
|
542
|
+
--soft-tone-ink: var(--soft-warning-ink);
|
|
543
|
+
--soft-tone-bg: var(--soft-warning-bg);
|
|
544
|
+
--soft-tone-fg: var(--soft-warning-ink);
|
|
545
|
+
--soft-tone-border: var(--soft-warning-border);
|
|
546
|
+
}
|
|
547
|
+
.soft-tone[data-tone="caution"] {
|
|
548
|
+
--soft-tone-ink: var(--soft-caution-ink);
|
|
549
|
+
--soft-tone-bg: var(--soft-caution-bg);
|
|
550
|
+
--soft-tone-fg: var(--soft-caution-ink);
|
|
551
|
+
--soft-tone-border: var(--soft-caution-border);
|
|
552
|
+
}
|
|
553
|
+
.soft-tone[data-tone="critical"] {
|
|
554
|
+
--soft-tone-ink: var(--soft-critical-ink);
|
|
555
|
+
--soft-tone-bg: var(--soft-critical-bg);
|
|
556
|
+
--soft-tone-fg: var(--soft-critical-ink);
|
|
557
|
+
--soft-tone-border: var(--soft-critical-border);
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
/* Badge: a tinted pill with a hairline ring in its tone. */
|
|
561
|
+
.soft-badge {
|
|
562
|
+
display: inline-flex;
|
|
563
|
+
align-items: center;
|
|
564
|
+
gap: 5px;
|
|
565
|
+
min-height: 20px;
|
|
566
|
+
border-radius: var(--soft-radius-full);
|
|
567
|
+
padding: 2px 8px;
|
|
568
|
+
background: var(--soft-tone-bg);
|
|
569
|
+
box-shadow: inset 0 0 0 1px var(--soft-tone-border);
|
|
570
|
+
color: var(--soft-tone-fg);
|
|
571
|
+
font-size: var(--soft-font-size-sm);
|
|
572
|
+
font-weight: var(--soft-weight-medium);
|
|
573
|
+
line-height: var(--soft-line-height-sm);
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
/* Banner: tinted panel with a tone stripe on the leading edge. */
|
|
577
|
+
.soft-banner {
|
|
578
|
+
position: relative;
|
|
579
|
+
overflow: hidden;
|
|
580
|
+
border-radius: var(--soft-radius-lg);
|
|
581
|
+
background: var(--soft-tone-bg);
|
|
582
|
+
box-shadow:
|
|
583
|
+
inset 0 0 0 1px var(--soft-tone-border),
|
|
584
|
+
inset 3px 0 0 var(--soft-tone-ink);
|
|
585
|
+
padding: var(--soft-space-3) var(--soft-space-4) var(--soft-space-3) 18px;
|
|
586
|
+
}
|
|
587
|
+
.soft-banner-header {
|
|
588
|
+
display: flex;
|
|
589
|
+
align-items: center;
|
|
590
|
+
gap: var(--soft-space-2);
|
|
591
|
+
color: var(--soft-text);
|
|
592
|
+
font-weight: var(--soft-weight-semibold);
|
|
593
|
+
}
|
|
594
|
+
.soft-banner-header > svg {
|
|
595
|
+
flex-shrink: 0;
|
|
596
|
+
width: 16px;
|
|
597
|
+
height: 16px;
|
|
598
|
+
color: var(--soft-tone-ink);
|
|
599
|
+
}
|
|
600
|
+
.soft-banner-header > button {
|
|
601
|
+
margin-left: auto;
|
|
602
|
+
color: var(--soft-text-secondary);
|
|
603
|
+
background: transparent;
|
|
604
|
+
}
|
|
605
|
+
.soft-banner-body {
|
|
606
|
+
padding: var(--soft-space-1) 0 0 calc(16px + var(--soft-space-2));
|
|
607
|
+
color: var(--soft-text);
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
@media (max-width: 640px) {
|
|
611
|
+
.soft-grid {
|
|
612
|
+
grid-template-columns: minmax(0, 1fr);
|
|
613
|
+
}
|
|
614
|
+
.soft-page {
|
|
615
|
+
padding: var(--soft-space-4) var(--soft-space-4) var(--soft-space-8);
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
@media (prefers-reduced-motion: reduce) {
|
|
619
|
+
*,
|
|
620
|
+
*::before,
|
|
621
|
+
*::after {
|
|
622
|
+
/* biome-ignore lint/complexity/noImportantStyles: Reduced motion must override component animation utilities. */
|
|
623
|
+
animation-duration: 0.01ms !important;
|
|
624
|
+
/* biome-ignore lint/complexity/noImportantStyles: Reduced motion must stop infinite component animations. */
|
|
625
|
+
animation-iteration-count: 1 !important;
|
|
626
|
+
/* biome-ignore lint/complexity/noImportantStyles: Reduced motion must override component transition utilities. */
|
|
627
|
+
transition-duration: 0.01ms !important;
|
|
628
|
+
/* biome-ignore lint/complexity/noImportantStyles: Reduced motion must override smooth scrolling utilities. */
|
|
629
|
+
scroll-behavior: auto !important;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
/*
|
|
634
|
+
* Indeterminate Progress. Base UI marks the indicator data-indeterminate and
|
|
635
|
+
* sets no width, so upstream renders an empty track that reads as 0%. A short
|
|
636
|
+
* segment sweeps the track instead; reduced motion parks it at the start.
|
|
637
|
+
*/
|
|
638
|
+
@layer components {
|
|
639
|
+
[data-slot="progress-indicator"][data-indeterminate] {
|
|
640
|
+
width: 40%;
|
|
641
|
+
animation: progress-indeterminate 1.4s ease-in-out infinite;
|
|
642
|
+
}
|
|
643
|
+
@media (prefers-reduced-motion: reduce) {
|
|
644
|
+
[data-slot="progress-indicator"][data-indeterminate] {
|
|
645
|
+
animation: none;
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
/*
|
|
651
|
+
* Breadcrumb links. Upstream gives BreadcrumbLink no focus style, so keyboard
|
|
652
|
+
* focus fell back to the browser's auto outline: tight against the glyphs and
|
|
653
|
+
* a bright white box in dark. Same subtle ring as other borderless focus
|
|
654
|
+
* targets; the padding is cancelled by negative margin, so layout is unchanged.
|
|
655
|
+
*/
|
|
656
|
+
@layer components {
|
|
657
|
+
[data-slot="breadcrumb-link"] {
|
|
658
|
+
@apply -mx-0.5 rounded-sm px-0.5 outline-none focus-visible:ring-2 focus-visible:ring-ring/50;
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
/*
|
|
663
|
+
* Text shimmer (tw-shimmer). In light mode its highlight is the text color at
|
|
664
|
+
* 20% alpha, so each letter fades nearly to the background as the band passes
|
|
665
|
+
* ("Working, 5 steps" read "Working, 5 · ps" mid-sweep). The light band now
|
|
666
|
+
* sweeps toward a darker step of the text color (muted-foreground reaches
|
|
667
|
+
* about foreground), so every glyph keeps its contrast on every frame. Dark
|
|
668
|
+
* mode keeps tw-shimmer's own band, which already brightens the text.
|
|
669
|
+
*/
|
|
670
|
+
@layer components {
|
|
671
|
+
.shimmer:not(.shimmer-bg):not(:is(.dark *)) {
|
|
672
|
+
--shimmer-color: oklch(from currentColor calc(l * 0.35) c h);
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
@keyframes progress-indeterminate {
|
|
677
|
+
from {
|
|
678
|
+
translate: -100% 0;
|
|
679
|
+
}
|
|
680
|
+
to {
|
|
681
|
+
translate: 250% 0;
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
@custom-variant data-open (&:where([data-state="open"], [data-open]:not([data-open="false"])));
|
|
686
|
+
|
|
687
|
+
@custom-variant data-closed (
|
|
688
|
+
&:where([data-state="closed"], [data-closed]:not([data-closed="false"]))
|
|
689
|
+
);
|
|
690
|
+
|
|
691
|
+
.soft-badge-destructive:not([data-tone]) {
|
|
692
|
+
--soft-tone-bg: var(--soft-critical-bg);
|
|
693
|
+
--soft-tone-fg: var(--soft-critical-ink);
|
|
694
|
+
--soft-tone-border: var(--soft-critical-border);
|
|
695
|
+
}
|
|
696
|
+
.soft-badge-outline {
|
|
697
|
+
color: var(--soft-tone-ink, var(--foreground));
|
|
698
|
+
background: transparent;
|
|
699
|
+
border-color: var(--soft-tone-border);
|
|
700
|
+
}
|
|
701
|
+
.soft-badge-ghost,
|
|
702
|
+
.soft-badge-link {
|
|
703
|
+
color: var(--soft-tone-ink, var(--foreground));
|
|
704
|
+
background: transparent;
|
|
705
|
+
}
|
|
706
|
+
.soft-badge-link {
|
|
707
|
+
color: var(--soft-tone-ink, var(--soft-text-link));
|
|
708
|
+
}
|
|
709
|
+
.soft-button-link {
|
|
710
|
+
background: transparent;
|
|
711
|
+
box-shadow: none;
|
|
712
|
+
color: var(--soft-text-link);
|
|
713
|
+
text-decoration: underline;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
[data-slot="alert"],
|
|
717
|
+
[data-slot="empty"],
|
|
718
|
+
[data-slot="sheet-content"],
|
|
719
|
+
[data-slot="drawer-content"],
|
|
720
|
+
[data-slot="hover-card-content"] {
|
|
721
|
+
border-radius: var(--soft-radius-lg);
|
|
722
|
+
font-size: var(--soft-font-size-md);
|
|
723
|
+
line-height: var(--soft-line-height-md);
|
|
724
|
+
}
|
|
725
|
+
[data-slot="field-label"],
|
|
726
|
+
[data-slot="field-legend"],
|
|
727
|
+
[data-slot="accordion-trigger"],
|
|
728
|
+
[data-slot="navigation-menu-trigger"],
|
|
729
|
+
[data-slot="menubar-trigger"],
|
|
730
|
+
[data-slot="command-item"] {
|
|
731
|
+
font-size: var(--soft-font-size-md);
|
|
732
|
+
font-weight: var(--soft-weight-medium);
|
|
733
|
+
}
|
|
734
|
+
[data-slot="native-select"],
|
|
735
|
+
[data-slot="combobox-input"],
|
|
736
|
+
[data-slot="input-otp-slot"] {
|
|
737
|
+
min-height: var(--soft-control-height);
|
|
738
|
+
background: var(--soft-field-surface);
|
|
739
|
+
border-color: var(--input);
|
|
740
|
+
border-radius: var(--soft-radius-md);
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
/* Settle popup exit before restoring focus; do not hide a still-modal tree. */
|
|
744
|
+
[data-ending-style][data-closed] {
|
|
745
|
+
animation: none;
|
|
746
|
+
transition: none;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
:is(
|
|
750
|
+
button,
|
|
751
|
+
a[href],
|
|
752
|
+
summary,
|
|
753
|
+
select,
|
|
754
|
+
label[for],
|
|
755
|
+
[role="button"],
|
|
756
|
+
[role="link"],
|
|
757
|
+
[role="tab"],
|
|
758
|
+
[role="option"],
|
|
759
|
+
[role="menuitem"],
|
|
760
|
+
[role="menuitemcheckbox"],
|
|
761
|
+
[role="menuitemradio"],
|
|
762
|
+
[role="switch"],
|
|
763
|
+
[role="checkbox"],
|
|
764
|
+
[role="radio"],
|
|
765
|
+
[role="combobox"],
|
|
766
|
+
[role="slider"],
|
|
767
|
+
[role="treeitem"],
|
|
768
|
+
[data-slot$="trigger"],
|
|
769
|
+
input:is(
|
|
770
|
+
[type="checkbox"],
|
|
771
|
+
[type="radio"],
|
|
772
|
+
[type="range"],
|
|
773
|
+
[type="color"],
|
|
774
|
+
[type="file"],
|
|
775
|
+
[type="submit"],
|
|
776
|
+
[type="button"],
|
|
777
|
+
[type="reset"]
|
|
778
|
+
)
|
|
779
|
+
):not(
|
|
780
|
+
input:is(
|
|
781
|
+
:not([type]),
|
|
782
|
+
[type="text"],
|
|
783
|
+
[type="search"],
|
|
784
|
+
[type="email"],
|
|
785
|
+
[type="url"],
|
|
786
|
+
[type="tel"],
|
|
787
|
+
[type="number"],
|
|
788
|
+
[type="password"]
|
|
789
|
+
),
|
|
790
|
+
textarea
|
|
791
|
+
) {
|
|
792
|
+
cursor: pointer;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
:is(
|
|
796
|
+
button,
|
|
797
|
+
a[href],
|
|
798
|
+
summary,
|
|
799
|
+
select,
|
|
800
|
+
[role="button"],
|
|
801
|
+
[role="link"],
|
|
802
|
+
[role="tab"],
|
|
803
|
+
[role="option"],
|
|
804
|
+
[role="menuitem"],
|
|
805
|
+
[role="menuitemcheckbox"],
|
|
806
|
+
[role="menuitemradio"],
|
|
807
|
+
[role="switch"],
|
|
808
|
+
[role="checkbox"],
|
|
809
|
+
[role="radio"],
|
|
810
|
+
[role="combobox"],
|
|
811
|
+
[role="slider"],
|
|
812
|
+
[role="treeitem"],
|
|
813
|
+
[data-slot$="trigger"],
|
|
814
|
+
input
|
|
815
|
+
):is(:disabled, [aria-disabled="true"], [data-disabled]) {
|
|
816
|
+
cursor: not-allowed;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
input[data-slot="input-group-control"] {
|
|
820
|
+
height: 100%;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
.soft-field > [data-slot="label"],
|
|
824
|
+
[data-slot="field-label"] {
|
|
825
|
+
font-size: var(--soft-font-size-md);
|
|
826
|
+
font-weight: var(--soft-weight-medium);
|
|
827
|
+
line-height: var(--soft-line-height-md);
|
|
828
|
+
}
|