@arbidocs/blocks 0.3.185 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (612) hide show
  1. package/README.md +122 -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-2K33YGM6.cjs +1846 -0
  99. package/dist/chunk-2K33YGM6.cjs.map +1 -0
  100. package/dist/chunk-2ORA62OF.js +266 -0
  101. package/dist/chunk-2ORA62OF.js.map +1 -0
  102. package/dist/chunk-4EZVCGRL.js +803 -0
  103. package/dist/chunk-4EZVCGRL.js.map +1 -0
  104. package/dist/chunk-54Q3RNJU.cjs +516 -0
  105. package/dist/chunk-54Q3RNJU.cjs.map +1 -0
  106. package/dist/chunk-5B4PXAKI.cjs +287 -0
  107. package/dist/chunk-5B4PXAKI.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-FZ2S6VAZ.js → chunk-6P6AEQJB.js} +413 -1132
  111. package/dist/chunk-6P6AEQJB.js.map +1 -0
  112. package/dist/chunk-76JDDMSP.js +31 -0
  113. package/dist/chunk-76JDDMSP.js.map +1 -0
  114. package/dist/chunk-7F6CBP3Z.js +12 -0
  115. package/dist/chunk-7F6CBP3Z.js.map +1 -0
  116. package/dist/chunk-7G2LJMUG.cjs +45 -0
  117. package/dist/chunk-7G2LJMUG.cjs.map +1 -0
  118. package/dist/chunk-7PEELPMA.js +1799 -0
  119. package/dist/chunk-7PEELPMA.js.map +1 -0
  120. package/dist/chunk-A2YAC22G.js +93 -0
  121. package/dist/chunk-A2YAC22G.js.map +1 -0
  122. package/dist/chunk-ADOKTJHV.cjs +262 -0
  123. package/dist/chunk-ADOKTJHV.cjs.map +1 -0
  124. package/dist/chunk-AE5FHFZ5.cjs +272 -0
  125. package/dist/chunk-AE5FHFZ5.cjs.map +1 -0
  126. package/dist/chunk-AXIZ2MDV.js +751 -0
  127. package/dist/chunk-AXIZ2MDV.js.map +1 -0
  128. package/dist/chunk-AZQDNYH4.js +2865 -0
  129. package/dist/chunk-AZQDNYH4.js.map +1 -0
  130. package/dist/chunk-C54XEN5T.cjs +34 -0
  131. package/dist/chunk-C54XEN5T.cjs.map +1 -0
  132. package/dist/chunk-CQCC7LE7.js +210 -0
  133. package/dist/chunk-CQCC7LE7.js.map +1 -0
  134. package/dist/chunk-CRIKTUEU.cjs +47 -0
  135. package/dist/chunk-CRIKTUEU.cjs.map +1 -0
  136. package/dist/chunk-CTZ5745I.js +564 -0
  137. package/dist/chunk-CTZ5745I.js.map +1 -0
  138. package/dist/chunk-DPLRHEJZ.js +78 -0
  139. package/dist/chunk-DPLRHEJZ.js.map +1 -0
  140. package/dist/{chunk-DBAUZD7A.cjs → chunk-DREI7EQ2.cjs} +437 -1152
  141. package/dist/chunk-DREI7EQ2.cjs.map +1 -0
  142. package/dist/chunk-ELR74ME6.cjs +68 -0
  143. package/dist/chunk-ELR74ME6.cjs.map +1 -0
  144. package/dist/chunk-G3G7LZPM.cjs +205 -0
  145. package/dist/chunk-G3G7LZPM.cjs.map +1 -0
  146. package/dist/chunk-GDFWJ73C.cjs +2973 -0
  147. package/dist/chunk-GDFWJ73C.cjs.map +1 -0
  148. package/dist/chunk-ITGHMJOM.js +5528 -0
  149. package/dist/chunk-ITGHMJOM.js.map +1 -0
  150. package/dist/chunk-J2BGSWXM.cjs +990 -0
  151. package/dist/chunk-J2BGSWXM.cjs.map +1 -0
  152. package/dist/chunk-K4BGOPGG.js +79 -0
  153. package/dist/chunk-K4BGOPGG.js.map +1 -0
  154. package/dist/chunk-LGBAZD37.js +341 -0
  155. package/dist/chunk-LGBAZD37.js.map +1 -0
  156. package/dist/chunk-LRUCMZK6.cjs +680 -0
  157. package/dist/chunk-LRUCMZK6.cjs.map +1 -0
  158. package/dist/chunk-MHVNT4J3.cjs +15 -0
  159. package/dist/chunk-MHVNT4J3.cjs.map +1 -0
  160. package/dist/chunk-NBV56SGU.js +42 -0
  161. package/dist/chunk-NBV56SGU.js.map +1 -0
  162. package/dist/chunk-NPLYHR2E.js +13 -0
  163. package/dist/chunk-NPLYHR2E.js.map +1 -0
  164. package/dist/chunk-NUNKSZKU.js +203 -0
  165. package/dist/chunk-NUNKSZKU.js.map +1 -0
  166. package/dist/chunk-OB5F4577.cjs +40 -0
  167. package/dist/chunk-OB5F4577.cjs.map +1 -0
  168. package/dist/chunk-OBLSURHV.js +973 -0
  169. package/dist/chunk-OBLSURHV.js.map +1 -0
  170. package/dist/chunk-OUW6G4O2.cjs +96 -0
  171. package/dist/chunk-OUW6G4O2.cjs.map +1 -0
  172. package/dist/chunk-OVEQERPO.js +66 -0
  173. package/dist/chunk-OVEQERPO.js.map +1 -0
  174. package/dist/chunk-P6GHJSLR.js +34 -0
  175. package/dist/chunk-P6GHJSLR.js.map +1 -0
  176. package/dist/chunk-PCB2BPN3.cjs +41 -0
  177. package/dist/chunk-PCB2BPN3.cjs.map +1 -0
  178. package/dist/chunk-PPCATBOY.cjs +15 -0
  179. package/dist/chunk-PPCATBOY.cjs.map +1 -0
  180. package/dist/chunk-QN42OA5J.js +887 -0
  181. package/dist/chunk-QN42OA5J.js.map +1 -0
  182. package/dist/chunk-QXEJXIP4.js +675 -0
  183. package/dist/chunk-QXEJXIP4.js.map +1 -0
  184. package/dist/chunk-RC6VTY2H.js +47 -0
  185. package/dist/chunk-RC6VTY2H.js.map +1 -0
  186. package/dist/chunk-RFIBUWLF.cjs +232 -0
  187. package/dist/chunk-RFIBUWLF.cjs.map +1 -0
  188. package/dist/chunk-S7PSMMRG.js +38 -0
  189. package/dist/chunk-S7PSMMRG.js.map +1 -0
  190. package/dist/chunk-SCFYPAG6.cjs +18 -0
  191. package/dist/chunk-SCFYPAG6.cjs.map +1 -0
  192. package/dist/chunk-SYDHKKRZ.cjs +818 -0
  193. package/dist/chunk-SYDHKKRZ.cjs.map +1 -0
  194. package/dist/chunk-TX2ZICS7.js +139 -0
  195. package/dist/chunk-TX2ZICS7.js.map +1 -0
  196. package/dist/chunk-TYZUCAT7.js +787 -0
  197. package/dist/chunk-TYZUCAT7.js.map +1 -0
  198. package/dist/chunk-U2E3WT3J.js +45 -0
  199. package/dist/chunk-U2E3WT3J.js.map +1 -0
  200. package/dist/chunk-UBNVIIBT.js +284 -0
  201. package/dist/chunk-UBNVIIBT.js.map +1 -0
  202. package/dist/chunk-UFHMLHIR.cjs +66 -0
  203. package/dist/chunk-UFHMLHIR.cjs.map +1 -0
  204. package/dist/chunk-UJE32SST.js +39 -0
  205. package/dist/chunk-UJE32SST.js.map +1 -0
  206. package/dist/chunk-ULWRNGGE.cjs +146 -0
  207. package/dist/chunk-ULWRNGGE.cjs.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 +35 -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 +54 -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 +30 -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/editorial/ArticleList.d.ts +32 -0
  314. package/dist/components/editorial/Bands.d.ts +29 -0
  315. package/dist/components/editorial/EditorialHeading.d.ts +17 -0
  316. package/dist/components/editorial/EditorialHero.d.ts +46 -0
  317. package/dist/components/editorial/EditorialSection.d.ts +47 -0
  318. package/dist/components/editorial/Eyebrow.d.ts +14 -0
  319. package/dist/components/editorial/PanelGrid.d.ts +45 -0
  320. package/dist/components/editorial/ProfileCard.d.ts +27 -0
  321. package/dist/components/editorial/PullQuote.d.ts +17 -0
  322. package/dist/components/editorial/Reveal.d.ts +15 -0
  323. package/dist/components/editorial/index.d.ts +12 -0
  324. package/dist/components/editorial/lists.d.ts +42 -0
  325. package/dist/components/editorial/tone.d.ts +33 -0
  326. package/dist/components/tones.d.ts +14 -0
  327. package/dist/connect/index.cjs +65 -0
  328. package/dist/connect/index.cjs.map +1 -0
  329. package/dist/connect/index.d.ts +8 -0
  330. package/dist/connect/index.js +28 -0
  331. package/dist/connect/index.js.map +1 -0
  332. package/dist/connection/ArbiAppProvider.d.ts +16 -0
  333. package/dist/connection/ConnectionProvider.d.ts +50 -0
  334. package/dist/connection/ai.d.ts +99 -0
  335. package/dist/connection/types.d.ts +54 -0
  336. package/dist/connection/useImageGen.d.ts +22 -0
  337. package/dist/facts/FactComposer.d.ts +75 -0
  338. package/dist/facts/FactDateInput.d.ts +34 -0
  339. package/dist/facts/FactLabelsCell.d.ts +35 -0
  340. package/dist/facts/FactPassages.d.ts +52 -0
  341. package/dist/facts/FactRowActions.d.ts +18 -0
  342. package/dist/facts/FactSearchParts.d.ts +80 -0
  343. package/dist/facts/FactSourceGroup.d.ts +26 -0
  344. package/dist/facts/FactTimelineViews.d.ts +37 -0
  345. package/dist/facts/FactsBulkBar.d.ts +53 -0
  346. package/dist/facts/FactsEmptyState.d.ts +38 -0
  347. package/dist/facts/FactsFieldsButton.d.ts +21 -0
  348. package/dist/facts/FactsFilterInput.d.ts +46 -0
  349. package/dist/facts/FactsTable.d.ts +28 -0
  350. package/dist/facts/FactsToolbar.d.ts +53 -0
  351. package/dist/facts/FactsViewToggle.d.ts +38 -0
  352. package/dist/facts/fact-date.d.ts +22 -0
  353. package/dist/facts/fact-row.d.ts +32 -0
  354. package/dist/facts/fact-text.d.ts +14 -0
  355. package/dist/facts/factColumns.d.ts +88 -0
  356. package/dist/facts/index.cjs +2401 -0
  357. package/dist/facts/index.cjs.map +1 -0
  358. package/dist/facts/index.d.ts +35 -0
  359. package/dist/facts/index.js +2343 -0
  360. package/dist/facts/index.js.map +1 -0
  361. package/dist/facts/timezone.d.ts +4 -0
  362. package/dist/files/AiReviewDialog.d.ts +77 -0
  363. package/dist/files/DocStatusIcon.d.ts +12 -0
  364. package/dist/files/DocumentGrid.d.ts +27 -0
  365. package/dist/files/Explorer.d.ts +10 -0
  366. package/dist/files/ExplorerSurface.d.ts +34 -0
  367. package/dist/files/ExplorerTile.d.ts +142 -0
  368. package/dist/files/ExportParts.d.ts +114 -0
  369. package/dist/files/FieldParts.d.ts +64 -0
  370. package/dist/files/FilesPage.d.ts +20 -0
  371. package/dist/files/FilesToolbar.d.ts +59 -0
  372. package/dist/files/FolderPicker.d.ts +82 -0
  373. package/dist/files/GridView.d.ts +59 -0
  374. package/dist/files/HtmlViewerParts.d.ts +183 -0
  375. package/dist/files/MoveToFolderDialog.d.ts +32 -0
  376. package/dist/files/RedlineParts.d.ts +72 -0
  377. package/dist/files/SelectionBar.d.ts +65 -0
  378. package/dist/files/StatusPill.d.ts +23 -0
  379. package/dist/files/TagPassagePanel.d.ts +60 -0
  380. package/dist/files/UploadDropzone.d.ts +33 -0
  381. package/dist/files/UploadFooter.d.ts +59 -0
  382. package/dist/files/UploadParts.d.ts +78 -0
  383. package/dist/files/UploadSources.d.ts +77 -0
  384. package/dist/files/VersionTimeline.d.ts +60 -0
  385. package/dist/files/ViewToggle.d.ts +53 -0
  386. package/dist/files/ViewerChrome.d.ts +152 -0
  387. package/dist/files/ViewerLayout.d.ts +32 -0
  388. package/dist/files/ViewerParts.d.ts +62 -0
  389. package/dist/files/bulk/BulkActionsBar.d.ts +76 -0
  390. package/dist/files/bulk/FolderFilterButton.d.ts +35 -0
  391. package/dist/files/bulk/index.d.ts +2 -0
  392. package/dist/files/cells/DocumentNameCell.d.ts +31 -0
  393. package/dist/files/cells/FolderCell.d.ts +25 -0
  394. package/dist/files/cells/HoverIconCell.d.ts +21 -0
  395. package/dist/files/cells/LabelMultiSelect.d.ts +50 -0
  396. package/dist/files/cells/RelatedDocsCell.d.ts +22 -0
  397. package/dist/files/cells/TagColumnParts.d.ts +29 -0
  398. package/dist/files/cells/index.d.ts +6 -0
  399. package/dist/files/documentGridLayout.d.ts +31 -0
  400. package/dist/files/grid-test-ids.d.ts +18 -0
  401. package/dist/files/import/CalendarImportRow.d.ts +26 -0
  402. package/dist/files/import/ImportParts.d.ts +114 -0
  403. package/dist/files/import/TaskSection.d.ts +51 -0
  404. package/dist/files/import/UrlInputDialogView.d.ts +63 -0
  405. package/dist/files/import/VendorLogo.d.ts +15 -0
  406. package/dist/files/import/index.d.ts +5 -0
  407. package/dist/files/index.cjs +7555 -0
  408. package/dist/files/index.cjs.map +1 -0
  409. package/dist/files/index.d.ts +34 -0
  410. package/dist/files/index.js +7340 -0
  411. package/dist/files/index.js.map +1 -0
  412. package/dist/files/page/FilesAddMenu.d.ts +30 -0
  413. package/dist/files/page/FilesPageParts.d.ts +24 -0
  414. package/dist/files/page/FilesPageTitle.d.ts +24 -0
  415. package/dist/files/page/index.d.ts +3 -0
  416. package/dist/files/tags/BulkTagEditor.d.ts +136 -0
  417. package/dist/files/tags/DocTagPopover.d.ts +113 -0
  418. package/dist/files/tags/TagManager.d.ts +54 -0
  419. package/dist/files/tags/index.d.ts +3 -0
  420. package/dist/files/views/FieldsEditorParts.d.ts +151 -0
  421. package/dist/files/views/FieldsManagerParts.d.ts +17 -0
  422. package/dist/files/views/TagFormParts.d.ts +109 -0
  423. package/dist/files/views/ViewSelectorMenu.d.ts +66 -0
  424. package/dist/files/views/fieldsEditorModel.d.ts +43 -0
  425. package/dist/files/views/index.d.ts +5 -0
  426. package/dist/home/ActionMenuDialog.d.ts +26 -0
  427. package/dist/home/AddFilesFirst.d.ts +22 -0
  428. package/dist/home/CardHeaderBar.d.ts +40 -0
  429. package/dist/home/CollapsibleSection.d.ts +43 -0
  430. package/dist/home/CreateTile.d.ts +17 -0
  431. package/dist/home/DashboardParts.d.ts +32 -0
  432. package/dist/home/FactsStrip.d.ts +41 -0
  433. package/dist/home/FoldSection.d.ts +19 -0
  434. package/dist/home/GettingStartedStrip.d.ts +49 -0
  435. package/dist/home/Greeting.d.ts +18 -0
  436. package/dist/home/HomeLayout.d.ts +28 -0
  437. package/dist/home/KeyValueRow.d.ts +43 -0
  438. package/dist/home/ProjectBandParts.d.ts +70 -0
  439. package/dist/home/QuickActionDialogHeader.d.ts +21 -0
  440. package/dist/home/RecentList.d.ts +48 -0
  441. package/dist/home/ScopePicker.d.ts +65 -0
  442. package/dist/home/StartTiles.d.ts +33 -0
  443. package/dist/home/index.cjs +854 -0
  444. package/dist/home/index.cjs.map +1 -0
  445. package/dist/home/index.d.ts +37 -0
  446. package/dist/home/index.js +763 -0
  447. package/dist/home/index.js.map +1 -0
  448. package/dist/home/sections.d.ts +33 -0
  449. package/dist/index.cjs +1992 -5547
  450. package/dist/index.cjs.map +1 -1
  451. package/dist/index.d.ts +72 -1716
  452. package/dist/index.js +142 -5316
  453. package/dist/index.js.map +1 -1
  454. package/dist/lib/balanced-columns.d.ts +8 -0
  455. package/dist/lib/format.d.ts +37 -0
  456. package/dist/lib/observe-resize.d.ts +6 -0
  457. package/dist/lib/password-strength.d.ts +24 -0
  458. package/dist/lib/sidebar-mode.d.ts +46 -0
  459. package/dist/lib/testid.d.ts +7 -0
  460. package/dist/lib/use-drawer.d.ts +11 -0
  461. package/dist/lib/useControllableState.d.ts +5 -0
  462. package/dist/lib/useDismissibleCard.d.ts +15 -0
  463. package/dist/lib/useListKeyNav.d.ts +42 -0
  464. package/dist/lib/useLongPaste.d.ts +15 -0
  465. package/dist/lib/useRestoreFocus.d.ts +11 -0
  466. package/dist/lib/useScopeSelection.d.ts +34 -0
  467. package/dist/nav/types.d.ts +19 -0
  468. package/dist/provider/BlocksProvider.d.ts +20 -0
  469. package/dist/provider/TooltipScope.d.ts +9 -0
  470. package/dist/record/index.cjs +2 -4
  471. package/dist/record/index.cjs.map +1 -1
  472. package/dist/record/index.d.ts +12 -16
  473. package/dist/record/index.js +2 -4
  474. package/dist/record/index.js.map +1 -1
  475. package/dist/retrieval/HighlightText.d.ts +21 -0
  476. package/dist/retrieval/SearchEmptyState.d.ts +39 -0
  477. package/dist/retrieval/SearchGroupHeader.d.ts +21 -0
  478. package/dist/retrieval/SearchHit.d.ts +36 -0
  479. package/dist/retrieval/SearchPage.d.ts +187 -0
  480. package/dist/retrieval/SearchPagination.d.ts +21 -0
  481. package/dist/retrieval/highlight.d.ts +21 -0
  482. package/dist/retrieval/index.cjs +160 -0
  483. package/dist/retrieval/index.cjs.map +1 -0
  484. package/dist/retrieval/index.d.ts +7 -0
  485. package/dist/retrieval/index.js +7 -0
  486. package/dist/retrieval/index.js.map +1 -0
  487. package/dist/settings/AccountDialogs.d.ts +89 -0
  488. package/dist/settings/AvatarPicker.d.ts +25 -0
  489. package/dist/settings/Billing.d.ts +113 -0
  490. package/dist/settings/ConfigSwitcherBar.d.ts +46 -0
  491. package/dist/settings/ConfirmDialog.d.ts +28 -0
  492. package/dist/settings/ConnectionCard.d.ts +58 -0
  493. package/dist/settings/ConversationSettingsParts.d.ts +53 -0
  494. package/dist/settings/DocumentPicker.d.ts +57 -0
  495. package/dist/settings/EmailWorkspaceDialogView.d.ts +60 -0
  496. package/dist/settings/ErrorDialog.d.ts +36 -0
  497. package/dist/settings/FloatingPanel.d.ts +32 -0
  498. package/dist/settings/JsonTree.d.ts +24 -0
  499. package/dist/settings/LogoutDialog.d.ts +51 -0
  500. package/dist/settings/ModalBreadcrumbHeader.d.ts +32 -0
  501. package/dist/settings/ModalScaffold.d.ts +60 -0
  502. package/dist/settings/MultiSelect.d.ts +111 -0
  503. package/dist/settings/NotificationCategoryList.d.ts +26 -0
  504. package/dist/settings/PanelFrame.d.ts +47 -0
  505. package/dist/settings/PasswordChangeDialog.d.ts +64 -0
  506. package/dist/settings/PlanBadge.d.ts +14 -0
  507. package/dist/settings/PlanCard.d.ts +97 -0
  508. package/dist/settings/PremiumModelsFrame.d.ts +17 -0
  509. package/dist/settings/ProfileCard.d.ts +67 -0
  510. package/dist/settings/Projects.d.ts +108 -0
  511. package/dist/settings/QuotaMeter.d.ts +31 -0
  512. package/dist/settings/ReferralCredit.d.ts +46 -0
  513. package/dist/settings/SegmentedControl.d.ts +20 -0
  514. package/dist/settings/ServerConnectionControls.d.ts +31 -0
  515. package/dist/settings/SettingsPanel.d.ts +61 -0
  516. package/dist/settings/SettingsSwitchRow.d.ts +21 -0
  517. package/dist/settings/SubscriptionParts.d.ts +215 -0
  518. package/dist/settings/SupportPanel.d.ts +32 -0
  519. package/dist/settings/SyncDialogParts.d.ts +155 -0
  520. package/dist/settings/ThreadPreviewDialog.d.ts +18 -0
  521. package/dist/settings/TipsEditorDialog.d.ts +94 -0
  522. package/dist/settings/TriStateFilterMenu.d.ts +66 -0
  523. package/dist/settings/Usage.d.ts +102 -0
  524. package/dist/settings/WelcomeDialog.d.ts +79 -0
  525. package/dist/settings/index.cjs +5131 -0
  526. package/dist/settings/index.cjs.map +1 -0
  527. package/dist/settings/index.d.ts +38 -0
  528. package/dist/settings/index.js +4922 -0
  529. package/dist/settings/index.js.map +1 -0
  530. package/dist/shell/ActionCluster.d.ts +33 -0
  531. package/dist/shell/AskField.d.ts +76 -0
  532. package/dist/shell/InfoBar.d.ts +20 -0
  533. package/dist/shell/MobileBars.d.ts +47 -0
  534. package/dist/shell/OfflinePill.d.ts +28 -0
  535. package/dist/shell/RemoteControlPill.d.ts +23 -0
  536. package/dist/shell/Shell.d.ts +123 -0
  537. package/dist/shell/Sidebar.d.ts +104 -0
  538. package/dist/shell/SidebarBadgeRow.d.ts +29 -0
  539. package/dist/shell/SidebarRowAction.d.ts +24 -0
  540. package/dist/shell/StatusRow.d.ts +20 -0
  541. package/dist/shell/TabHeader.d.ts +70 -0
  542. package/dist/shell/TipCard.d.ts +46 -0
  543. package/dist/shell/ToolButton.d.ts +12 -0
  544. package/dist/shell/Workspace.d.ts +90 -0
  545. package/dist/shell/index.cjs +187 -0
  546. package/dist/shell/index.cjs.map +1 -0
  547. package/dist/shell/index.d.ts +20 -0
  548. package/dist/shell/index.js +10 -0
  549. package/dist/shell/index.js.map +1 -0
  550. package/dist/shell/sidebar-context.d.ts +19 -0
  551. package/dist/shell/types.d.ts +48 -0
  552. package/dist/site/index.cjs +173 -90
  553. package/dist/site/index.d.ts +60 -4
  554. package/dist/site/index.js +8 -1
  555. package/dist/studio/PageRenderer.d.ts +35 -0
  556. package/dist/studio/Section.d.ts +24 -0
  557. package/dist/studio/StudioEditor.d.ts +32 -0
  558. package/dist/studio/aiFields.d.ts +17 -0
  559. package/dist/studio/blockKit.d.ts +36 -0
  560. package/dist/studio/blocksConfig.d.ts +42 -0
  561. package/dist/studio/imageFields.d.ts +14 -0
  562. package/dist/studio/index.cjs +3353 -0
  563. package/dist/studio/index.cjs.map +1 -0
  564. package/dist/studio/index.d.ts +32 -0
  565. package/dist/studio/index.js +3297 -0
  566. package/dist/studio/index.js.map +1 -0
  567. package/dist/studio/liveData.d.ts +4 -0
  568. package/dist/studio/liveWidgetRuntime.d.ts +41 -0
  569. package/dist/studio/persistence.d.ts +38 -0
  570. package/dist/studio/publish.d.ts +39 -0
  571. package/dist/studio/siteBlocks.d.ts +14 -0
  572. package/dist/studio/types.d.ts +46 -0
  573. package/dist/studio/websiteBlocks.d.ts +4 -0
  574. package/dist/studio/widgets.d.ts +20 -0
  575. package/dist/theme/ThemeEditor.d.ts +16 -0
  576. package/dist/theme/fontPairings.d.ts +48 -0
  577. package/dist/theme/store.d.ts +53 -0
  578. package/dist/theme/tokens.d.ts +105 -0
  579. package/dist/timeline/Timeline.d.ts +27 -0
  580. package/dist/timeline/TimelineCalendar.d.ts +54 -0
  581. package/dist/timeline/TimelineGantt.d.ts +71 -0
  582. package/dist/timeline/TimelineZoomControl.d.ts +17 -0
  583. package/dist/timeline/index.cjs +50 -0
  584. package/dist/timeline/index.cjs.map +1 -0
  585. package/dist/timeline/index.d.ts +13 -0
  586. package/dist/timeline/index.js +5 -0
  587. package/dist/timeline/index.js.map +1 -0
  588. package/dist/timeline/span.d.ts +29 -0
  589. package/dist/timeline/types.d.ts +30 -0
  590. package/dist/workspaces/WorkspaceBadges.d.ts +27 -0
  591. package/dist/workspaces/WorkspaceCard.d.ts +142 -0
  592. package/dist/workspaces/WorkspaceFormParts.d.ts +98 -0
  593. package/dist/workspaces/WorkspaceGroup.d.ts +31 -0
  594. package/dist/workspaces/WorkspaceSettingsParts.d.ts +70 -0
  595. package/dist/workspaces/index.cjs +690 -0
  596. package/dist/workspaces/index.cjs.map +1 -0
  597. package/dist/workspaces/index.d.ts +9 -0
  598. package/dist/workspaces/index.js +661 -0
  599. package/dist/workspaces/index.js.map +1 -0
  600. package/package.json +154 -9
  601. package/src/blocks.css +365 -0
  602. package/src/components/grid.css +60 -107
  603. package/src/source.css +20 -0
  604. package/src/studio/studio.css +3 -3
  605. package/src/tokens.css +226 -0
  606. package/dist/chunk-DBAUZD7A.cjs.map +0 -1
  607. package/dist/chunk-FZ2S6VAZ.js.map +0 -1
  608. package/dist/index-DduoEosi.d.cts +0 -846
  609. package/dist/index-DduoEosi.d.ts +0 -846
  610. package/dist/index.d.cts +0 -1717
  611. package/dist/record/index.d.cts +0 -96
  612. package/dist/site/index.d.cts +0 -4
@@ -0,0 +1,108 @@
1
+ import { type ReactNode } from 'react';
2
+ /** Every fixed string of the project list states. */
3
+ export interface ProjectListLabels {
4
+ loading: string;
5
+ empty: string;
6
+ filteredOut: string;
7
+ }
8
+ export declare const DEFAULT_PROJECT_LIST_LABELS: ProjectListLabels;
9
+ /** Every fixed string of the shared-projects section. `title` prop wins. */
10
+ export interface SharedProjectsSectionLabels {
11
+ title: string;
12
+ }
13
+ export declare const DEFAULT_SHARED_PROJECTS_SECTION_LABELS: SharedProjectsSectionLabels;
14
+ /** Every fixed string of the project detail header. */
15
+ export interface ProjectDetailHeaderLabels {
16
+ renameProject: string;
17
+ }
18
+ export declare const DEFAULT_PROJECT_DETAIL_HEADER_LABELS: ProjectDetailHeaderLabels;
19
+ /** Every fixed string of the rename dialog. `title` prop wins. */
20
+ export interface RenameDialogLabels {
21
+ title: string;
22
+ description: string;
23
+ cancel: string;
24
+ save: string;
25
+ }
26
+ export declare const DEFAULT_RENAME_DIALOG_LABELS: RenameDialogLabels;
27
+ export interface ProjectRowProps {
28
+ testId?: string;
29
+ /** Opens the project (click, Enter or Space on the row). */
30
+ onOpen: () => void;
31
+ /** Name + relation mark. */
32
+ identity: ReactNode;
33
+ /** Plan badge beside the name; shown from the `md` breakpoint up. */
34
+ summary?: ReactNode;
35
+ /** Full-width usage readout under the line (a `QuotaMeter size="lg"`). */
36
+ usage?: ReactNode;
37
+ /** Row actions (upgrade, invoices). */
38
+ actions?: ReactNode;
39
+ }
40
+ /** One project in the list: a single clickable line; its actions are always visible. */
41
+ export declare function ProjectRow({ testId, onOpen, identity, summary, usage, actions }: ProjectRowProps): import("react").JSX.Element;
42
+ export interface ProjectListProps {
43
+ isLoading: boolean;
44
+ /** The user owns no projects at all. */
45
+ isEmpty: boolean;
46
+ /** Projects exist but none pass the active filter. */
47
+ isFilteredOut: boolean;
48
+ children: ReactNode;
49
+ testId?: string;
50
+ labels?: Partial<ProjectListLabels>;
51
+ }
52
+ /** The list of projects with its loading / empty / no-match states. */
53
+ export declare function ProjectList({ isLoading, isEmpty, isFilteredOut, children, testId, labels, }: ProjectListProps): import("react").JSX.Element;
54
+ export interface SharedProjectsSectionProps {
55
+ title?: string;
56
+ footnote?: string;
57
+ children: ReactNode;
58
+ testId?: string;
59
+ labels?: Partial<SharedProjectsSectionLabels>;
60
+ }
61
+ /** "Shared with you": projects other people run, with the caller's own allowance in each. */
62
+ export declare function SharedProjectsSection({ title, footnote, children, testId, labels, }: SharedProjectsSectionProps): import("react").JSX.Element;
63
+ /** One shared project: identity on the left, the caller's allowance on the right. */
64
+ export declare function SharedProjectRow({ testId, identity, allowance, }: {
65
+ testId?: string;
66
+ identity: ReactNode;
67
+ allowance: ReactNode;
68
+ }): import("react").JSX.Element;
69
+ export interface ProjectDetailHeaderProps {
70
+ /** Large entity icon. */
71
+ icon: ReactNode;
72
+ name: string;
73
+ /** Plan badge beside the name. */
74
+ badge?: ReactNode;
75
+ onRename: () => void;
76
+ /** The primary action on the right (e.g. "Update Plan"). */
77
+ action?: ReactNode;
78
+ labels?: Partial<ProjectDetailHeaderLabels>;
79
+ }
80
+ /** Header of an opened project: icon, name with a rename pencil, plan badge, primary action. */
81
+ export declare function ProjectDetailHeader({ icon, name, badge, onRename, action, labels, }: ProjectDetailHeaderProps): import("react").JSX.Element;
82
+ /** Tonal tile with a heading inside a project's detail. */
83
+ export declare function ProjectDetailSection({ title, className, children, }: {
84
+ title: string;
85
+ className?: string;
86
+ children: ReactNode;
87
+ }): import("react").JSX.Element;
88
+ export interface RenameDialogProps {
89
+ open: boolean;
90
+ onClose: () => void;
91
+ title?: string;
92
+ value: string;
93
+ onChange: (value: string) => void;
94
+ onSave: () => void;
95
+ isSaving?: boolean;
96
+ /** Test id of the name input. */
97
+ testId?: string;
98
+ /** Test id of the dialog itself. */
99
+ dialogTestId?: string;
100
+ /** Caption above the input (omitted: the input stands alone). */
101
+ fieldLabel?: string;
102
+ placeholder?: string;
103
+ /** Save is disabled while false (e.g. an empty name). Defaults to true. */
104
+ canSave?: boolean;
105
+ labels?: Partial<RenameDialogLabels>;
106
+ }
107
+ /** Single-field rename: Enter saves, Escape cancels. */
108
+ export declare function RenameDialog({ open, onClose, title, value, onChange, onSave, isSaving, testId, dialogTestId, fieldLabel, placeholder, canSave, labels, }: RenameDialogProps): import("react").JSX.Element;
@@ -0,0 +1,31 @@
1
+ import { type ElementType } from 'react';
2
+ export interface QuotaMeterItem {
3
+ key: string;
4
+ icon: ElementType;
5
+ label: string;
6
+ /** Compact display: used only (the limit lives in the tooltip). */
7
+ used: string;
8
+ /** Prominent display: "used / limit". */
9
+ usedOfLimit: string;
10
+ /** 0-100+ percentage of the limit consumed. */
11
+ pct: number;
12
+ }
13
+ export interface QuotaMeterProps {
14
+ items: QuotaMeterItem[];
15
+ /** `sm`: icon + counter row. `lg`: stat tiles with progress bars. */
16
+ size?: 'sm' | 'lg';
17
+ /** Per-item tooltip with used / limit (sm only). Off when a parent owns the tooltip. */
18
+ showTooltips?: boolean;
19
+ /** The usage tint and percentage (sm only). Off on deployments without limits. */
20
+ showBars?: boolean;
21
+ /** The "(pct%)" after each number (sm only). */
22
+ showPercent?: boolean;
23
+ className?: string;
24
+ /**
25
+ * Ids; defaults are the current ids. `root` defaults per size (`quota-badges-lg` / `quota-badges-sm`);
26
+ * `badge` is a prefix (`<prefix>-<key>`, `<prefix>-<key>-fill` for the lg bar).
27
+ */
28
+ testIds?: Partial<Record<'root' | 'badge', string>>;
29
+ }
30
+ /** Credits / storage / collaborators readout, in a compact row or as stat tiles. */
31
+ export declare function QuotaMeter({ items, size, showTooltips, showBars, showPercent, className, testIds, }: QuotaMeterProps): import("react").JSX.Element;
@@ -0,0 +1,46 @@
1
+ /** Every fixed string of the referral-credit parts. `amount` is the formatted reward. */
2
+ export interface ReferralCreditLabels {
3
+ badgeTitle: string;
4
+ badge: (amount: string) => string;
5
+ subtotal: string;
6
+ reward: string;
7
+ youPayNow: string;
8
+ rollover: (amount: string) => string;
9
+ applied: (amount: string) => string;
10
+ note: (amount: string) => string;
11
+ }
12
+ export declare const DEFAULT_REFERRAL_CREDIT_LABELS: ReferralCreditLabels;
13
+ /** Standing pill: the user's available referral reward. */
14
+ export declare function ReferralCreditBadge({ amountLabel, labels, testId, }: {
15
+ amountLabel: string;
16
+ labels?: Partial<ReferralCreditLabels>;
17
+ /** Default `referral-credit-badge` / `referral-credit-note` per part. */
18
+ testId?: string;
19
+ }): import("react").JSX.Element;
20
+ export interface ReferralCreditBreakdown {
21
+ subtotal: string;
22
+ reward: string;
23
+ youPay: string;
24
+ /** Set when part of the reward rolls over to the next invoice. */
25
+ rollover?: string;
26
+ }
27
+ export interface ReferralCreditSummaryProps {
28
+ /** The reward amount, formatted. */
29
+ amountLabel: string;
30
+ /** When the exact charge is known; otherwise a one-line note is shown. */
31
+ breakdown?: ReferralCreditBreakdown;
32
+ labels?: Partial<ReferralCreditLabels>;
33
+ /** Root test id (default `referral-credit-summary`). */
34
+ testId?: string;
35
+ /** Breakdown rows; defaults are the current ids. */
36
+ testIds?: Partial<Record<'applied' | 'youPay', string>>;
37
+ }
38
+ /** Reward applied to a purchase: subtotal / reward / you pay now, or a one-line note. */
39
+ export declare function ReferralCreditSummary({ amountLabel, breakdown, labels, testId, testIds, }: ReferralCreditSummaryProps): import("react").JSX.Element;
40
+ /** One-line note for charges whose exact amount is a proration computed server-side. */
41
+ export declare function ReferralCreditNote({ amountLabel, labels, testId, }: {
42
+ amountLabel: string;
43
+ labels?: Partial<ReferralCreditLabels>;
44
+ /** Default `referral-credit-badge` / `referral-credit-note` per part. */
45
+ testId?: string;
46
+ }): import("react").JSX.Element;
@@ -0,0 +1,20 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface SegmentedOption<T extends string> {
3
+ value: T;
4
+ label: string;
5
+ icon?: ReactNode;
6
+ testId?: string;
7
+ }
8
+ export interface SegmentedControlProps<T extends string> {
9
+ value: T;
10
+ onChange: (value: T) => void;
11
+ options: SegmentedOption<T>[];
12
+ /** Accessible name of the radio group. */
13
+ ariaLabel: string;
14
+ className?: string;
15
+ }
16
+ /**
17
+ * Single-choice radio group rendered as joined segments (selected = accent tone). Radix
18
+ * RadioGroup: one tab stop, arrow keys move AND select, Space selects.
19
+ */
20
+ export declare function SegmentedControl<T extends string>({ value, onChange, options, ariaLabel, className, }: SegmentedControlProps<T>): import("react").JSX.Element;
@@ -0,0 +1,31 @@
1
+ export type ServerConnectionState = 'connected' | 'connecting' | 'disconnected' | 'offline';
2
+ export interface ServerConnectionButtonProps {
3
+ state: ServerConnectionState;
4
+ /** Visible text next to the dot ("Connected", "Working offline"...). */
5
+ label: string;
6
+ isRefreshing: boolean;
7
+ onRefresh: () => void;
8
+ testId?: string;
9
+ }
10
+ /** Status pill that doubles as the "refresh session" button. */
11
+ export declare function ServerConnectionButton({ state, label, isRefreshing, onRefresh, testId, }: ServerConnectionButtonProps): import("react").JSX.Element;
12
+ export interface WorkOfflineToggleProps {
13
+ isOffline: boolean;
14
+ onToggle: (offline: boolean) => void;
15
+ /** Accessible name and tooltip while online / offline. */
16
+ labels?: {
17
+ goOnline: string;
18
+ workOffline: string;
19
+ goOnlineHint: string;
20
+ workOfflineHint: string;
21
+ };
22
+ testId?: string;
23
+ }
24
+ export declare const DEFAULT_WORK_OFFLINE_LABELS: {
25
+ goOnline: string;
26
+ workOffline: string;
27
+ goOnlineHint: string;
28
+ workOfflineHint: string;
29
+ };
30
+ /** Icon toggle that forces the app offline even while the server is reachable. */
31
+ export declare function WorkOfflineToggle({ isOffline, onToggle, labels, testId, }: WorkOfflineToggleProps): import("react").JSX.Element;
@@ -0,0 +1,61 @@
1
+ import { type ComponentProps, type ReactNode } from 'react';
2
+ /** Every fixed string of the danger zone. `label` prop wins. */
3
+ export interface SettingsDangerZoneLabels {
4
+ dangerZone: string;
5
+ }
6
+ export declare const DEFAULT_SETTINGS_DANGER_ZONE_LABELS: SettingsDangerZoneLabels;
7
+ export interface SettingsPanelProps extends ComponentProps<'div'> {
8
+ /** Stable test id of the panel. */
9
+ testId?: string;
10
+ }
11
+ /** Centred column of {@link SettingsSection}s with a readable measure. */
12
+ export declare function SettingsPanel({ className, testId, ...props }: SettingsPanelProps): import("react").JSX.Element;
13
+ export interface SettingsSectionProps extends Omit<ComponentProps<'section'>, 'title'> {
14
+ /** Small muted icon before the title. */
15
+ icon?: ReactNode;
16
+ title?: ReactNode;
17
+ description?: ReactNode;
18
+ /** Right-aligned control in the heading row (e.g. a Reset button). */
19
+ action?: ReactNode;
20
+ testId?: string;
21
+ }
22
+ /** Titled group of settings: heading row, optional description, then the controls. */
23
+ export declare function SettingsSection({ icon, title, description, action, testId, className, children, ...props }: SettingsSectionProps): import("react").JSX.Element;
24
+ export interface SettingsRowProps extends Omit<ComponentProps<'div'>, 'title'> {
25
+ label: ReactNode;
26
+ /** Id of the control: renders the label as a `<label htmlFor>` so it toggles the control. */
27
+ labelFor?: string;
28
+ description?: ReactNode;
29
+ /** The control: switch, select, button. Sits at the end of the row. */
30
+ children?: ReactNode;
31
+ testId?: string;
32
+ }
33
+ /** One setting: label + help text on the left, its control on the right (stacks on phones). */
34
+ export declare function SettingsRow({ label, labelFor, description, children, testId, className, ...props }: SettingsRowProps): import("react").JSX.Element;
35
+ export interface SettingsCardProps extends ComponentProps<'div'> {
36
+ /** `md` for form-like content, `sm` when the card holds a list of full-bleed action rows. */
37
+ padding?: 'md' | 'sm';
38
+ }
39
+ /** Tonal tile that groups related settings (surface by tone, no border). */
40
+ export declare function SettingsCard({ padding, className, ...props }: SettingsCardProps): import("react").JSX.Element;
41
+ export interface SettingsActionRowProps {
42
+ title: ReactNode;
43
+ description?: ReactNode;
44
+ onClick: () => void;
45
+ testId?: string;
46
+ }
47
+ /** Full-width row that opens a dialog or sub-page: title, help text and a chevron. */
48
+ export declare function SettingsActionRow({ title, description, onClick, testId }: SettingsActionRowProps): import("react").JSX.Element;
49
+ export interface SettingsDangerZoneProps {
50
+ isOpen: boolean;
51
+ onToggle: () => void;
52
+ /** Heading of the collapsed zone. */
53
+ label?: string;
54
+ title: ReactNode;
55
+ description: ReactNode;
56
+ /** The destructive control (a Button). */
57
+ action: ReactNode;
58
+ labels?: Partial<SettingsDangerZoneLabels>;
59
+ }
60
+ /** Collapsed-by-default zone for irreversible actions. */
61
+ export declare function SettingsDangerZone({ isOpen, onToggle, label, title, description, action, labels, }: SettingsDangerZoneProps): import("react").JSX.Element;
@@ -0,0 +1,21 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface SettingsSwitchRowProps {
3
+ /** Id of the switch; also the `htmlFor` of the label so clicking the label toggles it. */
4
+ id: string;
5
+ title: ReactNode;
6
+ /** Leading glyph of the title. */
7
+ icon?: ReactNode;
8
+ description?: ReactNode;
9
+ checked: boolean;
10
+ onCheckedChange: (checked: boolean) => void;
11
+ testId?: string;
12
+ disabled?: boolean;
13
+ className?: string;
14
+ }
15
+ /** One on/off setting: icon + title + help text at the start, the switch at the end. */
16
+ export declare function SettingsSwitchRow({ id, title, icon, description, checked, onCheckedChange, testId, disabled, className, }: SettingsSwitchRowProps): import("react").JSX.Element;
17
+ /** Indented group of rows that belong to the row above (e.g. the connectors of "Connectors"). */
18
+ export declare function SettingsSwitchGroup({ className, children, }: {
19
+ className?: string;
20
+ children: ReactNode;
21
+ }): import("react").JSX.Element;
@@ -0,0 +1,215 @@
1
+ import type { ComponentProps, MouseEvent, ReactNode } from 'react';
2
+ import type { LucideIcon } from 'lucide-react';
3
+ import { Button } from '@arbidocs/react/ui';
4
+ /** A single line of status text (loading, empty, error) inside a plan flow. */
5
+ export declare function PlanNotice({ tone, className, testId, children, }: {
6
+ tone?: 'muted' | 'error';
7
+ className?: string;
8
+ testId?: string;
9
+ children: ReactNode;
10
+ }): import("react").JSX.Element;
11
+ /** Vertical rhythm of a plan flow's sections. */
12
+ export declare function PlanStack({ gap, testId, className, children, }: {
13
+ gap?: 2 | 3 | 4 | 5;
14
+ testId?: string;
15
+ className?: string;
16
+ children: ReactNode;
17
+ }): import("react").JSX.Element;
18
+ /** "Free -> Pro x2": the transition the plan picker is about to make. */
19
+ export declare function PlanTransition({ from, to }: {
20
+ from: string;
21
+ to: string;
22
+ }): import("react").JSX.Element;
23
+ /** Title + explainer on the left, billing toggle on the right; the toggle wraps when narrow. */
24
+ export declare function PlanPickerHeader({ title, info, infoPlacement, toggle, className, }: {
25
+ title: ReactNode;
26
+ info?: ReactNode;
27
+ /** `title`: the info trigger sits beside the title; `toggle`: grouped with the toggle. */
28
+ infoPlacement?: 'title' | 'toggle';
29
+ toggle?: ReactNode;
30
+ className?: string;
31
+ }): import("react").JSX.Element;
32
+ /** Tinted card holding the tier picker (header + quantity grid). */
33
+ export declare function PlanPickerCard({ children }: {
34
+ children: ReactNode;
35
+ }): import("react").JSX.Element;
36
+ /** Decline on the left, commit on the right; stacked reversed so commit leads on narrow screens. */
37
+ export declare function PlanActionRow({ children }: {
38
+ children: ReactNode;
39
+ }): import("react").JSX.Element;
40
+ /** Full-width button of a plan flow (`fill` makes it share a row equally on wide screens). */
41
+ export declare function PlanActionButton({ tone, fill, ...props }: Omit<ComponentProps<typeof Button>, 'variant'> & {
42
+ tone?: 'primary' | 'muted';
43
+ fill?: boolean;
44
+ }): import("react").JSX.Element;
45
+ export interface SubscriptionMeterView {
46
+ key: string;
47
+ icon: LucideIcon;
48
+ label: string;
49
+ value: string;
50
+ pct: number;
51
+ }
52
+ export interface SubscriptionStatusViewProps {
53
+ /** Formatted reset date ("Aug 31"); falsy when unknown. */
54
+ resetDate?: string | null;
55
+ isCanceling: boolean;
56
+ meters: SubscriptionMeterView[];
57
+ /** Prefix of each meter's test id (`<prefix>-<key>`); defaults to `project-quota`. */
58
+ testIdPrefix?: string;
59
+ labels?: Partial<SubscriptionStatusLabels>;
60
+ }
61
+ export interface SubscriptionStatusLabels {
62
+ creditsReset: (date: string) => string;
63
+ cancelsAtPeriodEnd: string;
64
+ cancelsAtEndOfBillingPeriod: string;
65
+ }
66
+ export declare const DEFAULT_SUBSCRIPTION_STATUS_LABELS: SubscriptionStatusLabels;
67
+ /** Expanded project status: reset date, canceling notice, stacked quota meters. */
68
+ export declare function SubscriptionStatusView({ resetDate, isCanceling, meters, testIdPrefix, labels, }: SubscriptionStatusViewProps): import("react").JSX.Element;
69
+ export interface PlanDialogFrameProps {
70
+ open: boolean;
71
+ onOpenChange: (open: boolean) => void;
72
+ title: ReactNode;
73
+ description: ReactNode;
74
+ /** Keep the description for screen readers only. */
75
+ isDescriptionHidden?: boolean;
76
+ /** Name of the project the plan applies to, right of the title. */
77
+ projectName?: string;
78
+ /** Test id of the project name; defaults to `change-plan-project`. */
79
+ projectTestId?: string;
80
+ children?: ReactNode;
81
+ labels?: Partial<{
82
+ project: string;
83
+ }>;
84
+ }
85
+ /** The one plan-picker dialog: offer title + reason, the project it applies to, then the flow. */
86
+ export declare function PlanDialogFrame({ open, onOpenChange, title, description, isDescriptionHidden, projectName, projectTestId, children, labels, }: PlanDialogFrameProps): import("react").JSX.Element;
87
+ export interface CheckoutDialogFrameProps {
88
+ open: boolean;
89
+ onOpenChange: (open: boolean) => void;
90
+ /** Stripe is not available: show the explanation instead of the checkout. */
91
+ isUnavailable?: boolean;
92
+ isLoading?: boolean;
93
+ hasError?: boolean;
94
+ /** The embedded payment form (host-owned: needs the payment provider). */
95
+ children?: ReactNode;
96
+ labels?: Partial<CheckoutDialogLabels>;
97
+ }
98
+ export interface CheckoutDialogLabels {
99
+ unavailableTitle: string;
100
+ unavailableDescription: string;
101
+ title: string;
102
+ description: string;
103
+ loading: string;
104
+ error: string;
105
+ }
106
+ export declare const DEFAULT_CHECKOUT_DIALOG_LABELS: CheckoutDialogLabels;
107
+ /**
108
+ * Checkout dialog chrome. Flex column capped at 90vh: the header is pinned and ONLY the checkout
109
+ * region scrolls, so the embedded payment iframe (often taller than the viewport) never clips its
110
+ * pay button. Outside click and Escape are blocked: a half-paid checkout must be closed on purpose.
111
+ */
112
+ export declare function CheckoutDialogFrame({ open, onOpenChange, isUnavailable, isLoading, hasError, children, labels, }: CheckoutDialogFrameProps): import("react").JSX.Element;
113
+ export interface QuotaExceededDialogViewProps {
114
+ open: boolean;
115
+ onClose: () => void;
116
+ onUpgrade: () => void;
117
+ message: string;
118
+ /** Absent while the dialog closes (no usage to show). */
119
+ usage?: {
120
+ percent: number;
121
+ /** "1,200 credits of 2,000 credits". */
122
+ readout: string;
123
+ projectId?: string | null;
124
+ };
125
+ labels?: Partial<QuotaExceededDialogLabels>;
126
+ }
127
+ export interface QuotaExceededDialogLabels {
128
+ title: string;
129
+ projectUsage: string;
130
+ progress: string;
131
+ project: string;
132
+ close: string;
133
+ upgrade: string;
134
+ }
135
+ export declare const DEFAULT_QUOTA_EXCEEDED_DIALOG_LABELS: QuotaExceededDialogLabels;
136
+ /** Shown when a project's AI budget is exhausted: how much was used, then close or upgrade. */
137
+ export declare function QuotaExceededDialogView({ open, onClose, onUpgrade, message, usage, labels, }: QuotaExceededDialogViewProps): import("react").JSX.Element;
138
+ export interface WelcomeProjectPickerProps {
139
+ value: string;
140
+ options: {
141
+ id: string;
142
+ name: string;
143
+ }[];
144
+ onChange: (id: string) => void;
145
+ testId?: string;
146
+ }
147
+ /** Compact project switcher in the welcome dialog's quota header. */
148
+ export declare function WelcomeProjectPicker({ value, options, onChange, testId, }: WelcomeProjectPickerProps): import("react").JSX.Element;
149
+ export interface SubscriptionSectionViewProps {
150
+ intro: ReactNode;
151
+ isLoading?: boolean;
152
+ isEmpty?: boolean;
153
+ /** Project groups (use {@link ProjectGroup}). */
154
+ children?: ReactNode;
155
+ labels?: Partial<SubscriptionSectionLabels>;
156
+ }
157
+ export interface SubscriptionSectionLabels {
158
+ loading: string;
159
+ empty: string;
160
+ }
161
+ export declare const DEFAULT_SUBSCRIPTION_SECTION_LABELS: SubscriptionSectionLabels;
162
+ /** The projects list of settings: intro line, then groups, loading or empty state. */
163
+ export declare function SubscriptionSectionView({ intro, isLoading, isEmpty, children, labels, }: SubscriptionSectionViewProps): import("react").JSX.Element;
164
+ /** A stack of project cards. */
165
+ export declare function ProjectGroup({ children }: {
166
+ children: ReactNode;
167
+ }): import("react").JSX.Element;
168
+ /** Plan picker area inside an expanded project card. */
169
+ export declare function ProjectPlanPicker({ children }: {
170
+ children: ReactNode;
171
+ }): import("react").JSX.Element;
172
+ /** Project name in a card row. */
173
+ export declare function ProjectNameLabel({ children }: {
174
+ children: ReactNode;
175
+ }): import("react").JSX.Element;
176
+ /** Row of icon actions on a project card. */
177
+ export declare function ProjectRowActions({ children }: {
178
+ children: ReactNode;
179
+ }): import("react").JSX.Element;
180
+ export interface RowIconActionProps {
181
+ label: string;
182
+ /** Tooltip text; defaults to `label`. */
183
+ tooltip?: string;
184
+ icon: ReactNode;
185
+ tone?: 'primary' | 'destructive';
186
+ disabled?: boolean;
187
+ onClick?: () => void;
188
+ }
189
+ /** Small icon action with a tooltip (rename, delete). 44px on touch. */
190
+ export declare function RowIconAction({ label, tooltip, icon, tone, disabled, onClick, }: RowIconActionProps): import("react").JSX.Element;
191
+ /** Compact outline button with a leading icon on a project card row. */
192
+ export declare function RowButton({ icon, children, onClick, }: {
193
+ icon: ReactNode;
194
+ children: ReactNode;
195
+ onClick: (e: MouseEvent) => void;
196
+ }): import("react").JSX.Element;
197
+ /** Icon-only tooltip button of the usage panel's action slot (download, print). */
198
+ export declare function UsageActionButton({ label, icon, onClick, }: {
199
+ label: string;
200
+ icon: ReactNode;
201
+ onClick: () => void;
202
+ }): import("react").JSX.Element;
203
+ /** "(12% of quota)" after the credits stat label. */
204
+ export declare function UsageQuotaHint({ children }: {
205
+ children: ReactNode;
206
+ }): import("react").JSX.Element;
207
+ /** Titled block of the usage panel (chart, breakdown) with an optional control on the right. */
208
+ export declare function UsageSection({ title, action, children, footer, gap, }: {
209
+ title: ReactNode;
210
+ action?: ReactNode;
211
+ children: ReactNode;
212
+ /** Below the content, e.g. a chart legend. */
213
+ footer?: ReactNode;
214
+ gap?: 'sm' | 'md';
215
+ }): import("react").JSX.Element;
@@ -0,0 +1,32 @@
1
+ import { type ReactNode } from 'react';
2
+ export type SupportTab = 'feedback' | 'guide';
3
+ /** Every fixed string of the support panel (tab names and their tooltips). */
4
+ export interface SupportPanelLabels {
5
+ support: string;
6
+ userGuide: string;
7
+ }
8
+ export declare const DEFAULT_SUPPORT_PANEL_LABELS: SupportPanelLabels;
9
+ export interface SupportPanelProps {
10
+ activeTab: SupportTab;
11
+ onTabChange: (tab: SupportTab) => void;
12
+ /** Pinned build / version lines (right of the tabs), e.g. `frontend · date · hash`. */
13
+ buildInfo?: string[];
14
+ /** The mode switcher + close button, placed after the build info. */
15
+ modeSwitcher?: ReactNode;
16
+ /** Support form (e.g. an embedded survey) or its "not configured" notice. */
17
+ feedback: ReactNode;
18
+ /** Shown over the form while it loads. */
19
+ isFeedbackLoading?: boolean;
20
+ loadingIndicator?: ReactNode;
21
+ /** The rendered user guide. */
22
+ guide: ReactNode;
23
+ testId?: string;
24
+ labels?: Partial<SupportPanelLabels>;
25
+ }
26
+ /** Support panel: a "Support" form tab and a "User Guide" tab, with build info in the header. */
27
+ export declare function SupportPanel({ activeTab, onTabChange, buildInfo, modeSwitcher, feedback, isFeedbackLoading, loadingIndicator, guide, testId, labels, }: SupportPanelProps): import("react").JSX.Element;
28
+ /** Notice shown in place of the form when it is not configured. */
29
+ export declare function SupportUnavailable({ title, message }: {
30
+ title: string;
31
+ message: string;
32
+ }): import("react").JSX.Element;