@mcp-b/react-components 0.12.0 → 0.14.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.
Files changed (229) hide show
  1. package/dist/{AgentChat-CRmsKg9B.d.ts → AgentChat-Cgb1xuT7.d.ts} +36 -5
  2. package/dist/{Button-Ct5I6aTu.d.ts → Button-FX_hpqxm.d.ts} +8 -11
  3. package/dist/{CodeBlock-XNQOupQ3.js → CodeBlock-BUFXG8HW.js} +22 -12
  4. package/dist/{CodeBlock-CxQXv3C4.d.ts → CodeBlock-DUh9WOGo.d.ts} +13 -7
  5. package/dist/{Combobox-D9anamNr.d.ts → Combobox-B9Fcd6q-.d.ts} +4 -14
  6. package/dist/{FileTree-wMyZhhHO.js → FileTree-mpEIcfzA.js} +1 -1
  7. package/dist/{Menu-BLhnNnRK.d.ts → Menu-Bgu-ufb5.d.ts} +26 -65
  8. package/dist/{ModelSelector-BB-xB-Es.js → ModelSelector-DVgVBdvw.js} +7 -7
  9. package/dist/{PromptInput-IyM6ZETj.d.ts → PromptInput-ClNqBiIw.d.ts} +313 -46
  10. package/dist/Select-Dl_vF_Bt.d.ts +213 -0
  11. package/dist/{Tabs-D9EAq09D.d.ts → Tabs-3Zc4tb9D.d.ts} +9 -6
  12. package/dist/{ThinkChat-B3wYahor.js → ThinkChat-7DQ2CogF.js} +34 -2
  13. package/dist/{ThinkChatActivity-F4KFPcJA.d.ts → ThinkChatActivity-m9orbdeI.d.ts} +1 -1
  14. package/dist/{attachment-preview-ChtC3HiU.js → attachment-preview-DIs50Q0h.js} +3 -3
  15. package/dist/components/Accordion.d.ts +17 -6
  16. package/dist/components/Accordion.js +23 -36
  17. package/dist/components/Activity.d.ts +5 -5
  18. package/dist/components/Activity.js +9 -9
  19. package/dist/components/AgentChat.d.ts +1 -1
  20. package/dist/components/AgentChat.js +309 -116
  21. package/dist/components/AgentConnection.js +2 -2
  22. package/dist/components/AlertDialog.d.ts +40 -32
  23. package/dist/components/AlertDialog.js +46 -39
  24. package/dist/components/Artifact.d.ts +1 -1
  25. package/dist/components/Artifact.js +5 -5
  26. package/dist/components/Autocomplete.js +10 -2
  27. package/dist/components/Avatar.d.ts +2 -2
  28. package/dist/components/Avatar.js +3 -3
  29. package/dist/components/Badge.d.ts +11 -14
  30. package/dist/components/Badge.js +10 -18
  31. package/dist/components/BrowserLiveView.js +26 -36
  32. package/dist/components/BrowserReplay.js +4 -4
  33. package/dist/components/BrowserRunPanel.js +1 -1
  34. package/dist/components/Button.d.ts +2 -2
  35. package/dist/components/Button.js +7 -30
  36. package/dist/components/ChainOfThought.d.ts +5 -5
  37. package/dist/components/ChainOfThought.js +8 -5
  38. package/dist/components/ChatGptSignInScreen.js +3 -3
  39. package/dist/components/Checkbox.d.ts +10 -2
  40. package/dist/components/Checkbox.js +13 -6
  41. package/dist/components/CheckboxGroup.d.ts +6 -6
  42. package/dist/components/CheckboxGroup.js +6 -6
  43. package/dist/components/CodeBlock.d.ts +1 -1
  44. package/dist/components/CodeBlock.js +1 -1
  45. package/dist/components/CodexModelSelector.d.ts +23 -28
  46. package/dist/components/CodexModelSelector.js +116 -94
  47. package/dist/components/Collapsible.d.ts +2 -4
  48. package/dist/components/Collapsible.js +9 -7
  49. package/dist/components/Combobox.d.ts +2 -2
  50. package/dist/components/Combobox.js +20 -22
  51. package/dist/components/Commit.d.ts +5 -5
  52. package/dist/components/Commit.js +6 -6
  53. package/dist/components/Context.js +5 -1
  54. package/dist/components/ContextMenu.d.ts +20 -72
  55. package/dist/components/ContextMenu.js +46 -56
  56. package/dist/components/Conversation.d.ts +1 -1
  57. package/dist/components/Conversation.js +1 -1
  58. package/dist/components/Dialog.d.ts +38 -30
  59. package/dist/components/Dialog.js +46 -34
  60. package/dist/components/EnvironmentVariables.d.ts +1 -1
  61. package/dist/components/EnvironmentVariables.js +5 -5
  62. package/dist/components/Field.d.ts +3 -3
  63. package/dist/components/Field.js +7 -8
  64. package/dist/components/Fieldset.d.ts +2 -2
  65. package/dist/components/Fieldset.js +2 -2
  66. package/dist/components/FileTree.js +1 -1
  67. package/dist/components/Label.d.ts +1 -1
  68. package/dist/components/Label.js +1 -1
  69. package/dist/components/McpServerPicker.js +21 -19
  70. package/dist/components/Menu.d.ts +2 -2
  71. package/dist/components/Menu.js +39 -49
  72. package/dist/components/Menubar.d.ts +16 -52
  73. package/dist/components/Menubar.js +44 -56
  74. package/dist/components/Message.d.ts +1 -1
  75. package/dist/components/Message.js +6 -6
  76. package/dist/components/MessageScroller.d.ts +1 -1
  77. package/dist/components/MessageScroller.js +1 -1
  78. package/dist/components/Meter.js +5 -0
  79. package/dist/components/ModelSelector.d.ts +1 -1
  80. package/dist/components/ModelSelector.js +1 -1
  81. package/dist/components/NavigationMenu.d.ts +3 -14
  82. package/dist/components/NavigationMenu.js +22 -38
  83. package/dist/components/NumberField.js +6 -0
  84. package/dist/components/Popover.d.ts +21 -44
  85. package/dist/components/Popover.js +33 -23
  86. package/dist/components/PreviewCard.d.ts +20 -18
  87. package/dist/components/PreviewCard.js +30 -20
  88. package/dist/components/PricingPage.js +30 -29
  89. package/dist/components/Progress.d.ts +7 -3
  90. package/dist/components/Progress.js +9 -4
  91. package/dist/components/PromptInput.d.ts +2 -2
  92. package/dist/components/PromptInput.js +306 -54
  93. package/dist/components/Queue.d.ts +7 -7
  94. package/dist/components/Queue.js +6 -6
  95. package/dist/components/RadioGroup.d.ts +10 -9
  96. package/dist/components/RadioGroup.js +8 -9
  97. package/dist/components/Reasoning.d.ts +4 -4
  98. package/dist/components/Reasoning.js +10 -6
  99. package/dist/components/ScrollArea.d.ts +2 -9
  100. package/dist/components/ScrollArea.js +5 -23
  101. package/dist/components/Select.d.ts +2 -2
  102. package/dist/components/Select.js +100 -134
  103. package/dist/components/Slider.d.ts +10 -7
  104. package/dist/components/Slider.js +12 -11
  105. package/dist/components/Sources.d.ts +4 -4
  106. package/dist/components/Sources.js +8 -5
  107. package/dist/components/Stepper.js +1 -1
  108. package/dist/components/Switch.d.ts +6 -3
  109. package/dist/components/Switch.js +7 -4
  110. package/dist/components/Tabs.d.ts +2 -2
  111. package/dist/components/Tabs.js +9 -4
  112. package/dist/components/Task.d.ts +4 -4
  113. package/dist/components/Task.js +10 -6
  114. package/dist/components/Terminal.d.ts +2 -2
  115. package/dist/components/Terminal.js +5 -5
  116. package/dist/components/TestResults.d.ts +4 -4
  117. package/dist/components/TestResults.js +5 -5
  118. package/dist/components/ThinkChat.d.ts +14 -2
  119. package/dist/components/ThinkChat.js +1 -1
  120. package/dist/components/ThinkChatActivity.d.ts +1 -1
  121. package/dist/components/ThinkChatActivity.js +1 -1
  122. package/dist/components/ThinkChatToolPanels.js +8 -8
  123. package/dist/components/ThinkExecutionWorkbench.js +28 -28
  124. package/dist/components/ThinkFullApp.js +8 -8
  125. package/dist/components/ThinkThreadPicker.js +1 -1
  126. package/dist/components/ThinkThreadShell.js +5 -5
  127. package/dist/components/Toast.js +7 -0
  128. package/dist/components/ToggleGroup.d.ts +6 -2
  129. package/dist/components/ToggleGroup.js +6 -2
  130. package/dist/components/Toolbar.js +6 -0
  131. package/dist/components/Tooltip.d.ts +36 -27
  132. package/dist/components/Tooltip.js +45 -29
  133. package/dist/components/WebPreview.d.ts +1 -1
  134. package/dist/components/WebPreview.js +3 -3
  135. package/dist/components/WorkspaceExplorer.d.ts +6 -8
  136. package/dist/components/WorkspaceExplorer.js +6 -6
  137. package/dist/components/icons.d.ts +2 -2
  138. package/dist/components/icons.js +2 -2
  139. package/dist/{copy-button-C6JSKtFE.js → copy-button-DUMLYdsk.js} +7 -6
  140. package/dist/{copy-button-BKXqGiNm.d.ts → copy-button-DtPMgN7e.d.ts} +3 -2
  141. package/dist/icons-Ba9THQKz.js +64 -0
  142. package/dist/icons-CUCz_Sft.d.ts +210 -0
  143. package/dist/styles/accessibility.css +14 -0
  144. package/dist/styles/accordion.css +21 -61
  145. package/dist/styles/activity.css +23 -58
  146. package/dist/styles/agent-chat.css +45 -4
  147. package/dist/styles/agent-connection.css +8 -10
  148. package/dist/styles/alert-dialog.css +20 -26
  149. package/dist/styles/artifact.css +6 -6
  150. package/dist/styles/attachment-preview.css +1 -1
  151. package/dist/styles/autocomplete.css +5 -170
  152. package/dist/styles/avatar.css +8 -8
  153. package/dist/styles/badge.css +8 -10
  154. package/dist/styles/base-ui-motion.css +176 -0
  155. package/dist/styles/base.css +19 -25
  156. package/dist/styles/browser-live-view.css +7 -7
  157. package/dist/styles/browser-replay.css +5 -5
  158. package/dist/styles/browser-run-panel.css +5 -5
  159. package/dist/styles/button.css +48 -43
  160. package/dist/styles/card.css +3 -5
  161. package/dist/styles/chain-of-thought.css +14 -70
  162. package/dist/styles/chatgpt-sign-in-screen.css +3 -3
  163. package/dist/styles/checkbox-group.css +1 -1
  164. package/dist/styles/checkbox.css +3 -7
  165. package/dist/styles/code-block.css +10 -10
  166. package/dist/styles/codex-model-selector.css +33 -44
  167. package/dist/styles/collapsible.css +11 -27
  168. package/dist/styles/combobox.css +3 -149
  169. package/dist/styles/commit.css +19 -35
  170. package/dist/styles/context-menu.css +1 -77
  171. package/dist/styles/context.css +12 -12
  172. package/dist/styles/conversation.css +7 -7
  173. package/dist/styles/dialog.css +34 -55
  174. package/dist/styles/environment-variables.css +10 -10
  175. package/dist/styles/field.css +16 -58
  176. package/dist/styles/fieldset.css +2 -2
  177. package/dist/styles/file-tree.css +7 -9
  178. package/dist/styles/index.css +8 -1
  179. package/dist/styles/input.css +1 -51
  180. package/dist/styles/label.css +2 -2
  181. package/dist/styles/marker.css +2 -4
  182. package/dist/styles/mcp-server-picker.css +5 -5
  183. package/dist/styles/menu.css +6 -153
  184. package/dist/styles/menubar.css +6 -105
  185. package/dist/styles/message-scroller.css +1 -1
  186. package/dist/styles/message.css +86 -8
  187. package/dist/styles/meter.css +4 -20
  188. package/dist/styles/model-selector.css +13 -13
  189. package/dist/styles/navigation-menu.css +14 -54
  190. package/dist/styles/number-field.css +8 -23
  191. package/dist/styles/popover.css +13 -68
  192. package/dist/styles/preview-card.css +5 -46
  193. package/dist/styles/pricing-page.css +43 -43
  194. package/dist/styles/progress.css +7 -16
  195. package/dist/styles/prompt-input.css +185 -44
  196. package/dist/styles/queue.css +12 -28
  197. package/dist/styles/radio.css +4 -8
  198. package/dist/styles/reasoning.css +3 -62
  199. package/dist/styles/recipes.css +475 -0
  200. package/dist/styles/select.css +7 -103
  201. package/dist/styles/shell.css +3 -3
  202. package/dist/styles/slider.css +5 -7
  203. package/dist/styles/sources.css +9 -66
  204. package/dist/styles/stepper.css +16 -14
  205. package/dist/styles/streamdown.css +9 -9
  206. package/dist/styles/switch.css +4 -7
  207. package/dist/styles/tabs.css +7 -8
  208. package/dist/styles/task.css +13 -42
  209. package/dist/styles/terminal.css +7 -7
  210. package/dist/styles/test-results.css +21 -37
  211. package/dist/styles/think-execution-workbench.css +23 -23
  212. package/dist/styles/think-full-app.css +12 -20
  213. package/dist/styles/think-resize-handle.css +2 -2
  214. package/dist/styles/think-thread-picker.css +19 -10
  215. package/dist/styles/think-thread-shell.css +7 -7
  216. package/dist/styles/toast.css +14 -25
  217. package/dist/styles/toggle-group.css +16 -14
  218. package/dist/styles/toggle.css +14 -15
  219. package/dist/styles/toolbar.css +13 -25
  220. package/dist/styles/tooltip.css +6 -16
  221. package/dist/styles/web-preview.css +15 -15
  222. package/dist/styles/workspace-explorer.css +14 -13
  223. package/dist/utils/codex-model-catalog.d.ts +142 -0
  224. package/dist/utils/codex-model-catalog.js +112 -0
  225. package/dist/utils/structured-code.d.ts +1 -1
  226. package/package.json +8 -2
  227. package/dist/Select-CRsKCJ9x.d.ts +0 -200
  228. package/dist/icons-CbjtbIJK.d.ts +0 -51
  229. package/dist/icons-D2Q5n5C1.js +0 -291
@@ -1,12 +1,13 @@
1
- import { A as SelectTriggerProps, M as SelectValueProps, S as SelectProps, f as SelectOption, j as SelectValue, r as SelectContentProps, s as SelectItemProps, t as Select } from "./Select-CRsKCJ9x.js";
2
- import { c as ComboboxGroup, d as ComboboxLabel, f as ComboboxList, g as ComboboxTrigger, h as ComboboxSeparator, l as ComboboxInput, m as ComboboxPositioner, p as ComboboxPopup, s as ComboboxEmpty, t as Combobox, u as ComboboxItem } from "./Combobox-D9anamNr.js";
3
- import { h as MenuItemProps, l as MenuContentProps, w as MenuProps } from "./Menu-BLhnNnRK.js";
4
- import { c as TabsList, n as TabPanel, t as Tab } from "./Tabs-D9EAq09D.js";
5
- import { r as ButtonProps } from "./Button-Ct5I6aTu.js";
1
+ import { _ as SelectTriggerProps, a as SelectIconProps, c as SelectItemTextProps, f as SelectPositionerProps, g as SelectSeparatorProps, h as SelectScrollUpArrowProps, i as SelectGroupProps, l as SelectListProps, m as SelectScrollDownArrowProps, n as SelectBackdropProps, o as SelectItemIndicatorProps, p as SelectProps, r as SelectGroupLabelProps, s as SelectItemProps, t as Select, u as SelectPopupProps, v as SelectValueProps } from "./Select-Dl_vF_Bt.js";
2
+ import { i as TabsListProps, n as TabProps, r as Tabs, t as TabPanelProps } from "./Tabs-3Zc4tb9D.js";
3
+ import { t as Combobox } from "./Combobox-B9Fcd6q-.js";
4
+ import { d as MenuProps, s as MenuItemProps, t as Menu } from "./Menu-Bgu-ufb5.js";
5
+ import { r as ButtonProps } from "./Button-FX_hpqxm.js";
6
6
  import * as React from "react";
7
7
  import { ChatAddToolApproveResponseFunction, ChatStatus, DynamicToolUIPart, FileUIPart, ToolUIPart, UIMessage } from "ai";
8
8
  import { PendingApproval, Think } from "@cloudflare/think";
9
9
  import { AgentStub } from "agents/client";
10
+ import { UseVoiceInputReturn } from "@cloudflare/voice/react";
10
11
 
11
12
  //#region src/components/PromptInput.d.ts
12
13
  /** The payload produced when the prompt input is submitted. */
@@ -231,6 +232,34 @@ declare function PromptInputButton({
231
232
  }: PromptInputButtonProps & {
232
233
  ref?: React.Ref<HTMLButtonElement>;
233
234
  }): React.JSX.Element;
235
+ interface PromptInputDictationProps extends Omit<PromptInputButtonProps, "children" | "onClick" | "tooltip"> {
236
+ /** The whole upstream `useVoiceInput` result; authentication and transport stay in the host. */
237
+ voice: UseVoiceInputReturn;
238
+ /**
239
+ * Runs immediately before the unchanged upstream `voice.start()` call.
240
+ * Use this for host-specific prerequisites, such as opening an extension tab
241
+ * that can present Chrome's microphone permission prompt. Reject to prevent
242
+ * `voice.start()` and surface the error in the composer.
243
+ *
244
+ * @see https://github.com/cloudflare/agents/blob/main/examples/voice-input/src/client.tsx
245
+ * @see https://developer.chrome.com/docs/extensions/reference/api/offscreen#type-Reason
246
+ */
247
+ beforeStart?: (voice: UseVoiceInputReturn) => void | Promise<void>;
248
+ }
249
+ /**
250
+ * Voice-dictation control for PromptInput. Final upstream transcripts are
251
+ * appended to the composer while interim text remains ephemeral.
252
+ */
253
+ declare function PromptInputDictation({
254
+ voice,
255
+ beforeStart,
256
+ className,
257
+ disabled,
258
+ ref,
259
+ ...props
260
+ }: PromptInputDictationProps & {
261
+ ref?: React.Ref<HTMLButtonElement>;
262
+ }): React.JSX.Element;
234
263
  type PromptInputActionMenuProps = MenuProps;
235
264
  declare function PromptInputActionMenu(props: PromptInputActionMenuProps): React.JSX.Element;
236
265
  type PromptInputActionMenuTriggerProps = PromptInputButtonProps;
@@ -239,8 +268,20 @@ declare function PromptInputActionMenuTrigger({
239
268
  children,
240
269
  ...props
241
270
  }: PromptInputActionMenuTriggerProps): React.JSX.Element;
242
- type PromptInputActionMenuContentProps = MenuContentProps;
271
+ type PromptInputActionMenuContentProps = React.ComponentProps<typeof Menu.Popup> & Pick<React.ComponentProps<typeof Menu.Positioner>, "anchor" | "positionMethod" | "side" | "sideOffset" | "align" | "alignOffset" | "collisionBoundary" | "collisionPadding" | "sticky" | "arrowPadding" | "disableAnchorTracking" | "collisionAvoidance">;
243
272
  declare function PromptInputActionMenuContent({
273
+ anchor,
274
+ positionMethod,
275
+ side,
276
+ sideOffset,
277
+ align,
278
+ alignOffset,
279
+ collisionBoundary,
280
+ collisionPadding,
281
+ sticky,
282
+ arrowPadding,
283
+ disableAnchorTracking,
284
+ collisionAvoidance,
244
285
  className,
245
286
  children,
246
287
  tabIndex,
@@ -372,16 +413,121 @@ declare function PromptInputApproval({
372
413
  }: PromptInputApprovalProps & {
373
414
  ref?: React.Ref<HTMLDivElement>;
374
415
  }): React.JSX.Element | null;
375
- type PromptInputSelectProps = SelectProps;
376
- declare const PromptInputSelect: typeof Select;
377
- type PromptInputSelectTriggerProps = SelectTriggerProps;
378
- declare function PromptInputSelectTrigger(props: PromptInputSelectTriggerProps): React.JSX.Element;
379
- type PromptInputSelectContentProps = SelectContentProps;
380
- declare function PromptInputSelectContent(props: PromptInputSelectContentProps): React.JSX.Element;
381
- type PromptInputSelectItemProps = SelectItemProps;
382
- declare const PromptInputSelectItem: typeof SelectOption;
383
- type PromptInputSelectValueProps = SelectValueProps;
384
- declare const PromptInputSelectValue: typeof SelectValue;
416
+ type PromptInputSelectProps = React.ComponentProps<typeof Select.Root>;
417
+ declare const PromptInputSelect: {
418
+ Root: <Value>(props: SelectProps<Value>) => React.JSX.Element;
419
+ Label: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SelectLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
420
+ Trigger: ({
421
+ size,
422
+ className,
423
+ ref,
424
+ ...props
425
+ }: SelectTriggerProps & {
426
+ ref?: React.Ref<HTMLButtonElement>;
427
+ }) => React.JSX.Element;
428
+ Value: ({
429
+ placeholder,
430
+ children,
431
+ ref,
432
+ ...props
433
+ }: SelectValueProps & {
434
+ ref?: React.Ref<HTMLSpanElement>;
435
+ }) => React.JSX.Element;
436
+ Icon: ({
437
+ className,
438
+ children,
439
+ ref,
440
+ ...props
441
+ }: SelectIconProps) => React.JSX.Element;
442
+ Portal: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SelectPortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
443
+ Backdrop: ({
444
+ className,
445
+ ref,
446
+ ...props
447
+ }: SelectBackdropProps) => React.JSX.Element;
448
+ Positioner: ({
449
+ className,
450
+ ref,
451
+ ...props
452
+ }: SelectPositionerProps & {
453
+ className?: string;
454
+ } & {
455
+ ref?: React.Ref<HTMLDivElement>;
456
+ }) => React.JSX.Element;
457
+ Popup: ({
458
+ className,
459
+ ref,
460
+ ...props
461
+ }: SelectPopupProps & {
462
+ ref?: React.Ref<HTMLDivElement>;
463
+ }) => React.JSX.Element;
464
+ Arrow: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SelectArrowProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
465
+ List: ({
466
+ className,
467
+ ref,
468
+ ...props
469
+ }: SelectListProps & {
470
+ ref?: React.Ref<HTMLDivElement>;
471
+ }) => React.JSX.Element;
472
+ Item: ({
473
+ className,
474
+ value,
475
+ ref,
476
+ ...props
477
+ }: SelectItemProps & {
478
+ ref?: React.Ref<HTMLDivElement>;
479
+ }) => React.JSX.Element;
480
+ ItemText: ({
481
+ className,
482
+ ref,
483
+ ...props
484
+ }: SelectItemTextProps) => React.JSX.Element;
485
+ ItemIndicator: ({
486
+ className,
487
+ children,
488
+ ref,
489
+ ...props
490
+ }: SelectItemIndicatorProps) => React.JSX.Element;
491
+ Separator: ({
492
+ className,
493
+ ref,
494
+ ...props
495
+ }: SelectSeparatorProps & {
496
+ ref?: React.Ref<HTMLDivElement>;
497
+ }) => React.JSX.Element;
498
+ Group: ({
499
+ label,
500
+ className,
501
+ children,
502
+ ref,
503
+ ...props
504
+ }: SelectGroupProps & {
505
+ ref?: React.Ref<HTMLDivElement>;
506
+ }) => React.JSX.Element;
507
+ GroupLabel: ({
508
+ className,
509
+ ref,
510
+ ...props
511
+ }: SelectGroupLabelProps & {
512
+ ref?: React.Ref<HTMLDivElement>;
513
+ }) => React.JSX.Element;
514
+ ScrollUpArrow: ({
515
+ className,
516
+ children,
517
+ ref,
518
+ ...props
519
+ }: SelectScrollUpArrowProps & {
520
+ ref?: React.Ref<HTMLDivElement>;
521
+ }) => React.JSX.Element;
522
+ ScrollDownArrow: ({
523
+ className,
524
+ children,
525
+ ref,
526
+ ...props
527
+ }: SelectScrollDownArrowProps & {
528
+ ref?: React.Ref<HTMLDivElement>;
529
+ }) => React.JSX.Element;
530
+ };
385
531
  interface PromptInputHoverCardProps extends React.HTMLAttributes<HTMLDivElement> {
386
532
  openDelay?: number;
387
533
  closeDelay?: number;
@@ -412,12 +558,31 @@ declare function PromptInputHoverCardContent({
412
558
  }: PromptInputHoverCardContentProps & {
413
559
  ref?: React.Ref<HTMLDivElement>;
414
560
  }): React.JSX.Element | null;
415
- type PromptInputTabsListProps = React.ComponentPropsWithoutRef<typeof TabsList>;
416
- declare const PromptInputTabsList: typeof TabsList;
417
- type PromptInputTabProps = React.ComponentPropsWithoutRef<typeof Tab>;
418
- declare const PromptInputTab: typeof Tab;
419
- type PromptInputTabBodyProps = React.ComponentPropsWithoutRef<typeof TabPanel>;
420
- declare const PromptInputTabBody: typeof TabPanel;
561
+ type PromptInputTabsListProps = React.ComponentPropsWithoutRef<typeof Tabs.List>;
562
+ declare const PromptInputTabsList: ({
563
+ className,
564
+ variant,
565
+ ref,
566
+ ...props
567
+ }: TabsListProps & {
568
+ ref?: React.Ref<HTMLDivElement>;
569
+ }) => React.JSX.Element;
570
+ type PromptInputTabProps = React.ComponentPropsWithoutRef<typeof Tabs.Tab>;
571
+ declare const PromptInputTab: ({
572
+ className,
573
+ ref,
574
+ ...props
575
+ }: TabProps & {
576
+ ref?: React.Ref<HTMLButtonElement>;
577
+ }) => React.JSX.Element;
578
+ type PromptInputTabBodyProps = React.ComponentPropsWithoutRef<typeof Tabs.Panel>;
579
+ declare const PromptInputTabBody: ({
580
+ className,
581
+ ref,
582
+ ...props
583
+ }: TabPanelProps & {
584
+ ref?: React.Ref<HTMLDivElement>;
585
+ }) => React.JSX.Element;
421
586
  interface PromptInputTabLabelProps extends React.HTMLAttributes<HTMLHeadingElement> {}
422
587
  declare function PromptInputTabLabel({
423
588
  className,
@@ -434,11 +599,27 @@ declare function PromptInputTabItem({
434
599
  }: PromptInputTabItemProps & {
435
600
  ref?: React.Ref<HTMLDivElement>;
436
601
  }): React.JSX.Element;
437
- type PromptInputCommandProps = React.ComponentPropsWithoutRef<typeof Combobox>;
438
- declare const PromptInputCommand: typeof import("@base-ui/react").ComboboxRoot & {
602
+ type PromptInputCommandProps = React.ComponentPropsWithoutRef<typeof Combobox.Root>;
603
+ declare const PromptInputCommand: {
439
604
  Root: typeof import("@base-ui/react").ComboboxRoot;
440
- Input: typeof ComboboxInput;
441
- Trigger: typeof ComboboxTrigger;
605
+ Input: ({
606
+ className,
607
+ ref,
608
+ ...props
609
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxInput>, "className"> & {
610
+ className?: string;
611
+ } & {
612
+ ref?: React.Ref<HTMLInputElement>;
613
+ }) => React.JSX.Element;
614
+ Trigger: ({
615
+ className,
616
+ ref,
617
+ ...props
618
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxTrigger>, "className"> & {
619
+ className?: string;
620
+ } & {
621
+ ref?: React.Ref<HTMLButtonElement>;
622
+ }) => React.JSX.Element;
442
623
  Clear: ({
443
624
  className,
444
625
  ref,
@@ -449,11 +630,43 @@ declare const PromptInputCommand: typeof import("@base-ui/react").ComboboxRoot &
449
630
  ref?: React.Ref<HTMLButtonElement>;
450
631
  }) => React.JSX.Element;
451
632
  Portal: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AutocompletePortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
452
- Positioner: typeof ComboboxPositioner;
453
- Popup: typeof ComboboxPopup;
454
- Content: typeof ComboboxPopup;
455
- List: typeof ComboboxList;
456
- Item: typeof ComboboxItem;
633
+ Positioner: ({
634
+ className,
635
+ ref,
636
+ ...props
637
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxPositioner>, "className"> & {
638
+ className?: string;
639
+ } & {
640
+ ref?: React.Ref<HTMLDivElement>;
641
+ }) => React.JSX.Element;
642
+ Popup: ({
643
+ className,
644
+ tabIndex,
645
+ ref,
646
+ ...props
647
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxPopup>, "className"> & {
648
+ className?: string;
649
+ } & {
650
+ ref?: React.Ref<HTMLDivElement>;
651
+ }) => React.JSX.Element;
652
+ List: ({
653
+ className,
654
+ ref,
655
+ ...props
656
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxList>, "className"> & {
657
+ className?: string;
658
+ } & {
659
+ ref?: React.Ref<HTMLDivElement>;
660
+ }) => React.JSX.Element;
661
+ Item: ({
662
+ className,
663
+ ref,
664
+ ...props
665
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxItem>, "className"> & {
666
+ className?: string;
667
+ } & {
668
+ ref?: React.Ref<HTMLDivElement>;
669
+ }) => React.JSX.Element;
457
670
  ItemIndicator: ({
458
671
  className,
459
672
  ref,
@@ -463,19 +676,49 @@ declare const PromptInputCommand: typeof import("@base-ui/react").ComboboxRoot &
463
676
  } & {
464
677
  ref?: React.Ref<HTMLSpanElement>;
465
678
  }) => React.JSX.Element;
466
- Empty: typeof ComboboxEmpty;
467
- Group: typeof ComboboxGroup;
468
- GroupLabel: typeof ComboboxLabel;
469
- Label: typeof ComboboxLabel;
679
+ Empty: ({
680
+ className,
681
+ ref,
682
+ ...props
683
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxEmpty>, "className"> & {
684
+ className?: string;
685
+ } & {
686
+ ref?: React.Ref<HTMLDivElement>;
687
+ }) => React.JSX.Element;
688
+ Group: ({
689
+ className,
690
+ ref,
691
+ ...props
692
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxGroup>, "className"> & {
693
+ className?: string;
694
+ } & {
695
+ ref?: React.Ref<HTMLDivElement>;
696
+ }) => React.JSX.Element;
697
+ GroupLabel: ({
698
+ className,
699
+ ref,
700
+ ...props
701
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxGroupLabel>, "className"> & {
702
+ className?: string;
703
+ } & {
704
+ ref?: React.Ref<HTMLDivElement>;
705
+ }) => React.JSX.Element;
470
706
  Value: typeof import("@base-ui/react").ComboboxValue;
471
707
  Chips: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").ComboboxChipsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
472
708
  Chip: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").ComboboxChipProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
473
- ChipsInput: typeof ComboboxInput;
474
709
  Collection: typeof import("@base-ui/react").ComboboxCollection;
475
710
  Separator: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
476
711
  };
477
- type PromptInputCommandInputProps = React.ComponentPropsWithoutRef<typeof ComboboxInput>;
478
- declare const PromptInputCommandInput: typeof ComboboxInput;
712
+ type PromptInputCommandInputProps = React.ComponentPropsWithoutRef<typeof Combobox.Input>;
713
+ declare const PromptInputCommandInput: ({
714
+ className,
715
+ ref,
716
+ ...props
717
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxInput>, "className"> & {
718
+ className?: string;
719
+ } & {
720
+ ref?: React.Ref<HTMLInputElement>;
721
+ }) => React.JSX.Element;
479
722
  interface PromptInputCommandListProps extends React.HTMLAttributes<HTMLDivElement> {}
480
723
  declare function PromptInputCommandList({
481
724
  className,
@@ -484,13 +727,37 @@ declare function PromptInputCommandList({
484
727
  }: PromptInputCommandListProps & {
485
728
  ref?: React.Ref<HTMLDivElement>;
486
729
  }): React.JSX.Element;
487
- type PromptInputCommandEmptyProps = React.ComponentPropsWithoutRef<typeof ComboboxEmpty>;
488
- declare const PromptInputCommandEmpty: typeof ComboboxEmpty;
489
- type PromptInputCommandGroupProps = React.ComponentPropsWithoutRef<typeof ComboboxGroup>;
490
- declare const PromptInputCommandGroup: typeof ComboboxGroup;
491
- type PromptInputCommandItemProps = React.ComponentPropsWithoutRef<typeof ComboboxItem>;
492
- declare const PromptInputCommandItem: typeof ComboboxItem;
493
- type PromptInputCommandSeparatorProps = React.ComponentPropsWithoutRef<typeof ComboboxSeparator>;
730
+ type PromptInputCommandEmptyProps = React.ComponentPropsWithoutRef<typeof Combobox.Empty>;
731
+ declare const PromptInputCommandEmpty: ({
732
+ className,
733
+ ref,
734
+ ...props
735
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxEmpty>, "className"> & {
736
+ className?: string;
737
+ } & {
738
+ ref?: React.Ref<HTMLDivElement>;
739
+ }) => React.JSX.Element;
740
+ type PromptInputCommandGroupProps = React.ComponentPropsWithoutRef<typeof Combobox.Group>;
741
+ declare const PromptInputCommandGroup: ({
742
+ className,
743
+ ref,
744
+ ...props
745
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxGroup>, "className"> & {
746
+ className?: string;
747
+ } & {
748
+ ref?: React.Ref<HTMLDivElement>;
749
+ }) => React.JSX.Element;
750
+ type PromptInputCommandItemProps = React.ComponentPropsWithoutRef<typeof Combobox.Item>;
751
+ declare const PromptInputCommandItem: ({
752
+ className,
753
+ ref,
754
+ ...props
755
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxItem>, "className"> & {
756
+ className?: string;
757
+ } & {
758
+ ref?: React.Ref<HTMLDivElement>;
759
+ }) => React.JSX.Element;
760
+ type PromptInputCommandSeparatorProps = React.ComponentPropsWithoutRef<typeof Combobox.Separator>;
494
761
  declare const PromptInputCommandSeparator: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
495
762
  //#endregion
496
- export { PromptInputMessage as $, PromptInputCommandEmptyProps as A, PromptInputToolsProps as At, PromptInputCommandSeparator as B, PromptInputBody as C, PromptInputTabLabelProps as Ct, PromptInputButtonTooltip as D, PromptInputTextarea as Dt, PromptInputButtonProps as E, PromptInputTabsListProps as Et, PromptInputCommandItem as F, getApprovalStateKey as Ft, PromptInputHeader as G, PromptInputControllerProps as H, PromptInputCommandItemProps as I, getPendingToolApprovals as It, PromptInputHoverCardContent as J, PromptInputHeaderProps as K, PromptInputCommandList as L, usePromptInputAttachments as Lt, PromptInputCommandGroupProps as M, TextInputContext as Mt, PromptInputCommandInput as N, TooltipSide as Nt, PromptInputCommand as O, PromptInputTextareaProps as Ot, PromptInputCommandInputProps as P, getApprovalRequestId as Pt, PromptInputHoverCardTriggerProps as Q, PromptInputCommandListProps as R, usePromptInputController as Rt, PromptInputAttachmentsProps as S, PromptInputTabLabel as St, PromptInputButton as T, PromptInputTabsList as Tt, PromptInputFooter as U, PromptInputCommandSeparatorProps as V, PromptInputFooterProps as W, PromptInputHoverCardProps as X, PromptInputHoverCardContentProps as Y, PromptInputHoverCardTrigger as Z, PromptInputApproval as _, PromptInputTab as _t, PromptInputActionAddAttachments as a, PromptInputSelect as at, PromptInputAttachmentProps as b, PromptInputTabItem as bt, PromptInputActionAddScreenshotProps as c, PromptInputSelectItem as ct, PromptInputActionMenuContentProps as d, PromptInputSelectTrigger as dt, PromptInputPermissionSelector as et, PromptInputActionMenuItem as f, PromptInputSelectTriggerProps as ft, PromptInputActionMenuTriggerProps as g, PromptInputSubmitProps as gt, PromptInputActionMenuTrigger as h, PromptInputSubmit as ht, PromptInput as i, PromptInputProviderProps as it, PromptInputCommandGroup as j, PromptInputTooltipConfig as jt, PromptInputCommandEmpty as k, PromptInputTools as kt, PromptInputActionMenu as l, PromptInputSelectItemProps as lt, PromptInputActionMenuProps as m, PromptInputSelectValueProps as mt, PendingToolApproval as n, PromptInputProps as nt, PromptInputActionAddAttachmentsProps as o, PromptInputSelectContent as ot, PromptInputActionMenuItemProps as p, PromptInputSelectValue as pt, PromptInputHoverCard as q, PermissionMode as r, PromptInputProvider as rt, PromptInputActionAddScreenshot as s, PromptInputSelectContentProps as st, AttachmentsContext as t, PromptInputPermissionSelectorProps as tt, PromptInputActionMenuContent as u, PromptInputSelectProps as ut, PromptInputApprovalProps as v, PromptInputTabBody as vt, PromptInputBodyProps as w, PromptInputTabProps as wt, PromptInputAttachments as x, PromptInputTabItemProps as xt, PromptInputAttachment as y, PromptInputTabBodyProps as yt, PromptInputCommandProps as z, useProviderAttachments as zt };
763
+ export { PromptInputHoverCardTrigger as $, PromptInputCommandEmptyProps as A, getPendingToolApprovals as At, PromptInputCommandSeparator as B, PromptInputBody as C, PromptInputTools as Ct, PromptInputButtonTooltip as D, TooltipSide as Dt, PromptInputButtonProps as E, TextInputContext as Et, PromptInputCommandItem as F, PromptInputFooter as G, PromptInputControllerProps as H, PromptInputCommandItemProps as I, PromptInputHeaderProps as J, PromptInputFooterProps as K, PromptInputCommandList as L, PromptInputCommandGroupProps as M, usePromptInputController as Mt, PromptInputCommandInput as N, useProviderAttachments as Nt, PromptInputCommand as O, getApprovalRequestId as Ot, PromptInputCommandInputProps as P, PromptInputHoverCardProps as Q, PromptInputCommandListProps as R, PromptInputAttachmentsProps as S, PromptInputTextareaProps as St, PromptInputButton as T, PromptInputTooltipConfig as Tt, PromptInputDictation as U, PromptInputCommandSeparatorProps as V, PromptInputDictationProps as W, PromptInputHoverCardContent as X, PromptInputHoverCard as Y, PromptInputHoverCardContentProps as Z, PromptInputApproval as _, PromptInputTabLabelProps as _t, PromptInputActionAddAttachments as a, PromptInputProvider as at, PromptInputAttachmentProps as b, PromptInputTabsListProps as bt, PromptInputActionAddScreenshotProps as c, PromptInputSelectProps as ct, PromptInputActionMenuContentProps as d, PromptInputTab as dt, PromptInputHoverCardTriggerProps as et, PromptInputActionMenuItem as f, PromptInputTabBody as ft, PromptInputActionMenuTriggerProps as g, PromptInputTabLabel as gt, PromptInputActionMenuTrigger as h, PromptInputTabItemProps as ht, PromptInput as i, PromptInputProps as it, PromptInputCommandGroup as j, usePromptInputAttachments as jt, PromptInputCommandEmpty as k, getApprovalStateKey as kt, PromptInputActionMenu as l, PromptInputSubmit as lt, PromptInputActionMenuProps as m, PromptInputTabItem as mt, PendingToolApproval as n, PromptInputPermissionSelector as nt, PromptInputActionAddAttachmentsProps as o, PromptInputProviderProps as ot, PromptInputActionMenuItemProps as p, PromptInputTabBodyProps as pt, PromptInputHeader as q, PermissionMode as r, PromptInputPermissionSelectorProps as rt, PromptInputActionAddScreenshot as s, PromptInputSelect as st, AttachmentsContext as t, PromptInputMessage as tt, PromptInputActionMenuContent as u, PromptInputSubmitProps as ut, PromptInputApprovalProps as v, PromptInputTabProps as vt, PromptInputBodyProps as w, PromptInputToolsProps as wt, PromptInputAttachments as x, PromptInputTextarea as xt, PromptInputAttachment as y, PromptInputTabsList as yt, PromptInputCommandProps as z };
@@ -0,0 +1,213 @@
1
+ import * as React from "react";
2
+ import { Select } from "@base-ui/react/select";
3
+
4
+ //#region src/components/Select.d.ts
5
+ type SelectProps<Value = unknown> = Select.Root.Props<Value>;
6
+ interface SelectTriggerProps extends Omit<Select.Trigger.Props, "className"> {
7
+ className?: string;
8
+ /**
9
+ * The size of the select trigger.
10
+ * @default 'default'
11
+ */
12
+ size?: "sm" | "md" | "default";
13
+ }
14
+ interface SelectValueProps extends Omit<Select.Value.Props, "children"> {
15
+ placeholder?: string;
16
+ children?: Select.Value.Props["children"];
17
+ }
18
+ interface SelectIconProps extends Omit<Select.Icon.Props, "className"> {
19
+ className?: string;
20
+ }
21
+ interface SelectPortalProps extends Select.Portal.Props {}
22
+ interface SelectBackdropProps extends Omit<Select.Backdrop.Props, "className"> {
23
+ className?: string;
24
+ }
25
+ interface SelectPositionerProps extends Select.Positioner.Props {}
26
+ interface SelectPopupProps extends Omit<Select.Popup.Props, "className"> {
27
+ className?: string;
28
+ }
29
+ interface SelectListProps extends Omit<Select.List.Props, "className"> {
30
+ className?: string;
31
+ }
32
+ interface SelectItemProps extends Omit<Select.Item.Props, "className"> {
33
+ className?: string;
34
+ }
35
+ interface SelectItemTextProps extends Omit<Select.ItemText.Props, "className"> {
36
+ className?: string;
37
+ }
38
+ interface SelectItemIndicatorProps extends Omit<Select.ItemIndicator.Props, "className"> {
39
+ className?: string;
40
+ }
41
+ interface SelectGroupProps extends Omit<Select.Group.Props, "className"> {
42
+ className?: string;
43
+ label?: string;
44
+ }
45
+ interface SelectGroupLabelProps extends Omit<Select.GroupLabel.Props, "className"> {
46
+ className?: string;
47
+ }
48
+ interface SelectSeparatorProps extends Omit<Select.Separator.Props, "className"> {
49
+ className?: string;
50
+ }
51
+ interface SelectScrollUpArrowProps extends Omit<Select.ScrollUpArrow.Props, "className"> {
52
+ className?: string;
53
+ }
54
+ interface SelectScrollDownArrowProps extends Omit<Select.ScrollDownArrow.Props, "className"> {
55
+ className?: string;
56
+ }
57
+ /**
58
+ * A select component for choosing from a list of options.
59
+ *
60
+ * @example
61
+ * ```tsx
62
+ * <Select.Root defaultValue="option1">
63
+ * <Select.Trigger>
64
+ * <Select.Value placeholder="Select..." />
65
+ * <Select.Icon />
66
+ * </Select.Trigger>
67
+ * <Select.Portal>
68
+ * <Select.Positioner>
69
+ * <Select.Popup>
70
+ * <Select.List>
71
+ * <Select.Item value="option1"><Select.ItemText>Option 1</Select.ItemText></Select.Item>
72
+ * <Select.Item value="option2"><Select.ItemText>Option 2</Select.ItemText></Select.Item>
73
+ * </Select.List>
74
+ * </Select.Popup>
75
+ * </Select.Positioner>
76
+ * </Select.Portal>
77
+ * </Select.Root>
78
+ * ```
79
+ *
80
+ * @see {@link https://base-ui.com/react/components/select | Base UI Select}
81
+ */
82
+ declare function SelectRoot<Value>(props: SelectProps<Value>): React.JSX.Element;
83
+ declare function SelectTrigger({
84
+ size,
85
+ className,
86
+ ref,
87
+ ...props
88
+ }: SelectTriggerProps & {
89
+ ref?: React.Ref<HTMLButtonElement>;
90
+ }): React.JSX.Element;
91
+ declare function SelectValue({
92
+ placeholder,
93
+ children,
94
+ ref,
95
+ ...props
96
+ }: SelectValueProps & {
97
+ ref?: React.Ref<HTMLSpanElement>;
98
+ }): React.JSX.Element;
99
+ declare function SelectIcon({
100
+ className,
101
+ children,
102
+ ref,
103
+ ...props
104
+ }: SelectIconProps): React.JSX.Element;
105
+ declare function SelectBackdrop({
106
+ className,
107
+ ref,
108
+ ...props
109
+ }: SelectBackdropProps): React.JSX.Element;
110
+ declare function SelectPositioner({
111
+ className,
112
+ ref,
113
+ ...props
114
+ }: SelectPositionerProps & {
115
+ className?: string;
116
+ } & {
117
+ ref?: React.Ref<HTMLDivElement>;
118
+ }): React.JSX.Element;
119
+ declare function SelectPopup({
120
+ className,
121
+ ref,
122
+ ...props
123
+ }: SelectPopupProps & {
124
+ ref?: React.Ref<HTMLDivElement>;
125
+ }): React.JSX.Element;
126
+ declare function SelectList({
127
+ className,
128
+ ref,
129
+ ...props
130
+ }: SelectListProps & {
131
+ ref?: React.Ref<HTMLDivElement>;
132
+ }): React.JSX.Element;
133
+ declare function SelectItem({
134
+ className,
135
+ value,
136
+ ref,
137
+ ...props
138
+ }: SelectItemProps & {
139
+ ref?: React.Ref<HTMLDivElement>;
140
+ }): React.JSX.Element;
141
+ declare function SelectItemText({
142
+ className,
143
+ ref,
144
+ ...props
145
+ }: SelectItemTextProps): React.JSX.Element;
146
+ declare function SelectItemIndicator({
147
+ className,
148
+ children,
149
+ ref,
150
+ ...props
151
+ }: SelectItemIndicatorProps): React.JSX.Element;
152
+ declare function SelectGroup({
153
+ label,
154
+ className,
155
+ children,
156
+ ref,
157
+ ...props
158
+ }: SelectGroupProps & {
159
+ ref?: React.Ref<HTMLDivElement>;
160
+ }): React.JSX.Element;
161
+ declare function SelectGroupLabel({
162
+ className,
163
+ ref,
164
+ ...props
165
+ }: SelectGroupLabelProps & {
166
+ ref?: React.Ref<HTMLDivElement>;
167
+ }): React.JSX.Element;
168
+ declare function SelectSeparator({
169
+ className,
170
+ ref,
171
+ ...props
172
+ }: SelectSeparatorProps & {
173
+ ref?: React.Ref<HTMLDivElement>;
174
+ }): React.JSX.Element;
175
+ declare function SelectScrollUpArrow({
176
+ className,
177
+ children,
178
+ ref,
179
+ ...props
180
+ }: SelectScrollUpArrowProps & {
181
+ ref?: React.Ref<HTMLDivElement>;
182
+ }): React.JSX.Element;
183
+ declare function SelectScrollDownArrow({
184
+ className,
185
+ children,
186
+ ref,
187
+ ...props
188
+ }: SelectScrollDownArrowProps & {
189
+ ref?: React.Ref<HTMLDivElement>;
190
+ }): React.JSX.Element;
191
+ declare const Select$1: {
192
+ Root: typeof SelectRoot;
193
+ Label: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SelectLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
194
+ Trigger: typeof SelectTrigger;
195
+ Value: typeof SelectValue;
196
+ Icon: typeof SelectIcon;
197
+ Portal: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SelectPortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
198
+ Backdrop: typeof SelectBackdrop;
199
+ Positioner: typeof SelectPositioner;
200
+ Popup: typeof SelectPopup;
201
+ Arrow: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SelectArrowProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
202
+ List: typeof SelectList;
203
+ Item: typeof SelectItem;
204
+ ItemText: typeof SelectItemText;
205
+ ItemIndicator: typeof SelectItemIndicator;
206
+ Separator: typeof SelectSeparator;
207
+ Group: typeof SelectGroup;
208
+ GroupLabel: typeof SelectGroupLabel;
209
+ ScrollUpArrow: typeof SelectScrollUpArrow;
210
+ ScrollDownArrow: typeof SelectScrollDownArrow;
211
+ };
212
+ //#endregion
213
+ export { SelectTriggerProps as _, SelectIconProps as a, SelectItemTextProps as c, SelectPortalProps as d, SelectPositionerProps as f, SelectSeparatorProps as g, SelectScrollUpArrowProps as h, SelectGroupProps as i, SelectListProps as l, SelectScrollDownArrowProps as m, SelectBackdropProps as n, SelectItemIndicatorProps as o, SelectProps as p, SelectGroupLabelProps as r, SelectItemProps as s, Select$1 as t, SelectPopupProps as u, SelectValueProps as v };
@@ -20,8 +20,6 @@ interface TabProps extends Omit<Tabs.Tab.Props, "className"> {
20
20
  interface TabPanelProps extends Omit<Tabs.Panel.Props, "className"> {
21
21
  className?: string;
22
22
  }
23
- type TabsTriggerProps = TabProps;
24
- type TabsContentProps = TabPanelProps;
25
23
  interface TabsListVariantsOptions {
26
24
  variant?: "default" | "line" | null;
27
25
  className?: string;
@@ -47,7 +45,7 @@ declare function tabsListVariants({
47
45
  *
48
46
  * @see {@link https://base-ui.com/react/components/tabs | Base UI Tabs}
49
47
  */
50
- declare function Tabs$1({
48
+ declare function TabsRoot({
51
49
  orientation,
52
50
  variant,
53
51
  className,
@@ -78,7 +76,12 @@ declare function TabPanel({
78
76
  }: TabPanelProps & {
79
77
  ref?: React.Ref<HTMLDivElement>;
80
78
  }): React.JSX.Element;
81
- declare const TabsTrigger: typeof Tab;
82
- declare const TabsContent: typeof TabPanel;
79
+ declare const Tabs$1: {
80
+ Root: typeof TabsRoot;
81
+ List: typeof TabsList;
82
+ Tab: typeof Tab;
83
+ Indicator: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").TabsIndicatorProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
84
+ Panel: typeof TabPanel;
85
+ };
83
86
  //#endregion
84
- export { Tabs$1 as a, TabsList as c, TabsProps as d, TabsTrigger as f, TabProps as i, TabsListProps as l, tabsListVariants as m, TabPanel as n, TabsContent as o, TabsTriggerProps as p, TabPanelProps as r, TabsContentProps as s, Tab as t, TabsListVariantsOptions as u };
87
+ export { TabsListVariantsOptions as a, TabsListProps as i, TabProps as n, TabsProps as o, Tabs$1 as r, tabsListVariants as s, TabPanelProps as t };