@mcp-b/react-components 0.63.0 → 0.64.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (484) hide show
  1. package/dist/{AgentActivity-DptCj8XQ.d.ts → AgentActivity-Cngwkalq.d.ts} +2 -9
  2. package/dist/{AgentChatQueue-DG2rGyCI.d.ts → AgentChatQueue-C1TDnVAn.d.ts} +1 -1
  3. package/dist/{AppTopBar-DwzydmXu.d.ts → AppTopBar-CM57rJID.d.ts} +7 -3
  4. package/dist/ChatGptSignInScreen-CmbBe09G.js +298 -0
  5. package/dist/{CodeBlock-BTkag9ms.d.ts → CodeBlock-BDupVceI.d.ts} +1 -1
  6. package/dist/CodeBlock-dt0L8md0.js +892 -0
  7. package/dist/{EmployeeChrome--PWdtg4B.d.ts → EmployeeChrome-kegSASjC.d.ts} +6 -5
  8. package/dist/{ExecutionBoard-DvPGdn4F.d.ts → ExecutionBoard-DBj1Aiva.d.ts} +8 -1
  9. package/dist/ExecutionResult-CXnGcmM4.js +671 -0
  10. package/dist/FileTree-CjfzpN6X.js +968 -0
  11. package/dist/{IconButton-FWsa9562.d.ts → IconButton-DXtGMkMI.d.ts} +7 -5
  12. package/dist/ManagerOffice-T79utm-P.js +2469 -0
  13. package/dist/{Menu-FA4P6KrA.d.ts → Menu-DajfQr3T.d.ts} +4 -2
  14. package/dist/{Message-BUedRDN1.d.ts → Message-BLyl6kWe.d.ts} +2 -2
  15. package/dist/{PromptInput-Dbe6WgWA.d.ts → PromptInput-DEwFMj6f.d.ts} +5 -8
  16. package/dist/{ResponsiveSidebarShell-DSAMNDdg.d.ts → ResponsiveSidebarShell-RwvmlMHS.d.ts} +23 -13
  17. package/dist/SetupChecklist-DwscX3Bw.js +230 -0
  18. package/dist/{Tabs-BYs-RgJ7.d.ts → Tabs-tyvVX3nc.d.ts} +29 -10
  19. package/dist/{ThinkChatActivity-zZaSsbC-.d.ts → ThinkChatActivity-C7xnO0Fx.d.ts} +1 -1
  20. package/dist/{ThinkChatActivitySummary-8MO1VjAJ.d.ts → ThinkChatActivitySummary-Dh4Av7x_.d.ts} +1 -1
  21. package/dist/{ThinkExecutionRun-DJ2TFDmZ.d.ts → ThinkExecutionRun-QzZVWX75.d.ts} +11 -3
  22. package/dist/ThinkSchedule-D4Ulsa0-.d.ts +53 -0
  23. package/dist/{ThinkThreadPicker-BmIZmpae.d.ts → ThinkThreadPicker-O-i2KloZ.d.ts} +1 -1
  24. package/dist/{Workspace-42LA9Zrb.d.ts → Workspace-B9nuTfIi.d.ts} +1 -1
  25. package/dist/{WorkspaceAutomation-yDZorXla.d.ts → WorkspaceAutomation-C0fghGLi.d.ts} +3 -3
  26. package/dist/WorkspaceBrowser-oBJv-Dac.js +985 -0
  27. package/dist/{WorkspaceConcept-BjrgGE1w.d.ts → WorkspaceConcept-D46cYerS.d.ts} +1 -1
  28. package/dist/{WorkspaceFile-nK2n0i4S.d.ts → WorkspaceFile-BJC6vlp_.d.ts} +15 -4
  29. package/dist/WorkspaceFileCommands-SNIjRgtU.d.ts +145 -0
  30. package/dist/WorkspaceFileTransfer-BRD22nW-.d.ts +159 -0
  31. package/dist/WorkspaceLink-DDkj-Tq5.js +407 -0
  32. package/dist/{WorkspaceMessageResponse-BZ-_I18b.js → WorkspaceMessageResponse-CXGOQgpo.js} +111 -24
  33. package/dist/{agent-tool-runs-DsOp_X2y.js → agent-tool-runs-BXKdcxl8.js} +55 -28
  34. package/dist/app-bar-outlet-BEIGl9iF.js +35 -0
  35. package/{LICENSE → dist/assets/desktop/LICENSE.fluent.txt} +1 -1
  36. package/dist/assets/desktop/LICENSE.mac-icons.txt +7 -0
  37. package/dist/assets/desktop/README.md +43 -0
  38. package/dist/assets/desktop/automations.svg +19 -0
  39. package/dist/assets/desktop/document.svg +24 -0
  40. package/dist/assets/desktop/folder.png +0 -0
  41. package/dist/assets/desktop/mail.svg +31 -0
  42. package/dist/assets/desktop/settings.svg +9 -0
  43. package/dist/assets/desktop/trash-full.svg +23 -0
  44. package/dist/assets/desktop/trash.svg +19 -0
  45. package/dist/attachment-preview-DeRqFjdz.js +68 -0
  46. package/dist/attempt-CySQHJsF.js +21 -0
  47. package/dist/command-search-1fjmCBBo.js +34 -0
  48. package/dist/components/agents-sdk/AIProviderDialog.js +757 -224
  49. package/dist/components/agents-sdk/AgentActivity.d.ts +2 -2
  50. package/dist/components/agents-sdk/AgentActivity.js +78 -31
  51. package/dist/components/agents-sdk/AgentChat.d.ts +3 -3
  52. package/dist/components/agents-sdk/AgentChat.js +1113 -386
  53. package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
  54. package/dist/components/agents-sdk/AgentChatQueue.js +290 -173
  55. package/dist/components/agents-sdk/AgentComputer.d.ts +270 -0
  56. package/dist/components/agents-sdk/AgentComputer.js +8045 -0
  57. package/dist/components/agents-sdk/AgentEvent.js +164 -21
  58. package/dist/components/agents-sdk/AgentScreenSwitcher.d.ts +46 -0
  59. package/dist/components/agents-sdk/AgentScreenSwitcher.js +409 -0
  60. package/dist/components/agents-sdk/AgentToolRunsContext.js +139 -41
  61. package/dist/components/agents-sdk/BrowserLiveScreen.js +860 -551
  62. package/dist/components/agents-sdk/BrowserLiveView.d.ts +1 -1
  63. package/dist/components/agents-sdk/BrowserLiveView.js +244 -88
  64. package/dist/components/agents-sdk/BrowserReplay.js +298 -133
  65. package/dist/components/agents-sdk/BrowserRunPanel.d.ts +57 -1
  66. package/dist/components/agents-sdk/BrowserRunPanel.js +979 -129
  67. package/dist/components/agents-sdk/DiscordConnectionDialog.js +104 -57
  68. package/dist/components/agents-sdk/EmployeeApp.d.ts +1 -1
  69. package/dist/components/agents-sdk/EmployeeApp.js +108 -46
  70. package/dist/components/agents-sdk/EmployeeChat.d.ts +1 -1
  71. package/dist/components/agents-sdk/EmployeeChat.js +500 -99
  72. package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
  73. package/dist/components/agents-sdk/EmployeeChrome.js +1375 -557
  74. package/dist/components/agents-sdk/EmployeeSchedules.d.ts +3 -3
  75. package/dist/components/agents-sdk/EmployeeSchedules.js +281 -64
  76. package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +2 -2
  77. package/dist/components/agents-sdk/EmployeeStartScreen.js +185 -52
  78. package/dist/components/agents-sdk/ExecutionBoard.d.ts +1 -1
  79. package/dist/components/agents-sdk/ExecutionBoard.js +1661 -462
  80. package/dist/components/agents-sdk/ManagerAccountActions.js +142 -35
  81. package/dist/components/agents-sdk/ManagerOffice.d.ts +15 -8
  82. package/dist/components/agents-sdk/ManagerOffice.js +1 -1
  83. package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
  84. package/dist/components/agents-sdk/ManagerOfficeScreens.js +551 -185
  85. package/dist/components/agents-sdk/McpConnectionRequest.js +332 -117
  86. package/dist/components/agents-sdk/McpConnectorForm.js +320 -100
  87. package/dist/components/agents-sdk/McpPluginCatalog.js +697 -249
  88. package/dist/components/agents-sdk/McpServerIcon.js +57 -14
  89. package/dist/components/agents-sdk/McpServerPicker.d.ts +1 -1
  90. package/dist/components/agents-sdk/McpServerPicker.js +542 -158
  91. package/dist/components/agents-sdk/ModelSelector.js +1151 -253
  92. package/dist/components/agents-sdk/PromptInputApproval.js +115 -27
  93. package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
  94. package/dist/components/agents-sdk/PromptInputCommands.js +33 -46
  95. package/dist/components/agents-sdk/SlackConnectionDialog.js +38 -14
  96. package/dist/components/agents-sdk/SubagentRunIndicator.js +118 -25
  97. package/dist/components/agents-sdk/SubagentRunLanes.js +291 -107
  98. package/dist/components/agents-sdk/SubagentRunPanel.js +357 -129
  99. package/dist/components/agents-sdk/SubagentRunSelector.js +123 -26
  100. package/dist/components/agents-sdk/ThinkChat.d.ts +2 -2
  101. package/dist/components/agents-sdk/ThinkChat.js +321 -132
  102. package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
  103. package/dist/components/agents-sdk/ThinkChatActivity.js +306 -100
  104. package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
  105. package/dist/components/agents-sdk/ThinkChatActivitySummary.js +15 -9
  106. package/dist/components/agents-sdk/ThinkChatToolPanels.js +1386 -404
  107. package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +5 -3
  108. package/dist/components/agents-sdk/ThinkExecutionDetail.js +219 -45
  109. package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +2 -2
  110. package/dist/components/agents-sdk/ThinkExecutionRun.js +19 -11
  111. package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +5 -3
  112. package/dist/components/agents-sdk/ThinkExecutionStatus.js +224 -37
  113. package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +8 -5
  114. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +505 -124
  115. package/dist/components/agents-sdk/ThinkFullApp.js +147 -44
  116. package/dist/components/agents-sdk/ThinkPendingApproval.js +381 -75
  117. package/dist/components/agents-sdk/ThinkRecoveryNotice.js +71 -26
  118. package/dist/components/agents-sdk/ThinkSchedule.d.ts +2 -2
  119. package/dist/components/agents-sdk/ThinkSchedule.js +124 -1
  120. package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +3 -3
  121. package/dist/components/agents-sdk/ThinkScheduleActions.js +363 -132
  122. package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +1 -1
  123. package/dist/components/agents-sdk/ThinkScheduleBrowser.js +249 -116
  124. package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +2 -2
  125. package/dist/components/agents-sdk/ThinkScheduleDetail.js +311 -90
  126. package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +6 -2
  127. package/dist/components/agents-sdk/ThinkScheduleForm.js +1318 -475
  128. package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -1
  129. package/dist/components/agents-sdk/ThinkThreadPicker.js +434 -214
  130. package/dist/components/agents-sdk/TypeSafeConnectionDialog.js +30 -13
  131. package/dist/components/agents-sdk/WorkbenchBack.js +66 -20
  132. package/dist/components/agents-sdk/Workspace.d.ts +1 -1
  133. package/dist/components/agents-sdk/Workspace.js +491 -166
  134. package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +1 -1
  135. package/dist/components/agents-sdk/WorkspaceAutomation.js +1492 -415
  136. package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +1 -1
  137. package/dist/components/agents-sdk/WorkspaceAutomationTable.js +1316 -525
  138. package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +72 -2
  139. package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -94
  140. package/dist/components/agents-sdk/WorkspaceConcept.d.ts +1 -1
  141. package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +1 -1
  142. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +619 -178
  143. package/dist/components/agents-sdk/WorkspaceDesktop.d.ts +45 -0
  144. package/dist/components/agents-sdk/WorkspaceDesktop.js +240 -0
  145. package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +52 -1
  146. package/dist/components/agents-sdk/WorkspaceExplorer.js +267 -85
  147. package/dist/components/agents-sdk/WorkspaceFile.d.ts +2 -2
  148. package/dist/components/agents-sdk/WorkspaceFile.js +30 -9
  149. package/dist/components/agents-sdk/WorkspaceFileCommands.d.ts +2 -0
  150. package/dist/components/agents-sdk/WorkspaceFileCommands.js +890 -0
  151. package/dist/components/agents-sdk/WorkspaceFileDetails.d.ts +29 -0
  152. package/dist/components/agents-sdk/WorkspaceFileDetails.js +271 -0
  153. package/dist/components/agents-sdk/WorkspaceFileTransfer.d.ts +2 -0
  154. package/dist/components/agents-sdk/WorkspaceFileTransfer.js +505 -0
  155. package/dist/components/agents-sdk/WorkspaceFileView.d.ts +18 -3
  156. package/dist/components/agents-sdk/WorkspaceFileView.js +866 -1
  157. package/dist/components/agents-sdk/WorkspaceHeader.js +71 -26
  158. package/dist/components/agents-sdk/WorkspaceLink.js +2 -2
  159. package/dist/components/agents-sdk/WorkspaceLive.d.ts +2 -2
  160. package/dist/components/agents-sdk/WorkspaceLive.js +126 -73
  161. package/dist/components/agents-sdk/WorkspaceLocalFolder.d.ts +63 -0
  162. package/dist/components/agents-sdk/WorkspaceLocalFolder.js +455 -0
  163. package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +1 -1
  164. package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
  165. package/dist/components/agents-sdk/WorkspaceMountManager.js +118 -58
  166. package/dist/components/agents-sdk/WorkspaceNavigationRestoration.js +90 -54
  167. package/dist/components/agents-sdk/WorkspacePerson.d.ts +2 -2
  168. package/dist/components/agents-sdk/WorkspacePerson.js +172 -41
  169. package/dist/components/agents-sdk/WorkspaceProject.d.ts +2 -2
  170. package/dist/components/agents-sdk/WorkspaceProject.js +175 -41
  171. package/dist/components/ai-sdk/Activity.js +768 -192
  172. package/dist/components/ai-sdk/AgentAttention.js +286 -58
  173. package/dist/components/ai-sdk/AgentChatMessageEditor.js +193 -68
  174. package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +1 -1
  175. package/dist/components/ai-sdk/AgentChatStartScreen.js +368 -80
  176. package/dist/components/ai-sdk/AgentChatTurnError.js +75 -25
  177. package/dist/components/ai-sdk/AgentMessageParts.js +0 -1
  178. package/dist/components/ai-sdk/Approval.js +574 -172
  179. package/dist/components/ai-sdk/Artifact.d.ts +1 -1
  180. package/dist/components/ai-sdk/Artifact.js +535 -128
  181. package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
  182. package/dist/components/ai-sdk/ChainOfThought.js +404 -80
  183. package/dist/components/ai-sdk/Checkpoint.js +229 -45
  184. package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
  185. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  186. package/dist/components/ai-sdk/ComposerLink.js +216 -48
  187. package/dist/components/ai-sdk/ConnectedAppCards.js +229 -52
  188. package/dist/components/ai-sdk/Context.js +737 -178
  189. package/dist/components/ai-sdk/Conversation.d.ts +1 -1
  190. package/dist/components/ai-sdk/Conversation.js +305 -68
  191. package/dist/components/ai-sdk/ExpansionState.js +74 -15
  192. package/dist/components/ai-sdk/Goal.js +435 -116
  193. package/dist/components/ai-sdk/InlineCitation.js +313 -76
  194. package/dist/components/ai-sdk/MediaPreviewCard.js +451 -135
  195. package/dist/components/ai-sdk/Message.d.ts +1 -1
  196. package/dist/components/ai-sdk/Message.js +1010 -195
  197. package/dist/components/ai-sdk/MessageScroller.d.ts +1 -1
  198. package/dist/components/ai-sdk/MessageScroller.js +264 -46
  199. package/dist/components/ai-sdk/MessageScrollerVirtual.js +6 -6
  200. package/dist/components/ai-sdk/Plan.js +639 -128
  201. package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
  202. package/dist/components/ai-sdk/PromptInput.js +2735 -794
  203. package/dist/components/ai-sdk/PromptInputComposerEditor.d.ts +1 -3
  204. package/dist/components/ai-sdk/PromptInputComposerEditor.js +188 -83
  205. package/dist/components/ai-sdk/Queue.js +792 -154
  206. package/dist/components/ai-sdk/Reasoning.js +268 -69
  207. package/dist/components/ai-sdk/Sources.js +226 -63
  208. package/dist/components/ai-sdk/Task.js +294 -71
  209. package/dist/components/ai-sdk/ToolApproval.js +126 -26
  210. package/dist/components/ai-sdk/ToolInvocation.js +112 -22
  211. package/dist/components/extension/ChatGptSignInScreen.js +1 -82
  212. package/dist/components/extension/CodexModelSelector.d.ts +1 -1
  213. package/dist/components/extension/CodexModelSelector.js +467 -146
  214. package/dist/components/extension/ConversationTabPicker.d.ts +1 -1
  215. package/dist/components/extension/ConversationTabPicker.js +254 -76
  216. package/dist/components/extension/FirstRunSetup.d.ts +100 -36
  217. package/dist/components/extension/FirstRunSetup.js +3974 -1016
  218. package/dist/components/foundations/Accordion.js +186 -41
  219. package/dist/components/foundations/AlertDialog.js +425 -97
  220. package/dist/components/foundations/AppIcon.d.ts +13 -13
  221. package/dist/components/foundations/AppIcon.js +183 -34
  222. package/dist/components/foundations/Autocomplete.js +408 -89
  223. package/dist/components/foundations/Avatar.d.ts +100 -2
  224. package/dist/components/foundations/Avatar.js +204 -44
  225. package/dist/components/foundations/Button.js +64 -13
  226. package/dist/components/foundations/Card.js +357 -63
  227. package/dist/components/foundations/Checkbox.js +82 -17
  228. package/dist/components/foundations/CheckboxGroup.js +266 -58
  229. package/dist/components/foundations/Collapsible.d.ts +2 -1
  230. package/dist/components/foundations/Collapsible.js +129 -26
  231. package/dist/components/foundations/Combobox.js +408 -89
  232. package/dist/components/foundations/ContextMenu.d.ts +2 -2
  233. package/dist/components/foundations/ContextMenu.js +591 -117
  234. package/dist/components/foundations/DescriptionList.js +159 -28
  235. package/dist/components/foundations/Dialog.js +373 -89
  236. package/dist/components/foundations/EmptyState.js +86 -23
  237. package/dist/components/foundations/Favicon.d.ts +17 -0
  238. package/dist/components/foundations/Favicon.js +62 -0
  239. package/dist/components/foundations/Field.js +525 -108
  240. package/dist/components/foundations/Fieldset.js +115 -23
  241. package/dist/components/foundations/Form.js +38 -9
  242. package/dist/components/foundations/FormattedDate.d.ts +19 -5
  243. package/dist/components/foundations/FormattedDate.js +82 -12
  244. package/dist/components/foundations/IconButton.d.ts +1 -1
  245. package/dist/components/foundations/IconButton.js +114 -17
  246. package/dist/components/foundations/Input.js +38 -9
  247. package/dist/components/foundations/Kbd.js +55 -10
  248. package/dist/components/foundations/Label.js +56 -12
  249. package/dist/components/foundations/LinkButton.js +67 -15
  250. package/dist/components/foundations/Marker.js +138 -29
  251. package/dist/components/foundations/Menu.d.ts +1 -1
  252. package/dist/components/foundations/Menu.js +634 -136
  253. package/dist/components/foundations/Menubar.d.ts +2 -2
  254. package/dist/components/foundations/Menubar.js +685 -130
  255. package/dist/components/foundations/Meter.js +186 -41
  256. package/dist/components/foundations/NavigationMenu.js +426 -95
  257. package/dist/components/foundations/NumberField.js +223 -49
  258. package/dist/components/foundations/Popover.js +398 -88
  259. package/dist/components/foundations/PreviewCard.js +234 -53
  260. package/dist/components/foundations/Progress.js +117 -25
  261. package/dist/components/foundations/RadioGroup.d.ts +13 -5
  262. package/dist/components/foundations/RadioGroup.js +132 -25
  263. package/dist/components/foundations/ScrollArea.js +230 -51
  264. package/dist/components/foundations/SearchField.d.ts +8 -3
  265. package/dist/components/foundations/SearchField.js +129 -28
  266. package/dist/components/foundations/Select.js +648 -145
  267. package/dist/components/foundations/Separator.js +61 -12
  268. package/dist/components/foundations/Slider.js +260 -57
  269. package/dist/components/foundations/Stepper.d.ts +1 -1
  270. package/dist/components/foundations/Stepper.js +561 -127
  271. package/dist/components/foundations/Switch.js +82 -18
  272. package/dist/components/foundations/Tabs.d.ts +2 -2
  273. package/dist/components/foundations/Tabs.js +282 -53
  274. package/dist/components/foundations/Textarea.js +43 -9
  275. package/dist/components/foundations/ThemeProvider.js +138 -52
  276. package/dist/components/foundations/Toast.d.ts +10 -2
  277. package/dist/components/foundations/Toast.js +322 -75
  278. package/dist/components/foundations/Toggle.d.ts +5 -2
  279. package/dist/components/foundations/Toggle.js +51 -10
  280. package/dist/components/foundations/ToggleGroup.d.ts +3 -3
  281. package/dist/components/foundations/ToggleGroup.js +215 -59
  282. package/dist/components/foundations/Toolbar.js +249 -61
  283. package/dist/components/foundations/Tooltip.d.ts +3 -3
  284. package/dist/components/foundations/Tooltip.js +311 -55
  285. package/dist/components/foundations/TransitionSurface.js +43 -9
  286. package/dist/components/foundations/icons.d.ts +2 -2
  287. package/dist/components/foundations/icons.js +2 -2
  288. package/dist/components/general-purpose/AccountSignInDialog.js +99 -17
  289. package/dist/components/general-purpose/ActionGuide.js +290 -64
  290. package/dist/components/general-purpose/AppFrame.js +72 -14
  291. package/dist/components/general-purpose/AppTopBar.d.ts +1 -1
  292. package/dist/components/general-purpose/AppTopBar.js +349 -60
  293. package/dist/components/general-purpose/BrandLoading.js +37 -9
  294. package/dist/components/general-purpose/CommandPalette.d.ts +47 -0
  295. package/dist/components/general-purpose/CommandPalette.js +271 -0
  296. package/dist/components/general-purpose/Commit.d.ts +1 -1
  297. package/dist/components/general-purpose/Commit.js +937 -167
  298. package/dist/components/general-purpose/EnvironmentVariables.d.ts +1 -1
  299. package/dist/components/general-purpose/EnvironmentVariables.js +600 -114
  300. package/dist/components/general-purpose/FileTree.d.ts +20 -7
  301. package/dist/components/general-purpose/FileTree.js +1 -1
  302. package/dist/components/general-purpose/ListDetail.d.ts +84 -0
  303. package/dist/components/general-purpose/ListDetail.js +423 -0
  304. package/dist/components/general-purpose/NotificationPrompt.js +20 -11
  305. package/dist/components/general-purpose/PricingBillingToggle.js +33 -6
  306. package/dist/components/general-purpose/PricingConfirmationDialog.js +126 -42
  307. package/dist/components/general-purpose/PricingFAQ.js +53 -12
  308. package/dist/components/general-purpose/PricingPage.js +376 -139
  309. package/dist/components/general-purpose/PricingPlanCard.js +209 -84
  310. package/dist/components/general-purpose/PricingUsageCalculator.js +231 -81
  311. package/dist/components/general-purpose/ResizableSidePanel.js +316 -117
  312. package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
  313. package/dist/components/general-purpose/ResponsiveSidebarShell.js +840 -342
  314. package/dist/components/general-purpose/ScreenStack.d.ts +54 -0
  315. package/dist/components/general-purpose/ScreenStack.js +427 -0
  316. package/dist/components/general-purpose/SettingsFormDialog.js +235 -77
  317. package/dist/components/general-purpose/SetupChecklist.js +1 -1
  318. package/dist/components/general-purpose/StatusScreen.js +82 -24
  319. package/dist/components/general-purpose/SwipeActions.d.ts +54 -0
  320. package/dist/components/general-purpose/SwipeActions.js +357 -0
  321. package/dist/components/general-purpose/Terminal.d.ts +22 -48
  322. package/dist/components/general-purpose/Terminal.js +320 -174
  323. package/dist/components/general-purpose/TestResults.js +975 -196
  324. package/dist/components/general-purpose/ThemeModeControl.d.ts +3 -1
  325. package/dist/components/general-purpose/ThemeModeControl.js +66 -23
  326. package/dist/components/general-purpose/WallpaperPicker.d.ts +33 -0
  327. package/dist/components/general-purpose/WallpaperPicker.js +180 -0
  328. package/dist/components/general-purpose/WebPreview.d.ts +5 -7
  329. package/dist/components/general-purpose/WebPreview.js +770 -203
  330. package/dist/components/nanites/AgentConnection.js +323 -84
  331. package/dist/components/nanites/AgentToolDetail.js +233 -53
  332. package/dist/components/nanites/GithubMotionMark.js +37 -9
  333. package/dist/components/nanites/NaniteScene.js +535 -323
  334. package/dist/connected-app-drafts-Bocdg3Z-.js +637 -0
  335. package/dist/container-width-C43ccJ84.js +17 -0
  336. package/dist/context-Ddsp8HgD.js +43 -0
  337. package/dist/{copy-button-B09hHWd1.d.ts → copy-button-C2HRdomn.d.ts} +1 -1
  338. package/dist/copy-button-DWBVJR6D.js +118 -0
  339. package/dist/{format-CWaZEp5o.js → format-DL7f2rqp.js} +5 -1
  340. package/dist/{icons-CReP3qYl.d.ts → icons-B3n7zvU7.d.ts} +10 -2
  341. package/dist/icons-nLTnB9kd.js +470 -0
  342. package/dist/{merge-refs-DAh6reu8.js → merge-refs-DTX97mLp.js} +17 -1
  343. package/dist/motion-CGM3i6lX.js +319 -0
  344. package/dist/motion-preferences-6qsDIDvH.js +13 -0
  345. package/dist/{navigation-link-kqMa81v5.js → navigation-link-DMmtdqsM.js} +32 -8
  346. package/dist/progress-ring-BO649JA9.js +79 -0
  347. package/dist/provider-logos-Ceu7iYFx.js +362 -0
  348. package/dist/scheduled-table-source-gGpVJ1TN.js +92 -0
  349. package/dist/styles/accessibility.css +26 -0
  350. package/dist/styles/accordion.css +0 -2
  351. package/dist/styles/activity.css +20 -12
  352. package/dist/styles/agent-attention.css +31 -10
  353. package/dist/styles/agent-chat.css +7 -6
  354. package/dist/styles/agent-computer-motion-reduction.css +118 -0
  355. package/dist/styles/agent-computer-motion.css +127 -0
  356. package/dist/styles/agent-computer-phone.css +942 -0
  357. package/dist/styles/agent-computer.css +1764 -0
  358. package/dist/styles/agent-connection.css +5 -5
  359. package/dist/styles/agent-screen-switcher.css +313 -0
  360. package/dist/styles/app-icon.css +34 -30
  361. package/dist/styles/app-top-bar.css +33 -18
  362. package/dist/styles/approval.css +3 -3
  363. package/dist/styles/artifact.css +1 -1
  364. package/dist/styles/attachment-preview.css +2 -4
  365. package/dist/styles/avatar.css +12 -14
  366. package/dist/styles/base-ui-motion.css +84 -18
  367. package/dist/styles/base-ui-motion.test.tsx +305 -0
  368. package/dist/styles/base.css +16 -12
  369. package/dist/styles/brand.test.ts +7 -20
  370. package/dist/styles/browser-control-overlay.css +1 -1
  371. package/dist/styles/browser-live-screen.css +2 -2
  372. package/dist/styles/browser-live-view.css +1 -1
  373. package/dist/styles/browser-replay.css +0 -8
  374. package/dist/styles/browser-run-panel.css +275 -37
  375. package/dist/styles/button.css +52 -9
  376. package/dist/styles/card.css +6 -5
  377. package/dist/styles/chain-of-thought.css +0 -10
  378. package/dist/styles/checkpoint.css +2 -2
  379. package/dist/styles/codex-model-selector.css +2 -2
  380. package/dist/styles/color-contrast.test.ts +18 -1
  381. package/dist/styles/command-palette.css +110 -0
  382. package/dist/styles/composer-link.css +11 -7
  383. package/dist/styles/composition-motion.css +3 -14
  384. package/dist/styles/context.css +2 -2
  385. package/dist/styles/conversation-tab-picker.css +7 -0
  386. package/dist/styles/conversation.css +8 -2
  387. package/dist/styles/dialog.css +2 -2
  388. package/dist/styles/employee-app.css +8 -2
  389. package/dist/styles/employee-chrome.css +4 -4
  390. package/dist/styles/execution-board.css +206 -114
  391. package/dist/styles/execution-result.css +2 -2
  392. package/dist/styles/field.css +187 -4
  393. package/dist/styles/file-tree.css +218 -40
  394. package/dist/styles/first-run-setup.css +914 -187
  395. package/dist/styles/github-motion-mark.css +0 -8
  396. package/dist/styles/index.css +145 -133
  397. package/dist/styles/inline-citation.css +5 -4
  398. package/dist/styles/list-detail.css +57 -0
  399. package/dist/styles/manager-office.css +6 -8
  400. package/dist/styles/manager-work.css +4 -2
  401. package/dist/styles/mcp-plugin-catalog.css +2 -2
  402. package/dist/styles/mcp-server-picker.css +3 -6
  403. package/dist/styles/media-preview-card.css +2 -2
  404. package/dist/styles/menu.css +0 -9
  405. package/dist/styles/menubar.css +18 -6
  406. package/dist/styles/message-scroller.css +47 -9
  407. package/dist/styles/message.css +3 -3
  408. package/dist/styles/model-selector.css +1 -1
  409. package/dist/styles/motion-reduction.css +39 -6
  410. package/dist/styles/pricing-page.css +1 -1
  411. package/dist/styles/prompt-input.css +29 -29
  412. package/dist/styles/queue.css +1 -1
  413. package/dist/styles/recipes.css +212 -28
  414. package/dist/styles/responsive-sidebar-shell-motion.test.ts +81 -1
  415. package/dist/styles/responsive-sidebar-shell.css +40 -43
  416. package/dist/styles/screen-stack.css +123 -0
  417. package/dist/styles/search-field.css +80 -3
  418. package/dist/styles/stepper.css +0 -10
  419. package/dist/styles/streamdown.css +2 -2
  420. package/dist/styles/subagent-run.css +9 -5
  421. package/dist/styles/swipe-actions.css +158 -0
  422. package/dist/styles/tabs.css +80 -23
  423. package/dist/styles/task.css +7 -1
  424. package/dist/styles/terminal.css +66 -78
  425. package/dist/styles/test-results.css +1 -19
  426. package/dist/styles/textarea.css +2 -1
  427. package/dist/styles/theme-mode-control.css +154 -26
  428. package/dist/styles/think-chat-tool-panels.css +1 -1
  429. package/dist/styles/think-execution-workbench.css +0 -9
  430. package/dist/styles/think-full-app.css +7 -1
  431. package/dist/styles/think-schedule.css +81 -54
  432. package/dist/styles/think-thread-picker.css +28 -37
  433. package/dist/styles/toast.css +11 -0
  434. package/dist/styles/toggle-group.css +0 -10
  435. package/dist/styles/toggle.css +13 -0
  436. package/dist/styles/tooltip.css +12 -0
  437. package/dist/styles/transition-surface.css +1 -0
  438. package/dist/styles/wallpaper-picker.css +224 -0
  439. package/dist/styles/web-preview.css +47 -18
  440. package/dist/styles/workspace-automation.css +116 -17
  441. package/dist/styles/workspace-concepts.css +1 -1
  442. package/dist/styles/workspace-desktop.css +124 -0
  443. package/dist/styles/workspace-entity-card.css +3 -1
  444. package/dist/styles/workspace-explorer.css +499 -5
  445. package/dist/utils/brand-marks.d.ts +13 -0
  446. package/dist/utils/brand-marks.js +14 -0
  447. package/dist/utils/desktop-artwork.d.ts +17 -0
  448. package/dist/utils/desktop-artwork.js +18 -0
  449. package/dist/utils/favicon.d.ts +6 -2
  450. package/dist/utils/favicon.js +16 -4
  451. package/dist/utils/structured-code.d.ts +1 -1
  452. package/dist/workspace-assets-DdtnBDU3.js +213 -0
  453. package/dist/{workspace-concept-panel-C_oYhPSx.d.ts → workspace-concept-panel-BDTBISNO.d.ts} +2 -2
  454. package/dist/workspace-concept-panel-VkjvFCY_.js +140 -0
  455. package/dist/workspace-delete-BOY6CMBf.js +183 -0
  456. package/dist/workspace-drag-B6hMXUNt.js +304 -0
  457. package/dist/workspace-entity-card-9YcsNiqU.js +178 -0
  458. package/dist/workspace-media-preview-B4iB5Tvi.js +1295 -0
  459. package/dist/{workspace-path-L_KmjRjq.js → workspace-path-TZggP-u4.js} +14 -1
  460. package/dist/{workspace-person-BVkYb3dv.js → workspace-person-ZwPqu5TX.js} +67 -21
  461. package/dist/workspace-quick-look-9V-UFpjj.js +1562 -0
  462. package/package.json +9 -3
  463. package/dist/Avatar-t1YRzdwB.d.ts +0 -101
  464. package/dist/CodeBlock-DYQdZUH6.js +0 -318
  465. package/dist/ExecutionResult-2fBkpIGN.js +0 -279
  466. package/dist/FileTree-CDLOD643.js +0 -323
  467. package/dist/ManagerOffice-CvVSHnOM.js +0 -1129
  468. package/dist/SetupChecklist-B-iEta9v.js +0 -78
  469. package/dist/ThinkSchedule-DPoOYWTQ.d.ts +0 -34
  470. package/dist/WorkspaceFileView-DwIkehSM.js +0 -783
  471. package/dist/WorkspaceLink-BeFAXpbI.js +0 -225
  472. package/dist/app-bar-outlet-CNfNzY4Y.js +0 -6
  473. package/dist/attachment-preview-1CXJvrmb.js +0 -25
  474. package/dist/chatgpt-sign-in-button-D8AT6x4c.js +0 -32
  475. package/dist/connected-app-drafts-DtA2fBK5.js +0 -283
  476. package/dist/copy-button-DbR932tF.js +0 -45
  477. package/dist/icons-GoybMAB2.js +0 -141
  478. package/dist/progress-ring-L2bbF0ji.js +0 -40
  479. package/dist/provider-logos-DWYY8wNz.js +0 -99
  480. package/dist/scheduled-table-source-NZR1vFc_.js +0 -38
  481. package/dist/workspace-assets-F3r6XltC.js +0 -107
  482. package/dist/workspace-concept-panel-D8oEvR0n.js +0 -66
  483. package/dist/workspace-delete-CQvv1eDE.js +0 -81
  484. package/dist/workspace-entity-card-B1aV-jBj.js +0 -61
@@ -1,7 +1,8 @@
1
1
  import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { Z as SpinnerIcon, d as CheckIcon, lt as XIcon, p as ChevronRightIcon } from "../../icons-GoybMAB2.js";
2
+ import { g as ChevronRightIcon, gt as XIcon, it as SpinnerIcon, p as CheckIcon } from "../../icons-nLTnB9kd.js";
3
3
  import { Collapsible } from "../foundations/Collapsible.js";
4
4
  import { Progress } from "../foundations/Progress.js";
5
+ import { c } from "react/compiler-runtime";
5
6
  import * as React from "react";
6
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
8
  import { useRender } from "@base-ui/react/use-render";
@@ -43,52 +44,199 @@ const TestResultsContext = React.createContext({});
43
44
  * </TestResults>
44
45
  * ```
45
46
  */
46
- function TestResults({ render, summary, children, ref, ...props }) {
47
- const overall = summary && summary.failed > 0 ? "failed" : "passed";
48
- const contextValue = React.useMemo(() => ({ summary }), [summary]);
49
- const element = useRender({
50
- defaultTagName: "div",
51
- render,
52
- ref,
53
- props: mergeProps({
47
+ function TestResults(t0) {
48
+ const $ = c(17);
49
+ let contextValue;
50
+ let t1;
51
+ let t2;
52
+ let t3;
53
+ let t4;
54
+ let t5;
55
+ if ($[0] !== t0) {
56
+ const { render, summary, children, ref, ...props } = t0;
57
+ const overall = summary && summary.failed > 0 ? "failed" : "passed";
58
+ let t6;
59
+ if ($[7] !== summary) {
60
+ t6 = { summary };
61
+ $[7] = summary;
62
+ $[8] = t6;
63
+ } else t6 = $[8];
64
+ contextValue = t6;
65
+ const defaultProps = {
54
66
  className: "test-results",
55
67
  "data-status": overall,
56
68
  "data-recipe": "framed-panel",
57
69
  children
58
- }, props)
59
- });
60
- return /* @__PURE__ */ jsx(TestResultsContext.Provider, {
61
- value: contextValue,
62
- children: element
63
- });
70
+ };
71
+ t5 = useRender;
72
+ t1 = "div";
73
+ t2 = render;
74
+ t3 = ref;
75
+ t4 = mergeProps(defaultProps, props);
76
+ $[0] = t0;
77
+ $[1] = contextValue;
78
+ $[2] = t1;
79
+ $[3] = t2;
80
+ $[4] = t3;
81
+ $[5] = t4;
82
+ $[6] = t5;
83
+ } else {
84
+ contextValue = $[1];
85
+ t1 = $[2];
86
+ t2 = $[3];
87
+ t3 = $[4];
88
+ t4 = $[5];
89
+ t5 = $[6];
90
+ }
91
+ let t6;
92
+ if ($[9] !== t1 || $[10] !== t2 || $[11] !== t3 || $[12] !== t4) {
93
+ t6 = {
94
+ defaultTagName: t1,
95
+ render: t2,
96
+ ref: t3,
97
+ props: t4
98
+ };
99
+ $[9] = t1;
100
+ $[10] = t2;
101
+ $[11] = t3;
102
+ $[12] = t4;
103
+ $[13] = t6;
104
+ } else t6 = $[13];
105
+ const element = t5(t6);
106
+ let t7;
107
+ if ($[14] !== contextValue || $[15] !== element) {
108
+ t7 = /* @__PURE__ */ jsx(TestResultsContext.Provider, {
109
+ value: contextValue,
110
+ children: element
111
+ });
112
+ $[14] = contextValue;
113
+ $[15] = element;
114
+ $[16] = t7;
115
+ } else t7 = $[16];
116
+ return t7;
64
117
  }
65
- function TestResultsHeader({ className, children, ref, ...props }) {
66
- return /* @__PURE__ */ jsx("div", {
67
- ref,
68
- className: cx("test-results__header", className),
69
- ...props,
70
- children
71
- });
118
+ function TestResultsHeader(t0) {
119
+ const $ = c(12);
120
+ let children;
121
+ let className;
122
+ let props;
123
+ let ref;
124
+ if ($[0] !== t0) {
125
+ ({className, children, ref, ...props} = t0);
126
+ $[0] = t0;
127
+ $[1] = children;
128
+ $[2] = className;
129
+ $[3] = props;
130
+ $[4] = ref;
131
+ } else {
132
+ children = $[1];
133
+ className = $[2];
134
+ props = $[3];
135
+ ref = $[4];
136
+ }
137
+ let t1;
138
+ if ($[5] !== className) {
139
+ t1 = cx("test-results__header", className);
140
+ $[5] = className;
141
+ $[6] = t1;
142
+ } else t1 = $[6];
143
+ let t2;
144
+ if ($[7] !== children || $[8] !== props || $[9] !== ref || $[10] !== t1) {
145
+ t2 = /* @__PURE__ */ jsx("div", {
146
+ ref,
147
+ className: t1,
148
+ ...props,
149
+ children
150
+ });
151
+ $[7] = children;
152
+ $[8] = props;
153
+ $[9] = ref;
154
+ $[10] = t1;
155
+ $[11] = t2;
156
+ } else t2 = $[11];
157
+ return t2;
72
158
  }
73
- function TestResultsDuration({ className, children, ref, ...props }) {
159
+ function TestResultsDuration(t0) {
160
+ const $ = c(15);
161
+ let children;
162
+ let className;
163
+ let props;
164
+ let ref;
165
+ if ($[0] !== t0) {
166
+ ({className, children, ref, ...props} = t0);
167
+ $[0] = t0;
168
+ $[1] = children;
169
+ $[2] = className;
170
+ $[3] = props;
171
+ $[4] = ref;
172
+ } else {
173
+ children = $[1];
174
+ className = $[2];
175
+ props = $[3];
176
+ ref = $[4];
177
+ }
74
178
  const { summary } = React.useContext(TestResultsContext);
75
179
  if (!summary?.duration) return null;
76
- return /* @__PURE__ */ jsx("span", {
77
- ref,
78
- className: cx("test-results__stat", className),
79
- ...props,
80
- children: children ?? formatDuration(summary.duration)
81
- });
180
+ let t1;
181
+ if ($[5] !== className) {
182
+ t1 = cx("test-results__stat", className);
183
+ $[5] = className;
184
+ $[6] = t1;
185
+ } else t1 = $[6];
186
+ let t2;
187
+ if ($[7] !== children || $[8] !== summary) {
188
+ t2 = children ?? formatDuration(summary.duration);
189
+ $[7] = children;
190
+ $[8] = summary;
191
+ $[9] = t2;
192
+ } else t2 = $[9];
193
+ let t3;
194
+ if ($[10] !== props || $[11] !== ref || $[12] !== t1 || $[13] !== t2) {
195
+ t3 = /* @__PURE__ */ jsx("span", {
196
+ ref,
197
+ className: t1,
198
+ ...props,
199
+ children: t2
200
+ });
201
+ $[10] = props;
202
+ $[11] = ref;
203
+ $[12] = t1;
204
+ $[13] = t2;
205
+ $[14] = t3;
206
+ } else t3 = $[14];
207
+ return t3;
82
208
  }
83
- function TestResultsSummary({ className, children, ref, ...props }) {
209
+ function TestResultsSummary(t0) {
210
+ const $ = c(18);
211
+ let children;
212
+ let className;
213
+ let props;
214
+ let ref;
215
+ if ($[0] !== t0) {
216
+ ({className, children, ref, ...props} = t0);
217
+ $[0] = t0;
218
+ $[1] = children;
219
+ $[2] = className;
220
+ $[3] = props;
221
+ $[4] = ref;
222
+ } else {
223
+ children = $[1];
224
+ className = $[2];
225
+ props = $[3];
226
+ ref = $[4];
227
+ }
84
228
  const { summary } = React.useContext(TestResultsContext);
85
229
  if (!summary) return null;
86
230
  const overall = summary.failed > 0 ? "failed" : "passed";
87
- return /* @__PURE__ */ jsx("div", {
88
- ref,
89
- className: cx("test-results__summary", className),
90
- ...props,
91
- children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("strong", {
231
+ let t1;
232
+ if ($[5] !== className) {
233
+ t1 = cx("test-results__summary", className);
234
+ $[5] = className;
235
+ $[6] = t1;
236
+ } else t1 = $[6];
237
+ let t2;
238
+ if ($[7] !== children || $[8] !== overall || $[9] !== summary.failed || $[10] !== summary.passed || $[11] !== summary.skipped) {
239
+ t2 = children ?? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("strong", {
92
240
  className: "test-results__outcome",
93
241
  "data-status": overall,
94
242
  children: overall === "passed" ? "All tests passed" : `${summary.failed} failed`
@@ -109,112 +257,418 @@ function TestResultsSummary({ className, children, ref, ...props }) {
109
257
  }),
110
258
  /* @__PURE__ */ jsx(TestResultsDuration, {})
111
259
  ]
112
- })] })
113
- });
260
+ })] });
261
+ $[7] = children;
262
+ $[8] = overall;
263
+ $[9] = summary.failed;
264
+ $[10] = summary.passed;
265
+ $[11] = summary.skipped;
266
+ $[12] = t2;
267
+ } else t2 = $[12];
268
+ let t3;
269
+ if ($[13] !== props || $[14] !== ref || $[15] !== t1 || $[16] !== t2) {
270
+ t3 = /* @__PURE__ */ jsx("div", {
271
+ ref,
272
+ className: t1,
273
+ ...props,
274
+ children: t2
275
+ });
276
+ $[13] = props;
277
+ $[14] = ref;
278
+ $[15] = t1;
279
+ $[16] = t2;
280
+ $[17] = t3;
281
+ } else t3 = $[17];
282
+ return t3;
114
283
  }
115
- function TestResultsProgress({ className, children, ref, ...props }) {
284
+ function TestResultsProgress(t0) {
285
+ const $ = c(42);
286
+ let children;
287
+ let className;
288
+ let props;
289
+ let ref;
290
+ if ($[0] !== t0) {
291
+ ({className, children, ref, ...props} = t0);
292
+ $[0] = t0;
293
+ $[1] = children;
294
+ $[2] = className;
295
+ $[3] = props;
296
+ $[4] = ref;
297
+ } else {
298
+ children = $[1];
299
+ className = $[2];
300
+ props = $[3];
301
+ ref = $[4];
302
+ }
116
303
  const { summary } = React.useContext(TestResultsContext);
117
304
  if (!summary) return null;
118
305
  const passedPercent = summary.total > 0 ? summary.passed / summary.total * 100 : 0;
119
306
  const failedPercent = summary.total > 0 ? summary.failed / summary.total * 100 : 0;
120
- if (children) return /* @__PURE__ */ jsx("div", {
121
- ref,
122
- className: cx("test-results__progress", className),
123
- ...props,
124
- children
125
- });
126
- return /* @__PURE__ */ jsxs("div", {
127
- ref,
128
- className: cx("test-results__progress", className),
129
- ...props,
130
- children: [/* @__PURE__ */ jsx(Progress.Root, {
307
+ if (children) {
308
+ let t1;
309
+ if ($[5] !== className) {
310
+ t1 = cx("test-results__progress", className);
311
+ $[5] = className;
312
+ $[6] = t1;
313
+ } else t1 = $[6];
314
+ let t2;
315
+ if ($[7] !== children || $[8] !== props || $[9] !== ref || $[10] !== t1) {
316
+ t2 = /* @__PURE__ */ jsx("div", {
317
+ ref,
318
+ className: t1,
319
+ ...props,
320
+ children
321
+ });
322
+ $[7] = children;
323
+ $[8] = props;
324
+ $[9] = ref;
325
+ $[10] = t1;
326
+ $[11] = t2;
327
+ } else t2 = $[11];
328
+ return t2;
329
+ }
330
+ let t1;
331
+ if ($[12] !== className) {
332
+ t1 = cx("test-results__progress", className);
333
+ $[12] = className;
334
+ $[13] = t1;
335
+ } else t1 = $[13];
336
+ let t2;
337
+ if ($[14] !== summary.failed || $[15] !== summary.passed || $[16] !== summary.total) {
338
+ t2 = () => `${summary.passed}/${summary.total} tests passed, ${summary.failed} failed`;
339
+ $[14] = summary.failed;
340
+ $[15] = summary.passed;
341
+ $[16] = summary.total;
342
+ $[17] = t2;
343
+ } else t2 = $[17];
344
+ const t3 = `${passedPercent}%`;
345
+ let t4;
346
+ if ($[18] !== t3) {
347
+ t4 = /* @__PURE__ */ jsx("div", {
348
+ className: "test-results__progress-segment test-results__progress-segment--passed",
349
+ style: { inlineSize: t3 }
350
+ });
351
+ $[18] = t3;
352
+ $[19] = t4;
353
+ } else t4 = $[19];
354
+ const t5 = `${failedPercent}%`;
355
+ let t6;
356
+ if ($[20] !== t5) {
357
+ t6 = /* @__PURE__ */ jsx("div", {
358
+ className: "test-results__progress-segment test-results__progress-segment--failed",
359
+ style: { inlineSize: t5 }
360
+ });
361
+ $[20] = t5;
362
+ $[21] = t6;
363
+ } else t6 = $[21];
364
+ let t7;
365
+ if ($[22] !== t4 || $[23] !== t6) {
366
+ t7 = /* @__PURE__ */ jsxs(Progress.Track, {
367
+ className: "test-results__progress-track",
368
+ children: [t4, t6]
369
+ });
370
+ $[22] = t4;
371
+ $[23] = t6;
372
+ $[24] = t7;
373
+ } else t7 = $[24];
374
+ let t8;
375
+ if ($[25] !== summary.passed || $[26] !== summary.total || $[27] !== t2 || $[28] !== t7) {
376
+ t8 = /* @__PURE__ */ jsx(Progress.Root, {
131
377
  "aria-label": "Test progress",
132
378
  value: summary.passed,
133
379
  max: summary.total,
134
- getAriaValueText: () => `${summary.passed}/${summary.total} tests passed, ${summary.failed} failed`,
135
- children: /* @__PURE__ */ jsxs(Progress.Track, {
136
- className: "test-results__progress-track",
137
- children: [/* @__PURE__ */ jsx("div", {
138
- className: "test-results__progress-segment test-results__progress-segment--passed",
139
- style: { inlineSize: `${passedPercent}%` }
140
- }), /* @__PURE__ */ jsx("div", {
141
- className: "test-results__progress-segment test-results__progress-segment--failed",
142
- style: { inlineSize: `${failedPercent}%` }
143
- })]
144
- })
145
- }), /* @__PURE__ */ jsxs("span", {
380
+ getAriaValueText: t2,
381
+ children: t7
382
+ });
383
+ $[25] = summary.passed;
384
+ $[26] = summary.total;
385
+ $[27] = t2;
386
+ $[28] = t7;
387
+ $[29] = t8;
388
+ } else t8 = $[29];
389
+ const t9 = summary.passed;
390
+ const t10 = summary.total;
391
+ let t11;
392
+ if ($[30] !== failedPercent) {
393
+ t11 = failedPercent.toFixed(0);
394
+ $[30] = failedPercent;
395
+ $[31] = t11;
396
+ } else t11 = $[31];
397
+ let t12;
398
+ if ($[32] !== summary.passed || $[33] !== summary.total || $[34] !== t11) {
399
+ t12 = /* @__PURE__ */ jsxs("span", {
146
400
  className: "test-results__progress-label",
147
401
  children: [
148
- summary.passed,
402
+ t9,
149
403
  "/",
150
- summary.total,
404
+ t10,
151
405
  " tests passed - ",
152
- failedPercent.toFixed(0),
406
+ t11,
153
407
  "% failed"
154
408
  ]
155
- })]
156
- });
409
+ });
410
+ $[32] = summary.passed;
411
+ $[33] = summary.total;
412
+ $[34] = t11;
413
+ $[35] = t12;
414
+ } else t12 = $[35];
415
+ let t13;
416
+ if ($[36] !== props || $[37] !== ref || $[38] !== t1 || $[39] !== t12 || $[40] !== t8) {
417
+ t13 = /* @__PURE__ */ jsxs("div", {
418
+ ref,
419
+ className: t1,
420
+ ...props,
421
+ children: [t8, t12]
422
+ });
423
+ $[36] = props;
424
+ $[37] = ref;
425
+ $[38] = t1;
426
+ $[39] = t12;
427
+ $[40] = t8;
428
+ $[41] = t13;
429
+ } else t13 = $[41];
430
+ return t13;
157
431
  }
158
- function TestResultsContent({ className, children, ref, ...props }) {
159
- return /* @__PURE__ */ jsx("div", {
160
- ref,
161
- className: cx("test-results__body", className),
162
- ...props,
163
- children
164
- });
432
+ function TestResultsContent(t0) {
433
+ const $ = c(12);
434
+ let children;
435
+ let className;
436
+ let props;
437
+ let ref;
438
+ if ($[0] !== t0) {
439
+ ({className, children, ref, ...props} = t0);
440
+ $[0] = t0;
441
+ $[1] = children;
442
+ $[2] = className;
443
+ $[3] = props;
444
+ $[4] = ref;
445
+ } else {
446
+ children = $[1];
447
+ className = $[2];
448
+ props = $[3];
449
+ ref = $[4];
450
+ }
451
+ let t1;
452
+ if ($[5] !== className) {
453
+ t1 = cx("test-results__body", className);
454
+ $[5] = className;
455
+ $[6] = t1;
456
+ } else t1 = $[6];
457
+ let t2;
458
+ if ($[7] !== children || $[8] !== props || $[9] !== ref || $[10] !== t1) {
459
+ t2 = /* @__PURE__ */ jsx("div", {
460
+ ref,
461
+ className: t1,
462
+ ...props,
463
+ children
464
+ });
465
+ $[7] = children;
466
+ $[8] = props;
467
+ $[9] = ref;
468
+ $[10] = t1;
469
+ $[11] = t2;
470
+ } else t2 = $[11];
471
+ return t2;
165
472
  }
166
473
  const TestSuiteContext = React.createContext({
167
474
  name: "",
168
475
  status: "passed"
169
476
  });
170
- function TestSuite({ className, name, status, defaultOpen, children, ref, ...props }) {
171
- const contextValue = React.useMemo(() => ({
172
- name,
173
- status
174
- }), [name, status]);
175
- return /* @__PURE__ */ jsx(TestSuiteContext.Provider, {
176
- value: contextValue,
177
- children: /* @__PURE__ */ jsx(Collapsible.Root, {
477
+ function TestSuite(t0) {
478
+ const $ = c(23);
479
+ let children;
480
+ let className;
481
+ let defaultOpen;
482
+ let name;
483
+ let props;
484
+ let ref;
485
+ let status;
486
+ if ($[0] !== t0) {
487
+ ({className, name, status, defaultOpen, children, ref, ...props} = t0);
488
+ $[0] = t0;
489
+ $[1] = children;
490
+ $[2] = className;
491
+ $[3] = defaultOpen;
492
+ $[4] = name;
493
+ $[5] = props;
494
+ $[6] = ref;
495
+ $[7] = status;
496
+ } else {
497
+ children = $[1];
498
+ className = $[2];
499
+ defaultOpen = $[3];
500
+ name = $[4];
501
+ props = $[5];
502
+ ref = $[6];
503
+ status = $[7];
504
+ }
505
+ let t1;
506
+ if ($[8] !== name || $[9] !== status) {
507
+ t1 = {
508
+ name,
509
+ status
510
+ };
511
+ $[8] = name;
512
+ $[9] = status;
513
+ $[10] = t1;
514
+ } else t1 = $[10];
515
+ const contextValue = t1;
516
+ let t2;
517
+ if ($[11] !== className) {
518
+ t2 = mergeBaseClassName("test-results__suite", className);
519
+ $[11] = className;
520
+ $[12] = t2;
521
+ } else t2 = $[12];
522
+ const t3 = defaultOpen ?? status === "failed";
523
+ let t4;
524
+ if ($[13] !== children || $[14] !== props || $[15] !== ref || $[16] !== status || $[17] !== t2 || $[18] !== t3) {
525
+ t4 = /* @__PURE__ */ jsx(Collapsible.Root, {
178
526
  ref,
179
- className: mergeBaseClassName("test-results__suite", className),
180
- defaultOpen: defaultOpen ?? status === "failed",
527
+ className: t2,
528
+ defaultOpen: t3,
181
529
  "data-status": status,
182
530
  ...props,
183
531
  unstyled: true,
184
532
  children
185
- })
186
- });
533
+ });
534
+ $[13] = children;
535
+ $[14] = props;
536
+ $[15] = ref;
537
+ $[16] = status;
538
+ $[17] = t2;
539
+ $[18] = t3;
540
+ $[19] = t4;
541
+ } else t4 = $[19];
542
+ let t5;
543
+ if ($[20] !== contextValue || $[21] !== t4) {
544
+ t5 = /* @__PURE__ */ jsx(TestSuiteContext.Provider, {
545
+ value: contextValue,
546
+ children: t4
547
+ });
548
+ $[20] = contextValue;
549
+ $[21] = t4;
550
+ $[22] = t5;
551
+ } else t5 = $[22];
552
+ return t5;
187
553
  }
188
- function TestSuiteName({ className, children, ref, ...props }) {
554
+ function TestSuiteName(t0) {
555
+ const $ = c(19);
556
+ let children;
557
+ let className;
558
+ let props;
559
+ let ref;
560
+ if ($[0] !== t0) {
561
+ ({className, children, ref, ...props} = t0);
562
+ $[0] = t0;
563
+ $[1] = children;
564
+ $[2] = className;
565
+ $[3] = props;
566
+ $[4] = ref;
567
+ } else {
568
+ children = $[1];
569
+ className = $[2];
570
+ props = $[3];
571
+ ref = $[4];
572
+ }
189
573
  const { name, status } = React.useContext(TestSuiteContext);
190
- return /* @__PURE__ */ jsxs(Collapsible.Trigger, {
191
- ref,
192
- className: mergeBaseClassName("test-results__suite-trigger", className),
193
- ...props,
194
- unstyled: true,
195
- children: [
196
- /* @__PURE__ */ jsx("span", {
197
- className: "test-results__suite-icon",
198
- "aria-hidden": "true",
199
- children: /* @__PURE__ */ jsx(ChevronRightIcon, {})
200
- }),
201
- /* @__PURE__ */ jsx(TestStatus, {
202
- status,
203
- "aria-label": `${status} suite`
204
- }),
205
- /* @__PURE__ */ jsx("span", {
206
- className: "test-results__suite-name sigvelo-truncate",
207
- children: children ?? name
208
- })
209
- ]
210
- });
574
+ let t1;
575
+ if ($[5] !== className) {
576
+ t1 = mergeBaseClassName("test-results__suite-trigger", className);
577
+ $[5] = className;
578
+ $[6] = t1;
579
+ } else t1 = $[6];
580
+ let t2;
581
+ if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
582
+ t2 = /* @__PURE__ */ jsx("span", {
583
+ className: "test-results__suite-icon",
584
+ "aria-hidden": "true",
585
+ children: /* @__PURE__ */ jsx(ChevronRightIcon, {})
586
+ });
587
+ $[7] = t2;
588
+ } else t2 = $[7];
589
+ const t3 = `${status} suite`;
590
+ let t4;
591
+ if ($[8] !== status || $[9] !== t3) {
592
+ t4 = /* @__PURE__ */ jsx(TestStatus, {
593
+ status,
594
+ "aria-label": t3
595
+ });
596
+ $[8] = status;
597
+ $[9] = t3;
598
+ $[10] = t4;
599
+ } else t4 = $[10];
600
+ const t5 = children ?? name;
601
+ let t6;
602
+ if ($[11] !== t5) {
603
+ t6 = /* @__PURE__ */ jsx("span", {
604
+ className: "test-results__suite-name sigvelo-truncate",
605
+ children: t5
606
+ });
607
+ $[11] = t5;
608
+ $[12] = t6;
609
+ } else t6 = $[12];
610
+ let t7;
611
+ if ($[13] !== props || $[14] !== ref || $[15] !== t1 || $[16] !== t4 || $[17] !== t6) {
612
+ t7 = /* @__PURE__ */ jsxs(Collapsible.Trigger, {
613
+ ref,
614
+ className: t1,
615
+ ...props,
616
+ unstyled: true,
617
+ children: [
618
+ t2,
619
+ t4,
620
+ t6
621
+ ]
622
+ });
623
+ $[13] = props;
624
+ $[14] = ref;
625
+ $[15] = t1;
626
+ $[16] = t4;
627
+ $[17] = t6;
628
+ $[18] = t7;
629
+ } else t7 = $[18];
630
+ return t7;
211
631
  }
212
- function TestSuiteStats({ className, passed = 0, failed = 0, skipped = 0, children, ref, ...props }) {
213
- return /* @__PURE__ */ jsx("div", {
214
- ref,
215
- className: cx("test-results__suite-stats", className),
216
- ...props,
217
- children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
632
+ function TestSuiteStats(t0) {
633
+ const $ = c(20);
634
+ let children;
635
+ let className;
636
+ let props;
637
+ let ref;
638
+ let t1;
639
+ let t2;
640
+ let t3;
641
+ if ($[0] !== t0) {
642
+ ({className, passed: t1, failed: t2, skipped: t3, children, ref, ...props} = t0);
643
+ $[0] = t0;
644
+ $[1] = children;
645
+ $[2] = className;
646
+ $[3] = props;
647
+ $[4] = ref;
648
+ $[5] = t1;
649
+ $[6] = t2;
650
+ $[7] = t3;
651
+ } else {
652
+ children = $[1];
653
+ className = $[2];
654
+ props = $[3];
655
+ ref = $[4];
656
+ t1 = $[5];
657
+ t2 = $[6];
658
+ t3 = $[7];
659
+ }
660
+ const passed = t1 === void 0 ? 0 : t1;
661
+ const failed = t2 === void 0 ? 0 : t2;
662
+ const skipped = t3 === void 0 ? 0 : t3;
663
+ let t4;
664
+ if ($[8] !== className) {
665
+ t4 = cx("test-results__suite-stats", className);
666
+ $[8] = className;
667
+ $[9] = t4;
668
+ } else t4 = $[9];
669
+ let t5;
670
+ if ($[10] !== children || $[11] !== failed || $[12] !== passed || $[13] !== skipped) {
671
+ t5 = children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
218
672
  passed > 0 ? /* @__PURE__ */ jsxs("span", {
219
673
  className: "test-results__stat test-results__stat--passed",
220
674
  children: [passed, " passed"]
@@ -227,108 +681,433 @@ function TestSuiteStats({ className, passed = 0, failed = 0, skipped = 0, childr
227
681
  className: "test-results__stat test-results__stat--skipped",
228
682
  children: [skipped, " skipped"]
229
683
  }) : null
230
- ] })
231
- });
684
+ ] });
685
+ $[10] = children;
686
+ $[11] = failed;
687
+ $[12] = passed;
688
+ $[13] = skipped;
689
+ $[14] = t5;
690
+ } else t5 = $[14];
691
+ let t6;
692
+ if ($[15] !== props || $[16] !== ref || $[17] !== t4 || $[18] !== t5) {
693
+ t6 = /* @__PURE__ */ jsx("div", {
694
+ ref,
695
+ className: t4,
696
+ ...props,
697
+ children: t5
698
+ });
699
+ $[15] = props;
700
+ $[16] = ref;
701
+ $[17] = t4;
702
+ $[18] = t5;
703
+ $[19] = t6;
704
+ } else t6 = $[19];
705
+ return t6;
232
706
  }
233
- function TestSuiteContent({ className, children, ref, ...props }) {
234
- return /* @__PURE__ */ jsx(Collapsible.Panel, {
235
- ref,
236
- className: mergeBaseClassName("test-results__suite-content", className),
237
- ...props,
238
- unstyled: true,
239
- children
240
- });
707
+ function TestSuiteContent(t0) {
708
+ const $ = c(12);
709
+ let children;
710
+ let className;
711
+ let props;
712
+ let ref;
713
+ if ($[0] !== t0) {
714
+ ({className, children, ref, ...props} = t0);
715
+ $[0] = t0;
716
+ $[1] = children;
717
+ $[2] = className;
718
+ $[3] = props;
719
+ $[4] = ref;
720
+ } else {
721
+ children = $[1];
722
+ className = $[2];
723
+ props = $[3];
724
+ ref = $[4];
725
+ }
726
+ let t1;
727
+ if ($[5] !== className) {
728
+ t1 = mergeBaseClassName("test-results__suite-content", className);
729
+ $[5] = className;
730
+ $[6] = t1;
731
+ } else t1 = $[6];
732
+ let t2;
733
+ if ($[7] !== children || $[8] !== props || $[9] !== ref || $[10] !== t1) {
734
+ t2 = /* @__PURE__ */ jsx(Collapsible.Panel, {
735
+ ref,
736
+ className: t1,
737
+ ...props,
738
+ unstyled: true,
739
+ children
740
+ });
741
+ $[7] = children;
742
+ $[8] = props;
743
+ $[9] = ref;
744
+ $[10] = t1;
745
+ $[11] = t2;
746
+ } else t2 = $[11];
747
+ return t2;
241
748
  }
242
749
  const TestContext = React.createContext({
243
750
  name: "",
244
751
  status: "passed"
245
752
  });
246
- function Test({ render, name, status, duration, children, ref, ...props }) {
247
- const contextValue = React.useMemo(() => ({
248
- duration,
249
- name,
250
- status
251
- }), [
252
- duration,
253
- name,
254
- status
255
- ]);
256
- const defaultProps = {
257
- className: cx("test-results__test", `test-results__test--${status}`),
258
- "data-status": status,
259
- children
260
- };
261
- const element = useRender({
262
- defaultTagName: "div",
263
- render,
264
- ref,
265
- props: mergeProps(defaultProps, props)
266
- });
267
- return /* @__PURE__ */ jsx(TestContext.Provider, {
268
- value: contextValue,
269
- children: element
270
- });
753
+ function Test(t0) {
754
+ const $ = c(19);
755
+ let contextValue;
756
+ let t1;
757
+ let t2;
758
+ let t3;
759
+ let t4;
760
+ let t5;
761
+ if ($[0] !== t0) {
762
+ const { render, name, status, duration, children, ref, ...props } = t0;
763
+ let t6;
764
+ if ($[7] !== duration || $[8] !== name || $[9] !== status) {
765
+ t6 = {
766
+ duration,
767
+ name,
768
+ status
769
+ };
770
+ $[7] = duration;
771
+ $[8] = name;
772
+ $[9] = status;
773
+ $[10] = t6;
774
+ } else t6 = $[10];
775
+ contextValue = t6;
776
+ const defaultProps = {
777
+ className: cx("test-results__test", `test-results__test--${status}`),
778
+ "data-status": status,
779
+ children
780
+ };
781
+ t5 = useRender;
782
+ t1 = "div";
783
+ t2 = render;
784
+ t3 = ref;
785
+ t4 = mergeProps(defaultProps, props);
786
+ $[0] = t0;
787
+ $[1] = contextValue;
788
+ $[2] = t1;
789
+ $[3] = t2;
790
+ $[4] = t3;
791
+ $[5] = t4;
792
+ $[6] = t5;
793
+ } else {
794
+ contextValue = $[1];
795
+ t1 = $[2];
796
+ t2 = $[3];
797
+ t3 = $[4];
798
+ t4 = $[5];
799
+ t5 = $[6];
800
+ }
801
+ let t6;
802
+ if ($[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
803
+ t6 = {
804
+ defaultTagName: t1,
805
+ render: t2,
806
+ ref: t3,
807
+ props: t4
808
+ };
809
+ $[11] = t1;
810
+ $[12] = t2;
811
+ $[13] = t3;
812
+ $[14] = t4;
813
+ $[15] = t6;
814
+ } else t6 = $[15];
815
+ const element = t5(t6);
816
+ let t7;
817
+ if ($[16] !== contextValue || $[17] !== element) {
818
+ t7 = /* @__PURE__ */ jsx(TestContext.Provider, {
819
+ value: contextValue,
820
+ children: element
821
+ });
822
+ $[16] = contextValue;
823
+ $[17] = element;
824
+ $[18] = t7;
825
+ } else t7 = $[18];
826
+ return t7;
271
827
  }
272
- function TestStatus({ className, children, status, ref, ...props }) {
828
+ function TestStatus(t0) {
829
+ const $ = c(17);
830
+ let children;
831
+ let className;
832
+ let props;
833
+ let ref;
834
+ let status;
835
+ if ($[0] !== t0) {
836
+ ({className, children, status, ref, ...props} = t0);
837
+ $[0] = t0;
838
+ $[1] = children;
839
+ $[2] = className;
840
+ $[3] = props;
841
+ $[4] = ref;
842
+ $[5] = status;
843
+ } else {
844
+ children = $[1];
845
+ className = $[2];
846
+ props = $[3];
847
+ ref = $[4];
848
+ status = $[5];
849
+ }
273
850
  const testContext = React.useContext(TestContext);
274
851
  const testStatus = status ?? testContext.status;
275
- const icon = testStatus === "passed" ? /* @__PURE__ */ jsx(CheckIcon, {}) : testStatus === "failed" ? /* @__PURE__ */ jsx(XIcon, {}) : testStatus === "running" ? /* @__PURE__ */ jsx(SpinnerIcon, {}) : /* @__PURE__ */ jsx("span", {
276
- "aria-hidden": "true",
277
- children: "."
278
- });
279
- return /* @__PURE__ */ jsx("span", {
280
- ref,
281
- className: cx("test-results__test-status", `test-results__test-status--${testStatus}`, className),
282
- title: testStatus,
283
- ...props,
284
- children: children ?? icon
285
- });
852
+ let t1;
853
+ if ($[6] !== testStatus) {
854
+ t1 = testStatus === "passed" ? /* @__PURE__ */ jsx(CheckIcon, {}) : testStatus === "failed" ? /* @__PURE__ */ jsx(XIcon, {}) : testStatus === "running" ? /* @__PURE__ */ jsx(SpinnerIcon, {}) : /* @__PURE__ */ jsx("span", {
855
+ "aria-hidden": "true",
856
+ children: "."
857
+ });
858
+ $[6] = testStatus;
859
+ $[7] = t1;
860
+ } else t1 = $[7];
861
+ const icon = t1;
862
+ const t2 = `test-results__test-status--${testStatus}`;
863
+ let t3;
864
+ if ($[8] !== className || $[9] !== t2) {
865
+ t3 = cx("test-results__test-status", t2, className);
866
+ $[8] = className;
867
+ $[9] = t2;
868
+ $[10] = t3;
869
+ } else t3 = $[10];
870
+ const t4 = children ?? icon;
871
+ let t5;
872
+ if ($[11] !== props || $[12] !== ref || $[13] !== t3 || $[14] !== t4 || $[15] !== testStatus) {
873
+ t5 = /* @__PURE__ */ jsx("span", {
874
+ ref,
875
+ className: t3,
876
+ title: testStatus,
877
+ ...props,
878
+ children: t4
879
+ });
880
+ $[11] = props;
881
+ $[12] = ref;
882
+ $[13] = t3;
883
+ $[14] = t4;
884
+ $[15] = testStatus;
885
+ $[16] = t5;
886
+ } else t5 = $[16];
887
+ return t5;
286
888
  }
287
- function TestName({ className, children, ref, ...props }) {
889
+ function TestName(t0) {
890
+ const $ = c(12);
891
+ let children;
892
+ let className;
893
+ let props;
894
+ let ref;
895
+ if ($[0] !== t0) {
896
+ ({className, children, ref, ...props} = t0);
897
+ $[0] = t0;
898
+ $[1] = children;
899
+ $[2] = className;
900
+ $[3] = props;
901
+ $[4] = ref;
902
+ } else {
903
+ children = $[1];
904
+ className = $[2];
905
+ props = $[3];
906
+ ref = $[4];
907
+ }
288
908
  const { name } = React.useContext(TestContext);
289
- return /* @__PURE__ */ jsx("span", {
290
- ref,
291
- className: cx("test-results__test-name", "sigvelo-truncate", className),
292
- ...props,
293
- children: children ?? name
294
- });
909
+ let t1;
910
+ if ($[5] !== className) {
911
+ t1 = cx("test-results__test-name", "sigvelo-truncate", className);
912
+ $[5] = className;
913
+ $[6] = t1;
914
+ } else t1 = $[6];
915
+ const t2 = children ?? name;
916
+ let t3;
917
+ if ($[7] !== props || $[8] !== ref || $[9] !== t1 || $[10] !== t2) {
918
+ t3 = /* @__PURE__ */ jsx("span", {
919
+ ref,
920
+ className: t1,
921
+ ...props,
922
+ children: t2
923
+ });
924
+ $[7] = props;
925
+ $[8] = ref;
926
+ $[9] = t1;
927
+ $[10] = t2;
928
+ $[11] = t3;
929
+ } else t3 = $[11];
930
+ return t3;
295
931
  }
296
- function TestDuration({ className, children, ref, ...props }) {
932
+ function TestDuration(t0) {
933
+ const $ = c(12);
934
+ let children;
935
+ let className;
936
+ let props;
937
+ let ref;
938
+ if ($[0] !== t0) {
939
+ ({className, children, ref, ...props} = t0);
940
+ $[0] = t0;
941
+ $[1] = children;
942
+ $[2] = className;
943
+ $[3] = props;
944
+ $[4] = ref;
945
+ } else {
946
+ children = $[1];
947
+ className = $[2];
948
+ props = $[3];
949
+ ref = $[4];
950
+ }
297
951
  const { duration } = React.useContext(TestContext);
298
952
  if (duration === void 0) return null;
299
- return /* @__PURE__ */ jsx("span", {
300
- ref,
301
- className: cx("test-results__test-duration", className),
302
- ...props,
303
- children: children ?? `${duration}ms`
304
- });
953
+ let t1;
954
+ if ($[5] !== className) {
955
+ t1 = cx("test-results__test-duration", className);
956
+ $[5] = className;
957
+ $[6] = t1;
958
+ } else t1 = $[6];
959
+ const t2 = children ?? `${duration}ms`;
960
+ let t3;
961
+ if ($[7] !== props || $[8] !== ref || $[9] !== t1 || $[10] !== t2) {
962
+ t3 = /* @__PURE__ */ jsx("span", {
963
+ ref,
964
+ className: t1,
965
+ ...props,
966
+ children: t2
967
+ });
968
+ $[7] = props;
969
+ $[8] = ref;
970
+ $[9] = t1;
971
+ $[10] = t2;
972
+ $[11] = t3;
973
+ } else t3 = $[11];
974
+ return t3;
305
975
  }
306
- function TestError({ className, message, children, ref, ...props }) {
307
- return /* @__PURE__ */ jsx("div", {
308
- ref,
309
- className: cx("test-results__error", className),
310
- ...props,
311
- children: children ?? /* @__PURE__ */ jsx("pre", {
976
+ function TestError(t0) {
977
+ const $ = c(16);
978
+ let children;
979
+ let className;
980
+ let message;
981
+ let props;
982
+ let ref;
983
+ if ($[0] !== t0) {
984
+ ({className, message, children, ref, ...props} = t0);
985
+ $[0] = t0;
986
+ $[1] = children;
987
+ $[2] = className;
988
+ $[3] = message;
989
+ $[4] = props;
990
+ $[5] = ref;
991
+ } else {
992
+ children = $[1];
993
+ className = $[2];
994
+ message = $[3];
995
+ props = $[4];
996
+ ref = $[5];
997
+ }
998
+ let t1;
999
+ if ($[6] !== className) {
1000
+ t1 = cx("test-results__error", className);
1001
+ $[6] = className;
1002
+ $[7] = t1;
1003
+ } else t1 = $[7];
1004
+ let t2;
1005
+ if ($[8] !== children || $[9] !== message) {
1006
+ t2 = children ?? /* @__PURE__ */ jsx("pre", {
312
1007
  className: "test-results__error-text",
313
1008
  children: message
314
- })
315
- });
1009
+ });
1010
+ $[8] = children;
1011
+ $[9] = message;
1012
+ $[10] = t2;
1013
+ } else t2 = $[10];
1014
+ let t3;
1015
+ if ($[11] !== props || $[12] !== ref || $[13] !== t1 || $[14] !== t2) {
1016
+ t3 = /* @__PURE__ */ jsx("div", {
1017
+ ref,
1018
+ className: t1,
1019
+ ...props,
1020
+ children: t2
1021
+ });
1022
+ $[11] = props;
1023
+ $[12] = ref;
1024
+ $[13] = t1;
1025
+ $[14] = t2;
1026
+ $[15] = t3;
1027
+ } else t3 = $[15];
1028
+ return t3;
316
1029
  }
317
- function TestErrorMessage({ className, children, ref, ...props }) {
318
- return /* @__PURE__ */ jsx("p", {
319
- ref,
320
- className: cx("test-results__error-message", className),
321
- ...props,
322
- children
323
- });
1030
+ function TestErrorMessage(t0) {
1031
+ const $ = c(12);
1032
+ let children;
1033
+ let className;
1034
+ let props;
1035
+ let ref;
1036
+ if ($[0] !== t0) {
1037
+ ({className, children, ref, ...props} = t0);
1038
+ $[0] = t0;
1039
+ $[1] = children;
1040
+ $[2] = className;
1041
+ $[3] = props;
1042
+ $[4] = ref;
1043
+ } else {
1044
+ children = $[1];
1045
+ className = $[2];
1046
+ props = $[3];
1047
+ ref = $[4];
1048
+ }
1049
+ let t1;
1050
+ if ($[5] !== className) {
1051
+ t1 = cx("test-results__error-message", className);
1052
+ $[5] = className;
1053
+ $[6] = t1;
1054
+ } else t1 = $[6];
1055
+ let t2;
1056
+ if ($[7] !== children || $[8] !== props || $[9] !== ref || $[10] !== t1) {
1057
+ t2 = /* @__PURE__ */ jsx("p", {
1058
+ ref,
1059
+ className: t1,
1060
+ ...props,
1061
+ children
1062
+ });
1063
+ $[7] = children;
1064
+ $[8] = props;
1065
+ $[9] = ref;
1066
+ $[10] = t1;
1067
+ $[11] = t2;
1068
+ } else t2 = $[11];
1069
+ return t2;
324
1070
  }
325
- function TestErrorStack({ className, children, ref, ...props }) {
326
- return /* @__PURE__ */ jsx("pre", {
327
- ref,
328
- className: cx("test-results__error-text", className),
329
- ...props,
330
- children
331
- });
1071
+ function TestErrorStack(t0) {
1072
+ const $ = c(12);
1073
+ let children;
1074
+ let className;
1075
+ let props;
1076
+ let ref;
1077
+ if ($[0] !== t0) {
1078
+ ({className, children, ref, ...props} = t0);
1079
+ $[0] = t0;
1080
+ $[1] = children;
1081
+ $[2] = className;
1082
+ $[3] = props;
1083
+ $[4] = ref;
1084
+ } else {
1085
+ children = $[1];
1086
+ className = $[2];
1087
+ props = $[3];
1088
+ ref = $[4];
1089
+ }
1090
+ let t1;
1091
+ if ($[5] !== className) {
1092
+ t1 = cx("test-results__error-text", className);
1093
+ $[5] = className;
1094
+ $[6] = t1;
1095
+ } else t1 = $[6];
1096
+ let t2;
1097
+ if ($[7] !== children || $[8] !== props || $[9] !== ref || $[10] !== t1) {
1098
+ t2 = /* @__PURE__ */ jsx("pre", {
1099
+ ref,
1100
+ className: t1,
1101
+ ...props,
1102
+ children
1103
+ });
1104
+ $[7] = children;
1105
+ $[8] = props;
1106
+ $[9] = ref;
1107
+ $[10] = t1;
1108
+ $[11] = t2;
1109
+ } else t2 = $[11];
1110
+ return t2;
332
1111
  }
333
1112
  function formatDuration(ms) {
334
1113
  return ms < 1e3 ? `${ms}ms` : `${(ms / 1e3).toFixed(2)}s`;