@arbidocs/blocks 0.3.185 → 0.4.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 (598) hide show
  1. package/README.md +100 -0
  2. package/dist/agents/approvals/AuthorizeAgentParts.d.ts +79 -0
  3. package/dist/agents/approvals/ConsentPage.d.ts +76 -0
  4. package/dist/agents/approvals/ConsentParts.d.ts +37 -0
  5. package/dist/agents/approvals/index.d.ts +3 -0
  6. package/dist/agents/config/ConfigField.d.ts +43 -0
  7. package/dist/agents/config/ConfigForm.d.ts +35 -0
  8. package/dist/agents/config/TupleArrayField.d.ts +32 -0
  9. package/dist/agents/config/index.d.ts +4 -0
  10. package/dist/agents/config/schema-utils.d.ts +28 -0
  11. package/dist/agents/definitions/AgentCard.d.ts +63 -0
  12. package/dist/agents/definitions/AgentCreator.d.ts +118 -0
  13. package/dist/agents/definitions/AgentEditorParts.d.ts +63 -0
  14. package/dist/agents/definitions/AgentGallery.d.ts +29 -0
  15. package/dist/agents/definitions/index.d.ts +4 -0
  16. package/dist/agents/index.cjs +595 -0
  17. package/dist/agents/index.cjs.map +1 -0
  18. package/dist/agents/index.d.ts +7 -0
  19. package/dist/agents/index.js +14 -0
  20. package/dist/agents/index.js.map +1 -0
  21. package/dist/agents/runs/AgentBar.d.ts +103 -0
  22. package/dist/agents/runs/AgentSteps.d.ts +157 -0
  23. package/dist/agents/runs/SubagentRoster.d.ts +37 -0
  24. package/dist/agents/runs/index.d.ts +3 -0
  25. package/dist/agents/skills/SkillBrowserParts.d.ts +70 -0
  26. package/dist/agents/skills/SkillCard.d.ts +48 -0
  27. package/dist/agents/skills/SkillForms.d.ts +64 -0
  28. package/dist/agents/skills/SkillParts.d.ts +31 -0
  29. package/dist/agents/skills/SkillRow.d.ts +34 -0
  30. package/dist/agents/skills/index.d.ts +5 -0
  31. package/dist/agents/tasks/LiveRunsBanner.d.ts +26 -0
  32. package/dist/agents/tasks/RecurrenceBuilder.d.ts +36 -0
  33. package/dist/agents/tasks/TaskComposer.d.ts +108 -0
  34. package/dist/agents/tasks/TaskPlan.d.ts +78 -0
  35. package/dist/agents/tasks/TaskRowActions.d.ts +43 -0
  36. package/dist/agents/tasks/TaskRunsDialog.d.ts +45 -0
  37. package/dist/agents/tasks/TasksChrome.d.ts +36 -0
  38. package/dist/agents/tasks/UploadTaskItem.d.ts +39 -0
  39. package/dist/agents/tasks/UploadTaskList.d.ts +35 -0
  40. package/dist/agents/tasks/elapsed.d.ts +2 -0
  41. package/dist/agents/tasks/index.d.ts +13 -0
  42. package/dist/agents/tasks/rrule.d.ts +36 -0
  43. package/dist/agents/tasks/taskColumns.d.ts +68 -0
  44. package/dist/agents/tasks/taskLabels.d.ts +26 -0
  45. package/dist/agents/workflows/AgentSelect.d.ts +33 -0
  46. package/dist/agents/workflows/SchemaForm.d.ts +37 -0
  47. package/dist/agents/workflows/WorkflowConfigDialog.d.ts +73 -0
  48. package/dist/agents/workflows/WorkflowLauncher.d.ts +38 -0
  49. package/dist/agents/workflows/index.d.ts +6 -0
  50. package/dist/agents/workflows/types.d.ts +125 -0
  51. package/dist/agents/workflows/workflow.d.ts +62 -0
  52. package/dist/auth/AuthFooter.d.ts +56 -0
  53. package/dist/auth/AuthForm.d.ts +105 -0
  54. package/dist/auth/AuthLayout.d.ts +46 -0
  55. package/dist/auth/PasswordStrengthInput.d.ts +44 -0
  56. package/dist/auth/RecoveryDialogs.d.ts +90 -0
  57. package/dist/auth/SsoLoginButton.d.ts +19 -0
  58. package/dist/auth/index.cjs +123 -0
  59. package/dist/auth/index.cjs.map +1 -0
  60. package/dist/auth/index.d.ts +6 -0
  61. package/dist/auth/index.js +6 -0
  62. package/dist/auth/index.js.map +1 -0
  63. package/dist/builder/AgentsPanel.d.ts +9 -0
  64. package/dist/builder/ModuleManager.d.ts +6 -0
  65. package/dist/builder/VerticalBuilder.d.ts +32 -0
  66. package/dist/builder/agents/store.d.ts +21 -0
  67. package/dist/builder/export.d.ts +30 -0
  68. package/dist/builder/modules/registry.d.ts +11 -0
  69. package/dist/builder/modules/store.d.ts +29 -0
  70. package/dist/builder/modules/types.d.ts +29 -0
  71. package/dist/builder/types.d.ts +28 -0
  72. package/dist/chat/BranchControls.d.ts +33 -0
  73. package/dist/chat/Composer.d.ts +156 -0
  74. package/dist/chat/ContextChip.d.ts +19 -0
  75. package/dist/chat/ContextPanel.d.ts +108 -0
  76. package/dist/chat/ConversationEmpty.d.ts +53 -0
  77. package/dist/chat/ConversationLayout.d.ts +40 -0
  78. package/dist/chat/ConversationParts.d.ts +62 -0
  79. package/dist/chat/ConversationSearchView.d.ts +57 -0
  80. package/dist/chat/LabelPinRow.d.ts +30 -0
  81. package/dist/chat/Message.d.ts +189 -0
  82. package/dist/chat/MessageAlert.d.ts +25 -0
  83. package/dist/chat/MessageList.d.ts +102 -0
  84. package/dist/chat/ModelPicker.d.ts +103 -0
  85. package/dist/chat/PendingAnswerBar.d.ts +36 -0
  86. package/dist/chat/PinnedDocChip.d.ts +22 -0
  87. package/dist/chat/SlashMenu.d.ts +57 -0
  88. package/dist/chat/ThreadMap.d.ts +45 -0
  89. package/dist/chat/index.cjs +423 -0
  90. package/dist/chat/index.cjs.map +1 -0
  91. package/dist/chat/index.d.ts +21 -0
  92. package/dist/chat/index.js +6 -0
  93. package/dist/chat/index.js.map +1 -0
  94. package/dist/chat/test-id.d.ts +16 -0
  95. package/dist/chat/useStreamAnnouncement.d.ts +19 -0
  96. package/dist/chunk-223D4727.cjs +50 -0
  97. package/dist/chunk-223D4727.cjs.map +1 -0
  98. package/dist/chunk-4EZVCGRL.js +803 -0
  99. package/dist/chunk-4EZVCGRL.js.map +1 -0
  100. package/dist/chunk-54Q3RNJU.cjs +516 -0
  101. package/dist/chunk-54Q3RNJU.cjs.map +1 -0
  102. package/dist/chunk-5B4PXAKI.cjs +287 -0
  103. package/dist/chunk-5B4PXAKI.cjs.map +1 -0
  104. package/dist/chunk-5TYEJOXY.js +1762 -0
  105. package/dist/chunk-5TYEJOXY.js.map +1 -0
  106. package/dist/chunk-6ALISABK.cjs +677 -0
  107. package/dist/chunk-6ALISABK.cjs.map +1 -0
  108. package/dist/chunk-6HIPFEID.cjs +574 -0
  109. package/dist/chunk-6HIPFEID.cjs.map +1 -0
  110. package/dist/chunk-76JDDMSP.js +31 -0
  111. package/dist/chunk-76JDDMSP.js.map +1 -0
  112. package/dist/chunk-7F6CBP3Z.js +12 -0
  113. package/dist/chunk-7F6CBP3Z.js.map +1 -0
  114. package/dist/chunk-7G2LJMUG.cjs +45 -0
  115. package/dist/chunk-7G2LJMUG.cjs.map +1 -0
  116. package/dist/chunk-7G3JNSJB.cjs +1809 -0
  117. package/dist/chunk-7G3JNSJB.cjs.map +1 -0
  118. package/dist/chunk-A2YAC22G.js +93 -0
  119. package/dist/chunk-A2YAC22G.js.map +1 -0
  120. package/dist/chunk-ADOKTJHV.cjs +262 -0
  121. package/dist/chunk-ADOKTJHV.cjs.map +1 -0
  122. package/dist/chunk-AXIZ2MDV.js +751 -0
  123. package/dist/chunk-AXIZ2MDV.js.map +1 -0
  124. package/dist/chunk-AZQDNYH4.js +2865 -0
  125. package/dist/chunk-AZQDNYH4.js.map +1 -0
  126. package/dist/chunk-C54XEN5T.cjs +34 -0
  127. package/dist/chunk-C54XEN5T.cjs.map +1 -0
  128. package/dist/chunk-CQCC7LE7.js +210 -0
  129. package/dist/chunk-CQCC7LE7.js.map +1 -0
  130. package/dist/chunk-CRIKTUEU.cjs +47 -0
  131. package/dist/chunk-CRIKTUEU.cjs.map +1 -0
  132. package/dist/chunk-CTZ5745I.js +564 -0
  133. package/dist/chunk-CTZ5745I.js.map +1 -0
  134. package/dist/chunk-DPLRHEJZ.js +78 -0
  135. package/dist/chunk-DPLRHEJZ.js.map +1 -0
  136. package/dist/chunk-DVLEQURC.js +672 -0
  137. package/dist/chunk-DVLEQURC.js.map +1 -0
  138. package/dist/chunk-ELR74ME6.cjs +68 -0
  139. package/dist/chunk-ELR74ME6.cjs.map +1 -0
  140. package/dist/{chunk-DBAUZD7A.cjs → chunk-FZQJ2S6P.cjs} +244 -1123
  141. package/dist/chunk-FZQJ2S6P.cjs.map +1 -0
  142. package/dist/chunk-G3G7LZPM.cjs +205 -0
  143. package/dist/chunk-G3G7LZPM.cjs.map +1 -0
  144. package/dist/chunk-GDFWJ73C.cjs +2973 -0
  145. package/dist/chunk-GDFWJ73C.cjs.map +1 -0
  146. package/dist/chunk-ITGHMJOM.js +5528 -0
  147. package/dist/chunk-ITGHMJOM.js.map +1 -0
  148. package/dist/chunk-K4BGOPGG.js +79 -0
  149. package/dist/chunk-K4BGOPGG.js.map +1 -0
  150. package/dist/chunk-KUA3BCT2.cjs +272 -0
  151. package/dist/chunk-KUA3BCT2.cjs.map +1 -0
  152. package/dist/chunk-LGBAZD37.js +341 -0
  153. package/dist/chunk-LGBAZD37.js.map +1 -0
  154. package/dist/chunk-MHVNT4J3.cjs +15 -0
  155. package/dist/chunk-MHVNT4J3.cjs.map +1 -0
  156. package/dist/chunk-MMYCZRKT.cjs +168 -0
  157. package/dist/chunk-MMYCZRKT.cjs.map +1 -0
  158. package/dist/chunk-NBV56SGU.js +42 -0
  159. package/dist/chunk-NBV56SGU.js.map +1 -0
  160. package/dist/chunk-NPLYHR2E.js +13 -0
  161. package/dist/chunk-NPLYHR2E.js.map +1 -0
  162. package/dist/chunk-NUNKSZKU.js +203 -0
  163. package/dist/chunk-NUNKSZKU.js.map +1 -0
  164. package/dist/chunk-OB5F4577.cjs +40 -0
  165. package/dist/chunk-OB5F4577.cjs.map +1 -0
  166. package/dist/chunk-OUW6G4O2.cjs +96 -0
  167. package/dist/chunk-OUW6G4O2.cjs.map +1 -0
  168. package/dist/chunk-OVEQERPO.js +66 -0
  169. package/dist/chunk-OVEQERPO.js.map +1 -0
  170. package/dist/chunk-P6GHJSLR.js +34 -0
  171. package/dist/chunk-P6GHJSLR.js.map +1 -0
  172. package/dist/chunk-PCB2BPN3.cjs +41 -0
  173. package/dist/chunk-PCB2BPN3.cjs.map +1 -0
  174. package/dist/chunk-PPCATBOY.cjs +15 -0
  175. package/dist/chunk-PPCATBOY.cjs.map +1 -0
  176. package/dist/chunk-QN42OA5J.js +887 -0
  177. package/dist/chunk-QN42OA5J.js.map +1 -0
  178. package/dist/{chunk-FZ2S6VAZ.js → chunk-RBXZYNVB.js} +223 -1102
  179. package/dist/chunk-RBXZYNVB.js.map +1 -0
  180. package/dist/chunk-RC6VTY2H.js +47 -0
  181. package/dist/chunk-RC6VTY2H.js.map +1 -0
  182. package/dist/chunk-RFIBUWLF.cjs +232 -0
  183. package/dist/chunk-RFIBUWLF.cjs.map +1 -0
  184. package/dist/chunk-S5T7ZTX2.js +266 -0
  185. package/dist/chunk-S5T7ZTX2.js.map +1 -0
  186. package/dist/chunk-S7PSMMRG.js +38 -0
  187. package/dist/chunk-S7PSMMRG.js.map +1 -0
  188. package/dist/chunk-SCFYPAG6.cjs +18 -0
  189. package/dist/chunk-SCFYPAG6.cjs.map +1 -0
  190. package/dist/chunk-SYDHKKRZ.cjs +818 -0
  191. package/dist/chunk-SYDHKKRZ.cjs.map +1 -0
  192. package/dist/chunk-TX2ZICS7.js +139 -0
  193. package/dist/chunk-TX2ZICS7.js.map +1 -0
  194. package/dist/chunk-TYZUCAT7.js +787 -0
  195. package/dist/chunk-TYZUCAT7.js.map +1 -0
  196. package/dist/chunk-U2E3WT3J.js +45 -0
  197. package/dist/chunk-U2E3WT3J.js.map +1 -0
  198. package/dist/chunk-UBNVIIBT.js +284 -0
  199. package/dist/chunk-UBNVIIBT.js.map +1 -0
  200. package/dist/chunk-UFHMLHIR.cjs +66 -0
  201. package/dist/chunk-UFHMLHIR.cjs.map +1 -0
  202. package/dist/chunk-UJE32SST.js +39 -0
  203. package/dist/chunk-UJE32SST.js.map +1 -0
  204. package/dist/chunk-ULWRNGGE.cjs +146 -0
  205. package/dist/chunk-ULWRNGGE.cjs.map +1 -0
  206. package/dist/chunk-UTWX2X2A.js +165 -0
  207. package/dist/chunk-UTWX2X2A.js.map +1 -0
  208. package/dist/chunk-UWGIB3VQ.js +64 -0
  209. package/dist/chunk-UWGIB3VQ.js.map +1 -0
  210. package/dist/chunk-V4ISCZJ7.cjs +207 -0
  211. package/dist/chunk-V4ISCZJ7.cjs.map +1 -0
  212. package/dist/chunk-VFUWWH52.cjs +83 -0
  213. package/dist/chunk-VFUWWH52.cjs.map +1 -0
  214. package/dist/chunk-VILAPTCB.js +259 -0
  215. package/dist/chunk-VILAPTCB.js.map +1 -0
  216. package/dist/chunk-VLCY46K6.cjs +82 -0
  217. package/dist/chunk-VLCY46K6.cjs.map +1 -0
  218. package/dist/chunk-VPPX5XUF.cjs +813 -0
  219. package/dist/chunk-VPPX5XUF.cjs.map +1 -0
  220. package/dist/chunk-WJMEXTVD.cjs +122 -0
  221. package/dist/chunk-WJMEXTVD.cjs.map +1 -0
  222. package/dist/chunk-WTNMWEBC.js +504 -0
  223. package/dist/chunk-WTNMWEBC.js.map +1 -0
  224. package/dist/chunk-WW6EOVZA.js +112 -0
  225. package/dist/chunk-WW6EOVZA.js.map +1 -0
  226. package/dist/chunk-XNBAXRY7.cjs +5673 -0
  227. package/dist/chunk-XNBAXRY7.cjs.map +1 -0
  228. package/dist/chunk-XQ7PKKDY.cjs +787 -0
  229. package/dist/chunk-XQ7PKKDY.cjs.map +1 -0
  230. package/dist/chunk-XZIYRKLW.cjs +347 -0
  231. package/dist/chunk-XZIYRKLW.cjs.map +1 -0
  232. package/dist/chunk-YBXCZEWS.js +187 -0
  233. package/dist/chunk-YBXCZEWS.js.map +1 -0
  234. package/dist/chunk-YDHO4AVL.js +16 -0
  235. package/dist/chunk-YDHO4AVL.js.map +1 -0
  236. package/dist/chunk-ZORQ5M3W.cjs +934 -0
  237. package/dist/chunk-ZORQ5M3W.cjs.map +1 -0
  238. package/dist/chunk-ZW6FPIFC.cjs +36 -0
  239. package/dist/chunk-ZW6FPIFC.cjs.map +1 -0
  240. package/dist/citations/CitationEditor.d.ts +58 -0
  241. package/dist/citations/PassagePill.d.ts +49 -0
  242. package/dist/citations/QuietMarks.d.ts +81 -0
  243. package/dist/citations/index.cjs +47 -0
  244. package/dist/citations/index.cjs.map +1 -0
  245. package/dist/citations/index.d.ts +3 -0
  246. package/dist/citations/index.js +6 -0
  247. package/dist/citations/index.js.map +1 -0
  248. package/dist/collaboration/contacts/AddContactsParts.d.ts +46 -0
  249. package/dist/collaboration/contacts/index.d.ts +1 -0
  250. package/dist/collaboration/direct-messages/DirectMessages.d.ts +33 -0
  251. package/dist/collaboration/direct-messages/DmParts.d.ts +139 -0
  252. package/dist/collaboration/direct-messages/index.d.ts +2 -0
  253. package/dist/collaboration/index.cjs +141 -0
  254. package/dist/collaboration/index.cjs.map +1 -0
  255. package/dist/collaboration/index.d.ts +5 -0
  256. package/dist/collaboration/index.js +8 -0
  257. package/dist/collaboration/index.js.map +1 -0
  258. package/dist/collaboration/mail/MailFolderTree.d.ts +34 -0
  259. package/dist/collaboration/mail/index.d.ts +2 -0
  260. package/dist/collaboration/mail/mailFolders.d.ts +25 -0
  261. package/dist/collaboration/members/WorkspaceMembers.d.ts +74 -0
  262. package/dist/collaboration/members/index.d.ts +1 -0
  263. package/dist/collaboration/sharing/ShareControl.d.ts +38 -0
  264. package/dist/collaboration/sharing/index.d.ts +1 -0
  265. package/dist/components/Accordion.d.ts +12 -0
  266. package/dist/components/ActionLink.d.ts +18 -0
  267. package/dist/components/AskBar.d.ts +48 -0
  268. package/dist/components/AvatarBlock.d.ts +9 -0
  269. package/dist/components/Banner.d.ts +12 -0
  270. package/dist/components/BlockImage.d.ts +18 -0
  271. package/dist/components/CTABanner.d.ts +17 -0
  272. package/dist/components/Callout.d.ts +9 -0
  273. package/dist/components/Chart.d.ts +27 -0
  274. package/dist/components/CollectionDetail.d.ts +23 -0
  275. package/dist/components/Columns.d.ts +11 -0
  276. package/dist/components/ContactForm.d.ts +42 -0
  277. package/dist/components/Container.d.ts +11 -0
  278. package/dist/components/DataTable.d.ts +47 -0
  279. package/dist/components/DataTableBlock.d.ts +26 -0
  280. package/dist/components/EmptyState.d.ts +11 -0
  281. package/dist/components/EntityChip.d.ts +24 -0
  282. package/dist/components/EntityIdentityBar.d.ts +90 -0
  283. package/dist/components/EntityTooltip.d.ts +43 -0
  284. package/dist/components/FAQ.d.ts +14 -0
  285. package/dist/components/FeatureGrid.d.ts +18 -0
  286. package/dist/components/Footer.d.ts +25 -0
  287. package/dist/components/Gallery.d.ts +15 -0
  288. package/dist/components/Hero.d.ts +35 -0
  289. package/dist/components/ListBlock.d.ts +10 -0
  290. package/dist/components/LogoCloud.d.ts +12 -0
  291. package/dist/components/MediaText.d.ts +15 -0
  292. package/dist/components/MemberAvatarStack.d.ts +36 -0
  293. package/dist/components/MetricCard.d.ts +28 -0
  294. package/dist/components/Navbar.d.ts +39 -0
  295. package/dist/components/PageHeader.d.ts +15 -0
  296. package/dist/components/PricingTable.d.ts +19 -0
  297. package/dist/components/RichTextBlock.d.ts +10 -0
  298. package/dist/components/SectionHeading.d.ts +11 -0
  299. package/dist/components/Spacer.d.ts +7 -0
  300. package/dist/components/StatGroup.d.ts +12 -0
  301. package/dist/components/Steps.d.ts +12 -0
  302. package/dist/components/Tabs.d.ts +15 -0
  303. package/dist/components/TeamGrid.d.ts +18 -0
  304. package/dist/components/Testimonial.d.ts +9 -0
  305. package/dist/components/TestimonialGrid.d.ts +13 -0
  306. package/dist/components/ToneBadge.d.ts +18 -0
  307. package/dist/components/Toolbar.d.ts +11 -0
  308. package/dist/components/UsageMeter.d.ts +21 -0
  309. package/dist/components/VideoEmbed.d.ts +16 -0
  310. package/dist/components/assetImage.d.ts +16 -0
  311. package/dist/components/assetResolver.d.ts +57 -0
  312. package/dist/components/blockLink.d.ts +26 -0
  313. package/dist/components/tones.d.ts +14 -0
  314. package/dist/connect/index.cjs +65 -0
  315. package/dist/connect/index.cjs.map +1 -0
  316. package/dist/connect/index.d.ts +8 -0
  317. package/dist/connect/index.js +28 -0
  318. package/dist/connect/index.js.map +1 -0
  319. package/dist/connection/ArbiAppProvider.d.ts +16 -0
  320. package/dist/connection/ConnectionProvider.d.ts +50 -0
  321. package/dist/connection/ai.d.ts +99 -0
  322. package/dist/connection/types.d.ts +54 -0
  323. package/dist/connection/useImageGen.d.ts +22 -0
  324. package/dist/facts/FactComposer.d.ts +75 -0
  325. package/dist/facts/FactDateInput.d.ts +34 -0
  326. package/dist/facts/FactLabelsCell.d.ts +35 -0
  327. package/dist/facts/FactPassages.d.ts +52 -0
  328. package/dist/facts/FactRowActions.d.ts +18 -0
  329. package/dist/facts/FactSearchParts.d.ts +80 -0
  330. package/dist/facts/FactSourceGroup.d.ts +26 -0
  331. package/dist/facts/FactTimelineViews.d.ts +37 -0
  332. package/dist/facts/FactsBulkBar.d.ts +53 -0
  333. package/dist/facts/FactsEmptyState.d.ts +38 -0
  334. package/dist/facts/FactsFieldsButton.d.ts +21 -0
  335. package/dist/facts/FactsFilterInput.d.ts +46 -0
  336. package/dist/facts/FactsTable.d.ts +28 -0
  337. package/dist/facts/FactsToolbar.d.ts +53 -0
  338. package/dist/facts/FactsViewToggle.d.ts +36 -0
  339. package/dist/facts/fact-date.d.ts +22 -0
  340. package/dist/facts/fact-text.d.ts +14 -0
  341. package/dist/facts/factColumns.d.ts +88 -0
  342. package/dist/facts/index.cjs +2372 -0
  343. package/dist/facts/index.cjs.map +1 -0
  344. package/dist/facts/index.d.ts +34 -0
  345. package/dist/facts/index.js +2316 -0
  346. package/dist/facts/index.js.map +1 -0
  347. package/dist/facts/timezone.d.ts +4 -0
  348. package/dist/files/AiReviewDialog.d.ts +77 -0
  349. package/dist/files/DocStatusIcon.d.ts +12 -0
  350. package/dist/files/DocumentGrid.d.ts +27 -0
  351. package/dist/files/Explorer.d.ts +10 -0
  352. package/dist/files/ExplorerSurface.d.ts +34 -0
  353. package/dist/files/ExplorerTile.d.ts +142 -0
  354. package/dist/files/ExportParts.d.ts +114 -0
  355. package/dist/files/FieldParts.d.ts +64 -0
  356. package/dist/files/FilesPage.d.ts +20 -0
  357. package/dist/files/FilesToolbar.d.ts +59 -0
  358. package/dist/files/FolderPicker.d.ts +82 -0
  359. package/dist/files/GridView.d.ts +59 -0
  360. package/dist/files/HtmlViewerParts.d.ts +183 -0
  361. package/dist/files/MoveToFolderDialog.d.ts +32 -0
  362. package/dist/files/RedlineParts.d.ts +72 -0
  363. package/dist/files/SelectionBar.d.ts +65 -0
  364. package/dist/files/StatusPill.d.ts +23 -0
  365. package/dist/files/TagPassagePanel.d.ts +60 -0
  366. package/dist/files/UploadDropzone.d.ts +33 -0
  367. package/dist/files/UploadFooter.d.ts +59 -0
  368. package/dist/files/UploadParts.d.ts +78 -0
  369. package/dist/files/UploadSources.d.ts +77 -0
  370. package/dist/files/VersionTimeline.d.ts +60 -0
  371. package/dist/files/ViewToggle.d.ts +49 -0
  372. package/dist/files/ViewerChrome.d.ts +155 -0
  373. package/dist/files/ViewerLayout.d.ts +32 -0
  374. package/dist/files/ViewerParts.d.ts +62 -0
  375. package/dist/files/bulk/BulkActionsBar.d.ts +76 -0
  376. package/dist/files/bulk/FolderFilterButton.d.ts +35 -0
  377. package/dist/files/bulk/index.d.ts +2 -0
  378. package/dist/files/cells/DocumentNameCell.d.ts +31 -0
  379. package/dist/files/cells/FolderCell.d.ts +25 -0
  380. package/dist/files/cells/HoverIconCell.d.ts +21 -0
  381. package/dist/files/cells/LabelMultiSelect.d.ts +50 -0
  382. package/dist/files/cells/RelatedDocsCell.d.ts +22 -0
  383. package/dist/files/cells/TagColumnParts.d.ts +29 -0
  384. package/dist/files/cells/index.d.ts +6 -0
  385. package/dist/files/documentGridLayout.d.ts +31 -0
  386. package/dist/files/grid-test-ids.d.ts +18 -0
  387. package/dist/files/import/CalendarImportRow.d.ts +26 -0
  388. package/dist/files/import/ImportParts.d.ts +114 -0
  389. package/dist/files/import/TaskSection.d.ts +51 -0
  390. package/dist/files/import/UrlInputDialogView.d.ts +63 -0
  391. package/dist/files/import/VendorLogo.d.ts +15 -0
  392. package/dist/files/import/index.d.ts +5 -0
  393. package/dist/files/index.cjs +7589 -0
  394. package/dist/files/index.cjs.map +1 -0
  395. package/dist/files/index.d.ts +34 -0
  396. package/dist/files/index.js +7374 -0
  397. package/dist/files/index.js.map +1 -0
  398. package/dist/files/page/FilesAddMenu.d.ts +30 -0
  399. package/dist/files/page/FilesPageParts.d.ts +24 -0
  400. package/dist/files/page/FilesPageTitle.d.ts +24 -0
  401. package/dist/files/page/index.d.ts +3 -0
  402. package/dist/files/tags/BulkTagEditor.d.ts +136 -0
  403. package/dist/files/tags/DocTagPopover.d.ts +113 -0
  404. package/dist/files/tags/TagManager.d.ts +54 -0
  405. package/dist/files/tags/index.d.ts +3 -0
  406. package/dist/files/views/FieldsEditorParts.d.ts +151 -0
  407. package/dist/files/views/FieldsManagerParts.d.ts +17 -0
  408. package/dist/files/views/TagFormParts.d.ts +109 -0
  409. package/dist/files/views/ViewSelectorMenu.d.ts +66 -0
  410. package/dist/files/views/fieldsEditorModel.d.ts +43 -0
  411. package/dist/files/views/index.d.ts +5 -0
  412. package/dist/home/ActionMenuDialog.d.ts +26 -0
  413. package/dist/home/AddFilesFirst.d.ts +22 -0
  414. package/dist/home/CardHeaderBar.d.ts +40 -0
  415. package/dist/home/CollapsibleSection.d.ts +43 -0
  416. package/dist/home/CreateTile.d.ts +17 -0
  417. package/dist/home/DashboardParts.d.ts +32 -0
  418. package/dist/home/FactsStrip.d.ts +41 -0
  419. package/dist/home/FoldSection.d.ts +19 -0
  420. package/dist/home/GettingStartedStrip.d.ts +49 -0
  421. package/dist/home/Greeting.d.ts +18 -0
  422. package/dist/home/HomeLayout.d.ts +28 -0
  423. package/dist/home/KeyValueRow.d.ts +43 -0
  424. package/dist/home/ProjectBandParts.d.ts +70 -0
  425. package/dist/home/QuickActionDialogHeader.d.ts +21 -0
  426. package/dist/home/RecentList.d.ts +48 -0
  427. package/dist/home/ScopePicker.d.ts +65 -0
  428. package/dist/home/StartTiles.d.ts +33 -0
  429. package/dist/home/index.cjs +854 -0
  430. package/dist/home/index.cjs.map +1 -0
  431. package/dist/home/index.d.ts +37 -0
  432. package/dist/home/index.js +763 -0
  433. package/dist/home/index.js.map +1 -0
  434. package/dist/home/sections.d.ts +33 -0
  435. package/dist/index.cjs +1932 -5547
  436. package/dist/index.cjs.map +1 -1
  437. package/dist/index.d.ts +71 -1716
  438. package/dist/index.js +142 -5316
  439. package/dist/index.js.map +1 -1
  440. package/dist/lib/balanced-columns.d.ts +8 -0
  441. package/dist/lib/format.d.ts +37 -0
  442. package/dist/lib/observe-resize.d.ts +6 -0
  443. package/dist/lib/password-strength.d.ts +24 -0
  444. package/dist/lib/sidebar-mode.d.ts +46 -0
  445. package/dist/lib/testid.d.ts +7 -0
  446. package/dist/lib/use-drawer.d.ts +11 -0
  447. package/dist/lib/useControllableState.d.ts +5 -0
  448. package/dist/lib/useDismissibleCard.d.ts +15 -0
  449. package/dist/lib/useListKeyNav.d.ts +42 -0
  450. package/dist/lib/useLongPaste.d.ts +15 -0
  451. package/dist/lib/useRestoreFocus.d.ts +11 -0
  452. package/dist/lib/useScopeSelection.d.ts +34 -0
  453. package/dist/nav/types.d.ts +19 -0
  454. package/dist/provider/BlocksProvider.d.ts +20 -0
  455. package/dist/provider/TooltipScope.d.ts +9 -0
  456. package/dist/record/index.cjs +2 -4
  457. package/dist/record/index.cjs.map +1 -1
  458. package/dist/record/index.d.ts +12 -16
  459. package/dist/record/index.js +2 -4
  460. package/dist/record/index.js.map +1 -1
  461. package/dist/retrieval/HighlightText.d.ts +21 -0
  462. package/dist/retrieval/SearchEmptyState.d.ts +39 -0
  463. package/dist/retrieval/SearchGroupHeader.d.ts +21 -0
  464. package/dist/retrieval/SearchHit.d.ts +36 -0
  465. package/dist/retrieval/SearchPage.d.ts +187 -0
  466. package/dist/retrieval/SearchPagination.d.ts +21 -0
  467. package/dist/retrieval/highlight.d.ts +21 -0
  468. package/dist/retrieval/index.cjs +160 -0
  469. package/dist/retrieval/index.cjs.map +1 -0
  470. package/dist/retrieval/index.d.ts +7 -0
  471. package/dist/retrieval/index.js +7 -0
  472. package/dist/retrieval/index.js.map +1 -0
  473. package/dist/settings/AccountDialogs.d.ts +89 -0
  474. package/dist/settings/AvatarPicker.d.ts +25 -0
  475. package/dist/settings/Billing.d.ts +113 -0
  476. package/dist/settings/ConfigSwitcherBar.d.ts +46 -0
  477. package/dist/settings/ConfirmDialog.d.ts +28 -0
  478. package/dist/settings/ConnectionCard.d.ts +58 -0
  479. package/dist/settings/ConversationSettingsParts.d.ts +53 -0
  480. package/dist/settings/DocumentPicker.d.ts +57 -0
  481. package/dist/settings/EmailWorkspaceDialogView.d.ts +60 -0
  482. package/dist/settings/ErrorDialog.d.ts +36 -0
  483. package/dist/settings/FloatingPanel.d.ts +32 -0
  484. package/dist/settings/JsonTree.d.ts +24 -0
  485. package/dist/settings/LogoutDialog.d.ts +51 -0
  486. package/dist/settings/ModalBreadcrumbHeader.d.ts +32 -0
  487. package/dist/settings/ModalScaffold.d.ts +60 -0
  488. package/dist/settings/MultiSelect.d.ts +111 -0
  489. package/dist/settings/NotificationCategoryList.d.ts +26 -0
  490. package/dist/settings/PanelFrame.d.ts +47 -0
  491. package/dist/settings/PasswordChangeDialog.d.ts +64 -0
  492. package/dist/settings/PlanBadge.d.ts +14 -0
  493. package/dist/settings/PlanCard.d.ts +97 -0
  494. package/dist/settings/PremiumModelsFrame.d.ts +17 -0
  495. package/dist/settings/ProfileCard.d.ts +67 -0
  496. package/dist/settings/Projects.d.ts +108 -0
  497. package/dist/settings/QuotaMeter.d.ts +31 -0
  498. package/dist/settings/ReferralCredit.d.ts +46 -0
  499. package/dist/settings/SegmentedControl.d.ts +20 -0
  500. package/dist/settings/ServerConnectionControls.d.ts +31 -0
  501. package/dist/settings/SettingsPanel.d.ts +61 -0
  502. package/dist/settings/SettingsSwitchRow.d.ts +21 -0
  503. package/dist/settings/SubscriptionParts.d.ts +215 -0
  504. package/dist/settings/SupportPanel.d.ts +32 -0
  505. package/dist/settings/SyncDialogParts.d.ts +155 -0
  506. package/dist/settings/ThreadPreviewDialog.d.ts +18 -0
  507. package/dist/settings/TipsEditorDialog.d.ts +94 -0
  508. package/dist/settings/TriStateFilterMenu.d.ts +66 -0
  509. package/dist/settings/Usage.d.ts +102 -0
  510. package/dist/settings/WelcomeDialog.d.ts +79 -0
  511. package/dist/settings/index.cjs +5131 -0
  512. package/dist/settings/index.cjs.map +1 -0
  513. package/dist/settings/index.d.ts +38 -0
  514. package/dist/settings/index.js +4922 -0
  515. package/dist/settings/index.js.map +1 -0
  516. package/dist/shell/ActionCluster.d.ts +28 -0
  517. package/dist/shell/AskField.d.ts +71 -0
  518. package/dist/shell/InfoBar.d.ts +20 -0
  519. package/dist/shell/MobileBars.d.ts +47 -0
  520. package/dist/shell/OfflinePill.d.ts +28 -0
  521. package/dist/shell/RemoteControlPill.d.ts +23 -0
  522. package/dist/shell/Shell.d.ts +123 -0
  523. package/dist/shell/Sidebar.d.ts +104 -0
  524. package/dist/shell/SidebarBadgeRow.d.ts +29 -0
  525. package/dist/shell/SidebarRowAction.d.ts +24 -0
  526. package/dist/shell/StatusRow.d.ts +20 -0
  527. package/dist/shell/TabHeader.d.ts +70 -0
  528. package/dist/shell/TipCard.d.ts +46 -0
  529. package/dist/shell/ToolButton.d.ts +12 -0
  530. package/dist/shell/Workspace.d.ts +90 -0
  531. package/dist/shell/index.cjs +187 -0
  532. package/dist/shell/index.cjs.map +1 -0
  533. package/dist/shell/index.d.ts +20 -0
  534. package/dist/shell/index.js +10 -0
  535. package/dist/shell/index.js.map +1 -0
  536. package/dist/shell/sidebar-context.d.ts +19 -0
  537. package/dist/shell/types.d.ts +48 -0
  538. package/dist/site/index.cjs +113 -90
  539. package/dist/site/index.d.ts +59 -4
  540. package/dist/site/index.js +8 -1
  541. package/dist/studio/PageRenderer.d.ts +35 -0
  542. package/dist/studio/Section.d.ts +24 -0
  543. package/dist/studio/StudioEditor.d.ts +32 -0
  544. package/dist/studio/aiFields.d.ts +17 -0
  545. package/dist/studio/blockKit.d.ts +36 -0
  546. package/dist/studio/blocksConfig.d.ts +42 -0
  547. package/dist/studio/imageFields.d.ts +14 -0
  548. package/dist/studio/index.cjs +3353 -0
  549. package/dist/studio/index.cjs.map +1 -0
  550. package/dist/studio/index.d.ts +32 -0
  551. package/dist/studio/index.js +3297 -0
  552. package/dist/studio/index.js.map +1 -0
  553. package/dist/studio/liveData.d.ts +4 -0
  554. package/dist/studio/liveWidgetRuntime.d.ts +41 -0
  555. package/dist/studio/persistence.d.ts +38 -0
  556. package/dist/studio/publish.d.ts +39 -0
  557. package/dist/studio/siteBlocks.d.ts +14 -0
  558. package/dist/studio/types.d.ts +46 -0
  559. package/dist/studio/websiteBlocks.d.ts +4 -0
  560. package/dist/studio/widgets.d.ts +20 -0
  561. package/dist/theme/ThemeEditor.d.ts +16 -0
  562. package/dist/theme/fontPairings.d.ts +48 -0
  563. package/dist/theme/store.d.ts +53 -0
  564. package/dist/theme/tokens.d.ts +105 -0
  565. package/dist/timeline/Timeline.d.ts +27 -0
  566. package/dist/timeline/TimelineCalendar.d.ts +54 -0
  567. package/dist/timeline/TimelineGantt.d.ts +71 -0
  568. package/dist/timeline/TimelineZoomControl.d.ts +17 -0
  569. package/dist/timeline/index.cjs +50 -0
  570. package/dist/timeline/index.cjs.map +1 -0
  571. package/dist/timeline/index.d.ts +13 -0
  572. package/dist/timeline/index.js +5 -0
  573. package/dist/timeline/index.js.map +1 -0
  574. package/dist/timeline/span.d.ts +29 -0
  575. package/dist/timeline/types.d.ts +30 -0
  576. package/dist/workspaces/WorkspaceBadges.d.ts +27 -0
  577. package/dist/workspaces/WorkspaceCard.d.ts +142 -0
  578. package/dist/workspaces/WorkspaceFormParts.d.ts +98 -0
  579. package/dist/workspaces/WorkspaceGroup.d.ts +31 -0
  580. package/dist/workspaces/WorkspaceSettingsParts.d.ts +70 -0
  581. package/dist/workspaces/index.cjs +690 -0
  582. package/dist/workspaces/index.cjs.map +1 -0
  583. package/dist/workspaces/index.d.ts +9 -0
  584. package/dist/workspaces/index.js +661 -0
  585. package/dist/workspaces/index.js.map +1 -0
  586. package/package.json +154 -9
  587. package/src/blocks.css +348 -0
  588. package/src/components/grid.css +60 -107
  589. package/src/source.css +20 -0
  590. package/src/studio/studio.css +3 -3
  591. package/src/tokens.css +226 -0
  592. package/dist/chunk-DBAUZD7A.cjs.map +0 -1
  593. package/dist/chunk-FZ2S6VAZ.js.map +0 -1
  594. package/dist/index-DduoEosi.d.cts +0 -846
  595. package/dist/index-DduoEosi.d.ts +0 -846
  596. package/dist/index.d.cts +0 -1717
  597. package/dist/record/index.d.cts +0 -96
  598. package/dist/site/index.d.cts +0 -4
@@ -0,0 +1,77 @@
1
+ import type { DragEventHandler, MouseEventHandler, ReactNode } from 'react';
2
+ /** Every fixed string of the upload source parts. */
3
+ export interface UploadSourcesLabels {
4
+ uploadFiles: string;
5
+ uploadFolder: string;
6
+ }
7
+ export declare const DEFAULT_UPLOAD_SOURCES_LABELS: UploadSourcesLabels;
8
+ export interface UploadFrameProps {
9
+ isCompact?: boolean;
10
+ /** Dimmed while disabled or while files are being processed. */
11
+ isDimmed?: boolean;
12
+ className?: string;
13
+ children: ReactNode;
14
+ }
15
+ /** Outer column of the upload surface: drop area, source picker or a single source. */
16
+ export declare function UploadFrame({ isCompact, isDimmed, className, children }: UploadFrameProps): import("react").JSX.Element;
17
+ export interface UploadDropAreaProps {
18
+ isActive: boolean;
19
+ isDisabled: boolean;
20
+ isProcessing: boolean;
21
+ processingMessage: string;
22
+ isCompact?: boolean;
23
+ title: string;
24
+ subtitle?: string;
25
+ onDrag: DragEventHandler<HTMLDivElement>;
26
+ onDrop: DragEventHandler<HTMLDivElement>;
27
+ /** Receives clicks on the area itself (the host filters out clicks on child buttons). */
28
+ onClick: MouseEventHandler<HTMLDivElement>;
29
+ /** Browse actions shown inside the box (compact mode). */
30
+ actions?: ReactNode;
31
+ testId?: string;
32
+ }
33
+ /** The drag-and-drop box: icon, title, subtitle, a processing overlay and optional actions. */
34
+ export declare function UploadDropArea({ isActive, isDisabled, isProcessing, processingMessage, isCompact, title, subtitle, onDrag, onDrop, onClick, actions, testId, }: UploadDropAreaProps): import("react").JSX.Element;
35
+ export interface UploadBrowseButtonsProps {
36
+ onFiles: MouseEventHandler<HTMLButtonElement>;
37
+ onFolder: MouseEventHandler<HTMLButtonElement>;
38
+ isDisabled?: boolean;
39
+ /** `inline` sits inside the drop box; `grid` is two full-width columns below it. */
40
+ layout?: 'inline' | 'grid';
41
+ labels?: Partial<UploadSourcesLabels>;
42
+ }
43
+ /** "Choose files" + "Choose a folder" buttons (ids `upload-files-button`, `upload-folder-button`). */
44
+ export declare function UploadBrowseButtons({ onFiles, onFolder, isDisabled, layout, labels, }: UploadBrowseButtonsProps): import("react").JSX.Element;
45
+ export interface UploadSourceOption {
46
+ key: string;
47
+ label: string;
48
+ description: string;
49
+ icon: ReactNode;
50
+ onClick?: () => void;
51
+ /** Wraps the option's button (e.g. in a dialog trigger that owns its click). */
52
+ wrap?: (button: ReactNode) => ReactNode;
53
+ }
54
+ export interface UploadSourcePickerProps {
55
+ options: UploadSourceOption[];
56
+ isDisabled?: boolean;
57
+ }
58
+ /** Chooser of where files come from (ids `upload-source-picker`, `upload-source-pick-<key>`). */
59
+ export declare function UploadSourcePicker({ options, isDisabled }: UploadSourcePickerProps): import("react").JSX.Element;
60
+ export interface UploadUrlButtonProps {
61
+ isCompact?: boolean;
62
+ isDisabled?: boolean;
63
+ label?: string;
64
+ /** Set when the button is not wrapped in a trigger that owns its click. */
65
+ onClick?: () => void;
66
+ }
67
+ /** "Add from URL" button (id `upload-url-button`); wrap it in the URL dialog's trigger. */
68
+ export declare function UploadUrlButton({ isCompact, isDisabled, label, onClick, }: UploadUrlButtonProps): import("react").JSX.Element;
69
+ export interface UploadSourceSectionProps {
70
+ testId?: string;
71
+ className?: string;
72
+ /** Swallow clicks so a surrounding clickable area does not also fire. */
73
+ isIsolated?: boolean;
74
+ children: ReactNode;
75
+ }
76
+ /** One focused source (computer / internet / email) of the scoped upload view. */
77
+ export declare function UploadSourceSection({ testId, className, isIsolated, children, }: UploadSourceSectionProps): import("react").JSX.Element;
@@ -0,0 +1,60 @@
1
+ /** Every fixed string of the timeline. Pass a partial `labels` to translate or reword. */
2
+ export interface VersionTimelineLabels {
3
+ emptyLive: string;
4
+ emptyDocument: string;
5
+ untitled: string;
6
+ latest: string;
7
+ viewing: string;
8
+ current: string;
9
+ version: (n: number) => string;
10
+ branchedFrom: (n: number) => string;
11
+ open: string;
12
+ compare: string;
13
+ }
14
+ export declare const DEFAULT_VERSION_TIMELINE_LABELS: VersionTimelineLabels;
15
+ export interface VersionTimelineTestIds {
16
+ root: string;
17
+ empty: string;
18
+ currentBadge: string;
19
+ /** Replaces the whole `version-row-<id>` id. */
20
+ row: (id: string) => string;
21
+ branch: (id: string) => string;
22
+ open: (id: string) => string;
23
+ compare: (id: string) => string;
24
+ }
25
+ export interface VersionEntry {
26
+ id: string;
27
+ /** File name as stored (live artifacts have their extension stripped for display). */
28
+ name: string;
29
+ /** ISO string; formatted with `formatDate`. */
30
+ createdAt: string;
31
+ /** The version this one was saved from (a branch when it is not the row above). */
32
+ parentId?: string | null;
33
+ }
34
+ export interface VersionTimelineProps {
35
+ /** Versions in creation order (oldest first). */
36
+ versions: VersionEntry[];
37
+ /** The version currently open. */
38
+ currentId: string;
39
+ /**
40
+ * A live (html/react) artifact: plain-language labels for non-developers, no file extension,
41
+ * and no Compare (a text diff of source code means nothing to them).
42
+ */
43
+ live?: boolean;
44
+ formatDate: (iso: string) => string;
45
+ onOpen: (id: string) => void;
46
+ /** Omit to hide Compare (also hidden for `live`). */
47
+ onCompare?: (id: string) => void;
48
+ className?: string;
49
+ labels?: Partial<VersionTimelineLabels>;
50
+ /** Overrides for the test ids (defaults keep the current ids). */
51
+ testIds?: Partial<VersionTimelineTestIds>;
52
+ }
53
+ /**
54
+ * Clickable timeline of an immutable version chain: open any version or compare it with the
55
+ * current one. Versions are numbered in creation order; a version saved from an OLD version is a
56
+ * deliberate branch and says where it came from instead of implying it follows the row above.
57
+ * Test ids: `version-timeline`, `version-timeline-empty`, `version-row-{id}`,
58
+ * `version-current-badge`, `version-branch-{id}`, `open-version-{id}`, `compare-version-{id}`.
59
+ */
60
+ export declare function VersionTimeline({ versions, currentId, live, formatDate, onOpen, onCompare, className, labels, testIds, }: VersionTimelineProps): import("react").JSX.Element;
@@ -0,0 +1,49 @@
1
+ import { type ReactNode } from 'react';
2
+ /** Names of the four document view modes. Pass a partial `labels` to translate or reword. */
3
+ export interface DocumentViewToggleLabels {
4
+ gallery: string;
5
+ table: string;
6
+ review: string;
7
+ smartSearch: string;
8
+ }
9
+ export declare const DEFAULT_DOCUMENT_VIEW_TOGGLE_LABELS: DocumentViewToggleLabels;
10
+ export interface ViewToggleOption {
11
+ value: string;
12
+ icon: ReactNode;
13
+ label: string;
14
+ }
15
+ export interface ViewToggleProps {
16
+ options: ViewToggleOption[];
17
+ value: string;
18
+ onChange: (value: string) => void;
19
+ /** Item test ids are `${testIdPrefix}-${value}-button`. */
20
+ testIdPrefix?: string;
21
+ showLabels?: boolean;
22
+ hideTooltips?: boolean;
23
+ size?: 'default' | 'sm';
24
+ /**
25
+ * Collapse labels to icons by the width of the nearest `@container` ancestor instead of the
26
+ * viewport. The consumer must mark that region `@container`.
27
+ */
28
+ containerCollapse?: boolean;
29
+ className?: string;
30
+ }
31
+ /** Segmented view switch: selected = accent tint, tone-only hover, 44px targets on touch. */
32
+ export declare function ViewToggle({ options, value, onChange, testIdPrefix, showLabels, hideTooltips, size, containerCollapse, className, }: ViewToggleProps): import("react").JSX.Element;
33
+ export type DocumentViewMode = 'grid' | 'explorer' | 'navigator' | 'search';
34
+ export interface DocumentViewToggleProps {
35
+ viewMode: DocumentViewMode;
36
+ onChange: (mode: DocumentViewMode) => void;
37
+ /** Collapse the four modes into one select trigger (narrow viewports). */
38
+ compact?: boolean;
39
+ labels?: Partial<DocumentViewToggleLabels>;
40
+ /** Overrides the segmented items' prefix (default `documents-layout`: `<prefix>-<mode>-button`). */
41
+ testIdPrefix?: string;
42
+ /** Overrides the compact select test ids (defaults keep the current ids). */
43
+ compactTestIds?: Partial<{
44
+ select: string;
45
+ option: (mode: DocumentViewMode) => string;
46
+ }>;
47
+ }
48
+ /** The Documents page's Gallery / Table / Review / Smart Search switch. */
49
+ export declare function DocumentViewToggle({ viewMode, onChange, compact, labels, testIdPrefix, compactTestIds, }: DocumentViewToggleProps): import("react").JSX.Element;
@@ -0,0 +1,155 @@
1
+ import type { ReactNode } from 'react';
2
+ /** Every fixed string of the viewer chrome and parts. Pass a partial `labels` to translate or reword. */
3
+ export interface ViewerLabels {
4
+ shared: string;
5
+ edit: string;
6
+ cancel: string;
7
+ cancelEditing: string;
8
+ compare: string;
9
+ compareTitle: string;
10
+ saveDocument: string;
11
+ saveAsVersion: string;
12
+ noChanges: string;
13
+ saving: string;
14
+ save: string;
15
+ saveVersion: string;
16
+ useAsReference: string;
17
+ useAsReferenceTitle: string;
18
+ crop: string;
19
+ cropTitle: string;
20
+ previousPage: string;
21
+ nextPage: string;
22
+ zoomIn: string;
23
+ zoomOut: string;
24
+ zoomReset: (level: string) => string;
25
+ pageInput: string;
26
+ pageOfTitle: string;
27
+ pageOf: (page: number, total: number) => string;
28
+ compareVs: string;
29
+ trackChanges: string;
30
+ trackChangesBack: string;
31
+ trackChangesView: string;
32
+ flipComparison: string;
33
+ stopComparing: string;
34
+ previewUnavailable: string;
35
+ cannotPreview: (extension: string) => string;
36
+ downloadToOpen: string;
37
+ download: string;
38
+ }
39
+ export declare const DEFAULT_VIEWER_LABELS: ViewerLabels;
40
+ export interface ViewerFrameTestIds {
41
+ root: string;
42
+ compareRow: string;
43
+ /** Replaces the whole `document-viewer-content-<id>` id. */
44
+ content: string;
45
+ }
46
+ export interface ViewerFrameProps {
47
+ /** The sticky top bar (tabs + title + actions). */
48
+ header: ReactNode;
49
+ /** "Comparing against..." chips, shown on their own row under the header when set. */
50
+ compareRow?: ReactNode;
51
+ /** Document id; the content area's test id is `document-viewer-content-{id}`. */
52
+ contentId: string;
53
+ children: ReactNode;
54
+ /** Rendered after the content area (modals owned by the viewer, e.g. crop). */
55
+ footer?: ReactNode;
56
+ frameRef?: React.Ref<HTMLDivElement>;
57
+ className?: string;
58
+ testIds?: Partial<ViewerFrameTestIds>;
59
+ }
60
+ /** The document viewer shell: sticky header, optional compare row, scrolling content. */
61
+ export declare const ViewerFrame: ({ header, compareRow, contentId, children, footer, frameRef, className, testIds, }: ViewerFrameProps) => import("react").JSX.Element;
62
+ /** Centered muted status line for loading / error states inside the viewer. */
63
+ export declare function ViewerMessage({ children, testId }: {
64
+ children: ReactNode;
65
+ testId?: string;
66
+ }): import("react").JSX.Element;
67
+ export interface ViewerTitleProps {
68
+ title: string;
69
+ /** Shows the small shared marker. */
70
+ shared?: boolean;
71
+ /** e.g. "v3". */
72
+ versionLabel?: string | null;
73
+ /** Let the pill shrink (live artifacts share the row with more controls). */
74
+ shrink?: boolean;
75
+ labels?: Partial<ViewerLabels>;
76
+ /** Overrides the shared-marker test id (default `document-title-shared-indicator`). */
77
+ sharedTestId?: string;
78
+ }
79
+ /** Read-only document name pill with the shared marker and version label. */
80
+ export declare function ViewerTitle({ title, shared, versionLabel, shrink, labels, sharedTestId, }: ViewerTitleProps): import("react").JSX.Element;
81
+ export interface ViewerEditActionsProps {
82
+ isEditing: boolean;
83
+ isDraft: boolean;
84
+ /** Narrow panel: icon-only Edit/Compare. Save keeps its label. */
85
+ compact: boolean;
86
+ hasChanges: boolean;
87
+ isSaving: boolean;
88
+ /** Offer "Compare against the previous version". */
89
+ canCompare: boolean;
90
+ onStartEdit: () => void;
91
+ onCancel: () => void;
92
+ onCompare: () => void;
93
+ onSave: () => void;
94
+ labels?: Partial<ViewerLabels>;
95
+ testIds?: Partial<ViewerEditActionsTestIds>;
96
+ }
97
+ export interface ViewerEditActionsTestIds {
98
+ edit: string;
99
+ cancel: string;
100
+ compare: string;
101
+ save: string;
102
+ unsavedDot: string;
103
+ }
104
+ /**
105
+ * Edit / Cancel / Compare / Save. Save is the ONE filled button and only once there is something
106
+ * to save; a dot marks unsaved changes as a second glanceable signal.
107
+ */
108
+ export declare function ViewerEditActions({ isEditing, isDraft, compact, hasChanges, isSaving, canCompare, onStartEdit, onCancel, onCompare, onSave, labels, testIds, }: ViewerEditActionsProps): import("react").JSX.Element;
109
+ export interface ViewerImageActionsProps {
110
+ compact: boolean;
111
+ onUseAsReference: () => void;
112
+ onCrop: () => void;
113
+ labels?: Partial<ViewerLabels>;
114
+ testIds?: Partial<{
115
+ useAsReference: string;
116
+ crop: string;
117
+ }>;
118
+ }
119
+ /** Image-only actions: feed it into a new generation, or crop it into a new version. */
120
+ export declare function ViewerImageActions({ compact, onUseAsReference, onCrop, labels, testIds, }: ViewerImageActionsProps): import("react").JSX.Element;
121
+ export interface PdfPageNavProps {
122
+ canPrev: boolean;
123
+ canNext: boolean;
124
+ onPrev: () => void;
125
+ onNext: () => void;
126
+ /** The "3 / 12" counter between the arrows (the host owns its editing behaviour). */
127
+ counter: ReactNode;
128
+ labels?: Partial<ViewerLabels>;
129
+ testIds?: Partial<{
130
+ overlay: string;
131
+ prev: string;
132
+ next: string;
133
+ }>;
134
+ }
135
+ /** Floating prev / counter / next control over a rendered PDF. */
136
+ export declare function PdfPageNav({ canPrev, canNext, onPrev, onNext, counter, labels, testIds, }: PdfPageNavProps): import("react").JSX.Element;
137
+ export interface ViewerZoomControlProps {
138
+ /** Multiplier of the fit-width size (1 = fit width). */
139
+ zoom: number;
140
+ canZoomIn: boolean;
141
+ canZoomOut: boolean;
142
+ onZoomIn: () => void;
143
+ onZoomOut: () => void;
144
+ /** Back to fit width (the level readout is the button). */
145
+ onReset: () => void;
146
+ labels?: Partial<ViewerLabels>;
147
+ testIds?: Partial<{
148
+ overlay: string;
149
+ in: string;
150
+ out: string;
151
+ level: string;
152
+ }>;
153
+ }
154
+ /** Floating zoom pill sitting just above the page control: "- 150% +". */
155
+ export declare function ViewerZoomControl({ zoom, canZoomIn, canZoomOut, onZoomIn, onZoomOut, onReset, labels, testIds, }: ViewerZoomControlProps): import("react").JSX.Element;
@@ -0,0 +1,32 @@
1
+ import type { ReactNode } from 'react';
2
+ /** Left side of the viewer header: tabs, title and status; shrinks and clips. */
3
+ export declare function ViewerHeaderStart({ children }: {
4
+ children: ReactNode;
5
+ }): import("react").JSX.Element;
6
+ /** Right side of the viewer header: the actions; never shrinks. */
7
+ export declare function ViewerHeaderEnd({ isCompact, children, }: {
8
+ isCompact?: boolean;
9
+ children: ReactNode;
10
+ }): import("react").JSX.Element;
11
+ /** Muted inline status next to the title ("streaming...", "Draft — not saved"). */
12
+ export declare function ViewerStatusNote({ pulse, testId, children, }: {
13
+ /** Animate while something is being produced. */
14
+ pulse?: boolean;
15
+ testId?: string;
16
+ children: ReactNode;
17
+ }): import("react").JSX.Element;
18
+ /**
19
+ * A pane of the viewer body. `hidden` keeps it mounted but out of sight (media keeps playing
20
+ * while the transcript is read); `scroll` makes the pane scroll itself.
21
+ */
22
+ export declare function ViewerPane({ hidden, scroll, testId, children, }: {
23
+ hidden?: boolean;
24
+ scroll?: boolean;
25
+ testId?: string;
26
+ children: ReactNode;
27
+ }): import("react").JSX.Element;
28
+ /** Padding around rendered (read-only) markdown. */
29
+ export declare function ViewerRenderedPane({ testId, children }: {
30
+ testId?: string;
31
+ children: ReactNode;
32
+ }): import("react").JSX.Element;
@@ -0,0 +1,62 @@
1
+ import type { ReactNode } from 'react';
2
+ import { type ViewerLabels } from './ViewerChrome';
3
+ export interface ViewerTab {
4
+ id: string;
5
+ icon: ReactNode;
6
+ /** Tooltip and accessible name. */
7
+ tooltip: string;
8
+ /** Visible text next to the icon, for tabs whose icon alone is not self-explanatory. */
9
+ label?: string;
10
+ /** Overrides the tab test id (default `<id>-tab`). */
11
+ testId?: string;
12
+ }
13
+ export interface ViewerTabBarProps {
14
+ tabs: ViewerTab[];
15
+ activeId: string;
16
+ onChange: (id: string) => void;
17
+ className?: string;
18
+ }
19
+ /** Underline tab strip for the viewer's formats (PDF, DOCX, Source, Versions, HTML...). */
20
+ export declare function ViewerTabBar({ tabs, activeId, onChange, className }: ViewerTabBarProps): import("react").JSX.Element;
21
+ export interface ViewerPageCounterProps {
22
+ page: number;
23
+ total: number;
24
+ /** Called with a valid 1..total page typed into the counter. */
25
+ onGoTo: (page: number) => void;
26
+ labels?: Partial<ViewerLabels>;
27
+ }
28
+ /** "3 / 12": click the number to type a page; Enter or blur commits, Escape cancels. */
29
+ export declare function ViewerPageCounter({ page, total, onGoTo, labels }: ViewerPageCounterProps): import("react").JSX.Element | null;
30
+ export interface ViewerCompareBarProps {
31
+ /** The compared-against document pill (the host renders its entity). */
32
+ compareTarget: ReactNode;
33
+ versionLabel?: string | null;
34
+ /** Artifacts toggle "Track changes"; plain documents get a flip-direction arrow instead. */
35
+ mode: 'track-changes' | 'flip';
36
+ showTrackChanges: boolean;
37
+ onToggleTrackChanges: () => void;
38
+ onFlip: () => void;
39
+ onStop: () => void;
40
+ labels?: Partial<ViewerLabels>;
41
+ /** Overrides the track-changes toggle test id (default `track-changes-toggle`). */
42
+ trackChangesTestId?: string;
43
+ }
44
+ /**
45
+ * "Compare vs. [doc]" row contents: always an explicit text label (an icon-only pill was unclear),
46
+ * with Track changes (artifacts) or Flip (plain documents), and Stop comparing.
47
+ */
48
+ export declare function ViewerCompareBar({ compareTarget, versionLabel, mode, showTrackChanges, onToggleTrackChanges, onFlip, onStop, labels, trackChangesTestId, }: ViewerCompareBarProps): import("react").JSX.Element;
49
+ /** A format that cannot be previewed in the browser: offer the original instead. */
50
+ export declare function ViewerPreviewUnavailable({ extension, onDownload, labels, }: {
51
+ extension: string;
52
+ onDownload: () => void;
53
+ labels?: Partial<ViewerLabels>;
54
+ }): import("react").JSX.Element;
55
+ /** The file failed to load: say so and offer the download instead. */
56
+ export declare function ViewerLoadError({ message, onDownload, labels, testId, }: {
57
+ message: string;
58
+ onDownload: () => void;
59
+ labels?: Partial<ViewerLabels>;
60
+ /** Overrides the root test id (default `pdf-load-error`). */
61
+ testId?: string;
62
+ }): import("react").JSX.Element;
@@ -0,0 +1,76 @@
1
+ import { type SelectionBarProps } from '../SelectionBar';
2
+ import { type ShareControlLabels, type ShareState } from '../../collaboration/sharing/ShareControl';
3
+ /** Every fixed string of the bulk bar. Pass a partial `labels` to translate or reword. */
4
+ export interface BulkActionsLabels {
5
+ chat: string;
6
+ chatTooltip: string;
7
+ annotate: string;
8
+ annotateTooltip: string;
9
+ label: string;
10
+ labelTooltip: string;
11
+ share: string;
12
+ makePrivate: string;
13
+ more: string;
14
+ folder: string;
15
+ export: string;
16
+ reprocess: string;
17
+ removeOffline: string;
18
+ useOffline: string;
19
+ delete: string;
20
+ }
21
+ export declare const DEFAULT_BULK_ACTIONS_LABELS: BulkActionsLabels;
22
+ export interface BulkActionsTestIds {
23
+ chat: string;
24
+ annotate: string;
25
+ label: string;
26
+ more: string;
27
+ moveFolder: string;
28
+ share: string;
29
+ export: string;
30
+ reprocess: string;
31
+ offline: string;
32
+ delete: string;
33
+ }
34
+ export interface BulkActionsBarProps {
35
+ /** Number of selected documents; the bar is hidden at 0. */
36
+ count: number;
37
+ onClear: () => void;
38
+ onReview?: () => void;
39
+ /** Members get annotate / label / share / folder / export / reprocess / delete. */
40
+ isMember: boolean;
41
+ /** Online-only actions (export, reprocess, enabling offline) are disabled while offline. */
42
+ isOnline: boolean;
43
+ onChat: () => void;
44
+ onAnnotate: () => void;
45
+ onLabel: () => void;
46
+ onMoveToFolder: () => void;
47
+ onExport: () => void;
48
+ onReprocess: () => void;
49
+ /** Label of the reprocess item (the app adds the "(max N)" cap hint). */
50
+ reprocessLabel?: string;
51
+ onToggleOffline: () => void;
52
+ /** All selected docs are already available offline: the item removes them instead. */
53
+ isAllOffline: boolean;
54
+ isOfflinePending?: boolean;
55
+ onDelete: () => void;
56
+ /** Visibility of the selection (all shared, none shared, or a mix). */
57
+ shareState: ShareState;
58
+ /** `true` = share with the workspace, `false` = make private. */
59
+ onToggleShare: (shouldShare: boolean) => void;
60
+ /** Tooltip of the share button (what a click does). */
61
+ shareTooltip?: string;
62
+ /** Labels of the share control (Share / Shared / Private). */
63
+ shareLabels?: Partial<ShareControlLabels>;
64
+ className?: string;
65
+ labels?: Partial<BulkActionsLabels>;
66
+ /** Overrides for the control test ids (defaults keep the current ids). */
67
+ testIds?: Partial<BulkActionsTestIds>;
68
+ /** Labels / test ids of the underlying selection bar (count, clear, review). */
69
+ selectionBar?: Pick<SelectionBarProps, 'labels' | 'testIds'>;
70
+ }
71
+ /**
72
+ * Bulk actions for selected documents, composed on the `SelectionBar`. Primary actions stay
73
+ * inline (Chat, AI Annotate, Label, Shared); the rest fold into a "More" menu to keep the bar
74
+ * on one row. Data-free: every action is a callback, the visibility toggle is a slot.
75
+ */
76
+ export declare function BulkActionsBar({ count, onClear, onReview, isMember, isOnline, onChat, onAnnotate, onLabel, onMoveToFolder, onExport, onReprocess, reprocessLabel, onToggleOffline, isAllOffline, isOfflinePending, onDelete, shareState, onToggleShare, shareTooltip, shareLabels, className, labels, testIds, selectionBar, }: BulkActionsBarProps): import("react").JSX.Element;
@@ -0,0 +1,35 @@
1
+ import type { ReactNode } from 'react';
2
+ /** Every fixed string of the folder filter. Pass a partial `labels` to translate or reword. */
3
+ export interface FolderFilterLabels {
4
+ all: string;
5
+ newFolder: string;
6
+ }
7
+ export declare const DEFAULT_FOLDER_FILTER_LABELS: FolderFilterLabels;
8
+ export interface FolderFilterButtonProps {
9
+ /** Text of the active folder ("All", "None", or the display path). */
10
+ label: string;
11
+ /** Leading glyph for connector folders; falls back to a folder icon. */
12
+ icon?: ReactNode;
13
+ /** A folder filter is active: the trigger takes the selection tint. */
14
+ isActive: boolean;
15
+ open: boolean;
16
+ onOpenChange: (open: boolean) => void;
17
+ /** Total documents, shown on the "All" row. */
18
+ allCount: number;
19
+ onSelectAll: () => void;
20
+ /** When set, the popover offers a "New folder" action. */
21
+ onNewFolder?: () => void;
22
+ /** Slot: the folder tree picker. */
23
+ children: ReactNode;
24
+ className?: string;
25
+ labels?: Partial<FolderFilterLabels>;
26
+ /** Test id of the trigger button (none by default). */
27
+ testId?: string;
28
+ /** Overrides the "New folder" test id (default `explorer-new-folder`). */
29
+ newFolderTestId?: string;
30
+ }
31
+ /**
32
+ * The folder filter control: a ghost button naming the active folder that opens a popover with
33
+ * an "All" row, the folder tree (slot) and an optional "New folder" action.
34
+ */
35
+ export declare function FolderFilterButton({ label, icon, isActive, open, onOpenChange, allCount, onSelectAll, onNewFolder, children, className, labels, testId, newFolderTestId, }: FolderFilterButtonProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { BulkActionsBar, DEFAULT_BULK_ACTIONS_LABELS, type BulkActionsBarProps, type BulkActionsLabels, type BulkActionsTestIds, } from './BulkActionsBar';
2
+ export { FolderFilterButton, DEFAULT_FOLDER_FILTER_LABELS, type FolderFilterButtonProps, type FolderFilterLabels, } from './FolderFilterButton';
@@ -0,0 +1,31 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface DocumentRowMenuProps {
3
+ /** Whether the user may rename / move / delete this document. */
4
+ canEdit: boolean;
5
+ onOpen: () => void;
6
+ onReview: () => void;
7
+ onDocumentChat: () => void;
8
+ onRename: () => void;
9
+ onDownload: () => void;
10
+ onMove: () => void;
11
+ onDelete: () => void;
12
+ testId?: string;
13
+ }
14
+ /** The row-actions kebab of the grid's document cell (Open, Review, Chat, Rename, ...). */
15
+ export declare function DocumentRowMenu({ canEdit, onOpen, onReview, onDocumentChat, onRename, onDownload, onMove, onDelete, testId, }: DocumentRowMenuProps): import("react").JSX.Element;
16
+ export interface DocumentNameCellFrameProps {
17
+ /** Test id on the wrapper, e.g. `open-document-viewer-button-<id>`. */
18
+ testId?: string;
19
+ /** The row's document is open in the viewer: marks the cell so the host's row style can react. */
20
+ isViewing?: boolean;
21
+ /** Phone-only second line (date and folder) under the title. */
22
+ subtitle?: string;
23
+ /** Slot: the document pill (entity chip with `actions` = a DocumentRowMenu). */
24
+ children: ReactNode;
25
+ className?: string;
26
+ }
27
+ /**
28
+ * Layout of the grid's unified "document" cell: the pill plus, on phones where the table
29
+ * collapses to Title + Status, a muted second line.
30
+ */
31
+ export declare function DocumentNameCellFrame({ testId, isViewing, subtitle, children, className, }: DocumentNameCellFrameProps): import("react").JSX.Element;
@@ -0,0 +1,25 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface FolderCellProps {
3
+ /** Stored folder path; empty/null renders an em dash. */
4
+ folder: string | null | undefined;
5
+ /** Breadcrumb segments, already formatted for display (provider roots shortened). */
6
+ segments: string[];
7
+ /** Leading glyph for connector folders (brand mark); falls back to a folder icon. */
8
+ icon?: ReactNode;
9
+ /** Editable cells open `picker` in a popover on click. */
10
+ isEditable: boolean;
11
+ /** Popover body (the searchable folder list); only rendered for editable cells. */
12
+ picker?: ReactNode;
13
+ className?: string;
14
+ }
15
+ /** Breadcrumb "a / b / c" where all but the last segment are muted. */
16
+ export declare function FolderBreadcrumb({ segments, size, }: {
17
+ segments: string[];
18
+ /** Text size of the segments: `xs` in grid cells, `sm` in form fields. */
19
+ size?: 'xs' | 'sm';
20
+ }): import("react").JSX.Element;
21
+ /**
22
+ * Grid cell for a document's folder. Uses the native `title` attribute instead of a Tooltip:
23
+ * every visible row renders one, so Radix tooltip instances would sit in the scroll hot path.
24
+ */
25
+ export declare function FolderCell({ folder, segments, icon, isEditable, picker, className, }: FolderCellProps): import("react").JSX.Element;
@@ -0,0 +1,21 @@
1
+ import { type ReactNode } from 'react';
2
+ export type CellHoverIconKind = 'pencil' | 'plus' | 'blocked';
3
+ /**
4
+ * Edit hint of a grid cell. It appears on pointer hover, on keyboard focus anywhere inside the
5
+ * cell and always on touch devices (coarse pointer), where there is no hover to reveal it.
6
+ * Place it inside an element carrying the `group` class.
7
+ */
8
+ export declare function CellHoverIcon({ kind, className, }: {
9
+ kind?: CellHoverIconKind;
10
+ className?: string;
11
+ }): import("react").JSX.Element;
12
+ export interface HoverIconCellProps {
13
+ content: ReactNode;
14
+ /** Non-members get a "blocked" hint instead of the edit hint. */
15
+ isEditable: boolean;
16
+ showIcon?: boolean;
17
+ icon?: Exclude<CellHoverIconKind, 'blocked'>;
18
+ className?: string;
19
+ }
20
+ /** A cell's content with the edit hint after it (pure CSS reveal: no re-render on mouse move). */
21
+ export declare const HoverIconCell: import("react").NamedExoticComponent<HoverIconCellProps>;