@mcp-b/react-components 0.49.1 → 0.50.1

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.
Files changed (179) hide show
  1. package/dist/{AgentChatQueue-v5890eA1.d.ts → AgentChatQueue-MrHhV901.d.ts} +1 -1
  2. package/dist/AgentMessageParts-C7L-Mv9U.d.ts +46 -0
  3. package/dist/AppTopBar-CVkLRdk7.d.ts +99 -0
  4. package/dist/{CodeBlock-g8sADidM.js → CodeBlock-BMK6CW9D.js} +1 -1
  5. package/dist/Dialog-88GF7_Th.d.ts +107 -0
  6. package/dist/{FileTree-DruTQ-oa.js → FileTree-okaLnS5j.js} +1 -1
  7. package/dist/Form-CM7GNTwR.d.ts +91 -0
  8. package/dist/ManagerOffice-CqOggftJ.js +1146 -0
  9. package/dist/McpConnectorForm--HB0MEGC.d.ts +39 -0
  10. package/dist/Popover-CgHG5DtS.d.ts +220 -0
  11. package/dist/{PromptInput-4kCz3T9P.d.ts → PromptInput-DGPrCTPl.d.ts} +2 -1
  12. package/dist/ResponsiveSidebarShell-CAmmtQTR.d.ts +128 -0
  13. package/dist/SessionCompaction-CmTJFpzj.d.ts +89 -0
  14. package/dist/SetupChecklist-O6qmgwz4.js +77 -0
  15. package/dist/ThinkChatActivity-DENkintt.d.ts +77 -0
  16. package/dist/ThinkChatContext-COIgzkYp.d.ts +28 -0
  17. package/dist/ThinkRoutine-Cb1DdaHa.d.ts +30 -0
  18. package/dist/ThinkThreadPicker-yetGX_s5.d.ts +91 -0
  19. package/dist/{WorkspaceFileView-DYPtRVpM.js → WorkspaceFileView-ncZuIWhC.js} +2 -2
  20. package/dist/WorkspaceMessageResponse-8lOSAbw_.d.ts +48 -0
  21. package/dist/codex-model-catalog-BBN_gWcc.d.ts +155 -0
  22. package/dist/components/agents-sdk/AgentActivity.js +1 -1
  23. package/dist/components/agents-sdk/AgentChat.d.ts +3 -3
  24. package/dist/components/agents-sdk/AgentChat.js +9 -10
  25. package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
  26. package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
  27. package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
  28. package/dist/components/agents-sdk/BrowserReplay.js +1 -1
  29. package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
  30. package/dist/components/agents-sdk/DiscordConnectionDialog.d.ts +20 -0
  31. package/dist/components/agents-sdk/DiscordConnectionDialog.js +65 -0
  32. package/dist/components/agents-sdk/EmployeeApp.d.ts +49 -0
  33. package/dist/components/agents-sdk/EmployeeApp.js +57 -0
  34. package/dist/components/agents-sdk/EmployeeChat.d.ts +63 -0
  35. package/dist/components/agents-sdk/EmployeeChat.js +84 -0
  36. package/dist/components/agents-sdk/EmployeeChrome.d.ts +10 -2
  37. package/dist/components/agents-sdk/EmployeeChrome.js +26 -16
  38. package/dist/components/agents-sdk/EmployeeSchedules.d.ts +24 -0
  39. package/dist/components/agents-sdk/EmployeeSchedules.js +105 -0
  40. package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +43 -0
  41. package/dist/components/agents-sdk/EmployeeStartScreen.js +133 -0
  42. package/dist/components/agents-sdk/ManagerAccountActions.d.ts +29 -0
  43. package/dist/components/agents-sdk/ManagerAccountActions.js +62 -0
  44. package/dist/components/agents-sdk/ManagerOffice.d.ts +1 -1
  45. package/dist/components/agents-sdk/ManagerOffice.js +1 -1145
  46. package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +49 -0
  47. package/dist/components/agents-sdk/ManagerOfficeScreens.js +198 -0
  48. package/dist/components/agents-sdk/McpConnectionRequest.d.ts +1 -1
  49. package/dist/components/agents-sdk/McpConnectionRequest.js +3 -3
  50. package/dist/components/agents-sdk/McpConnectorForm.d.ts +1 -38
  51. package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
  52. package/dist/components/agents-sdk/McpPluginCatalog.d.ts +3 -3
  53. package/dist/components/agents-sdk/McpPluginCatalog.js +3 -3
  54. package/dist/components/agents-sdk/McpServerIcon.d.ts +1 -1
  55. package/dist/components/agents-sdk/McpServerPicker.d.ts +3 -3
  56. package/dist/components/agents-sdk/McpServerPicker.js +2 -2
  57. package/dist/components/agents-sdk/ModelEndpointDialog.d.ts +31 -0
  58. package/dist/components/agents-sdk/ModelEndpointDialog.js +118 -0
  59. package/dist/components/agents-sdk/ModelSelector.d.ts +1 -1
  60. package/dist/components/agents-sdk/ModelSelector.js +4 -4
  61. package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
  62. package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
  63. package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
  64. package/dist/components/agents-sdk/SessionCompaction.d.ts +1 -88
  65. package/dist/components/agents-sdk/SlackConnectionDialog.d.ts +18 -0
  66. package/dist/components/agents-sdk/SlackConnectionDialog.js +48 -0
  67. package/dist/components/agents-sdk/SubagentRunIndicator.js +1 -1
  68. package/dist/components/agents-sdk/SubagentRunPanel.js +2 -2
  69. package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
  70. package/dist/components/agents-sdk/ThinkChat.d.ts +6 -6
  71. package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -76
  72. package/dist/components/agents-sdk/ThinkChatActivity.js +2 -2
  73. package/dist/components/agents-sdk/ThinkChatContext.d.ts +1 -27
  74. package/dist/components/agents-sdk/ThinkChatToolPanels.js +2 -2
  75. package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
  76. package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
  77. package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +1 -1
  78. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +3 -3
  79. package/dist/components/agents-sdk/ThinkRecoveryNotice.d.ts +1 -1
  80. package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
  81. package/dist/components/agents-sdk/ThinkRoutine.d.ts +1 -29
  82. package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +2 -2
  83. package/dist/components/agents-sdk/ThinkRoutineActions.js +2 -2
  84. package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +1 -1
  85. package/dist/components/agents-sdk/ThinkRoutineBrowser.js +3 -3
  86. package/dist/components/agents-sdk/ThinkRoutineDetail.d.ts +1 -1
  87. package/dist/components/agents-sdk/ThinkRoutineForm.js +3 -3
  88. package/dist/components/agents-sdk/ThinkRoutineRuns.js +1 -1
  89. package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -90
  90. package/dist/components/agents-sdk/ThinkThreadPicker.js +2 -2
  91. package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
  92. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +6 -6
  93. package/dist/components/agents-sdk/WorkspaceExecution.js +7 -7
  94. package/dist/components/agents-sdk/WorkspaceExplorer.js +1 -1
  95. package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
  96. package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
  97. package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +1 -47
  98. package/dist/components/agents-sdk/WorkspaceMountManager.js +2 -2
  99. package/dist/components/agents-sdk/WorkspaceProject.js +4 -4
  100. package/dist/components/agents-sdk/WorkspaceUserScript.js +4 -4
  101. package/dist/components/ai-sdk/Activity.js +1 -1
  102. package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +1 -1
  103. package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
  104. package/dist/components/ai-sdk/AgentMessageParts.d.ts +1 -45
  105. package/dist/components/ai-sdk/Approval.js +2 -2
  106. package/dist/components/ai-sdk/Artifact.js +1 -1
  107. package/dist/components/ai-sdk/ChainOfThought.js +1 -1
  108. package/dist/components/ai-sdk/Checkpoint.js +1 -1
  109. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  110. package/dist/components/ai-sdk/ComposerLink.js +1 -1
  111. package/dist/components/ai-sdk/ConnectedAppCards.js +3 -3
  112. package/dist/components/ai-sdk/Context.d.ts +1 -1
  113. package/dist/components/ai-sdk/Context.js +1 -1
  114. package/dist/components/ai-sdk/Conversation.js +1 -1
  115. package/dist/components/ai-sdk/Goal.js +1 -1
  116. package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
  117. package/dist/components/ai-sdk/Message.js +2 -2
  118. package/dist/components/ai-sdk/MessageScroller.js +1 -1
  119. package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
  120. package/dist/components/ai-sdk/Plan.d.ts +1 -1
  121. package/dist/components/ai-sdk/Plan.js +1 -1
  122. package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
  123. package/dist/components/ai-sdk/PromptInput.js +7 -7
  124. package/dist/components/ai-sdk/Queue.js +1 -1
  125. package/dist/components/ai-sdk/Reasoning.js +1 -1
  126. package/dist/components/ai-sdk/Sources.js +1 -1
  127. package/dist/components/ai-sdk/Task.js +1 -1
  128. package/dist/components/extension/ChatGptSignInScreen.js +1 -1
  129. package/dist/components/extension/CodexModelSelector.d.ts +1 -1
  130. package/dist/components/extension/CodexModelSelector.js +2 -2
  131. package/dist/components/extension/ConversationTabPicker.js +2 -2
  132. package/dist/components/foundations/Checkbox.js +1 -1
  133. package/dist/components/foundations/Collapsible.js +1 -1
  134. package/dist/components/foundations/ContextMenu.js +1 -1
  135. package/dist/components/foundations/Dialog.d.ts +1 -106
  136. package/dist/components/foundations/Form.d.ts +1 -90
  137. package/dist/components/foundations/Menubar.js +1 -1
  138. package/dist/components/foundations/Popover.d.ts +1 -219
  139. package/dist/components/foundations/SearchField.js +1 -1
  140. package/dist/components/foundations/Select.js +1 -1
  141. package/dist/components/foundations/Stepper.js +1 -1
  142. package/dist/components/foundations/Toast.js +1 -1
  143. package/dist/components/foundations/icons.js +1 -1
  144. package/dist/components/general-purpose/AccountSignInDialog.d.ts +26 -0
  145. package/dist/components/general-purpose/AccountSignInDialog.js +25 -0
  146. package/dist/components/general-purpose/AppTopBar.d.ts +1 -98
  147. package/dist/components/general-purpose/Commit.js +2 -2
  148. package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
  149. package/dist/components/general-purpose/FileTree.js +1 -1
  150. package/dist/components/general-purpose/NotificationPrompt.d.ts +13 -0
  151. package/dist/components/general-purpose/NotificationPrompt.js +18 -0
  152. package/dist/components/general-purpose/PricingPlanCard.js +2 -2
  153. package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
  154. package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -127
  155. package/dist/components/general-purpose/ResponsiveSidebarShell.js +124 -72
  156. package/dist/components/general-purpose/SettingsFormDialog.d.ts +2 -2
  157. package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
  158. package/dist/components/general-purpose/SetupChecklist.js +1 -76
  159. package/dist/components/general-purpose/StatusScreen.d.ts +10 -0
  160. package/dist/components/general-purpose/StatusScreen.js +13 -0
  161. package/dist/components/general-purpose/Terminal.js +2 -2
  162. package/dist/components/general-purpose/TestResults.js +1 -1
  163. package/dist/components/general-purpose/ThemeModeControl.js +1 -1
  164. package/dist/components/general-purpose/WebPreview.js +2 -2
  165. package/dist/components/nanites/AgentConnection.js +2 -2
  166. package/dist/components/nanites/AgentToolDetail.d.ts +1 -1
  167. package/dist/components/nanites/AgentToolDetail.js +2 -2
  168. package/dist/{copy-button-CSDuDfdP.js → copy-button-Dk2vRe9j.js} +1 -1
  169. package/dist/mcp-server-catalog-D9p4gGeJ.d.ts +1112 -0
  170. package/dist/styles/agent-chat.css +12 -4
  171. package/dist/styles/employee-app.css +29 -0
  172. package/dist/styles/index.css +2 -0
  173. package/dist/styles/manager-work.css +93 -0
  174. package/dist/styles/message.css +4 -0
  175. package/dist/utils/codex-model-catalog.d.ts +1 -154
  176. package/dist/utils/mcp-server-catalog.d.ts +1 -1111
  177. package/dist/{workspace-assets-Bg7XhPsk.js → workspace-assets-C3QT6UlQ.js} +1 -1
  178. package/package.json +2 -2
  179. package/dist/{icons-cuEtsgj9.js → icons-CeGfXO21.js} +1 -1
@@ -1,107 +1,2 @@
1
- import * as React from "react";
2
- import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
3
-
4
- //#region src/components/foundations/Dialog.d.ts
5
- type DialogProps<Payload = unknown> = Dialog$1.Root.Props<Payload>;
6
- type DialogTriggerProps<Payload = unknown> = Dialog$1.Trigger.Props<Payload> & React.RefAttributes<HTMLElement>;
7
- interface DialogPortalProps extends React.ComponentPropsWithRef<typeof Dialog$1.Portal> {}
8
- interface DialogBackdropProps extends React.ComponentPropsWithRef<typeof Dialog$1.Backdrop> {}
9
- interface DialogViewportProps extends React.ComponentPropsWithRef<typeof Dialog$1.Viewport> {}
10
- interface DialogPopupProps extends React.ComponentPropsWithRef<typeof Dialog$1.Popup> {
11
- /**
12
- * The size of the dialog.
13
- * @default 'md'
14
- */
15
- size?: "sm" | "md" | "lg" | "fullscreen";
16
- }
17
- interface DialogTitleProps extends React.ComponentPropsWithRef<typeof Dialog$1.Title> {}
18
- interface DialogDescriptionProps extends React.ComponentPropsWithRef<typeof Dialog$1.Description> {}
19
- interface DialogCloseProps extends React.ComponentPropsWithRef<typeof Dialog$1.Close> {}
20
- interface DialogHeaderProps extends React.ComponentPropsWithRef<"div"> {}
21
- interface DialogFooterProps extends React.ComponentPropsWithRef<"div"> {}
22
- /**
23
- * A dialog component for modal interactions.
24
- *
25
- * @example
26
- * ```tsx
27
- * <Dialog.Root open={isOpen} onOpenChange={setIsOpen}>
28
- * <Dialog.Trigger render={<Button />}>Open</Dialog.Trigger>
29
- * <Dialog.Portal>
30
- * <Dialog.Backdrop />
31
- * <Dialog.Viewport>
32
- * <Dialog.Popup>
33
- * <Dialog.Title>Confirm</Dialog.Title>
34
- * <Dialog.Description>Are you sure?</Dialog.Description>
35
- * <Dialog.Close>Cancel</Dialog.Close>
36
- * </Dialog.Popup>
37
- * </Dialog.Viewport>
38
- * </Dialog.Portal>
39
- * </Dialog.Root>
40
- * ```
41
- *
42
- * @see {@link https://base-ui.com/react/components/dialog | Base UI Dialog}
43
- */
44
- declare function DialogTrigger<Payload>({
45
- render,
46
- className,
47
- ref,
48
- ...props
49
- }: DialogTriggerProps<Payload>): React.JSX.Element;
50
- declare function DialogBackdrop({
51
- className,
52
- ref,
53
- ...props
54
- }: DialogBackdropProps): React.JSX.Element;
55
- declare function DialogViewport({
56
- className,
57
- ref,
58
- ...props
59
- }: DialogViewportProps): React.JSX.Element;
60
- declare function DialogPopup({
61
- size,
62
- className,
63
- ref,
64
- ...props
65
- }: DialogPopupProps): React.JSX.Element;
66
- declare function DialogHeader({
67
- className,
68
- ref,
69
- ...props
70
- }: DialogHeaderProps): React.JSX.Element;
71
- declare function DialogFooter({
72
- className,
73
- ref,
74
- ...props
75
- }: DialogFooterProps): React.JSX.Element;
76
- declare function DialogTitle({
77
- className,
78
- ref,
79
- ...props
80
- }: DialogTitleProps): React.JSX.Element;
81
- declare function DialogDescription({
82
- className,
83
- ref,
84
- ...props
85
- }: DialogDescriptionProps): React.JSX.Element;
86
- declare function DialogClose({
87
- render,
88
- className,
89
- ref,
90
- ...props
91
- }: DialogCloseProps): React.JSX.Element;
92
- declare const Dialog: {
93
- Root: <Payload>(props: Dialog$1.Root.Props<Payload>) => React.JSX.Element;
94
- Trigger: typeof DialogTrigger;
95
- Portal: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AlertDialogPortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
96
- Backdrop: typeof DialogBackdrop;
97
- Viewport: typeof DialogViewport;
98
- Popup: typeof DialogPopup;
99
- Header: typeof DialogHeader;
100
- Footer: typeof DialogFooter;
101
- Title: typeof DialogTitle;
102
- Description: typeof DialogDescription;
103
- Close: typeof DialogClose;
104
- createHandle: typeof Dialog$1.createHandle;
105
- };
106
- //#endregion
1
+ import { a as DialogFooterProps, c as DialogPortalProps, d as DialogTriggerProps, f as DialogViewportProps, i as DialogDescriptionProps, l as DialogProps, n as DialogBackdropProps, o as DialogHeaderProps, r as DialogCloseProps, s as DialogPopupProps, t as Dialog, u as DialogTitleProps } from "../../Dialog-88GF7_Th.js";
107
2
  export { Dialog, DialogBackdropProps, DialogCloseProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogPopupProps, DialogPortalProps, DialogProps, DialogTitleProps, DialogTriggerProps, DialogViewportProps };
@@ -1,91 +1,2 @@
1
- import * as React from "react";
2
- import { Form as Form$1 } from "@base-ui/react/form";
3
-
4
- //#region src/components/foundations/Form.d.ts
5
- /**
6
- * Props for the Form component.
7
- */
8
- interface FormProps<Values extends Record<string, unknown> = Record<string, unknown>> extends React.ComponentPropsWithoutRef<typeof Form$1<Values>> {}
9
- /**
10
- * A form component that provides consolidated error handling and validation
11
- * for form controls. Works seamlessly with the Field component.
12
- *
13
- * @example
14
- * ```tsx
15
- * // Basic usage with Field components
16
- * <Form onFormSubmit={(values) => console.log(values)}>
17
- * <Field.Root name="username">
18
- * <Field.Label>Username</Field.Label>
19
- * <Field.Control required />
20
- * <Field.Error match="valueMissing">Username is required</Field.Error>
21
- * </Field.Root>
22
- *
23
- * <Field.Root name="email">
24
- * <Field.Label>Email</Field.Label>
25
- * <Field.Control type="email" required />
26
- * <Field.Error match="valueMissing">Email is required</Field.Error>
27
- * <Field.Error match="typeMismatch">Invalid email format</Field.Error>
28
- * </Field.Root>
29
- *
30
- * <Button type="submit">Submit</Button>
31
- * </Form>
32
- * ```
33
- *
34
- * @example
35
- * ```tsx
36
- * // With external/server errors
37
- * const [errors, setErrors] = useState({});
38
- *
39
- * async function handleSubmit(values) {
40
- * const result = await api.submit(values);
41
- * if (result.errors) {
42
- * setErrors(result.errors); // { email: "Already registered" }
43
- * }
44
- * }
45
- *
46
- * <Form errors={errors} onFormSubmit={handleSubmit}>
47
- * <Field.Root name="email">
48
- * <Field.Control type="email" />
49
- * <Field.Error />
50
- * </Field.Root>
51
- * </Form>
52
- * ```
53
- *
54
- * @example
55
- * ```tsx
56
- * // Native submit handlers remain native, so TanStack Form can own state.
57
- * <Form
58
- * onSubmit={(event) => {
59
- * event.preventDefault();
60
- * void form.handleSubmit();
61
- * }}
62
- * >
63
- * ...
64
- * </Form>
65
- * ```
66
- *
67
- * @example
68
- * ```tsx
69
- * // With validation modes
70
- * // Fields validate when they lose focus
71
- * <Form validationMode="onBlur">
72
- * ...
73
- * </Form>
74
- *
75
- * // Fields validate as user types
76
- * <Form validationMode="onChange">
77
- * ...
78
- * </Form>
79
- * ```
80
- *
81
- * @see {@link https://base-ui.com/react/components/form | Base UI Form}
82
- */
83
- declare function Form<Values extends Record<string, unknown> = Record<string, unknown>>({
84
- className,
85
- ref,
86
- ...props
87
- }: FormProps<Values> & {
88
- /** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLFormElement>;
89
- }): React.JSX.Element;
90
- //#endregion
1
+ import { n as FormProps, t as Form } from "../../Form-CM7GNTwR.js";
91
2
  export { Form, FormProps };
@@ -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-cuEtsgj9.js";
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,220 +1,2 @@
1
- import * as React from "react";
2
- import { Popover as Popover$1 } from "@base-ui/react/popover";
3
-
4
- //#region src/components/foundations/Popover.d.ts
5
- /**
6
- * Props for the Popover.Root component.
7
- */
8
- type PopoverProps<Payload = unknown> = Popover$1.Root.Props<Payload>;
9
- /**
10
- * Props for the Popover.Trigger component.
11
- */
12
- type PopoverTriggerProps<Payload = unknown> = Popover$1.Trigger.Props<Payload> & React.RefAttributes<HTMLElement> & {
13
- /** Keep Base UI trigger behavior without the default popover trigger chrome. */unstyled?: boolean;
14
- };
15
- /**
16
- * Props for the Popover.Portal component.
17
- */
18
- interface PopoverPortalProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Portal> {}
19
- /**
20
- * Props for the Popover.Backdrop component.
21
- */
22
- interface PopoverBackdropProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Backdrop> {}
23
- /**
24
- * Props for the Popover.Positioner component.
25
- */
26
- interface PopoverPositionerProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Positioner> {}
27
- /**
28
- * Props for the Popover.Popup component.
29
- */
30
- interface PopoverPopupProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Popup> {}
31
- /**
32
- * Props for the Popover.Viewport component. Use this only when one popover
33
- * moves between triggers and its content changes during that transition.
34
- */
35
- interface PopoverViewportProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Viewport> {}
36
- /**
37
- * Props for the Popover.Arrow component.
38
- */
39
- interface PopoverArrowProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Arrow> {}
40
- /**
41
- * Props for the Popover.Title component.
42
- */
43
- interface PopoverTitleProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Title> {}
44
- /**
45
- * Props for the Popover.Description component.
46
- */
47
- interface PopoverDescriptionProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Description> {}
48
- /**
49
- * Props for the Popover.Close component.
50
- */
51
- interface PopoverCloseProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Close> {}
52
- interface PopoverHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
53
- /**
54
- * Button that toggles the popover visibility.
55
- * Renders a `<button>` element.
56
- */
57
- declare function PopoverTrigger<Payload>({
58
- className,
59
- unstyled,
60
- ref,
61
- ...props
62
- }: PopoverTriggerProps<Payload>): React.JSX.Element;
63
- /**
64
- * Optional backdrop that appears behind the popover.
65
- */
66
- declare function PopoverBackdrop({
67
- className,
68
- ref,
69
- ...props
70
- }: PopoverBackdropProps & {
71
- ref?: React.Ref<HTMLDivElement>;
72
- }): React.JSX.Element;
73
- /**
74
- * Positions the popup relative to the trigger element.
75
- *
76
- * @example
77
- * ```tsx
78
- * // Position on the right with offset
79
- * <Popover.Positioner side="right" sideOffset={8}>
80
- * <Popover.Popup>...</Popover.Popup>
81
- * </Popover.Positioner>
82
- * ```
83
- */
84
- declare function PopoverPositioner({
85
- className,
86
- ref,
87
- ...props
88
- }: PopoverPositionerProps & {
89
- ref?: React.Ref<HTMLDivElement>;
90
- }): React.JSX.Element;
91
- /**
92
- * The popup container that holds the popover content.
93
- */
94
- declare function PopoverPopup({
95
- className,
96
- ref,
97
- ...props
98
- }: PopoverPopupProps & {
99
- ref?: React.Ref<HTMLDivElement>;
100
- }): React.JSX.Element;
101
- /**
102
- * Transition container for content that changes as a popover moves between
103
- * triggers. Pair the adaptive classes from `base-ui-motion.css` with the
104
- * positioner, popup, and this viewport when that behavior is needed.
105
- */
106
- declare function PopoverViewport({
107
- className,
108
- ref,
109
- ...props
110
- }: PopoverViewportProps & {
111
- ref?: React.Ref<HTMLDivElement>;
112
- }): React.JSX.Element;
113
- declare function PopoverHeader({
114
- className,
115
- ref,
116
- ...props
117
- }: PopoverHeaderProps & {
118
- ref?: React.Ref<HTMLDivElement>;
119
- }): React.JSX.Element;
120
- /**
121
- * Directional arrow pointing to the trigger element.
122
- */
123
- declare function PopoverArrow({
124
- className,
125
- ref,
126
- ...props
127
- }: PopoverArrowProps & {
128
- ref?: React.Ref<HTMLDivElement>;
129
- }): React.JSX.Element;
130
- /**
131
- * Semantic title for the popover content.
132
- * Renders an `<h2>` element.
133
- */
134
- declare function PopoverTitle({
135
- className,
136
- ref,
137
- ...props
138
- }: PopoverTitleProps & {
139
- ref?: React.Ref<HTMLHeadingElement>;
140
- }): React.JSX.Element;
141
- /**
142
- * Description text for the popover content.
143
- * Renders a `<p>` element.
144
- */
145
- declare function PopoverDescription({
146
- className,
147
- ref,
148
- ...props
149
- }: PopoverDescriptionProps & {
150
- ref?: React.Ref<HTMLParagraphElement>;
151
- }): React.JSX.Element;
152
- /**
153
- * Button that closes the popover.
154
- */
155
- declare function PopoverClose({
156
- render,
157
- className,
158
- ref,
159
- ...props
160
- }: PopoverCloseProps & {
161
- ref?: React.Ref<HTMLButtonElement>;
162
- }): React.JSX.Element;
163
- /**
164
- * An accessible popup anchored to a trigger button.
165
- * Supports flexible positioning, animations, and optional backdrop.
166
- *
167
- * @example
168
- * ```tsx
169
- * // Basic popover
170
- * <Popover.Root>
171
- * <Popover.Trigger>Click me</Popover.Trigger>
172
- * <Popover.Portal>
173
- * <Popover.Positioner>
174
- * <Popover.Popup>
175
- * <Popover.Title>Settings</Popover.Title>
176
- * <Popover.Description>
177
- * Configure your preferences here.
178
- * </Popover.Description>
179
- * <Popover.Close>Close</Popover.Close>
180
- * </Popover.Popup>
181
- * </Popover.Positioner>
182
- * </Popover.Portal>
183
- * </Popover.Root>
184
- * ```
185
- *
186
- * @example
187
- * ```tsx
188
- * // With arrow and custom positioning
189
- * <Popover.Root>
190
- * <Popover.Trigger>Info</Popover.Trigger>
191
- * <Popover.Portal>
192
- * <Popover.Positioner side="right" sideOffset={8}>
193
- * <Popover.Popup>
194
- * <Popover.Arrow />
195
- * <p>Additional information</p>
196
- * </Popover.Popup>
197
- * </Popover.Positioner>
198
- * </Popover.Portal>
199
- * </Popover.Root>
200
- * ```
201
- *
202
- * @see {@link https://base-ui.com/react/components/popover | Base UI Popover}
203
- */
204
- declare const Popover: {
205
- createHandle: typeof Popover$1.createHandle;
206
- Root: typeof Popover$1.Root;
207
- Trigger: typeof PopoverTrigger;
208
- Portal: (props: PopoverPortalProps) => React.JSX.Element;
209
- Backdrop: typeof PopoverBackdrop;
210
- Positioner: typeof PopoverPositioner;
211
- Popup: typeof PopoverPopup;
212
- Viewport: typeof PopoverViewport;
213
- Header: typeof PopoverHeader;
214
- Arrow: typeof PopoverArrow;
215
- Title: typeof PopoverTitle;
216
- Description: typeof PopoverDescription;
217
- Close: typeof PopoverClose;
218
- };
219
- //#endregion
1
+ import { a as PopoverDescriptionProps, c as PopoverPortalProps, d as PopoverTitleProps, f as PopoverTriggerProps, i as PopoverCloseProps, l as PopoverPositionerProps, n as PopoverArrowProps, o as PopoverHeaderProps, p as PopoverViewportProps, r as PopoverBackdropProps, s as PopoverPopupProps, t as Popover, u as PopoverProps } from "../../Popover-CgHG5DtS.js";
220
2
  export { Popover, PopoverArrowProps, PopoverBackdropProps, PopoverCloseProps, PopoverDescriptionProps, PopoverHeaderProps, PopoverPopupProps, PopoverPortalProps, PopoverPositionerProps, PopoverProps, PopoverTitleProps, PopoverTriggerProps, PopoverViewportProps };
@@ -1,5 +1,5 @@
1
1
  import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
2
- import { U as SearchIcon } from "../../icons-cuEtsgj9.js";
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-cuEtsgj9.js";
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-cuEtsgj9.js";
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-cuEtsgj9.js";
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-cuEtsgj9.js";
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 };
@@ -0,0 +1,26 @@
1
+ import { l as DialogProps } from "../../Dialog-88GF7_Th.js";
2
+ import * as React from "react";
3
+
4
+ //#region src/components/general-purpose/AccountSignInDialog.d.ts
5
+ interface AccountSignInDialogProps {
6
+ open: boolean;
7
+ onOpenChange: DialogProps["onOpenChange"];
8
+ trigger: React.ReactElement;
9
+ title: string;
10
+ description: string;
11
+ /** Provider-owned sign-in control; credentials never enter the component. */
12
+ children: React.ReactNode;
13
+ error?: string | null;
14
+ }
15
+ /** Shared account-dialog layout surrounding a provider's own sign-in control. */
16
+ declare function AccountSignInDialog({
17
+ open,
18
+ onOpenChange,
19
+ trigger,
20
+ title,
21
+ description,
22
+ error,
23
+ children
24
+ }: AccountSignInDialogProps): React.JSX.Element;
25
+ //#endregion
26
+ export { AccountSignInDialog, AccountSignInDialogProps };
@@ -0,0 +1,25 @@
1
+ import { Field } from "../foundations/Field.js";
2
+ import { Dialog } from "../foundations/Dialog.js";
3
+ import "react";
4
+ import { jsx, jsxs } from "react/jsx-runtime";
5
+ //#region src/components/general-purpose/AccountSignInDialog.tsx
6
+ /** Shared account-dialog layout surrounding a provider's own sign-in control. */
7
+ function AccountSignInDialog({ open, onOpenChange, trigger, title, description, error, children }) {
8
+ return /* @__PURE__ */ jsxs(Dialog.Root, {
9
+ open,
10
+ onOpenChange,
11
+ 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
+ size: "sm",
13
+ children: [
14
+ /* @__PURE__ */ jsxs(Dialog.Header, { children: [/* @__PURE__ */ jsx(Dialog.Title, { children: title }), /* @__PURE__ */ jsx(Dialog.Description, { children: description })] }),
15
+ /* @__PURE__ */ jsxs("div", {
16
+ className: "account-sign-in-dialog__control",
17
+ children: [children, error ? /* @__PURE__ */ jsx(Field.Errors, { errors: [error] }) : null]
18
+ }),
19
+ /* @__PURE__ */ jsx(Dialog.Footer, { children: /* @__PURE__ */ jsx(Dialog.Close, { children: "Cancel" }) })
20
+ ]
21
+ }) })] })]
22
+ });
23
+ }
24
+ //#endregion
25
+ export { AccountSignInDialog };
@@ -1,99 +1,2 @@
1
- import { a as ToolbarLinkProps, n as ToolbarButtonProps, r as ToolbarGroupProps, t as Toolbar } from "../../Toolbar-CGY004u0.js";
2
- import * as React from "react";
3
- import { useRender } from "@base-ui/react/use-render";
4
-
5
- //#region src/components/general-purpose/AppTopBar.d.ts
6
- interface AppTopBarRootProps extends Omit<React.ComponentPropsWithoutRef<typeof Toolbar.Root>, "disabled"> {
7
- /** Accessible name describing the controls in this application bar. */
8
- "aria-label": string;
9
- /** Disables every interactive control managed by the application bar. */
10
- disabled?: React.ComponentPropsWithoutRef<typeof Toolbar.Root>["disabled"];
11
- /**
12
- * Where the title sits. An application bar centres it between the control
13
- * groups; a panel header labels its leading edge instead.
14
- */
15
- titleAlign?: "center" | "start";
16
- }
17
- interface AppTopBarGroupProps extends ToolbarGroupProps {}
18
- interface AppTopBarTitleProps extends useRender.ComponentProps<"div"> {}
19
- interface AppTopBarButtonProps extends Omit<ToolbarButtonProps, "aria-label"> {
20
- ref?: React.Ref<HTMLButtonElement>;
21
- /** Accessible name and default tooltip text for the icon-only control. */
22
- label: string;
23
- /** Tooltip text when it should differ from the accessible name. */
24
- tooltip?: React.ReactNode;
25
- }
26
- interface AppTopBarLinkProps extends Omit<ToolbarLinkProps, "aria-label"> {
27
- ref?: React.Ref<HTMLAnchorElement>;
28
- /** Accessible name and default tooltip text for the icon-only link. */
29
- label: string;
30
- /** Tooltip text when it should differ from the accessible name. */
31
- tooltip?: React.ReactNode;
32
- }
33
- interface AppTopBarControlProps extends ToolbarButtonProps {
34
- ref?: React.Ref<HTMLButtonElement>;
35
- }
36
- /**
37
- * Stable application-level toolbar with composable leading, title, and trailing
38
- * slots. Descendant buttons share Base UI's roving focus and tooltip provider.
39
- */
40
- declare function AppTopBarRoot({
41
- children,
42
- className,
43
- titleAlign,
44
- ...props
45
- }: AppTopBarRootProps): React.JSX.Element;
46
- declare function AppTopBarLeading({
47
- className,
48
- ...props
49
- }: AppTopBarGroupProps): React.JSX.Element;
50
- declare function AppTopBarTitle({
51
- className,
52
- render,
53
- ref,
54
- ...props
55
- }: AppTopBarTitleProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
56
- declare function AppTopBarTrailing({
57
- className,
58
- ...props
59
- }: AppTopBarGroupProps): React.JSX.Element;
60
- declare function AppTopBarControl({
61
- className,
62
- ...props
63
- }: AppTopBarControlProps): React.JSX.Element;
64
- declare function AppTopBarButton({
65
- children,
66
- className,
67
- disabled,
68
- label,
69
- render,
70
- tooltip,
71
- ...props
72
- }: AppTopBarButtonProps): React.JSX.Element;
73
- declare function AppTopBarLink({
74
- children,
75
- className,
76
- label,
77
- render,
78
- tooltip,
79
- ...props
80
- }: AppTopBarLinkProps): React.JSX.Element;
81
- /**
82
- * Composable application top bar with stable leading, title, and trailing
83
- * slots. Icon controls use shared Toolbar roving focus and coordinated Tooltip
84
- * behavior; their fixed slots do not resize when state icons change. Render an
85
- * existing behavior-rich button through `Control` to retain those toolbar
86
- * semantics without rebuilding the control. Use `Link` for navigation so an
87
- * `href` or router-provided link keeps native link semantics.
88
- */
89
- declare const AppTopBar: {
90
- Root: typeof AppTopBarRoot;
91
- Leading: typeof AppTopBarLeading;
92
- Title: typeof AppTopBarTitle;
93
- Trailing: typeof AppTopBarTrailing;
94
- Control: typeof AppTopBarControl;
95
- Button: typeof AppTopBarButton;
96
- Link: typeof AppTopBarLink;
97
- };
98
- //#endregion
1
+ import { a as AppTopBarLinkProps, i as AppTopBarGroupProps, n as AppTopBarButtonProps, o as AppTopBarRootProps, r as AppTopBarControlProps, s as AppTopBarTitleProps, t as AppTopBar } from "../../AppTopBar-CVkLRdk7.js";
99
2
  export { AppTopBar, AppTopBarButtonProps, AppTopBarControlProps, AppTopBarGroupProps, AppTopBarLinkProps, AppTopBarRootProps, AppTopBarTitleProps };
@@ -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 { t as CopyButton } from "../../copy-button-CSDuDfdP.js";
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-cuEtsgj9.js";
3
- import { t as CopyButton } from "../../copy-button-CSDuDfdP.js";
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-DruTQ-oa.js";
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 };
@@ -0,0 +1,13 @@
1
+ import * as React from "react";
2
+
3
+ //#region src/components/general-purpose/NotificationPrompt.d.ts
4
+ /** Persistent permission/retry affordance; availability and the user gesture stay host-owned. */
5
+ declare function NotificationPrompt({
6
+ onEnable,
7
+ children
8
+ }: {
9
+ onEnable: () => void;
10
+ children: React.ReactNode;
11
+ }): React.JSX.Element;
12
+ //#endregion
13
+ export { NotificationPrompt };