@mcp-b/react-components 0.16.0 → 0.17.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 (298) hide show
  1. package/dist/{AgentChat-CrlpbvQJ.d.ts → AgentChat-CRuMi1Pb.d.ts} +4 -10
  2. package/dist/AgentMessageParts-CyD2UB3V.d.ts +46 -0
  3. package/dist/AgentToolRunsContext-BVe4stgw.d.ts +21 -0
  4. package/dist/{CodeBlock-BmB4Xaqq.js → CodeBlock-Co1noLbC.js} +2 -2
  5. package/dist/{CodeBlock-BRajW4QU.d.ts → CodeBlock-Dnpr88ZQ.d.ts} +2 -2
  6. package/dist/Collapsible-N64ASIQr.d.ts +119 -0
  7. package/dist/{Combobox-B9Fcd6q-.d.ts → Combobox-CYc37s5l.d.ts} +11 -33
  8. package/dist/{FileTree-CkVbIMWV.js → FileTree-B7bBsUyU.js} +7 -7
  9. package/dist/{Menu-Bgu-ufb5.d.ts → Menu-L6MZm-7N.d.ts} +15 -56
  10. package/dist/{Message-BkMdE3bS.js → Message-C4eYRogZ.js} +3 -3
  11. package/dist/{ModelSelector-SlJNgwKY.js → ModelSelector-BNrZlY_Y.js} +5 -5
  12. package/dist/{PromptInput-BWTuXMOD.d.ts → PromptInput-OLfXPuHM.d.ts} +39 -67
  13. package/dist/{ResponsiveSidebarShell-Dd9DCcBT.d.ts → ResponsiveSidebarShell-CsAh4NyL.d.ts} +1 -0
  14. package/dist/{Select-BeEsefzh.d.ts → Select-CwSqP07Y.d.ts} +14 -42
  15. package/dist/{Tabs-3Zc4tb9D.d.ts → Tabs-9zddXDQo.d.ts} +5 -19
  16. package/dist/{ThinkChat-CzC-zNGA.js → ThinkChat-DInElus-.js} +53 -26
  17. package/dist/{ThinkChatActivity-BFQnb2ct.d.ts → ThinkChatActivity-BgesTfZ4.d.ts} +12 -4
  18. package/dist/{ThinkChatContext-C3Eb1Xpi.d.ts → ThinkChatContext-DrsZqdaO.d.ts} +1 -1
  19. package/dist/ThinkRecoveryNotice-DFIcG9UX.d.ts +19 -0
  20. package/dist/{Toggle-CAAlNl-M.d.ts → Toggle-DaXpe1Lc.d.ts} +1 -1
  21. package/dist/{ToggleGroup-8hPv-b69.d.ts → ToggleGroup-yseEWkOC.d.ts} +3 -4
  22. package/dist/{Workspace-D39LxGvP.d.ts → Workspace-C9RFoxcu.d.ts} +1 -1
  23. package/dist/WorkspaceExplorer-sZewzT2O.d.ts +32 -0
  24. package/dist/{WorkspaceFile-DOZkPwzu.d.ts → WorkspaceFile-C8UzuSH4.d.ts} +1 -1
  25. package/dist/{WorkspaceFileView-rSN_yT0L.js → WorkspaceFileView-DNdGAEiX.js} +5 -5
  26. package/dist/{WorkspaceLink-DIPbXrUM.js → WorkspaceLink-B1ykV1dS.js} +15 -29
  27. package/dist/class-names-Bk-QLWWI.js +11 -0
  28. package/dist/components/Accordion.d.ts +5 -15
  29. package/dist/components/Accordion.js +11 -10
  30. package/dist/components/Activity.d.ts +5 -10
  31. package/dist/components/Activity.js +2 -2
  32. package/dist/components/AgentActivity.js +1 -1
  33. package/dist/components/AgentActivityPreview.js +2 -2
  34. package/dist/components/AgentAttention.d.ts +1 -1
  35. package/dist/components/AgentAttention.js +1 -1
  36. package/dist/components/AgentChat.d.ts +2 -2
  37. package/dist/components/AgentChat.js +27 -164
  38. package/dist/components/AgentChatMessageEditor.js +1 -1
  39. package/dist/components/AgentConnection.js +4 -4
  40. package/dist/components/AgentMessageParts.d.ts +2 -0
  41. package/dist/components/AgentMessageParts.js +119 -0
  42. package/dist/components/AgentToolDetail.d.ts +55 -0
  43. package/dist/components/AgentToolDetail.js +98 -0
  44. package/dist/components/AgentToolRunsContext.d.ts +2 -0
  45. package/dist/components/AgentToolRunsContext.js +16 -0
  46. package/dist/components/AlertDialog.d.ts +7 -19
  47. package/dist/components/AlertDialog.js +21 -32
  48. package/dist/components/AppTopBar.d.ts +4 -1
  49. package/dist/components/AppTopBar.js +5 -5
  50. package/dist/components/Approval.d.ts +102 -0
  51. package/dist/components/Approval.js +227 -0
  52. package/dist/components/Artifact.d.ts +2 -4
  53. package/dist/components/Artifact.js +3 -3
  54. package/dist/components/Autocomplete.d.ts +11 -33
  55. package/dist/components/Autocomplete.js +23 -30
  56. package/dist/components/Avatar.d.ts +3 -11
  57. package/dist/components/Avatar.js +13 -12
  58. package/dist/components/BrowserLiveView.js +2 -2
  59. package/dist/components/BrowserReplay.js +2 -2
  60. package/dist/components/BrowserRunPanel.js +58 -78
  61. package/dist/components/Button.js +4 -9
  62. package/dist/components/ChainOfThought.d.ts +5 -11
  63. package/dist/components/ChainOfThought.js +3 -2
  64. package/dist/components/ChatGptSignInScreen.js +3 -3
  65. package/dist/components/Checkbox.d.ts +2 -4
  66. package/dist/components/Checkbox.js +6 -5
  67. package/dist/components/CheckboxGroup.d.ts +1 -3
  68. package/dist/components/CheckboxGroup.js +15 -14
  69. package/dist/components/Checkpoint.d.ts +64 -0
  70. package/dist/components/Checkpoint.js +63 -0
  71. package/dist/components/CodeBlock.d.ts +1 -1
  72. package/dist/components/CodeBlock.js +1 -1
  73. package/dist/components/CodexModelSelector.d.ts +1 -1
  74. package/dist/components/CodexModelSelector.js +2 -2
  75. package/dist/components/Collapsible.d.ts +1 -124
  76. package/dist/components/Collapsible.js +7 -10
  77. package/dist/components/Combobox.d.ts +1 -1
  78. package/dist/components/Combobox.js +23 -30
  79. package/dist/components/Commit.d.ts +5 -11
  80. package/dist/components/Commit.js +6 -5
  81. package/dist/components/Context.js +1 -1
  82. package/dist/components/ContextMenu.d.ts +21 -37
  83. package/dist/components/ContextMenu.js +34 -51
  84. package/dist/components/Conversation.d.ts +2 -4
  85. package/dist/components/Conversation.js +2 -2
  86. package/dist/components/DescriptionListParts.js +1 -1
  87. package/dist/components/Dialog.d.ts +6 -17
  88. package/dist/components/Dialog.js +17 -24
  89. package/dist/components/EnvironmentVariables.d.ts +1 -1
  90. package/dist/components/EnvironmentVariables.js +4 -3
  91. package/dist/components/Field.d.ts +17 -20
  92. package/dist/components/Field.js +16 -16
  93. package/dist/components/Fieldset.d.ts +2 -7
  94. package/dist/components/Fieldset.js +7 -6
  95. package/dist/components/FileTree.js +1 -1
  96. package/dist/components/Form.d.ts +1 -4
  97. package/dist/components/Form.js +3 -2
  98. package/dist/components/GithubMotionMark.js +1 -1
  99. package/dist/components/InlineCitation.d.ts +66 -0
  100. package/dist/components/InlineCitation.js +142 -0
  101. package/dist/components/Input.d.ts +1 -4
  102. package/dist/components/Input.js +3 -2
  103. package/dist/components/Marker.js +1 -1
  104. package/dist/components/McpConnectionRequest.js +2 -2
  105. package/dist/components/McpServerPicker.d.ts +1 -1
  106. package/dist/components/McpServerPicker.js +6 -5
  107. package/dist/components/Menu.d.ts +1 -1
  108. package/dist/components/Menu.js +33 -52
  109. package/dist/components/Menubar.d.ts +22 -43
  110. package/dist/components/Menubar.js +36 -53
  111. package/dist/components/Message.d.ts +3 -6
  112. package/dist/components/Message.js +1 -1
  113. package/dist/components/MessageScroller.d.ts +1 -1
  114. package/dist/components/MessageScroller.js +3 -3
  115. package/dist/components/Meter.d.ts +5 -20
  116. package/dist/components/Meter.js +11 -10
  117. package/dist/components/ModelSelector.d.ts +2 -6
  118. package/dist/components/ModelSelector.js +1 -1
  119. package/dist/components/NavigationMenu.d.ts +11 -33
  120. package/dist/components/NavigationMenu.js +23 -30
  121. package/dist/components/NumberField.d.ts +6 -24
  122. package/dist/components/NumberField.js +13 -12
  123. package/dist/components/Plan.d.ts +103 -0
  124. package/dist/components/Plan.js +113 -0
  125. package/dist/components/Popover.d.ts +9 -36
  126. package/dist/components/Popover.js +23 -34
  127. package/dist/components/PreviewCard.d.ts +6 -24
  128. package/dist/components/PreviewCard.js +13 -24
  129. package/dist/components/PricingBillingToggle.js +1 -1
  130. package/dist/components/PricingFAQ.js +1 -1
  131. package/dist/components/PricingPlanCard.js +3 -3
  132. package/dist/components/PricingUsageCalculator.js +2 -2
  133. package/dist/components/Progress.d.ts +3 -8
  134. package/dist/components/Progress.js +7 -10
  135. package/dist/components/PromptInput.d.ts +2 -2
  136. package/dist/components/PromptInput.js +52 -200
  137. package/dist/components/Queue.d.ts +6 -16
  138. package/dist/components/Queue.js +2 -2
  139. package/dist/components/RadioGroup.d.ts +3 -8
  140. package/dist/components/RadioGroup.js +7 -10
  141. package/dist/components/Reasoning.d.ts +4 -8
  142. package/dist/components/Reasoning.js +3 -3
  143. package/dist/components/ResizableSidePanel.js +2 -2
  144. package/dist/components/ResponsiveSidebarShell.d.ts +1 -1
  145. package/dist/components/ResponsiveSidebarShell.js +4 -3
  146. package/dist/components/ScrollArea.d.ts +5 -20
  147. package/dist/components/ScrollArea.js +11 -10
  148. package/dist/components/Select.d.ts +1 -1
  149. package/dist/components/Select.js +32 -55
  150. package/dist/components/Separator.d.ts +1 -5
  151. package/dist/components/Separator.js +3 -6
  152. package/dist/components/Slider.d.ts +6 -19
  153. package/dist/components/Slider.js +15 -14
  154. package/dist/components/Sources.d.ts +4 -9
  155. package/dist/components/Sources.js +3 -2
  156. package/dist/components/Stepper.js +2 -2
  157. package/dist/components/SubagentRunDetails.js +1 -1
  158. package/dist/components/SubagentRunIndicator.js +2 -2
  159. package/dist/components/SubagentRunList.js +1 -2
  160. package/dist/components/SubagentRunSelector.d.ts +2 -11
  161. package/dist/components/SubagentRunSelector.js +16 -15
  162. package/dist/components/Switch.d.ts +2 -5
  163. package/dist/components/Switch.js +5 -8
  164. package/dist/components/Tabs.d.ts +2 -2
  165. package/dist/components/Tabs.js +10 -16
  166. package/dist/components/Task.d.ts +4 -9
  167. package/dist/components/Task.js +4 -3
  168. package/dist/components/Terminal.d.ts +2 -3
  169. package/dist/components/Terminal.js +3 -3
  170. package/dist/components/TestResults.d.ts +4 -9
  171. package/dist/components/TestResults.js +3 -2
  172. package/dist/components/Textarea.js +1 -1
  173. package/dist/components/ThemeModeControl.js +1 -1
  174. package/dist/components/ThinkChat.d.ts +21 -11
  175. package/dist/components/ThinkChat.js +5 -3
  176. package/dist/components/ThinkChatActivity.d.ts +1 -1
  177. package/dist/components/ThinkChatActivity.js +26 -7
  178. package/dist/components/ThinkChatContext.d.ts +1 -1
  179. package/dist/components/ThinkChatToolPanels.js +2 -2
  180. package/dist/components/ThinkExecutionDetail.js +2 -2
  181. package/dist/components/ThinkExecutionStatus.js +2 -2
  182. package/dist/components/ThinkExecutionWorkbench.js +2 -2
  183. package/dist/components/ThinkFullApp.d.ts +33 -9
  184. package/dist/components/ThinkFullApp.js +118 -64
  185. package/dist/components/ThinkFullAppViewSwitch.d.ts +1 -1
  186. package/dist/components/ThinkFullAppViewSwitch.js +2 -2
  187. package/dist/components/ThinkPendingApproval.d.ts +60 -0
  188. package/dist/components/ThinkPendingApproval.js +99 -0
  189. package/dist/components/ThinkRecoveryNotice.d.ts +2 -0
  190. package/dist/components/ThinkRecoveryNotice.js +40 -0
  191. package/dist/components/ThinkRoutine.js +1 -0
  192. package/dist/components/ThinkRoutineBrowser.js +6 -6
  193. package/dist/components/ThinkRoutineDetail.js +1 -1
  194. package/dist/components/ThinkRoutineForm.js +2 -2
  195. package/dist/components/ThinkRoutineLibrary.d.ts +9 -0
  196. package/dist/components/ThinkRoutineLibrary.js +67 -20
  197. package/dist/components/ThinkRoutineRuns.js +1 -1
  198. package/dist/components/ThinkThreadPicker.js +2 -2
  199. package/dist/components/ThinkThreadShell.d.ts +1 -1
  200. package/dist/components/Toast.d.ts +7 -28
  201. package/dist/components/Toast.js +15 -14
  202. package/dist/components/Toggle.d.ts +1 -1
  203. package/dist/components/Toggle.js +5 -5
  204. package/dist/components/ToggleGroup.d.ts +1 -1
  205. package/dist/components/ToggleGroup.js +8 -15
  206. package/dist/components/ToolApproval.d.ts +28 -0
  207. package/dist/components/ToolApproval.js +35 -0
  208. package/dist/components/ToolInvocation.d.ts +26 -0
  209. package/dist/components/ToolInvocation.js +72 -0
  210. package/dist/components/Toolbar.d.ts +6 -24
  211. package/dist/components/Toolbar.js +13 -12
  212. package/dist/components/Tooltip.d.ts +3 -9
  213. package/dist/components/Tooltip.js +7 -10
  214. package/dist/components/WebPreview.d.ts +1 -2
  215. package/dist/components/WebPreview.js +4 -3
  216. package/dist/components/Workspace.d.ts +1 -1
  217. package/dist/components/Workspace.js +5 -20
  218. package/dist/components/WorkspaceBrowser.d.ts +1 -1
  219. package/dist/components/WorkspaceBrowser.js +3 -3
  220. package/dist/components/WorkspaceExplorer.d.ts +3 -31
  221. package/dist/components/WorkspaceExplorer.js +3 -3
  222. package/dist/components/WorkspaceFile.d.ts +1 -1
  223. package/dist/components/WorkspaceFileView.d.ts +1 -1
  224. package/dist/components/WorkspaceFileView.js +1 -1
  225. package/dist/components/WorkspaceHeader.js +1 -1
  226. package/dist/components/WorkspaceLink.js +1 -1
  227. package/dist/components/icons.d.ts +2 -2
  228. package/dist/components/icons.js +2 -2
  229. package/dist/{copy-button-DtPMgN7e.d.ts → copy-button-CQx3LQAC.d.ts} +1 -2
  230. package/dist/{copy-button-Dejn5heL.js → copy-button-cYsJBauI.js} +1 -1
  231. package/dist/{icons-CpfUer49.js → icons--FqCZEc3.js} +3 -2
  232. package/dist/{icons-GQd1xF4e.d.ts → icons-DpUqY8Mp.d.ts} +6 -1
  233. package/dist/styles/agent-activity-preview.css +13 -11
  234. package/dist/styles/agent-attention.css +19 -13
  235. package/dist/styles/agent-chat.css +0 -41
  236. package/dist/styles/agent-connection.css +9 -21
  237. package/dist/styles/agent-tool-detail.css +54 -0
  238. package/dist/styles/alert-dialog.css +11 -11
  239. package/dist/styles/app-top-bar.css +9 -7
  240. package/dist/styles/approval.css +172 -0
  241. package/dist/styles/artifact.css +0 -12
  242. package/dist/styles/browser-run-panel.css +5 -2
  243. package/dist/styles/card.css +8 -8
  244. package/dist/styles/chain-of-thought.css +5 -13
  245. package/dist/styles/checkpoint.css +58 -0
  246. package/dist/styles/codex-model-selector.css +3 -3
  247. package/dist/styles/combobox.css +3 -2
  248. package/dist/styles/commit.css +0 -21
  249. package/dist/styles/context-menu.css +1 -9
  250. package/dist/styles/dialog.css +11 -11
  251. package/dist/styles/environment-variables.css +0 -13
  252. package/dist/styles/field.css +14 -14
  253. package/dist/styles/fieldset.css +5 -5
  254. package/dist/styles/file-tree.css +0 -16
  255. package/dist/styles/index.css +8 -4
  256. package/dist/styles/inline-citation.css +107 -0
  257. package/dist/styles/mcp-connection-request.css +3 -3
  258. package/dist/styles/mcp-server-picker.css +1 -30
  259. package/dist/styles/menu.css +1 -30
  260. package/dist/styles/menubar.css +0 -8
  261. package/dist/styles/message-scroller.css +0 -12
  262. package/dist/styles/message.css +0 -12
  263. package/dist/styles/model-selector.css +18 -32
  264. package/dist/styles/plan.css +127 -0
  265. package/dist/styles/popover.css +7 -43
  266. package/dist/styles/preview-card.css +1 -1
  267. package/dist/styles/prompt-input.css +2 -195
  268. package/dist/styles/recipes.css +139 -12
  269. package/dist/styles/responsive-sidebar-shell.css +16 -19
  270. package/dist/styles/select.css +3 -3
  271. package/dist/styles/sources.css +6 -14
  272. package/dist/styles/subagent-run.css +12 -70
  273. package/dist/styles/task.css +17 -26
  274. package/dist/styles/test-results.css +17 -23
  275. package/dist/styles/textarea.css +1 -1
  276. package/dist/styles/think-execution-workbench.css +9 -9
  277. package/dist/styles/think-full-app.css +49 -33
  278. package/dist/styles/think-routine-library.css +30 -38
  279. package/dist/styles/think-thread-picker.css +15 -0
  280. package/dist/styles/toast.css +4 -11
  281. package/dist/styles/tooltip.css +1 -1
  282. package/dist/styles/utilities.css +31 -0
  283. package/dist/styles/web-preview.css +0 -21
  284. package/dist/styles/workspace-explorer.css +20 -65
  285. package/dist/think-agent-Cip5KAPj.d.ts +7 -0
  286. package/dist/utils/codex-model-catalog.d.ts +4 -4
  287. package/dist/utils/structured-code.d.ts +1 -1
  288. package/dist/workspace-path-L_KmjRjq.js +26 -0
  289. package/package.json +3 -4
  290. package/dist/class-names-9UtZwb0J.js +0 -12
  291. package/dist/components/AppFrame.d.ts +0 -24
  292. package/dist/components/AppFrame.js +0 -25
  293. package/dist/components/Shell.d.ts +0 -163
  294. package/dist/components/Shell.js +0 -137
  295. package/dist/components/SubagentRun.d.ts +0 -86
  296. package/dist/components/SubagentRun.js +0 -108
  297. package/dist/styles/app-frame.css +0 -15
  298. package/dist/styles/shell.css +0 -122
@@ -5,45 +5,27 @@ import { NumberField as NumberField$1 } from "@base-ui/react/number-field";
5
5
  /**
6
6
  * Props for the NumberField.Root component.
7
7
  */
8
- interface NumberFieldRootProps extends Omit<React.ComponentPropsWithoutRef<typeof NumberField$1.Root>, "className"> {
9
- /** Additional CSS class names */
10
- className?: string;
11
- }
8
+ interface NumberFieldRootProps extends React.ComponentPropsWithoutRef<typeof NumberField$1.Root> {}
12
9
  /**
13
10
  * Props for the NumberField.Group component.
14
11
  */
15
- interface NumberFieldGroupProps extends Omit<React.ComponentPropsWithoutRef<typeof NumberField$1.Group>, "className"> {
16
- /** Additional CSS class names */
17
- className?: string;
18
- }
12
+ interface NumberFieldGroupProps extends React.ComponentPropsWithoutRef<typeof NumberField$1.Group> {}
19
13
  /**
20
14
  * Props for the NumberField.Input component.
21
15
  */
22
- interface NumberFieldInputProps extends Omit<React.ComponentPropsWithoutRef<typeof NumberField$1.Input>, "className"> {
23
- /** Additional CSS class names */
24
- className?: string;
25
- }
16
+ interface NumberFieldInputProps extends React.ComponentPropsWithoutRef<typeof NumberField$1.Input> {}
26
17
  /**
27
18
  * Props for the NumberField.Increment component.
28
19
  */
29
- interface NumberFieldIncrementProps extends Omit<React.ComponentPropsWithoutRef<typeof NumberField$1.Increment>, "className"> {
30
- /** Additional CSS class names */
31
- className?: string;
32
- }
20
+ interface NumberFieldIncrementProps extends React.ComponentPropsWithoutRef<typeof NumberField$1.Increment> {}
33
21
  /**
34
22
  * Props for the NumberField.Decrement component.
35
23
  */
36
- interface NumberFieldDecrementProps extends Omit<React.ComponentPropsWithoutRef<typeof NumberField$1.Decrement>, "className"> {
37
- /** Additional CSS class names */
38
- className?: string;
39
- }
24
+ interface NumberFieldDecrementProps extends React.ComponentPropsWithoutRef<typeof NumberField$1.Decrement> {}
40
25
  /**
41
26
  * Props for the NumberField.ScrubArea component.
42
27
  */
43
- interface NumberFieldScrubAreaProps extends Omit<React.ComponentPropsWithoutRef<typeof NumberField$1.ScrubArea>, "className"> {
44
- /** Additional CSS class names */
45
- className?: string;
46
- }
28
+ interface NumberFieldScrubAreaProps extends React.ComponentPropsWithoutRef<typeof NumberField$1.ScrubArea> {}
47
29
  /**
48
30
  * Container that groups all parts and manages state. Renders a `<div>` element.
49
31
  *
@@ -1,3 +1,4 @@
1
+ import { n as mergeBaseClassName } from "../class-names-Bk-QLWWI.js";
1
2
  import "react";
2
3
  import { jsx } from "react/jsx-runtime";
3
4
  import { NumberField as NumberField$1 } from "@base-ui/react/number-field";
@@ -18,8 +19,8 @@ import { NumberField as NumberField$1 } from "@base-ui/react/number-field";
18
19
  *
19
20
  * @see {@link https://base-ui.com/react/components/number-field | Base UI NumberField}
20
21
  */
21
- function NumberFieldRoot({ className = "", ref, ...props }) {
22
- const classes = ["number-field", className].filter(Boolean).join(" ");
22
+ function NumberFieldRoot({ className, ref, ...props }) {
23
+ const classes = mergeBaseClassName(["number-field"].filter(Boolean).join(" "), className);
23
24
  return /* @__PURE__ */ jsx(NumberField$1.Root, {
24
25
  ref,
25
26
  "data-slot": "number-field",
@@ -30,8 +31,8 @@ function NumberFieldRoot({ className = "", ref, ...props }) {
30
31
  /**
31
32
  * Groups the input with increment and decrement buttons.
32
33
  */
33
- function NumberFieldGroup({ className = "", ref, ...props }) {
34
- const classes = ["number-field__group", className].filter(Boolean).join(" ");
34
+ function NumberFieldGroup({ className, ref, ...props }) {
35
+ const classes = mergeBaseClassName(["number-field__group"].filter(Boolean).join(" "), className);
35
36
  return /* @__PURE__ */ jsx(NumberField$1.Group, {
36
37
  ref,
37
38
  "data-slot": "number-field-group",
@@ -42,8 +43,8 @@ function NumberFieldGroup({ className = "", ref, ...props }) {
42
43
  /**
43
44
  * The native input control for the number field.
44
45
  */
45
- function NumberFieldInput({ className = "", ref, ...props }) {
46
- const classes = ["number-field__input", className].filter(Boolean).join(" ");
46
+ function NumberFieldInput({ className, ref, ...props }) {
47
+ const classes = mergeBaseClassName(["number-field__input"].filter(Boolean).join(" "), className);
47
48
  return /* @__PURE__ */ jsx(NumberField$1.Input, {
48
49
  ref,
49
50
  "data-slot": "number-field-input",
@@ -54,8 +55,8 @@ function NumberFieldInput({ className = "", ref, ...props }) {
54
55
  /**
55
56
  * Button that increases the value.
56
57
  */
57
- function NumberFieldIncrement({ className = "", ref, ...props }) {
58
- const classes = ["number-field__increment", className].filter(Boolean).join(" ");
58
+ function NumberFieldIncrement({ className, ref, ...props }) {
59
+ const classes = mergeBaseClassName(["number-field__increment"].filter(Boolean).join(" "), className);
59
60
  return /* @__PURE__ */ jsx(NumberField$1.Increment, {
60
61
  ref,
61
62
  "data-slot": "number-field-increment",
@@ -66,8 +67,8 @@ function NumberFieldIncrement({ className = "", ref, ...props }) {
66
67
  /**
67
68
  * Button that decreases the value.
68
69
  */
69
- function NumberFieldDecrement({ className = "", ref, ...props }) {
70
- const classes = ["number-field__decrement", className].filter(Boolean).join(" ");
70
+ function NumberFieldDecrement({ className, ref, ...props }) {
71
+ const classes = mergeBaseClassName(["number-field__decrement"].filter(Boolean).join(" "), className);
71
72
  return /* @__PURE__ */ jsx(NumberField$1.Decrement, {
72
73
  ref,
73
74
  "data-slot": "number-field-decrement",
@@ -78,8 +79,8 @@ function NumberFieldDecrement({ className = "", ref, ...props }) {
78
79
  /**
79
80
  * Interactive area for click-and-drag value changes.
80
81
  */
81
- function NumberFieldScrubArea({ className = "", ref, ...props }) {
82
- const classes = ["number-field__scrub-area", className].filter(Boolean).join(" ");
82
+ function NumberFieldScrubArea({ className, ref, ...props }) {
83
+ const classes = mergeBaseClassName(["number-field__scrub-area"].filter(Boolean).join(" "), className);
83
84
  return /* @__PURE__ */ jsx(NumberField$1.ScrubArea, {
84
85
  ref,
85
86
  "data-slot": "number-field-scrub-area",
@@ -0,0 +1,103 @@
1
+ import { ChainOfThoughtStepStatus } from "./ChainOfThought.js";
2
+ import * as React from "react";
3
+
4
+ //#region src/components/Plan.d.ts
5
+ /** Presentation state shared with the existing reasoning-step primitive. */
6
+ type PlanStepStatus = ChainOfThoughtStepStatus;
7
+ interface PlanProps extends React.HTMLAttributes<HTMLDivElement> {
8
+ /** Plan header and ordered steps composed from application-owned plan data. */
9
+ children?: React.ReactNode;
10
+ }
11
+ /**
12
+ * Presentation-only container for an application-owned plan.
13
+ *
14
+ * Think, Agents, and the AI SDK do not export a generic plan model. Map a
15
+ * concrete app or tool result directly into this compositional anatomy.
16
+ */
17
+ declare function Plan({
18
+ className,
19
+ ref,
20
+ ...props
21
+ }: PlanProps & {
22
+ ref?: React.Ref<HTMLDivElement>;
23
+ }): React.JSX.Element;
24
+ interface PlanHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
25
+ declare function PlanHeader({
26
+ className,
27
+ ref,
28
+ ...props
29
+ }: PlanHeaderProps & {
30
+ ref?: React.Ref<HTMLDivElement>;
31
+ }): React.JSX.Element;
32
+ interface PlanTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
33
+ /** Choose the level that fits the surrounding document outline. */
34
+ headingLevel?: 2 | 3 | 4 | 5 | 6;
35
+ }
36
+ declare function PlanTitle({
37
+ className,
38
+ headingLevel,
39
+ ref,
40
+ ...props
41
+ }: PlanTitleProps & {
42
+ ref?: React.Ref<HTMLHeadingElement>;
43
+ }): React.JSX.Element;
44
+ interface PlanDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {}
45
+ declare function PlanDescription({
46
+ className,
47
+ ref,
48
+ ...props
49
+ }: PlanDescriptionProps & {
50
+ ref?: React.Ref<HTMLParagraphElement>;
51
+ }): React.JSX.Element;
52
+ interface PlanContentProps extends React.OlHTMLAttributes<HTMLOListElement> {}
53
+ /** Ordered sequence of PlanStep children. */
54
+ declare function PlanContent({
55
+ className,
56
+ ref,
57
+ ...props
58
+ }: PlanContentProps & {
59
+ ref?: React.Ref<HTMLOListElement>;
60
+ }): React.JSX.Element;
61
+ interface PlanStepProps extends React.LiHTMLAttributes<HTMLLIElement> {
62
+ /** Visual presentation state; this is not a Think or AI SDK execution status. */
63
+ status?: PlanStepStatus;
64
+ }
65
+ declare function PlanStep({
66
+ className,
67
+ status,
68
+ ref,
69
+ ...props
70
+ }: PlanStepProps & {
71
+ ref?: React.Ref<HTMLLIElement>;
72
+ }): React.JSX.Element;
73
+ interface PlanStepIndicatorProps extends React.HTMLAttributes<HTMLSpanElement> {
74
+ /** Accessible label for the visual state indicator. */
75
+ label?: string;
76
+ }
77
+ declare function PlanStepIndicator({
78
+ children,
79
+ className,
80
+ label,
81
+ ref,
82
+ ...props
83
+ }: PlanStepIndicatorProps & {
84
+ ref?: React.Ref<HTMLSpanElement>;
85
+ }): React.JSX.Element;
86
+ interface PlanStepTitleProps extends React.HTMLAttributes<HTMLDivElement> {}
87
+ declare function PlanStepTitle({
88
+ className,
89
+ ref,
90
+ ...props
91
+ }: PlanStepTitleProps & {
92
+ ref?: React.Ref<HTMLDivElement>;
93
+ }): React.JSX.Element;
94
+ interface PlanStepDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {}
95
+ declare function PlanStepDescription({
96
+ className,
97
+ ref,
98
+ ...props
99
+ }: PlanStepDescriptionProps & {
100
+ ref?: React.Ref<HTMLParagraphElement>;
101
+ }): React.JSX.Element;
102
+ //#endregion
103
+ export { Plan, PlanContent, PlanContentProps, PlanDescription, PlanDescriptionProps, PlanHeader, PlanHeaderProps, PlanProps, PlanStep, PlanStepDescription, PlanStepDescriptionProps, PlanStepIndicator, PlanStepIndicatorProps, PlanStepProps, PlanStepStatus, PlanStepTitle, PlanStepTitleProps, PlanTitle, PlanTitleProps };
@@ -0,0 +1,113 @@
1
+ import { t as cx } from "../class-names-Bk-QLWWI.js";
2
+ import { m as DotIcon, r as ArrowRightIcon, s as CheckIcon } from "../icons--FqCZEc3.js";
3
+ import * as React from "react";
4
+ import { jsx, jsxs } from "react/jsx-runtime";
5
+ //#region src/components/Plan.tsx
6
+ const PlanStepContext = React.createContext("pending");
7
+ /**
8
+ * Presentation-only container for an application-owned plan.
9
+ *
10
+ * Think, Agents, and the AI SDK do not export a generic plan model. Map a
11
+ * concrete app or tool result directly into this compositional anatomy.
12
+ */
13
+ function Plan({ className, ref, ...props }) {
14
+ return /* @__PURE__ */ jsx("div", {
15
+ ref,
16
+ "data-slot": "plan",
17
+ "data-recipe": "framed-panel",
18
+ className: cx("plan", className),
19
+ ...props
20
+ });
21
+ }
22
+ function PlanHeader({ className, ref, ...props }) {
23
+ return /* @__PURE__ */ jsx("div", {
24
+ ref,
25
+ "data-slot": "plan-header",
26
+ className: cx("plan__header", className),
27
+ ...props
28
+ });
29
+ }
30
+ function PlanTitle({ className, headingLevel = 3, ref, ...props }) {
31
+ return /* @__PURE__ */ jsx(`h${headingLevel}`, {
32
+ ref,
33
+ "data-slot": "plan-title",
34
+ className: cx("plan__title", className),
35
+ ...props
36
+ });
37
+ }
38
+ function PlanDescription({ className, ref, ...props }) {
39
+ return /* @__PURE__ */ jsx("p", {
40
+ ref,
41
+ "data-slot": "plan-description",
42
+ className: cx("plan__description", className),
43
+ ...props
44
+ });
45
+ }
46
+ /** Ordered sequence of PlanStep children. */
47
+ function PlanContent({ className, ref, ...props }) {
48
+ return /* @__PURE__ */ jsx("ol", {
49
+ ref,
50
+ "data-slot": "plan-content",
51
+ className: cx("plan__content", className),
52
+ role: "list",
53
+ ...props
54
+ });
55
+ }
56
+ function PlanStep({ className, status = "pending", ref, ...props }) {
57
+ return /* @__PURE__ */ jsx(PlanStepContext.Provider, {
58
+ value: status,
59
+ children: /* @__PURE__ */ jsx("li", {
60
+ ref,
61
+ "data-slot": "plan-step",
62
+ "data-status": status,
63
+ "aria-current": status === "active" ? "step" : void 0,
64
+ className: cx("plan__step", className),
65
+ ...props
66
+ })
67
+ });
68
+ }
69
+ const STATUS_LABELS = {
70
+ active: "Current step",
71
+ complete: "Completed step",
72
+ pending: "Pending step"
73
+ };
74
+ function defaultStepIcon(status) {
75
+ if (status === "complete") return /* @__PURE__ */ jsx(CheckIcon, {});
76
+ if (status === "active") return /* @__PURE__ */ jsx(ArrowRightIcon, {});
77
+ return /* @__PURE__ */ jsx(DotIcon, {});
78
+ }
79
+ function PlanStepIndicator({ children, className, label, ref, ...props }) {
80
+ const status = React.useContext(PlanStepContext);
81
+ return /* @__PURE__ */ jsxs("span", {
82
+ ref,
83
+ "data-slot": "plan-step-indicator",
84
+ className: cx("plan__step-indicator", className),
85
+ ...props,
86
+ children: [/* @__PURE__ */ jsx("span", {
87
+ className: "plan__step-indicator-visual",
88
+ "aria-hidden": "true",
89
+ children: children ?? defaultStepIcon(status)
90
+ }), /* @__PURE__ */ jsx("span", {
91
+ className: "sigvelo-visually-hidden",
92
+ children: label ?? STATUS_LABELS[status]
93
+ })]
94
+ });
95
+ }
96
+ function PlanStepTitle({ className, ref, ...props }) {
97
+ return /* @__PURE__ */ jsx("div", {
98
+ ref,
99
+ "data-slot": "plan-step-title",
100
+ className: cx("plan__step-title", className),
101
+ ...props
102
+ });
103
+ }
104
+ function PlanStepDescription({ className, ref, ...props }) {
105
+ return /* @__PURE__ */ jsx("p", {
106
+ ref,
107
+ "data-slot": "plan-step-description",
108
+ className: cx("plan__step-description", className),
109
+ ...props
110
+ });
111
+ }
112
+ //#endregion
113
+ export { Plan, PlanContent, PlanDescription, PlanHeader, PlanStep, PlanStepDescription, PlanStepIndicator, PlanStepTitle, PlanTitle };
@@ -9,10 +9,7 @@ interface PopoverProps extends React.ComponentPropsWithoutRef<typeof Popover$1.R
9
9
  /**
10
10
  * Props for the Popover.Trigger component.
11
11
  */
12
- interface PopoverTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof Popover$1.Trigger>, "className"> {
13
- /** Additional CSS class names */
14
- className?: string;
15
- }
12
+ interface PopoverTriggerProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Trigger> {}
16
13
  interface PopoverAnchorProps extends React.HTMLAttributes<HTMLDivElement> {}
17
14
  /**
18
15
  * Props for the Popover.Portal component.
@@ -21,60 +18,36 @@ interface PopoverPortalProps extends React.ComponentPropsWithoutRef<typeof Popov
21
18
  /**
22
19
  * Props for the Popover.Backdrop component.
23
20
  */
24
- interface PopoverBackdropProps extends Omit<React.ComponentPropsWithoutRef<typeof Popover$1.Backdrop>, "className"> {
25
- /** Additional CSS class names */
26
- className?: string;
27
- }
21
+ interface PopoverBackdropProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Backdrop> {}
28
22
  /**
29
23
  * Props for the Popover.Positioner component.
30
24
  */
31
- interface PopoverPositionerProps extends Omit<React.ComponentPropsWithoutRef<typeof Popover$1.Positioner>, "className"> {
32
- /** Additional CSS class names */
33
- className?: string;
34
- }
25
+ interface PopoverPositionerProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Positioner> {}
35
26
  /**
36
27
  * Props for the Popover.Popup component.
37
28
  */
38
- interface PopoverPopupProps extends Omit<React.ComponentPropsWithoutRef<typeof Popover$1.Popup>, "className"> {
39
- /** Additional CSS class names */
40
- className?: string;
41
- }
29
+ interface PopoverPopupProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Popup> {}
42
30
  /**
43
31
  * Props for the Popover.Viewport component. Use this only when one popover
44
32
  * moves between triggers and its content changes during that transition.
45
33
  */
46
- interface PopoverViewportProps extends Omit<React.ComponentPropsWithoutRef<typeof Popover$1.Viewport>, "className"> {
47
- /** Additional CSS class names */
48
- className?: string;
49
- }
34
+ interface PopoverViewportProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Viewport> {}
50
35
  /**
51
36
  * Props for the Popover.Arrow component.
52
37
  */
53
- interface PopoverArrowProps extends Omit<React.ComponentPropsWithoutRef<typeof Popover$1.Arrow>, "className"> {
54
- /** Additional CSS class names */
55
- className?: string;
56
- }
38
+ interface PopoverArrowProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Arrow> {}
57
39
  /**
58
40
  * Props for the Popover.Title component.
59
41
  */
60
- interface PopoverTitleProps extends Omit<React.ComponentPropsWithoutRef<typeof Popover$1.Title>, "className"> {
61
- /** Additional CSS class names */
62
- className?: string;
63
- }
42
+ interface PopoverTitleProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Title> {}
64
43
  /**
65
44
  * Props for the Popover.Description component.
66
45
  */
67
- interface PopoverDescriptionProps extends Omit<React.ComponentPropsWithoutRef<typeof Popover$1.Description>, "className"> {
68
- /** Additional CSS class names */
69
- className?: string;
70
- }
46
+ interface PopoverDescriptionProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Description> {}
71
47
  /**
72
48
  * Props for the Popover.Close component.
73
49
  */
74
- interface PopoverCloseProps extends Omit<React.ComponentPropsWithoutRef<typeof Popover$1.Close>, "className"> {
75
- /** Additional CSS class names */
76
- className?: string;
77
- }
50
+ interface PopoverCloseProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Close> {}
78
51
  interface PopoverHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
79
52
  declare function PopoverAnchor({
80
53
  className,
@@ -1,3 +1,4 @@
1
+ import { n as mergeBaseClassName } from "../class-names-Bk-QLWWI.js";
1
2
  import * as React from "react";
2
3
  import { jsx } from "react/jsx-runtime";
3
4
  import { Popover as Popover$1 } from "@base-ui/react/popover";
@@ -37,12 +38,12 @@ const PopoverRoot = (props) => {
37
38
  })
38
39
  });
39
40
  };
40
- function PopoverAnchor({ className = "", ref, ...props }) {
41
+ function PopoverAnchor({ className, ref, ...props }) {
41
42
  const anchorRef = React.useContext(PopoverAnchorContext);
42
43
  return /* @__PURE__ */ jsx("div", {
43
44
  ref: (node) => setRefs(node, anchorRef, ref),
44
45
  "data-slot": "popover-anchor",
45
- className: ["popover__anchor", className].filter(Boolean).join(" "),
46
+ className: mergeBaseClassName(["popover__anchor"].filter(Boolean).join(" "), className),
46
47
  ...props
47
48
  });
48
49
  }
@@ -50,8 +51,8 @@ function PopoverAnchor({ className = "", ref, ...props }) {
50
51
  * Button that toggles the popover visibility.
51
52
  * Renders a `<button>` element.
52
53
  */
53
- function PopoverTrigger({ className = "", ref, ...props }) {
54
- const classes = ["popover__trigger", className].filter(Boolean).join(" ");
54
+ function PopoverTrigger({ className, ref, ...props }) {
55
+ const classes = mergeBaseClassName(["popover__trigger"].filter(Boolean).join(" "), className);
55
56
  return /* @__PURE__ */ jsx(Popover$1.Trigger, {
56
57
  ref,
57
58
  "data-slot": "popover-trigger",
@@ -68,12 +69,8 @@ const PopoverPortal = (props) => {
68
69
  /**
69
70
  * Optional backdrop that appears behind the popover.
70
71
  */
71
- function PopoverBackdrop({ className = "", ref, ...props }) {
72
- const classes = [
73
- "popover__backdrop",
74
- "base-ui-backdrop",
75
- className
76
- ].filter(Boolean).join(" ");
72
+ function PopoverBackdrop({ className, ref, ...props }) {
73
+ const classes = mergeBaseClassName(["popover__backdrop", "base-ui-backdrop"].filter(Boolean).join(" "), className);
77
74
  return /* @__PURE__ */ jsx(Popover$1.Backdrop, {
78
75
  ref,
79
76
  "data-slot": "popover-backdrop",
@@ -92,13 +89,9 @@ function PopoverBackdrop({ className = "", ref, ...props }) {
92
89
  * </Popover.Positioner>
93
90
  * ```
94
91
  */
95
- function PopoverPositioner({ className = "", anchor, ref, ...props }) {
92
+ function PopoverPositioner({ className, anchor, ref, ...props }) {
96
93
  const anchorRef = React.useContext(PopoverAnchorContext);
97
- const classes = [
98
- "popover__positioner",
99
- "base-ui-positioner",
100
- className
101
- ].filter(Boolean).join(" ");
94
+ const classes = mergeBaseClassName(["popover__positioner", "base-ui-positioner"].filter(Boolean).join(" "), className);
102
95
  return /* @__PURE__ */ jsx(Popover$1.Positioner, {
103
96
  ref,
104
97
  anchor: anchor ?? anchorRef ?? void 0,
@@ -109,12 +102,8 @@ function PopoverPositioner({ className = "", anchor, ref, ...props }) {
109
102
  /**
110
103
  * The popup container that holds the popover content.
111
104
  */
112
- function PopoverPopup({ className = "", ref, ...props }) {
113
- const classes = [
114
- "popover__popup",
115
- "base-ui-popup",
116
- className
117
- ].filter(Boolean).join(" ");
105
+ function PopoverPopup({ className, ref, ...props }) {
106
+ const classes = mergeBaseClassName(["popover__popup", "base-ui-popup"].filter(Boolean).join(" "), className);
118
107
  return /* @__PURE__ */ jsx(Popover$1.Popup, {
119
108
  ref,
120
109
  "data-slot": "popover-content",
@@ -127,8 +116,8 @@ function PopoverPopup({ className = "", ref, ...props }) {
127
116
  * triggers. Pair the adaptive classes from `base-ui-motion.css` with the
128
117
  * positioner, popup, and this viewport when that behavior is needed.
129
118
  */
130
- function PopoverViewport({ className = "", ref, ...props }) {
131
- const classes = ["popover__viewport", className].filter(Boolean).join(" ");
119
+ function PopoverViewport({ className, ref, ...props }) {
120
+ const classes = mergeBaseClassName(["popover__viewport"].filter(Boolean).join(" "), className);
132
121
  return /* @__PURE__ */ jsx(Popover$1.Viewport, {
133
122
  ref,
134
123
  "data-slot": "popover-viewport",
@@ -136,19 +125,19 @@ function PopoverViewport({ className = "", ref, ...props }) {
136
125
  ...props
137
126
  });
138
127
  }
139
- function PopoverHeader({ className = "", ref, ...props }) {
128
+ function PopoverHeader({ className, ref, ...props }) {
140
129
  return /* @__PURE__ */ jsx("div", {
141
130
  ref,
142
131
  "data-slot": "popover-header",
143
- className: ["popover__header", className].filter(Boolean).join(" "),
132
+ className: mergeBaseClassName(["popover__header"].filter(Boolean).join(" "), className),
144
133
  ...props
145
134
  });
146
135
  }
147
136
  /**
148
137
  * Directional arrow pointing to the trigger element.
149
138
  */
150
- function PopoverArrow({ className = "", ref, ...props }) {
151
- const classes = ["popover__arrow", className].filter(Boolean).join(" ");
139
+ function PopoverArrow({ className, ref, ...props }) {
140
+ const classes = mergeBaseClassName(["popover__arrow"].filter(Boolean).join(" "), className);
152
141
  return /* @__PURE__ */ jsx(Popover$1.Arrow, {
153
142
  ref,
154
143
  "data-slot": "popover-arrow",
@@ -160,8 +149,8 @@ function PopoverArrow({ className = "", ref, ...props }) {
160
149
  * Semantic title for the popover content.
161
150
  * Renders an `<h2>` element.
162
151
  */
163
- function PopoverTitle({ className = "", ref, ...props }) {
164
- const classes = ["popover__title", className].filter(Boolean).join(" ");
152
+ function PopoverTitle({ className, ref, ...props }) {
153
+ const classes = mergeBaseClassName(["popover__title"].filter(Boolean).join(" "), className);
165
154
  return /* @__PURE__ */ jsx(Popover$1.Title, {
166
155
  ref,
167
156
  "data-slot": "popover-title",
@@ -173,8 +162,8 @@ function PopoverTitle({ className = "", ref, ...props }) {
173
162
  * Description text for the popover content.
174
163
  * Renders a `<p>` element.
175
164
  */
176
- function PopoverDescription({ className = "", ref, ...props }) {
177
- const classes = ["popover__description", className].filter(Boolean).join(" ");
165
+ function PopoverDescription({ className, ref, ...props }) {
166
+ const classes = mergeBaseClassName(["popover__description"].filter(Boolean).join(" "), className);
178
167
  return /* @__PURE__ */ jsx(Popover$1.Description, {
179
168
  ref,
180
169
  "data-slot": "popover-description",
@@ -185,8 +174,8 @@ function PopoverDescription({ className = "", ref, ...props }) {
185
174
  /**
186
175
  * Button that closes the popover.
187
176
  */
188
- function PopoverClose({ className = "", ref, ...props }) {
189
- const classes = ["popover__close", className].filter(Boolean).join(" ");
177
+ function PopoverClose({ className, ref, ...props }) {
178
+ const classes = mergeBaseClassName(["popover__close"].filter(Boolean).join(" "), className);
190
179
  return /* @__PURE__ */ jsx(Popover$1.Close, {
191
180
  ref,
192
181
  "data-slot": "popover-close",
@@ -9,10 +9,7 @@ interface PreviewCardProps extends React.ComponentPropsWithoutRef<typeof Preview
9
9
  /**
10
10
  * Props for the PreviewCard.Trigger component.
11
11
  */
12
- interface PreviewCardTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof PreviewCard$1.Trigger>, "className"> {
13
- /** Additional CSS class names */
14
- className?: string;
15
- }
12
+ interface PreviewCardTriggerProps extends React.ComponentPropsWithoutRef<typeof PreviewCard$1.Trigger> {}
16
13
  /**
17
14
  * Props for the PreviewCard.Portal component.
18
15
  */
@@ -20,39 +17,24 @@ interface PreviewCardPortalProps extends React.ComponentPropsWithoutRef<typeof P
20
17
  /**
21
18
  * Props for the PreviewCard.Backdrop component.
22
19
  */
23
- interface PreviewCardBackdropProps extends Omit<React.ComponentPropsWithoutRef<typeof PreviewCard$1.Backdrop>, "className"> {
24
- /** Additional CSS class names */
25
- className?: string;
26
- }
20
+ interface PreviewCardBackdropProps extends React.ComponentPropsWithoutRef<typeof PreviewCard$1.Backdrop> {}
27
21
  /**
28
22
  * Props for the PreviewCard.Positioner component.
29
23
  */
30
- interface PreviewCardPositionerProps extends Omit<React.ComponentPropsWithoutRef<typeof PreviewCard$1.Positioner>, "className"> {
31
- /** Additional CSS class names */
32
- className?: string;
33
- }
24
+ interface PreviewCardPositionerProps extends React.ComponentPropsWithoutRef<typeof PreviewCard$1.Positioner> {}
34
25
  /**
35
26
  * Props for the PreviewCard.Popup component.
36
27
  */
37
- interface PreviewCardPopupProps extends Omit<React.ComponentPropsWithoutRef<typeof PreviewCard$1.Popup>, "className"> {
38
- /** Additional CSS class names */
39
- className?: string;
40
- }
28
+ interface PreviewCardPopupProps extends React.ComponentPropsWithoutRef<typeof PreviewCard$1.Popup> {}
41
29
  /**
42
30
  * Props for the PreviewCard.Viewport component. Use this only when one
43
31
  * preview card moves between triggers and its content changes in place.
44
32
  */
45
- interface PreviewCardViewportProps extends Omit<React.ComponentPropsWithoutRef<typeof PreviewCard$1.Viewport>, "className"> {
46
- /** Additional CSS class names */
47
- className?: string;
48
- }
33
+ interface PreviewCardViewportProps extends React.ComponentPropsWithoutRef<typeof PreviewCard$1.Viewport> {}
49
34
  /**
50
35
  * Props for the PreviewCard.Arrow component.
51
36
  */
52
- interface PreviewCardArrowProps extends Omit<React.ComponentPropsWithoutRef<typeof PreviewCard$1.Arrow>, "className"> {
53
- /** Additional CSS class names */
54
- className?: string;
55
- }
37
+ interface PreviewCardArrowProps extends React.ComponentPropsWithoutRef<typeof PreviewCard$1.Arrow> {}
56
38
  /**
57
39
  * Link element that triggers the preview card on hover.
58
40
  */