@mcp-b/react-components 0.47.0 → 0.48.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-DMHZiw86.js → CodeBlock-BSJl682D.js} +1 -1
- package/dist/Correspondent-7K6uNLUm.d.ts +64 -0
- package/dist/{FileTree-BHebfvkK.js → FileTree-DvE0hNZu.js} +1 -1
- package/dist/{SetupChecklist-CwRjIDH4.js → SetupChecklist-DeTU9YpW.js} +1 -1
- package/dist/{ThinkChat-DLDta57t.js → ThinkChat-DiI6hhDP.js} +3 -3
- package/dist/{Workspace-C_zHq9KZ.d.ts → Workspace-LIoU30n7.d.ts} +13 -2
- package/dist/{WorkspaceFileView-ChIJz-fl.js → WorkspaceFileView-C_WnYm-a.js} +3 -3
- package/dist/{WorkspaceLive-DLGhtIly.d.ts → WorkspaceLive-DfjH1Ypm.d.ts} +12 -0
- package/dist/{WorkspaceMessageResponse-Dg_aNpoj.js → WorkspaceMessageResponse-BqOezptB.js} +4 -1
- package/dist/components/agents-sdk/AgentActivity.js +1 -1
- package/dist/components/agents-sdk/AgentChat.js +10 -10
- package/dist/components/agents-sdk/AgentEvent.js +1 -1
- 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/ManagerOffice.d.ts +41 -50
- package/dist/components/agents-sdk/ManagerOffice.js +360 -979
- package/dist/components/agents-sdk/McpConnectionRequest.js +2 -2
- package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +2 -2
- package/dist/components/agents-sdk/McpServerPicker.js +2 -2
- package/dist/components/agents-sdk/ModelSelector.js +3 -3
- 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/SubagentRunSelector.js +1 -1
- package/dist/components/agents-sdk/ThinkChat.js +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +1 -1
- 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 +3 -3
- package/dist/components/agents-sdk/ThinkFullApp.d.ts +3 -3
- package/dist/components/agents-sdk/ThinkFullApp.js +9 -4
- package/dist/components/agents-sdk/ThinkFullAppViewSwitch.js +1 -1
- package/dist/components/agents-sdk/ThinkRecoveryNotice.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 +4 -4
- package/dist/components/agents-sdk/ThinkRoutineLibrary.js +3 -3
- package/dist/components/agents-sdk/ThinkRoutineRuns.js +1 -1
- package/dist/components/agents-sdk/ThinkSidepanel.js +10 -10
- package/dist/components/agents-sdk/ThinkThreadPicker.js +4 -4
- package/dist/components/agents-sdk/Workspace.d.ts +2 -2
- package/dist/components/agents-sdk/Workspace.js +13 -10
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceConcept.d.ts +3 -2
- package/dist/components/agents-sdk/WorkspaceConcept.js +3 -3
- package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +5 -9
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +44 -44
- package/dist/components/agents-sdk/WorkspaceExecution.d.ts +30 -21
- package/dist/components/agents-sdk/WorkspaceExecution.js +104 -167
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceExplorer.js +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 +1 -1
- package/dist/components/agents-sdk/WorkspaceLive.js +33 -5
- package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.js +2 -2
- package/dist/components/agents-sdk/WorkspaceProject.d.ts +43 -5
- package/dist/components/agents-sdk/WorkspaceProject.js +62 -25
- package/dist/components/agents-sdk/WorkspaceUserScript.js +4 -4
- 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.js +3 -3
- package/dist/components/ai-sdk/ChainOfThought.js +1 -1
- package/dist/components/ai-sdk/Checkpoint.js +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.d.ts +7 -0
- package/dist/components/ai-sdk/ConnectedAppCards.js +48 -80
- package/dist/components/ai-sdk/Conversation.js +1 -1
- package/dist/components/ai-sdk/Correspondent.d.ts +2 -0
- package/dist/components/ai-sdk/Correspondent.js +145 -0
- package/dist/components/ai-sdk/Goal.js +1 -1
- package/dist/components/ai-sdk/InlineCitation.js +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
- package/dist/components/ai-sdk/Message.js +1 -1
- 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 +5 -5
- 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.js +1 -1
- package/dist/components/extension/CodexModelSelector.js +2 -2
- 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/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/ToggleGroup.d.ts +1 -1
- package/dist/components/foundations/ToggleGroup.js +1 -1
- package/dist/components/foundations/icons.js +1 -1
- package/dist/components/general-purpose/Commit.js +2 -2
- 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.js +1 -1
- package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- 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 +2 -2
- package/dist/components/general-purpose/WebPreview.js +2 -2
- package/dist/components/nanites/AgentConnection.js +2 -2
- package/dist/components/nanites/AgentToolDetail.js +5 -5
- package/dist/{copy-button-CSDuDfdP.js → copy-button-Dk2vRe9j.js} +1 -1
- package/dist/styles/base.css +2 -2
- package/dist/styles/correspondent.css +73 -0
- package/dist/styles/index.css +1 -0
- package/dist/styles/manager-office.css +380 -1086
- package/dist/{workspace-assets-CxpEHsac.js → workspace-assets-GqsCYxqT.js} +16 -2
- package/package.json +2 -2
- package/dist/{icons-cuEtsgj9.js → icons-CeGfXO21.js} +1 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { G as SlackIcon, O as MailIcon, _ as DotIcon, d as CheckIcon, nt as XIcon, u as CalendarIcon } from "../../icons-
|
|
2
|
+
import { G as SlackIcon, O as MailIcon, _ as DotIcon, d as CheckIcon, nt as XIcon, u as CalendarIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { Field } from "../foundations/Field.js";
|
|
5
5
|
import { Textarea } from "../foundations/Textarea.js";
|
|
6
|
-
import { Input } from "../foundations/Input.js";
|
|
7
|
-
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
8
6
|
import { Card, CardAction, CardContent, CardFooter, CardHeader, CardTitle } from "../foundations/Card.js";
|
|
7
|
+
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
8
|
+
import { Input } from "../foundations/Input.js";
|
|
9
|
+
import { CorrespondentName, emailDestinationCorrespondent, slackDestinationCorrespondent } from "./Correspondent.js";
|
|
9
10
|
import * as React from "react";
|
|
10
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
12
|
//#region src/components/ai-sdk/ConnectedAppCards.tsx
|
|
@@ -14,15 +15,26 @@ const STATE_ICON = {
|
|
|
14
15
|
sent: CheckIcon,
|
|
15
16
|
denied: XIcon
|
|
16
17
|
};
|
|
17
|
-
function
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
function fieldItem(name, term, value, display) {
|
|
19
|
+
return display === void 0 ? {
|
|
20
|
+
name,
|
|
21
|
+
term,
|
|
22
|
+
value
|
|
23
|
+
} : {
|
|
24
|
+
name,
|
|
25
|
+
term,
|
|
26
|
+
value,
|
|
27
|
+
display
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function createDraftUpdater(draft, onChange) {
|
|
31
|
+
let current = draft;
|
|
20
32
|
return (patch) => {
|
|
21
33
|
const next = {
|
|
22
|
-
...current
|
|
34
|
+
...current,
|
|
23
35
|
...patch
|
|
24
36
|
};
|
|
25
|
-
current
|
|
37
|
+
current = next;
|
|
26
38
|
onChange?.(next);
|
|
27
39
|
};
|
|
28
40
|
}
|
|
@@ -109,7 +121,7 @@ function ConnectedAppCardFrame({ children, className, headerActions, icon, kind,
|
|
|
109
121
|
children: [/* @__PURE__ */ jsxs("span", {
|
|
110
122
|
className: "connected-app-card__status",
|
|
111
123
|
"data-state": state,
|
|
112
|
-
children: [/* @__PURE__ */ jsx(StateIcon, { size: 14 }), stateLabels[state]]
|
|
124
|
+
children: [/* @__PURE__ */ jsx(StateIcon, { size: 14 }), state === "pending" && !hasDecision ? "Sending" : stateLabels[state]]
|
|
113
125
|
}), headerActions]
|
|
114
126
|
})] }),
|
|
115
127
|
/* @__PURE__ */ jsxs(CardContent, { children: [
|
|
@@ -184,14 +196,16 @@ function ConnectedAppCardFrame({ children, className, headerActions, icon, kind,
|
|
|
184
196
|
* Email draft or result. Pending cards can be edited and released; send,
|
|
185
197
|
* discard, and reject-with-reason stay application-owned.
|
|
186
198
|
*/
|
|
187
|
-
function EmailMessageCard({ body, from, icon, onChange, onDiscard, onReject, onSend, state = "pending", subject, to, ref, ...props }) {
|
|
199
|
+
function EmailMessageCard({ body, correspondent, from, icon, onChange, onDiscard, onReject, onSend, state = "pending", subject, to, ref, ...props }) {
|
|
188
200
|
const editing = state === "pending" && onChange != null;
|
|
189
|
-
const
|
|
201
|
+
const draft = {
|
|
190
202
|
from,
|
|
191
203
|
to,
|
|
192
204
|
subject,
|
|
193
205
|
body
|
|
194
|
-
}
|
|
206
|
+
};
|
|
207
|
+
const toCorrespondent = !editing && to ? correspondent ?? emailDestinationCorrespondent(to) : void 0;
|
|
208
|
+
const updateDraft = createDraftUpdater(draft, onChange);
|
|
195
209
|
return /* @__PURE__ */ jsx(ConnectedAppCardFrame, {
|
|
196
210
|
...props,
|
|
197
211
|
ref,
|
|
@@ -211,39 +225,15 @@ function EmailMessageCard({ body, from, icon, onChange, onDiscard, onReject, onS
|
|
|
211
225
|
children: /* @__PURE__ */ jsx(FieldList, {
|
|
212
226
|
editing,
|
|
213
227
|
onFieldChange: (name, value) => updateDraft({ [name]: value }),
|
|
214
|
-
items:
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
value: from ?? ""
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
name: "to",
|
|
222
|
-
term: "To",
|
|
223
|
-
value: to ?? ""
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
name: "subject",
|
|
227
|
-
term: "Subject",
|
|
228
|
-
value: subject
|
|
229
|
-
}
|
|
228
|
+
items: editing ? [
|
|
229
|
+
fieldItem("from", "From", from ?? ""),
|
|
230
|
+
fieldItem("to", "To", to ?? ""),
|
|
231
|
+
fieldItem("subject", "Subject", subject)
|
|
230
232
|
] : [
|
|
231
|
-
from ?
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
} : null,
|
|
236
|
-
to ? {
|
|
237
|
-
name: "to",
|
|
238
|
-
term: "To",
|
|
239
|
-
value: to
|
|
240
|
-
} : null,
|
|
241
|
-
{
|
|
242
|
-
name: "subject",
|
|
243
|
-
term: "Subject",
|
|
244
|
-
value: subject
|
|
245
|
-
}
|
|
246
|
-
]).filter((item) => item != null),
|
|
233
|
+
...from ? [fieldItem("from", "From", from)] : [],
|
|
234
|
+
...to ? [fieldItem("to", "To", to, toCorrespondent ? /* @__PURE__ */ jsx(CorrespondentName, { correspondent: toCorrespondent }) : void 0)] : [],
|
|
235
|
+
fieldItem("subject", "Subject", subject)
|
|
236
|
+
],
|
|
247
237
|
children: editing ? /* @__PURE__ */ jsxs(Field.Root, { children: [/* @__PURE__ */ jsx(Field.Label, { children: "Message" }), /* @__PURE__ */ jsx(Field.Control, {
|
|
248
238
|
render: /* @__PURE__ */ jsx(Textarea, {
|
|
249
239
|
name: "body",
|
|
@@ -261,14 +251,16 @@ function EmailMessageCard({ body, from, icon, onChange, onDiscard, onReject, onS
|
|
|
261
251
|
});
|
|
262
252
|
}
|
|
263
253
|
/** Slack draft or posted message with workspace, destination, and thread fields. */
|
|
264
|
-
function SlackMessageCard({ icon, message, onChange, onDiscard, onReject, onSend, state = "pending", thread, to, workspace, ref, ...props }) {
|
|
254
|
+
function SlackMessageCard({ correspondent, icon, message, onChange, onDiscard, onReject, onSend, state = "pending", thread, to, workspace, ref, ...props }) {
|
|
265
255
|
const editing = state === "pending" && onChange != null;
|
|
266
|
-
const
|
|
256
|
+
const draft = {
|
|
267
257
|
workspace,
|
|
268
258
|
to,
|
|
269
259
|
thread,
|
|
270
260
|
message
|
|
271
|
-
}
|
|
261
|
+
};
|
|
262
|
+
const toCorrespondent = !editing ? correspondent ?? slackDestinationCorrespondent(to) : void 0;
|
|
263
|
+
const updateDraft = createDraftUpdater(draft, onChange);
|
|
272
264
|
return /* @__PURE__ */ jsx(ConnectedAppCardFrame, {
|
|
273
265
|
...props,
|
|
274
266
|
ref,
|
|
@@ -288,39 +280,15 @@ function SlackMessageCard({ icon, message, onChange, onDiscard, onReject, onSend
|
|
|
288
280
|
children: /* @__PURE__ */ jsx(FieldList, {
|
|
289
281
|
editing,
|
|
290
282
|
onFieldChange: (name, value) => updateDraft({ [name]: value }),
|
|
291
|
-
items:
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
value: workspace ?? ""
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
name: "to",
|
|
299
|
-
term: "To",
|
|
300
|
-
value: to
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
name: "thread",
|
|
304
|
-
term: "Thread",
|
|
305
|
-
value: thread ?? ""
|
|
306
|
-
}
|
|
283
|
+
items: editing ? [
|
|
284
|
+
fieldItem("workspace", "Workspace", workspace ?? ""),
|
|
285
|
+
fieldItem("to", "To", to),
|
|
286
|
+
fieldItem("thread", "Thread", thread ?? "")
|
|
307
287
|
] : [
|
|
308
|
-
workspace ?
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
} : null,
|
|
313
|
-
{
|
|
314
|
-
name: "to",
|
|
315
|
-
term: "To",
|
|
316
|
-
value: to
|
|
317
|
-
},
|
|
318
|
-
thread ? {
|
|
319
|
-
name: "thread",
|
|
320
|
-
term: "Thread",
|
|
321
|
-
value: thread
|
|
322
|
-
} : null
|
|
323
|
-
]).filter((item) => item != null),
|
|
288
|
+
...workspace ? [fieldItem("workspace", "Workspace", workspace)] : [],
|
|
289
|
+
fieldItem("to", "To", to, toCorrespondent ? /* @__PURE__ */ jsx(CorrespondentName, { correspondent: toCorrespondent }) : void 0),
|
|
290
|
+
...thread ? [fieldItem("thread", "Thread", thread)] : []
|
|
291
|
+
],
|
|
324
292
|
children: editing ? /* @__PURE__ */ jsxs(Field.Root, { children: [/* @__PURE__ */ jsx(Field.Label, { children: "Message" }), /* @__PURE__ */ jsx(Field.Control, {
|
|
325
293
|
render: /* @__PURE__ */ jsx(Textarea, {
|
|
326
294
|
name: "message",
|
|
@@ -343,7 +311,7 @@ function SlackMessageCard({ icon, message, onChange, onDiscard, onReject, onSend
|
|
|
343
311
|
*/
|
|
344
312
|
function CalendarEventCard({ attendees, eventTitle, icon, location, onChange, onDiscard, onReject, onSend, state = "pending", when, whenDateTime, ref, ...props }) {
|
|
345
313
|
const editing = state === "pending" && onChange != null;
|
|
346
|
-
const updateDraft =
|
|
314
|
+
const updateDraft = createDraftUpdater({
|
|
347
315
|
eventTitle,
|
|
348
316
|
when,
|
|
349
317
|
whenDateTime,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { n as ArrowDownIcon, v as DownloadIcon } from "../../icons-
|
|
2
|
+
import { n as ArrowDownIcon, v as DownloadIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
4
|
import { t as assignRef } from "../../merge-refs-DF_7w2x_.js";
|
|
5
5
|
import { MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport } from "./MessageScroller.js";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as CorrespondentNameProps, c as emailDestinationCorrespondent, i as CorrespondentName, l as linkedinTabCorrespondent, n as CorrespondentHandle, o as correspondentHandleLabel, r as CorrespondentLatest, s as correspondentInitials, t as Correspondent, u as slackDestinationCorrespondent } from "../../Correspondent-7K6uNLUm.js";
|
|
2
|
+
export { Correspondent, CorrespondentHandle, CorrespondentLatest, CorrespondentName, CorrespondentNameProps, correspondentHandleLabel, correspondentInitials, emailDestinationCorrespondent, linkedinTabCorrespondent, slackDestinationCorrespondent };
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
+
import { PreviewCard } from "../foundations/PreviewCard.js";
|
|
3
|
+
import { Avatar } from "../foundations/Avatar.js";
|
|
4
|
+
import { Popover } from "../foundations/Popover.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
//#region src/components/ai-sdk/Correspondent.tsx
|
|
8
|
+
const SLACK_USER_ID = /^U[A-Z0-9]+$/iu;
|
|
9
|
+
const EMAIL_ADDRESS = /^[^\s@]+@[^\s@]+\.[^\s@]+$/u;
|
|
10
|
+
function slackDestinationCorrespondent(to) {
|
|
11
|
+
const userId = to.trim();
|
|
12
|
+
if (!SLACK_USER_ID.test(userId)) return void 0;
|
|
13
|
+
return { handle: {
|
|
14
|
+
kind: "slack",
|
|
15
|
+
userId
|
|
16
|
+
} };
|
|
17
|
+
}
|
|
18
|
+
function emailDestinationCorrespondent(to) {
|
|
19
|
+
const address = to.trim();
|
|
20
|
+
if (!address || address.includes(",")) return void 0;
|
|
21
|
+
if (!EMAIL_ADDRESS.test(address)) return void 0;
|
|
22
|
+
return { handle: {
|
|
23
|
+
kind: "email",
|
|
24
|
+
address
|
|
25
|
+
} };
|
|
26
|
+
}
|
|
27
|
+
function linkedinTabCorrespondent(url) {
|
|
28
|
+
const href = safeHttpUrl(url);
|
|
29
|
+
if (!href) return void 0;
|
|
30
|
+
let parsed;
|
|
31
|
+
try {
|
|
32
|
+
parsed = new URL(href);
|
|
33
|
+
} catch {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
if (!/(^|\.)linkedin\.com$/iu.test(parsed.hostname)) return void 0;
|
|
37
|
+
if (!parsed.pathname.includes("/in/")) return void 0;
|
|
38
|
+
return { handle: {
|
|
39
|
+
kind: "linkedin",
|
|
40
|
+
url: href
|
|
41
|
+
} };
|
|
42
|
+
}
|
|
43
|
+
function correspondentHandleLabel(handle) {
|
|
44
|
+
if (handle.kind === "email") return handle.address;
|
|
45
|
+
if (handle.kind === "slack") return handle.userName ? `@${handle.userName}` : handle.userId;
|
|
46
|
+
if (handle.kind === "linkedin") return handle.url;
|
|
47
|
+
return handle.resourceName;
|
|
48
|
+
}
|
|
49
|
+
function correspondentInitials(label) {
|
|
50
|
+
const parts = (label.split("@", 1)[0] ?? label).split(/[\s._-]+/u).filter(Boolean);
|
|
51
|
+
if (parts.length >= 2) {
|
|
52
|
+
const first = parts[0]?.[0];
|
|
53
|
+
const second = parts[1]?.[0];
|
|
54
|
+
if (first && second) return `${first}${second}`.toUpperCase();
|
|
55
|
+
}
|
|
56
|
+
return (parts[0] ?? label).slice(0, 2).toUpperCase() || "?";
|
|
57
|
+
}
|
|
58
|
+
function safeHttpUrl(url) {
|
|
59
|
+
try {
|
|
60
|
+
const parsed = new URL(url);
|
|
61
|
+
if (parsed.protocol !== "https:" && parsed.protocol !== "http:") return void 0;
|
|
62
|
+
return parsed.href;
|
|
63
|
+
} catch {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
function correspondentHref(handle) {
|
|
68
|
+
return handle.kind === "linkedin" ? safeHttpUrl(handle.url) : void 0;
|
|
69
|
+
}
|
|
70
|
+
function latestLabel(latest) {
|
|
71
|
+
if (latest.kind === "linkedin-tab") return latest.title ?? latest.url;
|
|
72
|
+
return latest.label;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Avatar + name for a person-shaped destination. LinkedIn handles open the
|
|
76
|
+
* profile; other handles disclose handle and latest thread without inventing
|
|
77
|
+
* a directory.
|
|
78
|
+
*/
|
|
79
|
+
function CorrespondentName({ correspondent, className }) {
|
|
80
|
+
const handleLabel = correspondentHandleLabel(correspondent.handle);
|
|
81
|
+
const label = correspondent.displayName?.trim() || handleLabel;
|
|
82
|
+
const href = correspondentHref(correspondent.handle);
|
|
83
|
+
const initials = correspondentInitials(label);
|
|
84
|
+
const trigger = /* @__PURE__ */ jsxs("span", {
|
|
85
|
+
className: cx("correspondent", className),
|
|
86
|
+
"data-slot": "correspondent",
|
|
87
|
+
children: [/* @__PURE__ */ jsxs(Avatar.Root, {
|
|
88
|
+
size: "sm",
|
|
89
|
+
children: [correspondent.avatarUrl ? /* @__PURE__ */ jsx(Avatar.Image, {
|
|
90
|
+
src: correspondent.avatarUrl,
|
|
91
|
+
alt: ""
|
|
92
|
+
}) : null, /* @__PURE__ */ jsx(Avatar.Fallback, { children: initials })]
|
|
93
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
94
|
+
className: "correspondent__name sigvelo-truncate",
|
|
95
|
+
children: label
|
|
96
|
+
})]
|
|
97
|
+
});
|
|
98
|
+
const details = /* @__PURE__ */ jsxs("div", {
|
|
99
|
+
className: "correspondent__details",
|
|
100
|
+
children: [
|
|
101
|
+
/* @__PURE__ */ jsx("strong", {
|
|
102
|
+
className: "correspondent__title sigvelo-truncate",
|
|
103
|
+
children: label
|
|
104
|
+
}),
|
|
105
|
+
/* @__PURE__ */ jsx("span", {
|
|
106
|
+
className: "correspondent__handle",
|
|
107
|
+
children: handleLabel
|
|
108
|
+
}),
|
|
109
|
+
correspondent.latest ? /* @__PURE__ */ jsx("span", {
|
|
110
|
+
className: "correspondent__latest",
|
|
111
|
+
children: latestLabel(correspondent.latest)
|
|
112
|
+
}) : null
|
|
113
|
+
]
|
|
114
|
+
});
|
|
115
|
+
if (href) return /* @__PURE__ */ jsxs(PreviewCard.Root, { children: [/* @__PURE__ */ jsx(PreviewCard.Trigger, {
|
|
116
|
+
delay: 0,
|
|
117
|
+
closeDelay: 0,
|
|
118
|
+
href,
|
|
119
|
+
target: "_blank",
|
|
120
|
+
rel: "noreferrer",
|
|
121
|
+
className: "correspondent__trigger",
|
|
122
|
+
"aria-label": `${label} (${handleLabel}, opens in a new tab)`,
|
|
123
|
+
children: trigger
|
|
124
|
+
}), /* @__PURE__ */ jsx(PreviewCard.Portal, { children: /* @__PURE__ */ jsx(PreviewCard.Positioner, {
|
|
125
|
+
sideOffset: 8,
|
|
126
|
+
children: /* @__PURE__ */ jsx(PreviewCard.Popup, {
|
|
127
|
+
className: "correspondent__popup",
|
|
128
|
+
children: details
|
|
129
|
+
})
|
|
130
|
+
}) })] });
|
|
131
|
+
return /* @__PURE__ */ jsxs(Popover.Root, { children: [/* @__PURE__ */ jsx(Popover.Trigger, {
|
|
132
|
+
unstyled: true,
|
|
133
|
+
className: "correspondent__trigger",
|
|
134
|
+
"aria-label": `${label} (${handleLabel})`,
|
|
135
|
+
children: trigger
|
|
136
|
+
}), /* @__PURE__ */ jsx(Popover.Portal, { children: /* @__PURE__ */ jsx(Popover.Positioner, {
|
|
137
|
+
sideOffset: 8,
|
|
138
|
+
children: /* @__PURE__ */ jsx(Popover.Popup, {
|
|
139
|
+
className: "correspondent__popup",
|
|
140
|
+
children: details
|
|
141
|
+
})
|
|
142
|
+
}) })] });
|
|
143
|
+
}
|
|
144
|
+
//#endregion
|
|
145
|
+
export { CorrespondentName, correspondentHandleLabel, correspondentInitials, emailDestinationCorrespondent, linkedinTabCorrespondent, slackDestinationCorrespondent };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { L as PauseIcon, Q as TrashIcon, X as TargetIcon, z as PlayIcon } from "../../icons-
|
|
2
|
+
import { L as PauseIcon, Q as TrashIcon, X as TargetIcon, z as PlayIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
4
|
import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
|
|
5
5
|
import * as React from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { Popover } from "../foundations/Popover.js";
|
|
3
2
|
import { PreviewCard } from "../foundations/PreviewCard.js";
|
|
3
|
+
import { Popover } from "../foundations/Popover.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/ai-sdk/InlineCitation.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { z as PlayIcon } from "../../icons-
|
|
2
|
+
import { z as PlayIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
4
4
|
import { Card } from "../foundations/Card.js";
|
|
5
5
|
import * as React from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { parseComposerHref } from "../../utils/composer-link.js";
|
|
2
2
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
3
|
-
import { S as FileIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-
|
|
3
|
+
import { S as FileIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
|
|
4
4
|
import { Button } from "../foundations/Button.js";
|
|
5
5
|
import { IconButton } from "../foundations/IconButton.js";
|
|
6
6
|
import { t as AttachmentPreview } from "../../attachment-preview-1CXJvrmb.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { n as ArrowDownIcon } from "../../icons-
|
|
2
|
+
import { n as ArrowDownIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { t as messageScrollerContract } from "../../message-scroller-C8cplcQO.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { n as ArrowDownIcon } from "../../icons-
|
|
2
|
+
import { n as ArrowDownIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { t as messageScrollerContract } from "../../message-scroller-C8cplcQO.js";
|
|
5
5
|
import * as React from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { _ as DotIcon, d as CheckIcon, i as ArrowRightIcon } from "../../icons-
|
|
2
|
+
import { _ as DotIcon, d as CheckIcon, i as ArrowRightIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Popover } from "../foundations/Popover.js";
|
|
4
4
|
import { t as ProgressRing } from "../../progress-ring-Cgii90dC.js";
|
|
5
5
|
import * as React from "react";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { composerTriggerMatch, parseComposerLinks, replaceComposerTrigger } from "../../utils/composer-link.js";
|
|
2
2
|
import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
|
|
3
|
-
import { B as PlusIcon, C as FolderIcon, I as PaperclipIcon, J as StopIcon, K as SpinnerIcon, M as MicrophoneIcon, P as MonitorIcon, S as FileIcon, a as ArrowUpIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon, nt as XIcon, q as SquareIcon, tt as WrenchIcon } from "../../icons-
|
|
3
|
+
import { B as PlusIcon, C as FolderIcon, I as PaperclipIcon, J as StopIcon, K as SpinnerIcon, M as MicrophoneIcon, P as MonitorIcon, S as FileIcon, a as ArrowUpIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon, nt as XIcon, q as SquareIcon, tt as WrenchIcon } from "../../icons-CeGfXO21.js";
|
|
4
4
|
import { Button } from "../foundations/Button.js";
|
|
5
5
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
6
6
|
import { IconButton } from "../foundations/IconButton.js";
|
|
7
|
-
import { t as AttachmentPreview } from "../../attachment-preview-1CXJvrmb.js";
|
|
8
|
-
import { a as formatErrorMessage, i as formatClock, n as clamp } from "../../format-COCyV98Z.js";
|
|
9
|
-
import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
10
|
-
import { ComposerLink } from "./ComposerLink.js";
|
|
11
7
|
import { Autocomplete } from "../foundations/Autocomplete.js";
|
|
12
8
|
import { Kbd } from "../foundations/Kbd.js";
|
|
13
9
|
import { Menu } from "../foundations/Menu.js";
|
|
14
10
|
import { PreviewCard } from "../foundations/PreviewCard.js";
|
|
15
11
|
import { Tabs } from "../foundations/Tabs.js";
|
|
12
|
+
import { t as AttachmentPreview } from "../../attachment-preview-1CXJvrmb.js";
|
|
13
|
+
import { a as formatErrorMessage, i as formatClock, n as clamp } from "../../format-COCyV98Z.js";
|
|
14
|
+
import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
15
|
+
import { ComposerLink } from "./ComposerLink.js";
|
|
16
16
|
import { PromptInputComposerEditor, readComposerDom, writeComposerDom } from "./PromptInputComposerEditor.js";
|
|
17
17
|
import * as React from "react";
|
|
18
18
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { S as FileIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-cuEtsgj9.js";
|
|
3
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
|
+
import { S as FileIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-CeGfXO21.js";
|
|
4
4
|
import { Button } from "../foundations/Button.js";
|
|
5
5
|
import { ScrollArea } from "../foundations/ScrollArea.js";
|
|
6
6
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
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 { Activity, ActivityContent, ActivityText, ActivityTrigger } from "./Activity.js";
|
|
4
4
|
import { MessageResponse } from "./Message.js";
|
|
5
5
|
import * as React from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { D as LinkIcon, p as ChevronRightIcon } from "../../icons-cuEtsgj9.js";
|
|
3
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
|
+
import { D as LinkIcon, p as ChevronRightIcon } from "../../icons-CeGfXO21.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/ai-sdk/Sources.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { S as FileIcon, U as SearchIcon, p as ChevronRightIcon } from "../../icons-cuEtsgj9.js";
|
|
3
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
|
+
import { S as FileIcon, U as SearchIcon, p as ChevronRightIcon } from "../../icons-CeGfXO21.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/ai-sdk/Task.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
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";
|
|
@@ -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
3
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
4
|
-
import { c as titleCase } from "../../format-COCyV98Z.js";
|
|
5
4
|
import { Menu } from "../foundations/Menu.js";
|
|
5
|
+
import { c as titleCase } from "../../format-COCyV98Z.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/extension/CodexModelSelector.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
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 { Menu } from "../foundations/Menu.js";
|
|
3
4
|
import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
|
|
4
5
|
import { Avatar } from "../foundations/Avatar.js";
|
|
5
|
-
import { Menu } from "../foundations/Menu.js";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/extension/ConversationTabPicker.tsx
|
|
@@ -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,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,7 +1,7 @@
|
|
|
1
1
|
import { r as ToggleVariantsOptions } from "../../Toggle-DLrIf5YH.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
4
3
|
import { Toggle } from "@base-ui/react/toggle";
|
|
4
|
+
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
5
5
|
|
|
6
6
|
//#region src/components/foundations/ToggleGroup.d.ts
|
|
7
7
|
type ToggleGroupSize = ToggleVariantsOptions["size"];
|
|
@@ -3,8 +3,8 @@ import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
|
3
3
|
import { toggleVariants } from "./Toggle.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
7
6
|
import { Toggle } from "@base-ui/react/toggle";
|
|
7
|
+
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
8
8
|
//#region src/components/foundations/ToggleGroup.tsx
|
|
9
9
|
/**
|
|
10
10
|
* Tracks the pressed item's box so the segmented thumb can slide to it instead
|
|
@@ -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,8 +1,8 @@
|
|
|
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";
|
|
3
|
+
import { S as FileIcon, p as ChevronRightIcon } from "../../icons-CeGfXO21.js";
|
|
4
4
|
import { Avatar } from "../foundations/Avatar.js";
|
|
5
|
-
import { t as CopyButton } from "../../copy-button-
|
|
5
|
+
import { t as CopyButton } from "../../copy-button-Dk2vRe9j.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/general-purpose/Commit.tsx
|
|
@@ -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-DvE0hNZu.js";
|
|
2
2
|
export { FileTree, FileTreeActions, FileTreeFile, FileTreeFolder, FileTreeIcon, FileTreeName };
|