@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,183 @@
1
+ import type { ReactNode, Ref } from 'react';
2
+ /** Every fixed string of the parsed viewer parts. Pass a partial `labels` to translate or reword. */
3
+ export interface HtmlViewerLabels {
4
+ viewerRegion: string;
5
+ pageOfTotal: (page: number, total: number) => string;
6
+ documentContent: string;
7
+ page: (n: number) => string;
8
+ noContent: string;
9
+ noContentDescription: string;
10
+ citedSuffix: string;
11
+ previousCited: string;
12
+ nextCited: string;
13
+ previousLabelPassage: string;
14
+ nextLabelPassage: string;
15
+ sharedWithMembers: string;
16
+ privateToYou: string;
17
+ shared: string;
18
+ private: string;
19
+ instantTranslation: string;
20
+ backToDocument: string;
21
+ compareOriginal: string;
22
+ copyComparison: string;
23
+ copyTranslation: string;
24
+ passage: string;
25
+ original: string;
26
+ translation: string;
27
+ }
28
+ export declare const DEFAULT_HTML_VIEWER_LABELS: HtmlViewerLabels;
29
+ export interface HtmlViewerRootProps {
30
+ children: ReactNode;
31
+ className?: string;
32
+ }
33
+ /** Positioning context for the parsed viewer: overlays (tag bar, cited stepper) sit on it. */
34
+ export declare function HtmlViewerRoot({ children, className }: HtmlViewerRootProps): import("react").JSX.Element;
35
+ export interface HtmlViewerSurfaceProps {
36
+ children: ReactNode;
37
+ surfaceRef?: Ref<HTMLDivElement>;
38
+ /** Hidden (kept mounted) while the translation comparison table is showing. */
39
+ hidden?: boolean;
40
+ onMouseUp?: () => void;
41
+ className?: string;
42
+ labels?: Partial<HtmlViewerLabels>;
43
+ /** Overrides the root test id (default `parsed-viewer`). */
44
+ testId?: string;
45
+ }
46
+ /** The scrolling canvas the page sheets stack on. */
47
+ export declare function HtmlViewerSurface({ children, surfaceRef, hidden, onMouseUp, className, labels, testId, }: HtmlViewerSurfaceProps): import("react").JSX.Element;
48
+ export interface HtmlPageProps {
49
+ /** 1-based page number, null for unpaginated content. */
50
+ pageNumber: number | null;
51
+ totalPages: number;
52
+ /** False renders a sized placeholder (lazy pages). */
53
+ isRendered: boolean;
54
+ /** Placeholder height in px when not rendered. */
55
+ placeholderHeight: number;
56
+ /** Text size multiplier: the font size changes and the text reflows inside the page width. */
57
+ zoom?: number;
58
+ children?: ReactNode;
59
+ labels?: Partial<HtmlViewerLabels>;
60
+ }
61
+ /** One page sheet: numbered header, content, or a lightweight placeholder while off-screen. */
62
+ export declare function HtmlPage({ pageNumber, totalPages, isRendered, placeholderHeight, zoom, children, labels, }: HtmlPageProps): import("react").JSX.Element;
63
+ /** Shown when a parsed document has no chunks. */
64
+ export declare function HtmlViewerEmpty({ labels }: {
65
+ labels?: Partial<HtmlViewerLabels>;
66
+ }): import("react").JSX.Element;
67
+ export type PassageHighlight = 'light' | 'strong';
68
+ export interface HtmlPassageProps {
69
+ /** Passage (chunk) id: the element id, deep-link and scroll target. */
70
+ chunkId?: string;
71
+ /** Yellow wash: `strong` = selected/being read, `light` = listed or search hit. */
72
+ highlight?: PassageHighlight;
73
+ /** Marks a search hit for e2e (`highlighted-chunk`). */
74
+ isHit?: boolean;
75
+ /** Overrides the hit test id (default `highlighted-chunk`). */
76
+ hitTestId?: string;
77
+ /** Part of a contiguous selected run; the run is drawn as one block. */
78
+ isSelected?: boolean;
79
+ runIsStart?: boolean;
80
+ runIsEnd?: boolean;
81
+ /** Citation mode: the passage toggles on click. */
82
+ isClickable?: boolean;
83
+ /** Click on the passage; `extend` is true when shift was held (range select). */
84
+ onSelect?: (extend: boolean) => void;
85
+ /** The passage carries labels; `tagMark` draws them. */
86
+ isTagged?: boolean;
87
+ /** Colour of the label currently being walked, when it marks this passage. */
88
+ activeTagColor?: string;
89
+ /** Citation run marker, shown once at the first member of a run. */
90
+ runMarker?: ReactNode;
91
+ /** Label stripes in the margin (a `LabelMark`): always visible, one menu. */
92
+ tagMark?: ReactNode;
93
+ /**
94
+ * The passage's reference mark (a `PassageMark`): quiet text in the margin whose menu carries
95
+ * every passage action. Faint on hover/focus, always faintly visible on touch.
96
+ */
97
+ mark?: ReactNode;
98
+ /** The passage text. */
99
+ children: ReactNode;
100
+ }
101
+ /** One parsed passage: highlight states, label stripes, run marker, reference label, actions. */
102
+ export declare const HtmlPassage: import("react").NamedExoticComponent<HtmlPassageProps>;
103
+ export interface PassageStepperProps {
104
+ /** 1-based position. */
105
+ position: number;
106
+ total: number;
107
+ onStep: (delta: number) => void;
108
+ /** Test id of the stepper (none by default). */
109
+ testId?: string;
110
+ className?: string;
111
+ prevLabel: string;
112
+ nextLabel: string;
113
+ /** Text after the count, e.g. "cited". */
114
+ suffix?: string;
115
+ }
116
+ /** Compact "3/9 cited" prev/next stepper overlaid on the document. */
117
+ export declare function PassageStepper({ position, total, onStep, testId, className, prevLabel, nextLabel, suffix, }: PassageStepperProps): import("react").JSX.Element;
118
+ /** Overlay placement for the cited-passages stepper (top centre of the viewer). */
119
+ export declare function CitedRunNav({ labels, testId, ...props }: Omit<PassageStepperProps, 'prevLabel' | 'nextLabel' | 'testId' | 'suffix'> & {
120
+ labels?: Partial<HtmlViewerLabels>;
121
+ /** Overrides the stepper test id (default `note-run-nav`). */
122
+ testId?: string;
123
+ }): import("react").JSX.Element;
124
+ export interface DocTagChipView {
125
+ id: string;
126
+ name: string;
127
+ /** Fill colour (dynamic, per label). */
128
+ color: string;
129
+ /** Passages the label marks; 0 = applies to the whole document. */
130
+ passageCount: number;
131
+ hasNote: boolean;
132
+ title: string;
133
+ }
134
+ export interface DocTagBarProps {
135
+ chips: DocTagChipView[];
136
+ /** Document visibility mark on the far right; null/undefined omits it. */
137
+ visibility?: 'shared' | 'private' | null;
138
+ /** Passage stepping over the active label's passages (parsed view only). */
139
+ step?: {
140
+ position: number;
141
+ total: number;
142
+ onStep: (delta: number) => void;
143
+ };
144
+ /** The label currently washing its passages (parsed view only). */
145
+ activeId?: string | null;
146
+ /** When given, chips are toggles: pick a label to mark its passages, pick it again to clear. */
147
+ onSelect?: (id: string | null) => void;
148
+ labels?: Partial<HtmlViewerLabels>;
149
+ testIds?: Partial<DocTagBarTestIds>;
150
+ }
151
+ export interface DocTagBarTestIds {
152
+ root: string;
153
+ nav: string;
154
+ visibility: string;
155
+ /** Replaces the whole `doc-tag-chip-<id>` id. */
156
+ chip: (id: string) => string;
157
+ }
158
+ /**
159
+ * The document's labels along the top of a viewer: chips (toggles when `onSelect` is given, else
160
+ * read-only marks), optional passage stepper for the active label, and the shared/private mark.
161
+ * Draws nothing when it has nothing to say.
162
+ */
163
+ export declare function DocTagBar({ chips, visibility, step, activeId, onSelect, labels, testIds, }: DocTagBarProps): import("react").JSX.Element | null;
164
+ export interface TranslationBadgeProps {
165
+ isComparing: boolean;
166
+ onToggleCompare: () => void;
167
+ onCopy: () => Promise<void>;
168
+ labels?: Partial<HtmlViewerLabels>;
169
+ }
170
+ /** "Instant Translation" chip with compare toggle and copy. */
171
+ export declare function TranslationBadge({ isComparing, onToggleCompare, onCopy, labels, }: TranslationBadgeProps): import("react").JSX.Element;
172
+ export interface TranslationRowView {
173
+ key: string;
174
+ /** The passage reference pill (host renders its entity). */
175
+ passage: ReactNode;
176
+ original: string;
177
+ translated: string;
178
+ }
179
+ /** Passage / Original / Translation table. */
180
+ export declare function TranslationCompareTable({ rows, labels, }: {
181
+ rows: TranslationRowView[];
182
+ labels?: Partial<HtmlViewerLabels>;
183
+ }): import("react").JSX.Element;
@@ -0,0 +1,32 @@
1
+ import type { ReactNode } from 'react';
2
+ /** Every fixed string of the dialog. Pass a partial `labels` to translate or reword. */
3
+ export interface MoveToFolderLabels {
4
+ title: string;
5
+ cancel: string;
6
+ move: string;
7
+ moving: string;
8
+ }
9
+ export declare const DEFAULT_MOVE_TO_FOLDER_LABELS: MoveToFolderLabels;
10
+ export interface MoveToFolderTestIds {
11
+ modal: string;
12
+ cancel: string;
13
+ confirm: string;
14
+ }
15
+ export interface MoveToFolderDialogProps {
16
+ open: boolean;
17
+ onClose: () => void;
18
+ /** What is being moved, shown as a badge: a folder name or "3 selected". */
19
+ subject: string;
20
+ /** Screen-reader description. */
21
+ description: string;
22
+ /** The folder picker (the host owns the folder tree and search). */
23
+ children: ReactNode;
24
+ canConfirm: boolean;
25
+ isSubmitting?: boolean;
26
+ onConfirm: () => void;
27
+ labels?: Partial<MoveToFolderLabels>;
28
+ /** Overrides for the test ids (defaults keep the current ids). */
29
+ testIds?: Partial<MoveToFolderTestIds>;
30
+ }
31
+ /** "Move to folder" dialog shell: header with subject badge, picker slot, Cancel + Move. */
32
+ export declare function MoveToFolderDialog({ open, onClose, subject, description, children, canConfirm, isSubmitting, onConfirm, labels, testIds, }: MoveToFolderDialogProps): import("react").JSX.Element;
@@ -0,0 +1,72 @@
1
+ import type { ComponentPropsWithoutRef, ReactNode, Ref } from 'react';
2
+ /** Every fixed string of the redline parts. Pass a partial `labels` to translate or reword. */
3
+ export interface RedlineLabels {
4
+ flipComparison: string;
5
+ noDocument: string;
6
+ noChangesYet: string;
7
+ identical: string;
8
+ unavailable: string;
9
+ revertMove: string;
10
+ revertReplace: string;
11
+ revertAdd: string;
12
+ revertRemove: string;
13
+ }
14
+ export declare const DEFAULT_REDLINE_LABELS: RedlineLabels;
15
+ export type RedlineRegionKind = 'replace' | 'remove' | 'add' | 'move';
16
+ export interface RedlineFrameProps {
17
+ /** Optional header row (see RedlineHeader). */
18
+ header?: ReactNode;
19
+ children: ReactNode;
20
+ }
21
+ /** Column shell for a redline: optional header, scrolling body. */
22
+ export declare function RedlineFrame({ header, children }: RedlineFrameProps): import("react").JSX.Element;
23
+ export interface RedlineHeaderProps {
24
+ /** The base document pill. */
25
+ base: ReactNode;
26
+ /** The compared document pill. */
27
+ compare?: ReactNode;
28
+ onFlip: () => void;
29
+ labels?: Partial<RedlineLabels>;
30
+ }
31
+ /** "Base ⇄ Compare" row with the flip control. */
32
+ export declare function RedlineHeader({ base, compare, onFlip, labels }: RedlineHeaderProps): import("react").JSX.Element;
33
+ export type RedlineStatusKind = 'idle' | 'identical' | 'unavailable';
34
+ /** A centred status line for the redline body (nothing to diff). */
35
+ export declare function RedlineStatus({ kind, reviewMode, labels, }: {
36
+ kind: RedlineStatusKind;
37
+ /** Accept/reject mode: "identical" means no edits yet. */
38
+ reviewMode?: boolean;
39
+ labels?: Partial<RedlineLabels>;
40
+ }): import("react").JSX.Element;
41
+ /** Centres a loading indicator while the diff computes. */
42
+ export declare function RedlineComputing({ children }: {
43
+ children: ReactNode;
44
+ }): import("react").JSX.Element;
45
+ export interface RedlineDocumentProps {
46
+ /** Rendered redline markdown. */
47
+ children: ReactNode;
48
+ /** Ref to the rendered body (the host measures change positions from it). */
49
+ bodyRef?: Ref<HTMLDivElement>;
50
+ /** Margin gutter (revert buttons) shown in accept/reject mode. */
51
+ gutter?: ReactNode;
52
+ }
53
+ export declare function RedlineDocument({ children, bodyRef, gutter }: RedlineDocumentProps): import("react").JSX.Element;
54
+ /** `<del>` / `<ins>` for the markdown renderer: red strike, blue underline, green for moves. */
55
+ export declare function RedlineMark({ as: Tag, isMove, children, ...props }: (ComponentPropsWithoutRef<'del'> | ComponentPropsWithoutRef<'ins'>) & {
56
+ as: 'del' | 'ins';
57
+ isMove: boolean;
58
+ }): import("react").JSX.Element;
59
+ export interface RedlineMarkerView {
60
+ cid: string;
61
+ /** Vertical offset in px, already spaced so buttons never overlap. */
62
+ top: number;
63
+ kind: RedlineRegionKind;
64
+ }
65
+ /** One undo button per change, aligned with the change in the margin. */
66
+ export declare function RedlineRevertGutter({ markers, onRevert, labels, testId, }: {
67
+ markers: RedlineMarkerView[];
68
+ onRevert: (cid: string) => void;
69
+ labels?: Partial<RedlineLabels>;
70
+ /** Replaces the whole `redline-revert-<cid>` id. */
71
+ testId?: (cid: string) => string;
72
+ }): import("react").JSX.Element | null;
@@ -0,0 +1,65 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { LucideIcon } from 'lucide-react';
3
+ export interface SelectionBarActionItem {
4
+ id: string;
5
+ icon: LucideIcon;
6
+ label: string;
7
+ onClick: () => void;
8
+ disabled?: boolean;
9
+ variant?: 'default' | 'outline' | 'destructive' | 'ghost' | 'secondary';
10
+ /** Tooltip text; falls back to `label`. */
11
+ tooltip?: string;
12
+ testId?: string;
13
+ className?: string;
14
+ }
15
+ /** Every fixed string of the selection bar. Pass a partial `labels` to translate or reword. */
16
+ export interface SelectionBarLabels {
17
+ selected: string;
18
+ clearSelection: string;
19
+ review: string;
20
+ selectionActions: string;
21
+ }
22
+ export declare const DEFAULT_SELECTION_BAR_LABELS: SelectionBarLabels;
23
+ export interface SelectionBarTestIds {
24
+ toolbar: string;
25
+ count: string;
26
+ clear: string;
27
+ review: string;
28
+ }
29
+ export interface SelectionBarProps {
30
+ /** Number of selected rows. The bar renders only while this is > 0 (or `status` is set). */
31
+ count: number;
32
+ onClear: () => void;
33
+ /** Primary-in-bar "Review" shortcut (tonal, not the view's filled primary). */
34
+ onReview?: () => void;
35
+ /** Actions as data. Rendered icon-only automatically when the bar is narrow. */
36
+ actions?: SelectionBarActionItem[];
37
+ /**
38
+ * Free-form actions; a function receives `isCompact` (icon-only) and `isNarrow` (a phone-width
39
+ * container: fold secondary actions into an overflow menu). Rendered after `actions`.
40
+ */
41
+ children?: ReactNode | ((isCompact: boolean, isNarrow: boolean) => ReactNode);
42
+ /** Always-legible content before the actions (e.g. a running budget); never dimmed. */
43
+ status?: ReactNode;
44
+ /** Singular noun shown after the count; wins over `labels.selected`. */
45
+ selectedLabel?: string;
46
+ labels?: Partial<SelectionBarLabels>;
47
+ /** Overrides for the control test ids (defaults keep the current ids). */
48
+ testIds?: Partial<SelectionBarTestIds>;
49
+ className?: string;
50
+ }
51
+ /**
52
+ * SelectionBar: the floating bar that appears while rows are selected.
53
+ *
54
+ * Stays on ONE row: when the actions overflow it flips to compact mode (icon-only actions and a
55
+ * count-only badge) instead of wrapping. Sticky zero-height anchor, so showing/hiding it never
56
+ * reflows the content beneath. Every control is always visible (nothing hover-only) and 44px on
57
+ * coarse pointers.
58
+ */
59
+ export declare function SelectionBar(props: SelectionBarProps): import("react").JSX.Element | null;
60
+ export interface SelectionBarActionProps extends Omit<SelectionBarActionItem, 'id'> {
61
+ /** Icon-only (the bar passes this when narrow). */
62
+ isCompact?: boolean;
63
+ }
64
+ /** One action button in the bar: icon + label, icon-only when compact, always with a tooltip. */
65
+ export declare function SelectionBarAction({ icon: Icon, label, onClick, disabled, variant, tooltip, testId, className, isCompact, }: SelectionBarActionProps): import("react").JSX.Element;
@@ -0,0 +1,23 @@
1
+ import type { ReactNode } from 'react';
2
+ import { type Tone } from '../components/tones';
3
+ /** The shared tone vocabulary (see `components/tones`). */
4
+ export type StatusTone = Tone;
5
+ export interface StatusPillProps {
6
+ tone?: StatusTone;
7
+ /** Leading glyph. With no `label` the pill is a glyph-only chip. */
8
+ icon?: ReactNode;
9
+ label?: ReactNode;
10
+ /** Adds a thin bar under the label (queued = still, processing = animated). */
11
+ progress?: 'queued' | 'processing';
12
+ /** Native tooltip and accessible name for glyph-only pills. */
13
+ title?: string;
14
+ /** Makes the pill a button (stops row-click propagation). */
15
+ onClick?: () => void;
16
+ testId?: string;
17
+ className?: string;
18
+ }
19
+ /**
20
+ * A small tinted status chip. Source-agnostic: the host decides tone, glyph and copy from its
21
+ * own status model; the block only owns the look, the touch target and the keyboard path.
22
+ */
23
+ export declare function StatusPill({ tone, icon, label, progress, title, onClick, testId, className, }: StatusPillProps): import("react").JSX.Element;
@@ -0,0 +1,60 @@
1
+ import type { ReactNode } from 'react';
2
+ /** Every fixed string of the panel. Pass a partial `labels` to translate or reword. */
3
+ export interface TagPassagePanelLabels {
4
+ title: string;
5
+ page: (n: number) => string;
6
+ close: string;
7
+ empty: string;
8
+ viewTagged: string;
9
+ notePlaceholder: string;
10
+ cancel: string;
11
+ save: string;
12
+ addNote: string;
13
+ createField: string;
14
+ }
15
+ export declare const DEFAULT_TAG_PASSAGE_PANEL_LABELS: TagPassagePanelLabels;
16
+ export interface TagPassagePanelTestIds {
17
+ root: string;
18
+ close: string;
19
+ viewTagged: string;
20
+ }
21
+ export interface PassageTagRowView {
22
+ id: string;
23
+ /** Fill colour of the checkbox (dynamic, per label). */
24
+ color: string;
25
+ isApplied: boolean;
26
+ /** The tag badge (host renders its entity). */
27
+ badge: ReactNode;
28
+ /** The saved note on this passage's application of the tag. */
29
+ note?: string | null;
30
+ }
31
+ export interface PassageTagGroupView {
32
+ id: string;
33
+ title: string;
34
+ tags: PassageTagRowView[];
35
+ }
36
+ export interface TagPassagePanelProps {
37
+ pageNumber?: number;
38
+ /** Truncated passage text shown under the header. */
39
+ preview: string;
40
+ groups: PassageTagGroupView[];
41
+ /** No tags exist yet (shows the empty state). */
42
+ isEmpty: boolean;
43
+ isBusy: boolean;
44
+ /** The tag whose note is open for editing, and its draft. */
45
+ editingNoteTagId: string | null;
46
+ noteValue: string;
47
+ onNoteChange: (value: string) => void;
48
+ onToggle: (tagId: string) => void;
49
+ onViewTagged?: (tagId: string) => void;
50
+ onStartNote: (tagId: string) => void;
51
+ onSaveNote: (tagId: string) => void;
52
+ onCancelNote: () => void;
53
+ onCreate: () => void;
54
+ onClose: () => void;
55
+ labels?: Partial<TagPassagePanelLabels>;
56
+ /** Overrides for the test ids (defaults keep the current ids). */
57
+ testIds?: Partial<TagPassagePanelTestIds>;
58
+ }
59
+ /** Side panel to apply labels (and per-passage notes) to one passage of a document. */
60
+ export declare function TagPassagePanel({ pageNumber, preview, groups, isEmpty, isBusy, editingNoteTagId, noteValue, onNoteChange, onToggle, onViewTagged, onStartNote, onSaveNote, onCancelNote, onCreate, onClose, labels, testIds, }: TagPassagePanelProps): import("react").JSX.Element;
@@ -0,0 +1,33 @@
1
+ import type { LucideIcon } from 'lucide-react';
2
+ export interface UploadDropzoneProps {
3
+ /** Called with the chosen/dropped files. */
4
+ onFiles: (files: File[]) => void;
5
+ /** `accept` attribute for the file picker (e.g. `.pdf,.docx`). */
6
+ accept?: string;
7
+ /** Allow selecting more than one file. Defaults to true. */
8
+ multiple?: boolean;
9
+ /** Disables picking/dropping (e.g. no active workspace yet). */
10
+ disabled?: boolean;
11
+ /** Shows a spinner + busy copy while an upload is in flight. */
12
+ uploading?: boolean;
13
+ /** Primary line, e.g. "Drag files here". */
14
+ title?: string;
15
+ /** Secondary line under the title. */
16
+ description?: string;
17
+ /** Small muted hint, e.g. "PDF, DOCX, images — up to 50MB". */
18
+ hint?: string;
19
+ /** Copy shown next to the spinner while uploading. */
20
+ uploadingLabel?: string;
21
+ /** Glyph in the tile. Defaults to an upload-cloud icon. */
22
+ icon?: LucideIcon;
23
+ testId?: string;
24
+ className?: string;
25
+ }
26
+ /**
27
+ * A themeable drag-and-drop upload target. Source-agnostic: it just surfaces
28
+ * chosen files via `onFiles` — the host owns the actual upload. Handles its own
29
+ * drag-over state, click-to-browse, and a busy state, styled with the kit's
30
+ * SEMANTIC tokens only (border, muted, primary, foreground) so it renders in
31
+ * each host's colours.
32
+ */
33
+ export declare function UploadDropzone({ onFiles, accept, multiple, disabled, uploading, title, description, hint, uploadingLabel, icon: Icon, testId, className, }: UploadDropzoneProps): import("react").JSX.Element;
@@ -0,0 +1,59 @@
1
+ import type { ReactNode } from 'react';
2
+ /** Every fixed string of the upload footer. Pass a partial `labels` to translate or reword. */
3
+ export interface UploadFooterLabels {
4
+ skipDuplicates: string;
5
+ skipDuplicatesActive: string;
6
+ skipDuplicatesInactive: string;
7
+ autoRename: string;
8
+ autoRenameActive: string;
9
+ autoRenameInactive: string;
10
+ titleInstruction: string;
11
+ titleInstructionPlaceholder: string;
12
+ }
13
+ export declare const DEFAULT_UPLOAD_FOOTER_LABELS: UploadFooterLabels;
14
+ export interface UploadFooterTestIds {
15
+ bar: string;
16
+ skipDuplicates: string;
17
+ autoRename: string;
18
+ settingsPanel: string;
19
+ instruction: string;
20
+ }
21
+ export declare function UploadContainer({ children, className, testId, }: {
22
+ children: ReactNode;
23
+ className?: string;
24
+ /** Overrides the root test id (default `upload-container`). */
25
+ testId?: string;
26
+ }): import("react").JSX.Element;
27
+ export interface UploadShareNoteProps {
28
+ /** What the current choice means, e.g. "Uploaded documents will be shared with this workspace". */
29
+ description: string;
30
+ /** The visibility toggle itself (the host owns it). */
31
+ children: ReactNode;
32
+ /** Compact: a tooltip on the toggle. Otherwise a tonal card with the text beneath it. */
33
+ compact?: boolean;
34
+ /** Overrides the wrapper test id (default `share-toggle`). */
35
+ testId?: string;
36
+ }
37
+ /** Wraps the upload visibility toggle with its explanation (tooltip when compact, text otherwise). */
38
+ export declare function UploadShareNote({ description, children, compact, testId, }: UploadShareNoteProps): import("react").JSX.Element;
39
+ export interface UploadFooterBarProps {
40
+ skipDuplicates: boolean;
41
+ onSkipDuplicatesChange: (value: boolean) => void;
42
+ autoRename: boolean;
43
+ onAutoRenameChange: (value: boolean) => void;
44
+ autoRenameInstruction: string;
45
+ onAutoRenameInstructionChange: (value: string) => void;
46
+ /** The visibility toggle, right-aligned before the submit button. */
47
+ shareToggle?: ReactNode;
48
+ /** The Upload submit button (the view's ONE primary action). */
49
+ children: ReactNode;
50
+ className?: string;
51
+ labels?: Partial<UploadFooterLabels>;
52
+ testIds?: Partial<UploadFooterTestIds>;
53
+ }
54
+ /**
55
+ * The upload action footer: everyday toggles next to the submit button
56
+ * (`[Skip duplicates] [Auto-rename] ... [Visibility] [Upload N]`). When Auto-rename is on, its
57
+ * title instruction drops in just below.
58
+ */
59
+ export declare function UploadFooterBar({ skipDuplicates, onSkipDuplicatesChange, autoRename, onAutoRenameChange, autoRenameInstruction, onAutoRenameInstructionChange, shareToggle, children, className, labels, testIds, }: UploadFooterBarProps): import("react").JSX.Element;
@@ -0,0 +1,78 @@
1
+ import type { ReactNode } from 'react';
2
+ /** Every fixed string of the upload parts. Pass a partial `labels` to translate or reword. */
3
+ export interface UploadPartsLabels {
4
+ /** Heading per rejection reason (`too_large`, `unsupported`, `empty`, `no_extension`, `empty_zip`, `zip_error`). */
5
+ rejectedReasons: Record<string, string>;
6
+ rejectedFallback: string;
7
+ clearRejected: string;
8
+ selectedFiles: (count: number) => string;
9
+ total: (size: string) => string;
10
+ clearAll: string;
11
+ remove: (fileName: string) => string;
12
+ uploadComplete: (entity: string) => string;
13
+ uploading: (count: number, entity: string) => string;
14
+ uploadedIndexing: string;
15
+ afterUpload: string;
16
+ }
17
+ export declare const DEFAULT_UPLOAD_PARTS_LABELS: UploadPartsLabels;
18
+ /** Compact tinted error for the upload flow (status tone, not a boxed banner). */
19
+ export declare function UploadErrorMessage({ message, className, testId, }: {
20
+ message: string;
21
+ className?: string;
22
+ /** Overrides the root test id (default `error-message`). */
23
+ testId?: string;
24
+ }): import("react").JSX.Element;
25
+ export interface RejectedFile {
26
+ name: string;
27
+ reason?: string;
28
+ }
29
+ export interface RejectedFilesListProps {
30
+ /** Plain names are treated as "unsupported". */
31
+ files: (string | RejectedFile)[];
32
+ onClear: () => void;
33
+ labels?: Partial<UploadPartsLabels>;
34
+ testIds?: Partial<RejectedFilesTestIds>;
35
+ }
36
+ export interface RejectedFilesTestIds {
37
+ root: string;
38
+ clear: string;
39
+ /** Replaces the whole `rejected-file-item-<group>-<index>` id. */
40
+ item: (groupIndex: number, index: number) => string;
41
+ }
42
+ /** Files that cannot be uploaded, grouped by rejection reason. */
43
+ export declare function RejectedFilesList({ files, onClear, labels, testIds }: RejectedFilesListProps): import("react").JSX.Element | null;
44
+ export interface SelectedFilesListProps {
45
+ files: File[];
46
+ onRemoveFile: (index: number) => void;
47
+ onClearAll?: () => void;
48
+ formatFileSize: (bytes: number) => string;
49
+ /** File-type glyph for a file name (the host owns its icon set). */
50
+ renderFileIcon: (fileName: string) => ReactNode;
51
+ labels?: Partial<UploadPartsLabels>;
52
+ testIds?: Partial<SelectedFilesTestIds>;
53
+ }
54
+ export interface SelectedFilesTestIds {
55
+ root: string;
56
+ clearAll: string;
57
+ /** Replaces the whole `selected-file-item-<index>` id. */
58
+ item: (index: number) => string;
59
+ /** Replaces the whole `remove-file-button-<index>` id. */
60
+ remove: (index: number) => string;
61
+ }
62
+ /** The files chosen for upload, with total size, per-file remove and Clear All. */
63
+ export declare function SelectedFilesList({ files, onRemoveFile, onClearAll, formatFileSize, renderFileIcon, labels, testIds, }: SelectedFilesListProps): import("react").JSX.Element | null;
64
+ export interface UploadProgressProps {
65
+ fileCount: number;
66
+ entityLabel: string;
67
+ percentage: number;
68
+ /** Multi-batch uploads draw a tick between batches on the bar. */
69
+ batchInfo?: {
70
+ current: number;
71
+ total: number;
72
+ } | null;
73
+ labels?: Partial<UploadPartsLabels>;
74
+ /** Overrides the root test id (default `upload-progress`). */
75
+ testId?: string;
76
+ }
77
+ /** Determinate upload bar with the copy for in-flight and complete states. */
78
+ export declare function UploadProgress({ fileCount, entityLabel, percentage, batchInfo, labels, testId, }: UploadProgressProps): import("react").JSX.Element;