@mcp-b/react-components 0.35.0 → 0.36.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 (133) hide show
  1. package/dist/{AgentChat-mpacmRU1.d.ts → AgentChat-CVO7xyLC.d.ts} +1 -1
  2. package/dist/{CodeBlock-CM5gfmdq.js → CodeBlock-Bk4nn7l-.js} +4 -3
  3. package/dist/{CodeBlock-DzGhYyNe.d.ts → CodeBlock-C380GD5t.d.ts} +2 -5
  4. package/dist/{Dialog-DeOSJ0Oy.d.ts → Dialog-B_FhRWaz.d.ts} +22 -37
  5. package/dist/{Menu-DVmjBIuM.d.ts → Menu-yb6QXWA3.d.ts} +64 -75
  6. package/dist/{PromptInput-DOyee1kM.d.ts → PromptInput-BRX7FhjH.d.ts} +7 -272
  7. package/dist/ResponsiveSidebarShell-DWjULskY.d.ts +68 -0
  8. package/dist/{Select-D96d09ww.d.ts → Select-RrceeEIe.d.ts} +17 -52
  9. package/dist/{ThinkChat-DbzqSTBt.js → ThinkChat-ByR-QT_D.js} +5 -7
  10. package/dist/{ThinkChatActivity-BZyN5MBg.d.ts → ThinkChatActivity-Dkmm2pIj.d.ts} +1 -1
  11. package/dist/{ToggleGroup-CSBWfPXo.d.ts → ToggleGroup-BrQZOQn_.d.ts} +4 -6
  12. package/dist/{WorkspaceFile-CVAzjTt6.d.ts → WorkspaceFile-BLaFmMrt.d.ts} +1 -1
  13. package/dist/{WorkspaceFileView-BmxSbhRu.js → WorkspaceFileView-DTHJLKW_.js} +9 -15
  14. package/dist/components/agents-sdk/AgentChat.d.ts +1 -1
  15. package/dist/components/agents-sdk/AgentChat.js +27 -21
  16. package/dist/components/agents-sdk/BrowserLiveView.d.ts +47 -1
  17. package/dist/components/agents-sdk/BrowserReplay.d.ts +40 -1
  18. package/dist/components/agents-sdk/McpConnectionRequest.js +13 -14
  19. package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -1
  20. package/dist/components/agents-sdk/McpPluginCatalog.js +16 -23
  21. package/dist/components/agents-sdk/McpServerPicker.d.ts +2 -2
  22. package/dist/components/agents-sdk/McpServerPicker.js +18 -16
  23. package/dist/components/agents-sdk/ModelSelector.d.ts +9 -9
  24. package/dist/components/agents-sdk/ModelSelector.js +504 -1
  25. package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
  26. package/dist/components/agents-sdk/ThinkChat.d.ts +17 -107
  27. package/dist/components/agents-sdk/ThinkChat.js +2 -12
  28. package/dist/components/agents-sdk/ThinkChatActivity.d.ts +2 -4
  29. package/dist/components/agents-sdk/ThinkChatActivity.js +1 -1
  30. package/dist/components/agents-sdk/ThinkChatToolPanels.js +1 -1
  31. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +1 -1
  32. package/dist/components/agents-sdk/ThinkFullApp.d.ts +4 -4
  33. package/dist/components/agents-sdk/ThinkFullApp.js +7 -11
  34. package/dist/components/agents-sdk/ThinkFullAppViewSwitch.d.ts +1 -1
  35. package/dist/components/agents-sdk/ThinkRoutineForm.js +1 -1
  36. package/dist/components/agents-sdk/ThinkRoutineLibrary.d.ts +2 -3
  37. package/dist/components/agents-sdk/ThinkRoutineLibrary.js +1 -1
  38. package/dist/components/agents-sdk/ThinkThreadPicker.js +2 -3
  39. package/dist/components/agents-sdk/ThinkThreadShell.d.ts +1 -1
  40. package/dist/components/agents-sdk/Workspace.d.ts +140 -2
  41. package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
  42. package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +32 -5
  43. package/dist/components/agents-sdk/WorkspaceExplorer.js +3 -5
  44. package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
  45. package/dist/components/agents-sdk/WorkspaceFileView.d.ts +1 -1
  46. package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
  47. package/dist/components/ai-sdk/Activity.d.ts +5 -0
  48. package/dist/components/ai-sdk/Activity.js +33 -13
  49. package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
  50. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  51. package/dist/components/ai-sdk/Message.js +1 -5
  52. package/dist/components/ai-sdk/MessageScroller.d.ts +5 -0
  53. package/dist/components/ai-sdk/MessageScroller.js +18 -12
  54. package/dist/components/ai-sdk/MessageScrollerVirtual.js +18 -10
  55. package/dist/components/ai-sdk/PromptInput.d.ts +2 -2
  56. package/dist/components/ai-sdk/PromptInput.js +123 -126
  57. package/dist/components/ai-sdk/Queue.js +1 -1
  58. package/dist/components/ai-sdk/Reasoning.d.ts +3 -4
  59. package/dist/components/ai-sdk/Reasoning.js +29 -13
  60. package/dist/components/ai-sdk/ToolInvocation.d.ts +3 -5
  61. package/dist/components/extension/ChatGptSignInScreen.js +2 -2
  62. package/dist/components/extension/CodexModelSelector.d.ts +1 -1
  63. package/dist/components/foundations/Accordion.d.ts +1 -3
  64. package/dist/components/foundations/Accordion.js +1 -3
  65. package/dist/components/foundations/AlertDialog.d.ts +16 -36
  66. package/dist/components/foundations/Autocomplete.d.ts +12 -33
  67. package/dist/components/foundations/Autocomplete.js +2 -1
  68. package/dist/components/foundations/Combobox.d.ts +119 -2
  69. package/dist/components/foundations/Combobox.js +6 -23
  70. package/dist/components/foundations/ContextMenu.d.ts +50 -57
  71. package/dist/components/foundations/ContextMenu.js +4 -28
  72. package/dist/components/foundations/DescriptionList.d.ts +34 -2
  73. package/dist/components/foundations/DescriptionList.js +33 -2
  74. package/dist/components/foundations/Dialog.d.ts +1 -1
  75. package/dist/components/foundations/Dialog.js +2 -1
  76. package/dist/components/foundations/Menu.d.ts +1 -1
  77. package/dist/components/foundations/Menu.js +3 -21
  78. package/dist/components/foundations/Menubar.d.ts +35 -64
  79. package/dist/components/foundations/Menubar.js +3 -22
  80. package/dist/components/foundations/Popover.d.ts +8 -21
  81. package/dist/components/foundations/Popover.js +3 -48
  82. package/dist/components/foundations/PreviewCard.d.ts +44 -29
  83. package/dist/components/foundations/PreviewCard.js +3 -6
  84. package/dist/components/foundations/RadioGroup.d.ts +4 -6
  85. package/dist/components/foundations/Select.d.ts +1 -1
  86. package/dist/components/foundations/Select.js +7 -21
  87. package/dist/components/foundations/Slider.d.ts +31 -44
  88. package/dist/components/foundations/Slider.js +26 -25
  89. package/dist/components/foundations/Stepper.d.ts +3 -3
  90. package/dist/components/foundations/Stepper.js +5 -6
  91. package/dist/components/foundations/ToggleGroup.d.ts +1 -1
  92. package/dist/components/foundations/Tooltip.d.ts +6 -8
  93. package/dist/components/foundations/Tooltip.js +4 -3
  94. package/dist/components/general-purpose/Commit.js +1 -1
  95. package/dist/components/general-purpose/EnvironmentVariables.js +1 -1
  96. package/dist/components/general-purpose/PricingBillingToggle.d.ts +2 -3
  97. package/dist/components/general-purpose/PricingBillingToggle.js +4 -22
  98. package/dist/components/general-purpose/PricingPage.d.ts +3 -4
  99. package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -67
  100. package/dist/components/general-purpose/SettingsFormDialog.d.ts +7 -2
  101. package/dist/components/general-purpose/SettingsFormDialog.js +17 -2
  102. package/dist/components/general-purpose/Terminal.js +3 -3
  103. package/dist/components/general-purpose/ThemeModeControl.js +1 -1
  104. package/dist/components/general-purpose/WebPreview.js +4 -4
  105. package/dist/components/nanites/AgentConnection.js +16 -11
  106. package/dist/components/nanites/AgentToolDetail.js +1 -1
  107. package/dist/{mcp-server-U71zhxFF.js → mcp-server-SD_S-IpB.js} +18 -2
  108. package/dist/message-scroller-C8cplcQO.js +32 -0
  109. package/dist/provider-logos-zjZycgV6.js +74 -0
  110. package/dist/styles/agent-chat.css +9 -0
  111. package/dist/styles/agent-connection.css +4 -31
  112. package/dist/styles/alert-dialog.css +0 -2
  113. package/dist/styles/base-ui-motion.css +7 -5
  114. package/dist/styles/chatgpt-sign-in-screen.css +5 -3
  115. package/dist/styles/dialog.css +0 -2
  116. package/dist/styles/model-selector.css +30 -12
  117. package/dist/styles/popover.css +0 -1
  118. package/dist/styles/preview-card.css +0 -4
  119. package/dist/styles/pricing-page.css +1 -13
  120. package/dist/styles/prompt-input.css +12 -10
  121. package/dist/styles/recipes.css +22 -14
  122. package/dist/styles/slider.css +2 -2
  123. package/dist/styles/tooltip.css +0 -1
  124. package/dist/utils/structured-code.d.ts +1 -1
  125. package/package.json +17 -7
  126. package/dist/BrowserLiveView-tJTWkoyu.d.ts +0 -48
  127. package/dist/BrowserReplay-B0BQZr-N.d.ts +0 -41
  128. package/dist/Combobox-WrrDDaEv.d.ts +0 -154
  129. package/dist/ModelSelector-DtBxWqRn.js +0 -504
  130. package/dist/Workspace-GTlqvcIn.d.ts +0 -278
  131. package/dist/WorkspaceExplorer-Cu044amt.d.ts +0 -32
  132. package/dist/components/foundations/DescriptionListParts.d.ts +0 -37
  133. package/dist/components/foundations/DescriptionListParts.js +0 -35
@@ -1,8 +1,6 @@
1
1
  import { r as ButtonProps } from "./Button-CZt3yywF.js";
2
- import { _ as SelectSeparatorProps, a as SelectIconProps, c as SelectItemTextProps, d as SelectPopupProps, g as SelectScrollUpArrowProps, h as SelectScrollDownArrowProps, i as SelectGroupProps, l as SelectLabelProps, m as SelectProps, n as SelectBackdropProps, o as SelectItemIndicatorProps, p as SelectPositionerProps, r as SelectGroupLabelProps, s as SelectItemProps, t as Select, u as SelectListProps, v as SelectTriggerProps, y as SelectValueProps } from "./Select-D96d09ww.js";
3
- import { a as TabsListProps, n as TabProps, r as Tabs, t as TabPanelProps } from "./Tabs-Ptrbaynh.js";
4
- import { t as Combobox } from "./Combobox-WrrDDaEv.js";
5
- import { d as MenuProps, s as MenuItemProps, t as Menu } from "./Menu-DVmjBIuM.js";
2
+ import { d as MenuProps, s as MenuItemProps, t as Menu } from "./Menu-yb6QXWA3.js";
3
+ import { a as TabsListProps, n as TabProps, t as TabPanelProps } from "./Tabs-Ptrbaynh.js";
6
4
  import * as React from "react";
7
5
  import { ChatStatus, FileUIPart } from "ai";
8
6
 
@@ -71,7 +69,7 @@ interface PromptInputProps extends Omit<React.FormHTMLAttributes<HTMLFormElement
71
69
  * Adapted from Vercel AI Elements and restyled with Sigvelo CSS tokens.
72
70
  *
73
71
  * Use for assistant/chat submit forms. Do not use it as a generic textarea or
74
- * non-chat form. Sigvelo changes: uses shared Menu, Select, Combobox, Tabs,
72
+ * non-chat form. Sigvelo changes: uses shared Menu, Autocomplete, Tabs,
75
73
  * Button, and Tooltip components; maps styles to CSS tokens; and adds local
76
74
  * attachment helpers.
77
75
  *
@@ -372,125 +370,6 @@ declare function PromptInputSubmit({
372
370
  }: PromptInputSubmitProps & {
373
371
  ref?: React.Ref<HTMLButtonElement>;
374
372
  }): React.JSX.Element;
375
- type PromptInputSelectProps = React.ComponentProps<typeof Select.Root>;
376
- declare const PromptInputSelect: {
377
- Root: <Value>(props: SelectProps<Value>) => React.JSX.Element;
378
- Label: ({
379
- className,
380
- ref,
381
- ...props
382
- }: SelectLabelProps & {
383
- ref?: React.Ref<HTMLDivElement>;
384
- }) => React.JSX.Element;
385
- Trigger: ({
386
- size,
387
- className,
388
- ref,
389
- ...props
390
- }: SelectTriggerProps & {
391
- ref?: React.Ref<HTMLButtonElement>;
392
- }) => React.JSX.Element;
393
- Value: ({
394
- placeholder,
395
- children,
396
- ref,
397
- ...props
398
- }: SelectValueProps & {
399
- ref?: React.Ref<HTMLSpanElement>;
400
- }) => React.JSX.Element;
401
- Icon: ({
402
- className,
403
- children,
404
- ref,
405
- ...props
406
- }: SelectIconProps) => React.JSX.Element;
407
- Portal: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SelectPortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
408
- Backdrop: ({
409
- className,
410
- ref,
411
- ...props
412
- }: SelectBackdropProps) => React.JSX.Element;
413
- Positioner: ({
414
- className,
415
- ref,
416
- ...props
417
- }: SelectPositionerProps & {
418
- ref?: React.Ref<HTMLDivElement>;
419
- }) => React.JSX.Element;
420
- Popup: ({
421
- className,
422
- ref,
423
- ...props
424
- }: SelectPopupProps & {
425
- ref?: React.Ref<HTMLDivElement>;
426
- }) => React.JSX.Element;
427
- Arrow: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SelectArrowProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
428
- List: ({
429
- className,
430
- ref,
431
- ...props
432
- }: SelectListProps & {
433
- ref?: React.Ref<HTMLDivElement>;
434
- }) => React.JSX.Element;
435
- Item: ({
436
- className,
437
- value,
438
- ref,
439
- ...props
440
- }: SelectItemProps & {
441
- ref?: React.Ref<HTMLDivElement>;
442
- }) => React.JSX.Element;
443
- ItemText: ({
444
- className,
445
- ref,
446
- ...props
447
- }: SelectItemTextProps) => React.JSX.Element;
448
- ItemIndicator: ({
449
- className,
450
- children,
451
- ref,
452
- ...props
453
- }: SelectItemIndicatorProps) => React.JSX.Element;
454
- Separator: ({
455
- className,
456
- ref,
457
- ...props
458
- }: SelectSeparatorProps & {
459
- ref?: React.Ref<HTMLDivElement>;
460
- }) => React.JSX.Element;
461
- Group: ({
462
- label,
463
- className,
464
- children,
465
- ref,
466
- ...props
467
- }: SelectGroupProps & {
468
- ref?: React.Ref<HTMLDivElement>;
469
- }) => React.JSX.Element;
470
- GroupLabel: ({
471
- className,
472
- ref,
473
- ...props
474
- }: SelectGroupLabelProps & {
475
- ref?: React.Ref<HTMLDivElement>;
476
- }) => React.JSX.Element;
477
- ScrollUpArrow: ({
478
- className,
479
- children,
480
- ref,
481
- ...props
482
- }: SelectScrollUpArrowProps & {
483
- ref?: React.Ref<HTMLDivElement>;
484
- }) => React.JSX.Element;
485
- ScrollDownArrow: ({
486
- className,
487
- children,
488
- ref,
489
- ...props
490
- }: SelectScrollDownArrowProps & {
491
- ref?: React.Ref<HTMLDivElement>;
492
- }) => React.JSX.Element;
493
- };
494
373
  interface PromptInputHoverCardProps extends React.HTMLAttributes<HTMLDivElement> {
495
374
  openDelay?: number;
496
375
  closeDelay?: number;
@@ -527,7 +406,7 @@ declare function PromptInputHoverCardContent({
527
406
  }: PromptInputHoverCardContentProps & {
528
407
  ref?: React.Ref<HTMLDivElement>;
529
408
  }): React.JSX.Element | null;
530
- type PromptInputTabsListProps = React.ComponentPropsWithoutRef<typeof Tabs.List>;
409
+ type PromptInputTabsListProps = TabsListProps;
531
410
  declare const PromptInputTabsList: ({
532
411
  className,
533
412
  variant,
@@ -537,7 +416,7 @@ declare const PromptInputTabsList: ({
537
416
  }: TabsListProps & {
538
417
  ref?: React.Ref<HTMLDivElement>;
539
418
  }) => React.JSX.Element;
540
- type PromptInputTabProps = React.ComponentPropsWithoutRef<typeof Tabs.Tab>;
419
+ type PromptInputTabProps = TabProps;
541
420
  declare const PromptInputTab: ({
542
421
  className,
543
422
  unstyled,
@@ -546,7 +425,7 @@ declare const PromptInputTab: ({
546
425
  }: TabProps & {
547
426
  ref?: React.Ref<HTMLButtonElement>;
548
427
  }) => React.JSX.Element;
549
- type PromptInputTabBodyProps = React.ComponentPropsWithoutRef<typeof Tabs.Panel>;
428
+ type PromptInputTabBodyProps = TabPanelProps;
550
429
  declare const PromptInputTabBody: ({
551
430
  className,
552
431
  unstyled,
@@ -571,150 +450,6 @@ declare function PromptInputTabItem({
571
450
  }: PromptInputTabItemProps & {
572
451
  ref?: React.Ref<HTMLDivElement>;
573
452
  }): React.JSX.Element;
574
- type PromptInputCommandProps = React.ComponentPropsWithoutRef<typeof Combobox.Root>;
575
- declare const PromptInputCommand: {
576
- Root: typeof import("@base-ui/react").ComboboxRoot;
577
- InputGroup: ({
578
- className,
579
- ref,
580
- ...props
581
- }: React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxInputGroup> & {
582
- ref?: React.Ref<HTMLDivElement>;
583
- }) => React.JSX.Element;
584
- Input: ({
585
- className,
586
- ref,
587
- ...props
588
- }: React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxInput> & {
589
- ref?: React.Ref<HTMLInputElement>;
590
- }) => React.JSX.Element;
591
- Trigger: ({
592
- className,
593
- ref,
594
- ...props
595
- }: React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxTrigger> & {
596
- ref?: React.Ref<HTMLButtonElement>;
597
- }) => React.JSX.Element;
598
- Clear: ({
599
- className,
600
- ref,
601
- ...props
602
- }: React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxClear> & {
603
- ref?: React.Ref<HTMLButtonElement>;
604
- }) => React.JSX.Element;
605
- Portal: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AutocompletePortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
606
- Positioner: ({
607
- className,
608
- ref,
609
- ...props
610
- }: React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxPositioner> & {
611
- ref?: React.Ref<HTMLDivElement>;
612
- }) => React.JSX.Element;
613
- Popup: ({
614
- className,
615
- ref,
616
- ...props
617
- }: React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxPopup> & {
618
- ref?: React.Ref<HTMLDivElement>;
619
- }) => React.JSX.Element;
620
- List: ({
621
- className,
622
- ref,
623
- ...props
624
- }: React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxList> & {
625
- ref?: React.Ref<HTMLDivElement>;
626
- }) => React.JSX.Element;
627
- Item: ({
628
- className,
629
- ref,
630
- ...props
631
- }: React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxItem> & {
632
- ref?: React.Ref<HTMLDivElement>;
633
- }) => React.JSX.Element;
634
- ItemIndicator: ({
635
- className,
636
- ref,
637
- ...props
638
- }: React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxItemIndicator> & {
639
- ref?: React.Ref<HTMLSpanElement>;
640
- }) => React.JSX.Element;
641
- Empty: ({
642
- className,
643
- ref,
644
- ...props
645
- }: React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxEmpty> & {
646
- ref?: React.Ref<HTMLDivElement>;
647
- }) => React.JSX.Element;
648
- Group: ({
649
- className,
650
- ref,
651
- ...props
652
- }: React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxGroup> & {
653
- ref?: React.Ref<HTMLDivElement>;
654
- }) => React.JSX.Element;
655
- GroupLabel: ({
656
- className,
657
- ref,
658
- ...props
659
- }: React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxGroupLabel> & {
660
- ref?: React.Ref<HTMLDivElement>;
661
- }) => React.JSX.Element;
662
- Value: typeof import("@base-ui/react").ComboboxValue;
663
- Chips: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").ComboboxChipsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
664
- Chip: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").ComboboxChipProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
665
- Collection: typeof import("@base-ui/react").ComboboxCollection;
666
- Separator: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
667
- };
668
- type PromptInputCommandInputProps = React.ComponentPropsWithoutRef<typeof Combobox.Input>;
669
- declare const PromptInputCommandInput: ({
670
- className,
671
- ref,
672
- ...props
673
- }: React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxInput> & {
674
- ref?: React.Ref<HTMLInputElement>;
675
- }) => React.JSX.Element;
676
- type PromptInputCommandListProps = React.ComponentPropsWithoutRef<typeof Combobox.List>;
677
- declare function PromptInputCommandList({
678
- className,
679
- ref,
680
- ...props
681
- }: PromptInputCommandListProps & {
682
- ref?: React.Ref<HTMLDivElement>;
683
- }): React.JSX.Element;
684
- type PromptInputCommandEmptyProps = React.ComponentPropsWithoutRef<typeof Combobox.Empty>;
685
- declare const PromptInputCommandEmpty: ({
686
- className,
687
- ref,
688
- ...props
689
- }: React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxEmpty> & {
690
- ref?: React.Ref<HTMLDivElement>;
691
- }) => React.JSX.Element;
692
- type PromptInputCommandGroupProps = React.ComponentPropsWithoutRef<typeof Combobox.Group>;
693
- declare const PromptInputCommandGroup: ({
694
- className,
695
- ref,
696
- ...props
697
- }: React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxGroup> & {
698
- ref?: React.Ref<HTMLDivElement>;
699
- }) => React.JSX.Element;
700
- type PromptInputCommandGroupLabelProps = React.ComponentPropsWithoutRef<typeof Combobox.GroupLabel>;
701
- declare const PromptInputCommandGroupLabel: ({
702
- className,
703
- ref,
704
- ...props
705
- }: React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxGroupLabel> & {
706
- ref?: React.Ref<HTMLDivElement>;
707
- }) => React.JSX.Element;
708
- type PromptInputCommandItemProps = React.ComponentPropsWithoutRef<typeof Combobox.Item>;
709
- declare const PromptInputCommandItem: ({
710
- className,
711
- ref,
712
- ...props
713
- }: React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxItem> & {
714
- ref?: React.Ref<HTMLDivElement>;
715
- }) => React.JSX.Element;
716
- type PromptInputCommandSeparatorProps = React.ComponentPropsWithoutRef<typeof Combobox.Separator>;
717
- declare const PromptInputCommandSeparator: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
718
453
  interface PromptInputCommandDefinition {
719
454
  /** Stable identity for keyed rendering. */
720
455
  id: string;
@@ -810,4 +545,4 @@ declare function PromptInputContextSelector({
810
545
  action
811
546
  }: PromptInputContextSelectorProps): React.JSX.Element;
812
547
  //#endregion
813
- export { PromptInputFooterProps as $, PromptInputCommandEmptyProps as A, PromptInputTabsListProps as At, PromptInputCommandListProps as B, TooltipSide as Bt, PromptInputButtonProps as C, PromptInputTabBodyProps as Ct, PromptInputCommandComposerProps as D, PromptInputTabLabelProps as Dt, PromptInputCommandComposer as E, PromptInputTabLabel as Et, PromptInputCommandInput as F, PromptInputTooltipConfig as Ft, PromptInputContextAction as G, PromptInputCommandSeparator as H, usePromptInputController as Ht, PromptInputCommandInputProps as I, PromptInputTray as It, PromptInputContextSelectorProps as J, PromptInputContextItem as K, PromptInputCommandItem as L, PromptInputTrayProps as Lt, PromptInputCommandGroupLabel as M, PromptInputTextareaProps as Mt, PromptInputCommandGroupLabelProps as N, PromptInputTools as Nt, PromptInputCommandDefinition as O, PromptInputTabProps as Ot, PromptInputCommandGroupProps as P, PromptInputToolsProps as Pt, PromptInputFooter as Q, PromptInputCommandItemProps as R, PromptInputVoiceInput as Rt, PromptInputButton as S, PromptInputTabBody as St, PromptInputCommand as T, PromptInputTabItemProps as Tt, PromptInputCommandSeparatorProps as U, useProviderAttachments as Ut, PromptInputCommandProps as V, usePromptInputAttachments as Vt, PromptInputCommandTrigger as W, PromptInputDictation as X, PromptInputControllerProps as Y, PromptInputDictationProps as Z, PromptInputAttachmentProps as _, PromptInputSelect as _t, PromptInputActionAddAttachmentsProps as a, PromptInputHoverCardProps as at, PromptInputBody as b, PromptInputSubmitProps as bt, PromptInputActionMenu as c, PromptInputMessage as ct, PromptInputActionMenuItem as d, PromptInputProps as dt, PromptInputHeader as et, PromptInputActionMenuItemProps as f, PromptInputProvider as ft, PromptInputAttachment as g, PromptInputReferencesProps as gt, PromptInputActionMenuTriggerProps as h, PromptInputReferences as ht, PromptInputActionAddAttachments as i, PromptInputHoverCardContentProps as it, PromptInputCommandGroup as j, PromptInputTextarea as jt, PromptInputCommandEmpty as k, PromptInputTabsList as kt, PromptInputActionMenuContent as l, PromptInputPermissionSelector as lt, PromptInputActionMenuTrigger as m, PromptInputReference as mt, PermissionMode as n, PromptInputHoverCard as nt, PromptInputActionAddScreenshot as o, PromptInputHoverCardTrigger as ot, PromptInputActionMenuProps as p, PromptInputProviderProps as pt, PromptInputContextSelector as q, PromptInput as r, PromptInputHoverCardContent as rt, PromptInputActionAddScreenshotProps as s, PromptInputHoverCardTriggerProps as st, AttachmentsContext as t, PromptInputHeaderProps as tt, PromptInputActionMenuContentProps as u, PromptInputPermissionSelectorProps as ut, PromptInputAttachments as v, PromptInputSelectProps as vt, PromptInputButtonTooltip as w, PromptInputTabItem as wt, PromptInputBodyProps as x, PromptInputTab as xt, PromptInputAttachmentsProps as y, PromptInputSubmit as yt, PromptInputCommandList as z, TextInputContext as zt };
548
+ export { PromptInputReferences as $, PromptInputContextItem as A, PromptInputHoverCard as B, PromptInputButtonProps as C, usePromptInputAttachments as Ct, PromptInputCommandDefinition as D, PromptInputCommandComposerProps as E, PromptInputDictationProps as F, PromptInputHoverCardTriggerProps as G, PromptInputHoverCardContentProps as H, PromptInputFooter as I, PromptInputPermissionSelectorProps as J, PromptInputMessage as K, PromptInputFooterProps as L, PromptInputContextSelectorProps as M, PromptInputControllerProps as N, PromptInputCommandTrigger as O, PromptInputDictation as P, PromptInputReference as Q, PromptInputHeader as R, PromptInputButton as S, TooltipSide as St, PromptInputCommandComposer as T, useProviderAttachments as Tt, PromptInputHoverCardProps as U, PromptInputHoverCardContent as V, PromptInputHoverCardTrigger as W, PromptInputProvider as X, PromptInputProps as Y, PromptInputProviderProps as Z, PromptInputAttachmentProps as _, PromptInputTooltipConfig as _t, PromptInputActionAddAttachmentsProps as a, PromptInputTabBodyProps as at, PromptInputBody as b, PromptInputVoiceInput as bt, PromptInputActionMenu as c, PromptInputTabLabel as ct, PromptInputActionMenuItem as d, PromptInputTabsList as dt, PromptInputReferencesProps as et, PromptInputActionMenuItemProps as f, PromptInputTabsListProps as ft, PromptInputAttachment as g, PromptInputToolsProps as gt, PromptInputActionMenuTriggerProps as h, PromptInputTools as ht, PromptInputActionAddAttachments as i, PromptInputTabBody as it, PromptInputContextSelector as j, PromptInputContextAction as k, PromptInputActionMenuContent as l, PromptInputTabLabelProps as lt, PromptInputActionMenuTrigger as m, PromptInputTextareaProps as mt, PermissionMode as n, PromptInputSubmitProps as nt, PromptInputActionAddScreenshot as o, PromptInputTabItem as ot, PromptInputActionMenuProps as p, PromptInputTextarea as pt, PromptInputPermissionSelector as q, PromptInput as r, PromptInputTab as rt, PromptInputActionAddScreenshotProps as s, PromptInputTabItemProps as st, AttachmentsContext as t, PromptInputSubmit as tt, PromptInputActionMenuContentProps as u, PromptInputTabProps as ut, PromptInputAttachments as v, PromptInputTray as vt, PromptInputButtonTooltip as w, usePromptInputController as wt, PromptInputBodyProps as x, TextInputContext as xt, PromptInputAttachmentsProps as y, PromptInputTrayProps as yt, PromptInputHeaderProps as z };
@@ -0,0 +1,68 @@
1
+ import * as React from "react";
2
+
3
+ //#region src/components/general-purpose/ResponsiveSidebarShell.d.ts
4
+ interface ResponsiveSidebarShellControls {
5
+ /** Close the sidebar and move focus to the main content. */
6
+ closeSidebar: () => void;
7
+ /** Close only when the shell is currently using its compact drawer layout. */
8
+ closeSidebarOnCompact: () => void;
9
+ }
10
+ interface ResponsiveSidebarShellTopBarControls {
11
+ /** The shell-owned, labelled sidebar toggle to place in a top-bar slot. */
12
+ sidebarToggle: React.ReactNode;
13
+ /** Stable id for a caller-composed compact disclosure trigger. */
14
+ sidebarId: string;
15
+ /** Whether the shared sidebar surface is currently visible. */
16
+ sidebarOpen: boolean;
17
+ /** Toggle the sidebar and remember the invoking control for Escape focus restoration. */
18
+ toggleSidebar: (trigger?: HTMLElement) => void;
19
+ }
20
+ interface ResponsiveSidebarShellProps extends React.HTMLAttributes<HTMLDivElement> {
21
+ /** Navigation or other secondary surface shown beside the selected content. */
22
+ sidebar: React.ReactNode | ((controls: ResponsiveSidebarShellControls) => React.ReactNode);
23
+ /**
24
+ * Optional composable application bar. The render form receives the
25
+ * shell-owned sidebar toggle so callers can place it beside their own icon
26
+ * groups without duplicating drawer behavior.
27
+ */
28
+ topBar?: React.ReactNode | ((controls: ResponsiveSidebarShellTopBarControls) => React.ReactNode);
29
+ /** Short noun used by the toggle and resize control, such as “threads” or “schedules”. */
30
+ sidebarLabel: string;
31
+ /** Whether the sidebar is open. Omit for internal state. */
32
+ sidebarOpen?: boolean;
33
+ /** Initial sidebar state when `sidebarOpen` is uncontrolled. */
34
+ defaultSidebarOpen?: boolean;
35
+ /** Initial desktop sidebar width in CSS pixels. */
36
+ defaultSidebarWidth?: number;
37
+ /** Called when the sidebar is opened or closed. */
38
+ onSidebarOpenChange?: (open: boolean) => void;
39
+ /** Accessible name for the toolbar containing the sidebar toggle. */
40
+ toolbarLabel?: string;
41
+ /** Accessible name for the mobile preview target that returns to the main content. */
42
+ showMainLabel?: string;
43
+ }
44
+ /**
45
+ * Responsive master-detail shell with a resizable desktop sidebar and a compact
46
+ * floating sidebar that leaves the main content in place as a dismiss target.
47
+ * The root exposes `data-sidebar-open="true" | "false"` as its public styling hook.
48
+ */
49
+ declare function ResponsiveSidebarShell({
50
+ sidebar,
51
+ topBar,
52
+ sidebarLabel,
53
+ sidebarOpen,
54
+ defaultSidebarOpen,
55
+ defaultSidebarWidth,
56
+ onSidebarOpenChange,
57
+ toolbarLabel,
58
+ showMainLabel,
59
+ className,
60
+ children,
61
+ ref,
62
+ style,
63
+ ...props
64
+ }: ResponsiveSidebarShellProps & {
65
+ ref?: React.Ref<HTMLDivElement>;
66
+ }): React.JSX.Element;
67
+ //#endregion
68
+ export { ResponsiveSidebarShellTopBarControls as i, ResponsiveSidebarShellControls as n, ResponsiveSidebarShellProps as r, ResponsiveSidebarShell as t };
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import { Select } from "@base-ui/react/select";
3
3
 
4
4
  //#region src/components/foundations/Select.d.ts
5
- type SelectProps<Value = unknown> = Select.Root.Props<Value>;
5
+ type SelectProps<Value = unknown, Multiple extends boolean | undefined = false> = Select.Root.Props<Value, Multiple>;
6
6
  interface SelectLabelProps extends Select.Label.Props {}
7
7
  interface SelectTriggerProps extends Select.Trigger.Props {
8
8
  /**
@@ -11,22 +11,17 @@ interface SelectTriggerProps extends Select.Trigger.Props {
11
11
  */
12
12
  size?: "sm" | "md";
13
13
  }
14
- interface SelectValueProps extends Omit<Select.Value.Props, "children"> {
15
- placeholder?: string;
16
- children?: Select.Value.Props["children"];
17
- }
14
+ interface SelectValueProps extends Select.Value.Props {}
18
15
  interface SelectIconProps extends Select.Icon.Props {}
19
16
  interface SelectPortalProps extends Select.Portal.Props {}
20
17
  interface SelectBackdropProps extends Select.Backdrop.Props {}
21
18
  interface SelectPositionerProps extends Select.Positioner.Props {}
22
19
  interface SelectPopupProps extends Select.Popup.Props {}
23
20
  interface SelectListProps extends Select.List.Props {}
24
- interface SelectItemProps extends Select.Item.Props {}
21
+ type SelectItemProps = React.ComponentPropsWithRef<typeof Select.Item>;
25
22
  interface SelectItemTextProps extends Select.ItemText.Props {}
26
23
  interface SelectItemIndicatorProps extends Select.ItemIndicator.Props {}
27
- interface SelectGroupProps extends Select.Group.Props {
28
- label?: string;
29
- }
24
+ interface SelectGroupProps extends Select.Group.Props {}
30
25
  interface SelectGroupLabelProps extends Select.GroupLabel.Props {}
31
26
  interface SelectSeparatorProps extends Select.Separator.Props {}
32
27
  interface SelectScrollUpArrowProps extends Select.ScrollUpArrow.Props {}
@@ -56,30 +51,21 @@ interface SelectScrollDownArrowProps extends Select.ScrollDownArrow.Props {}
56
51
  *
57
52
  * @see {@link https://base-ui.com/react/components/select | Base UI Select}
58
53
  */
59
- declare function SelectRoot<Value>(props: SelectProps<Value>): React.JSX.Element;
60
54
  declare function SelectLabel({
61
55
  className,
62
56
  ref,
63
57
  ...props
64
- }: SelectLabelProps & {
65
- ref?: React.Ref<HTMLDivElement>;
66
- }): React.JSX.Element;
58
+ }: SelectLabelProps): React.JSX.Element;
67
59
  declare function SelectTrigger({
68
60
  size,
69
61
  className,
70
62
  ref,
71
63
  ...props
72
- }: SelectTriggerProps & {
73
- ref?: React.Ref<HTMLButtonElement>;
74
- }): React.JSX.Element;
64
+ }: SelectTriggerProps): React.JSX.Element;
75
65
  declare function SelectValue({
76
- placeholder,
77
- children,
78
66
  ref,
79
67
  ...props
80
- }: SelectValueProps & {
81
- ref?: React.Ref<HTMLSpanElement>;
82
- }): React.JSX.Element;
68
+ }: SelectValueProps): React.JSX.Element;
83
69
  declare function SelectIcon({
84
70
  className,
85
71
  children,
@@ -95,31 +81,23 @@ declare function SelectPositioner({
95
81
  className,
96
82
  ref,
97
83
  ...props
98
- }: SelectPositionerProps & {
99
- ref?: React.Ref<HTMLDivElement>;
100
- }): React.JSX.Element;
84
+ }: SelectPositionerProps): React.JSX.Element;
101
85
  declare function SelectPopup({
102
86
  className,
103
87
  ref,
104
88
  ...props
105
- }: SelectPopupProps & {
106
- ref?: React.Ref<HTMLDivElement>;
107
- }): React.JSX.Element;
89
+ }: SelectPopupProps): React.JSX.Element;
108
90
  declare function SelectList({
109
91
  className,
110
92
  ref,
111
93
  ...props
112
- }: SelectListProps & {
113
- ref?: React.Ref<HTMLDivElement>;
114
- }): React.JSX.Element;
94
+ }: SelectListProps): React.JSX.Element;
115
95
  declare function SelectItem({
116
96
  className,
117
97
  value,
118
98
  ref,
119
99
  ...props
120
- }: SelectItemProps & {
121
- ref?: React.Ref<HTMLDivElement>;
122
- }): React.JSX.Element;
100
+ }: SelectItemProps): React.JSX.Element;
123
101
  declare function SelectItemText({
124
102
  className,
125
103
  ref,
@@ -132,46 +110,34 @@ declare function SelectItemIndicator({
132
110
  ...props
133
111
  }: SelectItemIndicatorProps): React.JSX.Element;
134
112
  declare function SelectGroup({
135
- label,
136
113
  className,
137
- children,
138
114
  ref,
139
115
  ...props
140
- }: SelectGroupProps & {
141
- ref?: React.Ref<HTMLDivElement>;
142
- }): React.JSX.Element;
116
+ }: SelectGroupProps): React.JSX.Element;
143
117
  declare function SelectGroupLabel({
144
118
  className,
145
119
  ref,
146
120
  ...props
147
- }: SelectGroupLabelProps & {
148
- ref?: React.Ref<HTMLDivElement>;
149
- }): React.JSX.Element;
121
+ }: SelectGroupLabelProps): React.JSX.Element;
150
122
  declare function SelectSeparator({
151
123
  className,
152
124
  ref,
153
125
  ...props
154
- }: SelectSeparatorProps & {
155
- ref?: React.Ref<HTMLDivElement>;
156
- }): React.JSX.Element;
126
+ }: SelectSeparatorProps): React.JSX.Element;
157
127
  declare function SelectScrollUpArrow({
158
128
  className,
159
129
  children,
160
130
  ref,
161
131
  ...props
162
- }: SelectScrollUpArrowProps & {
163
- ref?: React.Ref<HTMLDivElement>;
164
- }): React.JSX.Element;
132
+ }: SelectScrollUpArrowProps): React.JSX.Element;
165
133
  declare function SelectScrollDownArrow({
166
134
  className,
167
135
  children,
168
136
  ref,
169
137
  ...props
170
- }: SelectScrollDownArrowProps & {
171
- ref?: React.Ref<HTMLDivElement>;
172
- }): React.JSX.Element;
138
+ }: SelectScrollDownArrowProps): React.JSX.Element;
173
139
  declare const Select$1: {
174
- Root: typeof SelectRoot;
140
+ Root: typeof Select.Root;
175
141
  Label: typeof SelectLabel;
176
142
  Trigger: typeof SelectTrigger;
177
143
  Value: typeof SelectValue;
@@ -180,7 +146,6 @@ declare const Select$1: {
180
146
  Backdrop: typeof SelectBackdrop;
181
147
  Positioner: typeof SelectPositioner;
182
148
  Popup: typeof SelectPopup;
183
- Arrow: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SelectArrowProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
184
149
  List: typeof SelectList;
185
150
  Item: typeof SelectItem;
186
151
  ItemText: typeof SelectItemText;
@@ -175,14 +175,12 @@ function ThinkChatRoot({ agent: agentOption, approvalsEnabled = true, name, sour
175
175
  ...approvals,
176
176
  thinkStub: agent.stub
177
177
  }), [agent.stub, approvals]);
178
- return /* @__PURE__ */ jsx(AgentToolRunsProvider, {
178
+ return /* @__PURE__ */ jsx(ThinkChatProvider, {
179
+ chat,
179
180
  agentTools,
180
- children: /* @__PURE__ */ jsx(ThinkChatContext.Provider, {
181
- value: chat,
182
- children: /* @__PURE__ */ jsx(ThinkChatApprovalsContext.Provider, {
183
- value: approvalsContext,
184
- children
185
- })
181
+ children: /* @__PURE__ */ jsx(ThinkChatApprovalsContext.Provider, {
182
+ value: approvalsContext,
183
+ children
186
184
  })
187
185
  });
188
186
  }
@@ -1,5 +1,5 @@
1
1
  import { i as AgentMessageRenderPartContext } from "./AgentMessageParts-C7L-Mv9U.js";
2
- import { r as AgentChatProps } from "./AgentChat-mpacmRU1.js";
2
+ import { r as AgentChatProps } from "./AgentChat-CVO7xyLC.js";
3
3
  import { l as ThinkChatPart } from "./ThinkChatToolParts-D4qcnnxt.js";
4
4
  import { t as ThinkChatActivityDescription } from "./ThinkChatActivitySummary-teRjrPxW.js";
5
5
  import * as React from "react";
@@ -5,7 +5,7 @@ import { Toggle } from "@base-ui/react/toggle";
5
5
 
6
6
  //#region src/components/foundations/ToggleGroup.d.ts
7
7
  type ToggleGroupSize = ToggleVariantsOptions["size"];
8
- interface ToggleGroupProps extends React.ComponentPropsWithRef<typeof ToggleGroup> {
8
+ type ToggleGroupProps<Value extends string = string> = ToggleGroup.Props<Value> & {
9
9
  variant?: ToggleVariantsOptions["variant"];
10
10
  /**
11
11
  * The size of the toggle group.
@@ -22,7 +22,7 @@ interface ToggleGroupProps extends React.ComponentPropsWithRef<typeof ToggleGrou
22
22
  * places, so a `multiple` group ignores it.
23
23
  */
24
24
  segmented?: boolean;
25
- }
25
+ };
26
26
  interface ToggleGroupItemProps extends React.ComponentPropsWithRef<typeof Toggle>, Omit<ToggleVariantsOptions, "className"> {}
27
27
  /**
28
28
  * A toggle group component for selecting one or multiple options.
@@ -49,7 +49,7 @@ interface ToggleGroupItemProps extends React.ComponentPropsWithRef<typeof Toggle
49
49
  *
50
50
  * @see {@link https://base-ui.com/react/components/toggle-group | Base UI Toggle Group}
51
51
  */
52
- declare function ToggleGroupRoot({
52
+ declare function ToggleGroupRoot<Value extends string>({
53
53
  size,
54
54
  spacing,
55
55
  segmented,
@@ -59,9 +59,7 @@ declare function ToggleGroupRoot({
59
59
  style,
60
60
  ref,
61
61
  ...props
62
- }: ToggleGroupProps & {
63
- ref?: React.Ref<HTMLDivElement>;
64
- }): React.JSX.Element;
62
+ }: ToggleGroupProps<Value>): React.JSX.Element;
65
63
  /**
66
64
  * A single toggle item within a ToggleGroup.
67
65
  */
@@ -1,4 +1,4 @@
1
- import { O as CodeBlockLanguage } from "./CodeBlock-DzGhYyNe.js";
1
+ import { O as CodeBlockLanguage } from "./CodeBlock-C380GD5t.js";
2
2
  import { SkillParseResult } from "agent-skills-ts-sdk";
3
3
  import { FileInfo } from "@cloudflare/shell";
4
4