meowtail 0.2.0-alpha.2 → 0.3.0-alpha.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/AGENT-COMPONENTS.md +2 -2
- package/ASSISTANT.md +5 -1
- package/CHANGELOG.md +96 -0
- package/COMPONENTS.md +342 -0
- package/README.md +174 -38
- package/THIRD_PARTY_NOTICES.md +47 -0
- package/dist/src/chat/assistant-composer.d.ts +10 -6
- package/dist/src/chat/assistant-composer.js +49 -87
- package/dist/src/chat/assistant-content.d.ts +28 -12
- package/dist/src/chat/assistant-content.js +86 -71
- package/dist/src/chat/assistant-markdown.d.ts +10 -7
- package/dist/src/chat/assistant-markdown.js +5 -5
- package/dist/src/chat/assistant-question.d.ts +9 -7
- package/dist/src/chat/assistant-question.js +30 -61
- package/dist/src/chat/assistant-scroll.d.ts +2 -0
- package/dist/src/chat/assistant-scroll.js +28 -1
- package/dist/src/chat/assistant-types.d.ts +22 -1
- package/dist/src/chat/assistant-types.js +7 -0
- package/dist/src/chat/assistant.d.ts +9 -6
- package/dist/src/chat/assistant.js +222 -190
- package/dist/src/chat/attachments.d.ts +9 -7
- package/dist/src/chat/attachments.js +45 -60
- package/dist/src/chat/bubble.d.ts +12 -13
- package/dist/src/chat/bubble.js +8 -13
- package/dist/src/chat/bubble.options.d.ts +3 -0
- package/dist/src/chat/bubble.options.js +4 -0
- package/dist/src/chat/composer-panel.d.ts +9 -8
- package/dist/src/chat/composer-panel.js +12 -6
- package/dist/src/chat/composer.d.ts +16 -18
- package/dist/src/chat/composer.js +51 -63
- package/dist/src/chat/composer.options.d.ts +4 -0
- package/dist/src/chat/composer.options.js +5 -0
- package/dist/src/chat/conversation.d.ts +19 -10
- package/dist/src/chat/conversation.js +22 -16
- package/dist/src/chat/frame.d.ts +10 -7
- package/dist/src/chat/frame.js +6 -3
- package/dist/src/chat/header.d.ts +10 -7
- package/dist/src/chat/header.js +14 -12
- package/dist/src/chat/index.d.ts +21 -17
- package/dist/src/chat/index.js +21 -17
- package/dist/src/chat/message-actions.d.ts +10 -7
- package/dist/src/chat/message-actions.js +6 -3
- package/dist/src/chat/message-context.d.ts +1 -1
- package/dist/src/chat/message-list.d.ts +32 -14
- package/dist/src/chat/message-list.js +19 -18
- package/dist/src/chat/message.d.ts +9 -7
- package/dist/src/chat/message.js +26 -19
- package/dist/src/chat/process.d.ts +9 -6
- package/dist/src/chat/process.js +13 -5
- package/dist/src/chat/question.d.ts +12 -7
- package/dist/src/chat/question.js +17 -4
- package/dist/src/chat/reasoning.d.ts +23 -0
- package/dist/src/chat/reasoning.js +28 -0
- package/dist/src/chat/sources.d.ts +12 -9
- package/dist/src/chat/sources.js +17 -8
- package/dist/src/chat/status.d.ts +13 -13
- package/dist/src/chat/status.js +11 -12
- package/dist/src/chat/status.options.d.ts +3 -0
- package/dist/src/chat/status.options.js +4 -0
- package/dist/src/chat/task.d.ts +8 -7
- package/dist/src/chat/task.js +45 -28
- package/dist/src/chat/tool-call.d.ts +10 -8
- package/dist/src/chat/tool-call.js +60 -51
- package/dist/src/components/accordion.d.ts +9 -7
- package/dist/src/components/accordion.js +8 -14
- package/dist/src/components/action-rail.d.ts +9 -7
- package/dist/src/components/action-rail.js +11 -8
- package/dist/src/components/action-row.d.ts +22 -0
- package/dist/src/components/action-row.js +18 -0
- package/dist/src/components/action-row.options.d.ts +4 -0
- package/dist/src/components/action-row.options.js +5 -0
- package/dist/src/components/alert.d.ts +20 -16
- package/dist/src/components/alert.js +16 -11
- package/dist/src/components/alert.options.d.ts +6 -0
- package/dist/src/components/alert.options.js +7 -0
- package/dist/src/components/app-bar.d.ts +9 -7
- package/dist/src/components/app-bar.js +12 -6
- package/dist/src/components/aspect-ratio.d.ts +13 -8
- package/dist/src/components/aspect-ratio.js +10 -14
- package/dist/src/components/avatar.d.ts +14 -13
- package/dist/src/components/avatar.js +14 -27
- package/dist/src/components/avatar.options.d.ts +3 -0
- package/dist/src/components/avatar.options.js +4 -0
- package/dist/src/components/badge.d.ts +16 -15
- package/dist/src/components/badge.js +9 -12
- package/dist/src/components/badge.options.d.ts +4 -0
- package/dist/src/components/badge.options.js +5 -0
- package/dist/src/components/breadcrumb.d.ts +10 -7
- package/dist/src/components/breadcrumb.js +9 -7
- package/dist/src/components/button.d.ts +16 -25
- package/dist/src/components/button.js +9 -20
- package/dist/src/components/button.options.d.ts +9 -0
- package/dist/src/components/button.options.js +10 -0
- package/dist/src/components/card-action.d.ts +10 -7
- package/dist/src/components/card-action.js +6 -6
- package/dist/src/components/card-content.d.ts +10 -7
- package/dist/src/components/card-content.js +6 -6
- package/dist/src/components/card-description.d.ts +10 -7
- package/dist/src/components/card-description.js +6 -6
- package/dist/src/components/card-footer.d.ts +10 -7
- package/dist/src/components/card-footer.js +7 -6
- package/dist/src/components/card-header.d.ts +10 -7
- package/dist/src/components/card-header.js +6 -6
- package/dist/src/components/card-title.d.ts +10 -7
- package/dist/src/components/card-title.js +6 -6
- package/dist/src/components/card.d.ts +15 -13
- package/dist/src/components/card.js +13 -11
- package/dist/src/components/card.options.d.ts +3 -0
- package/dist/src/components/card.options.js +2 -0
- package/dist/src/components/checkbox.d.ts +10 -7
- package/dist/src/components/checkbox.js +42 -39
- package/dist/src/components/choice-group.d.ts +9 -7
- package/dist/src/components/choice-group.js +35 -39
- package/dist/src/components/choice-select.d.ts +9 -7
- package/dist/src/components/choice-select.js +100 -142
- package/dist/src/components/code-block.d.ts +27 -6
- package/dist/src/components/code-block.js +35 -17
- package/dist/src/components/container.d.ts +15 -13
- package/dist/src/components/container.js +13 -11
- package/dist/src/components/container.options.d.ts +3 -0
- package/dist/src/components/container.options.js +4 -0
- package/dist/src/components/context-menu.d.ts +9 -7
- package/dist/src/components/context-menu.js +7 -20
- package/dist/src/components/credential-source.js +4 -10
- package/dist/src/components/description-list.d.ts +17 -13
- package/dist/src/components/description-list.js +11 -11
- package/dist/src/components/detail-section.d.ts +9 -7
- package/dist/src/components/detail-section.js +12 -8
- package/dist/src/components/dialog-actions.d.ts +12 -0
- package/dist/src/components/dialog-actions.js +7 -0
- package/dist/src/components/dialog-header.d.ts +18 -0
- package/dist/src/components/dialog-header.js +14 -0
- package/dist/src/components/dialog-panel.d.ts +14 -0
- package/dist/src/components/dialog-panel.js +8 -0
- package/dist/src/components/dialog.d.ts +12 -38
- package/dist/src/components/dialog.js +10 -29
- package/dist/src/components/diff-block.d.ts +12 -7
- package/dist/src/components/diff-block.js +12 -15
- package/dist/src/components/disclosure.d.ts +15 -10
- package/dist/src/components/disclosure.js +14 -13
- package/dist/src/components/drawer.d.ts +9 -7
- package/dist/src/components/drawer.js +36 -38
- package/dist/src/components/empty-state.d.ts +23 -13
- package/dist/src/components/empty-state.js +18 -7
- package/dist/src/components/empty-state.options.d.ts +3 -0
- package/dist/src/components/empty-state.options.js +2 -0
- package/dist/src/components/field-group.d.ts +10 -7
- package/dist/src/components/field-group.js +12 -15
- package/dist/src/components/field.d.ts +12 -8
- package/dist/src/components/field.js +55 -22
- package/dist/src/components/grid.d.ts +18 -20
- package/dist/src/components/grid.js +21 -23
- package/dist/src/components/grid.options.d.ts +7 -0
- package/dist/src/components/grid.options.js +8 -0
- package/dist/src/components/hover-card.d.ts +13 -8
- package/dist/src/components/hover-card.js +26 -36
- package/dist/src/components/icon-button.d.ts +17 -14
- package/dist/src/components/icon-button.js +9 -13
- package/dist/src/components/icon-button.options.d.ts +3 -0
- package/dist/src/components/icon-button.options.js +4 -0
- package/dist/src/components/icon-rail.d.ts +9 -7
- package/dist/src/components/icon-rail.js +14 -10
- package/dist/src/components/image-lightbox.d.ts +12 -7
- package/dist/src/components/image-lightbox.js +38 -43
- package/dist/src/components/image-preview.d.ts +8 -6
- package/dist/src/components/image-preview.js +23 -33
- package/dist/src/components/index.d.ts +104 -95
- package/dist/src/components/index.js +104 -95
- package/dist/src/components/inline.d.ts +14 -10
- package/dist/src/components/inline.js +20 -17
- package/dist/src/components/input.d.ts +10 -7
- package/dist/src/components/input.js +6 -6
- package/dist/src/components/item.d.ts +15 -15
- package/dist/src/components/item.js +17 -15
- package/dist/src/components/item.options.d.ts +4 -0
- package/dist/src/components/item.options.js +5 -0
- package/dist/src/components/json-block.d.ts +12 -7
- package/dist/src/components/json-block.js +14 -15
- package/dist/src/components/json-tree.d.ts +12 -7
- package/dist/src/components/json-tree.js +32 -33
- package/dist/src/components/layout-item.d.ts +9 -6
- package/dist/src/components/layout-item.js +17 -16
- package/dist/src/components/layout-types.d.ts +2 -6
- package/dist/src/components/layout-types.js +1 -6
- package/dist/src/components/layout.options.d.ts +5 -0
- package/dist/src/components/layout.options.js +6 -0
- package/dist/src/components/link.d.ts +9 -7
- package/dist/src/components/link.js +5 -6
- package/dist/src/components/list-group.d.ts +17 -13
- package/dist/src/components/list-group.js +19 -17
- package/dist/src/components/menu.d.ts +10 -7
- package/dist/src/components/menu.js +46 -68
- package/dist/src/components/mermaid-diagram.d.ts +41 -0
- package/dist/src/components/mermaid-diagram.js +127 -0
- package/dist/src/components/meta-row.d.ts +15 -15
- package/dist/src/components/meta-row.js +29 -32
- package/dist/src/components/meta-row.options.d.ts +4 -0
- package/dist/src/components/meta-row.options.js +5 -0
- package/dist/src/components/modal.d.ts +41 -0
- package/dist/src/components/modal.js +103 -0
- package/dist/src/components/nav-item.d.ts +13 -7
- package/dist/src/components/nav-item.js +12 -15
- package/dist/src/components/nav-list.d.ts +50 -0
- package/dist/src/components/nav-list.js +53 -0
- package/dist/src/components/number-input.d.ts +9 -7
- package/dist/src/components/number-input.js +40 -68
- package/dist/src/components/output-block.d.ts +8 -6
- package/dist/src/components/output-block.js +19 -24
- package/dist/src/components/page-frame.d.ts +19 -16
- package/dist/src/components/page-frame.js +17 -10
- package/dist/src/components/page-frame.options.d.ts +4 -0
- package/dist/src/components/page-frame.options.js +5 -0
- package/dist/src/components/page-header.d.ts +15 -7
- package/dist/src/components/page-header.js +18 -7
- package/dist/src/components/page.d.ts +54 -0
- package/dist/src/components/page.js +27 -0
- package/dist/src/components/path-label.d.ts +13 -8
- package/dist/src/components/path-label.js +37 -36
- package/dist/src/components/path-picker.d.ts +9 -7
- package/dist/src/components/path-picker.js +15 -17
- package/dist/src/components/pill.d.ts +9 -7
- package/dist/src/components/pill.js +6 -9
- package/dist/src/components/popover.d.ts +10 -7
- package/dist/src/components/popover.js +169 -172
- package/dist/src/components/process-group.d.ts +14 -9
- package/dist/src/components/process-group.js +13 -4
- package/dist/src/components/process-step.d.ts +9 -7
- package/dist/src/components/process-step.js +8 -6
- package/dist/src/components/progress.d.ts +9 -7
- package/dist/src/components/progress.js +6 -11
- package/dist/src/components/prose.d.ts +23 -0
- package/dist/src/components/prose.js +17 -0
- package/dist/src/components/prose.options.d.ts +4 -0
- package/dist/src/components/prose.options.js +5 -0
- package/dist/src/components/rail-item.d.ts +9 -7
- package/dist/src/components/rail-item.js +10 -15
- package/dist/src/components/rail-section.d.ts +9 -7
- package/dist/src/components/rail-section.js +12 -6
- package/dist/src/components/read-block.d.ts +8 -6
- package/dist/src/components/read-block.js +51 -56
- package/dist/src/components/region-layout.d.ts +23 -4
- package/dist/src/components/region-layout.js +76 -72
- package/dist/src/components/resource-card.d.ts +9 -7
- package/dist/src/components/resource-card.js +17 -6
- package/dist/src/components/resource-link.d.ts +9 -7
- package/dist/src/components/resource-link.js +13 -10
- package/dist/src/components/risk-confirmation.d.ts +9 -7
- package/dist/src/components/risk-confirmation.js +6 -9
- package/dist/src/components/search-block.d.ts +9 -6
- package/dist/src/components/search-block.js +14 -16
- package/dist/src/components/search-input.d.ts +14 -9
- package/dist/src/components/search-input.js +12 -12
- package/dist/src/components/section.d.ts +44 -0
- package/dist/src/components/section.js +45 -0
- package/dist/src/components/segmented-control.d.ts +9 -7
- package/dist/src/components/segmented-control.js +49 -54
- package/dist/src/components/select.d.ts +10 -7
- package/dist/src/components/select.js +6 -6
- package/dist/src/components/separator.d.ts +10 -7
- package/dist/src/components/separator.js +6 -11
- package/dist/src/components/shortcut-keys.d.ts +13 -8
- package/dist/src/components/shortcut-keys.js +9 -7
- package/dist/src/components/skeleton-boundary.d.ts +13 -8
- package/dist/src/components/skeleton-boundary.js +28 -26
- package/dist/src/components/skeleton.d.ts +14 -13
- package/dist/src/components/skeleton.js +9 -11
- package/dist/src/components/skeleton.options.d.ts +3 -0
- package/dist/src/components/skeleton.options.js +2 -0
- package/dist/src/components/slider.d.ts +9 -7
- package/dist/src/components/slider.js +8 -23
- package/dist/src/components/spinner.d.ts +10 -7
- package/dist/src/components/spinner.js +8 -6
- package/dist/src/components/stack.d.ts +14 -10
- package/dist/src/components/stack.js +19 -16
- package/dist/src/components/state-dot.d.ts +13 -8
- package/dist/src/components/state-dot.js +23 -27
- package/dist/src/components/status-dot.d.ts +18 -26
- package/dist/src/components/status-dot.js +12 -21
- package/dist/src/components/status-dot.options.d.ts +9 -0
- package/dist/src/components/status-dot.options.js +10 -0
- package/dist/src/components/status.d.ts +10 -8
- package/dist/src/components/status.js +8 -7
- package/dist/src/components/switch.d.ts +8 -5
- package/dist/src/components/switch.js +9 -6
- package/dist/src/components/table.d.ts +14 -7
- package/dist/src/components/table.js +65 -73
- package/dist/src/components/table.options.d.ts +2 -0
- package/dist/src/components/table.options.js +3 -0
- package/dist/src/components/tabs.d.ts +10 -9
- package/dist/src/components/tabs.js +14 -35
- package/dist/src/components/tabs.options.d.ts +2 -0
- package/dist/src/components/tabs.options.js +3 -0
- package/dist/src/components/tag.d.ts +15 -19
- package/dist/src/components/tag.js +9 -12
- package/dist/src/components/tag.options.d.ts +6 -0
- package/dist/src/components/tag.options.js +7 -0
- package/dist/src/components/task-list.d.ts +34 -0
- package/dist/src/components/task-list.js +81 -0
- package/dist/src/components/terminal-block.d.ts +9 -6
- package/dist/src/components/terminal-block.js +32 -39
- package/dist/src/components/text-shimmer.d.ts +13 -8
- package/dist/src/components/text-shimmer.js +15 -10
- package/dist/src/components/text.d.ts +30 -0
- package/dist/src/components/text.js +24 -0
- package/dist/src/components/text.options.d.ts +3 -0
- package/dist/src/components/text.options.js +4 -0
- package/dist/src/components/textarea.d.ts +10 -7
- package/dist/src/components/textarea.js +6 -6
- package/dist/src/components/timeline.d.ts +18 -13
- package/dist/src/components/timeline.js +19 -12
- package/dist/src/components/toast.d.ts +13 -8
- package/dist/src/components/toast.js +12 -7
- package/dist/src/components/toolbar.d.ts +10 -7
- package/dist/src/components/toolbar.js +6 -22
- package/dist/src/components/tooltip.d.ts +9 -7
- package/dist/src/components/tooltip.js +17 -34
- package/dist/src/components/web-block.d.ts +9 -6
- package/dist/src/components/web-block.js +19 -21
- package/dist/src/components/window-title-bar.d.ts +9 -7
- package/dist/src/components/window-title-bar.js +11 -6
- package/dist/src/components/work-card.d.ts +9 -7
- package/dist/src/components/work-card.js +17 -6
- package/dist/src/icons/README.md +81 -1
- package/dist/src/icons/assistant-mark.d.ts +9 -0
- package/dist/src/icons/assistant-mark.js +10 -0
- package/dist/src/icons/doodle-cat.d.ts +2 -2
- package/dist/src/icons/doodle-cat.js +1 -1
- package/dist/src/icons/empty-stack.d.ts +10 -0
- package/dist/src/icons/empty-stack.js +16 -0
- package/dist/src/icons/file-type-icon.d.ts +2 -2
- package/dist/src/icons/icon-frame.d.ts +2 -2
- package/dist/src/icons/icon-frame.js +1 -1
- package/dist/src/icons/icon-source.d.ts +2 -2
- package/dist/src/icons/icon.d.ts +9 -3
- package/dist/src/icons/icon.js +8 -2
- package/dist/src/icons/index.d.ts +2 -0
- package/dist/src/icons/index.js +2 -0
- package/dist/src/icons/meowland-mark.d.ts +2 -2
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +2 -0
- package/dist/src/json/catalog.d.ts +2 -0
- package/dist/src/json/catalog.js +1 -0
- package/dist/src/registry/factory.d.ts +9 -0
- package/dist/src/registry/factory.js +9 -0
- package/dist/src/registry/index.d.ts +174 -596
- package/dist/src/registry/index.js +267 -261
- package/dist/src/shared/action-row-fit.d.ts +19 -0
- package/dist/src/shared/action-row-fit.js +59 -0
- package/dist/src/theme/audit.d.ts +2 -0
- package/dist/src/theme/audit.js +60 -0
- package/dist/src/theme/base.styles.d.ts +3 -2
- package/dist/src/theme/base.styles.js +43 -5
- package/dist/src/theme/chat/assistant.styles.d.ts +1 -1
- package/dist/src/theme/chat/assistant.styles.js +240 -133
- package/dist/src/theme/chat/attachments.styles.d.ts +1 -1
- package/dist/src/theme/chat/attachments.styles.js +96 -96
- package/dist/src/theme/chat/composer-panel.styles.d.ts +1 -1
- package/dist/src/theme/chat/composer-panel.styles.js +22 -22
- package/dist/src/theme/chat/composer.styles.d.ts +1 -1
- package/dist/src/theme/chat/composer.styles.js +256 -168
- package/dist/src/theme/chat/conversation.styles.d.ts +1 -1
- package/dist/src/theme/chat/conversation.styles.js +24 -25
- package/dist/src/theme/chat/frame.styles.d.ts +1 -1
- package/dist/src/theme/chat/frame.styles.js +35 -34
- package/dist/src/theme/chat/header.styles.d.ts +1 -1
- package/dist/src/theme/chat/header.styles.js +37 -37
- package/dist/src/theme/chat/message.styles.d.ts +1 -1
- package/dist/src/theme/chat/message.styles.js +132 -190
- package/dist/src/theme/chat/question.styles.d.ts +1 -1
- package/dist/src/theme/chat/question.styles.js +34 -33
- package/dist/src/theme/chat/reasoning.styles.d.ts +1 -0
- package/dist/src/theme/chat/reasoning.styles.js +142 -0
- package/dist/src/theme/chat/records.styles.d.ts +1 -1
- package/dist/src/theme/chat/records.styles.js +200 -243
- package/dist/src/theme/chat/status.styles.d.ts +1 -1
- package/dist/src/theme/chat/status.styles.js +14 -58
- package/dist/src/theme/chat/task.styles.d.ts +1 -1
- package/dist/src/theme/chat/task.styles.js +28 -29
- package/dist/src/theme/components/accordion.styles.d.ts +1 -1
- package/dist/src/theme/components/accordion.styles.js +29 -28
- package/dist/src/theme/components/action-rail.styles.d.ts +1 -1
- package/dist/src/theme/components/action-rail.styles.js +10 -10
- package/dist/src/theme/components/alert.styles.d.ts +1 -1
- package/dist/src/theme/components/alert.styles.js +37 -28
- package/dist/src/theme/components/app-bar.styles.d.ts +1 -1
- package/dist/src/theme/components/app-bar.styles.js +19 -18
- package/dist/src/theme/components/avatar.styles.d.ts +1 -1
- package/dist/src/theme/components/avatar.styles.js +18 -16
- package/dist/src/theme/components/badge.styles.d.ts +1 -1
- package/dist/src/theme/components/badge.styles.js +31 -30
- package/dist/src/theme/components/breadcrumb.styles.d.ts +1 -1
- package/dist/src/theme/components/breadcrumb.styles.js +21 -21
- package/dist/src/theme/components/button.styles.d.ts +1 -1
- package/dist/src/theme/components/button.styles.js +90 -78
- package/dist/src/theme/components/card.styles.d.ts +1 -1
- package/dist/src/theme/components/card.styles.js +52 -53
- package/dist/src/theme/components/choice-group.styles.d.ts +1 -1
- package/dist/src/theme/components/choice-group.styles.js +39 -38
- package/dist/src/theme/components/choice-select.styles.d.ts +1 -1
- package/dist/src/theme/components/choice-select.styles.js +79 -98
- package/dist/src/theme/components/code-block.styles.d.ts +1 -1
- package/dist/src/theme/components/code-block.styles.js +50 -32
- package/dist/src/theme/components/context-menu.styles.d.ts +1 -1
- package/dist/src/theme/components/context-menu.styles.js +7 -7
- package/dist/src/theme/components/description-list.styles.d.ts +1 -1
- package/dist/src/theme/components/description-list.styles.js +11 -10
- package/dist/src/theme/components/detail-section.styles.d.ts +1 -1
- package/dist/src/theme/components/detail-section.styles.js +15 -13
- package/dist/src/theme/components/dialog.styles.d.ts +1 -1
- package/dist/src/theme/components/dialog.styles.js +76 -42
- package/dist/src/theme/components/disclosure.styles.d.ts +1 -1
- package/dist/src/theme/components/disclosure.styles.js +31 -31
- package/dist/src/theme/components/drawer.styles.d.ts +1 -1
- package/dist/src/theme/components/drawer.styles.js +13 -13
- package/dist/src/theme/components/empty-state.styles.d.ts +1 -1
- package/dist/src/theme/components/empty-state.styles.js +30 -26
- package/dist/src/theme/components/field-group.styles.d.ts +1 -1
- package/dist/src/theme/components/field-group.styles.js +15 -15
- package/dist/src/theme/components/field.styles.d.ts +1 -1
- package/dist/src/theme/components/field.styles.js +17 -17
- package/dist/src/theme/components/hover-card.styles.d.ts +1 -1
- package/dist/src/theme/components/hover-card.styles.js +23 -23
- package/dist/src/theme/components/icon-rail.styles.d.ts +1 -1
- package/dist/src/theme/components/icon-rail.styles.js +50 -50
- package/dist/src/theme/components/image-lightbox.styles.d.ts +1 -1
- package/dist/src/theme/components/image-lightbox.styles.js +27 -27
- package/dist/src/theme/components/image-preview.styles.d.ts +1 -1
- package/dist/src/theme/components/image-preview.styles.js +23 -18
- package/dist/src/theme/components/item.styles.d.ts +1 -1
- package/dist/src/theme/components/item.styles.js +49 -44
- package/dist/src/theme/components/json.styles.d.ts +1 -1
- package/dist/src/theme/components/json.styles.js +82 -53
- package/dist/src/theme/components/layout.styles.d.ts +1 -1
- package/dist/src/theme/components/layout.styles.js +50 -48
- package/dist/src/theme/components/link.styles.d.ts +1 -1
- package/dist/src/theme/components/link.styles.js +12 -13
- package/dist/src/theme/components/list-group.styles.d.ts +1 -1
- package/dist/src/theme/components/list-group.styles.js +25 -24
- package/dist/src/theme/components/menu.styles.d.ts +1 -1
- package/dist/src/theme/components/menu.styles.js +44 -38
- package/dist/src/theme/components/mermaid-diagram.styles.d.ts +1 -0
- package/dist/src/theme/components/mermaid-diagram.styles.js +162 -0
- package/dist/src/theme/components/meta-row.styles.d.ts +1 -1
- package/dist/src/theme/components/meta-row.styles.js +25 -24
- package/dist/src/theme/components/modal.styles.d.ts +5 -0
- package/dist/src/theme/components/modal.styles.js +11 -0
- package/dist/src/theme/components/native-input.styles.d.ts +1 -1
- package/dist/src/theme/components/native-input.styles.js +38 -83
- package/dist/src/theme/components/nav-item.styles.d.ts +1 -1
- package/dist/src/theme/components/nav-item.styles.js +30 -30
- package/dist/src/theme/components/nav-list.styles.d.ts +1 -0
- package/dist/src/theme/components/nav-list.styles.js +155 -0
- package/dist/src/theme/components/number-input.styles.d.ts +1 -1
- package/dist/src/theme/components/number-input.styles.js +24 -47
- package/dist/src/theme/components/output-block.styles.d.ts +1 -1
- package/dist/src/theme/components/output-block.styles.js +129 -104
- package/dist/src/theme/components/page-frame.styles.d.ts +1 -1
- package/dist/src/theme/components/page-frame.styles.js +53 -17
- package/dist/src/theme/components/page-header.styles.d.ts +1 -1
- package/dist/src/theme/components/page-header.styles.js +34 -14
- package/dist/src/theme/components/page.styles.d.ts +1 -0
- package/dist/src/theme/components/page.styles.js +55 -0
- package/dist/src/theme/components/path-label.styles.d.ts +1 -1
- package/dist/src/theme/components/path-label.styles.js +10 -10
- package/dist/src/theme/components/path-picker.styles.d.ts +1 -1
- package/dist/src/theme/components/path-picker.styles.js +13 -13
- package/dist/src/theme/components/pill.styles.d.ts +1 -1
- package/dist/src/theme/components/pill.styles.js +22 -18
- package/dist/src/theme/components/popover.styles.d.ts +1 -1
- package/dist/src/theme/components/popover.styles.js +17 -17
- package/dist/src/theme/components/process-group.styles.d.ts +1 -1
- package/dist/src/theme/components/process-group.styles.js +56 -60
- package/dist/src/theme/components/progress.styles.d.ts +1 -1
- package/dist/src/theme/components/progress.styles.js +12 -13
- package/dist/src/theme/components/region-layout.styles.d.ts +1 -1
- package/dist/src/theme/components/region-layout.styles.js +18 -18
- package/dist/src/theme/components/resource-card.styles.d.ts +1 -1
- package/dist/src/theme/components/resource-card.styles.js +37 -37
- package/dist/src/theme/components/resource-link.styles.d.ts +1 -1
- package/dist/src/theme/components/resource-link.styles.js +21 -21
- package/dist/src/theme/components/risk-confirmation.styles.d.ts +1 -1
- package/dist/src/theme/components/risk-confirmation.styles.js +4 -4
- package/dist/src/theme/components/search-input.styles.d.ts +1 -1
- package/dist/src/theme/components/search-input.styles.js +17 -38
- package/dist/src/theme/components/section.styles.d.ts +1 -0
- package/dist/src/theme/components/section.styles.js +100 -0
- package/dist/src/theme/components/segmented-control.styles.d.ts +1 -1
- package/dist/src/theme/components/segmented-control.styles.js +32 -26
- package/dist/src/theme/components/separator.styles.d.ts +1 -1
- package/dist/src/theme/components/separator.styles.js +5 -5
- package/dist/src/theme/components/shortcut-keys.styles.d.ts +1 -1
- package/dist/src/theme/components/shortcut-keys.styles.js +15 -13
- package/dist/src/theme/components/skeleton.styles.d.ts +1 -1
- package/dist/src/theme/components/skeleton.styles.js +13 -12
- package/dist/src/theme/components/slider.styles.d.ts +1 -1
- package/dist/src/theme/components/slider.styles.js +25 -28
- package/dist/src/theme/components/spinner.styles.d.ts +1 -1
- package/dist/src/theme/components/spinner.styles.js +10 -10
- package/dist/src/theme/components/state-dot.styles.d.ts +1 -1
- package/dist/src/theme/components/state-dot.styles.js +23 -23
- package/dist/src/theme/components/status-dot.styles.d.ts +1 -1
- package/dist/src/theme/components/status-dot.styles.js +16 -15
- package/dist/src/theme/components/status.styles.d.ts +1 -1
- package/dist/src/theme/components/status.styles.js +4 -20
- package/dist/src/theme/components/table.styles.d.ts +1 -1
- package/dist/src/theme/components/table.styles.js +30 -30
- package/dist/src/theme/components/tabs.styles.d.ts +1 -1
- package/dist/src/theme/components/tabs.styles.js +48 -45
- package/dist/src/theme/components/tag.styles.d.ts +1 -1
- package/dist/src/theme/components/tag.styles.js +24 -24
- package/dist/src/theme/components/task-list.styles.d.ts +1 -0
- package/dist/src/theme/components/task-list.styles.js +223 -0
- package/dist/src/theme/components/text-shimmer.styles.d.ts +1 -1
- package/dist/src/theme/components/text-shimmer.styles.js +29 -25
- package/dist/src/theme/components/text.styles.d.ts +1 -0
- package/dist/src/theme/components/text.styles.js +34 -0
- package/dist/src/theme/components/timeline.styles.d.ts +1 -1
- package/dist/src/theme/components/timeline.styles.js +14 -26
- package/dist/src/theme/components/toast.styles.d.ts +1 -1
- package/dist/src/theme/components/toast.styles.js +28 -15
- package/dist/src/theme/components/toggle.styles.d.ts +1 -1
- package/dist/src/theme/components/toggle.styles.js +30 -30
- package/dist/src/theme/components/toolbar.styles.d.ts +1 -1
- package/dist/src/theme/components/toolbar.styles.js +8 -8
- package/dist/src/theme/components/tooltip.styles.d.ts +1 -1
- package/dist/src/theme/components/tooltip.styles.js +11 -11
- package/dist/src/theme/components/web-block.styles.d.ts +1 -1
- package/dist/src/theme/components/web-block.styles.js +19 -19
- package/dist/src/theme/components/window-title-bar.styles.d.ts +1 -1
- package/dist/src/theme/components/window-title-bar.styles.js +10 -10
- package/dist/src/theme/components/work-card.styles.d.ts +1 -1
- package/dist/src/theme/components/work-card.styles.js +37 -34
- package/dist/src/theme/icons/icons.styles.d.ts +1 -1
- package/dist/src/theme/icons/icons.styles.js +52 -2
- package/dist/src/theme/index.d.ts +206 -134
- package/dist/src/theme/index.js +62 -13
- package/dist/src/theme/selectors.d.ts +3 -0
- package/dist/src/theme/selectors.js +7 -0
- package/dist/src/theme/shared/action-row.styles.d.ts +1 -0
- package/dist/src/theme/shared/action-row.styles.js +52 -0
- package/dist/src/theme/shared/chart.tokens.d.ts +18 -0
- package/dist/src/theme/shared/chart.tokens.js +19 -0
- package/dist/src/theme/shared/code-highlight.styles.d.ts +1 -1
- package/dist/src/theme/shared/code-highlight.styles.js +6 -6
- package/dist/src/theme/shared/field-surface.styles.d.ts +1 -0
- package/dist/src/theme/shared/field-surface.styles.js +90 -0
- package/dist/src/theme/shared/prose.styles.d.ts +1 -0
- package/dist/src/theme/shared/prose.styles.js +152 -0
- package/dist/src/theme/shared/state-badge.styles.d.ts +1 -0
- package/dist/src/theme/shared/state-badge.styles.js +80 -0
- package/dist/src/theme/tokens.d.ts +259 -93
- package/dist/src/theme/tokens.js +284 -116
- package/dist/src/theme/utilities.d.ts +19 -0
- package/dist/src/theme/utilities.js +233 -0
- package/package.json +12 -8
- package/dist/src/theme/components/resource-card.tokens.d.ts +0 -5
- package/dist/src/theme/components/resource-card.tokens.js +0 -6
- package/dist/src/theme/palette.d.ts +0 -55
- package/dist/src/theme/palette.js +0 -56
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { css,
|
|
1
|
+
import { css, parts } from "meowcss/meowjsx";
|
|
2
2
|
import { chatTokens, uiTokens } from "../tokens.js";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
import { ui } from "../utilities.js";
|
|
4
|
+
const chatProcessPartRefs = parts("chat-process");
|
|
5
|
+
const chatSourcesPartRefs = parts("chat-sources");
|
|
6
|
+
const chatToolCallPartRefs = parts("chat-tool-call");
|
|
7
|
+
const outputBlockPartRefs = parts("output-block");
|
|
8
8
|
/** How far the chat type scale sits above the 14px body the row metrics were drawn at. */
|
|
9
9
|
const rowDelta = "--chat-row-delta";
|
|
10
10
|
/** Where a row's label begins; anything the row owns rather than sits beside starts here. */
|
|
@@ -16,21 +16,21 @@ export const chatRecordsStyles = css `
|
|
|
16
16
|
box, the glyph, the line box and the label indent together instead of leaving fixed boxes
|
|
17
17
|
around larger text. The pitch between rows stays the list's business. */
|
|
18
18
|
:is(
|
|
19
|
-
${
|
|
20
|
-
${
|
|
21
|
-
${
|
|
19
|
+
${chatToolCallPartRefs.root},
|
|
20
|
+
${chatProcessPartRefs.root},
|
|
21
|
+
${chatSourcesPartRefs.root}
|
|
22
22
|
) {
|
|
23
23
|
${rowDelta}: calc(${chatTokens.fontBody} - 14px);
|
|
24
24
|
/* Where a row's own label begins. What a row owns rather than sits beside — its
|
|
25
25
|
description, and the rows a group holds — starts here, so a labeled group and the rows
|
|
26
26
|
inside it read as one ladder instead of as peers. */
|
|
27
|
-
${rowIndent}: calc(${uiTokens.
|
|
27
|
+
${rowIndent}: calc(${uiTokens.icon.size} + var(${rowDelta}, 0px) + ${chatTokens.leadingGap});
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
:is(
|
|
31
|
-
${
|
|
32
|
-
${
|
|
33
|
-
${
|
|
31
|
+
${chatToolCallPartRefs.header},
|
|
32
|
+
${chatProcessPartRefs.summary},
|
|
33
|
+
${chatSourcesPartRefs.summary}
|
|
34
34
|
) {
|
|
35
35
|
display: flex;
|
|
36
36
|
align-items: center;
|
|
@@ -42,33 +42,33 @@ export const chatRecordsStyles = css `
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
:is(
|
|
45
|
-
${
|
|
46
|
-
${
|
|
47
|
-
${
|
|
48
|
-
${
|
|
45
|
+
${chatToolCallPartRefs.icon},
|
|
46
|
+
${chatProcessPartRefs.icon},
|
|
47
|
+
${chatProcessPartRefs.expandedIcon},
|
|
48
|
+
${chatSourcesPartRefs.icon}
|
|
49
49
|
) {
|
|
50
50
|
display: grid;
|
|
51
51
|
place-items: center;
|
|
52
|
-
width: calc(${uiTokens.
|
|
53
|
-
height: calc(${uiTokens.
|
|
52
|
+
width: calc(${uiTokens.icon.size} + var(${rowDelta}, 0px));
|
|
53
|
+
height: calc(${uiTokens.icon.size} + var(${rowDelta}, 0px));
|
|
54
54
|
flex: 0 0 auto;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
/* Registered glyphs render two px under their box: the CSS edge overrides each svg's own
|
|
58
58
|
size, so one row keeps one optical glyph size whatever icon the caller passes. */
|
|
59
59
|
:is(
|
|
60
|
-
${
|
|
61
|
-
${
|
|
62
|
-
${
|
|
63
|
-
${
|
|
64
|
-
${
|
|
60
|
+
${chatToolCallPartRefs.icon},
|
|
61
|
+
${chatProcessPartRefs.icon},
|
|
62
|
+
${chatProcessPartRefs.expandedIcon},
|
|
63
|
+
${chatSourcesPartRefs.icon},
|
|
64
|
+
${chatToolCallPartRefs.chevron}
|
|
65
65
|
)
|
|
66
66
|
svg {
|
|
67
67
|
width: calc(14px + var(${rowDelta}, 0px));
|
|
68
68
|
height: calc(14px + var(${rowDelta}, 0px));
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
${
|
|
71
|
+
${chatToolCallPartRefs.root} {
|
|
72
72
|
container-type: inline-size;
|
|
73
73
|
min-width: 0;
|
|
74
74
|
display: grid;
|
|
@@ -76,118 +76,117 @@ export const chatRecordsStyles = css `
|
|
|
76
76
|
margin-top: 0;
|
|
77
77
|
padding: 0;
|
|
78
78
|
border: 0;
|
|
79
|
-
border-radius: ${uiTokens.
|
|
79
|
+
border-radius: ${uiTokens.radius.lg};
|
|
80
80
|
background: transparent;
|
|
81
|
-
color: ${uiTokens.
|
|
82
|
-
font-size: ${uiTokens.
|
|
81
|
+
color: ${uiTokens.ink.tertiary};
|
|
82
|
+
font-size: ${uiTokens.type.body};
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
${
|
|
85
|
+
${chatToolCallPartRefs.header} {
|
|
86
86
|
min-width: 0;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
${
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
${chatToolCallPartRefs.icon} {
|
|
90
|
+
position: relative;
|
|
91
|
+
border-radius: ${uiTokens.radius.xs};
|
|
92
|
+
color: ${uiTokens.ink.tertiary};
|
|
92
93
|
background: transparent;
|
|
93
|
-
font-size: ${uiTokens.
|
|
94
|
+
font-size: ${uiTokens.type.body};
|
|
94
95
|
line-height: 1;
|
|
95
96
|
}
|
|
96
97
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
/* The state badge comes from shared/state-badge.styles.ts; the row only places it. */
|
|
99
|
+
${chatToolCallPartRefs.status} {
|
|
100
|
+
margin-left: 6px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* The host's account of the state: a second header line, aligned with the label. */
|
|
104
|
+
${chatToolCallPartRefs.header}:has(> ${chatToolCallPartRefs.fact}:not([hidden])) {
|
|
105
|
+
flex-wrap: wrap;
|
|
106
|
+
row-gap: 0;
|
|
107
|
+
}
|
|
108
|
+
${chatToolCallPartRefs.fact} {
|
|
109
|
+
flex: 1 0 100%;
|
|
110
|
+
margin: -4px 0 2px;
|
|
111
|
+
padding-inline-start: var(${rowIndent});
|
|
112
|
+
font-weight: ${uiTokens.type.weight.regular};
|
|
113
|
+
color: ${uiTokens.ink.tertiary};
|
|
114
|
+
font-size: ${uiTokens.type.caption};
|
|
115
|
+
line-height: ${uiTokens.type.line.caption};
|
|
100
116
|
overflow-wrap: anywhere;
|
|
101
|
-
min-width: 0;
|
|
102
|
-
margin-left: 2px;
|
|
103
|
-
color: ${uiTokens.mutedForeground};
|
|
104
|
-
font-size: ${uiTokens.fontCaption};
|
|
105
117
|
}
|
|
106
118
|
|
|
107
|
-
${
|
|
119
|
+
${chatToolCallPartRefs.label} {
|
|
108
120
|
flex: 0 1 auto;
|
|
109
121
|
min-width: 0;
|
|
110
122
|
overflow-wrap: anywhere;
|
|
111
123
|
text-wrap: balance;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
/* Both the action and its target can yield to long state facts in constrained containers. */
|
|
116
|
-
${partSelector(chatToolCallContract, "header")}:has(> ${partSelector(chatToolCallContract, "summary")}) > ${partSelector(chatToolCallContract, "label")} {
|
|
117
|
-
flex-shrink: 1;
|
|
124
|
+
color: ${uiTokens.ink.secondary};
|
|
125
|
+
font-weight: ${uiTokens.type.weight.medium};
|
|
118
126
|
}
|
|
119
127
|
|
|
120
|
-
|
|
121
|
-
|
|
128
|
+
/* Beside a target the verb keeps its words; the target is what yields and truncates. */
|
|
129
|
+
${chatToolCallPartRefs.header}:has(> ${chatToolCallPartRefs.summary}) > ${chatToolCallPartRefs.label} {
|
|
130
|
+
flex-shrink: 0;
|
|
131
|
+
max-width: 50%;
|
|
122
132
|
}
|
|
123
133
|
|
|
124
|
-
${
|
|
125
|
-
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
${partSelector(chatToolCallContract, "root")}[data-tool-state="waiting"] ${partSelector(chatToolCallContract, "status")} {
|
|
129
|
-
color: ${uiTokens.warning};
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
${partSelector(chatToolCallContract, "detail")},
|
|
133
|
-
${partSelector(chatToolCallContract, "body")} {
|
|
134
|
+
${chatToolCallPartRefs.detail},
|
|
135
|
+
${chatToolCallPartRefs.body} {
|
|
134
136
|
min-width: 0;
|
|
135
137
|
margin: 0;
|
|
136
|
-
color: ${uiTokens.
|
|
137
|
-
font: ${uiTokens.
|
|
138
|
+
color: ${uiTokens.ink.secondary};
|
|
139
|
+
font: ${uiTokens.type.body} / ${uiTokens.type.line.reading} ${uiTokens.type.sans};
|
|
138
140
|
}
|
|
139
141
|
|
|
140
|
-
${
|
|
142
|
+
${chatToolCallPartRefs.detail} {
|
|
141
143
|
padding-inline-start: var(${rowIndent});
|
|
142
144
|
}
|
|
143
145
|
|
|
144
|
-
${
|
|
145
|
-
margin-block: ${uiTokens.
|
|
146
|
+
${chatToolCallPartRefs.body} {
|
|
147
|
+
margin-block: ${uiTokens.space.group};
|
|
146
148
|
margin-inline-start: var(${rowIndent});
|
|
147
149
|
}
|
|
148
150
|
|
|
149
|
-
${
|
|
151
|
+
${chatToolCallPartRefs.body} {
|
|
150
152
|
display: grid;
|
|
151
|
-
gap: ${uiTokens.
|
|
153
|
+
gap: ${uiTokens.space.group};
|
|
152
154
|
overflow-wrap: anywhere;
|
|
153
155
|
}
|
|
154
|
-
${
|
|
156
|
+
${chatToolCallPartRefs.root} [hidden] {
|
|
155
157
|
display: none;
|
|
156
158
|
}
|
|
157
|
-
${
|
|
159
|
+
${chatToolCallPartRefs.outputSummary} {
|
|
158
160
|
margin: 0;
|
|
159
|
-
color: ${uiTokens.
|
|
161
|
+
color: ${uiTokens.ink.primary};
|
|
160
162
|
}
|
|
161
|
-
${
|
|
163
|
+
${chatToolCallPartRefs.actions} {
|
|
162
164
|
display: flex;
|
|
163
165
|
flex-wrap: wrap;
|
|
164
166
|
align-items: center;
|
|
165
|
-
gap: ${uiTokens.
|
|
167
|
+
gap: ${uiTokens.space.group};
|
|
166
168
|
}
|
|
167
|
-
${
|
|
168
|
-
${
|
|
169
|
+
${chatToolCallPartRefs.input} ${outputBlockPartRefs.body},
|
|
170
|
+
${chatToolCallPartRefs.output} ${outputBlockPartRefs.body} {
|
|
169
171
|
max-height: 24rem;
|
|
170
172
|
}
|
|
171
|
-
${
|
|
172
|
-
color: ${uiTokens.
|
|
173
|
-
}
|
|
174
|
-
${partSelector(chatToolCallContract, "root")}[data-tool-state="running"] {
|
|
175
|
-
color: ${uiTokens.subtleForeground};
|
|
173
|
+
${chatToolCallPartRefs.root}[data-tool-state="running"] {
|
|
174
|
+
color: ${uiTokens.ink.tertiary};
|
|
176
175
|
}
|
|
177
176
|
|
|
178
|
-
${
|
|
179
|
-
color: ${uiTokens.
|
|
177
|
+
${chatToolCallPartRefs.root}[data-tool-state="error"] {
|
|
178
|
+
color: ${uiTokens.ink.tertiary};
|
|
180
179
|
}
|
|
181
180
|
|
|
182
|
-
${
|
|
181
|
+
${chatProcessPartRefs.root} {
|
|
183
182
|
min-width: 0;
|
|
184
183
|
border: 0;
|
|
185
184
|
background: transparent;
|
|
186
|
-
color: ${uiTokens.
|
|
187
|
-
font-size: ${uiTokens.
|
|
185
|
+
color: ${uiTokens.ink.tertiary};
|
|
186
|
+
font-size: ${uiTokens.type.body};
|
|
188
187
|
}
|
|
189
188
|
|
|
190
|
-
${
|
|
189
|
+
${chatProcessPartRefs.summary} {
|
|
191
190
|
display: flex;
|
|
192
191
|
width: fit-content;
|
|
193
192
|
max-width: 100%;
|
|
@@ -195,78 +194,77 @@ export const chatRecordsStyles = css `
|
|
|
195
194
|
list-style: none;
|
|
196
195
|
cursor: pointer;
|
|
197
196
|
user-select: none;
|
|
198
|
-
border-radius: ${uiTokens.
|
|
197
|
+
border-radius: ${uiTokens.radius.lg};
|
|
199
198
|
-webkit-tap-highlight-color: transparent;
|
|
200
199
|
}
|
|
201
200
|
|
|
202
|
-
${
|
|
201
|
+
${chatProcessPartRefs.label} {
|
|
203
202
|
min-width: 0;
|
|
204
203
|
overflow: hidden;
|
|
205
204
|
text-overflow: ellipsis;
|
|
206
205
|
white-space: nowrap;
|
|
207
206
|
}
|
|
208
207
|
|
|
209
|
-
${
|
|
208
|
+
${chatProcessPartRefs.summary}::-webkit-details-marker {
|
|
210
209
|
display: none;
|
|
211
210
|
}
|
|
212
211
|
|
|
213
|
-
${
|
|
214
|
-
${
|
|
215
|
-
${
|
|
212
|
+
${chatProcessPartRefs.icon},
|
|
213
|
+
${chatProcessPartRefs.expandedIcon},
|
|
214
|
+
${chatSourcesPartRefs.icon} {
|
|
216
215
|
transform: rotate(0deg);
|
|
217
|
-
transition: transform ${uiTokens.
|
|
216
|
+
transition: transform ${uiTokens.motion.settle} ${uiTokens.motion.ease};
|
|
218
217
|
}
|
|
219
218
|
|
|
220
|
-
${
|
|
221
|
-
${
|
|
219
|
+
${chatProcessPartRefs.root}[open]:not([data-process-icon="custom"]) > ${chatProcessPartRefs.summary} > ${chatProcessPartRefs.icon},
|
|
220
|
+
${chatSourcesPartRefs.root}[open] > ${chatSourcesPartRefs.summary} > ${chatSourcesPartRefs.icon} {
|
|
222
221
|
transform: rotate(90deg);
|
|
223
222
|
}
|
|
224
223
|
|
|
225
|
-
${
|
|
224
|
+
${chatProcessPartRefs.expandedIcon} {
|
|
226
225
|
display: none;
|
|
227
226
|
}
|
|
228
227
|
|
|
229
|
-
${
|
|
228
|
+
${chatProcessPartRefs.root}[open][data-process-icon="custom"] > ${chatProcessPartRefs.summary} > ${chatProcessPartRefs.icon} {
|
|
230
229
|
display: none;
|
|
231
230
|
}
|
|
232
231
|
|
|
233
|
-
${
|
|
232
|
+
${chatProcessPartRefs.root}[open] > ${chatProcessPartRefs.summary} > ${chatProcessPartRefs.expandedIcon} {
|
|
234
233
|
display: grid;
|
|
235
234
|
}
|
|
236
235
|
|
|
237
|
-
${
|
|
238
|
-
color: ${uiTokens.
|
|
236
|
+
${chatProcessPartRefs.summary}:hover {
|
|
237
|
+
color: ${uiTokens.ink.secondary};
|
|
239
238
|
}
|
|
240
239
|
|
|
241
|
-
${
|
|
242
|
-
|
|
243
|
-
outline-offset: 2px;
|
|
240
|
+
${chatProcessPartRefs.summary}:focus-visible {
|
|
241
|
+
${ui.focus.ring}
|
|
244
242
|
}
|
|
245
243
|
|
|
246
244
|
/* A group's contents belong to its row, so they hang under its label instead of lining up
|
|
247
245
|
with it; the step the summary keeps above them is the same "attached" step a row keeps
|
|
248
246
|
before its own body. */
|
|
249
|
-
${
|
|
250
|
-
margin: 0 0 ${uiTokens.
|
|
251
|
-
padding-block: ${uiTokens.
|
|
247
|
+
${chatProcessPartRefs.body} {
|
|
248
|
+
margin: 0 0 ${uiTokens.space.group};
|
|
249
|
+
padding-block: ${uiTokens.space.group};
|
|
252
250
|
padding-inline: var(${rowIndent}) 0;
|
|
253
251
|
border-left: 0;
|
|
254
|
-
line-height:
|
|
252
|
+
line-height: ${uiTokens.type.line.reading};
|
|
255
253
|
}
|
|
256
254
|
|
|
257
|
-
${
|
|
255
|
+
${chatProcessPartRefs.body} > :first-child {
|
|
258
256
|
margin-top: 0;
|
|
259
257
|
}
|
|
260
258
|
|
|
261
|
-
${
|
|
259
|
+
${chatProcessPartRefs.body} > :last-child {
|
|
262
260
|
margin-bottom: 0;
|
|
263
261
|
}
|
|
264
262
|
|
|
265
|
-
${
|
|
266
|
-
margin-top: ${uiTokens.
|
|
263
|
+
${chatProcessPartRefs.body} > p + p {
|
|
264
|
+
margin-top: ${uiTokens.space.group};
|
|
267
265
|
}
|
|
268
266
|
|
|
269
|
-
${
|
|
267
|
+
${chatToolCallPartRefs.root}[data-tool-interactive="true"] {
|
|
270
268
|
margin: 0;
|
|
271
269
|
padding: 0;
|
|
272
270
|
border: 0;
|
|
@@ -275,13 +273,13 @@ export const chatRecordsStyles = css `
|
|
|
275
273
|
box-shadow: none;
|
|
276
274
|
}
|
|
277
275
|
|
|
278
|
-
${
|
|
276
|
+
${chatToolCallPartRefs.root}[data-tool-interactive="true"] + ${chatToolCallPartRefs.root} {
|
|
279
277
|
margin-top: 0;
|
|
280
278
|
}
|
|
281
279
|
|
|
282
280
|
/* An interactive row is a summary or an action button, and both start from the same chrome:
|
|
283
281
|
the row's own text, no control surface of their own, and one focus stop. */
|
|
284
|
-
${
|
|
282
|
+
${chatToolCallPartRefs.root}[data-tool-interactive="true"] > ${chatToolCallPartRefs.header} {
|
|
285
283
|
position: relative;
|
|
286
284
|
width: 100%;
|
|
287
285
|
max-width: 100%;
|
|
@@ -294,114 +292,73 @@ export const chatRecordsStyles = css `
|
|
|
294
292
|
text-align: left;
|
|
295
293
|
cursor: pointer;
|
|
296
294
|
list-style: none;
|
|
297
|
-
border-radius: ${uiTokens.
|
|
295
|
+
border-radius: ${uiTokens.radius.lg};
|
|
298
296
|
-webkit-tap-highlight-color: transparent;
|
|
299
297
|
}
|
|
300
298
|
|
|
301
299
|
/* The chevron swaps with the leading glyph, so it centres in the row whatever height the
|
|
302
300
|
row takes — a coarse pointer raises it, and a wrapping label grows it. */
|
|
303
|
-
${
|
|
301
|
+
${chatToolCallPartRefs.root}[data-tool-interactive="true"] ${chatToolCallPartRefs.chevron} {
|
|
304
302
|
position: absolute;
|
|
305
303
|
left: 0;
|
|
306
304
|
inset-block: 0;
|
|
307
305
|
margin-block: auto;
|
|
308
306
|
display: grid;
|
|
309
307
|
place-items: center;
|
|
310
|
-
width: calc(${uiTokens.
|
|
311
|
-
height: calc(${uiTokens.
|
|
308
|
+
width: calc(${uiTokens.icon.size} + var(${rowDelta}, 0px));
|
|
309
|
+
height: calc(${uiTokens.icon.size} + var(${rowDelta}, 0px));
|
|
312
310
|
opacity: 0;
|
|
313
311
|
transition:
|
|
314
|
-
opacity ${uiTokens.
|
|
315
|
-
transform ${uiTokens.
|
|
312
|
+
opacity ${uiTokens.motion.settle} ${uiTokens.motion.ease},
|
|
313
|
+
transform ${uiTokens.motion.settle} ${uiTokens.motion.ease};
|
|
316
314
|
}
|
|
317
315
|
|
|
318
|
-
${
|
|
316
|
+
${chatToolCallPartRefs.root}[open] ${chatToolCallPartRefs.chevron} {
|
|
319
317
|
transform: rotate(90deg);
|
|
320
318
|
}
|
|
321
319
|
|
|
322
|
-
${
|
|
320
|
+
${chatToolCallPartRefs.header}:is(:hover, :focus-visible) > ${chatToolCallPartRefs.chevron} {
|
|
323
321
|
opacity: 1;
|
|
324
322
|
}
|
|
325
323
|
|
|
326
|
-
${
|
|
324
|
+
${chatToolCallPartRefs.header}:is(:hover, :focus-visible) > ${chatToolCallPartRefs.icon} {
|
|
327
325
|
opacity: 0;
|
|
328
326
|
}
|
|
329
327
|
|
|
330
|
-
${
|
|
328
|
+
${chatToolCallPartRefs.root}[data-tool-collapsible="true"] > ${chatToolCallPartRefs.header}::-webkit-details-marker {
|
|
331
329
|
display: none;
|
|
332
330
|
}
|
|
333
331
|
|
|
334
|
-
${
|
|
332
|
+
${chatToolCallPartRefs.root}[data-tool-interactive="true"] ${chatToolCallPartRefs.icon} {
|
|
335
333
|
border-radius: 0;
|
|
336
|
-
color: inherit;
|
|
337
334
|
font-size: 0;
|
|
338
|
-
transition: transform ${uiTokens.
|
|
335
|
+
transition: transform ${uiTokens.motion.settle} ${uiTokens.motion.ease};
|
|
339
336
|
}
|
|
340
337
|
|
|
341
|
-
${
|
|
342
|
-
color: inherit;
|
|
343
|
-
font-weight: 400;
|
|
338
|
+
${chatToolCallPartRefs.root}[data-tool-interactive="true"] ${chatToolCallPartRefs.label} {
|
|
344
339
|
overflow-wrap: anywhere;
|
|
345
340
|
}
|
|
346
341
|
|
|
347
|
-
${
|
|
348
|
-
|
|
349
|
-
font-size: ${uiTokens.fontCaption};
|
|
350
|
-
white-space: normal;
|
|
351
|
-
flex-shrink: 1;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
${partSelector(chatToolCallContract, "root")}[data-tool-state="error"][data-tool-interactive="true"] ${partSelector(chatToolCallContract, "status")} {
|
|
355
|
-
color: ${uiTokens.danger};
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
${partSelector(chatToolCallContract, "root")}[data-tool-state="running"][data-tool-interactive="true"] ${partSelector(chatToolCallContract, "status")} {
|
|
359
|
-
color: ${accentTokens.base};
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
/* A row states its outcome once, in the color of both the leading glyph and the status, so a
|
|
363
|
-
chain can be read down its left edge instead of out to each row's far end. */
|
|
364
|
-
${partSelector(chatToolCallContract, "root")}[data-tool-state="error"] ${partSelector(chatToolCallContract, "icon")} {
|
|
365
|
-
color: ${uiTokens.danger};
|
|
342
|
+
${chatToolCallPartRefs.root}[data-tool-interactive="true"] > ${chatToolCallPartRefs.header}:hover ${chatToolCallPartRefs.label} {
|
|
343
|
+
color: ${uiTokens.ink.primary};
|
|
366
344
|
}
|
|
367
345
|
|
|
368
|
-
${
|
|
369
|
-
color: ${
|
|
346
|
+
${chatToolCallPartRefs.root}[data-tool-interactive="true"] > ${chatToolCallPartRefs.header}:hover {
|
|
347
|
+
color: ${uiTokens.ink.secondary};
|
|
370
348
|
}
|
|
371
349
|
|
|
372
|
-
${
|
|
373
|
-
color: ${uiTokens.warning};
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
${partSelector(chatToolCallContract, "root")}[data-tool-interactive="true"] > ${partSelector(chatToolCallContract, "header")}:hover ${partSelector(chatToolCallContract, "label")} {
|
|
377
|
-
color: ${uiTokens.mutedForeground};
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
${partSelector(chatToolCallContract, "root")}[data-tool-interactive="true"] > ${partSelector(chatToolCallContract, "header")}:hover {
|
|
381
|
-
color: ${uiTokens.mutedForeground};
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
${partSelector(chatToolCallContract, "summary")} {
|
|
350
|
+
${chatToolCallPartRefs.summary} {
|
|
385
351
|
display: block;
|
|
386
352
|
min-width: 0;
|
|
387
353
|
overflow: hidden;
|
|
388
354
|
text-overflow: ellipsis;
|
|
389
355
|
white-space: nowrap;
|
|
390
|
-
flex:
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
${partSelector(chatToolCallContract, "summary")}::before {
|
|
395
|
-
content: "";
|
|
396
|
-
display: inline-block;
|
|
397
|
-
width: 2px;
|
|
398
|
-
height: 2px;
|
|
399
|
-
margin: 0 8px 3px 2px;
|
|
400
|
-
border-radius: 1px;
|
|
401
|
-
background: ${uiTokens.captionForeground};
|
|
356
|
+
flex: 0 1 auto;
|
|
357
|
+
margin-inline-start: 2px;
|
|
358
|
+
color: ${uiTokens.ink.tertiary};
|
|
402
359
|
}
|
|
403
360
|
|
|
404
|
-
${
|
|
361
|
+
${chatToolCallPartRefs.root}[data-tool-default-complete="true"] ${chatToolCallPartRefs.status} {
|
|
405
362
|
position: absolute;
|
|
406
363
|
width: 1px;
|
|
407
364
|
height: 1px;
|
|
@@ -414,61 +371,63 @@ export const chatRecordsStyles = css `
|
|
|
414
371
|
|
|
415
372
|
/* A narrow host gives each fact a readable line instead of making two thin text columns. */
|
|
416
373
|
@container (max-width: 400px) {
|
|
417
|
-
${
|
|
374
|
+
${chatToolCallPartRefs.header} {
|
|
418
375
|
display: grid;
|
|
419
|
-
grid-template-columns: calc(${uiTokens.
|
|
376
|
+
grid-template-columns: calc(${uiTokens.icon.size} + var(${rowDelta}, 0px)) minmax(0, 1fr);
|
|
420
377
|
align-items: start;
|
|
421
378
|
row-gap: 0;
|
|
422
379
|
}
|
|
423
|
-
${
|
|
380
|
+
${chatToolCallPartRefs.icon} {
|
|
424
381
|
grid-column: 1;
|
|
425
382
|
grid-row: 1;
|
|
426
383
|
align-self: start;
|
|
427
384
|
margin-block-start: calc(
|
|
428
385
|
(
|
|
429
386
|
(${chatTokens.rowLine} + var(${rowDelta}, 0px)) -
|
|
430
|
-
(${uiTokens.
|
|
387
|
+
(${uiTokens.icon.size} + var(${rowDelta}, 0px))
|
|
431
388
|
) /
|
|
432
389
|
2
|
|
433
390
|
);
|
|
434
391
|
}
|
|
435
|
-
${
|
|
436
|
-
${
|
|
437
|
-
${
|
|
392
|
+
${chatToolCallPartRefs.label},
|
|
393
|
+
${chatToolCallPartRefs.summary},
|
|
394
|
+
${chatToolCallPartRefs.status} {
|
|
438
395
|
grid-column: 2;
|
|
439
396
|
margin-inline-start: 0;
|
|
440
397
|
}
|
|
441
|
-
${
|
|
398
|
+
${chatToolCallPartRefs.status} {
|
|
399
|
+
justify-self: start;
|
|
400
|
+
margin-block: 2px;
|
|
401
|
+
}
|
|
402
|
+
${chatToolCallPartRefs.fact} {
|
|
403
|
+
grid-column: 2;
|
|
404
|
+
margin: 0;
|
|
405
|
+
padding-inline-start: 0;
|
|
406
|
+
}
|
|
407
|
+
${chatToolCallPartRefs.root}[data-tool-interactive="true"] ${chatToolCallPartRefs.chevron} {
|
|
442
408
|
inset-block: auto;
|
|
443
409
|
top: calc(
|
|
444
410
|
(
|
|
445
411
|
(${chatTokens.rowLine} + var(${rowDelta}, 0px)) -
|
|
446
|
-
(${uiTokens.
|
|
412
|
+
(${uiTokens.icon.size} + var(${rowDelta}, 0px))
|
|
447
413
|
) /
|
|
448
414
|
2
|
|
449
415
|
);
|
|
450
416
|
margin-block: 0;
|
|
451
417
|
}
|
|
452
|
-
${partSelector(chatToolCallContract, "summary")}::before {
|
|
453
|
-
display: none;
|
|
454
|
-
}
|
|
455
418
|
}
|
|
456
419
|
|
|
457
420
|
@media (pointer: coarse) {
|
|
458
|
-
${
|
|
459
|
-
${
|
|
460
|
-
min-height: ${uiTokens.
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
${partSelector(chatToolCallContract, "root")}[data-tool-interactive="true"] ${partSelector(chatToolCallContract, "status")} {
|
|
464
|
-
font-size: ${uiTokens.fontCaption};
|
|
421
|
+
${chatProcessPartRefs.summary},
|
|
422
|
+
${chatToolCallPartRefs.root}[data-tool-interactive="true"] > ${chatToolCallPartRefs.header} {
|
|
423
|
+
min-height: ${uiTokens.control.regular};
|
|
465
424
|
}
|
|
466
425
|
}
|
|
467
426
|
|
|
468
427
|
@media (prefers-reduced-motion: reduce) {
|
|
469
|
-
${
|
|
470
|
-
${
|
|
471
|
-
${
|
|
428
|
+
${chatProcessPartRefs.icon},
|
|
429
|
+
${chatSourcesPartRefs.icon},
|
|
430
|
+
${chatToolCallPartRefs.root}[data-tool-interactive="true"] ${chatToolCallPartRefs.icon} {
|
|
472
431
|
transition: none;
|
|
473
432
|
}
|
|
474
433
|
}
|
|
@@ -483,73 +442,71 @@ export const chatRecordsStyles = css `
|
|
|
483
442
|
box-sizing: border-box;
|
|
484
443
|
display: grid;
|
|
485
444
|
grid-template-columns: max-content minmax(0, 1fr);
|
|
486
|
-
column-gap: ${uiTokens.
|
|
445
|
+
column-gap: ${uiTokens.space.group};
|
|
487
446
|
align-items: baseline;
|
|
488
447
|
min-width: 0;
|
|
489
|
-
padding-block: ${uiTokens.
|
|
448
|
+
padding-block: ${uiTokens.space.group};
|
|
490
449
|
}
|
|
491
450
|
|
|
492
451
|
.chat-tool-call-sections > section + section {
|
|
493
|
-
border-top:
|
|
452
|
+
border-top: 1px solid ${uiTokens.line.divider};
|
|
494
453
|
}
|
|
495
454
|
|
|
496
455
|
.chat-tool-call-sections h4 {
|
|
497
456
|
align-self: start;
|
|
498
457
|
margin: 0;
|
|
499
|
-
color: ${uiTokens.
|
|
500
|
-
font-size: ${uiTokens.
|
|
501
|
-
font-weight:
|
|
502
|
-
font-family: ${uiTokens.
|
|
503
|
-
line-height:
|
|
458
|
+
color: ${uiTokens.ink.tertiary};
|
|
459
|
+
font-size: ${uiTokens.type.caption};
|
|
460
|
+
font-weight: ${uiTokens.type.weight.medium};
|
|
461
|
+
font-family: ${uiTokens.type.sans};
|
|
462
|
+
line-height: ${uiTokens.type.line.caption};
|
|
504
463
|
}
|
|
505
464
|
|
|
506
465
|
.chat-tool-call-sections p {
|
|
507
466
|
margin: 0;
|
|
508
|
-
color: ${uiTokens.
|
|
509
|
-
font-family: ${uiTokens.
|
|
510
|
-
font-size: ${uiTokens.
|
|
511
|
-
line-height:
|
|
467
|
+
color: ${uiTokens.ink.secondary};
|
|
468
|
+
font-family: ${uiTokens.type.sans};
|
|
469
|
+
font-size: ${uiTokens.type.body};
|
|
470
|
+
line-height: ${uiTokens.type.line.reading};
|
|
512
471
|
white-space: pre-wrap;
|
|
513
472
|
overflow-wrap: anywhere;
|
|
514
473
|
}
|
|
515
474
|
|
|
516
|
-
${
|
|
517
|
-
|
|
518
|
-
outline-offset: 3px;
|
|
475
|
+
${chatSourcesPartRefs.summary}:focus-visible {
|
|
476
|
+
${ui.focus.ring}
|
|
519
477
|
}
|
|
520
478
|
|
|
521
|
-
${
|
|
479
|
+
${chatToolCallPartRefs.root}[data-tool-interactive="true"] > ${chatToolCallPartRefs.header}:focus-visible {
|
|
522
480
|
outline: none;
|
|
523
481
|
}
|
|
524
482
|
|
|
525
|
-
${
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
border-radius: 3px;
|
|
483
|
+
${chatToolCallPartRefs.header}:focus-visible > ${chatToolCallPartRefs.chevron} {
|
|
484
|
+
${ui.focus.ring}
|
|
485
|
+
border-radius: ${uiTokens.radius.xs};
|
|
529
486
|
}
|
|
530
487
|
|
|
531
|
-
${
|
|
488
|
+
${chatSourcesPartRefs.root} {
|
|
532
489
|
margin-top: 16px;
|
|
533
490
|
padding-top: 0;
|
|
534
491
|
border-top: 0;
|
|
535
|
-
color: ${uiTokens.
|
|
492
|
+
color: ${uiTokens.ink.tertiary};
|
|
536
493
|
font-size: calc(${chatTokens.fontBody} - 1px);
|
|
537
494
|
}
|
|
538
495
|
|
|
539
|
-
${
|
|
496
|
+
${chatSourcesPartRefs.summary} {
|
|
540
497
|
list-style: none;
|
|
541
498
|
cursor: pointer;
|
|
542
499
|
}
|
|
543
500
|
|
|
544
|
-
${
|
|
501
|
+
${chatSourcesPartRefs.summary}::-webkit-details-marker {
|
|
545
502
|
display: none;
|
|
546
503
|
}
|
|
547
504
|
|
|
548
|
-
${
|
|
505
|
+
${chatSourcesPartRefs.summary}::marker {
|
|
549
506
|
content: "";
|
|
550
507
|
}
|
|
551
508
|
|
|
552
|
-
${
|
|
509
|
+
${chatSourcesPartRefs.list} {
|
|
553
510
|
display: grid;
|
|
554
511
|
gap: 10px;
|
|
555
512
|
margin: 8px 0 0;
|
|
@@ -559,60 +516,60 @@ export const chatRecordsStyles = css `
|
|
|
559
516
|
overflow-y: auto;
|
|
560
517
|
}
|
|
561
518
|
|
|
562
|
-
${
|
|
519
|
+
${chatSourcesPartRefs.item} {
|
|
563
520
|
display: grid;
|
|
564
521
|
gap: 2px;
|
|
565
522
|
min-width: 0;
|
|
566
523
|
}
|
|
567
524
|
|
|
568
|
-
${
|
|
569
|
-
color: ${uiTokens.info};
|
|
570
|
-
font-size: ${uiTokens.
|
|
571
|
-
font-weight:
|
|
572
|
-
line-height:
|
|
525
|
+
${chatSourcesPartRefs.link} {
|
|
526
|
+
color: ${uiTokens.status.info};
|
|
527
|
+
font-size: ${uiTokens.type.body};
|
|
528
|
+
font-weight: ${uiTokens.type.weight.medium};
|
|
529
|
+
line-height: ${uiTokens.type.line.bodyCompact};
|
|
573
530
|
text-decoration: none;
|
|
574
531
|
overflow-wrap: anywhere;
|
|
575
532
|
text-underline-offset: 3px;
|
|
576
533
|
}
|
|
577
534
|
|
|
578
|
-
${
|
|
535
|
+
${chatSourcesPartRefs.link}:is(:hover, :focus-visible) {
|
|
579
536
|
text-decoration: underline dotted;
|
|
580
537
|
}
|
|
581
538
|
|
|
582
|
-
${
|
|
583
|
-
color: ${uiTokens.
|
|
584
|
-
font-size:
|
|
585
|
-
line-height:
|
|
539
|
+
${chatSourcesPartRefs.description} {
|
|
540
|
+
color: ${uiTokens.ink.secondary};
|
|
541
|
+
font-size: ${uiTokens.type.label};
|
|
542
|
+
line-height: ${uiTokens.type.line.label};
|
|
586
543
|
overflow-wrap: anywhere;
|
|
587
544
|
}
|
|
588
545
|
|
|
589
|
-
${
|
|
546
|
+
${chatToolCallPartRefs.body} {
|
|
590
547
|
min-width: 0;
|
|
591
548
|
overflow-wrap: anywhere;
|
|
592
549
|
}
|
|
593
550
|
|
|
594
|
-
${
|
|
551
|
+
${chatToolCallPartRefs.body} pre {
|
|
595
552
|
margin: 4px 0;
|
|
596
553
|
padding: 12px 16px;
|
|
597
554
|
max-width: 100%;
|
|
598
555
|
max-height: 260px;
|
|
599
556
|
overflow: auto;
|
|
600
|
-
border: 0
|
|
601
|
-
border-radius: ${uiTokens.
|
|
602
|
-
background: ${uiTokens.
|
|
603
|
-
font: ${uiTokens.
|
|
557
|
+
border: 0;
|
|
558
|
+
border-radius: ${uiTokens.radius.xl};
|
|
559
|
+
background: ${uiTokens.surface.fill};
|
|
560
|
+
font: ${uiTokens.type.caption} / ${uiTokens.type.line.code} ${uiTokens.type.mono};
|
|
604
561
|
white-space: pre-wrap;
|
|
605
562
|
}
|
|
606
563
|
|
|
607
564
|
@media (prefers-reduced-motion: reduce) {
|
|
608
|
-
${
|
|
565
|
+
${chatToolCallPartRefs.chevron} {
|
|
609
566
|
transition: none;
|
|
610
567
|
}
|
|
611
568
|
}
|
|
612
569
|
|
|
613
570
|
@media (pointer: coarse) {
|
|
614
|
-
${
|
|
615
|
-
min-height: ${uiTokens.
|
|
571
|
+
${chatSourcesPartRefs.summary} {
|
|
572
|
+
min-height: ${uiTokens.control.regular};
|
|
616
573
|
}
|
|
617
574
|
}
|
|
618
575
|
`;
|