@oxy.so/bloom 6.4.0 → 7.0.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 (1196) hide show
  1. package/README.md +3 -3
  2. package/docs/adoption-matrix.mdx +19 -16
  3. package/docs/agent-avatar.mdx +24 -0
  4. package/docs/agent-creator.mdx +50 -0
  5. package/docs/button.mdx +1 -1
  6. package/docs/design-tokens.mdx +8 -0
  7. package/docs/dialog.mdx +6 -0
  8. package/docs/migrating-to-1.0.mdx +3 -3
  9. package/docs/multi-agent-chat.mdx +69 -0
  10. package/docs/project-board.mdx +35 -0
  11. package/docs/segmented-control.mdx +2 -0
  12. package/docs/settings-modal.mdx +2 -0
  13. package/docs/sidebar.mdx +8 -0
  14. package/docs/stat-widgets.mdx +3 -4
  15. package/lib/commonjs/agent-avatar/AgentAvatar.js +214 -0
  16. package/lib/commonjs/agent-avatar/AgentAvatar.js.map +1 -0
  17. package/lib/commonjs/agent-avatar/AgentFace.js +26 -0
  18. package/lib/commonjs/agent-avatar/AgentFace.js.map +1 -0
  19. package/lib/commonjs/agent-avatar/SvgDrawing.js +207 -0
  20. package/lib/commonjs/agent-avatar/SvgDrawing.js.map +1 -0
  21. package/lib/commonjs/agent-avatar/artwork.js +148 -0
  22. package/lib/commonjs/agent-avatar/artwork.js.map +1 -0
  23. package/lib/commonjs/agent-avatar/attention.js +79 -0
  24. package/lib/commonjs/agent-avatar/attention.js.map +1 -0
  25. package/lib/commonjs/agent-avatar/blink.js +46 -0
  26. package/lib/commonjs/agent-avatar/blink.js.map +1 -0
  27. package/lib/commonjs/agent-avatar/context.js +10 -0
  28. package/lib/commonjs/agent-avatar/context.js.map +1 -0
  29. package/lib/commonjs/agent-avatar/drawing.js +234 -0
  30. package/lib/commonjs/agent-avatar/drawing.js.map +1 -0
  31. package/lib/commonjs/agent-avatar/entrance.js +32 -0
  32. package/lib/commonjs/agent-avatar/entrance.js.map +1 -0
  33. package/lib/commonjs/agent-avatar/face.js +403 -0
  34. package/lib/commonjs/agent-avatar/face.js.map +1 -0
  35. package/lib/commonjs/agent-avatar/fold-outlines.js +43 -0
  36. package/lib/commonjs/agent-avatar/fold-outlines.js.map +1 -0
  37. package/lib/commonjs/agent-avatar/fold.js +322 -0
  38. package/lib/commonjs/agent-avatar/fold.js.map +1 -0
  39. package/lib/commonjs/agent-avatar/grain.js +9 -0
  40. package/lib/commonjs/agent-avatar/grain.js.map +1 -0
  41. package/lib/commonjs/agent-avatar/index.js +146 -0
  42. package/lib/commonjs/agent-avatar/index.js.map +1 -0
  43. package/lib/commonjs/agent-avatar/messages.js +11 -0
  44. package/lib/commonjs/agent-avatar/messages.js.map +1 -0
  45. package/lib/commonjs/agent-avatar/model.js +429 -0
  46. package/lib/commonjs/agent-avatar/model.js.map +1 -0
  47. package/lib/commonjs/agent-avatar/shape-morph.js +163 -0
  48. package/lib/commonjs/agent-avatar/shape-morph.js.map +1 -0
  49. package/lib/commonjs/{dot-grid-meter → agent-avatar}/types.js.map +1 -1
  50. package/lib/commonjs/agent-avatar/wander.js +64 -0
  51. package/lib/commonjs/agent-avatar/wander.js.map +1 -0
  52. package/lib/commonjs/agent-avatar/working.js +28 -0
  53. package/lib/commonjs/agent-avatar/working.js.map +1 -0
  54. package/lib/commonjs/agent-chat/AgentChatMessage.js +21 -0
  55. package/lib/commonjs/agent-chat/AgentChatMessage.js.map +1 -1
  56. package/lib/commonjs/agent-creator/AgentCreator.js +32 -0
  57. package/lib/commonjs/agent-creator/AgentCreator.js.map +1 -0
  58. package/lib/commonjs/agent-creator/AgentCreator.web.js +32 -0
  59. package/lib/commonjs/agent-creator/AgentCreator.web.js.map +1 -0
  60. package/lib/commonjs/agent-creator/AgentCreatorBase.js +319 -0
  61. package/lib/commonjs/agent-creator/AgentCreatorBase.js.map +1 -0
  62. package/lib/commonjs/agent-creator/AgentPreferencesPanel.js +260 -0
  63. package/lib/commonjs/agent-creator/AgentPreferencesPanel.js.map +1 -0
  64. package/lib/commonjs/agent-creator/CustomColorPicker.js +374 -0
  65. package/lib/commonjs/agent-creator/CustomColorPicker.js.map +1 -0
  66. package/lib/commonjs/agent-creator/EmotionPicker.js +179 -0
  67. package/lib/commonjs/agent-creator/EmotionPicker.js.map +1 -0
  68. package/lib/commonjs/agent-creator/GlossArt.js +210 -0
  69. package/lib/commonjs/agent-creator/GlossArt.js.map +1 -0
  70. package/lib/commonjs/agent-creator/ScrollSurface.js +135 -0
  71. package/lib/commonjs/agent-creator/ScrollSurface.js.map +1 -0
  72. package/lib/commonjs/agent-creator/ShapeArc.js +222 -0
  73. package/lib/commonjs/agent-creator/ShapeArc.js.map +1 -0
  74. package/lib/commonjs/agent-creator/constants.js +68 -0
  75. package/lib/commonjs/agent-creator/constants.js.map +1 -0
  76. package/lib/commonjs/agent-creator/context.js +30 -0
  77. package/lib/commonjs/agent-creator/context.js.map +1 -0
  78. package/lib/commonjs/agent-creator/index.js +39 -0
  79. package/lib/commonjs/agent-creator/index.js.map +1 -0
  80. package/lib/commonjs/agent-creator/index.web.js +39 -0
  81. package/lib/commonjs/agent-creator/index.web.js.map +1 -0
  82. package/lib/commonjs/agent-creator/messages.js +104 -0
  83. package/lib/commonjs/agent-creator/messages.js.map +1 -0
  84. package/lib/commonjs/agent-creator/rainbow-artwork.js +10 -0
  85. package/lib/commonjs/agent-creator/rainbow-artwork.js.map +1 -0
  86. package/lib/commonjs/agent-creator/shared.js +83 -0
  87. package/lib/commonjs/agent-creator/shared.js.map +1 -0
  88. package/lib/commonjs/agent-creator/types.js +6 -0
  89. package/lib/{module/dot-grid-meter → commonjs/agent-creator}/types.js.map +1 -1
  90. package/lib/commonjs/agent-creator/use-agent-voices.js +59 -0
  91. package/lib/commonjs/agent-creator/use-agent-voices.js.map +1 -0
  92. package/lib/commonjs/agent-creator/use-track-events.js +43 -0
  93. package/lib/commonjs/agent-creator/use-track-events.js.map +1 -0
  94. package/lib/commonjs/button/CloseButton.js +4 -1
  95. package/lib/commonjs/button/CloseButton.js.map +1 -1
  96. package/lib/commonjs/chip/Chip.js +28 -15
  97. package/lib/commonjs/chip/Chip.js.map +1 -1
  98. package/lib/commonjs/design-tokens/component-roles.js +94 -0
  99. package/lib/commonjs/design-tokens/component-roles.js.map +1 -0
  100. package/lib/commonjs/design-tokens/tailwind-preset.js +25 -5
  101. package/lib/commonjs/design-tokens/tailwind-preset.js.map +1 -1
  102. package/lib/commonjs/design-tokens/theme-css.js +18 -0
  103. package/lib/commonjs/design-tokens/theme-css.js.map +1 -1
  104. package/lib/commonjs/design-tokens/theme.css +284 -0
  105. package/lib/commonjs/dialog/Dialog.js +28 -14
  106. package/lib/commonjs/dialog/Dialog.js.map +1 -1
  107. package/lib/commonjs/dialog/Dialog.web.js +24 -15
  108. package/lib/commonjs/dialog/Dialog.web.js.map +1 -1
  109. package/lib/commonjs/dialog/DialogHeader.js +1 -1
  110. package/lib/commonjs/hooks/use-accessible-name-warning.js +2 -2
  111. package/lib/commonjs/index.js +143 -103
  112. package/lib/commonjs/index.js.map +1 -1
  113. package/lib/commonjs/index.web.js +143 -103
  114. package/lib/commonjs/index.web.js.map +1 -1
  115. package/lib/commonjs/locale/translations/ar.js +363 -0
  116. package/lib/commonjs/locale/translations/ar.js.map +1 -1
  117. package/lib/commonjs/locale/translations/bn.js +351 -0
  118. package/lib/commonjs/locale/translations/bn.js.map +1 -1
  119. package/lib/commonjs/locale/translations/ca.js +355 -0
  120. package/lib/commonjs/locale/translations/ca.js.map +1 -1
  121. package/lib/commonjs/locale/translations/de.js +355 -0
  122. package/lib/commonjs/locale/translations/de.js.map +1 -1
  123. package/lib/commonjs/locale/translations/es.js +355 -0
  124. package/lib/commonjs/locale/translations/es.js.map +1 -1
  125. package/lib/commonjs/locale/translations/fr.js +355 -0
  126. package/lib/commonjs/locale/translations/fr.js.map +1 -1
  127. package/lib/commonjs/locale/translations/hi.js +354 -0
  128. package/lib/commonjs/locale/translations/hi.js.map +1 -1
  129. package/lib/commonjs/locale/translations/id.js +354 -0
  130. package/lib/commonjs/locale/translations/id.js.map +1 -1
  131. package/lib/commonjs/locale/translations/it.js +355 -0
  132. package/lib/commonjs/locale/translations/it.js.map +1 -1
  133. package/lib/commonjs/locale/translations/ja.js +351 -0
  134. package/lib/commonjs/locale/translations/ja.js.map +1 -1
  135. package/lib/commonjs/locale/translations/pt.js +355 -0
  136. package/lib/commonjs/locale/translations/pt.js.map +1 -1
  137. package/lib/commonjs/locale/translations/ru.js +359 -0
  138. package/lib/commonjs/locale/translations/ru.js.map +1 -1
  139. package/lib/commonjs/locale/translations/tr.js +354 -0
  140. package/lib/commonjs/locale/translations/tr.js.map +1 -1
  141. package/lib/commonjs/locale/translations/zh.js +351 -0
  142. package/lib/commonjs/locale/translations/zh.js.map +1 -1
  143. package/lib/commonjs/multi-agent-chat/AvatarFlightHost.js +16 -0
  144. package/lib/commonjs/multi-agent-chat/AvatarFlightHost.js.map +1 -0
  145. package/lib/commonjs/multi-agent-chat/AvatarFlightHost.web.js +16 -0
  146. package/lib/commonjs/multi-agent-chat/AvatarFlightHost.web.js.map +1 -0
  147. package/lib/commonjs/multi-agent-chat/AvatarHandoff.js +179 -0
  148. package/lib/commonjs/multi-agent-chat/AvatarHandoff.js.map +1 -0
  149. package/lib/commonjs/multi-agent-chat/ChatDialogFrame.js +161 -0
  150. package/lib/commonjs/multi-agent-chat/ChatDialogFrame.js.map +1 -0
  151. package/lib/commonjs/multi-agent-chat/ChatSidebar.js +368 -0
  152. package/lib/commonjs/multi-agent-chat/ChatSidebar.js.map +1 -0
  153. package/lib/commonjs/multi-agent-chat/EditorRail.js +63 -0
  154. package/lib/commonjs/multi-agent-chat/EditorRail.js.map +1 -0
  155. package/lib/commonjs/multi-agent-chat/Marketplace.js +501 -0
  156. package/lib/commonjs/multi-agent-chat/Marketplace.js.map +1 -0
  157. package/lib/commonjs/multi-agent-chat/MarketplaceSettings.js +123 -0
  158. package/lib/commonjs/multi-agent-chat/MarketplaceSettings.js.map +1 -0
  159. package/lib/commonjs/multi-agent-chat/MultiAgentChat.js +39 -0
  160. package/lib/commonjs/multi-agent-chat/MultiAgentChat.js.map +1 -0
  161. package/lib/commonjs/multi-agent-chat/MultiAgentChat.web.js +39 -0
  162. package/lib/commonjs/multi-agent-chat/MultiAgentChat.web.js.map +1 -0
  163. package/lib/commonjs/multi-agent-chat/MultiAgentChatBase.js +926 -0
  164. package/lib/commonjs/multi-agent-chat/MultiAgentChatBase.js.map +1 -0
  165. package/lib/commonjs/multi-agent-chat/ReplyRow.js +172 -0
  166. package/lib/commonjs/multi-agent-chat/ReplyRow.js.map +1 -0
  167. package/lib/commonjs/multi-agent-chat/ScrollSurface.js +94 -0
  168. package/lib/commonjs/multi-agent-chat/ScrollSurface.js.map +1 -0
  169. package/lib/commonjs/multi-agent-chat/SelectedAgentPreview.js +126 -0
  170. package/lib/commonjs/multi-agent-chat/SelectedAgentPreview.js.map +1 -0
  171. package/lib/commonjs/multi-agent-chat/WorkspaceSettingsPages.js +480 -0
  172. package/lib/commonjs/multi-agent-chat/WorkspaceSettingsPages.js.map +1 -0
  173. package/lib/commonjs/multi-agent-chat/context.js +15 -0
  174. package/lib/commonjs/multi-agent-chat/context.js.map +1 -0
  175. package/lib/commonjs/multi-agent-chat/data.js +423 -0
  176. package/lib/commonjs/multi-agent-chat/data.js.map +1 -0
  177. package/lib/commonjs/multi-agent-chat/handoff.js +104 -0
  178. package/lib/commonjs/multi-agent-chat/handoff.js.map +1 -0
  179. package/lib/commonjs/multi-agent-chat/index.js +13 -0
  180. package/lib/commonjs/multi-agent-chat/index.js.map +1 -0
  181. package/lib/commonjs/multi-agent-chat/index.web.js +13 -0
  182. package/lib/commonjs/multi-agent-chat/index.web.js.map +1 -0
  183. package/lib/commonjs/multi-agent-chat/marketplace-data.js +145 -0
  184. package/lib/commonjs/multi-agent-chat/marketplace-data.js.map +1 -0
  185. package/lib/commonjs/multi-agent-chat/marketplace-logos.js +36 -0
  186. package/lib/commonjs/multi-agent-chat/marketplace-logos.js.map +1 -0
  187. package/lib/commonjs/multi-agent-chat/messages.js +196 -0
  188. package/lib/commonjs/multi-agent-chat/messages.js.map +1 -0
  189. package/lib/commonjs/multi-agent-chat/model-catalog.js +771 -0
  190. package/lib/commonjs/multi-agent-chat/model-catalog.js.map +1 -0
  191. package/lib/commonjs/multi-agent-chat/stream-reply.js +41 -0
  192. package/lib/commonjs/multi-agent-chat/stream-reply.js.map +1 -0
  193. package/lib/commonjs/multi-agent-chat/types.js +6 -0
  194. package/lib/commonjs/multi-agent-chat/types.js.map +1 -0
  195. package/lib/commonjs/multi-agent-chat/use-replies.js +157 -0
  196. package/lib/commonjs/multi-agent-chat/use-replies.js.map +1 -0
  197. package/lib/commonjs/multi-agent-chat/use-workspace.js +57 -0
  198. package/lib/commonjs/multi-agent-chat/use-workspace.js.map +1 -0
  199. package/lib/commonjs/project-board/BoardTooltip.js +49 -0
  200. package/lib/commonjs/project-board/BoardTooltip.js.map +1 -0
  201. package/lib/commonjs/project-board/CreateTicketDialog.js +330 -0
  202. package/lib/commonjs/project-board/CreateTicketDialog.js.map +1 -0
  203. package/lib/commonjs/project-board/ProjectBoard.js +39 -0
  204. package/lib/commonjs/project-board/ProjectBoard.js.map +1 -0
  205. package/lib/commonjs/project-board/ProjectBoard.web.js +40 -0
  206. package/lib/commonjs/project-board/ProjectBoard.web.js.map +1 -0
  207. package/lib/commonjs/project-board/ProjectBoardBase.js +768 -0
  208. package/lib/commonjs/project-board/ProjectBoardBase.js.map +1 -0
  209. package/lib/commonjs/project-board/ProjectBoardControls.js +198 -0
  210. package/lib/commonjs/project-board/ProjectBoardControls.js.map +1 -0
  211. package/lib/commonjs/project-board/ProjectBoardEmptyState.js +171 -0
  212. package/lib/commonjs/project-board/ProjectBoardEmptyState.js.map +1 -0
  213. package/lib/commonjs/project-board/ProjectBoardIcons.js +91 -0
  214. package/lib/commonjs/project-board/ProjectBoardIcons.js.map +1 -0
  215. package/lib/commonjs/project-board/RiInboxArchiveLine.js +11 -0
  216. package/lib/commonjs/project-board/RiInboxArchiveLine.js.map +1 -0
  217. package/lib/commonjs/project-board/RiMoreLine.js +11 -0
  218. package/lib/commonjs/project-board/RiMoreLine.js.map +1 -0
  219. package/lib/commonjs/project-board/RiPieChart2Line.js +11 -0
  220. package/lib/commonjs/project-board/RiPieChart2Line.js.map +1 -0
  221. package/lib/commonjs/project-board/RiRestartLine.js +11 -0
  222. package/lib/commonjs/project-board/RiRestartLine.js.map +1 -0
  223. package/lib/commonjs/project-board/SourcePrimitives.js +135 -0
  224. package/lib/commonjs/project-board/SourcePrimitives.js.map +1 -0
  225. package/lib/commonjs/project-board/TicketCornerGenieSurface.web.js +338 -0
  226. package/lib/commonjs/project-board/TicketCornerGenieSurface.web.js.map +1 -0
  227. package/lib/commonjs/project-board/TicketDetailDialog.js +597 -0
  228. package/lib/commonjs/project-board/TicketDetailDialog.js.map +1 -0
  229. package/lib/commonjs/project-board/TicketGenieSurface.js +76 -0
  230. package/lib/commonjs/project-board/TicketGenieSurface.js.map +1 -0
  231. package/lib/commonjs/project-board/TicketGenieSurface.web.js +193 -0
  232. package/lib/commonjs/project-board/TicketGenieSurface.web.js.map +1 -0
  233. package/lib/commonjs/project-board/animation.web.js +21 -0
  234. package/lib/commonjs/project-board/animation.web.js.map +1 -0
  235. package/lib/commonjs/project-board/constants.js +18 -0
  236. package/lib/commonjs/project-board/constants.js.map +1 -0
  237. package/lib/commonjs/project-board/context.js +15 -0
  238. package/lib/commonjs/project-board/context.js.map +1 -0
  239. package/lib/commonjs/project-board/index.js +13 -0
  240. package/lib/commonjs/project-board/index.js.map +1 -0
  241. package/lib/commonjs/project-board/index.web.js +13 -0
  242. package/lib/commonjs/project-board/index.web.js.map +1 -0
  243. package/lib/commonjs/project-board/messages.js +80 -0
  244. package/lib/commonjs/project-board/messages.js.map +1 -0
  245. package/lib/commonjs/project-board/shared.js +90 -0
  246. package/lib/commonjs/project-board/shared.js.map +1 -0
  247. package/lib/commonjs/project-board/types.js +6 -0
  248. package/lib/commonjs/project-board/types.js.map +1 -0
  249. package/lib/commonjs/segmented-control/SegmentedControl.js +36 -38
  250. package/lib/commonjs/segmented-control/SegmentedControl.js.map +1 -1
  251. package/lib/commonjs/settings-modal/SettingsModal.js +18 -4
  252. package/lib/commonjs/settings-modal/SettingsModal.js.map +1 -1
  253. package/lib/commonjs/settings-modal/SettingsRows.js +4 -1
  254. package/lib/commonjs/settings-modal/SettingsRows.js.map +1 -1
  255. package/lib/commonjs/sidebar/Sidebar.js +21 -9
  256. package/lib/commonjs/sidebar/Sidebar.js.map +1 -1
  257. package/lib/commonjs/sidebar/SidebarItem.js +58 -14
  258. package/lib/commonjs/sidebar/SidebarItem.js.map +1 -1
  259. package/lib/commonjs/sidebar/SidebarTeamMenu.js +3 -3
  260. package/lib/commonjs/sidebar/SidebarTeamMenu.js.map +1 -1
  261. package/lib/commonjs/sidebar/SidebarToolbar.js +166 -0
  262. package/lib/commonjs/sidebar/SidebarToolbar.js.map +1 -0
  263. package/lib/commonjs/sidebar/index.js +7 -0
  264. package/lib/commonjs/sidebar/index.js.map +1 -1
  265. package/lib/commonjs/sidebar/parts.js +11 -3
  266. package/lib/commonjs/sidebar/parts.js.map +1 -1
  267. package/lib/commonjs/social-button/SocialButtonBase.js +1 -0
  268. package/lib/commonjs/social-button/SocialButtonBase.js.map +1 -1
  269. package/lib/commonjs/textarea/Textarea.js +28 -14
  270. package/lib/commonjs/textarea/Textarea.js.map +1 -1
  271. package/lib/commonjs/theme/color-scope/seed-scope.js +2 -0
  272. package/lib/commonjs/theme/color-scope/seed-scope.js.map +1 -1
  273. package/lib/module/agent-avatar/AgentAvatar.js +210 -0
  274. package/lib/module/agent-avatar/AgentAvatar.js.map +1 -0
  275. package/lib/module/agent-avatar/AgentFace.js +23 -0
  276. package/lib/module/agent-avatar/AgentFace.js.map +1 -0
  277. package/lib/module/agent-avatar/SvgDrawing.js +202 -0
  278. package/lib/module/agent-avatar/SvgDrawing.js.map +1 -0
  279. package/lib/module/agent-avatar/artwork.js +144 -0
  280. package/lib/module/agent-avatar/artwork.js.map +1 -0
  281. package/lib/module/agent-avatar/attention.js +74 -0
  282. package/lib/module/agent-avatar/attention.js.map +1 -0
  283. package/lib/module/agent-avatar/blink.js +41 -0
  284. package/lib/module/agent-avatar/blink.js.map +1 -0
  285. package/lib/module/agent-avatar/context.js +6 -0
  286. package/lib/module/agent-avatar/context.js.map +1 -0
  287. package/lib/module/agent-avatar/drawing.js +226 -0
  288. package/lib/module/agent-avatar/drawing.js.map +1 -0
  289. package/lib/module/agent-avatar/entrance.js +27 -0
  290. package/lib/module/agent-avatar/entrance.js.map +1 -0
  291. package/lib/module/agent-avatar/face.js +392 -0
  292. package/lib/module/agent-avatar/face.js.map +1 -0
  293. package/lib/module/agent-avatar/fold-outlines.js +37 -0
  294. package/lib/module/agent-avatar/fold-outlines.js.map +1 -0
  295. package/lib/module/agent-avatar/fold.js +319 -0
  296. package/lib/module/agent-avatar/fold.js.map +1 -0
  297. package/lib/module/agent-avatar/grain.js +5 -0
  298. package/lib/module/agent-avatar/grain.js.map +1 -0
  299. package/lib/module/agent-avatar/index.js +5 -0
  300. package/lib/module/agent-avatar/index.js.map +1 -0
  301. package/lib/module/agent-avatar/messages.js +7 -0
  302. package/lib/module/agent-avatar/messages.js.map +1 -0
  303. package/lib/module/agent-avatar/model.js +424 -0
  304. package/lib/module/agent-avatar/model.js.map +1 -0
  305. package/lib/module/agent-avatar/shape-morph.js +155 -0
  306. package/lib/module/agent-avatar/shape-morph.js.map +1 -0
  307. package/lib/module/agent-avatar/types.js.map +1 -0
  308. package/lib/module/agent-avatar/wander.js +59 -0
  309. package/lib/module/agent-avatar/wander.js.map +1 -0
  310. package/lib/module/agent-avatar/working.js +23 -0
  311. package/lib/module/agent-avatar/working.js.map +1 -0
  312. package/lib/module/agent-chat/AgentChatMessage.js +20 -0
  313. package/lib/module/agent-chat/AgentChatMessage.js.map +1 -1
  314. package/lib/module/agent-creator/AgentCreator.js +28 -0
  315. package/lib/module/agent-creator/AgentCreator.js.map +1 -0
  316. package/lib/module/agent-creator/AgentCreator.web.js +28 -0
  317. package/lib/module/agent-creator/AgentCreator.web.js.map +1 -0
  318. package/lib/module/agent-creator/AgentCreatorBase.js +315 -0
  319. package/lib/module/agent-creator/AgentCreatorBase.js.map +1 -0
  320. package/lib/module/agent-creator/AgentPreferencesPanel.js +257 -0
  321. package/lib/module/agent-creator/AgentPreferencesPanel.js.map +1 -0
  322. package/lib/module/agent-creator/CustomColorPicker.js +369 -0
  323. package/lib/module/agent-creator/CustomColorPicker.js.map +1 -0
  324. package/lib/module/agent-creator/EmotionPicker.js +174 -0
  325. package/lib/module/agent-creator/EmotionPicker.js.map +1 -0
  326. package/lib/module/agent-creator/GlossArt.js +206 -0
  327. package/lib/module/agent-creator/GlossArt.js.map +1 -0
  328. package/lib/module/agent-creator/ScrollSurface.js +130 -0
  329. package/lib/module/agent-creator/ScrollSurface.js.map +1 -0
  330. package/lib/module/agent-creator/ShapeArc.js +217 -0
  331. package/lib/module/agent-creator/ShapeArc.js.map +1 -0
  332. package/lib/module/agent-creator/constants.js +64 -0
  333. package/lib/module/agent-creator/constants.js.map +1 -0
  334. package/lib/module/agent-creator/context.js +24 -0
  335. package/lib/module/agent-creator/context.js.map +1 -0
  336. package/lib/module/agent-creator/index.js +6 -0
  337. package/lib/module/agent-creator/index.js.map +1 -0
  338. package/lib/module/agent-creator/index.web.js +11 -0
  339. package/lib/module/agent-creator/index.web.js.map +1 -0
  340. package/lib/module/agent-creator/messages.js +100 -0
  341. package/lib/module/agent-creator/messages.js.map +1 -0
  342. package/lib/module/agent-creator/rainbow-artwork.js +6 -0
  343. package/lib/module/agent-creator/rainbow-artwork.js.map +1 -0
  344. package/lib/module/agent-creator/shared.js +72 -0
  345. package/lib/module/agent-creator/shared.js.map +1 -0
  346. package/lib/module/agent-creator/types.js +4 -0
  347. package/lib/module/agent-creator/types.js.map +1 -0
  348. package/lib/module/agent-creator/use-agent-voices.js +55 -0
  349. package/lib/module/agent-creator/use-agent-voices.js.map +1 -0
  350. package/lib/module/agent-creator/use-track-events.js +40 -0
  351. package/lib/module/agent-creator/use-track-events.js.map +1 -0
  352. package/lib/module/button/CloseButton.js +5 -2
  353. package/lib/module/button/CloseButton.js.map +1 -1
  354. package/lib/module/chip/Chip.js +29 -14
  355. package/lib/module/chip/Chip.js.map +1 -1
  356. package/lib/module/design-tokens/component-roles.js +90 -0
  357. package/lib/module/design-tokens/component-roles.js.map +1 -0
  358. package/lib/module/design-tokens/tailwind-preset.js +25 -5
  359. package/lib/module/design-tokens/tailwind-preset.js.map +1 -1
  360. package/lib/module/design-tokens/theme-css.js +18 -0
  361. package/lib/module/design-tokens/theme-css.js.map +1 -1
  362. package/lib/module/design-tokens/theme.css +284 -0
  363. package/lib/module/dialog/Dialog.js +28 -14
  364. package/lib/module/dialog/Dialog.js.map +1 -1
  365. package/lib/module/dialog/Dialog.web.js +24 -15
  366. package/lib/module/dialog/Dialog.web.js.map +1 -1
  367. package/lib/module/dialog/DialogHeader.js +1 -1
  368. package/lib/module/hooks/use-accessible-name-warning.js +2 -2
  369. package/lib/module/index.js +4 -1
  370. package/lib/module/index.js.map +1 -1
  371. package/lib/module/index.web.js +4 -1
  372. package/lib/module/index.web.js.map +1 -1
  373. package/lib/module/locale/translations/ar.js +363 -0
  374. package/lib/module/locale/translations/ar.js.map +1 -1
  375. package/lib/module/locale/translations/bn.js +351 -0
  376. package/lib/module/locale/translations/bn.js.map +1 -1
  377. package/lib/module/locale/translations/ca.js +355 -0
  378. package/lib/module/locale/translations/ca.js.map +1 -1
  379. package/lib/module/locale/translations/de.js +355 -0
  380. package/lib/module/locale/translations/de.js.map +1 -1
  381. package/lib/module/locale/translations/es.js +355 -0
  382. package/lib/module/locale/translations/es.js.map +1 -1
  383. package/lib/module/locale/translations/fr.js +355 -0
  384. package/lib/module/locale/translations/fr.js.map +1 -1
  385. package/lib/module/locale/translations/hi.js +354 -0
  386. package/lib/module/locale/translations/hi.js.map +1 -1
  387. package/lib/module/locale/translations/id.js +354 -0
  388. package/lib/module/locale/translations/id.js.map +1 -1
  389. package/lib/module/locale/translations/it.js +355 -0
  390. package/lib/module/locale/translations/it.js.map +1 -1
  391. package/lib/module/locale/translations/ja.js +351 -0
  392. package/lib/module/locale/translations/ja.js.map +1 -1
  393. package/lib/module/locale/translations/pt.js +355 -0
  394. package/lib/module/locale/translations/pt.js.map +1 -1
  395. package/lib/module/locale/translations/ru.js +359 -0
  396. package/lib/module/locale/translations/ru.js.map +1 -1
  397. package/lib/module/locale/translations/tr.js +354 -0
  398. package/lib/module/locale/translations/tr.js.map +1 -1
  399. package/lib/module/locale/translations/zh.js +351 -0
  400. package/lib/module/locale/translations/zh.js.map +1 -1
  401. package/lib/module/multi-agent-chat/AvatarFlightHost.js +12 -0
  402. package/lib/module/multi-agent-chat/AvatarFlightHost.js.map +1 -0
  403. package/lib/module/multi-agent-chat/AvatarFlightHost.web.js +12 -0
  404. package/lib/module/multi-agent-chat/AvatarFlightHost.web.js.map +1 -0
  405. package/lib/module/multi-agent-chat/AvatarHandoff.js +174 -0
  406. package/lib/module/multi-agent-chat/AvatarHandoff.js.map +1 -0
  407. package/lib/module/multi-agent-chat/ChatDialogFrame.js +155 -0
  408. package/lib/module/multi-agent-chat/ChatDialogFrame.js.map +1 -0
  409. package/lib/module/multi-agent-chat/ChatSidebar.js +362 -0
  410. package/lib/module/multi-agent-chat/ChatSidebar.js.map +1 -0
  411. package/lib/module/multi-agent-chat/EditorRail.js +58 -0
  412. package/lib/module/multi-agent-chat/EditorRail.js.map +1 -0
  413. package/lib/module/multi-agent-chat/Marketplace.js +496 -0
  414. package/lib/module/multi-agent-chat/Marketplace.js.map +1 -0
  415. package/lib/module/multi-agent-chat/MarketplaceSettings.js +119 -0
  416. package/lib/module/multi-agent-chat/MarketplaceSettings.js.map +1 -0
  417. package/lib/module/multi-agent-chat/MultiAgentChat.js +34 -0
  418. package/lib/module/multi-agent-chat/MultiAgentChat.js.map +1 -0
  419. package/lib/module/multi-agent-chat/MultiAgentChat.web.js +34 -0
  420. package/lib/module/multi-agent-chat/MultiAgentChat.web.js.map +1 -0
  421. package/lib/module/multi-agent-chat/MultiAgentChatBase.js +921 -0
  422. package/lib/module/multi-agent-chat/MultiAgentChatBase.js.map +1 -0
  423. package/lib/module/multi-agent-chat/ReplyRow.js +166 -0
  424. package/lib/module/multi-agent-chat/ReplyRow.js.map +1 -0
  425. package/lib/module/multi-agent-chat/ScrollSurface.js +89 -0
  426. package/lib/module/multi-agent-chat/ScrollSurface.js.map +1 -0
  427. package/lib/module/multi-agent-chat/SelectedAgentPreview.js +121 -0
  428. package/lib/module/multi-agent-chat/SelectedAgentPreview.js.map +1 -0
  429. package/lib/module/multi-agent-chat/WorkspaceSettingsPages.js +476 -0
  430. package/lib/module/multi-agent-chat/WorkspaceSettingsPages.js.map +1 -0
  431. package/lib/module/multi-agent-chat/context.js +10 -0
  432. package/lib/module/multi-agent-chat/context.js.map +1 -0
  433. package/lib/module/multi-agent-chat/data.js +412 -0
  434. package/lib/module/multi-agent-chat/data.js.map +1 -0
  435. package/lib/module/multi-agent-chat/handoff.js +94 -0
  436. package/lib/module/multi-agent-chat/handoff.js.map +1 -0
  437. package/lib/module/multi-agent-chat/index.js +4 -0
  438. package/lib/module/multi-agent-chat/index.js.map +1 -0
  439. package/lib/module/multi-agent-chat/index.web.js +9 -0
  440. package/lib/module/multi-agent-chat/index.web.js.map +1 -0
  441. package/lib/module/multi-agent-chat/marketplace-data.js +137 -0
  442. package/lib/module/multi-agent-chat/marketplace-data.js.map +1 -0
  443. package/lib/module/multi-agent-chat/marketplace-logos.js +32 -0
  444. package/lib/module/multi-agent-chat/marketplace-logos.js.map +1 -0
  445. package/lib/module/multi-agent-chat/messages.js +191 -0
  446. package/lib/module/multi-agent-chat/messages.js.map +1 -0
  447. package/lib/module/multi-agent-chat/model-catalog.js +767 -0
  448. package/lib/module/multi-agent-chat/model-catalog.js.map +1 -0
  449. package/lib/module/multi-agent-chat/stream-reply.js +36 -0
  450. package/lib/module/multi-agent-chat/stream-reply.js.map +1 -0
  451. package/lib/module/multi-agent-chat/types.js +4 -0
  452. package/lib/module/multi-agent-chat/types.js.map +1 -0
  453. package/lib/module/multi-agent-chat/use-replies.js +152 -0
  454. package/lib/module/multi-agent-chat/use-replies.js.map +1 -0
  455. package/lib/module/multi-agent-chat/use-workspace.js +53 -0
  456. package/lib/module/multi-agent-chat/use-workspace.js.map +1 -0
  457. package/lib/module/project-board/BoardTooltip.js +45 -0
  458. package/lib/module/project-board/BoardTooltip.js.map +1 -0
  459. package/lib/module/project-board/CreateTicketDialog.js +326 -0
  460. package/lib/module/project-board/CreateTicketDialog.js.map +1 -0
  461. package/lib/module/project-board/ProjectBoard.js +34 -0
  462. package/lib/module/project-board/ProjectBoard.js.map +1 -0
  463. package/lib/module/project-board/ProjectBoard.web.js +35 -0
  464. package/lib/module/project-board/ProjectBoard.web.js.map +1 -0
  465. package/lib/module/project-board/ProjectBoardBase.js +763 -0
  466. package/lib/module/project-board/ProjectBoardBase.js.map +1 -0
  467. package/lib/module/project-board/ProjectBoardControls.js +188 -0
  468. package/lib/module/project-board/ProjectBoardControls.js.map +1 -0
  469. package/lib/module/project-board/ProjectBoardEmptyState.js +166 -0
  470. package/lib/module/project-board/ProjectBoardEmptyState.js.map +1 -0
  471. package/lib/module/project-board/ProjectBoardIcons.js +83 -0
  472. package/lib/module/project-board/ProjectBoardIcons.js.map +1 -0
  473. package/lib/module/project-board/RiInboxArchiveLine.js +7 -0
  474. package/lib/module/project-board/RiInboxArchiveLine.js.map +1 -0
  475. package/lib/module/project-board/RiMoreLine.js +7 -0
  476. package/lib/module/project-board/RiMoreLine.js.map +1 -0
  477. package/lib/module/project-board/RiPieChart2Line.js +7 -0
  478. package/lib/module/project-board/RiPieChart2Line.js.map +1 -0
  479. package/lib/module/project-board/RiRestartLine.js +7 -0
  480. package/lib/module/project-board/RiRestartLine.js.map +1 -0
  481. package/lib/module/project-board/SourcePrimitives.js +125 -0
  482. package/lib/module/project-board/SourcePrimitives.js.map +1 -0
  483. package/lib/module/project-board/TicketCornerGenieSurface.web.js +334 -0
  484. package/lib/module/project-board/TicketCornerGenieSurface.web.js.map +1 -0
  485. package/lib/module/project-board/TicketDetailDialog.js +593 -0
  486. package/lib/module/project-board/TicketDetailDialog.js.map +1 -0
  487. package/lib/module/project-board/TicketGenieSurface.js +70 -0
  488. package/lib/module/project-board/TicketGenieSurface.js.map +1 -0
  489. package/lib/module/project-board/TicketGenieSurface.web.js +189 -0
  490. package/lib/module/project-board/TicketGenieSurface.web.js.map +1 -0
  491. package/lib/module/project-board/animation.web.js +17 -0
  492. package/lib/module/project-board/animation.web.js.map +1 -0
  493. package/lib/module/project-board/constants.js +13 -0
  494. package/lib/module/project-board/constants.js.map +1 -0
  495. package/lib/module/project-board/context.js +10 -0
  496. package/lib/module/project-board/context.js.map +1 -0
  497. package/lib/module/project-board/index.js +4 -0
  498. package/lib/module/project-board/index.js.map +1 -0
  499. package/lib/module/project-board/index.web.js +9 -0
  500. package/lib/module/project-board/index.web.js.map +1 -0
  501. package/lib/module/project-board/messages.js +76 -0
  502. package/lib/module/project-board/messages.js.map +1 -0
  503. package/lib/module/project-board/shared.js +82 -0
  504. package/lib/module/project-board/shared.js.map +1 -0
  505. package/lib/module/project-board/types.js +4 -0
  506. package/lib/module/project-board/types.js.map +1 -0
  507. package/lib/module/segmented-control/SegmentedControl.js +37 -39
  508. package/lib/module/segmented-control/SegmentedControl.js.map +1 -1
  509. package/lib/module/settings-modal/SettingsModal.js +18 -4
  510. package/lib/module/settings-modal/SettingsModal.js.map +1 -1
  511. package/lib/module/settings-modal/SettingsRows.js +4 -1
  512. package/lib/module/settings-modal/SettingsRows.js.map +1 -1
  513. package/lib/module/sidebar/Sidebar.js +21 -9
  514. package/lib/module/sidebar/Sidebar.js.map +1 -1
  515. package/lib/module/sidebar/SidebarItem.js +59 -15
  516. package/lib/module/sidebar/SidebarItem.js.map +1 -1
  517. package/lib/module/sidebar/SidebarTeamMenu.js +3 -3
  518. package/lib/module/sidebar/SidebarTeamMenu.js.map +1 -1
  519. package/lib/module/sidebar/SidebarToolbar.js +161 -0
  520. package/lib/module/sidebar/SidebarToolbar.js.map +1 -0
  521. package/lib/module/sidebar/index.js +1 -0
  522. package/lib/module/sidebar/index.js.map +1 -1
  523. package/lib/module/sidebar/parts.js +11 -3
  524. package/lib/module/sidebar/parts.js.map +1 -1
  525. package/lib/module/social-button/SocialButtonBase.js +1 -1
  526. package/lib/module/social-button/SocialButtonBase.js.map +1 -1
  527. package/lib/module/textarea/Textarea.js +29 -15
  528. package/lib/module/textarea/Textarea.js.map +1 -1
  529. package/lib/module/theme/color-scope/seed-scope.js +2 -0
  530. package/lib/module/theme/color-scope/seed-scope.js.map +1 -1
  531. package/lib/typescript/commonjs/agent-avatar/AgentAvatar.d.ts +4 -0
  532. package/lib/typescript/commonjs/agent-avatar/AgentAvatar.d.ts.map +1 -0
  533. package/lib/typescript/commonjs/agent-avatar/AgentFace.d.ts +7 -0
  534. package/lib/typescript/commonjs/agent-avatar/AgentFace.d.ts.map +1 -0
  535. package/lib/typescript/commonjs/agent-avatar/SvgDrawing.d.ts +14 -0
  536. package/lib/typescript/commonjs/agent-avatar/SvgDrawing.d.ts.map +1 -0
  537. package/lib/typescript/commonjs/agent-avatar/artwork.d.ts +7 -0
  538. package/lib/typescript/commonjs/agent-avatar/artwork.d.ts.map +1 -0
  539. package/lib/typescript/commonjs/agent-avatar/attention.d.ts +24 -0
  540. package/lib/typescript/commonjs/agent-avatar/attention.d.ts.map +1 -0
  541. package/lib/typescript/commonjs/agent-avatar/blink.d.ts +12 -0
  542. package/lib/typescript/commonjs/agent-avatar/blink.d.ts.map +1 -0
  543. package/lib/typescript/commonjs/agent-avatar/context.d.ts +4 -0
  544. package/lib/typescript/commonjs/agent-avatar/context.d.ts.map +1 -0
  545. package/lib/typescript/commonjs/agent-avatar/drawing.d.ts +102 -0
  546. package/lib/typescript/commonjs/agent-avatar/drawing.d.ts.map +1 -0
  547. package/lib/typescript/commonjs/agent-avatar/entrance.d.ts +13 -0
  548. package/lib/typescript/commonjs/agent-avatar/entrance.d.ts.map +1 -0
  549. package/lib/typescript/commonjs/agent-avatar/face.d.ts +38 -0
  550. package/lib/typescript/commonjs/agent-avatar/face.d.ts.map +1 -0
  551. package/lib/typescript/commonjs/agent-avatar/fold-outlines.d.ts +13 -0
  552. package/lib/typescript/commonjs/agent-avatar/fold-outlines.d.ts.map +1 -0
  553. package/lib/typescript/commonjs/agent-avatar/fold.d.ts +7 -0
  554. package/lib/typescript/commonjs/agent-avatar/fold.d.ts.map +1 -0
  555. package/lib/typescript/commonjs/agent-avatar/grain.d.ts +3 -0
  556. package/lib/typescript/commonjs/agent-avatar/grain.d.ts.map +1 -0
  557. package/lib/typescript/commonjs/agent-avatar/index.d.ts +5 -0
  558. package/lib/typescript/commonjs/agent-avatar/index.d.ts.map +1 -0
  559. package/lib/typescript/commonjs/agent-avatar/messages.d.ts +4 -0
  560. package/lib/typescript/commonjs/agent-avatar/messages.d.ts.map +1 -0
  561. package/lib/typescript/commonjs/agent-avatar/model.d.ts +63 -0
  562. package/lib/typescript/commonjs/agent-avatar/model.d.ts.map +1 -0
  563. package/lib/typescript/commonjs/agent-avatar/shape-morph.d.ts +39 -0
  564. package/lib/typescript/commonjs/agent-avatar/shape-morph.d.ts.map +1 -0
  565. package/lib/typescript/commonjs/agent-avatar/types.d.ts +21 -0
  566. package/lib/typescript/commonjs/agent-avatar/types.d.ts.map +1 -0
  567. package/lib/typescript/commonjs/agent-avatar/wander.d.ts +14 -0
  568. package/lib/typescript/commonjs/agent-avatar/wander.d.ts.map +1 -0
  569. package/lib/typescript/commonjs/agent-avatar/working.d.ts +8 -0
  570. package/lib/typescript/commonjs/agent-avatar/working.d.ts.map +1 -0
  571. package/lib/typescript/commonjs/agent-chat/AgentChatMessage.d.ts +5 -0
  572. package/lib/typescript/commonjs/agent-chat/AgentChatMessage.d.ts.map +1 -1
  573. package/lib/typescript/commonjs/agent-creator/AgentCreator.d.ts +3 -0
  574. package/lib/typescript/commonjs/agent-creator/AgentCreator.d.ts.map +1 -0
  575. package/lib/typescript/commonjs/agent-creator/AgentCreator.web.d.ts +3 -0
  576. package/lib/typescript/commonjs/agent-creator/AgentCreator.web.d.ts.map +1 -0
  577. package/lib/typescript/commonjs/agent-creator/AgentCreatorBase.d.ts +4 -0
  578. package/lib/typescript/commonjs/agent-creator/AgentCreatorBase.d.ts.map +1 -0
  579. package/lib/typescript/commonjs/agent-creator/AgentPreferencesPanel.d.ts +4 -0
  580. package/lib/typescript/commonjs/agent-creator/AgentPreferencesPanel.d.ts.map +1 -0
  581. package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts +7 -0
  582. package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts.map +1 -0
  583. package/lib/typescript/commonjs/agent-creator/EmotionPicker.d.ts +7 -0
  584. package/lib/typescript/commonjs/agent-creator/EmotionPicker.d.ts.map +1 -0
  585. package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts +9 -0
  586. package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts.map +1 -0
  587. package/lib/typescript/commonjs/agent-creator/ScrollSurface.d.ts +11 -0
  588. package/lib/typescript/commonjs/agent-creator/ScrollSurface.d.ts.map +1 -0
  589. package/lib/typescript/commonjs/agent-creator/ShapeArc.d.ts +7 -0
  590. package/lib/typescript/commonjs/agent-creator/ShapeArc.d.ts.map +1 -0
  591. package/lib/typescript/commonjs/agent-creator/constants.d.ts +49 -0
  592. package/lib/typescript/commonjs/agent-creator/constants.d.ts.map +1 -0
  593. package/lib/typescript/commonjs/agent-creator/context.d.ts +64 -0
  594. package/lib/typescript/commonjs/agent-creator/context.d.ts.map +1 -0
  595. package/lib/typescript/commonjs/agent-creator/index.d.ts +5 -0
  596. package/lib/typescript/commonjs/agent-creator/index.d.ts.map +1 -0
  597. package/lib/typescript/commonjs/agent-creator/index.web.d.ts +5 -0
  598. package/lib/typescript/commonjs/agent-creator/index.web.d.ts.map +1 -0
  599. package/lib/typescript/commonjs/agent-creator/messages.d.ts +53 -0
  600. package/lib/typescript/commonjs/agent-creator/messages.d.ts.map +1 -0
  601. package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts +3 -0
  602. package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts.map +1 -0
  603. package/lib/typescript/commonjs/agent-creator/shared.d.ts +18 -0
  604. package/lib/typescript/commonjs/agent-creator/shared.d.ts.map +1 -0
  605. package/lib/typescript/commonjs/agent-creator/types.d.ts +37 -0
  606. package/lib/typescript/commonjs/agent-creator/types.d.ts.map +1 -0
  607. package/lib/typescript/commonjs/agent-creator/use-agent-voices.d.ts +9 -0
  608. package/lib/typescript/commonjs/agent-creator/use-agent-voices.d.ts.map +1 -0
  609. package/lib/typescript/commonjs/agent-creator/use-track-events.d.ts +5 -0
  610. package/lib/typescript/commonjs/agent-creator/use-track-events.d.ts.map +1 -0
  611. package/lib/typescript/commonjs/button/CloseButton.d.ts +1 -1
  612. package/lib/typescript/commonjs/button/CloseButton.d.ts.map +1 -1
  613. package/lib/typescript/commonjs/button/shared.d.ts +1 -1
  614. package/lib/typescript/commonjs/button/types.d.ts +2 -0
  615. package/lib/typescript/commonjs/button/types.d.ts.map +1 -1
  616. package/lib/typescript/commonjs/chip/Chip.d.ts.map +1 -1
  617. package/lib/typescript/commonjs/chip/types.d.ts +3 -0
  618. package/lib/typescript/commonjs/chip/types.d.ts.map +1 -1
  619. package/lib/typescript/commonjs/design-tokens/component-roles.d.ts +89 -0
  620. package/lib/typescript/commonjs/design-tokens/component-roles.d.ts.map +1 -0
  621. package/lib/typescript/commonjs/design-tokens/tailwind-preset.d.ts +3 -27
  622. package/lib/typescript/commonjs/design-tokens/tailwind-preset.d.ts.map +1 -1
  623. package/lib/typescript/commonjs/design-tokens/theme-css.d.ts +0 -24
  624. package/lib/typescript/commonjs/design-tokens/theme-css.d.ts.map +1 -1
  625. package/lib/typescript/commonjs/dialog/Dialog.web.d.ts.map +1 -1
  626. package/lib/typescript/commonjs/dialog/types.d.ts +6 -0
  627. package/lib/typescript/commonjs/dialog/types.d.ts.map +1 -1
  628. package/lib/typescript/commonjs/index.d.ts +4 -2
  629. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  630. package/lib/typescript/commonjs/index.web.d.ts +4 -2
  631. package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
  632. package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
  633. package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
  634. package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
  635. package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
  636. package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
  637. package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
  638. package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
  639. package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
  640. package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
  641. package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
  642. package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
  643. package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
  644. package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
  645. package/lib/typescript/commonjs/locale/translations/types.d.ts +8 -0
  646. package/lib/typescript/commonjs/locale/translations/types.d.ts.map +1 -1
  647. package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
  648. package/lib/typescript/commonjs/multi-agent-chat/AvatarFlightHost.d.ts +4 -0
  649. package/lib/typescript/commonjs/multi-agent-chat/AvatarFlightHost.d.ts.map +1 -0
  650. package/lib/typescript/commonjs/multi-agent-chat/AvatarFlightHost.web.d.ts +3 -0
  651. package/lib/typescript/commonjs/multi-agent-chat/AvatarFlightHost.web.d.ts.map +1 -0
  652. package/lib/typescript/commonjs/multi-agent-chat/AvatarHandoff.d.ts +10 -0
  653. package/lib/typescript/commonjs/multi-agent-chat/AvatarHandoff.d.ts.map +1 -0
  654. package/lib/typescript/commonjs/multi-agent-chat/ChatDialogFrame.d.ts +15 -0
  655. package/lib/typescript/commonjs/multi-agent-chat/ChatDialogFrame.d.ts.map +1 -0
  656. package/lib/typescript/commonjs/multi-agent-chat/ChatSidebar.d.ts +24 -0
  657. package/lib/typescript/commonjs/multi-agent-chat/ChatSidebar.d.ts.map +1 -0
  658. package/lib/typescript/commonjs/multi-agent-chat/EditorRail.d.ts +7 -0
  659. package/lib/typescript/commonjs/multi-agent-chat/EditorRail.d.ts.map +1 -0
  660. package/lib/typescript/commonjs/multi-agent-chat/Marketplace.d.ts +14 -0
  661. package/lib/typescript/commonjs/multi-agent-chat/Marketplace.d.ts.map +1 -0
  662. package/lib/typescript/commonjs/multi-agent-chat/MarketplaceSettings.d.ts +7 -0
  663. package/lib/typescript/commonjs/multi-agent-chat/MarketplaceSettings.d.ts.map +1 -0
  664. package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChat.d.ts +3 -0
  665. package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChat.d.ts.map +1 -0
  666. package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChat.web.d.ts +3 -0
  667. package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChat.web.d.ts.map +1 -0
  668. package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChatBase.d.ts +4 -0
  669. package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChatBase.d.ts.map +1 -0
  670. package/lib/typescript/commonjs/multi-agent-chat/ReplyRow.d.ts +18 -0
  671. package/lib/typescript/commonjs/multi-agent-chat/ReplyRow.d.ts.map +1 -0
  672. package/lib/typescript/commonjs/multi-agent-chat/ScrollSurface.d.ts +13 -0
  673. package/lib/typescript/commonjs/multi-agent-chat/ScrollSurface.d.ts.map +1 -0
  674. package/lib/typescript/commonjs/multi-agent-chat/SelectedAgentPreview.d.ts +9 -0
  675. package/lib/typescript/commonjs/multi-agent-chat/SelectedAgentPreview.d.ts.map +1 -0
  676. package/lib/typescript/commonjs/multi-agent-chat/WorkspaceSettingsPages.d.ts +3 -0
  677. package/lib/typescript/commonjs/multi-agent-chat/WorkspaceSettingsPages.d.ts.map +1 -0
  678. package/lib/typescript/commonjs/multi-agent-chat/context.d.ts +20 -0
  679. package/lib/typescript/commonjs/multi-agent-chat/context.d.ts.map +1 -0
  680. package/lib/typescript/commonjs/multi-agent-chat/data.d.ts +39 -0
  681. package/lib/typescript/commonjs/multi-agent-chat/data.d.ts.map +1 -0
  682. package/lib/typescript/commonjs/multi-agent-chat/handoff.d.ts +42 -0
  683. package/lib/typescript/commonjs/multi-agent-chat/handoff.d.ts.map +1 -0
  684. package/lib/typescript/commonjs/multi-agent-chat/index.d.ts +4 -0
  685. package/lib/typescript/commonjs/multi-agent-chat/index.d.ts.map +1 -0
  686. package/lib/typescript/commonjs/multi-agent-chat/index.web.d.ts +4 -0
  687. package/lib/typescript/commonjs/multi-agent-chat/index.web.d.ts.map +1 -0
  688. package/lib/typescript/commonjs/multi-agent-chat/marketplace-data.d.ts +26 -0
  689. package/lib/typescript/commonjs/multi-agent-chat/marketplace-data.d.ts.map +1 -0
  690. package/lib/typescript/commonjs/multi-agent-chat/marketplace-logos.d.ts +30 -0
  691. package/lib/typescript/commonjs/multi-agent-chat/marketplace-logos.d.ts.map +1 -0
  692. package/lib/typescript/commonjs/multi-agent-chat/messages.d.ts +175 -0
  693. package/lib/typescript/commonjs/multi-agent-chat/messages.d.ts.map +1 -0
  694. package/lib/typescript/commonjs/multi-agent-chat/model-catalog.d.ts +3 -0
  695. package/lib/typescript/commonjs/multi-agent-chat/model-catalog.d.ts.map +1 -0
  696. package/lib/typescript/commonjs/multi-agent-chat/stream-reply.d.ts +5 -0
  697. package/lib/typescript/commonjs/multi-agent-chat/stream-reply.d.ts.map +1 -0
  698. package/lib/typescript/commonjs/multi-agent-chat/types.d.ts +21 -0
  699. package/lib/typescript/commonjs/multi-agent-chat/types.d.ts.map +1 -0
  700. package/lib/typescript/commonjs/multi-agent-chat/use-replies.d.ts +14 -0
  701. package/lib/typescript/commonjs/multi-agent-chat/use-replies.d.ts.map +1 -0
  702. package/lib/typescript/commonjs/multi-agent-chat/use-workspace.d.ts +9 -0
  703. package/lib/typescript/commonjs/multi-agent-chat/use-workspace.d.ts.map +1 -0
  704. package/lib/typescript/commonjs/project-board/BoardTooltip.d.ts +7 -0
  705. package/lib/typescript/commonjs/project-board/BoardTooltip.d.ts.map +1 -0
  706. package/lib/typescript/commonjs/project-board/CreateTicketDialog.d.ts +12 -0
  707. package/lib/typescript/commonjs/project-board/CreateTicketDialog.d.ts.map +1 -0
  708. package/lib/typescript/commonjs/project-board/ProjectBoard.d.ts +3 -0
  709. package/lib/typescript/commonjs/project-board/ProjectBoard.d.ts.map +1 -0
  710. package/lib/typescript/commonjs/project-board/ProjectBoard.web.d.ts +3 -0
  711. package/lib/typescript/commonjs/project-board/ProjectBoard.web.d.ts.map +1 -0
  712. package/lib/typescript/commonjs/project-board/ProjectBoardBase.d.ts +3 -0
  713. package/lib/typescript/commonjs/project-board/ProjectBoardBase.d.ts.map +1 -0
  714. package/lib/typescript/commonjs/project-board/ProjectBoardControls.d.ts +32 -0
  715. package/lib/typescript/commonjs/project-board/ProjectBoardControls.d.ts.map +1 -0
  716. package/lib/typescript/commonjs/project-board/ProjectBoardEmptyState.d.ts +3 -0
  717. package/lib/typescript/commonjs/project-board/ProjectBoardEmptyState.d.ts.map +1 -0
  718. package/lib/typescript/commonjs/project-board/ProjectBoardIcons.d.ts +15 -0
  719. package/lib/typescript/commonjs/project-board/ProjectBoardIcons.d.ts.map +1 -0
  720. package/lib/typescript/commonjs/project-board/RiInboxArchiveLine.d.ts +7 -0
  721. package/lib/typescript/commonjs/project-board/RiInboxArchiveLine.d.ts.map +1 -0
  722. package/lib/typescript/commonjs/project-board/RiMoreLine.d.ts +7 -0
  723. package/lib/typescript/commonjs/project-board/RiMoreLine.d.ts.map +1 -0
  724. package/lib/typescript/commonjs/project-board/RiPieChart2Line.d.ts +7 -0
  725. package/lib/typescript/commonjs/project-board/RiPieChart2Line.d.ts.map +1 -0
  726. package/lib/typescript/commonjs/project-board/RiRestartLine.d.ts +7 -0
  727. package/lib/typescript/commonjs/project-board/RiRestartLine.d.ts.map +1 -0
  728. package/lib/typescript/commonjs/project-board/SourcePrimitives.d.ts +177 -0
  729. package/lib/typescript/commonjs/project-board/SourcePrimitives.d.ts.map +1 -0
  730. package/lib/typescript/commonjs/project-board/TicketCornerGenieSurface.web.d.ts +7 -0
  731. package/lib/typescript/commonjs/project-board/TicketCornerGenieSurface.web.d.ts.map +1 -0
  732. package/lib/typescript/commonjs/project-board/TicketDetailDialog.d.ts +16 -0
  733. package/lib/typescript/commonjs/project-board/TicketDetailDialog.d.ts.map +1 -0
  734. package/lib/typescript/commonjs/project-board/TicketGenieSurface.d.ts +9 -0
  735. package/lib/typescript/commonjs/project-board/TicketGenieSurface.d.ts.map +1 -0
  736. package/lib/typescript/commonjs/project-board/TicketGenieSurface.web.d.ts +6 -0
  737. package/lib/typescript/commonjs/project-board/TicketGenieSurface.web.d.ts.map +1 -0
  738. package/lib/typescript/commonjs/project-board/animation.web.d.ts +10 -0
  739. package/lib/typescript/commonjs/project-board/animation.web.d.ts.map +1 -0
  740. package/lib/typescript/commonjs/project-board/constants.d.ts +7 -0
  741. package/lib/typescript/commonjs/project-board/constants.d.ts.map +1 -0
  742. package/lib/typescript/commonjs/project-board/context.d.ts +39 -0
  743. package/lib/typescript/commonjs/project-board/context.d.ts.map +1 -0
  744. package/lib/typescript/commonjs/project-board/index.d.ts +3 -0
  745. package/lib/typescript/commonjs/project-board/index.d.ts.map +1 -0
  746. package/lib/typescript/commonjs/project-board/index.web.d.ts +3 -0
  747. package/lib/typescript/commonjs/project-board/index.web.d.ts.map +1 -0
  748. package/lib/typescript/commonjs/project-board/messages.d.ts +73 -0
  749. package/lib/typescript/commonjs/project-board/messages.d.ts.map +1 -0
  750. package/lib/typescript/commonjs/project-board/shared.d.ts +18 -0
  751. package/lib/typescript/commonjs/project-board/shared.d.ts.map +1 -0
  752. package/lib/typescript/commonjs/project-board/types.d.ts +78 -0
  753. package/lib/typescript/commonjs/project-board/types.d.ts.map +1 -0
  754. package/lib/typescript/commonjs/segmented-control/SegmentedControl.d.ts +4 -2
  755. package/lib/typescript/commonjs/segmented-control/SegmentedControl.d.ts.map +1 -1
  756. package/lib/typescript/commonjs/settings-modal/SettingsModal.d.ts.map +1 -1
  757. package/lib/typescript/commonjs/settings-modal/SettingsRows.d.ts +1 -1
  758. package/lib/typescript/commonjs/settings-modal/SettingsRows.d.ts.map +1 -1
  759. package/lib/typescript/commonjs/settings-modal/index.d.ts +1 -1
  760. package/lib/typescript/commonjs/settings-modal/index.d.ts.map +1 -1
  761. package/lib/typescript/commonjs/settings-modal/types.d.ts +12 -1
  762. package/lib/typescript/commonjs/settings-modal/types.d.ts.map +1 -1
  763. package/lib/typescript/commonjs/sidebar/Sidebar.d.ts.map +1 -1
  764. package/lib/typescript/commonjs/sidebar/SidebarItem.d.ts.map +1 -1
  765. package/lib/typescript/commonjs/sidebar/SidebarTeamMenu.d.ts.map +1 -1
  766. package/lib/typescript/commonjs/sidebar/SidebarToolbar.d.ts +4 -0
  767. package/lib/typescript/commonjs/sidebar/SidebarToolbar.d.ts.map +1 -0
  768. package/lib/typescript/commonjs/sidebar/index.d.ts +2 -1
  769. package/lib/typescript/commonjs/sidebar/index.d.ts.map +1 -1
  770. package/lib/typescript/commonjs/sidebar/parts.d.ts +2 -1
  771. package/lib/typescript/commonjs/sidebar/parts.d.ts.map +1 -1
  772. package/lib/typescript/commonjs/sidebar/types.d.ts +47 -5
  773. package/lib/typescript/commonjs/sidebar/types.d.ts.map +1 -1
  774. package/lib/typescript/commonjs/social-button/SocialButtonBase.d.ts +7 -0
  775. package/lib/typescript/commonjs/social-button/SocialButtonBase.d.ts.map +1 -1
  776. package/lib/typescript/commonjs/textarea/Textarea.d.ts +1 -1
  777. package/lib/typescript/commonjs/textarea/Textarea.d.ts.map +1 -1
  778. package/lib/typescript/commonjs/textarea/types.d.ts +6 -1
  779. package/lib/typescript/commonjs/textarea/types.d.ts.map +1 -1
  780. package/lib/typescript/commonjs/theme/color-scope/seed-scope.d.ts.map +1 -1
  781. package/lib/typescript/module/agent-avatar/AgentAvatar.d.ts +4 -0
  782. package/lib/typescript/module/agent-avatar/AgentAvatar.d.ts.map +1 -0
  783. package/lib/typescript/module/agent-avatar/AgentFace.d.ts +7 -0
  784. package/lib/typescript/module/agent-avatar/AgentFace.d.ts.map +1 -0
  785. package/lib/typescript/module/agent-avatar/SvgDrawing.d.ts +14 -0
  786. package/lib/typescript/module/agent-avatar/SvgDrawing.d.ts.map +1 -0
  787. package/lib/typescript/module/agent-avatar/artwork.d.ts +7 -0
  788. package/lib/typescript/module/agent-avatar/artwork.d.ts.map +1 -0
  789. package/lib/typescript/module/agent-avatar/attention.d.ts +24 -0
  790. package/lib/typescript/module/agent-avatar/attention.d.ts.map +1 -0
  791. package/lib/typescript/module/agent-avatar/blink.d.ts +12 -0
  792. package/lib/typescript/module/agent-avatar/blink.d.ts.map +1 -0
  793. package/lib/typescript/module/agent-avatar/context.d.ts +4 -0
  794. package/lib/typescript/module/agent-avatar/context.d.ts.map +1 -0
  795. package/lib/typescript/module/agent-avatar/drawing.d.ts +102 -0
  796. package/lib/typescript/module/agent-avatar/drawing.d.ts.map +1 -0
  797. package/lib/typescript/module/agent-avatar/entrance.d.ts +13 -0
  798. package/lib/typescript/module/agent-avatar/entrance.d.ts.map +1 -0
  799. package/lib/typescript/module/agent-avatar/face.d.ts +38 -0
  800. package/lib/typescript/module/agent-avatar/face.d.ts.map +1 -0
  801. package/lib/typescript/module/agent-avatar/fold-outlines.d.ts +13 -0
  802. package/lib/typescript/module/agent-avatar/fold-outlines.d.ts.map +1 -0
  803. package/lib/typescript/module/agent-avatar/fold.d.ts +7 -0
  804. package/lib/typescript/module/agent-avatar/fold.d.ts.map +1 -0
  805. package/lib/typescript/module/agent-avatar/grain.d.ts +3 -0
  806. package/lib/typescript/module/agent-avatar/grain.d.ts.map +1 -0
  807. package/lib/typescript/module/agent-avatar/index.d.ts +5 -0
  808. package/lib/typescript/module/agent-avatar/index.d.ts.map +1 -0
  809. package/lib/typescript/module/agent-avatar/messages.d.ts +4 -0
  810. package/lib/typescript/module/agent-avatar/messages.d.ts.map +1 -0
  811. package/lib/typescript/module/agent-avatar/model.d.ts +63 -0
  812. package/lib/typescript/module/agent-avatar/model.d.ts.map +1 -0
  813. package/lib/typescript/module/agent-avatar/shape-morph.d.ts +39 -0
  814. package/lib/typescript/module/agent-avatar/shape-morph.d.ts.map +1 -0
  815. package/lib/typescript/module/agent-avatar/types.d.ts +21 -0
  816. package/lib/typescript/module/agent-avatar/types.d.ts.map +1 -0
  817. package/lib/typescript/module/agent-avatar/wander.d.ts +14 -0
  818. package/lib/typescript/module/agent-avatar/wander.d.ts.map +1 -0
  819. package/lib/typescript/module/agent-avatar/working.d.ts +8 -0
  820. package/lib/typescript/module/agent-avatar/working.d.ts.map +1 -0
  821. package/lib/typescript/module/agent-chat/AgentChatMessage.d.ts +5 -0
  822. package/lib/typescript/module/agent-chat/AgentChatMessage.d.ts.map +1 -1
  823. package/lib/typescript/module/agent-creator/AgentCreator.d.ts +3 -0
  824. package/lib/typescript/module/agent-creator/AgentCreator.d.ts.map +1 -0
  825. package/lib/typescript/module/agent-creator/AgentCreator.web.d.ts +3 -0
  826. package/lib/typescript/module/agent-creator/AgentCreator.web.d.ts.map +1 -0
  827. package/lib/typescript/module/agent-creator/AgentCreatorBase.d.ts +4 -0
  828. package/lib/typescript/module/agent-creator/AgentCreatorBase.d.ts.map +1 -0
  829. package/lib/typescript/module/agent-creator/AgentPreferencesPanel.d.ts +4 -0
  830. package/lib/typescript/module/agent-creator/AgentPreferencesPanel.d.ts.map +1 -0
  831. package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts +7 -0
  832. package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts.map +1 -0
  833. package/lib/typescript/module/agent-creator/EmotionPicker.d.ts +7 -0
  834. package/lib/typescript/module/agent-creator/EmotionPicker.d.ts.map +1 -0
  835. package/lib/typescript/module/agent-creator/GlossArt.d.ts +9 -0
  836. package/lib/typescript/module/agent-creator/GlossArt.d.ts.map +1 -0
  837. package/lib/typescript/module/agent-creator/ScrollSurface.d.ts +11 -0
  838. package/lib/typescript/module/agent-creator/ScrollSurface.d.ts.map +1 -0
  839. package/lib/typescript/module/agent-creator/ShapeArc.d.ts +7 -0
  840. package/lib/typescript/module/agent-creator/ShapeArc.d.ts.map +1 -0
  841. package/lib/typescript/module/agent-creator/constants.d.ts +49 -0
  842. package/lib/typescript/module/agent-creator/constants.d.ts.map +1 -0
  843. package/lib/typescript/module/agent-creator/context.d.ts +64 -0
  844. package/lib/typescript/module/agent-creator/context.d.ts.map +1 -0
  845. package/lib/typescript/module/agent-creator/index.d.ts +5 -0
  846. package/lib/typescript/module/agent-creator/index.d.ts.map +1 -0
  847. package/lib/typescript/module/agent-creator/index.web.d.ts +5 -0
  848. package/lib/typescript/module/agent-creator/index.web.d.ts.map +1 -0
  849. package/lib/typescript/module/agent-creator/messages.d.ts +53 -0
  850. package/lib/typescript/module/agent-creator/messages.d.ts.map +1 -0
  851. package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts +3 -0
  852. package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts.map +1 -0
  853. package/lib/typescript/module/agent-creator/shared.d.ts +18 -0
  854. package/lib/typescript/module/agent-creator/shared.d.ts.map +1 -0
  855. package/lib/typescript/module/agent-creator/types.d.ts +37 -0
  856. package/lib/typescript/module/agent-creator/types.d.ts.map +1 -0
  857. package/lib/typescript/module/agent-creator/use-agent-voices.d.ts +9 -0
  858. package/lib/typescript/module/agent-creator/use-agent-voices.d.ts.map +1 -0
  859. package/lib/typescript/module/agent-creator/use-track-events.d.ts +5 -0
  860. package/lib/typescript/module/agent-creator/use-track-events.d.ts.map +1 -0
  861. package/lib/typescript/module/button/CloseButton.d.ts +1 -1
  862. package/lib/typescript/module/button/CloseButton.d.ts.map +1 -1
  863. package/lib/typescript/module/button/shared.d.ts +1 -1
  864. package/lib/typescript/module/button/types.d.ts +2 -0
  865. package/lib/typescript/module/button/types.d.ts.map +1 -1
  866. package/lib/typescript/module/chip/Chip.d.ts.map +1 -1
  867. package/lib/typescript/module/chip/types.d.ts +3 -0
  868. package/lib/typescript/module/chip/types.d.ts.map +1 -1
  869. package/lib/typescript/module/design-tokens/component-roles.d.ts +89 -0
  870. package/lib/typescript/module/design-tokens/component-roles.d.ts.map +1 -0
  871. package/lib/typescript/module/design-tokens/tailwind-preset.d.ts +3 -27
  872. package/lib/typescript/module/design-tokens/tailwind-preset.d.ts.map +1 -1
  873. package/lib/typescript/module/design-tokens/theme-css.d.ts +0 -24
  874. package/lib/typescript/module/design-tokens/theme-css.d.ts.map +1 -1
  875. package/lib/typescript/module/dialog/Dialog.web.d.ts.map +1 -1
  876. package/lib/typescript/module/dialog/types.d.ts +6 -0
  877. package/lib/typescript/module/dialog/types.d.ts.map +1 -1
  878. package/lib/typescript/module/index.d.ts +4 -2
  879. package/lib/typescript/module/index.d.ts.map +1 -1
  880. package/lib/typescript/module/index.web.d.ts +4 -2
  881. package/lib/typescript/module/index.web.d.ts.map +1 -1
  882. package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
  883. package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
  884. package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
  885. package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
  886. package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
  887. package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
  888. package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
  889. package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
  890. package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
  891. package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
  892. package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
  893. package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
  894. package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
  895. package/lib/typescript/module/locale/translations/types.d.ts +8 -0
  896. package/lib/typescript/module/locale/translations/types.d.ts.map +1 -1
  897. package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
  898. package/lib/typescript/module/multi-agent-chat/AvatarFlightHost.d.ts +4 -0
  899. package/lib/typescript/module/multi-agent-chat/AvatarFlightHost.d.ts.map +1 -0
  900. package/lib/typescript/module/multi-agent-chat/AvatarFlightHost.web.d.ts +3 -0
  901. package/lib/typescript/module/multi-agent-chat/AvatarFlightHost.web.d.ts.map +1 -0
  902. package/lib/typescript/module/multi-agent-chat/AvatarHandoff.d.ts +10 -0
  903. package/lib/typescript/module/multi-agent-chat/AvatarHandoff.d.ts.map +1 -0
  904. package/lib/typescript/module/multi-agent-chat/ChatDialogFrame.d.ts +15 -0
  905. package/lib/typescript/module/multi-agent-chat/ChatDialogFrame.d.ts.map +1 -0
  906. package/lib/typescript/module/multi-agent-chat/ChatSidebar.d.ts +24 -0
  907. package/lib/typescript/module/multi-agent-chat/ChatSidebar.d.ts.map +1 -0
  908. package/lib/typescript/module/multi-agent-chat/EditorRail.d.ts +7 -0
  909. package/lib/typescript/module/multi-agent-chat/EditorRail.d.ts.map +1 -0
  910. package/lib/typescript/module/multi-agent-chat/Marketplace.d.ts +14 -0
  911. package/lib/typescript/module/multi-agent-chat/Marketplace.d.ts.map +1 -0
  912. package/lib/typescript/module/multi-agent-chat/MarketplaceSettings.d.ts +7 -0
  913. package/lib/typescript/module/multi-agent-chat/MarketplaceSettings.d.ts.map +1 -0
  914. package/lib/typescript/module/multi-agent-chat/MultiAgentChat.d.ts +3 -0
  915. package/lib/typescript/module/multi-agent-chat/MultiAgentChat.d.ts.map +1 -0
  916. package/lib/typescript/module/multi-agent-chat/MultiAgentChat.web.d.ts +3 -0
  917. package/lib/typescript/module/multi-agent-chat/MultiAgentChat.web.d.ts.map +1 -0
  918. package/lib/typescript/module/multi-agent-chat/MultiAgentChatBase.d.ts +4 -0
  919. package/lib/typescript/module/multi-agent-chat/MultiAgentChatBase.d.ts.map +1 -0
  920. package/lib/typescript/module/multi-agent-chat/ReplyRow.d.ts +18 -0
  921. package/lib/typescript/module/multi-agent-chat/ReplyRow.d.ts.map +1 -0
  922. package/lib/typescript/module/multi-agent-chat/ScrollSurface.d.ts +13 -0
  923. package/lib/typescript/module/multi-agent-chat/ScrollSurface.d.ts.map +1 -0
  924. package/lib/typescript/module/multi-agent-chat/SelectedAgentPreview.d.ts +9 -0
  925. package/lib/typescript/module/multi-agent-chat/SelectedAgentPreview.d.ts.map +1 -0
  926. package/lib/typescript/module/multi-agent-chat/WorkspaceSettingsPages.d.ts +3 -0
  927. package/lib/typescript/module/multi-agent-chat/WorkspaceSettingsPages.d.ts.map +1 -0
  928. package/lib/typescript/module/multi-agent-chat/context.d.ts +20 -0
  929. package/lib/typescript/module/multi-agent-chat/context.d.ts.map +1 -0
  930. package/lib/typescript/module/multi-agent-chat/data.d.ts +39 -0
  931. package/lib/typescript/module/multi-agent-chat/data.d.ts.map +1 -0
  932. package/lib/typescript/module/multi-agent-chat/handoff.d.ts +42 -0
  933. package/lib/typescript/module/multi-agent-chat/handoff.d.ts.map +1 -0
  934. package/lib/typescript/module/multi-agent-chat/index.d.ts +4 -0
  935. package/lib/typescript/module/multi-agent-chat/index.d.ts.map +1 -0
  936. package/lib/typescript/module/multi-agent-chat/index.web.d.ts +4 -0
  937. package/lib/typescript/module/multi-agent-chat/index.web.d.ts.map +1 -0
  938. package/lib/typescript/module/multi-agent-chat/marketplace-data.d.ts +26 -0
  939. package/lib/typescript/module/multi-agent-chat/marketplace-data.d.ts.map +1 -0
  940. package/lib/typescript/module/multi-agent-chat/marketplace-logos.d.ts +30 -0
  941. package/lib/typescript/module/multi-agent-chat/marketplace-logos.d.ts.map +1 -0
  942. package/lib/typescript/module/multi-agent-chat/messages.d.ts +175 -0
  943. package/lib/typescript/module/multi-agent-chat/messages.d.ts.map +1 -0
  944. package/lib/typescript/module/multi-agent-chat/model-catalog.d.ts +3 -0
  945. package/lib/typescript/module/multi-agent-chat/model-catalog.d.ts.map +1 -0
  946. package/lib/typescript/module/multi-agent-chat/stream-reply.d.ts +5 -0
  947. package/lib/typescript/module/multi-agent-chat/stream-reply.d.ts.map +1 -0
  948. package/lib/typescript/module/multi-agent-chat/types.d.ts +21 -0
  949. package/lib/typescript/module/multi-agent-chat/types.d.ts.map +1 -0
  950. package/lib/typescript/module/multi-agent-chat/use-replies.d.ts +14 -0
  951. package/lib/typescript/module/multi-agent-chat/use-replies.d.ts.map +1 -0
  952. package/lib/typescript/module/multi-agent-chat/use-workspace.d.ts +9 -0
  953. package/lib/typescript/module/multi-agent-chat/use-workspace.d.ts.map +1 -0
  954. package/lib/typescript/module/project-board/BoardTooltip.d.ts +7 -0
  955. package/lib/typescript/module/project-board/BoardTooltip.d.ts.map +1 -0
  956. package/lib/typescript/module/project-board/CreateTicketDialog.d.ts +12 -0
  957. package/lib/typescript/module/project-board/CreateTicketDialog.d.ts.map +1 -0
  958. package/lib/typescript/module/project-board/ProjectBoard.d.ts +3 -0
  959. package/lib/typescript/module/project-board/ProjectBoard.d.ts.map +1 -0
  960. package/lib/typescript/module/project-board/ProjectBoard.web.d.ts +3 -0
  961. package/lib/typescript/module/project-board/ProjectBoard.web.d.ts.map +1 -0
  962. package/lib/typescript/module/project-board/ProjectBoardBase.d.ts +3 -0
  963. package/lib/typescript/module/project-board/ProjectBoardBase.d.ts.map +1 -0
  964. package/lib/typescript/module/project-board/ProjectBoardControls.d.ts +32 -0
  965. package/lib/typescript/module/project-board/ProjectBoardControls.d.ts.map +1 -0
  966. package/lib/typescript/module/project-board/ProjectBoardEmptyState.d.ts +3 -0
  967. package/lib/typescript/module/project-board/ProjectBoardEmptyState.d.ts.map +1 -0
  968. package/lib/typescript/module/project-board/ProjectBoardIcons.d.ts +15 -0
  969. package/lib/typescript/module/project-board/ProjectBoardIcons.d.ts.map +1 -0
  970. package/lib/typescript/module/project-board/RiInboxArchiveLine.d.ts +7 -0
  971. package/lib/typescript/module/project-board/RiInboxArchiveLine.d.ts.map +1 -0
  972. package/lib/typescript/module/project-board/RiMoreLine.d.ts +7 -0
  973. package/lib/typescript/module/project-board/RiMoreLine.d.ts.map +1 -0
  974. package/lib/typescript/module/project-board/RiPieChart2Line.d.ts +7 -0
  975. package/lib/typescript/module/project-board/RiPieChart2Line.d.ts.map +1 -0
  976. package/lib/typescript/module/project-board/RiRestartLine.d.ts +7 -0
  977. package/lib/typescript/module/project-board/RiRestartLine.d.ts.map +1 -0
  978. package/lib/typescript/module/project-board/SourcePrimitives.d.ts +177 -0
  979. package/lib/typescript/module/project-board/SourcePrimitives.d.ts.map +1 -0
  980. package/lib/typescript/module/project-board/TicketCornerGenieSurface.web.d.ts +7 -0
  981. package/lib/typescript/module/project-board/TicketCornerGenieSurface.web.d.ts.map +1 -0
  982. package/lib/typescript/module/project-board/TicketDetailDialog.d.ts +16 -0
  983. package/lib/typescript/module/project-board/TicketDetailDialog.d.ts.map +1 -0
  984. package/lib/typescript/module/project-board/TicketGenieSurface.d.ts +9 -0
  985. package/lib/typescript/module/project-board/TicketGenieSurface.d.ts.map +1 -0
  986. package/lib/typescript/module/project-board/TicketGenieSurface.web.d.ts +6 -0
  987. package/lib/typescript/module/project-board/TicketGenieSurface.web.d.ts.map +1 -0
  988. package/lib/typescript/module/project-board/animation.web.d.ts +10 -0
  989. package/lib/typescript/module/project-board/animation.web.d.ts.map +1 -0
  990. package/lib/typescript/module/project-board/constants.d.ts +7 -0
  991. package/lib/typescript/module/project-board/constants.d.ts.map +1 -0
  992. package/lib/typescript/module/project-board/context.d.ts +39 -0
  993. package/lib/typescript/module/project-board/context.d.ts.map +1 -0
  994. package/lib/typescript/module/project-board/index.d.ts +3 -0
  995. package/lib/typescript/module/project-board/index.d.ts.map +1 -0
  996. package/lib/typescript/module/project-board/index.web.d.ts +3 -0
  997. package/lib/typescript/module/project-board/index.web.d.ts.map +1 -0
  998. package/lib/typescript/module/project-board/messages.d.ts +73 -0
  999. package/lib/typescript/module/project-board/messages.d.ts.map +1 -0
  1000. package/lib/typescript/module/project-board/shared.d.ts +18 -0
  1001. package/lib/typescript/module/project-board/shared.d.ts.map +1 -0
  1002. package/lib/typescript/module/project-board/types.d.ts +78 -0
  1003. package/lib/typescript/module/project-board/types.d.ts.map +1 -0
  1004. package/lib/typescript/module/segmented-control/SegmentedControl.d.ts +4 -2
  1005. package/lib/typescript/module/segmented-control/SegmentedControl.d.ts.map +1 -1
  1006. package/lib/typescript/module/settings-modal/SettingsModal.d.ts.map +1 -1
  1007. package/lib/typescript/module/settings-modal/SettingsRows.d.ts +1 -1
  1008. package/lib/typescript/module/settings-modal/SettingsRows.d.ts.map +1 -1
  1009. package/lib/typescript/module/settings-modal/index.d.ts +1 -1
  1010. package/lib/typescript/module/settings-modal/index.d.ts.map +1 -1
  1011. package/lib/typescript/module/settings-modal/types.d.ts +12 -1
  1012. package/lib/typescript/module/settings-modal/types.d.ts.map +1 -1
  1013. package/lib/typescript/module/sidebar/Sidebar.d.ts.map +1 -1
  1014. package/lib/typescript/module/sidebar/SidebarItem.d.ts.map +1 -1
  1015. package/lib/typescript/module/sidebar/SidebarTeamMenu.d.ts.map +1 -1
  1016. package/lib/typescript/module/sidebar/SidebarToolbar.d.ts +4 -0
  1017. package/lib/typescript/module/sidebar/SidebarToolbar.d.ts.map +1 -0
  1018. package/lib/typescript/module/sidebar/index.d.ts +2 -1
  1019. package/lib/typescript/module/sidebar/index.d.ts.map +1 -1
  1020. package/lib/typescript/module/sidebar/parts.d.ts +2 -1
  1021. package/lib/typescript/module/sidebar/parts.d.ts.map +1 -1
  1022. package/lib/typescript/module/sidebar/types.d.ts +47 -5
  1023. package/lib/typescript/module/sidebar/types.d.ts.map +1 -1
  1024. package/lib/typescript/module/social-button/SocialButtonBase.d.ts +7 -0
  1025. package/lib/typescript/module/social-button/SocialButtonBase.d.ts.map +1 -1
  1026. package/lib/typescript/module/textarea/Textarea.d.ts +1 -1
  1027. package/lib/typescript/module/textarea/Textarea.d.ts.map +1 -1
  1028. package/lib/typescript/module/textarea/types.d.ts +6 -1
  1029. package/lib/typescript/module/textarea/types.d.ts.map +1 -1
  1030. package/lib/typescript/module/theme/color-scope/seed-scope.d.ts.map +1 -1
  1031. package/package.json +84 -18
  1032. package/src/agent-avatar/AgentAvatar.tsx +299 -0
  1033. package/src/agent-avatar/AgentFace.tsx +20 -0
  1034. package/src/agent-avatar/SvgDrawing.tsx +237 -0
  1035. package/src/agent-avatar/artwork.ts +195 -0
  1036. package/src/agent-avatar/attention.ts +109 -0
  1037. package/src/agent-avatar/blink.ts +47 -0
  1038. package/src/agent-avatar/context.ts +7 -0
  1039. package/src/agent-avatar/drawing.ts +276 -0
  1040. package/src/agent-avatar/entrance.ts +25 -0
  1041. package/src/agent-avatar/face.ts +540 -0
  1042. package/src/agent-avatar/fold-outlines.ts +90 -0
  1043. package/src/agent-avatar/fold.ts +444 -0
  1044. package/src/agent-avatar/grain.ts +3 -0
  1045. package/src/agent-avatar/index.ts +27 -0
  1046. package/src/agent-avatar/messages.ts +5 -0
  1047. package/src/agent-avatar/model.ts +576 -0
  1048. package/src/agent-avatar/shape-morph.ts +210 -0
  1049. package/src/agent-avatar/types.ts +21 -0
  1050. package/src/agent-avatar/wander.ts +97 -0
  1051. package/src/agent-avatar/working.ts +20 -0
  1052. package/src/agent-chat/AgentChatMessage.tsx +7 -0
  1053. package/src/agent-creator/AgentCreator.tsx +32 -0
  1054. package/src/agent-creator/AgentCreator.web.tsx +32 -0
  1055. package/src/agent-creator/AgentCreatorBase.tsx +287 -0
  1056. package/src/agent-creator/AgentPreferencesPanel.tsx +268 -0
  1057. package/src/agent-creator/CustomColorPicker.tsx +382 -0
  1058. package/src/agent-creator/EmotionPicker.tsx +201 -0
  1059. package/src/agent-creator/GlossArt.tsx +165 -0
  1060. package/src/agent-creator/ScrollSurface.tsx +144 -0
  1061. package/src/agent-creator/ShapeArc.tsx +266 -0
  1062. package/src/agent-creator/constants.ts +57 -0
  1063. package/src/agent-creator/context.ts +38 -0
  1064. package/src/agent-creator/index.ts +14 -0
  1065. package/src/agent-creator/index.web.ts +19 -0
  1066. package/src/agent-creator/messages.ts +198 -0
  1067. package/src/agent-creator/rainbow-artwork.ts +5 -0
  1068. package/src/agent-creator/shared.ts +102 -0
  1069. package/src/agent-creator/types.ts +34 -0
  1070. package/src/agent-creator/use-agent-voices.ts +72 -0
  1071. package/src/agent-creator/use-track-events.ts +42 -0
  1072. package/src/button/CloseButton.tsx +6 -3
  1073. package/src/button/types.ts +2 -0
  1074. package/src/chip/Chip.tsx +17 -10
  1075. package/src/chip/types.ts +3 -0
  1076. package/src/design-tokens/component-roles.ts +93 -0
  1077. package/src/design-tokens/tailwind-preset.ts +12 -8
  1078. package/src/design-tokens/theme-css.ts +18 -0
  1079. package/src/design-tokens/theme.css +284 -0
  1080. package/src/dialog/Dialog.tsx +25 -14
  1081. package/src/dialog/Dialog.web.tsx +23 -16
  1082. package/src/dialog/DialogHeader.tsx +1 -1
  1083. package/src/dialog/types.ts +6 -0
  1084. package/src/hooks/use-accessible-name-warning.ts +2 -2
  1085. package/src/index.ts +5 -2
  1086. package/src/index.web.ts +5 -2
  1087. package/src/locale/translations/ar.ts +297 -0
  1088. package/src/locale/translations/bn.ts +297 -0
  1089. package/src/locale/translations/ca.ts +297 -0
  1090. package/src/locale/translations/de.ts +297 -0
  1091. package/src/locale/translations/es.ts +297 -0
  1092. package/src/locale/translations/fr.ts +297 -0
  1093. package/src/locale/translations/hi.ts +297 -0
  1094. package/src/locale/translations/id.ts +297 -0
  1095. package/src/locale/translations/it.ts +297 -0
  1096. package/src/locale/translations/ja.ts +297 -0
  1097. package/src/locale/translations/pt.ts +297 -0
  1098. package/src/locale/translations/ru.ts +297 -0
  1099. package/src/locale/translations/tr.ts +297 -0
  1100. package/src/locale/translations/types.ts +8 -0
  1101. package/src/locale/translations/zh.ts +297 -0
  1102. package/src/multi-agent-chat/AvatarFlightHost.tsx +5 -0
  1103. package/src/multi-agent-chat/AvatarFlightHost.web.tsx +5 -0
  1104. package/src/multi-agent-chat/AvatarHandoff.tsx +258 -0
  1105. package/src/multi-agent-chat/ChatDialogFrame.tsx +186 -0
  1106. package/src/multi-agent-chat/ChatSidebar.tsx +384 -0
  1107. package/src/multi-agent-chat/EditorRail.tsx +68 -0
  1108. package/src/multi-agent-chat/Marketplace.tsx +649 -0
  1109. package/src/multi-agent-chat/MarketplaceSettings.tsx +110 -0
  1110. package/src/multi-agent-chat/MultiAgentChat.tsx +30 -0
  1111. package/src/multi-agent-chat/MultiAgentChat.web.tsx +30 -0
  1112. package/src/multi-agent-chat/MultiAgentChatBase.tsx +1202 -0
  1113. package/src/multi-agent-chat/ReplyRow.tsx +188 -0
  1114. package/src/multi-agent-chat/ScrollSurface.tsx +122 -0
  1115. package/src/multi-agent-chat/SelectedAgentPreview.tsx +143 -0
  1116. package/src/multi-agent-chat/WorkspaceSettingsPages.tsx +515 -0
  1117. package/src/multi-agent-chat/context.ts +23 -0
  1118. package/src/multi-agent-chat/data.ts +629 -0
  1119. package/src/multi-agent-chat/handoff.ts +150 -0
  1120. package/src/multi-agent-chat/index.ts +8 -0
  1121. package/src/multi-agent-chat/index.web.ts +13 -0
  1122. package/src/multi-agent-chat/marketplace-data.ts +359 -0
  1123. package/src/multi-agent-chat/marketplace-logos.ts +29 -0
  1124. package/src/multi-agent-chat/messages.ts +215 -0
  1125. package/src/multi-agent-chat/model-catalog.tsx +461 -0
  1126. package/src/multi-agent-chat/stream-reply.ts +39 -0
  1127. package/src/multi-agent-chat/types.ts +27 -0
  1128. package/src/multi-agent-chat/use-replies.ts +166 -0
  1129. package/src/multi-agent-chat/use-workspace.ts +59 -0
  1130. package/src/project-board/BoardTooltip.tsx +41 -0
  1131. package/src/project-board/CreateTicketDialog.tsx +373 -0
  1132. package/src/project-board/ProjectBoard.tsx +34 -0
  1133. package/src/project-board/ProjectBoard.web.tsx +32 -0
  1134. package/src/project-board/ProjectBoardBase.tsx +1022 -0
  1135. package/src/project-board/ProjectBoardControls.tsx +254 -0
  1136. package/src/project-board/ProjectBoardEmptyState.tsx +179 -0
  1137. package/src/project-board/ProjectBoardIcons.tsx +93 -0
  1138. package/src/project-board/RiInboxArchiveLine.tsx +4 -0
  1139. package/src/project-board/RiMoreLine.tsx +4 -0
  1140. package/src/project-board/RiPieChart2Line.tsx +4 -0
  1141. package/src/project-board/RiRestartLine.tsx +4 -0
  1142. package/src/project-board/SourcePrimitives.tsx +155 -0
  1143. package/src/project-board/TicketCornerGenieSurface.web.tsx +401 -0
  1144. package/src/project-board/TicketDetailDialog.tsx +730 -0
  1145. package/src/project-board/TicketGenieSurface.tsx +73 -0
  1146. package/src/project-board/TicketGenieSurface.web.tsx +190 -0
  1147. package/src/project-board/animation.web.ts +22 -0
  1148. package/src/project-board/constants.ts +20 -0
  1149. package/src/project-board/context.ts +46 -0
  1150. package/src/project-board/index.ts +12 -0
  1151. package/src/project-board/index.web.ts +17 -0
  1152. package/src/project-board/messages.ts +74 -0
  1153. package/src/project-board/shared.ts +104 -0
  1154. package/src/project-board/types.ts +78 -0
  1155. package/src/segmented-control/SegmentedControl.tsx +12 -8
  1156. package/src/settings-modal/SettingsModal.tsx +9 -6
  1157. package/src/settings-modal/SettingsRows.tsx +4 -3
  1158. package/src/settings-modal/index.ts +1 -0
  1159. package/src/settings-modal/types.ts +13 -1
  1160. package/src/sidebar/Sidebar.tsx +19 -9
  1161. package/src/sidebar/SidebarItem.tsx +36 -11
  1162. package/src/sidebar/SidebarTeamMenu.tsx +1 -0
  1163. package/src/sidebar/SidebarToolbar.tsx +176 -0
  1164. package/src/sidebar/index.ts +2 -0
  1165. package/src/sidebar/parts.tsx +4 -2
  1166. package/src/sidebar/types.ts +46 -5
  1167. package/src/social-button/SocialButtonBase.tsx +1 -1
  1168. package/src/textarea/Textarea.tsx +21 -9
  1169. package/src/textarea/types.ts +6 -1
  1170. package/src/theme/color-scope/seed-scope.ts +2 -0
  1171. package/docs/dot-grid-meter.mdx +0 -66
  1172. package/lib/commonjs/dot-grid-meter/DotGridMeter.js +0 -80
  1173. package/lib/commonjs/dot-grid-meter/DotGridMeter.js.map +0 -1
  1174. package/lib/commonjs/dot-grid-meter/index.js +0 -13
  1175. package/lib/commonjs/dot-grid-meter/index.js.map +0 -1
  1176. package/lib/module/dot-grid-meter/DotGridMeter.js +0 -75
  1177. package/lib/module/dot-grid-meter/DotGridMeter.js.map +0 -1
  1178. package/lib/module/dot-grid-meter/index.js +0 -4
  1179. package/lib/module/dot-grid-meter/index.js.map +0 -1
  1180. package/lib/typescript/commonjs/dot-grid-meter/DotGridMeter.d.ts +0 -4
  1181. package/lib/typescript/commonjs/dot-grid-meter/DotGridMeter.d.ts.map +0 -1
  1182. package/lib/typescript/commonjs/dot-grid-meter/index.d.ts +0 -3
  1183. package/lib/typescript/commonjs/dot-grid-meter/index.d.ts.map +0 -1
  1184. package/lib/typescript/commonjs/dot-grid-meter/types.d.ts +0 -48
  1185. package/lib/typescript/commonjs/dot-grid-meter/types.d.ts.map +0 -1
  1186. package/lib/typescript/module/dot-grid-meter/DotGridMeter.d.ts +0 -4
  1187. package/lib/typescript/module/dot-grid-meter/DotGridMeter.d.ts.map +0 -1
  1188. package/lib/typescript/module/dot-grid-meter/index.d.ts +0 -3
  1189. package/lib/typescript/module/dot-grid-meter/index.d.ts.map +0 -1
  1190. package/lib/typescript/module/dot-grid-meter/types.d.ts +0 -48
  1191. package/lib/typescript/module/dot-grid-meter/types.d.ts.map +0 -1
  1192. package/src/dot-grid-meter/DotGridMeter.tsx +0 -84
  1193. package/src/dot-grid-meter/index.ts +0 -2
  1194. package/src/dot-grid-meter/types.ts +0 -48
  1195. /package/lib/commonjs/{dot-grid-meter → agent-avatar}/types.js +0 -0
  1196. /package/lib/module/{dot-grid-meter → agent-avatar}/types.js +0 -0
@@ -0,0 +1,155 @@
1
+ import { Children, type ComponentType, type ReactNode, type Ref } from 'react';
2
+ import type { View as NativeView, TextProps, ViewProps } from 'react-native';
3
+ import { styled } from 'react-native-css';
4
+ import { Avatar as BloomAvatar } from '../avatar';
5
+ import type { AvatarProps } from '../avatar/types';
6
+ import { Chip as BloomChip } from '../chip';
7
+ import type { ChipProps } from '../chip/types';
8
+ import { RiAddFill as BaseRiAddFill } from '../icons/remix/RiAddFill';
9
+ import { RiAddLine as BaseRiAddLine } from '../icons/remix/RiAddLine';
10
+ import { RiArrowRightSLine as BaseRiArrowRightSLine } from '../icons/remix/RiArrowRightSLine';
11
+ import { RiArrowUpLine as BaseRiArrowUpLine } from '../icons/remix/RiArrowUpLine';
12
+ import { RiCheckLine as BaseRiCheckLine } from '../icons/remix/RiCheckLine';
13
+ import { RiCheckboxCircleLine as BaseRiCheckboxCircleLine } from '../icons/remix/RiCheckboxCircleLine';
14
+ import { RiEditLine as BaseRiEditLine } from '../icons/remix/RiEditLine';
15
+ import { RiEqualizerLine as BaseRiEqualizerLine } from '../icons/remix/RiEqualizerLine';
16
+ import { RiFileCopyLine as BaseRiFileCopyLine } from '../icons/remix/RiFileCopyLine';
17
+ import { RiFolder6Line as BaseRiFolder6Line } from '../icons/remix/RiFolder6Line';
18
+ import { RiInbox2Line as BaseRiInbox2Line } from '../icons/remix/RiInbox2Line';
19
+ import { RiKanbanView2 as BaseRiKanbanView2 } from '../icons/remix/RiKanbanView2';
20
+ import { RiLinkM as BaseRiLinkM } from '../icons/remix/RiLinkM';
21
+ import { RiMenuLine as BaseRiMenuLine } from '../icons/remix/RiMenuLine';
22
+ import { RiMore2Fill as BaseRiMore2Fill } from '../icons/remix/RiMore2Fill';
23
+ import { RiSideBarLine as BaseRiSideBarLine } from '../icons/remix/RiSideBarLine';
24
+ import { RiSortDesc as BaseRiSortDesc } from '../icons/remix/RiSortDesc';
25
+ import type { Props as IconProps } from '../icons/shared';
26
+ import {
27
+ StyledPressable,
28
+ StyledView,
29
+ type StyledPressableProps,
30
+ } from '../styles/styled-primitives';
31
+ import { Text as BloomText } from '../typography';
32
+ import { RiMoreLine as SourceMore } from './RiMoreLine';
33
+ import { RiRestartLine as SourceRestart } from './RiRestartLine';
34
+ import { CHIP_BASE, cx, PRIORITY_STYLES } from './constants';
35
+ import type { TicketPriority } from './types';
36
+
37
+ /** HTML flex is row by default; Yoga defaults to column. Preserve the source
38
+ * class recipe and add only that platform layout equivalent. */
39
+ function rowClass(className?: string) {
40
+ return className &&
41
+ /(?:^|\s)(?:inline-)?flex(?:\s|$)/.test(className) &&
42
+ !/(?:^|\s)flex-col(?:\s|$)/.test(className)
43
+ ? cx(className, 'flex-row')
44
+ : className;
45
+ }
46
+ function textChildren(children: ReactNode) {
47
+ return Children.map(children, (child) =>
48
+ typeof child === 'string' || typeof child === 'number' ? (
49
+ <BloomText className="text-body-medium text-text-primary">
50
+ {child}
51
+ </BloomText>
52
+ ) : (
53
+ child
54
+ ),
55
+ );
56
+ }
57
+ export function SourceView({
58
+ className,
59
+ children,
60
+ ...props
61
+ }: ViewProps & { ref?: Ref<NativeView> }) {
62
+ return (
63
+ <StyledView {...props} className={rowClass(className)}>
64
+ {textChildren(children)}
65
+ </StyledView>
66
+ );
67
+ }
68
+ export function SourceText(props: TextProps) {
69
+ return <BloomText {...props} />;
70
+ }
71
+ export function SourcePressable({
72
+ className,
73
+ children,
74
+ ...props
75
+ }: StyledPressableProps & {
76
+ href?: string;
77
+ target?: string;
78
+ rel?: string;
79
+ dataSet?: Record<string, string>;
80
+ }) {
81
+ return (
82
+ <StyledPressable {...props} className={rowClass(className)}>
83
+ {typeof children === 'function' ? children : textChildren(children)}
84
+ </StyledPressable>
85
+ );
86
+ }
87
+ export function SourceAvatar({
88
+ className,
89
+ ...props
90
+ }: AvatarProps & { className?: string }) {
91
+ const explicitSize = className?.match(/size-\[(\d+)px\]/)?.[1];
92
+ return (
93
+ <SourceView className={className}>
94
+ <BloomAvatar
95
+ {...props}
96
+ size={explicitSize ? Number(explicitSize) : props.size}
97
+ />
98
+ </SourceView>
99
+ );
100
+ }
101
+ export function SourceChip({ className, ...props }: ChipProps) {
102
+ return (
103
+ <BloomChip
104
+ {...props}
105
+ className={cx(
106
+ className &&
107
+ /(?:^|\s)text-(?:body|caption|title|headline|display|large-title)[\w-]*/.test(
108
+ className,
109
+ )
110
+ ? CHIP_BASE.replace(' text-body-medium', '')
111
+ : CHIP_BASE,
112
+ className,
113
+ )}
114
+ />
115
+ );
116
+ }
117
+ export function PriorityChip({
118
+ priority,
119
+ className,
120
+ }: {
121
+ priority: TicketPriority;
122
+ className?: string;
123
+ }) {
124
+ return (
125
+ <SourceChip className={cx(PRIORITY_STYLES[priority], className)}>
126
+ {priority}
127
+ </SourceChip>
128
+ );
129
+ }
130
+ /** Bloom's SVG icon components already read a styled colour; wrap at module
131
+ * scope so the original icon utility classes resolve on both platforms. */
132
+ function icon(
133
+ Icon: ComponentType<IconProps>,
134
+ ): ComponentType<IconProps & { className?: string }> {
135
+ return styled(Icon, { className: 'style' });
136
+ }
137
+ export const RiAddLine = icon(BaseRiAddLine);
138
+ export const RiAddFill = icon(BaseRiAddFill);
139
+ export const RiArrowRightSLine = icon(BaseRiArrowRightSLine);
140
+ export const RiFolder6Line = icon(BaseRiFolder6Line);
141
+ export const RiMoreLine = icon(SourceMore);
142
+ export const RiMore2Fill = icon(BaseRiMore2Fill);
143
+ export const RiMenuLine = icon(BaseRiMenuLine);
144
+ export const RiInbox2Line = icon(BaseRiInbox2Line);
145
+ export const RiKanbanView2 = icon(BaseRiKanbanView2);
146
+ export const RiCheckLine = icon(BaseRiCheckLine);
147
+ export const RiEqualizerLine = icon(BaseRiEqualizerLine);
148
+ export const RiSideBarLine = icon(BaseRiSideBarLine);
149
+ export const RiSortDesc = icon(BaseRiSortDesc);
150
+ export const RiArrowUpLine = icon(BaseRiArrowUpLine);
151
+ export const RiLinkM = icon(BaseRiLinkM);
152
+ export const RiFileCopyLine = icon(BaseRiFileCopyLine);
153
+ export const RiRestartLine = icon(SourceRestart);
154
+ export const RiCheckboxCircleLine = icon(BaseRiCheckboxCircleLine);
155
+ export const RiEditLine = icon(BaseRiEditLine);
@@ -0,0 +1,401 @@
1
+ import { useEffect, useRef, type ReactNode } from 'react';
2
+ import { useReducedMotion } from 'react-native-reanimated';
3
+ import { useDialogContext } from '../dialog/context';
4
+ import { adoptStyleSheet } from '../styles/adopt-style-sheet';
5
+ const styles = {
6
+ 'animate-chart-reveal': 'bloom-ticket-detail-animate-chart-reveal',
7
+ band: 'bloom-ticket-detail-band',
8
+ bands: 'bloom-ticket-detail-bands',
9
+ genie: 'bloom-ticket-detail-genie',
10
+ panel: 'bloom-ticket-detail-panel',
11
+ shadow: 'bloom-ticket-detail-shadow',
12
+ surface: 'bloom-ticket-detail-surface',
13
+ };
14
+ const CSS =
15
+ '/* React Aria keeps the panel mounted for the shared Genie timeline.\n * Its pixels bend into the bottom-right dock; the shell never slides. */\n.bloom-ticket-detail-panel[data-entering], .bloom-ticket-detail-panel[data-exiting] { animation: bloom-ticket-detail-detail-presence 560ms linear both; }\n.bloom-ticket-detail-panel[data-exiting] { pointer-events: none; }\n@keyframes bloom-ticket-detail-detail-presence {\n from { opacity: 0.9999; }\n to { opacity: 1; }\n}\n.bloom-ticket-detail-genie, .bloom-ticket-detail-surface { position: relative; height: 100%; min-height: 0; }\n.bloom-ticket-detail-genie { isolation: isolate; }\n/* Start the chart\'s own drawing animation only after the visual bands hand\n * back to the live panel, so it never flashes a completed copy first. */\n.bloom-ticket-detail-genie:not([data-entered="true"]) :global(.bloom-ticket-detail-animate-chart-reveal) {\n animation: none;\n clip-path: inset(0 100% 0 0);\n}\n/* Skip the barely visible lead-in while retaining the clean Genie handoff. */\n.bloom-ticket-detail-surface :global(.bloom-ticket-detail-animate-chart-reveal) { animation-delay: -150ms; }\n.bloom-ticket-detail-shadow {\n position: absolute;\n inset: 0;\n border-radius: 24px;\n pointer-events: none;\n transform-origin: right bottom;\n box-shadow: -10px 0 34px rgb(0 0 0 / 0.05), -10px 0 250px rgb(0 0 0 / 0.25);\n}\n.bloom-ticket-detail-bands { position: absolute; inset: 0; pointer-events: none; opacity: 0; }\n.bloom-ticket-detail-band {\n position: absolute;\n top: 0;\n left: 0;\n overflow: hidden;\n contain: strict;\n transform-origin: 0 0;\n will-change: transform;\n backface-visibility: hidden;\n}\n@media (prefers-reduced-motion: reduce) {\n .bloom-ticket-detail-panel[data-entering], .bloom-ticket-detail-panel[data-exiting] { animation: none; }\n}\n';
16
+
17
+ const DURATION = 480;
18
+ const FRAMES = 32;
19
+ const smooth = (value: number) => {
20
+ const t = Math.min(1, Math.max(0, value));
21
+ return t * t * (3 - 2 * t);
22
+ };
23
+ const phase = (start: number, end: number, value: number) =>
24
+ smooth((value - start) / (end - start));
25
+
26
+ /** Map a rectangular band to a trapezoid. Adjacent bands share their exact
27
+ * edges, producing a curved funnel using compositor-only transforms. */
28
+ function bandTransform(
29
+ width: number,
30
+ height: number,
31
+ top: number,
32
+ bottom: number,
33
+ dockX: number,
34
+ dockY: number,
35
+ progress: number,
36
+ ) {
37
+ const neck = phase(0, 0.72, progress);
38
+ const swallow = phase(0.32, 1, progress);
39
+ const extension = dockY * phase(0, 0.42, progress);
40
+ const scaleX = 1 - 0.88 * swallow;
41
+ const scaleY = Math.max(
42
+ 0.001,
43
+ ((height + extension) * (1 - swallow)) / height,
44
+ );
45
+ const right = width + dockX * phase(0, 0.72, progress);
46
+ const section = (y: number) => {
47
+ const bend = neck * (y / height) ** 3;
48
+ return {
49
+ left: right - width * scaleX + width * scaleX * 0.92 * bend,
50
+ right: right - width * scaleX * 0.03 * bend,
51
+ y: height * (1 - scaleY) + extension + y * scaleY,
52
+ };
53
+ };
54
+ const a = section(top);
55
+ const b = section(bottom);
56
+ const bandHeight = bottom - top;
57
+ const topWidth = a.right - a.left;
58
+ const ratio = topWidth / (b.right - b.left);
59
+ return `matrix3d(${topWidth / width},0,0,0,${(b.left * ratio - a.left) / bandHeight},${(b.y * ratio - a.y) / bandHeight},0,${(ratio - 1) / bandHeight},0,0,1,0,${a.left},${a.y},0,1)`;
60
+ }
61
+
62
+ /** Match complete IDs, so a reference ending in -10 never matches -1. */
63
+ function rebaseIds(copy: HTMLElement, prefix: string) {
64
+ const elements = [
65
+ copy,
66
+ ...Array.from(copy.querySelectorAll<HTMLElement>('*')),
67
+ ];
68
+ const ids = new Map<string, string>();
69
+ elements.forEach((element) => {
70
+ if (element.id) {
71
+ const id = `${prefix}-${ids.size}`;
72
+ ids.set(element.id, id);
73
+ element.id = id;
74
+ }
75
+ });
76
+ elements.forEach((element) => {
77
+ for (const attribute of Array.from(element.attributes)) {
78
+ if (attribute.name === 'id') continue;
79
+ let value = attribute.value.replace(
80
+ /url\((["']?)#([^"')]+)\1\)/g,
81
+ (reference, _quote, id: string) =>
82
+ ids.has(id) ? `url(#${ids.get(id)})` : reference,
83
+ );
84
+ if (value.startsWith('#') && ids.has(value.slice(1)))
85
+ value = `#${ids.get(value.slice(1))}`;
86
+ if (value !== attribute.value)
87
+ element.setAttribute(attribute.name, value);
88
+ }
89
+ });
90
+ }
91
+
92
+ /** Paint the chart once, before slicing. Chromium can cull SVG strokes and
93
+ * gradient fills differently in each perspective-transformed clipping band.
94
+ * A shared bitmap keeps every band on the same paint, at device resolution. */
95
+ async function snapshotCharts(source: HTMLDivElement, copy: HTMLDivElement) {
96
+ const charts = source.querySelectorAll<SVGSVGElement>('svg.recharts-surface');
97
+ const copies = copy.querySelectorAll<SVGSVGElement>('svg.recharts-surface');
98
+ await Promise.allSettled(
99
+ Array.from(charts, async (chart, index) => {
100
+ const { width, height } = chart.getBoundingClientRect();
101
+ if (!width || !height) return;
102
+ const svg = chart.cloneNode(true) as SVGSVGElement;
103
+ const originals = [
104
+ chart,
105
+ ...Array.from(chart.querySelectorAll<SVGElement>('*')),
106
+ ];
107
+ const elements = [
108
+ svg,
109
+ ...Array.from(svg.querySelectorAll<SVGElement>('*')),
110
+ ];
111
+ const paint = [
112
+ 'fill',
113
+ 'fill-opacity',
114
+ 'stroke',
115
+ 'stroke-opacity',
116
+ 'stroke-width',
117
+ 'stroke-dasharray',
118
+ 'stroke-dashoffset',
119
+ 'stroke-linecap',
120
+ 'stroke-linejoin',
121
+ 'opacity',
122
+ 'stop-color',
123
+ 'stop-opacity',
124
+ 'clip-path',
125
+ 'visibility',
126
+ ];
127
+ elements.forEach((element, elementIndex) => {
128
+ const computed = getComputedStyle(originals[elementIndex]!);
129
+ for (const property of paint) {
130
+ // Resolve theme variables and make document-local paint references
131
+ // local to the standalone SVG image too.
132
+ const value = computed
133
+ .getPropertyValue(property)
134
+ .replace(/url\(["']?[^#)]*#([^"')]+)["']?\)/g, 'url(#$1)');
135
+ element.style.setProperty(property, value);
136
+ }
137
+ });
138
+ svg.setAttribute('xmlns', 'http://www.w3.org/2000/svg');
139
+ svg.setAttribute('width', String(width));
140
+ svg.setAttribute('height', String(height));
141
+ svg.style.width = `${width}px`;
142
+ svg.style.height = `${height}px`;
143
+ const image = new Image();
144
+ image.src = `data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(svg))}`;
145
+ await image.decode();
146
+ const canvas = document.createElement('canvas');
147
+ const ratio = window.devicePixelRatio || 1;
148
+ canvas.width = Math.ceil(width * ratio);
149
+ canvas.height = Math.ceil(height * ratio);
150
+ const context = canvas.getContext('2d');
151
+ if (!context) return;
152
+ context.drawImage(image, 0, 0, canvas.width, canvas.height);
153
+ const bitmap = new Image();
154
+ bitmap.alt = '';
155
+ bitmap.style.cssText = `display:block;width:${width}px;height:${height}px;max-width:none`;
156
+ bitmap.src = canvas.toDataURL();
157
+ await bitmap.decode();
158
+ copies[index]?.replaceWith(bitmap);
159
+ }),
160
+ );
161
+ }
162
+
163
+ /** Private visual copy: never duplicate live React controls or accessible IDs. */
164
+ function copySurface(source: HTMLDivElement, prefix: string) {
165
+ const copy = source.cloneNode(true) as HTMLDivElement;
166
+ rebaseIds(copy, prefix);
167
+ const originals = [
168
+ source,
169
+ ...Array.from(source.querySelectorAll<HTMLElement>('*')),
170
+ ];
171
+ const elements = [
172
+ copy,
173
+ ...Array.from(copy.querySelectorAll<HTMLElement>('*')),
174
+ ];
175
+ elements.forEach((element, index) => {
176
+ // Freeze nested chart reveals and progressive backdrop filters while the
177
+ // browser paints each clipped band once. No filters animate on these bands.
178
+ element.style.animation = 'none';
179
+ element.style.transition = 'none';
180
+ element.style.backdropFilter = 'none';
181
+ if (originals[index]!.classList.contains('animate-chart-reveal')) {
182
+ element.style.clipPath = getComputedStyle(originals[index]!).clipPath;
183
+ }
184
+ // Cloning preserves the DOM but not an internal scroll position.
185
+ if (originals[index]!.scrollTop)
186
+ element.dataset.genieScroll = String(originals[index]!.scrollTop);
187
+ });
188
+ copy.style.opacity = '1';
189
+ copy.style.transform = 'none';
190
+ copy.style.filter = 'none';
191
+ return copy;
192
+ }
193
+
194
+ /** Tall panels use cached bands instead of re-running a full-height SVG
195
+ * displacement + blur pass each frame. Only transform and opacity animate. */
196
+ export function TicketCornerGenieSurface({
197
+ children,
198
+ }: {
199
+ children: ReactNode;
200
+ }) {
201
+ const { isClosing: exiting = false } = useDialogContext();
202
+ adoptStyleSheet('bloom-ticket-detail', CSS);
203
+ const rootRef = useRef<HTMLDivElement>(null);
204
+ const surfaceRef = useRef<HTMLDivElement>(null);
205
+ const bandsRef = useRef<HTMLDivElement>(null);
206
+ const shadowRef = useRef<HTMLDivElement>(null);
207
+ const progressRef = useRef(1);
208
+ const reducedMotion = useReducedMotion();
209
+
210
+ useEffect(() => {
211
+ const root = rootRef.current;
212
+ const surface = surfaceRef.current;
213
+ const bands = bandsRef.current;
214
+ const shadow = shadowRef.current;
215
+ if (!root || !surface || !bands || !shadow) return;
216
+ if (reducedMotion) {
217
+ root.dataset.entered = 'true';
218
+ surface.style.opacity = '1';
219
+ shadow.style.opacity = '1';
220
+ bands.replaceChildren();
221
+ progressRef.current = 0;
222
+ return;
223
+ }
224
+
225
+ let cancelled = false;
226
+ let frame = 0;
227
+ let clock: Animation | undefined;
228
+ const animations: Animation[] = [];
229
+ const from = progressRef.current;
230
+ const to = exiting ? 1 : 0;
231
+ const start = async () => {
232
+ if (cancelled) return;
233
+ const width = surface.offsetWidth;
234
+ const height = surface.offsetHeight;
235
+ const bounds = root.getBoundingClientRect();
236
+ const dockX = Math.max(0, window.innerWidth - bounds.right) + 24;
237
+ const dockY = Math.max(0, window.innerHeight - bounds.bottom) + 24;
238
+ const count = Math.min(36, Math.max(16, Math.ceil(height / 32)));
239
+ const fragment = document.createDocumentFragment();
240
+ const slices: { element: HTMLDivElement; top: number; bottom: number }[] =
241
+ [];
242
+ const template = copySurface(surface, `genie-${crypto.randomUUID()}`);
243
+ if (root.dataset.entered === 'true') {
244
+ await snapshotCharts(surface, template);
245
+ } else {
246
+ // The entrance reveals the live chart after the handoff. Capturing an
247
+ // invisible plot adds SVG serialization, PNG encoding, and two decodes
248
+ // to the cold opening path without contributing any visible pixels.
249
+ template
250
+ .querySelectorAll('svg.recharts-surface')
251
+ .forEach((chart) => chart.remove());
252
+ }
253
+ if (cancelled) return;
254
+ for (let index = 0; index < count; index++) {
255
+ const top = (height * index) / count;
256
+ // Subpixel overlap prevents hairline seams at fractional browser zoom.
257
+ const bottom = Math.min(height, (height * (index + 1)) / count + 0.5);
258
+ const element = document.createElement('div');
259
+ element.className = styles.band;
260
+ element.style.width = `${width}px`;
261
+ element.style.height = `${bottom - top}px`;
262
+ element.style.transform = bandTransform(
263
+ width,
264
+ height,
265
+ top,
266
+ bottom,
267
+ dockX,
268
+ dockY,
269
+ 0,
270
+ );
271
+ const copy = template.cloneNode(true) as HTMLDivElement;
272
+ // Definitions in each slice need unique IDs (e.g. chart gradients).
273
+ rebaseIds(copy, `genie-band-${index}-${crypto.randomUUID()}`);
274
+ Object.assign(copy.style, {
275
+ position: 'absolute',
276
+ width: `${width}px`,
277
+ height: `${height}px`,
278
+ top: `${-top}px`,
279
+ left: '0',
280
+ });
281
+ element.append(copy);
282
+ fragment.append(element);
283
+ slices.push({ element, top, bottom });
284
+ }
285
+ bands.replaceChildren(fragment);
286
+ bands
287
+ .querySelectorAll<HTMLElement>('[data-genie-scroll]')
288
+ .forEach((element) => {
289
+ element.scrollTop = Number(element.dataset.genieScroll);
290
+ });
291
+ if (!exiting) {
292
+ // Paint at the final resolution before shrinking to the dock. Starting
293
+ // cold at a near-zero scale makes Chromium rasterize growing layers
294
+ // during the entrance; closing already has full-size painted content.
295
+ // A nonzero, imperceptible opacity prevents paint culling. Two frames
296
+ // give the compositor one complete paint before starting the timeline.
297
+ bands.style.opacity = '0.001';
298
+ await new Promise<void>((resolve) => {
299
+ frame = requestAnimationFrame(() => {
300
+ frame = requestAnimationFrame(() => resolve());
301
+ });
302
+ });
303
+ if (cancelled) return;
304
+ }
305
+ surface.style.opacity = '0';
306
+ bands.style.opacity = '1';
307
+ const progress = Array.from(
308
+ { length: FRAMES + 1 },
309
+ (_, index) => from + (to - from) * smooth(index / FRAMES),
310
+ );
311
+ for (const { element, top, bottom } of slices) {
312
+ animations.push(
313
+ element.animate(
314
+ progress.map((value) => ({
315
+ transform: bandTransform(
316
+ width,
317
+ height,
318
+ top,
319
+ bottom,
320
+ dockX,
321
+ dockY,
322
+ value,
323
+ ),
324
+ })),
325
+ { duration: DURATION, fill: 'both', easing: 'linear' },
326
+ ),
327
+ );
328
+ }
329
+ clock = bands.animate(
330
+ progress.map((value) => ({ opacity: 1 - phase(0.94, 1, value) })),
331
+ { duration: DURATION, fill: 'both', easing: 'linear' },
332
+ );
333
+ animations.push(clock);
334
+ animations.push(
335
+ shadow.animate(
336
+ progress.map((value) => ({
337
+ transform: `translate(${dockX * phase(0, 0.72, value)}px, ${dockY * phase(0, 0.42, value)}px) scale(${1 - phase(0, 0.72, value) * 0.65}, ${1 - phase(0.32, 1, value) * 0.9})`,
338
+ opacity: 1 - phase(0.08, 0.72, value),
339
+ })),
340
+ { duration: DURATION, fill: 'both', easing: 'linear' },
341
+ ),
342
+ );
343
+ void clock.finished
344
+ .then(() => {
345
+ if (cancelled) return;
346
+ progressRef.current = to;
347
+ if (!exiting) {
348
+ root.dataset.entered = 'true';
349
+ surface.style.opacity = '1';
350
+ shadow.style.opacity = '1';
351
+ shadow.style.transform = 'none';
352
+ bands.style.opacity = '0';
353
+ bands.replaceChildren();
354
+ animations.forEach((animation) => animation.cancel());
355
+ }
356
+ })
357
+ .catch(() => {
358
+ /* Interrupted transitions reverse from their current shape. */
359
+ });
360
+ };
361
+ // Let the panel obtain its first layout before preparing the visual bands.
362
+ if (exiting) start();
363
+ else
364
+ frame = requestAnimationFrame(() => {
365
+ frame = requestAnimationFrame(start);
366
+ });
367
+ return () => {
368
+ cancelled = true;
369
+ cancelAnimationFrame(frame);
370
+ if (
371
+ clock &&
372
+ (clock.playState === 'running' || clock.playState === 'paused')
373
+ ) {
374
+ progressRef.current =
375
+ from +
376
+ (to - from) * smooth(Number(clock.currentTime ?? 0) / DURATION);
377
+ }
378
+ animations.forEach((animation) => animation.cancel());
379
+ bands.replaceChildren();
380
+ };
381
+ }, [exiting, reducedMotion]);
382
+
383
+ return (
384
+ <div ref={rootRef} className={styles.genie}>
385
+ <div
386
+ ref={shadowRef}
387
+ aria-hidden
388
+ className={styles.shadow}
389
+ style={{ opacity: reducedMotion ? 1 : 0 }}
390
+ />
391
+ <div
392
+ ref={surfaceRef}
393
+ className={styles.surface}
394
+ style={{ opacity: reducedMotion ? 1 : 0 }}
395
+ >
396
+ {children}
397
+ </div>
398
+ <div ref={bandsRef} aria-hidden inert className={styles.bands} />
399
+ </div>
400
+ );
401
+ }