@mcp-b/react-components 0.51.2 → 0.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CodeBlock--r6GS8YV.d.ts → CodeBlock-DJ99TQWy.d.ts} +1 -1
- package/dist/{CodeBlock-g8sADidM.js → CodeBlock-Dw1z6jc8.js} +2 -1
- package/dist/EmployeeChrome-B605rpVz.d.ts +233 -0
- package/dist/{FileTree-DruTQ-oa.js → FileTree-okaLnS5j.js} +1 -1
- package/dist/{IconButton-ByiyjkYE.d.ts → IconButton-CAlFVb2L.d.ts} +3 -0
- package/dist/{ManagerOffice-D-7SOJ4x.js → ManagerOffice-CJwBAEMv.js} +17 -12
- package/dist/McpPluginCatalog-DNeHDrts.d.ts +94 -0
- package/dist/{Message-DyaTBiV7.d.ts → Message-COsMPZSC.d.ts} +2 -2
- package/dist/{ResponsiveSidebarShell-CAmmtQTR.d.ts → ResponsiveSidebarShell-BUBQa_IV.d.ts} +3 -1
- package/dist/{SetupChecklist-Btmy3-_C.js → SetupChecklist-DWyifWWg.js} +6 -5
- package/dist/{ThinkThreadPicker-yetGX_s5.d.ts → ThinkThreadPicker-DX0lL-P7.d.ts} +3 -0
- package/dist/{Workspace-HzGrWDX3.d.ts → Workspace-mzMZSdts.d.ts} +1 -1
- package/dist/WorkspaceConceptPanel-97ZyVpZI.js +20 -0
- package/dist/{WorkspaceFile-Bouauobc.d.ts → WorkspaceFile-19WP0EU1.d.ts} +1 -1
- package/dist/{WorkspaceFileView-DYPtRVpM.js → WorkspaceFileView-DQDWUpAH.js} +3 -2
- package/dist/{WorkspaceMessageResponse-8lOSAbw_.d.ts → WorkspaceMessageResponse-BApg8KZv.d.ts} +1 -1
- package/dist/WorkspaceMountManager-CkLI1B-G.d.ts +33 -0
- package/dist/assets/sigvelo-logo.svg +54 -0
- package/dist/components/agents-sdk/AgentActivity.js +1 -1
- package/dist/components/agents-sdk/AgentChat.d.ts +6 -2
- package/dist/components/agents-sdk/AgentChat.js +12 -18
- package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
- package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
- package/dist/components/agents-sdk/BrowserReplay.js +1 -1
- package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
- package/dist/components/agents-sdk/EmployeeApp.d.ts +43 -30
- package/dist/components/agents-sdk/EmployeeApp.js +47 -34
- package/dist/components/agents-sdk/EmployeeChat.d.ts +31 -10
- package/dist/components/agents-sdk/EmployeeChat.js +35 -7
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -219
- package/dist/components/agents-sdk/EmployeeChrome.js +219 -162
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeSchedules.js +2 -3
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +12 -11
- package/dist/components/agents-sdk/EmployeeStartScreen.js +22 -15
- package/dist/components/agents-sdk/ManagerAccountActions.js +2 -3
- package/dist/components/agents-sdk/ManagerOffice.js +1 -2
- package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +2 -2
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +33 -13
- package/dist/components/agents-sdk/McpConnectionRequest.js +2 -2
- package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -93
- package/dist/components/agents-sdk/McpPluginCatalog.js +5 -5
- package/dist/components/agents-sdk/McpServerPicker.js +5 -5
- package/dist/components/agents-sdk/ModelSelector.js +4 -4
- package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
- package/dist/components/agents-sdk/SubagentRunIndicator.js +1 -1
- package/dist/components/agents-sdk/SubagentRunPanel.d.ts +3 -0
- package/dist/components/agents-sdk/SubagentRunPanel.js +67 -47
- package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
- package/dist/components/agents-sdk/ThinkChat.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +2 -2
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +2 -2
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +7 -14
- package/dist/components/agents-sdk/ThinkFullApp.d.ts +2 -0
- package/dist/components/agents-sdk/ThinkFullApp.js +2 -0
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineActions.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineBrowser.js +2 -2
- package/dist/components/agents-sdk/ThinkRoutineDetail.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineForm.js +3 -3
- package/dist/components/agents-sdk/ThinkRoutineRuns.js +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.js +32 -19
- package/dist/components/agents-sdk/WorkbenchBack.d.ts +18 -0
- package/dist/components/agents-sdk/WorkbenchBack.js +27 -0
- package/dist/components/agents-sdk/Workspace.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceBrowser.js +3 -1
- package/dist/components/agents-sdk/WorkspaceConcept.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +6 -6
- package/dist/components/agents-sdk/WorkspaceExecution.js +13 -10
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +4 -1
- package/dist/components/agents-sdk/WorkspaceExplorer.js +13 -4
- package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
- package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
- package/dist/components/agents-sdk/WorkspaceLive.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.d.ts +1 -32
- package/dist/components/agents-sdk/WorkspaceMountManager.js +2 -2
- package/dist/components/agents-sdk/WorkspaceProject.js +7 -5
- package/dist/components/agents-sdk/WorkspaceUserScript.js +7 -5
- package/dist/components/ai-sdk/Activity.js +1 -1
- package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
- package/dist/components/ai-sdk/Approval.js +2 -2
- package/dist/components/ai-sdk/Artifact.d.ts +1 -1
- package/dist/components/ai-sdk/Artifact.js +1 -1
- package/dist/components/ai-sdk/ChainOfThought.js +1 -1
- package/dist/components/ai-sdk/Checkpoint.js +1 -1
- package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/ComposerLink.js +1 -1
- package/dist/components/ai-sdk/ConnectedAppCards.js +3 -3
- package/dist/components/ai-sdk/Context.js +1 -1
- package/dist/components/ai-sdk/Conversation.d.ts +1 -1
- package/dist/components/ai-sdk/Conversation.js +1 -1
- package/dist/components/ai-sdk/Goal.js +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
- package/dist/components/ai-sdk/Message.d.ts +1 -1
- package/dist/components/ai-sdk/Message.js +2 -2
- package/dist/components/ai-sdk/MessageScroller.js +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
- package/dist/components/ai-sdk/Plan.js +1 -1
- package/dist/components/ai-sdk/PromptInput.js +46 -43
- package/dist/components/ai-sdk/Queue.js +1 -1
- package/dist/components/ai-sdk/Reasoning.js +1 -1
- package/dist/components/ai-sdk/Sources.js +1 -1
- package/dist/components/ai-sdk/Task.js +1 -1
- package/dist/components/extension/ChatGptSignInScreen.d.ts +1 -1
- package/dist/components/extension/ChatGptSignInScreen.js +61 -186
- package/dist/components/extension/CodexModelSelector.js +4 -8
- package/dist/components/extension/ConversationTabPicker.js +2 -2
- package/dist/components/foundations/Checkbox.js +1 -1
- package/dist/components/foundations/Collapsible.js +1 -1
- package/dist/components/foundations/ContextMenu.js +1 -1
- package/dist/components/foundations/IconButton.d.ts +1 -1
- package/dist/components/foundations/IconButton.js +7 -4
- package/dist/components/foundations/Menubar.js +1 -1
- package/dist/components/foundations/SearchField.js +1 -1
- package/dist/components/foundations/Select.js +1 -1
- package/dist/components/foundations/Stepper.js +1 -1
- package/dist/components/foundations/Toast.js +1 -1
- package/dist/components/foundations/icons.js +1 -1
- package/dist/components/general-purpose/AccountSignInDialog.d.ts +5 -9
- package/dist/components/general-purpose/AccountSignInDialog.js +13 -5
- package/dist/components/general-purpose/BrandLoading.d.ts +14 -0
- package/dist/components/general-purpose/BrandLoading.js +25 -0
- package/dist/components/general-purpose/Commit.d.ts +1 -1
- package/dist/components/general-purpose/Commit.js +2 -2
- package/dist/components/general-purpose/EnvironmentVariables.d.ts +1 -1
- package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
- package/dist/components/general-purpose/PricingPlanCard.js +2 -2
- package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +59 -27
- package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/StatusScreen.d.ts +13 -2
- package/dist/components/general-purpose/StatusScreen.js +27 -3
- package/dist/components/general-purpose/Terminal.d.ts +2 -2
- package/dist/components/general-purpose/Terminal.js +2 -2
- package/dist/components/general-purpose/TestResults.js +1 -1
- package/dist/components/general-purpose/ThemeModeControl.js +1 -1
- package/dist/components/general-purpose/WebPreview.d.ts +1 -1
- package/dist/components/general-purpose/WebPreview.js +2 -2
- package/dist/components/nanites/AgentConnection.js +2 -2
- package/dist/components/nanites/AgentToolDetail.js +2 -2
- package/dist/{copy-button-OUwOdgEm.d.ts → copy-button-CJYYgCIU.d.ts} +1 -1
- package/dist/{copy-button-CSDuDfdP.js → copy-button-Dk2vRe9j.js} +1 -1
- package/dist/styles/activity.css +2 -2
- package/dist/styles/agent-chat.css +6 -105
- package/dist/styles/app-root.css +9 -0
- package/dist/styles/app-top-bar.css +10 -4
- package/dist/styles/avatar.css +2 -2
- package/dist/styles/base.css +6 -2
- package/dist/styles/brand-loading.css +58 -0
- package/dist/styles/brand.test.ts +158 -0
- package/dist/styles/browser-control-overlay.css +22 -0
- package/dist/styles/button.css +22 -1
- package/dist/styles/chatgpt-sign-in-screen.css +111 -225
- package/dist/styles/code-block.css +5 -0
- package/dist/styles/codex-model-selector.css +2 -12
- package/dist/styles/description-list.css +9 -2
- package/dist/styles/employee-app.css +19 -1
- package/dist/styles/employee-chrome.css +39 -5
- package/dist/styles/file-tree.css +15 -2
- package/dist/styles/index.css +1 -0
- package/dist/styles/manager-office.css +80 -55
- package/dist/styles/manager-work.css +5 -11
- package/dist/styles/mcp-plugin-catalog.css +29 -34
- package/dist/styles/mcp-server-picker.css +13 -5
- package/dist/styles/prompt-input.css +3 -13
- package/dist/styles/queue.css +1 -1
- package/dist/styles/recipes.css +9 -2
- package/dist/styles/responsive-sidebar-shell-motion.test.ts +67 -0
- package/dist/styles/responsive-sidebar-shell.css +70 -25
- package/dist/styles/search-field.css +8 -6
- package/dist/styles/subagent-run.css +81 -0
- package/dist/styles/switch.css +7 -0
- package/dist/styles/think-execution-workbench.css +0 -17
- package/dist/styles/think-full-app.css +11 -4
- package/dist/styles/think-thread-picker.css +16 -38
- package/dist/styles/workspace-concepts.css +29 -2
- package/dist/styles/workspace-explorer.css +6 -48
- package/dist/utils/structured-code.d.ts +1 -1
- package/dist/{workspace-assets-Bg7XhPsk.js → workspace-assets-C3QT6UlQ.js} +1 -1
- package/package.json +2 -2
- package/dist/styles/extension-status.css +0 -46
- package/dist/{icons-cuEtsgj9.js → icons-CeGfXO21.js} +1 -1
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { K as SpinnerIcon } from "../../icons-
|
|
2
|
+
import { K as SpinnerIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { t as ProviderLogo } from "../../provider-logos-DWYY8wNz.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/extension/ChatGptSignInScreen.tsx
|
|
8
8
|
/** Full-screen provider authentication prompt for MCP-B onboarding. */
|
|
9
|
-
function ChatGptSignInScreen({ busy = false, control, error, label = "Sign in with ChatGPT", title = "
|
|
9
|
+
function ChatGptSignInScreen({ busy = false, control, error, label = "Sign in with ChatGPT", title = "Meet Rook", brandName = "SigVelo", brandLogo = /* @__PURE__ */ jsx("img", {
|
|
10
|
+
src: new URL("../../assets/sigvelo-logo.svg", import.meta.url).href,
|
|
11
|
+
alt: "",
|
|
12
|
+
width: 64,
|
|
13
|
+
height: 64
|
|
14
|
+
}), className, onSignIn, secondaryAction, ref, ...props }) {
|
|
10
15
|
return /* @__PURE__ */ jsxs("main", {
|
|
11
16
|
ref,
|
|
12
17
|
className: cx("chatgpt-sign-in", className),
|
|
@@ -14,194 +19,64 @@ function ChatGptSignInScreen({ busy = false, control, error, label = "Sign in wi
|
|
|
14
19
|
...props,
|
|
15
20
|
"data-recipe": "fill-host",
|
|
16
21
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
17
|
-
className: "chatgpt-sign-
|
|
18
|
-
children: [
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
brandLogo ? /* @__PURE__ */ jsx("span", {
|
|
22
|
+
className: "chatgpt-sign-in__content",
|
|
23
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
24
|
+
className: "chatgpt-sign-in__panel",
|
|
25
|
+
children: [
|
|
26
|
+
/* @__PURE__ */ jsxs("div", {
|
|
27
|
+
className: "chatgpt-sign-in__brand",
|
|
28
|
+
children: [brandLogo ? /* @__PURE__ */ jsx("span", {
|
|
24
29
|
className: "chatgpt-sign-in__brand-mark",
|
|
25
30
|
children: brandLogo
|
|
26
|
-
}) : null,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
className: "chatgpt-sign-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
className: "chatgpt-sign-in__error",
|
|
54
|
-
children: error
|
|
55
|
-
}) : null
|
|
56
|
-
]
|
|
57
|
-
}), secondaryAction ? /* @__PURE__ */ jsx("div", {
|
|
58
|
-
className: "chatgpt-sign-in__secondary-action",
|
|
59
|
-
children: /* @__PURE__ */ jsx(Button, {
|
|
60
|
-
type: "button",
|
|
61
|
-
variant: "ghost",
|
|
62
|
-
color: "neutral",
|
|
63
|
-
size: "xs",
|
|
64
|
-
disabled: secondaryAction.disabled,
|
|
65
|
-
onClick: secondaryAction.onSelect,
|
|
66
|
-
children: secondaryAction.label
|
|
67
|
-
})
|
|
68
|
-
}) : null]
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
function handleSignInButtonPointerMove(event) {
|
|
72
|
-
const element = event.currentTarget;
|
|
73
|
-
const rect = element.getBoundingClientRect();
|
|
74
|
-
if (rect.width === 0 || rect.height === 0) return;
|
|
75
|
-
element.style.setProperty("--chatgpt-sign-in-button-x", `${(event.clientX - rect.left) / rect.width * 100}%`);
|
|
76
|
-
element.style.setProperty("--chatgpt-sign-in-button-y", `${(event.clientY - rect.top) / rect.height * 100}%`);
|
|
77
|
-
}
|
|
78
|
-
function SigVeloMark() {
|
|
79
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
80
|
-
viewBox: "430 310 360 400",
|
|
81
|
-
fill: "none",
|
|
82
|
-
"aria-hidden": "true",
|
|
83
|
-
focusable: "false",
|
|
84
|
-
children: [
|
|
85
|
-
/* @__PURE__ */ jsxs("defs", { children: [/* @__PURE__ */ jsxs("linearGradient", {
|
|
86
|
-
id: "chatgpt-sign-in-mark-a",
|
|
87
|
-
x1: "756.23",
|
|
88
|
-
y1: "475.14",
|
|
89
|
-
x2: "608.29",
|
|
90
|
-
y2: "352.58",
|
|
91
|
-
gradientUnits: "userSpaceOnUse",
|
|
92
|
-
children: [
|
|
93
|
-
/* @__PURE__ */ jsx("stop", {
|
|
94
|
-
offset: "0",
|
|
95
|
-
stopColor: "#00ebff"
|
|
96
|
-
}),
|
|
97
|
-
/* @__PURE__ */ jsx("stop", {
|
|
98
|
-
offset: ".17",
|
|
99
|
-
stopColor: "#00e7fe"
|
|
100
|
-
}),
|
|
101
|
-
/* @__PURE__ */ jsx("stop", {
|
|
102
|
-
offset: ".32",
|
|
103
|
-
stopColor: "#01dcfd"
|
|
104
|
-
}),
|
|
105
|
-
/* @__PURE__ */ jsx("stop", {
|
|
106
|
-
offset: ".46",
|
|
107
|
-
stopColor: "#04cbfa"
|
|
108
|
-
}),
|
|
109
|
-
/* @__PURE__ */ jsx("stop", {
|
|
110
|
-
offset: ".59",
|
|
111
|
-
stopColor: "#08b2f6"
|
|
112
|
-
}),
|
|
113
|
-
/* @__PURE__ */ jsx("stop", {
|
|
114
|
-
offset: ".72",
|
|
115
|
-
stopColor: "#0c91f2"
|
|
116
|
-
}),
|
|
117
|
-
/* @__PURE__ */ jsx("stop", {
|
|
118
|
-
offset: ".85",
|
|
119
|
-
stopColor: "#1269ec"
|
|
120
|
-
}),
|
|
121
|
-
/* @__PURE__ */ jsx("stop", {
|
|
122
|
-
offset: ".98",
|
|
123
|
-
stopColor: "#183be6"
|
|
124
|
-
}),
|
|
125
|
-
/* @__PURE__ */ jsx("stop", {
|
|
126
|
-
offset: "1",
|
|
127
|
-
stopColor: "#1a32e5"
|
|
128
|
-
})
|
|
31
|
+
}) : null, /* @__PURE__ */ jsx("h1", { children: title })]
|
|
32
|
+
}),
|
|
33
|
+
control ?? (onSignIn ? /* @__PURE__ */ jsxs(Button, {
|
|
34
|
+
type: "button",
|
|
35
|
+
variant: "normal",
|
|
36
|
+
color: error ? "destructive" : "primary",
|
|
37
|
+
size: "sm",
|
|
38
|
+
className: "chatgpt-sign-in__button",
|
|
39
|
+
"data-busy": busy ? "true" : void 0,
|
|
40
|
+
disabled: busy,
|
|
41
|
+
onClick: onSignIn,
|
|
42
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
43
|
+
className: "chatgpt-sign-in__button-icon",
|
|
44
|
+
children: busy ? /* @__PURE__ */ jsx(SpinnerIcon, { size: 16 }) : /* @__PURE__ */ jsx(ProviderLogo, {
|
|
45
|
+
provider: "openai",
|
|
46
|
+
className: "chatgpt-sign-in__logo"
|
|
47
|
+
})
|
|
48
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
49
|
+
className: "chatgpt-sign-in__button-label",
|
|
50
|
+
children: label
|
|
51
|
+
})]
|
|
52
|
+
}) : null),
|
|
53
|
+
error ? /* @__PURE__ */ jsx("p", {
|
|
54
|
+
role: "alert",
|
|
55
|
+
className: "chatgpt-sign-in__error",
|
|
56
|
+
children: error
|
|
57
|
+
}) : null
|
|
129
58
|
]
|
|
130
|
-
}), /* @__PURE__ */
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}),
|
|
150
|
-
/* @__PURE__ */ jsx("stop", {
|
|
151
|
-
offset: ".5",
|
|
152
|
-
stopColor: "#00d1ff"
|
|
153
|
-
}),
|
|
154
|
-
/* @__PURE__ */ jsx("stop", {
|
|
155
|
-
offset: ".61",
|
|
156
|
-
stopColor: "#00bdff"
|
|
157
|
-
}),
|
|
158
|
-
/* @__PURE__ */ jsx("stop", {
|
|
159
|
-
offset: ".71",
|
|
160
|
-
stopColor: "#00a3ff"
|
|
161
|
-
}),
|
|
162
|
-
/* @__PURE__ */ jsx("stop", {
|
|
163
|
-
offset: ".8",
|
|
164
|
-
stopColor: "#0082ff"
|
|
165
|
-
}),
|
|
166
|
-
/* @__PURE__ */ jsx("stop", {
|
|
167
|
-
offset: ".88",
|
|
168
|
-
stopColor: "#005cff"
|
|
169
|
-
}),
|
|
170
|
-
/* @__PURE__ */ jsx("stop", {
|
|
171
|
-
offset: ".96",
|
|
172
|
-
stopColor: "#0030ff"
|
|
173
|
-
}),
|
|
174
|
-
/* @__PURE__ */ jsx("stop", {
|
|
175
|
-
offset: "1",
|
|
176
|
-
stopColor: "#0118ff"
|
|
177
|
-
})
|
|
178
|
-
]
|
|
179
|
-
})] }),
|
|
180
|
-
/* @__PURE__ */ jsx("path", {
|
|
181
|
-
fill: "url(#chatgpt-sign-in-mark-a)",
|
|
182
|
-
d: "M746.99,482.75l-145.57-84.52,60.02-34.87,71.05,41.28c8.95,5.2,14.47,14.78,14.47,25.13l.03,52.97Z"
|
|
183
|
-
}),
|
|
184
|
-
/* @__PURE__ */ jsx("path", {
|
|
185
|
-
fill: "url(#chatgpt-sign-in-mark-b)",
|
|
186
|
-
d: "M602.51,601.74l-60.02,34.87-29.12-16.94-45.85-26.63c-8.96-5.2-14.47-14.78-14.48-25.14l-.03-53,59.5,34.57.79.46,89.21,51.8Z"
|
|
187
|
-
}),
|
|
188
|
-
/* @__PURE__ */ jsx("path", {
|
|
189
|
-
fill: "#00e4ff",
|
|
190
|
-
d: "M732.58,595.89l-115.46,67.09c-9.03,5.25-20.19,5.25-29.22,0l-45.41-26.38,60.02-34.87,84.29-48.96-.07-84.18,60.29,35.03.03,67.1c0,10.37-5.51,19.95-14.47,25.16Z"
|
|
191
|
-
}),
|
|
192
|
-
/* @__PURE__ */ jsx("path", {
|
|
193
|
-
fill: "#00e4ff",
|
|
194
|
-
d: "M661.44,363.37l-60.02,34.87-88.19,51.21.07,79.61-60.32-35.03-.03-62.5c0-10.37,5.51-19.95,14.48-25.16l119.39-69.35c9.03-5.24,20.17-5.25,29.2,0l45.42,26.36Z"
|
|
195
|
-
}),
|
|
196
|
-
/* @__PURE__ */ jsx("path", {
|
|
197
|
-
fill: "#00e4ff",
|
|
198
|
-
d: "M599.5,506.65c0-2.14.02-4.27.03-6.41,0-.21,0-.43-.03-.63-.11-1.25-.63-2.14-1.85-2.84-3.45-1.98-6.85-4.04-10.25-6.1-.82-.5-1.5-.12-2.26.09-1.72.49-3.28.23-4.49-1.21-1.1-1.33-1.22-3.27-.35-4.81.81-1.43,2.46-2.17,4.23-1.89,1.63.23,3.07,1.5,3.3,3.23.15,1.31.81,1.98,1.88,2.59,2.55,1.46,5.07,3.04,7.6,4.56.52.31,1.04.92,1.68.61.75-.35.5-1.19.5-1.85.02-16.68,0-33.35,0-50.03v-4.62l-2.5-1.4c-.21-.08-.47-.2-.79-.38-2.06-1.16-4.1-2.32-6.16-3.48l-.9-.5c-1.75-.99-3.49-2-5.23-3.01-.88-.52-1.57-.55-2.49-.03-4.81,2.7-9.63,5.34-14.48,7.95-1.1.6-1.54,1.34-1.53,2.58.05,3.8.06,7.61.03,11.41-.02,1.17.31,2,1.25,2.78,1.94,1.6,2.03,4.52.34,6.18-1.62,1.6-4.36,1.54-5.98-.14-1.57-1.63-1.39-4.5.52-6.06.84-.69,1.14-1.45,1.13-2.49-.03-3.36.05-6.7-.27-10.04-.12-1.28-.53-1.43-1.6-.84-4.1,2.29-8.22,4.61-12.39,6.79-1.43.75-1.86,1.74-1.8,3.27.2,4.88.31,9.76.38,14.65.02,1.11.5,1.77,1.4,2.32,4.85,2.94,9.7,5.9,14.51,8.91.96.59,1.72.58,2.67.06,4.46-2.4,8.91-4.79,13.4-7.11,1.27-.66,1.77-1.56,1.79-2.98.05-4.36-.15-8.74.18-13.11.06-.87-.44-1.34-1.02-1.83-2.11-1.83-2.32-4.39-.55-6.29,1.51-1.65,4.38-1.62,5.97.05,1.72,1.8,1.56,4.41-.47,6.15-.72.63-1.04,1.25-1.05,2.18-.09,4.88-.29,9.76-.29,14.63.02,1.71-.67,2.52-2.11,3.25-4.91,2.5-9.75,5.13-14.63,7.69-.82.43-1.31.99-1.36,1.97-.21,4.99-.44,9.98-.72,14.97-.09,1.37.44,2.17,1.62,2.85,5.61,3.23,11.15,6.58,16.75,9.81,1.22.7,1.8,1.51,1.79,2.96-.06,6.03-.05,12.05.03,18.07.02,1.37-.49,2.2-1.66,2.87-4.68,2.67-9.31,5.43-13.98,8.13-.87.5-1.39,1.1-1.46,2.12-.12,1.33-.73,2.36-1.97,2.99-1.68.84-3.69.53-4.87-.75-1.28-1.37-1.59-3.25-.76-4.7,1.01-1.77,2.93-2.56,4.97-1.98.84.23,1.56.53,2.43.02,4.44-2.64,8.91-5.23,13.38-7.83.82-.47,1.19-1.11,1.19-2.08-.05-5.17-.06-10.34-.06-15.52,0-1.01-.38-1.71-1.27-2.23-5.57-3.28-11.15-6.58-16.71-9.89-.67-.4-1.24-.38-1.91.03-4.67,2.79-9.35,5.58-14.04,8.35-.88.53-1.42,1.19-1.59,2.26-.23,1.43-1.08,2.49-2.52,2.96-1.79.6-3.77.03-4.76-1.33-1.05-1.45-1.08-3.54-.06-4.94,1.04-1.43,2.9-2.04,4.73-1.45.93.32,1.71.6,2.7-.02,4.5-2.76,9.05-5.45,13.61-8.12.92-.53,1.4-1.19,1.46-2.27.26-5.05.58-10.09.9-15.12.08-1.1-.35-1.77-1.31-2.35-4.9-2.96-9.8-5.95-14.65-8.99-.87-.55-1.57-.47-2.38-.03-5.39,2.94-10.77,5.87-16.16,8.8-1.05.56-1.59,1.36-1.59,2.58.03,4.55-.02,9.09.02,13.64.02,1.68.4,1.86,2,1.08,2.72-1.3,5.42-2.62,8.15-3.89,1.04-.47,1.66-1.1,1.94-2.32.56-2.53,3.1-3.88,5.36-3.08,2.21.78,3.33,3.02,2.61,5.2-.72,2.18-3.17,3.36-5.57,2.49-.93-.32-1.68-.4-2.58.05-3.36,1.68-6.73,3.31-10.13,4.88-1.31.61-1.83,1.5-1.8,2.93.05,4.71.11,9.43-.03,14.14-.06,1.98.7,3.11,2.32,4.1,4.64,2.88,9.2,5.86,13.75,8.88,1.02.67,1.89.81,2.98.23,3.04-1.66,6.1-3.3,9.17-4.9.79-.43,1.08-1.02,1.17-1.91.24-2.44,2.33-4.15,4.53-3.81,2.43.38,4.01,2.65,3.48,4.97-.55,2.38-2.79,3.72-5.2,3.01-.96-.29-1.75-.21-2.61.24-3.05,1.65-6.12,3.27-9.19,4.87-.98.5-1.39,1.24-1.31,2.33.15,2.15.21,4.3.4,6.45.26,3.28.61,6.55.9,9.83.08.93.5,1.59,1.31,2.04,4.97,2.85,9.95,5.72,14.91,8.59.81.46,1.57.5,2.41.03,3.1-1.79,6.21-3.57,9.34-5.28,1.17-.66,1.92-1.45,2.2-2.82.26-1.36,1.13-2.35,2.56-2.65,1.98-.43,3.78.21,4.62,1.74.82,1.51.81,3.07-.2,4.5-1.02,1.46-2.79,2-4.73,1.27-1.16-.44-2.08-.31-3.07.27-2.4,1.4-4.84,2.76-7.23,4.17-1.48.88-1.46,1.34.05,2.23,4.13,2.38,8.3,4.71,12.42,7.11,1.08.63,2.04.7,3.17.06,4.46-2.52,8.93-4.97,13.41-7.42.84-.46,1.28-1.07,1.4-1.92.03-.18.03-.35.03-.55-.02-1.51-.03-3.02-.03-4.53v-50.29Z"
|
|
199
|
-
}),
|
|
200
|
-
/* @__PURE__ */ jsx("path", {
|
|
201
|
-
fill: "#00e4ff",
|
|
202
|
-
d: "M655.42,487.9c-1.16,1.43-1.05,3.68,0,5.11,1.05,1.45,3.16,2.2,5.05,1.53,1.14-.41,2.04-.26,3.07.26,2.88,1.45,5.8,2.85,8.74,4.21,1.17.53,1.68,1.31,1.66,2.64-.06,4.71-.05,9.43-.02,14.14,0,1.16-.29,2.08-1.33,2.75-4.59,2.91-9.19,5.87-13.75,8.85-.85.56-1.57.63-2.5.11-2.27-1.28-4.59-2.49-6.93-3.66-1.42-.72-2.47-1.53-2.81-3.28-.37-1.89-1.89-2.93-3.78-3.23-1.75-.27-3.08.58-4.1,1.91-1.24,1.6-1.25,3.4-.11,5.05,1.14,1.66,3.11,2.53,4.87,1.91,1.05-.37,1.86-.18,2.75.29,2.75,1.48,5.49,2.96,8.27,4.39.95.49,1.25,1.08,1.14,2.17-.44,4.75-.84,9.49-1.14,14.25-.09,1.53-.66,2.5-2,3.25-3.98,2.2-7.93,4.42-11.81,6.79-1.82,1.11-3.36,1.21-5.17.02-2.08-1.37-4.29-2.56-6.5-3.71-1.3-.67-2.09-1.53-2.61-2.93-.87-2.41-3.08-3.54-5.25-2.99-2.35.6-3.74,2.53-3.51,4.94.24,2.59,3.01,4.62,5.54,3.84,1.45-.44,2.61-.27,3.84.5,1.79,1.11,3.65,2.09,5.48,3.11,1.11.63,1.07,1.19,0,1.82-3.91,2.21-7.8,4.44-11.69,6.67-.6.34-1.14.35-1.77.02-4.42-2.43-8.86-4.85-13.3-7.25-.82-.44-1.04-1.13-1.04-1.98,0-5.42,0-10.86-.02-16.28v-21.09c0-7.37.02-14.75-.03-22.12,0-1.24.44-2.01,1.5-2.62,2.94-1.71,5.86-3.48,8.76-5.26,1.02-.63,1.92-.84,3.17-.47,2.32.7,4.52-.52,5.39-2.72.75-1.89-.17-4.24-2.11-5.42-1.77-1.07-4.26-.55-5.65,1.21-.24.31-.6.67-.6,1.01-.02,2.24-1.74,3.01-3.3,3.92-1.57.92-3.11,1.88-4.68,2.78-.67.38-1.36,1.3-2.08.9-.82-.46-.37-1.57-.37-2.38-.03-15.61.08-31.23-.11-46.86-.05-3.23.7-5.2,3.78-6.61,3.71-1.68,7.17-3.91,10.71-5.97.93-.55,1.71-.61,2.67-.06,4.5,2.52,9.03,5,13.56,7.48.95.52,1.42,1.19,1.42,2.3,0,3.86-.11,7.72-.34,11.57-.06.82-.47,1.36-.99,1.91-2.09,2.18-2.12,4.59-.15,6.44,1.89,1.79,4.47,1.71,6.23-.17,1.86-1.98,1.72-4.55-.38-6.47-.47-.44-.9-.84-.93-1.54-.14-3.3.11-6.58.32-9.87.09-1.36.96-.76,1.57-.44,3.05,1.65,5.97,3.6,9.14,4.93,3.11,1.31,3.89,3.34,3.62,6.48-.35,3.77-.31,7.58-.38,11.4-.02,1.14-.5,1.89-1.46,2.47-4.47,2.7-8.93,5.42-13.37,8.18-.99.63-1.8.63-2.84.06-4.13-2.26-8.3-4.47-12.48-6.62-1.11-.56-1.56-1.27-1.57-2.52-.03-4.2.2-8.41-.15-12.6-.09-1.02.72-1.46,1.27-2.09,1.43-1.63,1.68-3.72.61-5.34-1.21-1.85-3.3-2.58-5.34-1.88-2.87.96-3.89,4.71-1.69,6.94,1.31,1.34,1.59,2.73,1.56,4.44-.05,3.92.15,7.84-.02,11.75-.11,2.21.84,3.23,2.65,4.13,4.47,2.24,8.83,4.68,13.27,6.97,1.21.63,1.79,1.51,1.79,2.82.03,4.65.29,9.31.66,13.95.06.99-.58,1.39-1.28,1.8-5.52,3.25-11.03,6.56-16.59,9.76-1.16.67-1.79,1.43-1.8,2.81-.05,5.89.06,11.81-.34,17.7-.11,1.4.41,2.32,1.68,3.04,4.33,2.47,8.61,5.07,12.92,7.57,1.19.69,1.98,1.51,2.35,2.93.61,2.38,2.88,3.63,5.28,3.16,2.11-.41,3.8-2.65,3.6-4.75-.24-2.43-2.21-4.53-4.59-4.01-2.91.63-4.9-.78-7.08-2.03-2.81-1.6-5.57-3.3-8.41-4.87-1.22-.69-1.75-1.56-1.71-3.01.12-4.7-.08-9.41.32-14.13.08-.95.38-1.57,1.22-2.04,5.05-2.94,10.09-5.92,15.12-8.9.88-.52,1.68-.49,2.55.03,4.27,2.59,8.56,5.16,12.85,7.72.79.47,1.17,1.11,1.4,2.01.67,2.64,3.11,3.98,5.66,3.23,2.18-.63,3.65-3.22,3.04-5.4-.67-2.47-3.07-3.94-5.57-3.16-1.42.43-2.46.14-3.65-.58-3.78-2.32-7.58-4.58-11.43-6.79-1.21-.69-1.68-1.56-1.79-2.98-.38-4.64-.5-9.29-.78-13.93-.05-.85.2-1.4.9-1.85,4.7-2.88,9.38-5.78,14.05-8.68.64-.4,1.22-.46,1.91-.08,5.08,2.79,10.18,5.55,15.27,8.28,1.24.66,1.8,1.56,1.74,3.01-.15,3.97-.21,7.93-.27,11.9-.02,1.13-.31,1.63-1.51,1.04-2.44-1.21-4.9-2.38-7.37-3.52-.84-.4-1.3-.98-1.6-1.85-.95-2.79-2.53-3.84-5.37-3.54-.96.11-1.57-.05-1.79-1.11.18,1.27-.11,2.17-.87,3.08Z"
|
|
59
|
+
}), secondaryAction ? /* @__PURE__ */ jsx("div", {
|
|
60
|
+
className: "chatgpt-sign-in__secondary-action",
|
|
61
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
62
|
+
type: "button",
|
|
63
|
+
variant: "ghost",
|
|
64
|
+
color: "neutral",
|
|
65
|
+
size: "xs",
|
|
66
|
+
disabled: secondaryAction.disabled,
|
|
67
|
+
onClick: secondaryAction.onSelect,
|
|
68
|
+
children: secondaryAction.label
|
|
69
|
+
})
|
|
70
|
+
}) : null]
|
|
71
|
+
}), /* @__PURE__ */ jsx("footer", {
|
|
72
|
+
className: "chatgpt-sign-in__footer",
|
|
73
|
+
children: /* @__PURE__ */ jsxs("a", {
|
|
74
|
+
href: "https://sigvelo.com",
|
|
75
|
+
target: "_blank",
|
|
76
|
+
rel: "noopener noreferrer",
|
|
77
|
+
children: ["Powered by ", brandName]
|
|
203
78
|
})
|
|
204
|
-
]
|
|
79
|
+
})]
|
|
205
80
|
});
|
|
206
81
|
}
|
|
207
82
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { H as RefreshIcon, d as CheckIcon, f as ChevronDownIcon, l as BrainIcon, p as ChevronRightIcon } from "../../icons-
|
|
2
|
+
import { H as RefreshIcon, d as CheckIcon, f as ChevronDownIcon, l as BrainIcon, p as ChevronRightIcon } from "../../icons-CeGfXO21.js";
|
|
3
|
+
import { Menu } from "../foundations/Menu.js";
|
|
3
4
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
4
5
|
import { c as titleCase } from "../../format-COCyV98Z.js";
|
|
5
|
-
import { Menu } from "../foundations/Menu.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/extension/CodexModelSelector.tsx
|
|
@@ -22,7 +22,6 @@ function CodexModelSelector({ models, selectedModelId = null, onSelectModel, sel
|
|
|
22
22
|
const selectedEffort = effortOptions.find((option) => option.reasoningEffort === selectedEffortId);
|
|
23
23
|
const selectedSpeed = speedOptions.find((option) => option.id === selectedSpeedId);
|
|
24
24
|
const selectedModelLabel = selectedModel?.displayName ?? "Select model";
|
|
25
|
-
const compactModelLabel = selectedModelLabel.replace(/^GPT-([^\s-]+).*$/i, "$1");
|
|
26
25
|
const selectedEffortLabel = selectedEffort ? formatSettingLabel(selectedEffort.reasoningEffort) : void 0;
|
|
27
26
|
const selectedSettingsLabel = selectedEffortLabel ? `${selectedModelLabel} · ${selectedEffortLabel}` : selectedModelLabel;
|
|
28
27
|
function handleSelectModel(modelId) {
|
|
@@ -53,12 +52,9 @@ function CodexModelSelector({ models, selectedModelId = null, onSelectModel, sel
|
|
|
53
52
|
disabled,
|
|
54
53
|
"aria-label": ariaLabel,
|
|
55
54
|
children: [
|
|
56
|
-
/* @__PURE__ */
|
|
55
|
+
/* @__PURE__ */ jsx("span", {
|
|
57
56
|
className: "codex-model-selector__compact",
|
|
58
|
-
children:
|
|
59
|
-
className: "codex-model-selector__compact-label",
|
|
60
|
-
children: compactModelLabel
|
|
61
|
-
})]
|
|
57
|
+
children: /* @__PURE__ */ jsx(BrainIcon, { className: "codex-model-selector__compact-icon" })
|
|
62
58
|
}),
|
|
63
59
|
/* @__PURE__ */ jsxs("span", {
|
|
64
60
|
className: "codex-model-selector__summary sigvelo-truncate",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { et as WarningIcon } from "../../icons-
|
|
1
|
+
import { et as WarningIcon } from "../../icons-CeGfXO21.js";
|
|
2
2
|
import { Button } from "../foundations/Button.js";
|
|
3
|
-
import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
|
|
4
3
|
import { Menu } from "../foundations/Menu.js";
|
|
4
|
+
import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
|
|
5
5
|
import { Avatar } from "../foundations/Avatar.js";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { d as CheckIcon } from "../../icons-
|
|
2
|
+
import { d as CheckIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
|
|
5
5
|
//#region src/components/foundations/Checkbox.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { Collapsible as Collapsible$1 } from "@base-ui/react/collapsible";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/foundations/Collapsible.tsx
|
|
6
6
|
/**
|
|
7
7
|
* Container that groups all collapsible parts. Renders a `<div>` element.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { _ as DotIcon, d as CheckIcon } from "../../icons-
|
|
2
|
+
import { _ as DotIcon, d as CheckIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { ContextMenu as ContextMenu$1 } from "@base-ui/react/context-menu";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as IconButtonProps, t as IconButton } from "../../IconButton-
|
|
1
|
+
import { n as IconButtonProps, t as IconButton } from "../../IconButton-CAlFVb2L.js";
|
|
2
2
|
export { IconButton, IconButtonProps };
|
|
@@ -8,17 +8,20 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
8
8
|
* tooltip. Use text buttons for actions whose consequence an icon cannot make
|
|
9
9
|
* clear on its own.
|
|
10
10
|
*/
|
|
11
|
-
function IconButton({ children, label, size = "sm", tooltip = label, tooltipSide = "top", type = "button", ref, ...props }) {
|
|
12
|
-
return /* @__PURE__ */ jsxs(Tooltip.Root, { children: [/* @__PURE__ */
|
|
11
|
+
function IconButton({ children, label, responsiveLabel, size = "sm", tooltip = label, tooltipSide = "top", type = "button", ref, ...props }) {
|
|
12
|
+
return /* @__PURE__ */ jsxs(Tooltip.Root, { children: [/* @__PURE__ */ jsxs(Tooltip.Trigger, {
|
|
13
13
|
render: /* @__PURE__ */ jsx(Button, {
|
|
14
14
|
ref,
|
|
15
15
|
type,
|
|
16
16
|
size,
|
|
17
|
-
iconOnly:
|
|
17
|
+
iconOnly: !responsiveLabel,
|
|
18
18
|
"aria-label": label,
|
|
19
19
|
...props
|
|
20
20
|
}),
|
|
21
|
-
children
|
|
21
|
+
children: [children, responsiveLabel ? /* @__PURE__ */ jsx("span", {
|
|
22
|
+
className: "button__responsive-label",
|
|
23
|
+
children: responsiveLabel
|
|
24
|
+
}) : null]
|
|
22
25
|
}), /* @__PURE__ */ jsx(Tooltip.Portal, { children: /* @__PURE__ */ jsx(Tooltip.Positioner, {
|
|
23
26
|
side: tooltipSide,
|
|
24
27
|
sideOffset: 6,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { _ as DotIcon, d as CheckIcon } from "../../icons-
|
|
2
|
+
import { _ as DotIcon, d as CheckIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { buttonVariants } from "./Button.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { U as SearchIcon } from "../../icons-
|
|
2
|
+
import { U as SearchIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Field } from "./Field.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/foundations/SearchField.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { a as ArrowUpIcon, d as CheckIcon, n as ArrowDownIcon } from "../../icons-
|
|
2
|
+
import { a as ArrowUpIcon, d as CheckIcon, n as ArrowDownIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { Select as Select$1 } from "@base-ui/react/select";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { K as SpinnerIcon, d as CheckIcon } from "../../icons-
|
|
2
|
+
import { K as SpinnerIcon, d as CheckIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Tabs } from "./Tabs.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { nt as XIcon } from "../../icons-
|
|
2
|
+
import { nt as XIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { buttonVariants } from "./Button.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as UserIcon, A as McpIcon, B as PlusIcon, C as FolderIcon, D as LinkIcon, E as KeyboardIcon, F as MoonIcon, G as SlackIcon, H as RefreshIcon, I as PaperclipIcon, J as StopIcon, K as SpinnerIcon, L as PauseIcon, M as MicrophoneIcon, N as MinusIcon, O as MailIcon, P as MonitorIcon, Q as TrashIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, U as SearchIcon, V as QueueIcon, W as SidebarIcon, X as TargetIcon, Y as SunIcon, Z as TerminalIcon, _ as DotIcon, a as ArrowUpIcon, b as EyeIcon, c as BoxIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon, g as DiscordIcon, h as CopyIcon, i as ArrowRightIcon, j as MessageSquareIcon, k as MaximizeIcon, l as BrainIcon, m as CodeIcon, n as ArrowDownIcon, nt as XIcon, o as ArrowUpRightIcon, p as ChevronRightIcon, q as SquareIcon, r as ArrowLeftIcon, s as BookmarkIcon, t as ArchiveIcon, tt as WrenchIcon, u as CalendarIcon, v as DownloadIcon, w as FolderOpenIcon, x as EyeOffIcon, y as EllipsisIcon, z as PlayIcon } from "../../icons-
|
|
1
|
+
import { $ as UserIcon, A as McpIcon, B as PlusIcon, C as FolderIcon, D as LinkIcon, E as KeyboardIcon, F as MoonIcon, G as SlackIcon, H as RefreshIcon, I as PaperclipIcon, J as StopIcon, K as SpinnerIcon, L as PauseIcon, M as MicrophoneIcon, N as MinusIcon, O as MailIcon, P as MonitorIcon, Q as TrashIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, U as SearchIcon, V as QueueIcon, W as SidebarIcon, X as TargetIcon, Y as SunIcon, Z as TerminalIcon, _ as DotIcon, a as ArrowUpIcon, b as EyeIcon, c as BoxIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon, g as DiscordIcon, h as CopyIcon, i as ArrowRightIcon, j as MessageSquareIcon, k as MaximizeIcon, l as BrainIcon, m as CodeIcon, n as ArrowDownIcon, nt as XIcon, o as ArrowUpRightIcon, p as ChevronRightIcon, q as SquareIcon, r as ArrowLeftIcon, s as BookmarkIcon, t as ArchiveIcon, tt as WrenchIcon, u as CalendarIcon, v as DownloadIcon, w as FolderOpenIcon, x as EyeOffIcon, y as EllipsisIcon, z as PlayIcon } from "../../icons-CeGfXO21.js";
|
|
2
2
|
export { ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpRightIcon, BookmarkIcon, BoxIcon, BrainIcon, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CodeIcon, CopyIcon, DiscordIcon, DotIcon, DownloadIcon, EllipsisIcon, EyeIcon, EyeOffIcon, FileIcon, FolderIcon, FolderOpenIcon, InfoIcon, KeyboardIcon, LinkIcon, MailIcon, MaximizeIcon, McpIcon, MessageSquareIcon, MicrophoneIcon, MinusIcon, MonitorIcon, MoonIcon, PaperclipIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, QueueIcon, RefreshIcon, SearchIcon, SidebarIcon, SlackIcon, SpinnerIcon, SquareIcon, StopIcon, SunIcon, TargetIcon, TerminalIcon, TrashIcon, UserIcon, WarningIcon, WrenchIcon, XIcon };
|
|
@@ -1,26 +1,22 @@
|
|
|
1
|
-
import { l as DialogProps } from "../../Dialog-88GF7_Th.js";
|
|
2
1
|
import * as React from "react";
|
|
3
2
|
|
|
4
3
|
//#region src/components/general-purpose/AccountSignInDialog.d.ts
|
|
5
4
|
interface AccountSignInDialogProps {
|
|
6
|
-
open: boolean;
|
|
7
|
-
onOpenChange: DialogProps["onOpenChange"];
|
|
8
5
|
trigger: React.ReactElement;
|
|
9
6
|
title: string;
|
|
10
7
|
description: string;
|
|
11
8
|
/** Provider-owned sign-in control; credentials never enter the component. */
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
renderControl: (events: {
|
|
10
|
+
onError: (message: string | null) => void;
|
|
11
|
+
onSuccess: () => void;
|
|
12
|
+
}) => React.ReactNode;
|
|
14
13
|
}
|
|
15
14
|
/** Shared account-dialog layout surrounding a provider's own sign-in control. */
|
|
16
15
|
declare function AccountSignInDialog({
|
|
17
|
-
open,
|
|
18
|
-
onOpenChange,
|
|
19
16
|
trigger,
|
|
20
17
|
title,
|
|
21
18
|
description,
|
|
22
|
-
|
|
23
|
-
children
|
|
19
|
+
renderControl
|
|
24
20
|
}: AccountSignInDialogProps): React.JSX.Element;
|
|
25
21
|
//#endregion
|
|
26
22
|
export { AccountSignInDialog, AccountSignInDialogProps };
|
|
@@ -1,20 +1,28 @@
|
|
|
1
|
-
import { Dialog } from "../foundations/Dialog.js";
|
|
2
1
|
import { Field } from "../foundations/Field.js";
|
|
3
|
-
import "
|
|
2
|
+
import { Dialog } from "../foundations/Dialog.js";
|
|
3
|
+
import * as React from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/general-purpose/AccountSignInDialog.tsx
|
|
6
6
|
/** Shared account-dialog layout surrounding a provider's own sign-in control. */
|
|
7
|
-
function AccountSignInDialog({
|
|
7
|
+
function AccountSignInDialog({ trigger, title, description, renderControl }) {
|
|
8
|
+
const [open, setOpen] = React.useState(false);
|
|
9
|
+
const [error, setError] = React.useState(null);
|
|
8
10
|
return /* @__PURE__ */ jsxs(Dialog.Root, {
|
|
9
11
|
open,
|
|
10
|
-
onOpenChange
|
|
12
|
+
onOpenChange: (next) => {
|
|
13
|
+
setError(null);
|
|
14
|
+
setOpen(next);
|
|
15
|
+
},
|
|
11
16
|
children: [/* @__PURE__ */ jsx(Dialog.Trigger, { render: trigger }), /* @__PURE__ */ jsxs(Dialog.Portal, { children: [/* @__PURE__ */ jsx(Dialog.Backdrop, {}), /* @__PURE__ */ jsx(Dialog.Viewport, { children: /* @__PURE__ */ jsxs(Dialog.Popup, {
|
|
12
17
|
size: "sm",
|
|
13
18
|
children: [
|
|
14
19
|
/* @__PURE__ */ jsxs(Dialog.Header, { children: [/* @__PURE__ */ jsx(Dialog.Title, { children: title }), /* @__PURE__ */ jsx(Dialog.Description, { children: description })] }),
|
|
15
20
|
/* @__PURE__ */ jsxs("div", {
|
|
16
21
|
className: "account-sign-in-dialog__control",
|
|
17
|
-
children: [
|
|
22
|
+
children: [renderControl({
|
|
23
|
+
onError: setError,
|
|
24
|
+
onSuccess: () => setOpen(false)
|
|
25
|
+
}), error ? /* @__PURE__ */ jsx(Field.Errors, { errors: [error] }) : null]
|
|
18
26
|
}),
|
|
19
27
|
/* @__PURE__ */ jsx(Dialog.Footer, { children: /* @__PURE__ */ jsx(Dialog.Close, { children: "Cancel" }) })
|
|
20
28
|
]
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/components/general-purpose/BrandLoading.d.ts
|
|
2
|
+
interface BrandLoadingProps {
|
|
3
|
+
/** Visible, politely announced description of the region being loaded. */
|
|
4
|
+
label: string;
|
|
5
|
+
/** Layout class for the region that owns this pending state. */
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
/** Sigvelo's local pending state; keep surrounding navigation and controls mounted. */
|
|
9
|
+
declare function BrandLoading({
|
|
10
|
+
label,
|
|
11
|
+
className
|
|
12
|
+
}: BrandLoadingProps): import("react").JSX.Element;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { BrandLoading, BrandLoadingProps };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/general-purpose/BrandLoading.tsx
|
|
4
|
+
/** Sigvelo's local pending state; keep surrounding navigation and controls mounted. */
|
|
5
|
+
function BrandLoading({ label, className }) {
|
|
6
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
7
|
+
className: cx("brand-loading", className),
|
|
8
|
+
role: "status",
|
|
9
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
10
|
+
className: "brand-loading__mark",
|
|
11
|
+
"aria-hidden": "true",
|
|
12
|
+
children: /* @__PURE__ */ jsx("img", {
|
|
13
|
+
src: new URL("../../assets/sigvelo-logo.svg", import.meta.url).href,
|
|
14
|
+
alt: "",
|
|
15
|
+
width: 96,
|
|
16
|
+
height: 96
|
|
17
|
+
})
|
|
18
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
19
|
+
className: "brand-loading__label",
|
|
20
|
+
children: label
|
|
21
|
+
})]
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
export { BrandLoading };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { S as FileIcon, p as ChevronRightIcon } from "../../icons-cuEtsgj9.js";
|
|
3
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
4
|
-
import {
|
|
3
|
+
import { S as FileIcon, p as ChevronRightIcon } from "../../icons-CeGfXO21.js";
|
|
4
|
+
import { t as CopyButton } from "../../copy-button-Dk2vRe9j.js";
|
|
5
5
|
import { Avatar } from "../foundations/Avatar.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { b as EyeIcon, x as EyeOffIcon } from "../../icons-
|
|
3
|
-
import { t as CopyButton } from "../../copy-button-
|
|
2
|
+
import { b as EyeIcon, x as EyeOffIcon } from "../../icons-CeGfXO21.js";
|
|
3
|
+
import { t as CopyButton } from "../../copy-button-Dk2vRe9j.js";
|
|
4
4
|
import { Switch } from "../foundations/Switch.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as FileTreeIcon, i as FileTreeFolder, n as FileTreeActions, o as FileTreeName, r as FileTreeFile, t as FileTree } from "../../FileTree-
|
|
1
|
+
import { a as FileTreeIcon, i as FileTreeFolder, n as FileTreeActions, o as FileTreeName, r as FileTreeFile, t as FileTree } from "../../FileTree-okaLnS5j.js";
|
|
2
2
|
export { FileTree, FileTreeActions, FileTreeFile, FileTreeFolder, FileTreeIcon, FileTreeName };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { Switch } from "../foundations/Switch.js";
|
|
3
2
|
import { ToggleGroup } from "../foundations/ToggleGroup.js";
|
|
3
|
+
import { Switch } from "../foundations/Switch.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/general-purpose/PricingBillingToggle.tsx
|
|
6
6
|
/** Controlled billing-period selector composed from the shared Switch or ToggleGroup. */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { N as MinusIcon, T as InfoIcon, d as CheckIcon } from "../../icons-
|
|
2
|
+
import { N as MinusIcon, T as InfoIcon, d as CheckIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { IconButton } from "../foundations/IconButton.js";
|
|
5
|
-
import { Separator } from "../foundations/Separator.js";
|
|
6
5
|
import { Card } from "../foundations/Card.js";
|
|
6
|
+
import { Separator } from "../foundations/Separator.js";
|
|
7
7
|
import { getPlanPrice, getPlanYearlySavings } from "./Pricing.js";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region src/components/general-purpose/PricingPlanCard.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { Slider } from "../foundations/Slider.js";
|
|
3
|
-
import { Separator } from "../foundations/Separator.js";
|
|
4
2
|
import { Card } from "../foundations/Card.js";
|
|
3
|
+
import { Separator } from "../foundations/Separator.js";
|
|
4
|
+
import { Slider } from "../foundations/Slider.js";
|
|
5
5
|
import { Progress } from "../foundations/Progress.js";
|
|
6
6
|
import { formatPricingUsage, getUsagePrice } from "./Pricing.js";
|
|
7
7
|
import * as React from "react";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ResponsiveSidebarShellProps, i as ResponsiveSidebarShellControls, n as ResponsiveSidebarShell, o as useResponsiveSidebarShell, r as ResponsiveSidebarShellBar, t as AppBarSlots } from "../../ResponsiveSidebarShell-
|
|
1
|
+
import { a as ResponsiveSidebarShellProps, i as ResponsiveSidebarShellControls, n as ResponsiveSidebarShell, o as useResponsiveSidebarShell, r as ResponsiveSidebarShellBar, t as AppBarSlots } from "../../ResponsiveSidebarShell-BUBQa_IV.js";
|
|
2
2
|
export { AppBarSlots, ResponsiveSidebarShell, ResponsiveSidebarShellBar, ResponsiveSidebarShellControls, ResponsiveSidebarShellProps, useResponsiveSidebarShell };
|