@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.
- package/README.md +100 -0
- package/dist/agents/approvals/AuthorizeAgentParts.d.ts +79 -0
- package/dist/agents/approvals/ConsentPage.d.ts +76 -0
- package/dist/agents/approvals/ConsentParts.d.ts +37 -0
- package/dist/agents/approvals/index.d.ts +3 -0
- package/dist/agents/config/ConfigField.d.ts +43 -0
- package/dist/agents/config/ConfigForm.d.ts +35 -0
- package/dist/agents/config/TupleArrayField.d.ts +32 -0
- package/dist/agents/config/index.d.ts +4 -0
- package/dist/agents/config/schema-utils.d.ts +28 -0
- package/dist/agents/definitions/AgentCard.d.ts +63 -0
- package/dist/agents/definitions/AgentCreator.d.ts +118 -0
- package/dist/agents/definitions/AgentEditorParts.d.ts +63 -0
- package/dist/agents/definitions/AgentGallery.d.ts +29 -0
- package/dist/agents/definitions/index.d.ts +4 -0
- package/dist/agents/index.cjs +595 -0
- package/dist/agents/index.cjs.map +1 -0
- package/dist/agents/index.d.ts +7 -0
- package/dist/agents/index.js +14 -0
- package/dist/agents/index.js.map +1 -0
- package/dist/agents/runs/AgentBar.d.ts +103 -0
- package/dist/agents/runs/AgentSteps.d.ts +157 -0
- package/dist/agents/runs/SubagentRoster.d.ts +37 -0
- package/dist/agents/runs/index.d.ts +3 -0
- package/dist/agents/skills/SkillBrowserParts.d.ts +70 -0
- package/dist/agents/skills/SkillCard.d.ts +48 -0
- package/dist/agents/skills/SkillForms.d.ts +64 -0
- package/dist/agents/skills/SkillParts.d.ts +31 -0
- package/dist/agents/skills/SkillRow.d.ts +34 -0
- package/dist/agents/skills/index.d.ts +5 -0
- package/dist/agents/tasks/LiveRunsBanner.d.ts +26 -0
- package/dist/agents/tasks/RecurrenceBuilder.d.ts +36 -0
- package/dist/agents/tasks/TaskComposer.d.ts +108 -0
- package/dist/agents/tasks/TaskPlan.d.ts +78 -0
- package/dist/agents/tasks/TaskRowActions.d.ts +43 -0
- package/dist/agents/tasks/TaskRunsDialog.d.ts +45 -0
- package/dist/agents/tasks/TasksChrome.d.ts +36 -0
- package/dist/agents/tasks/UploadTaskItem.d.ts +39 -0
- package/dist/agents/tasks/UploadTaskList.d.ts +35 -0
- package/dist/agents/tasks/elapsed.d.ts +2 -0
- package/dist/agents/tasks/index.d.ts +13 -0
- package/dist/agents/tasks/rrule.d.ts +36 -0
- package/dist/agents/tasks/taskColumns.d.ts +68 -0
- package/dist/agents/tasks/taskLabels.d.ts +26 -0
- package/dist/agents/workflows/AgentSelect.d.ts +33 -0
- package/dist/agents/workflows/SchemaForm.d.ts +37 -0
- package/dist/agents/workflows/WorkflowConfigDialog.d.ts +73 -0
- package/dist/agents/workflows/WorkflowLauncher.d.ts +38 -0
- package/dist/agents/workflows/index.d.ts +6 -0
- package/dist/agents/workflows/types.d.ts +125 -0
- package/dist/agents/workflows/workflow.d.ts +62 -0
- package/dist/auth/AuthFooter.d.ts +56 -0
- package/dist/auth/AuthForm.d.ts +105 -0
- package/dist/auth/AuthLayout.d.ts +46 -0
- package/dist/auth/PasswordStrengthInput.d.ts +44 -0
- package/dist/auth/RecoveryDialogs.d.ts +90 -0
- package/dist/auth/SsoLoginButton.d.ts +19 -0
- package/dist/auth/index.cjs +123 -0
- package/dist/auth/index.cjs.map +1 -0
- package/dist/auth/index.d.ts +6 -0
- package/dist/auth/index.js +6 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/builder/AgentsPanel.d.ts +9 -0
- package/dist/builder/ModuleManager.d.ts +6 -0
- package/dist/builder/VerticalBuilder.d.ts +32 -0
- package/dist/builder/agents/store.d.ts +21 -0
- package/dist/builder/export.d.ts +30 -0
- package/dist/builder/modules/registry.d.ts +11 -0
- package/dist/builder/modules/store.d.ts +29 -0
- package/dist/builder/modules/types.d.ts +29 -0
- package/dist/builder/types.d.ts +28 -0
- package/dist/chat/BranchControls.d.ts +33 -0
- package/dist/chat/Composer.d.ts +156 -0
- package/dist/chat/ContextChip.d.ts +19 -0
- package/dist/chat/ContextPanel.d.ts +108 -0
- package/dist/chat/ConversationEmpty.d.ts +53 -0
- package/dist/chat/ConversationLayout.d.ts +40 -0
- package/dist/chat/ConversationParts.d.ts +62 -0
- package/dist/chat/ConversationSearchView.d.ts +57 -0
- package/dist/chat/LabelPinRow.d.ts +30 -0
- package/dist/chat/Message.d.ts +189 -0
- package/dist/chat/MessageAlert.d.ts +25 -0
- package/dist/chat/MessageList.d.ts +102 -0
- package/dist/chat/ModelPicker.d.ts +103 -0
- package/dist/chat/PendingAnswerBar.d.ts +36 -0
- package/dist/chat/PinnedDocChip.d.ts +22 -0
- package/dist/chat/SlashMenu.d.ts +57 -0
- package/dist/chat/ThreadMap.d.ts +45 -0
- package/dist/chat/index.cjs +423 -0
- package/dist/chat/index.cjs.map +1 -0
- package/dist/chat/index.d.ts +21 -0
- package/dist/chat/index.js +6 -0
- package/dist/chat/index.js.map +1 -0
- package/dist/chat/test-id.d.ts +16 -0
- package/dist/chat/useStreamAnnouncement.d.ts +19 -0
- package/dist/chunk-223D4727.cjs +50 -0
- package/dist/chunk-223D4727.cjs.map +1 -0
- package/dist/chunk-4EZVCGRL.js +803 -0
- package/dist/chunk-4EZVCGRL.js.map +1 -0
- package/dist/chunk-54Q3RNJU.cjs +516 -0
- package/dist/chunk-54Q3RNJU.cjs.map +1 -0
- package/dist/chunk-5B4PXAKI.cjs +287 -0
- package/dist/chunk-5B4PXAKI.cjs.map +1 -0
- package/dist/chunk-5TYEJOXY.js +1762 -0
- package/dist/chunk-5TYEJOXY.js.map +1 -0
- package/dist/chunk-6ALISABK.cjs +677 -0
- package/dist/chunk-6ALISABK.cjs.map +1 -0
- package/dist/chunk-6HIPFEID.cjs +574 -0
- package/dist/chunk-6HIPFEID.cjs.map +1 -0
- package/dist/chunk-76JDDMSP.js +31 -0
- package/dist/chunk-76JDDMSP.js.map +1 -0
- package/dist/chunk-7F6CBP3Z.js +12 -0
- package/dist/chunk-7F6CBP3Z.js.map +1 -0
- package/dist/chunk-7G2LJMUG.cjs +45 -0
- package/dist/chunk-7G2LJMUG.cjs.map +1 -0
- package/dist/chunk-7G3JNSJB.cjs +1809 -0
- package/dist/chunk-7G3JNSJB.cjs.map +1 -0
- package/dist/chunk-A2YAC22G.js +93 -0
- package/dist/chunk-A2YAC22G.js.map +1 -0
- package/dist/chunk-ADOKTJHV.cjs +262 -0
- package/dist/chunk-ADOKTJHV.cjs.map +1 -0
- package/dist/chunk-AXIZ2MDV.js +751 -0
- package/dist/chunk-AXIZ2MDV.js.map +1 -0
- package/dist/chunk-AZQDNYH4.js +2865 -0
- package/dist/chunk-AZQDNYH4.js.map +1 -0
- package/dist/chunk-C54XEN5T.cjs +34 -0
- package/dist/chunk-C54XEN5T.cjs.map +1 -0
- package/dist/chunk-CQCC7LE7.js +210 -0
- package/dist/chunk-CQCC7LE7.js.map +1 -0
- package/dist/chunk-CRIKTUEU.cjs +47 -0
- package/dist/chunk-CRIKTUEU.cjs.map +1 -0
- package/dist/chunk-CTZ5745I.js +564 -0
- package/dist/chunk-CTZ5745I.js.map +1 -0
- package/dist/chunk-DPLRHEJZ.js +78 -0
- package/dist/chunk-DPLRHEJZ.js.map +1 -0
- package/dist/chunk-DVLEQURC.js +672 -0
- package/dist/chunk-DVLEQURC.js.map +1 -0
- package/dist/chunk-ELR74ME6.cjs +68 -0
- package/dist/chunk-ELR74ME6.cjs.map +1 -0
- package/dist/{chunk-DBAUZD7A.cjs → chunk-FZQJ2S6P.cjs} +244 -1123
- package/dist/chunk-FZQJ2S6P.cjs.map +1 -0
- package/dist/chunk-G3G7LZPM.cjs +205 -0
- package/dist/chunk-G3G7LZPM.cjs.map +1 -0
- package/dist/chunk-GDFWJ73C.cjs +2973 -0
- package/dist/chunk-GDFWJ73C.cjs.map +1 -0
- package/dist/chunk-ITGHMJOM.js +5528 -0
- package/dist/chunk-ITGHMJOM.js.map +1 -0
- package/dist/chunk-K4BGOPGG.js +79 -0
- package/dist/chunk-K4BGOPGG.js.map +1 -0
- package/dist/chunk-KUA3BCT2.cjs +272 -0
- package/dist/chunk-KUA3BCT2.cjs.map +1 -0
- package/dist/chunk-LGBAZD37.js +341 -0
- package/dist/chunk-LGBAZD37.js.map +1 -0
- package/dist/chunk-MHVNT4J3.cjs +15 -0
- package/dist/chunk-MHVNT4J3.cjs.map +1 -0
- package/dist/chunk-MMYCZRKT.cjs +168 -0
- package/dist/chunk-MMYCZRKT.cjs.map +1 -0
- package/dist/chunk-NBV56SGU.js +42 -0
- package/dist/chunk-NBV56SGU.js.map +1 -0
- package/dist/chunk-NPLYHR2E.js +13 -0
- package/dist/chunk-NPLYHR2E.js.map +1 -0
- package/dist/chunk-NUNKSZKU.js +203 -0
- package/dist/chunk-NUNKSZKU.js.map +1 -0
- package/dist/chunk-OB5F4577.cjs +40 -0
- package/dist/chunk-OB5F4577.cjs.map +1 -0
- package/dist/chunk-OUW6G4O2.cjs +96 -0
- package/dist/chunk-OUW6G4O2.cjs.map +1 -0
- package/dist/chunk-OVEQERPO.js +66 -0
- package/dist/chunk-OVEQERPO.js.map +1 -0
- package/dist/chunk-P6GHJSLR.js +34 -0
- package/dist/chunk-P6GHJSLR.js.map +1 -0
- package/dist/chunk-PCB2BPN3.cjs +41 -0
- package/dist/chunk-PCB2BPN3.cjs.map +1 -0
- package/dist/chunk-PPCATBOY.cjs +15 -0
- package/dist/chunk-PPCATBOY.cjs.map +1 -0
- package/dist/chunk-QN42OA5J.js +887 -0
- package/dist/chunk-QN42OA5J.js.map +1 -0
- package/dist/{chunk-FZ2S6VAZ.js → chunk-RBXZYNVB.js} +223 -1102
- package/dist/chunk-RBXZYNVB.js.map +1 -0
- package/dist/chunk-RC6VTY2H.js +47 -0
- package/dist/chunk-RC6VTY2H.js.map +1 -0
- package/dist/chunk-RFIBUWLF.cjs +232 -0
- package/dist/chunk-RFIBUWLF.cjs.map +1 -0
- package/dist/chunk-S5T7ZTX2.js +266 -0
- package/dist/chunk-S5T7ZTX2.js.map +1 -0
- package/dist/chunk-S7PSMMRG.js +38 -0
- package/dist/chunk-S7PSMMRG.js.map +1 -0
- package/dist/chunk-SCFYPAG6.cjs +18 -0
- package/dist/chunk-SCFYPAG6.cjs.map +1 -0
- package/dist/chunk-SYDHKKRZ.cjs +818 -0
- package/dist/chunk-SYDHKKRZ.cjs.map +1 -0
- package/dist/chunk-TX2ZICS7.js +139 -0
- package/dist/chunk-TX2ZICS7.js.map +1 -0
- package/dist/chunk-TYZUCAT7.js +787 -0
- package/dist/chunk-TYZUCAT7.js.map +1 -0
- package/dist/chunk-U2E3WT3J.js +45 -0
- package/dist/chunk-U2E3WT3J.js.map +1 -0
- package/dist/chunk-UBNVIIBT.js +284 -0
- package/dist/chunk-UBNVIIBT.js.map +1 -0
- package/dist/chunk-UFHMLHIR.cjs +66 -0
- package/dist/chunk-UFHMLHIR.cjs.map +1 -0
- package/dist/chunk-UJE32SST.js +39 -0
- package/dist/chunk-UJE32SST.js.map +1 -0
- package/dist/chunk-ULWRNGGE.cjs +146 -0
- package/dist/chunk-ULWRNGGE.cjs.map +1 -0
- package/dist/chunk-UTWX2X2A.js +165 -0
- package/dist/chunk-UTWX2X2A.js.map +1 -0
- package/dist/chunk-UWGIB3VQ.js +64 -0
- package/dist/chunk-UWGIB3VQ.js.map +1 -0
- package/dist/chunk-V4ISCZJ7.cjs +207 -0
- package/dist/chunk-V4ISCZJ7.cjs.map +1 -0
- package/dist/chunk-VFUWWH52.cjs +83 -0
- package/dist/chunk-VFUWWH52.cjs.map +1 -0
- package/dist/chunk-VILAPTCB.js +259 -0
- package/dist/chunk-VILAPTCB.js.map +1 -0
- package/dist/chunk-VLCY46K6.cjs +82 -0
- package/dist/chunk-VLCY46K6.cjs.map +1 -0
- package/dist/chunk-VPPX5XUF.cjs +813 -0
- package/dist/chunk-VPPX5XUF.cjs.map +1 -0
- package/dist/chunk-WJMEXTVD.cjs +122 -0
- package/dist/chunk-WJMEXTVD.cjs.map +1 -0
- package/dist/chunk-WTNMWEBC.js +504 -0
- package/dist/chunk-WTNMWEBC.js.map +1 -0
- package/dist/chunk-WW6EOVZA.js +112 -0
- package/dist/chunk-WW6EOVZA.js.map +1 -0
- package/dist/chunk-XNBAXRY7.cjs +5673 -0
- package/dist/chunk-XNBAXRY7.cjs.map +1 -0
- package/dist/chunk-XQ7PKKDY.cjs +787 -0
- package/dist/chunk-XQ7PKKDY.cjs.map +1 -0
- package/dist/chunk-XZIYRKLW.cjs +347 -0
- package/dist/chunk-XZIYRKLW.cjs.map +1 -0
- package/dist/chunk-YBXCZEWS.js +187 -0
- package/dist/chunk-YBXCZEWS.js.map +1 -0
- package/dist/chunk-YDHO4AVL.js +16 -0
- package/dist/chunk-YDHO4AVL.js.map +1 -0
- package/dist/chunk-ZORQ5M3W.cjs +934 -0
- package/dist/chunk-ZORQ5M3W.cjs.map +1 -0
- package/dist/chunk-ZW6FPIFC.cjs +36 -0
- package/dist/chunk-ZW6FPIFC.cjs.map +1 -0
- package/dist/citations/CitationEditor.d.ts +58 -0
- package/dist/citations/PassagePill.d.ts +49 -0
- package/dist/citations/QuietMarks.d.ts +81 -0
- package/dist/citations/index.cjs +47 -0
- package/dist/citations/index.cjs.map +1 -0
- package/dist/citations/index.d.ts +3 -0
- package/dist/citations/index.js +6 -0
- package/dist/citations/index.js.map +1 -0
- package/dist/collaboration/contacts/AddContactsParts.d.ts +46 -0
- package/dist/collaboration/contacts/index.d.ts +1 -0
- package/dist/collaboration/direct-messages/DirectMessages.d.ts +33 -0
- package/dist/collaboration/direct-messages/DmParts.d.ts +139 -0
- package/dist/collaboration/direct-messages/index.d.ts +2 -0
- package/dist/collaboration/index.cjs +141 -0
- package/dist/collaboration/index.cjs.map +1 -0
- package/dist/collaboration/index.d.ts +5 -0
- package/dist/collaboration/index.js +8 -0
- package/dist/collaboration/index.js.map +1 -0
- package/dist/collaboration/mail/MailFolderTree.d.ts +34 -0
- package/dist/collaboration/mail/index.d.ts +2 -0
- package/dist/collaboration/mail/mailFolders.d.ts +25 -0
- package/dist/collaboration/members/WorkspaceMembers.d.ts +74 -0
- package/dist/collaboration/members/index.d.ts +1 -0
- package/dist/collaboration/sharing/ShareControl.d.ts +38 -0
- package/dist/collaboration/sharing/index.d.ts +1 -0
- package/dist/components/Accordion.d.ts +12 -0
- package/dist/components/ActionLink.d.ts +18 -0
- package/dist/components/AskBar.d.ts +48 -0
- package/dist/components/AvatarBlock.d.ts +9 -0
- package/dist/components/Banner.d.ts +12 -0
- package/dist/components/BlockImage.d.ts +18 -0
- package/dist/components/CTABanner.d.ts +17 -0
- package/dist/components/Callout.d.ts +9 -0
- package/dist/components/Chart.d.ts +27 -0
- package/dist/components/CollectionDetail.d.ts +23 -0
- package/dist/components/Columns.d.ts +11 -0
- package/dist/components/ContactForm.d.ts +42 -0
- package/dist/components/Container.d.ts +11 -0
- package/dist/components/DataTable.d.ts +47 -0
- package/dist/components/DataTableBlock.d.ts +26 -0
- package/dist/components/EmptyState.d.ts +11 -0
- package/dist/components/EntityChip.d.ts +24 -0
- package/dist/components/EntityIdentityBar.d.ts +90 -0
- package/dist/components/EntityTooltip.d.ts +43 -0
- package/dist/components/FAQ.d.ts +14 -0
- package/dist/components/FeatureGrid.d.ts +18 -0
- package/dist/components/Footer.d.ts +25 -0
- package/dist/components/Gallery.d.ts +15 -0
- package/dist/components/Hero.d.ts +35 -0
- package/dist/components/ListBlock.d.ts +10 -0
- package/dist/components/LogoCloud.d.ts +12 -0
- package/dist/components/MediaText.d.ts +15 -0
- package/dist/components/MemberAvatarStack.d.ts +36 -0
- package/dist/components/MetricCard.d.ts +28 -0
- package/dist/components/Navbar.d.ts +39 -0
- package/dist/components/PageHeader.d.ts +15 -0
- package/dist/components/PricingTable.d.ts +19 -0
- package/dist/components/RichTextBlock.d.ts +10 -0
- package/dist/components/SectionHeading.d.ts +11 -0
- package/dist/components/Spacer.d.ts +7 -0
- package/dist/components/StatGroup.d.ts +12 -0
- package/dist/components/Steps.d.ts +12 -0
- package/dist/components/Tabs.d.ts +15 -0
- package/dist/components/TeamGrid.d.ts +18 -0
- package/dist/components/Testimonial.d.ts +9 -0
- package/dist/components/TestimonialGrid.d.ts +13 -0
- package/dist/components/ToneBadge.d.ts +18 -0
- package/dist/components/Toolbar.d.ts +11 -0
- package/dist/components/UsageMeter.d.ts +21 -0
- package/dist/components/VideoEmbed.d.ts +16 -0
- package/dist/components/assetImage.d.ts +16 -0
- package/dist/components/assetResolver.d.ts +57 -0
- package/dist/components/blockLink.d.ts +26 -0
- package/dist/components/tones.d.ts +14 -0
- package/dist/connect/index.cjs +65 -0
- package/dist/connect/index.cjs.map +1 -0
- package/dist/connect/index.d.ts +8 -0
- package/dist/connect/index.js +28 -0
- package/dist/connect/index.js.map +1 -0
- package/dist/connection/ArbiAppProvider.d.ts +16 -0
- package/dist/connection/ConnectionProvider.d.ts +50 -0
- package/dist/connection/ai.d.ts +99 -0
- package/dist/connection/types.d.ts +54 -0
- package/dist/connection/useImageGen.d.ts +22 -0
- package/dist/facts/FactComposer.d.ts +75 -0
- package/dist/facts/FactDateInput.d.ts +34 -0
- package/dist/facts/FactLabelsCell.d.ts +35 -0
- package/dist/facts/FactPassages.d.ts +52 -0
- package/dist/facts/FactRowActions.d.ts +18 -0
- package/dist/facts/FactSearchParts.d.ts +80 -0
- package/dist/facts/FactSourceGroup.d.ts +26 -0
- package/dist/facts/FactTimelineViews.d.ts +37 -0
- package/dist/facts/FactsBulkBar.d.ts +53 -0
- package/dist/facts/FactsEmptyState.d.ts +38 -0
- package/dist/facts/FactsFieldsButton.d.ts +21 -0
- package/dist/facts/FactsFilterInput.d.ts +46 -0
- package/dist/facts/FactsTable.d.ts +28 -0
- package/dist/facts/FactsToolbar.d.ts +53 -0
- package/dist/facts/FactsViewToggle.d.ts +36 -0
- package/dist/facts/fact-date.d.ts +22 -0
- package/dist/facts/fact-text.d.ts +14 -0
- package/dist/facts/factColumns.d.ts +88 -0
- package/dist/facts/index.cjs +2372 -0
- package/dist/facts/index.cjs.map +1 -0
- package/dist/facts/index.d.ts +34 -0
- package/dist/facts/index.js +2316 -0
- package/dist/facts/index.js.map +1 -0
- package/dist/facts/timezone.d.ts +4 -0
- package/dist/files/AiReviewDialog.d.ts +77 -0
- package/dist/files/DocStatusIcon.d.ts +12 -0
- package/dist/files/DocumentGrid.d.ts +27 -0
- package/dist/files/Explorer.d.ts +10 -0
- package/dist/files/ExplorerSurface.d.ts +34 -0
- package/dist/files/ExplorerTile.d.ts +142 -0
- package/dist/files/ExportParts.d.ts +114 -0
- package/dist/files/FieldParts.d.ts +64 -0
- package/dist/files/FilesPage.d.ts +20 -0
- package/dist/files/FilesToolbar.d.ts +59 -0
- package/dist/files/FolderPicker.d.ts +82 -0
- package/dist/files/GridView.d.ts +59 -0
- package/dist/files/HtmlViewerParts.d.ts +183 -0
- package/dist/files/MoveToFolderDialog.d.ts +32 -0
- package/dist/files/RedlineParts.d.ts +72 -0
- package/dist/files/SelectionBar.d.ts +65 -0
- package/dist/files/StatusPill.d.ts +23 -0
- package/dist/files/TagPassagePanel.d.ts +60 -0
- package/dist/files/UploadDropzone.d.ts +33 -0
- package/dist/files/UploadFooter.d.ts +59 -0
- package/dist/files/UploadParts.d.ts +78 -0
- package/dist/files/UploadSources.d.ts +77 -0
- package/dist/files/VersionTimeline.d.ts +60 -0
- package/dist/files/ViewToggle.d.ts +49 -0
- package/dist/files/ViewerChrome.d.ts +155 -0
- package/dist/files/ViewerLayout.d.ts +32 -0
- package/dist/files/ViewerParts.d.ts +62 -0
- package/dist/files/bulk/BulkActionsBar.d.ts +76 -0
- package/dist/files/bulk/FolderFilterButton.d.ts +35 -0
- package/dist/files/bulk/index.d.ts +2 -0
- package/dist/files/cells/DocumentNameCell.d.ts +31 -0
- package/dist/files/cells/FolderCell.d.ts +25 -0
- package/dist/files/cells/HoverIconCell.d.ts +21 -0
- package/dist/files/cells/LabelMultiSelect.d.ts +50 -0
- package/dist/files/cells/RelatedDocsCell.d.ts +22 -0
- package/dist/files/cells/TagColumnParts.d.ts +29 -0
- package/dist/files/cells/index.d.ts +6 -0
- package/dist/files/documentGridLayout.d.ts +31 -0
- package/dist/files/grid-test-ids.d.ts +18 -0
- package/dist/files/import/CalendarImportRow.d.ts +26 -0
- package/dist/files/import/ImportParts.d.ts +114 -0
- package/dist/files/import/TaskSection.d.ts +51 -0
- package/dist/files/import/UrlInputDialogView.d.ts +63 -0
- package/dist/files/import/VendorLogo.d.ts +15 -0
- package/dist/files/import/index.d.ts +5 -0
- package/dist/files/index.cjs +7589 -0
- package/dist/files/index.cjs.map +1 -0
- package/dist/files/index.d.ts +34 -0
- package/dist/files/index.js +7374 -0
- package/dist/files/index.js.map +1 -0
- package/dist/files/page/FilesAddMenu.d.ts +30 -0
- package/dist/files/page/FilesPageParts.d.ts +24 -0
- package/dist/files/page/FilesPageTitle.d.ts +24 -0
- package/dist/files/page/index.d.ts +3 -0
- package/dist/files/tags/BulkTagEditor.d.ts +136 -0
- package/dist/files/tags/DocTagPopover.d.ts +113 -0
- package/dist/files/tags/TagManager.d.ts +54 -0
- package/dist/files/tags/index.d.ts +3 -0
- package/dist/files/views/FieldsEditorParts.d.ts +151 -0
- package/dist/files/views/FieldsManagerParts.d.ts +17 -0
- package/dist/files/views/TagFormParts.d.ts +109 -0
- package/dist/files/views/ViewSelectorMenu.d.ts +66 -0
- package/dist/files/views/fieldsEditorModel.d.ts +43 -0
- package/dist/files/views/index.d.ts +5 -0
- package/dist/home/ActionMenuDialog.d.ts +26 -0
- package/dist/home/AddFilesFirst.d.ts +22 -0
- package/dist/home/CardHeaderBar.d.ts +40 -0
- package/dist/home/CollapsibleSection.d.ts +43 -0
- package/dist/home/CreateTile.d.ts +17 -0
- package/dist/home/DashboardParts.d.ts +32 -0
- package/dist/home/FactsStrip.d.ts +41 -0
- package/dist/home/FoldSection.d.ts +19 -0
- package/dist/home/GettingStartedStrip.d.ts +49 -0
- package/dist/home/Greeting.d.ts +18 -0
- package/dist/home/HomeLayout.d.ts +28 -0
- package/dist/home/KeyValueRow.d.ts +43 -0
- package/dist/home/ProjectBandParts.d.ts +70 -0
- package/dist/home/QuickActionDialogHeader.d.ts +21 -0
- package/dist/home/RecentList.d.ts +48 -0
- package/dist/home/ScopePicker.d.ts +65 -0
- package/dist/home/StartTiles.d.ts +33 -0
- package/dist/home/index.cjs +854 -0
- package/dist/home/index.cjs.map +1 -0
- package/dist/home/index.d.ts +37 -0
- package/dist/home/index.js +763 -0
- package/dist/home/index.js.map +1 -0
- package/dist/home/sections.d.ts +33 -0
- package/dist/index.cjs +1932 -5547
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +71 -1716
- package/dist/index.js +142 -5316
- package/dist/index.js.map +1 -1
- package/dist/lib/balanced-columns.d.ts +8 -0
- package/dist/lib/format.d.ts +37 -0
- package/dist/lib/observe-resize.d.ts +6 -0
- package/dist/lib/password-strength.d.ts +24 -0
- package/dist/lib/sidebar-mode.d.ts +46 -0
- package/dist/lib/testid.d.ts +7 -0
- package/dist/lib/use-drawer.d.ts +11 -0
- package/dist/lib/useControllableState.d.ts +5 -0
- package/dist/lib/useDismissibleCard.d.ts +15 -0
- package/dist/lib/useListKeyNav.d.ts +42 -0
- package/dist/lib/useLongPaste.d.ts +15 -0
- package/dist/lib/useRestoreFocus.d.ts +11 -0
- package/dist/lib/useScopeSelection.d.ts +34 -0
- package/dist/nav/types.d.ts +19 -0
- package/dist/provider/BlocksProvider.d.ts +20 -0
- package/dist/provider/TooltipScope.d.ts +9 -0
- package/dist/record/index.cjs +2 -4
- package/dist/record/index.cjs.map +1 -1
- package/dist/record/index.d.ts +12 -16
- package/dist/record/index.js +2 -4
- package/dist/record/index.js.map +1 -1
- package/dist/retrieval/HighlightText.d.ts +21 -0
- package/dist/retrieval/SearchEmptyState.d.ts +39 -0
- package/dist/retrieval/SearchGroupHeader.d.ts +21 -0
- package/dist/retrieval/SearchHit.d.ts +36 -0
- package/dist/retrieval/SearchPage.d.ts +187 -0
- package/dist/retrieval/SearchPagination.d.ts +21 -0
- package/dist/retrieval/highlight.d.ts +21 -0
- package/dist/retrieval/index.cjs +160 -0
- package/dist/retrieval/index.cjs.map +1 -0
- package/dist/retrieval/index.d.ts +7 -0
- package/dist/retrieval/index.js +7 -0
- package/dist/retrieval/index.js.map +1 -0
- package/dist/settings/AccountDialogs.d.ts +89 -0
- package/dist/settings/AvatarPicker.d.ts +25 -0
- package/dist/settings/Billing.d.ts +113 -0
- package/dist/settings/ConfigSwitcherBar.d.ts +46 -0
- package/dist/settings/ConfirmDialog.d.ts +28 -0
- package/dist/settings/ConnectionCard.d.ts +58 -0
- package/dist/settings/ConversationSettingsParts.d.ts +53 -0
- package/dist/settings/DocumentPicker.d.ts +57 -0
- package/dist/settings/EmailWorkspaceDialogView.d.ts +60 -0
- package/dist/settings/ErrorDialog.d.ts +36 -0
- package/dist/settings/FloatingPanel.d.ts +32 -0
- package/dist/settings/JsonTree.d.ts +24 -0
- package/dist/settings/LogoutDialog.d.ts +51 -0
- package/dist/settings/ModalBreadcrumbHeader.d.ts +32 -0
- package/dist/settings/ModalScaffold.d.ts +60 -0
- package/dist/settings/MultiSelect.d.ts +111 -0
- package/dist/settings/NotificationCategoryList.d.ts +26 -0
- package/dist/settings/PanelFrame.d.ts +47 -0
- package/dist/settings/PasswordChangeDialog.d.ts +64 -0
- package/dist/settings/PlanBadge.d.ts +14 -0
- package/dist/settings/PlanCard.d.ts +97 -0
- package/dist/settings/PremiumModelsFrame.d.ts +17 -0
- package/dist/settings/ProfileCard.d.ts +67 -0
- package/dist/settings/Projects.d.ts +108 -0
- package/dist/settings/QuotaMeter.d.ts +31 -0
- package/dist/settings/ReferralCredit.d.ts +46 -0
- package/dist/settings/SegmentedControl.d.ts +20 -0
- package/dist/settings/ServerConnectionControls.d.ts +31 -0
- package/dist/settings/SettingsPanel.d.ts +61 -0
- package/dist/settings/SettingsSwitchRow.d.ts +21 -0
- package/dist/settings/SubscriptionParts.d.ts +215 -0
- package/dist/settings/SupportPanel.d.ts +32 -0
- package/dist/settings/SyncDialogParts.d.ts +155 -0
- package/dist/settings/ThreadPreviewDialog.d.ts +18 -0
- package/dist/settings/TipsEditorDialog.d.ts +94 -0
- package/dist/settings/TriStateFilterMenu.d.ts +66 -0
- package/dist/settings/Usage.d.ts +102 -0
- package/dist/settings/WelcomeDialog.d.ts +79 -0
- package/dist/settings/index.cjs +5131 -0
- package/dist/settings/index.cjs.map +1 -0
- package/dist/settings/index.d.ts +38 -0
- package/dist/settings/index.js +4922 -0
- package/dist/settings/index.js.map +1 -0
- package/dist/shell/ActionCluster.d.ts +28 -0
- package/dist/shell/AskField.d.ts +71 -0
- package/dist/shell/InfoBar.d.ts +20 -0
- package/dist/shell/MobileBars.d.ts +47 -0
- package/dist/shell/OfflinePill.d.ts +28 -0
- package/dist/shell/RemoteControlPill.d.ts +23 -0
- package/dist/shell/Shell.d.ts +123 -0
- package/dist/shell/Sidebar.d.ts +104 -0
- package/dist/shell/SidebarBadgeRow.d.ts +29 -0
- package/dist/shell/SidebarRowAction.d.ts +24 -0
- package/dist/shell/StatusRow.d.ts +20 -0
- package/dist/shell/TabHeader.d.ts +70 -0
- package/dist/shell/TipCard.d.ts +46 -0
- package/dist/shell/ToolButton.d.ts +12 -0
- package/dist/shell/Workspace.d.ts +90 -0
- package/dist/shell/index.cjs +187 -0
- package/dist/shell/index.cjs.map +1 -0
- package/dist/shell/index.d.ts +20 -0
- package/dist/shell/index.js +10 -0
- package/dist/shell/index.js.map +1 -0
- package/dist/shell/sidebar-context.d.ts +19 -0
- package/dist/shell/types.d.ts +48 -0
- package/dist/site/index.cjs +113 -90
- package/dist/site/index.d.ts +59 -4
- package/dist/site/index.js +8 -1
- package/dist/studio/PageRenderer.d.ts +35 -0
- package/dist/studio/Section.d.ts +24 -0
- package/dist/studio/StudioEditor.d.ts +32 -0
- package/dist/studio/aiFields.d.ts +17 -0
- package/dist/studio/blockKit.d.ts +36 -0
- package/dist/studio/blocksConfig.d.ts +42 -0
- package/dist/studio/imageFields.d.ts +14 -0
- package/dist/studio/index.cjs +3353 -0
- package/dist/studio/index.cjs.map +1 -0
- package/dist/studio/index.d.ts +32 -0
- package/dist/studio/index.js +3297 -0
- package/dist/studio/index.js.map +1 -0
- package/dist/studio/liveData.d.ts +4 -0
- package/dist/studio/liveWidgetRuntime.d.ts +41 -0
- package/dist/studio/persistence.d.ts +38 -0
- package/dist/studio/publish.d.ts +39 -0
- package/dist/studio/siteBlocks.d.ts +14 -0
- package/dist/studio/types.d.ts +46 -0
- package/dist/studio/websiteBlocks.d.ts +4 -0
- package/dist/studio/widgets.d.ts +20 -0
- package/dist/theme/ThemeEditor.d.ts +16 -0
- package/dist/theme/fontPairings.d.ts +48 -0
- package/dist/theme/store.d.ts +53 -0
- package/dist/theme/tokens.d.ts +105 -0
- package/dist/timeline/Timeline.d.ts +27 -0
- package/dist/timeline/TimelineCalendar.d.ts +54 -0
- package/dist/timeline/TimelineGantt.d.ts +71 -0
- package/dist/timeline/TimelineZoomControl.d.ts +17 -0
- package/dist/timeline/index.cjs +50 -0
- package/dist/timeline/index.cjs.map +1 -0
- package/dist/timeline/index.d.ts +13 -0
- package/dist/timeline/index.js +5 -0
- package/dist/timeline/index.js.map +1 -0
- package/dist/timeline/span.d.ts +29 -0
- package/dist/timeline/types.d.ts +30 -0
- package/dist/workspaces/WorkspaceBadges.d.ts +27 -0
- package/dist/workspaces/WorkspaceCard.d.ts +142 -0
- package/dist/workspaces/WorkspaceFormParts.d.ts +98 -0
- package/dist/workspaces/WorkspaceGroup.d.ts +31 -0
- package/dist/workspaces/WorkspaceSettingsParts.d.ts +70 -0
- package/dist/workspaces/index.cjs +690 -0
- package/dist/workspaces/index.cjs.map +1 -0
- package/dist/workspaces/index.d.ts +9 -0
- package/dist/workspaces/index.js +661 -0
- package/dist/workspaces/index.js.map +1 -0
- package/package.json +154 -9
- package/src/blocks.css +348 -0
- package/src/components/grid.css +60 -107
- package/src/source.css +20 -0
- package/src/studio/studio.css +3 -3
- package/src/tokens.css +226 -0
- package/dist/chunk-DBAUZD7A.cjs.map +0 -1
- package/dist/chunk-FZ2S6VAZ.js.map +0 -1
- package/dist/index-DduoEosi.d.cts +0 -846
- package/dist/index-DduoEosi.d.ts +0 -846
- package/dist/index.d.cts +0 -1717
- package/dist/record/index.d.cts +0 -96
- package/dist/site/index.d.cts +0 -4
package/src/blocks.css
ADDED
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @arbidocs/blocks/blocks.css — the small stylesheet the blocks rely on. Import it once, next to
|
|
3
|
+
* your Tailwind entry (before `@import 'tailwindcss'`), e.g. `@import '@arbidocs/blocks/blocks.css';`.
|
|
4
|
+
* Plain CSS on the theme tokens (HSL triplet variables), no Tailwind `@apply`, so it works in any
|
|
5
|
+
* pipeline. Contents: safe-area utilities, `text-chat`, `.markdown-content`, the document
|
|
6
|
+
* processing progress bars, and the mobile topbar popover rules (`[data-topbar-popover]`).
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/* Declare Tailwind v4's layer order first. The first `@layer` statement in a stylesheet fixes the
|
|
10
|
+
* order, so without this the `@layer utilities` below would be seen first and end up the LOWEST
|
|
11
|
+
* priority layer (every spacing/size utility then loses to the base layer) whenever this file is
|
|
12
|
+
* imported before `@import 'tailwindcss'`. Repeating the statement is harmless. */
|
|
13
|
+
@layer theme, base, components, utilities;
|
|
14
|
+
|
|
15
|
+
@layer utilities {
|
|
16
|
+
/* Safe area inset utilities for mobile browsers with notches/home indicators */
|
|
17
|
+
.pt-safe {
|
|
18
|
+
padding-top: env(safe-area-inset-top);
|
|
19
|
+
}
|
|
20
|
+
.pb-safe {
|
|
21
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* One extra chat body size. */
|
|
25
|
+
.text-chat {
|
|
26
|
+
font-size: 0.9375rem;
|
|
27
|
+
line-height: 1.6;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/*
|
|
32
|
+
* Accessibility guards (apply to every consumer of the blocks).
|
|
33
|
+
*
|
|
34
|
+
* Placeholder text must read at 4.5:1 (WCAG 1.4.3). Many controls fade it with an alpha utility
|
|
35
|
+
* (`placeholder:text-muted-foreground/50` is ~2:1), so the colour is pinned here. `!important`
|
|
36
|
+
* in an early layer beats ordinary utilities in later layers, with no per-component edits.
|
|
37
|
+
*/
|
|
38
|
+
@layer base {
|
|
39
|
+
input::placeholder,
|
|
40
|
+
textarea::placeholder {
|
|
41
|
+
color: hsl(var(--muted-foreground)) !important;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/*
|
|
46
|
+
* Honour prefers-reduced-motion for everything: spinners, pulses, shimmer, the sidebar and drawer
|
|
47
|
+
* width/transform transitions, the composer's hover/focus growth. Durations collapse instead of
|
|
48
|
+
* being removed so `animationend` / `transitionend` handlers (Radix Presence) still fire.
|
|
49
|
+
*/
|
|
50
|
+
@media (prefers-reduced-motion: reduce) {
|
|
51
|
+
*,
|
|
52
|
+
*::before,
|
|
53
|
+
*::after {
|
|
54
|
+
animation-duration: 0.01ms !important;
|
|
55
|
+
animation-iteration-count: 1 !important;
|
|
56
|
+
transition-duration: 0.01ms !important;
|
|
57
|
+
transition-delay: 0s !important;
|
|
58
|
+
scroll-behavior: auto !important;
|
|
59
|
+
}
|
|
60
|
+
/* A shimmer that is stopped after one frame would leave a bar half-lit: show it plain. */
|
|
61
|
+
.progress-bar-processing::after {
|
|
62
|
+
animation: none;
|
|
63
|
+
transform: none;
|
|
64
|
+
background: hsl(var(--secondary) / 0.35);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/*
|
|
69
|
+
* Below 640px the kit's bell and user-menu dropdowns (Radix poppers, portalled outside any
|
|
70
|
+
* className reach) pin flush under the 56px app bar at full width instead of floating as a
|
|
71
|
+
* shrunk desktop dropdown. The panels opt in with `data-topbar-popover`.
|
|
72
|
+
*/
|
|
73
|
+
@media (max-width: 640px) {
|
|
74
|
+
[data-radix-popper-content-wrapper]:has([data-topbar-popover]) {
|
|
75
|
+
position: fixed !important;
|
|
76
|
+
top: calc(3.5rem + env(safe-area-inset-top)) !important;
|
|
77
|
+
left: 0 !important;
|
|
78
|
+
right: 0 !important;
|
|
79
|
+
transform: none !important;
|
|
80
|
+
width: 100vw !important;
|
|
81
|
+
min-width: 100vw !important;
|
|
82
|
+
max-width: 100vw !important;
|
|
83
|
+
}
|
|
84
|
+
[data-topbar-popover] {
|
|
85
|
+
width: 100% !important;
|
|
86
|
+
max-width: none !important;
|
|
87
|
+
border-radius: 0 !important;
|
|
88
|
+
border-left: none !important;
|
|
89
|
+
border-right: none !important;
|
|
90
|
+
border-top: none !important;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* Indeterminate shimmer animation for document processing status */
|
|
95
|
+
/* Uses transform (GPU-accelerated) for AG Grid performance with large datasets */
|
|
96
|
+
@keyframes progress-shimmer {
|
|
97
|
+
0% {
|
|
98
|
+
transform: translateX(-100%);
|
|
99
|
+
}
|
|
100
|
+
100% {
|
|
101
|
+
transform: translateX(100%);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/* Static grey bar for queued status (no animation) */
|
|
106
|
+
.progress-bar-queued {
|
|
107
|
+
background-color: hsl(var(--muted-foreground) / 0.3);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* Secondary color shimmer for processing status */
|
|
111
|
+
.progress-bar-processing {
|
|
112
|
+
position: relative;
|
|
113
|
+
overflow: hidden;
|
|
114
|
+
background-color: hsl(var(--secondary) / 0.15);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.progress-bar-processing::after {
|
|
118
|
+
content: '';
|
|
119
|
+
position: absolute;
|
|
120
|
+
top: 0;
|
|
121
|
+
left: 0;
|
|
122
|
+
right: 0;
|
|
123
|
+
bottom: 0;
|
|
124
|
+
background: linear-gradient(90deg, transparent 0%, hsl(var(--secondary)) 50%, transparent 100%);
|
|
125
|
+
animation: progress-shimmer 1.5s ease-in-out infinite;
|
|
126
|
+
will-change: transform;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* Markdown component styles */
|
|
130
|
+
@layer components {
|
|
131
|
+
.markdown-content {
|
|
132
|
+
width: 100%;
|
|
133
|
+
overflow-wrap: break-word;
|
|
134
|
+
word-wrap: break-word;
|
|
135
|
+
word-break: break-word;
|
|
136
|
+
max-width: 100%;
|
|
137
|
+
color: hsl(var(--foreground));
|
|
138
|
+
margin-bottom: 0;
|
|
139
|
+
padding-bottom: 0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.markdown-content p:last-child {
|
|
143
|
+
margin-bottom: 0 !important;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* Ensure all content in HTML document view stays within its container */
|
|
147
|
+
[data-page-number] {
|
|
148
|
+
max-width: 100%;
|
|
149
|
+
overflow-wrap: break-word;
|
|
150
|
+
word-wrap: break-word;
|
|
151
|
+
word-break: break-word;
|
|
152
|
+
overflow-x: hidden;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.markdown-content h1,
|
|
156
|
+
.markdown-content h2,
|
|
157
|
+
.markdown-content h3,
|
|
158
|
+
.markdown-content h4,
|
|
159
|
+
.markdown-content h5,
|
|
160
|
+
.markdown-content h6 {
|
|
161
|
+
font-weight: 600;
|
|
162
|
+
line-height: 1.25;
|
|
163
|
+
margin-top: 1.5em;
|
|
164
|
+
margin-bottom: 0.5em;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.markdown-content h1 {
|
|
168
|
+
font-size: 1.125em;
|
|
169
|
+
color: hsl(var(--foreground));
|
|
170
|
+
}
|
|
171
|
+
.markdown-content h2 {
|
|
172
|
+
font-size: 1em;
|
|
173
|
+
color: hsl(var(--foreground));
|
|
174
|
+
}
|
|
175
|
+
.markdown-content h3 {
|
|
176
|
+
font-size: 1em;
|
|
177
|
+
color: hsl(var(--foreground));
|
|
178
|
+
}
|
|
179
|
+
.markdown-content h4 {
|
|
180
|
+
font-size: 1.1em;
|
|
181
|
+
color: hsl(var(--foreground));
|
|
182
|
+
}
|
|
183
|
+
.markdown-content h5,
|
|
184
|
+
.markdown-content h6 {
|
|
185
|
+
font-size: 1em;
|
|
186
|
+
color: hsl(var(--foreground));
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.markdown-content pre {
|
|
190
|
+
position: relative;
|
|
191
|
+
overflow-x: auto;
|
|
192
|
+
background-color: hsl(var(--muted));
|
|
193
|
+
border-radius: var(--radius-md, 0.375rem);
|
|
194
|
+
padding: 1rem;
|
|
195
|
+
margin: 1rem 0;
|
|
196
|
+
max-width: 100%;
|
|
197
|
+
border: 1px solid hsl(var(--border));
|
|
198
|
+
font-size: 0.875rem;
|
|
199
|
+
line-height: 1.625;
|
|
200
|
+
white-space: pre-wrap;
|
|
201
|
+
transition:
|
|
202
|
+
color 150ms ease-in-out,
|
|
203
|
+
background-color 150ms ease-in-out,
|
|
204
|
+
border-color 150ms ease-in-out;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/* Copy button for code blocks - always visible */
|
|
208
|
+
|
|
209
|
+
.markdown-content code {
|
|
210
|
+
background-color: hsl(var(--muted));
|
|
211
|
+
border-radius: var(--radius-md, 0.375rem);
|
|
212
|
+
padding: 0.125rem 0.375rem;
|
|
213
|
+
font-size: 0.875rem;
|
|
214
|
+
font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
|
|
215
|
+
color: hsl(var(--foreground));
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.markdown-content pre code {
|
|
219
|
+
background-color: transparent;
|
|
220
|
+
padding: 0;
|
|
221
|
+
color: hsl(var(--foreground));
|
|
222
|
+
font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
|
|
223
|
+
display: block;
|
|
224
|
+
width: 100%;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/* Chat bubble override: inherit the bubble's foreground, and tint code surfaces from
|
|
228
|
+
`currentColor` so they stay legible on any bubble surface in light and dark themes. */
|
|
229
|
+
.chat-bubble-sent .markdown-content,
|
|
230
|
+
.chat-bubble-sent .markdown-content h1,
|
|
231
|
+
.chat-bubble-sent .markdown-content h2,
|
|
232
|
+
.chat-bubble-sent .markdown-content h3,
|
|
233
|
+
.chat-bubble-sent .markdown-content h4,
|
|
234
|
+
.chat-bubble-sent .markdown-content h5,
|
|
235
|
+
.chat-bubble-sent .markdown-content h6 {
|
|
236
|
+
color: inherit;
|
|
237
|
+
}
|
|
238
|
+
.chat-bubble-sent .markdown-content a {
|
|
239
|
+
color: inherit;
|
|
240
|
+
text-decoration: underline;
|
|
241
|
+
}
|
|
242
|
+
.chat-bubble-sent .markdown-content code {
|
|
243
|
+
background-color: color-mix(in oklab, currentColor 12%, transparent);
|
|
244
|
+
color: inherit;
|
|
245
|
+
}
|
|
246
|
+
.chat-bubble-sent .markdown-content pre,
|
|
247
|
+
.chat-bubble-sent .markdown-content pre code {
|
|
248
|
+
background-color: color-mix(in oklab, currentColor 8%, transparent);
|
|
249
|
+
border-color: color-mix(in oklab, currentColor 20%, transparent);
|
|
250
|
+
color: inherit;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.markdown-content table {
|
|
254
|
+
border-collapse: collapse;
|
|
255
|
+
border-radius: var(--radius-md, 0.375rem);
|
|
256
|
+
border: 1px solid hsl(var(--border));
|
|
257
|
+
margin: 1rem 0;
|
|
258
|
+
overflow-x: auto;
|
|
259
|
+
max-width: 100%;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.markdown-content th,
|
|
263
|
+
.markdown-content td {
|
|
264
|
+
border: 1px solid hsl(var(--border));
|
|
265
|
+
padding: 0.5rem 1rem;
|
|
266
|
+
text-align: left;
|
|
267
|
+
min-width: 100px;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.markdown-content th {
|
|
271
|
+
background-color: hsl(var(--muted));
|
|
272
|
+
font-weight: 600;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.markdown-content tr {
|
|
276
|
+
margin: 0;
|
|
277
|
+
border-top: 1px solid hsl(var(--border));
|
|
278
|
+
padding: 0;
|
|
279
|
+
}
|
|
280
|
+
.markdown-content tr:nth-child(even) {
|
|
281
|
+
background-color: hsl(var(--muted) / 0.5);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.markdown-content img {
|
|
285
|
+
max-width: 100%;
|
|
286
|
+
height: auto;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.markdown-content ul {
|
|
290
|
+
padding-left: 2em;
|
|
291
|
+
margin: 1em 0;
|
|
292
|
+
list-style-type: none;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.markdown-content ol {
|
|
296
|
+
padding-left: 2em;
|
|
297
|
+
margin: 1em 0;
|
|
298
|
+
list-style-type: decimal;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/* Prevent bullets on indented paragraphs */
|
|
302
|
+
.markdown-content p {
|
|
303
|
+
list-style-type: none;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.markdown-content blockquote {
|
|
307
|
+
border-left: 4px solid hsl(var(--border));
|
|
308
|
+
padding-left: 1rem;
|
|
309
|
+
margin-left: 0;
|
|
310
|
+
color: hsl(var(--muted-foreground));
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/* Inline footnotes in parsed document viewer */
|
|
314
|
+
.markdown-content .fn-ref {
|
|
315
|
+
color: hsl(var(--primary));
|
|
316
|
+
font-weight: 600;
|
|
317
|
+
font-size: 0.7em;
|
|
318
|
+
vertical-align: super;
|
|
319
|
+
line-height: 1;
|
|
320
|
+
margin: 0 1px;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.markdown-content .fn-inline {
|
|
324
|
+
font-size: 0.8em;
|
|
325
|
+
color: hsl(var(--muted-foreground));
|
|
326
|
+
font-style: italic;
|
|
327
|
+
margin-left: 1px;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/* Hide any GFM-generated footnote sections (safety net) */
|
|
331
|
+
.markdown-content section[data-footnotes] {
|
|
332
|
+
display: none;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/* Highlighted search terms */
|
|
336
|
+
.markdown-content mark {
|
|
337
|
+
background-color: hsl(var(--yellow-bg));
|
|
338
|
+
color: hsl(var(--yellow-text));
|
|
339
|
+
padding-left: 0.125rem;
|
|
340
|
+
padding-right: 0.125rem;
|
|
341
|
+
border-radius: 0.125rem;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.dark .markdown-content mark {
|
|
345
|
+
background-color: rgb(234 179 8 / 0.3);
|
|
346
|
+
color: rgb(254 240 138);
|
|
347
|
+
}
|
|
348
|
+
}
|
package/src/components/grid.css
CHANGED
|
@@ -1,83 +1,43 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* AG Grid
|
|
3
|
-
* Uses CSS custom properties to integrate with our theme system
|
|
4
|
-
* This enables dark mode support and consistent theming
|
|
2
|
+
* AG Grid structural rules for @arbidocs/blocks GridView.
|
|
5
3
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* Colours, fonts, borders, header and selection tones are NOT here: they are the theme
|
|
5
|
+
* (`themeQuartz.withParams` in files/GridView.tsx), expressed with the host's CSS variables so
|
|
6
|
+
* light/dark follow the app. This sheet only holds what the theme API cannot express: cell
|
|
7
|
+
* helper classes (numeric / centered / multiline), the multi-line clamp, scrollbars and the
|
|
8
|
+
* always-reachable row kebabs.
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/* Header styling */
|
|
18
|
-
--ag-header-background-color: hsl(var(--muted));
|
|
19
|
-
--ag-header-foreground-color: hsl(var(--muted-foreground));
|
|
20
|
-
|
|
21
|
-
/* Row styling */
|
|
22
|
-
--ag-odd-row-background-color: hsl(var(--background));
|
|
23
|
-
/* Hover tint: a neutral foreground-based overlay (not --muted, which sits
|
|
24
|
-
too close to the background to track) — subtle but clearly shows which
|
|
25
|
-
row the pointer is on. Pure CSS variable, zero per-row cost. */
|
|
26
|
-
--ag-row-hover-color: hsl(var(--foreground) / 0.05);
|
|
27
|
-
|
|
28
|
-
/* Selection - use secondary color with low opacity */
|
|
29
|
-
--ag-selected-row-background-color: hsl(var(--secondary) / 0.1);
|
|
30
|
-
--ag-range-selection-background-color: hsl(var(--secondary) / 0.1);
|
|
31
|
-
|
|
32
|
-
/* Accent color for checkboxes, focus rings, etc */
|
|
33
|
-
--ag-accent-color: hsl(var(--secondary));
|
|
34
|
-
|
|
35
|
-
/* Input styling */
|
|
36
|
-
--ag-input-focus-border-color: hsl(var(--secondary));
|
|
37
|
-
|
|
38
|
-
/* Cell borders - match background for invisible borders */
|
|
39
|
-
--ag-cell-horizontal-border: transparent;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.dark {
|
|
43
|
-
/* Dark mode overrides - CSS variables automatically cascade */
|
|
44
|
-
--ag-row-hover-color: hsl(var(--foreground) / 0.07);
|
|
45
|
-
--ag-selected-row-background-color: hsl(var(--secondary) / 0.2);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/* Private (un-shared) documents: render the row selection checkbox in primary
|
|
50
|
-
navy instead of the secondary cyan accent — matching the document
|
|
51
|
-
shared/private colour convention. Scoped to the checkbox wrapper so nothing
|
|
52
|
-
else in the row (selected-row tint, focus ring) shifts. The `doc-row-private`
|
|
53
|
-
class comes from the Documents grid's rowClassRules (a pure data predicate,
|
|
54
|
-
so no per-row latency). */
|
|
55
|
-
.ag-row.doc-row-private .ag-checkbox-input-wrapper {
|
|
56
|
-
--ag-accent-color: hsl(var(--primary));
|
|
11
|
+
/* The unified Document column's kebab is ALWAYS reachable (touch has no hover):
|
|
12
|
+
low emphasis at rest, full emphasis on the selected / focused row or while
|
|
13
|
+
its menu is open (the button's data-[state=open] class). No hover-only
|
|
14
|
+
reveal and no hover accent bar. */
|
|
15
|
+
.doc-row-kebab {
|
|
16
|
+
opacity: 0.55;
|
|
57
17
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
row (reliable regardless of AG Grid's JS hover class). It also stays visible
|
|
62
|
-
while its menu is open (handled by the button's data-[state=open] class). */
|
|
63
|
-
.ag-row:hover .doc-row-kebab,
|
|
64
|
-
.ag-row-hover .doc-row-kebab {
|
|
18
|
+
.ag-row.ag-row-selected .doc-row-kebab,
|
|
19
|
+
.ag-row.ag-row-focus .doc-row-kebab,
|
|
20
|
+
.ag-row:focus-within .doc-row-kebab {
|
|
65
21
|
opacity: 1;
|
|
66
22
|
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
.ag-row:hover,
|
|
72
|
-
.ag-row-hover {
|
|
73
|
-
box-shadow: inset 2px 0 0 hsl(var(--secondary));
|
|
23
|
+
@media (pointer: coarse) {
|
|
24
|
+
.doc-row-kebab {
|
|
25
|
+
opacity: 0.8;
|
|
26
|
+
}
|
|
74
27
|
}
|
|
75
28
|
|
|
76
|
-
/*
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
.ag-
|
|
80
|
-
|
|
29
|
+
/* AG's native selection checkbox is a 14px input on top of its wrapper: on touch the input
|
|
30
|
+
itself grows to a 44px target centred on the glyph (the wrapper keeps the visual size). */
|
|
31
|
+
@media (pointer: coarse) {
|
|
32
|
+
.ag-checkbox-input-wrapper input[type='checkbox'] {
|
|
33
|
+
left: 50%;
|
|
34
|
+
top: 50%;
|
|
35
|
+
width: 44px !important;
|
|
36
|
+
min-width: 44px !important;
|
|
37
|
+
max-width: none !important;
|
|
38
|
+
height: 44px !important;
|
|
39
|
+
transform: translate(-50%, -50%);
|
|
40
|
+
}
|
|
81
41
|
}
|
|
82
42
|
|
|
83
43
|
/* Numeric columns (Pages, Size): right-align + tabular figures so digits line
|
|
@@ -172,16 +132,34 @@
|
|
|
172
132
|
max-height: var(--multiline-max-h, calc(2 * 1.35em + 10px));
|
|
173
133
|
}
|
|
174
134
|
|
|
175
|
-
/*
|
|
176
|
-
|
|
135
|
+
/* Variant B header order: title, filter glyph, ONE sort glyph. The per-column filter funnel is
|
|
136
|
+
hidden at rest and revealed when the header is focused/tapped (touch focuses the cell) or while
|
|
137
|
+
that column has an active filter; filtering is also always reachable from the toolbar. */
|
|
138
|
+
.ag-header-cell .ag-header-cell-text {
|
|
139
|
+
order: 1;
|
|
140
|
+
letter-spacing: 0;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.ag-header-cell .ag-sort-indicator-container {
|
|
144
|
+
order: 3;
|
|
145
|
+
margin-left: 6px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.ag-header-cell .ag-header-icon {
|
|
177
149
|
order: 2;
|
|
150
|
+
margin-left: 6px;
|
|
151
|
+
margin-right: 0;
|
|
152
|
+
margin-top: 0;
|
|
178
153
|
}
|
|
179
154
|
|
|
180
|
-
.ag-header-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
155
|
+
.ag-header-cell .ag-header-cell-filter-button {
|
|
156
|
+
display: none;
|
|
157
|
+
}
|
|
158
|
+
.ag-header-cell:focus-within .ag-header-cell-filter-button,
|
|
159
|
+
.ag-header-cell.ag-header-active .ag-header-cell-filter-button,
|
|
160
|
+
.ag-header-cell .ag-header-cell-filter-button.ag-filter-active,
|
|
161
|
+
.ag-header-cell-filtered .ag-header-cell-filter-button {
|
|
162
|
+
display: inline-flex;
|
|
185
163
|
}
|
|
186
164
|
|
|
187
165
|
.ag-header-cell-label {
|
|
@@ -199,41 +177,16 @@
|
|
|
199
177
|
flex-direction: row;
|
|
200
178
|
}
|
|
201
179
|
|
|
202
|
-
/*
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
right: 0;
|
|
207
|
-
top: 0;
|
|
208
|
-
bottom: 0;
|
|
209
|
-
width: 1px;
|
|
210
|
-
background-color: hsl(var(--background));
|
|
211
|
-
pointer-events: none;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
/* Hide column borders on cells */
|
|
180
|
+
/* Allow users to select / copy cell text even in read-only cells. AG Grid defaults to
|
|
181
|
+
user-select: none and only opts cells in via enableCellTextSelection (which we avoid to keep
|
|
182
|
+
mouse handling untouched for the million-doc grid). Editable cells enter edit mode on single
|
|
183
|
+
click, so this only affects cells the user can't edit. */
|
|
215
184
|
.ag-cell {
|
|
216
|
-
border-right-color: transparent !important;
|
|
217
|
-
/* Allow users to select / copy cell text even in read-only cells.
|
|
218
|
-
AG Grid defaults to user-select: none and only opts cells in via
|
|
219
|
-
enableCellTextSelection (which we avoid to keep mouse handling
|
|
220
|
-
untouched for the million-doc grid). Editable cells enter edit
|
|
221
|
-
mode on single click, so this only takes effect on cells the user
|
|
222
|
-
can't edit — file name, dates, hashes, and metadata fields when
|
|
223
|
-
the viewer lacks write permissions. */
|
|
224
185
|
-webkit-user-select: text;
|
|
225
186
|
user-select: text;
|
|
226
187
|
}
|
|
227
188
|
|
|
228
189
|
/* Make custom headers sortable by making the title area clickable */
|
|
229
|
-
.custom-header-title {
|
|
230
|
-
cursor: pointer;
|
|
231
|
-
user-select: none;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.custom-header-title:hover {
|
|
235
|
-
background-color: hsl(var(--muted-foreground) / 0.05);
|
|
236
|
-
}
|
|
237
190
|
|
|
238
191
|
/* Horizontal scrollbar sits at the bottom of the grid, above the bulk-actions bar.
|
|
239
192
|
.ag-body-horizontal-scroll is a direct flex child of .ag-root (flex column); order:100
|
package/src/source.css
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @arbidocs/blocks/source.css: tells Tailwind v4 to scan the compiled output that carries the
|
|
3
|
+
* utilities the blocks render with. Tailwind does not scan node_modules on its own, so without
|
|
4
|
+
* this the utilities are never generated (`pointer-coarse:min-h-11`, `bg-accent`, and, from the
|
|
5
|
+
* react primitives the blocks are built on, `left-[50%]` on every Dialog). Import it after
|
|
6
|
+
* tailwindcss:
|
|
7
|
+
*
|
|
8
|
+
* @import 'tailwindcss';
|
|
9
|
+
* @import '@arbidocs/blocks/source.css';
|
|
10
|
+
*
|
|
11
|
+
* Paths are relative to this file. Each layout the package can be installed in resolves one:
|
|
12
|
+
* npm / pnpm hoisted node_modules/@arbidocs/blocks/src/source.css -> ../dist, ../../react/dist
|
|
13
|
+
* this monorepo packages/arbi-blocks/src/source.css -> ../dist, ../../arbi-react/dist
|
|
14
|
+
* nested install node_modules/@arbidocs/blocks/node_modules/@arbidocs/react/dist
|
|
15
|
+
* A path that does not exist in the current layout matches nothing and is ignored.
|
|
16
|
+
*/
|
|
17
|
+
@source "../dist";
|
|
18
|
+
@source "../../react/dist";
|
|
19
|
+
@source "../../arbi-react/dist";
|
|
20
|
+
@source "../node_modules/@arbidocs/react/dist";
|
package/src/studio/studio.css
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* Puck editor chrome + studio layout. Scoped to the studio routes so it never
|
|
2
2
|
* leaks into the marketing site or back-office. We import Puck's own CSS here
|
|
3
3
|
* (studio-owned CSS) rather than in the app's global stylesheet. */
|
|
4
|
-
@import
|
|
4
|
+
@import '@measured/puck/puck.css';
|
|
5
5
|
|
|
6
|
-
/* Repaint Puck's default azure accent as the
|
|
6
|
+
/* Repaint Puck's default azure accent as the host's own `--color-primary` so the
|
|
7
7
|
* editor chrome (buttons, selected outlines, focus rings) themes with whatever
|
|
8
|
-
*
|
|
8
|
+
* host consumes the builder — no hardcoded brand colour. The ramp is derived from
|
|
9
9
|
* `--color-primary` via `color-mix`, keeping Puck's dark→light 01→12 ordering so
|
|
10
10
|
* contrast stays legible on any palette. */
|
|
11
11
|
.al-studio {
|