@vibe-forge/client 0.11.2 → 1.0.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/cli.cjs +6 -11
- package/dist/assets/{arc-De_WjPJ3.js → arc-CbOXL0l9.js} +1 -1
- package/dist/assets/{blockDiagram-c4efeb88-C4aR2zTE.js → blockDiagram-c4efeb88-CqxINvsS.js} +1 -1
- package/dist/assets/{c4Diagram-c83219d4-BZH3rq_m.js → c4Diagram-c83219d4-BKazU0hb.js} +1 -1
- package/dist/assets/channel-Dnopc5A6.js +1 -0
- package/dist/assets/{classDiagram-beda092f-BzJgBrIK.js → classDiagram-beda092f-fAFX5BpB.js} +1 -1
- package/dist/assets/{classDiagram-v2-2358418a-5ZtXcnT3.js → classDiagram-v2-2358418a-w1VkNGJj.js} +1 -1
- package/dist/assets/clone-sQthahUA.js +1 -0
- package/dist/assets/{createText-1719965b-DUVvEtmR.js → createText-1719965b-CEinakVP.js} +1 -1
- package/dist/assets/{cssMode-GoTNjuXX.js → cssMode-DPqRki4y.js} +1 -1
- package/dist/assets/{edges-96097737-Dd7m4Cvs.js → edges-96097737-Cb0F1_3K.js} +1 -1
- package/dist/assets/{erDiagram-0228fc6a-DxqFlG_f.js → erDiagram-0228fc6a-C-N2fx-J.js} +1 -1
- package/dist/assets/{flowDb-c6c81e3f-DU0C5kCI.js → flowDb-c6c81e3f-D1Xz_8Gf.js} +1 -1
- package/dist/assets/{flowDiagram-50d868cf-Di1uDa_X.js → flowDiagram-50d868cf-DyPSZyAj.js} +1 -1
- package/dist/assets/flowDiagram-v2-4f6560a1-OazrdWQO.js +1 -0
- package/dist/assets/{flowchart-elk-definition-6af322e1-CwG8aty5.js → flowchart-elk-definition-6af322e1-Dr1DDXwE.js} +1 -1
- package/dist/assets/{freemarker2-j39cqTlI.js → freemarker2-C3DvPFaK.js} +1 -1
- package/dist/assets/{ganttDiagram-a2739b55-baO_lzL-.js → ganttDiagram-a2739b55-DmvY1GRj.js} +1 -1
- package/dist/assets/{gitGraphDiagram-82fe8481-COoHjYMf.js → gitGraphDiagram-82fe8481-CoXfPYYi.js} +1 -1
- package/dist/assets/{graph-KxESr4M5.js → graph-BkDQy7Qt.js} +1 -1
- package/dist/assets/{handlebars-BgjdZO8G.js → handlebars-BcTFdqjl.js} +1 -1
- package/dist/assets/{html-Ba7tYObe.js → html-Dg-O6XFr.js} +1 -1
- package/dist/assets/{htmlMode-Bztvbig1.js → htmlMode-B_wqYWvn.js} +1 -1
- package/dist/assets/{index-5325376f-BMTAx2mL.js → index-5325376f-kxPTR3_e.js} +1 -1
- package/dist/assets/index-o93dlo92.css +32 -0
- package/dist/assets/{index-Pm_kLJvG.js → index-wkhI4dr6.js} +350 -329
- package/dist/assets/{infoDiagram-8eee0895-CC74qbHY.js → infoDiagram-8eee0895-BEvqkwPI.js} +1 -1
- package/dist/assets/{javascript-C1e1cllX.js → javascript-DhlOH8_z.js} +1 -1
- package/dist/assets/{journeyDiagram-c64418c1-C4MyOdE6.js → journeyDiagram-c64418c1-gKtLYmmp.js} +1 -1
- package/dist/assets/{jsonMode-BC98AlvF.js → jsonMode-DxTbF9OD.js} +1 -1
- package/dist/assets/{layout-CxAyTlr7.js → layout-CDaZEk6E.js} +1 -1
- package/dist/assets/{line-DhaUfI71.js → line-DNRQu8iq.js} +1 -1
- package/dist/assets/{linear-MYukzldK.js → linear-Cph9Z6_j.js} +1 -1
- package/dist/assets/{liquid-DahfJEYl.js → liquid-ByZ6JgRG.js} +1 -1
- package/dist/assets/{lspLanguageFeatures-BWDJcswW.js → lspLanguageFeatures-DzvhkgnM.js} +1 -1
- package/dist/assets/{mdx-BELlF_FD.js → mdx-D8RGHTl6.js} +1 -1
- package/dist/assets/{mermaid.core-BrQnSGSY.js → mermaid.core-BgcryF__.js} +4 -4
- package/dist/assets/{mindmap-definition-8da855dc-B0FoxTiy.js → mindmap-definition-8da855dc-WrxK0FcB.js} +1 -1
- package/dist/assets/{pieDiagram-a8764435-Ddr2cjSL.js → pieDiagram-a8764435-VsZBsiQy.js} +1 -1
- package/dist/assets/{python--C9if_AD.js → python-CXVtk_cg.js} +1 -1
- package/dist/assets/{quadrantDiagram-1e28029f-BlEs7Mrl.js → quadrantDiagram-1e28029f-BVlgwOvU.js} +1 -1
- package/dist/assets/{razor-B9U9JxKn.js → razor-0tind7h2.js} +1 -1
- package/dist/assets/{requirementDiagram-08caed73-kEFOAu2v.js → requirementDiagram-08caed73-CpPMPoYp.js} +1 -1
- package/dist/assets/{sankeyDiagram-a04cb91d-BBghez8I.js → sankeyDiagram-a04cb91d-Cm5nnRmc.js} +1 -1
- package/dist/assets/{sequenceDiagram-c5b8d532-CJqgzdUE.js → sequenceDiagram-c5b8d532-DpMlJvJB.js} +1 -1
- package/dist/assets/{stateDiagram-1ecb1508-BER4XEI6.js → stateDiagram-1ecb1508-DU1zc7vq.js} +1 -1
- package/dist/assets/{stateDiagram-v2-c2b004d7-EBV2vSks.js → stateDiagram-v2-c2b004d7-D-0RgmAp.js} +1 -1
- package/dist/assets/{styles-b4e223ce-k0eswZsE.js → styles-b4e223ce-BSO-yNWV.js} +1 -1
- package/dist/assets/{styles-ca3715f6-Ckr7GA-0.js → styles-ca3715f6-CHnsn2Ro.js} +1 -1
- package/dist/assets/{styles-d45a18b0-C1bpSwV3.js → styles-d45a18b0-B-rVGjEq.js} +1 -1
- package/dist/assets/{svgDrawCommon-b86b1483-CDtKpGvy.js → svgDrawCommon-b86b1483-CA3Pl89f.js} +1 -1
- package/dist/assets/{timeline-definition-faaaa080-BeGR-vua.js → timeline-definition-faaaa080-BcihLR6s.js} +1 -1
- package/dist/assets/{tsMode-D_gJXIy3.js → tsMode-D9GGa5Ur.js} +1 -1
- package/dist/assets/{typescript-BoKcNXkN.js → typescript-BT9CK_EL.js} +1 -1
- package/dist/assets/{xml-DZvURlJ-.js → xml-DNO75J-T.js} +1 -1
- package/dist/assets/{xychartDiagram-f5964ef8-DxfeLuYV.js → xychartDiagram-f5964ef8-DJTwe32X.js} +1 -1
- package/dist/assets/{yaml-CTC8PAGY.js → yaml-7CVzhiP2.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +13 -10
- package/src/api/git.ts +12 -0
- package/src/api/sessions.ts +131 -4
- package/src/api/types.ts +2 -1
- package/src/api.ts +13 -0
- package/src/components/ArchiveView.scss +143 -54
- package/src/components/ArchiveView.tsx +181 -167
- package/src/components/CodeBlock.scss +5 -0
- package/src/components/ConfigView.scss +142 -31
- package/src/components/ConfigView.tsx +161 -86
- package/src/components/MarkdownContent.tsx +7 -0
- package/src/components/NavRail.scss +248 -0
- package/src/components/NavRail.tsx +80 -107
- package/src/components/NavRailCompact.tsx +107 -0
- package/src/components/NavRailCompactMoreSheet.tsx +141 -0
- package/src/components/ShortcutTooltip.tsx +4 -2
- package/src/components/Sidebar.scss +51 -0
- package/src/components/Sidebar.tsx +43 -16
- package/src/components/automation-view/RuleFormPanel.scss +40 -13
- package/src/components/automation-view/RuleSidebar.scss +73 -47
- package/src/components/automation-view/RuleSidebar.tsx +9 -13
- package/src/components/automation-view/RunHistoryPanel.scss +141 -13
- package/src/components/automation-view/RunHistoryPanel.tsx +203 -161
- package/src/components/automation-view/TaskList.scss +44 -13
- package/src/components/automation-view/TriggerList.scss +46 -14
- package/src/components/automation-view/index.scss +82 -10
- package/src/components/automation-view/index.tsx +108 -55
- package/src/components/benchmark-view/BenchmarkCasePanel.scss +36 -16
- package/src/components/benchmark-view/BenchmarkSidebar.scss +44 -22
- package/src/components/benchmark-view/BenchmarkSidebar.tsx +0 -6
- package/src/components/benchmark-view/BenchmarkView.scss +63 -20
- package/src/components/benchmark-view/index.tsx +71 -34
- package/src/components/chat/AGENTS.md +14 -2
- package/src/components/chat/ChatComposerCard.scss +77 -0
- package/src/components/chat/ChatComposerCard.tsx +59 -0
- package/src/components/chat/ChatHeader.scss +187 -0
- package/src/components/chat/ChatHeader.tsx +209 -57
- package/src/components/chat/ChatHistoryView.tsx +279 -52
- package/src/components/chat/ChatTimelineView.scss +94 -1
- package/src/components/chat/ChatTimelineView.tsx +42 -0
- package/src/components/chat/CurrentTodoList.scss +210 -200
- package/src/components/chat/CurrentTodoList.tsx +116 -48
- package/src/components/chat/NewSessionGuide.scss +139 -1
- package/src/components/chat/NewSessionGuide.tsx +57 -100
- package/src/components/chat/NewSessionGuideCompactPanel.tsx +130 -0
- package/src/components/chat/NewSessionGuideGrid.tsx +141 -0
- package/src/components/chat/QueuedMessagesCard.scss +195 -0
- package/src/components/chat/QueuedMessagesCard.tsx +170 -0
- package/src/components/chat/git-controls/BranchSwitcherDropdown.tsx +61 -56
- package/src/components/chat/git-controls/BranchSwitcherResults.tsx +167 -0
- package/src/components/chat/git-controls/BranchTreeEntries.tsx +99 -0
- package/src/components/chat/git-controls/ChatGitControls.scss +437 -5
- package/src/components/chat/git-controls/ChatGitControls.tsx +136 -109
- package/src/components/chat/git-controls/DraftGitControls.tsx +91 -0
- package/src/components/chat/git-controls/GitOperationsDropdown.tsx +10 -2
- package/src/components/chat/git-controls/GitWorktreeDropdown.tsx +301 -28
- package/src/components/chat/git-controls/git-branch-tree.ts +148 -0
- package/src/components/chat/git-controls/use-chat-draft-git-controls.ts +168 -0
- package/src/components/chat/git-controls/use-chat-git-controls.ts +76 -3
- package/src/components/chat/messages/MessageContextMenu.tsx +3 -1
- package/src/components/chat/messages/MessageItem.scss +78 -4
- package/src/components/chat/messages/MessageItem.tsx +47 -3
- package/src/components/chat/sender/@components/adapter-select/AdapterSelectControl.scss +23 -0
- package/src/components/chat/sender/@components/reference-actions/ReferenceActionsControl.scss +17 -0
- package/src/components/chat/sender/@components/reference-actions/ReferencePermissionActionsPopover.tsx +4 -1
- package/src/components/chat/sender/@components/sender-attachments/SenderAttachments.scss +167 -30
- package/src/components/chat/sender/@components/sender-attachments/SenderAttachments.tsx +95 -23
- package/src/components/chat/sender/@components/sender-body/SenderBody.tsx +10 -0
- package/src/components/chat/sender/@components/sender-interaction-panel/SenderInteractionPanel.scss +161 -45
- package/src/components/chat/sender/@components/sender-interaction-panel/SenderInteractionPanel.tsx +310 -71
- package/src/components/chat/sender/@components/sender-monaco-editor/SenderMonacoEditor.tsx +18 -0
- package/src/components/chat/sender/@components/sender-monaco-editor/use-sender-monaco-editor.ts +86 -9
- package/src/components/chat/sender/@components/sender-monaco-editor/use-sender-monaco-theme.ts +52 -3
- package/src/components/chat/sender/@components/sender-submit-action/SenderSubmitAction.scss +110 -1
- package/src/components/chat/sender/@components/sender-submit-action/SenderSubmitAction.tsx +137 -17
- package/src/components/chat/sender/@components/sender-toolbar/SenderSelectBase.scss +21 -0
- package/src/components/chat/sender/@components/sender-toolbar/SenderSelectShared.scss +21 -0
- package/src/components/chat/sender/@components/sender-toolbar/SenderToolbar.scss +63 -0
- package/src/components/chat/sender/@components/sender-toolbar/SenderToolbar.tsx +12 -6
- package/src/components/chat/sender/@core/build-sender-controller-result.ts +6 -0
- package/src/components/chat/sender/@core/build-sender-toolbar.ts +25 -2
- package/src/components/chat/sender/@core/create-sender-toolbar-handlers.ts +9 -2
- package/src/components/chat/sender/@core/get-sender-runtime-state.ts +1 -1
- package/src/components/chat/sender/@core/interaction-request.ts +2 -2
- package/src/components/chat/sender/@core/sender-toolbar-bindings.ts +28 -4
- package/src/components/chat/sender/@hooks/use-model-select-browser.tsx +4 -2
- package/src/components/chat/sender/@hooks/use-sender-controller.ts +56 -11
- package/src/components/chat/sender/@hooks/use-sender-keydown.ts +64 -0
- package/src/components/chat/sender/@hooks/use-sender-shortcuts.ts +16 -1
- package/src/components/chat/sender/@hooks/use-sender-submit.ts +16 -8
- package/src/components/chat/sender/@types/sender-props.ts +20 -3
- package/src/components/chat/sender/@types/sender-toolbar-types.ts +12 -1
- package/src/components/chat/sender/Sender.scss +4 -1
- package/src/components/chat/sender/Sender.tsx +3 -12
- package/src/components/chat/session-timeline-panel/EventList.scss +88 -0
- package/src/components/chat/session-timeline-panel/EventList.tsx +99 -47
- package/src/components/chat/session-timeline-panel/gantt.ts +23 -7
- package/src/components/chat/session-timeline-panel/git-graph.ts +6 -1
- package/src/components/chat/session-timeline-panel/index.scss +14 -1
- package/src/components/chat/session-timeline-panel/index.tsx +86 -10
- package/src/components/chat/session-timeline-panel/types.ts +4 -0
- package/src/components/chat/status-bar/ChatStatusBar.scss +27 -0
- package/src/components/chat/status-bar/ChatStatusBar.tsx +39 -0
- package/src/components/chat/terminal/ChatTerminalView.tsx +6 -0
- package/src/components/chat/tools/core/ToolCallBox.scss +19 -0
- package/src/components/chat/tools/core/ToolGroup.scss +32 -0
- package/src/components/chat/tools/task/components/TaskToolCard.scss +59 -1
- package/src/components/config/ConfigEditors.scss +20 -6
- package/src/components/config/ConfigFieldRow.scss +57 -17
- package/src/components/config/ConfigSectionForm.scss +10 -4
- package/src/components/config/ConfigSectionPanel.tsx +18 -11
- package/src/components/config/configSchema.ts +1 -0
- package/src/components/config/record-editors/RecordEditors.scss +42 -9
- package/src/components/dock-panel/DockPanel.scss +6 -2
- package/src/components/dock-panel/DockPanel.tsx +12 -16
- package/src/components/knowledge-base/KnowledgeBaseView.scss +180 -6
- package/src/components/knowledge-base/KnowledgeBaseView.tsx +98 -26
- package/src/components/knowledge-base/components/ActionButton.scss +4 -0
- package/src/components/knowledge-base/components/EmptyState.scss +5 -8
- package/src/components/knowledge-base/components/EntitiesTab.tsx +8 -2
- package/src/components/knowledge-base/components/EntityItem.scss +10 -3
- package/src/components/knowledge-base/components/FilterBar.scss +13 -2
- package/src/components/knowledge-base/components/FlowsTab.tsx +8 -2
- package/src/components/knowledge-base/components/KnowledgeBaseHeader.scss +2 -23
- package/src/components/knowledge-base/components/KnowledgeBaseHeader.tsx +0 -5
- package/src/components/knowledge-base/components/KnowledgeList.scss +15 -6
- package/src/components/knowledge-base/components/LoadingState.scss +4 -0
- package/src/components/knowledge-base/components/RuleItem.scss +86 -0
- package/src/components/knowledge-base/components/RuleItem.tsx +2 -0
- package/src/components/knowledge-base/components/RulesTab.tsx +8 -2
- package/src/components/knowledge-base/components/SectionHeader.scss +3 -18
- package/src/components/knowledge-base/components/SectionHeader.tsx +3 -7
- package/src/components/knowledge-base/components/SkillsTab.tsx +8 -3
- package/src/components/knowledge-base/components/SpecItem.scss +16 -7
- package/src/components/layout/@hooks/use-mobile-sidebar-modal.ts +190 -0
- package/src/components/layout/AppShell.scss +106 -6
- package/src/components/layout/AppShell.tsx +118 -10
- package/src/components/layout/PageShell.scss +41 -0
- package/src/components/layout/PageShell.tsx +32 -0
- package/src/components/layout/mobile-sidebar-constants.ts +1 -0
- package/src/components/nav-rail-compact-config.ts +114 -0
- package/src/components/nav-rail-items.tsx +181 -0
- package/src/components/sidebar/SessionContextMenu.tsx +3 -1
- package/src/components/sidebar/SessionItem.scss +62 -0
- package/src/components/sidebar/SessionItem.tsx +97 -52
- package/src/components/sidebar/SessionList.tsx +6 -0
- package/src/components/sidebar/SidebarHeader.scss +49 -0
- package/src/components/sidebar/SidebarHeader.tsx +27 -5
- package/src/components/sidebar/SidebarHeaderBatchActions.tsx +8 -4
- package/src/components/sidebar/SidebarHeaderSearchActions.tsx +6 -3
- package/src/components/sidebar/SidebarUtilityFooter.tsx +69 -0
- package/src/components/workspace/ContextFilePicker.tsx +12 -4
- package/src/hooks/chat/chat-session-workspace-draft.ts +25 -0
- package/src/hooks/chat/session-view-cache.ts +4 -1
- package/src/hooks/chat/use-chat-adapter.ts +5 -1
- package/src/hooks/chat/use-chat-model-adapter-selection.tsx +5 -1
- package/src/hooks/chat/use-chat-scroll.ts +24 -7
- package/src/hooks/chat/use-chat-session-actions.ts +118 -6
- package/src/hooks/chat/use-chat-session-messages.ts +20 -1
- package/src/hooks/chat/use-chat-session.ts +2 -0
- package/src/hooks/use-responsive-layout.ts +115 -0
- package/src/main.tsx +8 -0
- package/src/resources/adapters.ts +15 -0
- package/src/resources/locales/en.json +84 -1
- package/src/resources/locales/zh.json +84 -1
- package/src/routes/ChatRoute.scss +152 -9
- package/src/routes/ChatRoute.tsx +31 -34
- package/src/store/index.ts +2 -0
- package/dist/assets/channel-BvERb8WU.js +0 -1
- package/dist/assets/clone-B9_0v-6Y.js +0 -1
- package/dist/assets/flowDiagram-v2-4f6560a1-LpS8Kb00.js +0 -1
- package/dist/assets/index-C1oh0w9H.css +0 -32
- package/src/components/chat/ThinkingStatus.scss +0 -70
- package/src/components/chat/ThinkingStatus.tsx +0 -13
package/src/components/chat/sender/@components/sender-interaction-panel/SenderInteractionPanel.scss
CHANGED
|
@@ -1,57 +1,123 @@
|
|
|
1
1
|
.chat-input-wrapper--permission {
|
|
2
2
|
.interaction-panel {
|
|
3
|
-
|
|
3
|
+
max-height: none;
|
|
4
|
+
overflow-y: visible;
|
|
4
5
|
}
|
|
5
6
|
}
|
|
6
7
|
|
|
7
8
|
.interaction-panel {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
border:
|
|
14
|
-
|
|
15
|
-
background-color: var(--input-bg, #f9fafb);
|
|
9
|
+
--interaction-muted: var(--sub-text-color, #6b7280);
|
|
10
|
+
--interaction-option-bg: var(--bg-color);
|
|
11
|
+
--interaction-option-border: var(--border-color);
|
|
12
|
+
--interaction-option-hover-border: rgba(59, 130, 246, .3);
|
|
13
|
+
--interaction-option-active-bg: rgba(59, 130, 246, .08);
|
|
14
|
+
--interaction-option-active-border: rgba(59, 130, 246, .42);
|
|
15
|
+
--interaction-info-bg: rgba(15, 23, 42, .06);
|
|
16
16
|
|
|
17
|
-
&
|
|
17
|
+
&__summary {
|
|
18
|
+
align-items: flex-start;
|
|
19
|
+
padding: 10px 12px 6px;
|
|
20
|
+
gap: 10px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__body {
|
|
18
24
|
display: flex;
|
|
19
25
|
flex-direction: column;
|
|
26
|
+
gap: 6px;
|
|
27
|
+
padding: 0 8px 8px;
|
|
20
28
|
}
|
|
21
29
|
|
|
22
|
-
&
|
|
30
|
+
&__header {
|
|
31
|
+
width: 100%;
|
|
23
32
|
display: flex;
|
|
24
|
-
|
|
33
|
+
align-items: flex-start;
|
|
34
|
+
justify-content: space-between;
|
|
35
|
+
gap: 8px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__title-wrap {
|
|
39
|
+
flex: 1;
|
|
40
|
+
min-width: 0;
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
25
43
|
gap: 6px;
|
|
26
44
|
}
|
|
27
45
|
|
|
28
|
-
&
|
|
46
|
+
&__title-icon {
|
|
47
|
+
flex: 0 0 auto;
|
|
48
|
+
font-size: 15px;
|
|
49
|
+
color: var(--primary-color, #2563eb);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&__options {
|
|
29
53
|
display: flex;
|
|
30
54
|
flex-direction: column;
|
|
31
55
|
gap: 6px;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&__nav {
|
|
59
|
+
flex: 0 0 auto;
|
|
60
|
+
display: inline-flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
gap: 2px;
|
|
63
|
+
margin-top: -1px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&__nav-button {
|
|
67
|
+
width: 22px;
|
|
68
|
+
height: 22px;
|
|
69
|
+
padding: 0;
|
|
70
|
+
border: none;
|
|
71
|
+
border-radius: 6px;
|
|
72
|
+
background: transparent;
|
|
73
|
+
color: var(--interaction-muted);
|
|
74
|
+
display: inline-flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
transition: background-color .18s ease, color .18s ease;
|
|
79
|
+
|
|
80
|
+
.material-symbols-rounded {
|
|
81
|
+
font-size: 17px;
|
|
82
|
+
line-height: 1;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&:hover,
|
|
86
|
+
&:focus-visible {
|
|
87
|
+
background: rgba(148, 163, 184, .14);
|
|
88
|
+
color: var(--text-color);
|
|
89
|
+
outline: none;
|
|
90
|
+
}
|
|
35
91
|
}
|
|
36
92
|
|
|
37
93
|
&__option.ant-btn {
|
|
38
94
|
height: auto;
|
|
39
95
|
display: flex;
|
|
40
|
-
align-items:
|
|
96
|
+
align-items: flex-start;
|
|
41
97
|
justify-content: flex-start;
|
|
42
98
|
gap: 8px;
|
|
43
99
|
padding: 8px 10px;
|
|
44
100
|
border-radius: 10px;
|
|
45
|
-
border-color: var(--border
|
|
46
|
-
background: var(--bg
|
|
101
|
+
border-color: var(--interaction-option-border);
|
|
102
|
+
background: var(--interaction-option-bg);
|
|
47
103
|
box-shadow: none;
|
|
48
104
|
text-align: left;
|
|
49
|
-
|
|
105
|
+
transition:
|
|
106
|
+
background-color .18s ease,
|
|
107
|
+
border-color .18s ease,
|
|
108
|
+
color .18s ease;
|
|
109
|
+
|
|
110
|
+
&.is-active {
|
|
111
|
+
background: var(--interaction-option-active-bg);
|
|
112
|
+
border-color: var(--interaction-option-active-border);
|
|
113
|
+
}
|
|
50
114
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
115
|
+
&:hover,
|
|
116
|
+
&:focus-visible {
|
|
117
|
+
border-color: var(--interaction-option-hover-border);
|
|
118
|
+
background: var(--interaction-option-bg);
|
|
119
|
+
outline: none;
|
|
120
|
+
}
|
|
55
121
|
}
|
|
56
122
|
|
|
57
123
|
&__option--allow.ant-btn {
|
|
@@ -75,6 +141,24 @@
|
|
|
75
141
|
}
|
|
76
142
|
}
|
|
77
143
|
|
|
144
|
+
&__option--question.ant-btn {
|
|
145
|
+
display: block;
|
|
146
|
+
padding: 6px 8px;
|
|
147
|
+
background: transparent;
|
|
148
|
+
border-color: rgba(148, 163, 184, .16);
|
|
149
|
+
|
|
150
|
+
&.is-active {
|
|
151
|
+
background: rgba(148, 163, 184, .16);
|
|
152
|
+
border-color: rgba(148, 163, 184, .38);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&:hover,
|
|
156
|
+
&:focus-visible {
|
|
157
|
+
background: rgba(148, 163, 184, .14);
|
|
158
|
+
border-color: rgba(148, 163, 184, .3);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
78
162
|
&__option-icon {
|
|
79
163
|
display: inline-flex;
|
|
80
164
|
align-items: center;
|
|
@@ -85,6 +169,7 @@
|
|
|
85
169
|
flex: 0 0 auto;
|
|
86
170
|
align-self: center;
|
|
87
171
|
font-size: 13px;
|
|
172
|
+
margin-top: 1px;
|
|
88
173
|
}
|
|
89
174
|
|
|
90
175
|
&__option-copy {
|
|
@@ -101,7 +186,25 @@
|
|
|
101
186
|
min-width: 0;
|
|
102
187
|
}
|
|
103
188
|
|
|
189
|
+
&__option-main {
|
|
190
|
+
display: flex;
|
|
191
|
+
align-items: center;
|
|
192
|
+
gap: 8px;
|
|
193
|
+
width: 100%;
|
|
194
|
+
min-width: 0;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&__option-index {
|
|
198
|
+
flex: 0 0 auto;
|
|
199
|
+
color: var(--interaction-muted);
|
|
200
|
+
font-size: 11px;
|
|
201
|
+
font-weight: 600;
|
|
202
|
+
line-height: 1.25;
|
|
203
|
+
user-select: none;
|
|
204
|
+
}
|
|
205
|
+
|
|
104
206
|
&__option-label {
|
|
207
|
+
min-width: 0;
|
|
105
208
|
font-size: 11px;
|
|
106
209
|
font-weight: 500;
|
|
107
210
|
line-height: 1.35;
|
|
@@ -116,6 +219,26 @@
|
|
|
116
219
|
word-break: break-word;
|
|
117
220
|
}
|
|
118
221
|
|
|
222
|
+
&__option-side {
|
|
223
|
+
display: inline-flex;
|
|
224
|
+
align-items: center;
|
|
225
|
+
flex: 0 0 auto;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
&__info-trigger {
|
|
229
|
+
width: 16px;
|
|
230
|
+
height: 16px;
|
|
231
|
+
border-radius: 999px;
|
|
232
|
+
display: inline-flex;
|
|
233
|
+
align-items: center;
|
|
234
|
+
justify-content: center;
|
|
235
|
+
background: var(--interaction-info-bg);
|
|
236
|
+
color: var(--interaction-muted);
|
|
237
|
+
font-size: 12px;
|
|
238
|
+
line-height: 1;
|
|
239
|
+
cursor: help;
|
|
240
|
+
}
|
|
241
|
+
|
|
119
242
|
&__toggle.ant-btn {
|
|
120
243
|
height: auto;
|
|
121
244
|
display: inline-flex;
|
|
@@ -144,35 +267,28 @@
|
|
|
144
267
|
}
|
|
145
268
|
}
|
|
146
269
|
|
|
147
|
-
@keyframes interaction-panel-secondary-enter {
|
|
148
|
-
from {
|
|
149
|
-
max-height: 0;
|
|
150
|
-
opacity: 0;
|
|
151
|
-
transform: translateY(-4px);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
to {
|
|
155
|
-
max-height: 240px;
|
|
156
|
-
opacity: 1;
|
|
157
|
-
transform: translateY(0);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
270
|
.interaction-question {
|
|
271
|
+
min-width: 0;
|
|
162
272
|
font-size: 12px;
|
|
163
273
|
font-weight: 600;
|
|
164
274
|
line-height: 1.4;
|
|
165
275
|
color: var(--text-color);
|
|
166
276
|
}
|
|
167
277
|
|
|
168
|
-
@media (prefers-reduced-motion: reduce) {
|
|
169
|
-
.interaction-panel__secondary {
|
|
170
|
-
animation: none;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
278
|
html.dark {
|
|
175
279
|
.interaction-panel {
|
|
176
|
-
--
|
|
280
|
+
--interaction-option-bg: rgba(15, 23, 42, .52);
|
|
281
|
+
--interaction-option-border: rgba(71, 85, 105, .36);
|
|
282
|
+
--interaction-option-hover-border: rgba(148, 163, 184, .5);
|
|
283
|
+
--interaction-option-active-bg: rgba(51, 65, 85, .44);
|
|
284
|
+
--interaction-option-active-border: rgba(148, 163, 184, .52);
|
|
285
|
+
--interaction-info-bg: rgba(148, 163, 184, .14);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.interaction-panel__option.ant-btn {
|
|
289
|
+
&:hover,
|
|
290
|
+
&:focus-visible {
|
|
291
|
+
background: var(--interaction-option-bg);
|
|
292
|
+
}
|
|
177
293
|
}
|
|
178
294
|
}
|