@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.
- package/README.md +122 -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-2K33YGM6.cjs +1846 -0
- package/dist/chunk-2K33YGM6.cjs.map +1 -0
- package/dist/chunk-2ORA62OF.js +266 -0
- package/dist/chunk-2ORA62OF.js.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-6HIPFEID.cjs +574 -0
- package/dist/chunk-6HIPFEID.cjs.map +1 -0
- package/dist/{chunk-FZ2S6VAZ.js → chunk-6P6AEQJB.js} +413 -1132
- package/dist/chunk-6P6AEQJB.js.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-7PEELPMA.js +1799 -0
- package/dist/chunk-7PEELPMA.js.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-AE5FHFZ5.cjs +272 -0
- package/dist/chunk-AE5FHFZ5.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-DBAUZD7A.cjs → chunk-DREI7EQ2.cjs} +437 -1152
- package/dist/chunk-DREI7EQ2.cjs.map +1 -0
- package/dist/chunk-ELR74ME6.cjs +68 -0
- package/dist/chunk-ELR74ME6.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-J2BGSWXM.cjs +990 -0
- package/dist/chunk-J2BGSWXM.cjs.map +1 -0
- package/dist/chunk-K4BGOPGG.js +79 -0
- package/dist/chunk-K4BGOPGG.js.map +1 -0
- package/dist/chunk-LGBAZD37.js +341 -0
- package/dist/chunk-LGBAZD37.js.map +1 -0
- package/dist/chunk-LRUCMZK6.cjs +680 -0
- package/dist/chunk-LRUCMZK6.cjs.map +1 -0
- package/dist/chunk-MHVNT4J3.cjs +15 -0
- package/dist/chunk-MHVNT4J3.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-OBLSURHV.js +973 -0
- package/dist/chunk-OBLSURHV.js.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-QXEJXIP4.js +675 -0
- package/dist/chunk-QXEJXIP4.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-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-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 +35 -0
- package/dist/components/CollectionDetail.d.ts +23 -0
- package/dist/components/Columns.d.ts +11 -0
- package/dist/components/ContactForm.d.ts +54 -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 +30 -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/editorial/ArticleList.d.ts +32 -0
- package/dist/components/editorial/Bands.d.ts +29 -0
- package/dist/components/editorial/EditorialHeading.d.ts +17 -0
- package/dist/components/editorial/EditorialHero.d.ts +46 -0
- package/dist/components/editorial/EditorialSection.d.ts +47 -0
- package/dist/components/editorial/Eyebrow.d.ts +14 -0
- package/dist/components/editorial/PanelGrid.d.ts +45 -0
- package/dist/components/editorial/ProfileCard.d.ts +27 -0
- package/dist/components/editorial/PullQuote.d.ts +17 -0
- package/dist/components/editorial/Reveal.d.ts +15 -0
- package/dist/components/editorial/index.d.ts +12 -0
- package/dist/components/editorial/lists.d.ts +42 -0
- package/dist/components/editorial/tone.d.ts +33 -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 +38 -0
- package/dist/facts/fact-date.d.ts +22 -0
- package/dist/facts/fact-row.d.ts +32 -0
- package/dist/facts/fact-text.d.ts +14 -0
- package/dist/facts/factColumns.d.ts +88 -0
- package/dist/facts/index.cjs +2401 -0
- package/dist/facts/index.cjs.map +1 -0
- package/dist/facts/index.d.ts +35 -0
- package/dist/facts/index.js +2343 -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 +53 -0
- package/dist/files/ViewerChrome.d.ts +152 -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 +7555 -0
- package/dist/files/index.cjs.map +1 -0
- package/dist/files/index.d.ts +34 -0
- package/dist/files/index.js +7340 -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 +1992 -5547
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +72 -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 +33 -0
- package/dist/shell/AskField.d.ts +76 -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 +173 -90
- package/dist/site/index.d.ts +60 -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 +365 -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
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { type ReactNode, type Ref } from 'react';
|
|
2
|
+
/** Every fixed string of the access-request banner. */
|
|
3
|
+
export interface DmAccessRequestBannerLabels {
|
|
4
|
+
/** Text after the bold peer name (keep the leading space). */
|
|
5
|
+
requestedAccess: string;
|
|
6
|
+
review: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const DEFAULT_DM_ACCESS_REQUEST_BANNER_LABELS: DmAccessRequestBannerLabels;
|
|
9
|
+
/** Every fixed string of the thread frame. */
|
|
10
|
+
export interface DmThreadFrameLabels {
|
|
11
|
+
noMessages: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const DEFAULT_DM_THREAD_FRAME_LABELS: DmThreadFrameLabels;
|
|
14
|
+
/** Every fixed string of the grant-access dialog. */
|
|
15
|
+
export interface DmGrantAccessDialogLabels {
|
|
16
|
+
title: string;
|
|
17
|
+
description: (peerName: string) => string;
|
|
18
|
+
noWorkspace: string;
|
|
19
|
+
workspace: string;
|
|
20
|
+
role: string;
|
|
21
|
+
cancel: string;
|
|
22
|
+
grantAccess: string;
|
|
23
|
+
}
|
|
24
|
+
export declare const DEFAULT_DM_GRANT_ACCESS_DIALOG_LABELS: DmGrantAccessDialogLabels;
|
|
25
|
+
/** Every fixed string of the recipient picker. */
|
|
26
|
+
export interface RecipientPickerLabels {
|
|
27
|
+
to: string;
|
|
28
|
+
unmuteNotifications: string;
|
|
29
|
+
muteNotifications: string;
|
|
30
|
+
removeRecipient: string;
|
|
31
|
+
selectRecipient: string;
|
|
32
|
+
addRecipient: string;
|
|
33
|
+
searchUsers: string;
|
|
34
|
+
noKnownUsers: string;
|
|
35
|
+
noMatchingUsers: string;
|
|
36
|
+
addContactsHint: string;
|
|
37
|
+
}
|
|
38
|
+
export declare const DEFAULT_RECIPIENT_PICKER_LABELS: RecipientPickerLabels;
|
|
39
|
+
export type ActionMenuEntry = {
|
|
40
|
+
id: string;
|
|
41
|
+
label: ReactNode;
|
|
42
|
+
icon?: ReactNode;
|
|
43
|
+
onSelect: () => void;
|
|
44
|
+
testId?: string;
|
|
45
|
+
destructive?: boolean;
|
|
46
|
+
} | {
|
|
47
|
+
id: string;
|
|
48
|
+
separator: true;
|
|
49
|
+
};
|
|
50
|
+
export interface ActionMenuProps {
|
|
51
|
+
/** Accessible name of the trigger. */
|
|
52
|
+
label: string;
|
|
53
|
+
testId?: string;
|
|
54
|
+
entries: ActionMenuEntry[];
|
|
55
|
+
/** Width class of the menu. */
|
|
56
|
+
contentClassName?: string;
|
|
57
|
+
}
|
|
58
|
+
/** A single ⋮ overflow menu: the occasional actions on a row or header. */
|
|
59
|
+
export declare function ActionMenu({ label, testId, entries, contentClassName }: ActionMenuProps): import("react").JSX.Element;
|
|
60
|
+
/** Round "@" mark standing in for the face of a pending invitation. */
|
|
61
|
+
export declare function DmInviteAvatar(): import("react").JSX.Element;
|
|
62
|
+
/** Round "+" tab icon of a new (compose) conversation. */
|
|
63
|
+
export declare function DmNewTabIcon(): import("react").JSX.Element;
|
|
64
|
+
/** Banner at the top of a thread: the peer asked for workspace access; Review opens the grant flow. */
|
|
65
|
+
export declare function DmAccessRequestBanner({ name, onReview, labels, }: {
|
|
66
|
+
name: string;
|
|
67
|
+
onReview: () => void;
|
|
68
|
+
labels?: Partial<DmAccessRequestBannerLabels>;
|
|
69
|
+
}): import("react").JSX.Element;
|
|
70
|
+
export interface DmThreadFrameProps {
|
|
71
|
+
/** Recipient picker, shown above everything in compose mode. */
|
|
72
|
+
recipientPicker?: ReactNode;
|
|
73
|
+
accessBanner?: ReactNode;
|
|
74
|
+
/** A recipient is chosen: the history area shows. */
|
|
75
|
+
hasRecipient: boolean;
|
|
76
|
+
/** The history is still decrypting. */
|
|
77
|
+
isLoading: boolean;
|
|
78
|
+
/** Messages (and the typing indicator), rendered inside the scroll area. */
|
|
79
|
+
history: ReactNode;
|
|
80
|
+
/** No messages yet. */
|
|
81
|
+
isEmpty: boolean;
|
|
82
|
+
/** Prompt shown when there is no recipient and users exist to pick from. */
|
|
83
|
+
noRecipientPrompt?: ReactNode;
|
|
84
|
+
/** Ref to the history wrapper (the host scrolls its viewport). */
|
|
85
|
+
historyRef?: Ref<HTMLDivElement>;
|
|
86
|
+
composer: ReactNode;
|
|
87
|
+
labels?: Partial<DmThreadFrameLabels>;
|
|
88
|
+
}
|
|
89
|
+
/** Layout of one direct-message thread: picker, banner, scrolling history, composer. */
|
|
90
|
+
export declare function DmThreadFrame({ recipientPicker, accessBanner, hasRecipient, isLoading, history, isEmpty, noRecipientPrompt, historyRef, composer, labels, }: DmThreadFrameProps): import("react").JSX.Element;
|
|
91
|
+
export interface DmGrantAccessDialogViewProps {
|
|
92
|
+
open: boolean;
|
|
93
|
+
onOpenChange: (open: boolean) => void;
|
|
94
|
+
peerName: string;
|
|
95
|
+
/** The one workspace that can be shared; `null` when none is eligible. */
|
|
96
|
+
workspaceName: string | null;
|
|
97
|
+
role: string;
|
|
98
|
+
onRoleChange: (role: string) => void;
|
|
99
|
+
roles: {
|
|
100
|
+
value: string;
|
|
101
|
+
label: string;
|
|
102
|
+
hint: string;
|
|
103
|
+
}[];
|
|
104
|
+
isGranting: boolean;
|
|
105
|
+
onGrant: () => void;
|
|
106
|
+
labels?: Partial<DmGrantAccessDialogLabels>;
|
|
107
|
+
}
|
|
108
|
+
/** Offer a person access to the open workspace: the workspace, a role, a grant button. */
|
|
109
|
+
export declare function DmGrantAccessDialogView({ open, onOpenChange, peerName, workspaceName, role, onRoleChange, roles, isGranting, onGrant, labels, }: DmGrantAccessDialogViewProps): import("react").JSX.Element;
|
|
110
|
+
export interface RecipientView {
|
|
111
|
+
id: string;
|
|
112
|
+
/** Avatar + name pill. */
|
|
113
|
+
identity: ReactNode;
|
|
114
|
+
isMuted: boolean;
|
|
115
|
+
muteTooltip: string;
|
|
116
|
+
onToggleMute: () => void;
|
|
117
|
+
isMuteBusy?: boolean;
|
|
118
|
+
}
|
|
119
|
+
export interface RecipientCandidate {
|
|
120
|
+
id: string;
|
|
121
|
+
identity: ReactNode;
|
|
122
|
+
}
|
|
123
|
+
export interface RecipientPickerProps {
|
|
124
|
+
selected: RecipientView[];
|
|
125
|
+
onRemove: (id: string) => void;
|
|
126
|
+
candidates: RecipientCandidate[];
|
|
127
|
+
onPick: (id: string) => void;
|
|
128
|
+
/** Hide the add control (the maximum is reached). */
|
|
129
|
+
canAdd: boolean;
|
|
130
|
+
isOpen: boolean;
|
|
131
|
+
onOpenChange: (open: boolean) => void;
|
|
132
|
+
search: string;
|
|
133
|
+
onSearchChange: (value: string) => void;
|
|
134
|
+
/** There is nobody at all to pick from (vs. no search match). */
|
|
135
|
+
hasNoKnownUsers: boolean;
|
|
136
|
+
labels?: Partial<RecipientPickerLabels>;
|
|
137
|
+
}
|
|
138
|
+
/** "To:" row of the compose view: chosen recipients (mutable) and a searchable add control. */
|
|
139
|
+
export declare function RecipientPicker({ selected, onRemove, candidates, onPick, canAdd, isOpen, onOpenChange, search, onSearchChange, hasNoKnownUsers, labels, }: RecipientPickerProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { DmInviteChip, DmThreadHeader, type DmThreadHeaderProps, DEFAULT_DM_INVITE_CHIP_LABELS, type DmInviteChipLabels, } from './DirectMessages';
|
|
2
|
+
export { ActionMenu, DmInviteAvatar, DmNewTabIcon, DmAccessRequestBanner, DmThreadFrame, DmGrantAccessDialogView, RecipientPicker, type ActionMenuEntry, type ActionMenuProps, type DmThreadFrameProps, type DmGrantAccessDialogViewProps, type RecipientView, type RecipientCandidate, type RecipientPickerProps, DEFAULT_DM_ACCESS_REQUEST_BANNER_LABELS, DEFAULT_DM_THREAD_FRAME_LABELS, DEFAULT_DM_GRANT_ACCESS_DIALOG_LABELS, DEFAULT_RECIPIENT_PICKER_LABELS, type DmAccessRequestBannerLabels, type DmThreadFrameLabels, type DmGrantAccessDialogLabels, type RecipientPickerLabels, } from './DmParts';
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var chunkSYDHKKRZ_cjs = require('../chunk-SYDHKKRZ.cjs');
|
|
5
|
+
require('../chunk-7G2LJMUG.cjs');
|
|
6
|
+
var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
|
|
7
|
+
require('../chunk-ULWRNGGE.cjs');
|
|
8
|
+
require('../chunk-MHVNT4J3.cjs');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
Object.defineProperty(exports, "ActionMenu", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkSYDHKKRZ_cjs.ActionMenu; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "AddContactsForm", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkSYDHKKRZ_cjs.AddContactsForm; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "AddContactsResults", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkSYDHKKRZ_cjs.AddContactsResults; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "DEFAULT_ADD_CONTACTS_LABELS", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkSYDHKKRZ_cjs.DEFAULT_ADD_CONTACTS_LABELS; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "DEFAULT_DM_ACCESS_REQUEST_BANNER_LABELS", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunkSYDHKKRZ_cjs.DEFAULT_DM_ACCESS_REQUEST_BANNER_LABELS; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "DEFAULT_DM_GRANT_ACCESS_DIALOG_LABELS", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunkSYDHKKRZ_cjs.DEFAULT_DM_GRANT_ACCESS_DIALOG_LABELS; }
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "DEFAULT_DM_INVITE_CHIP_LABELS", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return chunkSYDHKKRZ_cjs.DEFAULT_DM_INVITE_CHIP_LABELS; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "DEFAULT_DM_THREAD_FRAME_LABELS", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunkSYDHKKRZ_cjs.DEFAULT_DM_THREAD_FRAME_LABELS; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "DEFAULT_MAIL_FOLDER_TREE_LABELS", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkSYDHKKRZ_cjs.DEFAULT_MAIL_FOLDER_TREE_LABELS; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "DEFAULT_RECIPIENT_PICKER_LABELS", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunkSYDHKKRZ_cjs.DEFAULT_RECIPIENT_PICKER_LABELS; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "DmAccessRequestBanner", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunkSYDHKKRZ_cjs.DmAccessRequestBanner; }
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "DmGrantAccessDialogView", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () { return chunkSYDHKKRZ_cjs.DmGrantAccessDialogView; }
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "DmInviteAvatar", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () { return chunkSYDHKKRZ_cjs.DmInviteAvatar; }
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "DmInviteChip", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return chunkSYDHKKRZ_cjs.DmInviteChip; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "DmNewTabIcon", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return chunkSYDHKKRZ_cjs.DmNewTabIcon; }
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "DmThreadFrame", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return chunkSYDHKKRZ_cjs.DmThreadFrame; }
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "DmThreadHeader", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () { return chunkSYDHKKRZ_cjs.DmThreadHeader; }
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "MailFolderTree", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function () { return chunkSYDHKKRZ_cjs.MailFolderTree; }
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "MemberBulkActions", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () { return chunkSYDHKKRZ_cjs.MemberBulkActions; }
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "MemberListLoading", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () { return chunkSYDHKKRZ_cjs.MemberListLoading; }
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "MemberMutedText", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () { return chunkSYDHKKRZ_cjs.MemberMutedText; }
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "MemberNameCell", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () { return chunkSYDHKKRZ_cjs.MemberNameCell; }
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "MemberRoleCell", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () { return chunkSYDHKKRZ_cjs.MemberRoleCell; }
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "RecipientPicker", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () { return chunkSYDHKKRZ_cjs.RecipientPicker; }
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "RoleSelect", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () { return chunkSYDHKKRZ_cjs.RoleSelect; }
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "WorkspaceDeleteButton", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return chunkSYDHKKRZ_cjs.WorkspaceDeleteButton; }
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "buildMailFolderTree", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () { return chunkSYDHKKRZ_cjs.buildMailFolderTree; }
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "descendantFolderIds", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () { return chunkSYDHKKRZ_cjs.descendantFolderIds; }
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "isInboxFolder", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () { return chunkSYDHKKRZ_cjs.isInboxFolder; }
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, "toggleMailFolder", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function () { return chunkSYDHKKRZ_cjs.toggleMailFolder; }
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "DEFAULT_SHARE_CONTROL_LABELS", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () { return chunkVLCY46K6_cjs.DEFAULT_SHARE_CONTROL_LABELS; }
|
|
135
|
+
});
|
|
136
|
+
Object.defineProperty(exports, "ShareControl", {
|
|
137
|
+
enumerable: true,
|
|
138
|
+
get: function () { return chunkVLCY46K6_cjs.ShareControl; }
|
|
139
|
+
});
|
|
140
|
+
//# sourceMappingURL=index.cjs.map
|
|
141
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export { ActionMenu, AddContactsForm, AddContactsResults, DEFAULT_ADD_CONTACTS_LABELS, DEFAULT_DM_ACCESS_REQUEST_BANNER_LABELS, DEFAULT_DM_GRANT_ACCESS_DIALOG_LABELS, DEFAULT_DM_INVITE_CHIP_LABELS, DEFAULT_DM_THREAD_FRAME_LABELS, DEFAULT_MAIL_FOLDER_TREE_LABELS, DEFAULT_RECIPIENT_PICKER_LABELS, DmAccessRequestBanner, DmGrantAccessDialogView, DmInviteAvatar, DmInviteChip, DmNewTabIcon, DmThreadFrame, DmThreadHeader, MailFolderTree, MemberBulkActions, MemberListLoading, MemberMutedText, MemberNameCell, MemberRoleCell, RecipientPicker, RoleSelect, WorkspaceDeleteButton, buildMailFolderTree, descendantFolderIds, isInboxFolder, toggleMailFolder } from '../chunk-TYZUCAT7.js';
|
|
3
|
+
import '../chunk-NBV56SGU.js';
|
|
4
|
+
export { DEFAULT_SHARE_CONTROL_LABELS, ShareControl } from '../chunk-K4BGOPGG.js';
|
|
5
|
+
import '../chunk-TX2ZICS7.js';
|
|
6
|
+
import '../chunk-7F6CBP3Z.js';
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type MailFolderNode } from './mailFolders';
|
|
2
|
+
export interface MailFolderTreeLabels {
|
|
3
|
+
collapse: string;
|
|
4
|
+
expand: string;
|
|
5
|
+
recommended: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const DEFAULT_MAIL_FOLDER_TREE_LABELS: MailFolderTreeLabels;
|
|
8
|
+
export interface MailFolderTreeTestIds {
|
|
9
|
+
/** Builds the id of a node's expand toggle from its key. */
|
|
10
|
+
toggle: (nodeKey: string) => string;
|
|
11
|
+
/** Builds the id of a folder checkbox from its folder id. */
|
|
12
|
+
checkbox: (folderId: string) => string;
|
|
13
|
+
}
|
|
14
|
+
export interface MailFolderTreeProps {
|
|
15
|
+
nodes: MailFolderNode[];
|
|
16
|
+
/** Selected folder ids. */
|
|
17
|
+
selected: string[];
|
|
18
|
+
onChange: (selected: string[]) => void;
|
|
19
|
+
/** Selecting a folder includes its subfolders (default). Descendants show checked + locked. */
|
|
20
|
+
cascade?: boolean;
|
|
21
|
+
/** Bump to open every node. */
|
|
22
|
+
expandAllNonce?: number;
|
|
23
|
+
/** Bump to close every node. */
|
|
24
|
+
collapseAllNonce?: number;
|
|
25
|
+
labels?: Partial<MailFolderTreeLabels>;
|
|
26
|
+
testIds?: Partial<MailFolderTreeTestIds>;
|
|
27
|
+
className?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A mailbox's folders / labels as an expandable checkbox tree. Build `nodes` with
|
|
31
|
+
* `buildMailFolderTree`. With `cascade` only the top-most selected folder is stored; the server
|
|
32
|
+
* expands it at sync time so new subfolders are picked up too.
|
|
33
|
+
*/
|
|
34
|
+
export declare function MailFolderTree({ nodes, selected, onChange, cascade, expandAllNonce, collapseAllNonce, labels, testIds, className, }: MailFolderTreeProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { MailFolderTree, DEFAULT_MAIL_FOLDER_TREE_LABELS, type MailFolderTreeProps, type MailFolderTreeLabels, type MailFolderTreeTestIds, } from './MailFolderTree';
|
|
2
|
+
export { buildMailFolderTree, isInboxFolder, toggleMailFolder, descendantFolderIds, type MailFolder, type MailFolderNode, } from './mailFolders';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** A selectable mail folder (Outlook) or label (Gmail). */
|
|
2
|
+
export interface MailFolder {
|
|
3
|
+
id: string;
|
|
4
|
+
/** Full path, e.g. "Inbox/Clients/Acme". */
|
|
5
|
+
name: string;
|
|
6
|
+
/** Total messages (null/undefined when unavailable). */
|
|
7
|
+
count?: number | null;
|
|
8
|
+
}
|
|
9
|
+
export interface MailFolderNode {
|
|
10
|
+
key: string;
|
|
11
|
+
label: string;
|
|
12
|
+
/** null for a path segment with no folder of its own (a grouping row). */
|
|
13
|
+
folder: MailFolder | null;
|
|
14
|
+
children: MailFolderNode[];
|
|
15
|
+
}
|
|
16
|
+
export declare const isInboxFolder: (f: MailFolder) => boolean;
|
|
17
|
+
/** Build the folder tree from full-path names; Inbox first, then alphabetical. */
|
|
18
|
+
export declare function buildMailFolderTree(folders: MailFolder[]): MailFolderNode[];
|
|
19
|
+
/** Ids of every real folder beneath `node`. */
|
|
20
|
+
export declare function descendantFolderIds(node: MailFolderNode): string[];
|
|
21
|
+
/**
|
|
22
|
+
* Selection after toggling `node`: untick removes it; tick adds it and, when `cascade`, drops any
|
|
23
|
+
* selected descendants (the parent already covers its subtree, so only the top-most is kept).
|
|
24
|
+
*/
|
|
25
|
+
export declare function toggleMailFolder(selected: string[], node: MailFolderNode, cascade: boolean): string[];
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
/** One assignable role. `badgeClass` is the host's palette for the role. */
|
|
3
|
+
export interface MemberRoleOption {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
badgeClass: string;
|
|
7
|
+
}
|
|
8
|
+
/** Tooltip + grid-cell text of the members table, kept in one place. */
|
|
9
|
+
export declare function MemberMutedText({ children, title, className, }: {
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
title?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
}): import("react").JSX.Element;
|
|
14
|
+
/** Layout of the Name cell: identity chip followed by optional contact toggle. */
|
|
15
|
+
export declare function MemberNameCell({ children }: {
|
|
16
|
+
children: ReactNode;
|
|
17
|
+
}): import("react").JSX.Element;
|
|
18
|
+
export interface MemberRoleCellProps {
|
|
19
|
+
role: string;
|
|
20
|
+
roles: MemberRoleOption[];
|
|
21
|
+
/** Tooltip: why the role is locked, or what the role means. */
|
|
22
|
+
tooltip: string;
|
|
23
|
+
canChange: boolean;
|
|
24
|
+
isPending: boolean;
|
|
25
|
+
onChange: (role: string) => void;
|
|
26
|
+
/** Session-scoped (temporary) grant: adds a clock with its explanation. */
|
|
27
|
+
temporaryHint?: string;
|
|
28
|
+
}
|
|
29
|
+
/** Inline role dropdown of a member row (always rendered so chevrons align). */
|
|
30
|
+
export declare function MemberRoleCell({ role, roles, tooltip, canChange, isPending, onChange, temporaryHint, }: MemberRoleCellProps): import("react").JSX.Element;
|
|
31
|
+
/** Loading strip of the members list. */
|
|
32
|
+
export declare function MemberListLoading({ label }: {
|
|
33
|
+
label?: string;
|
|
34
|
+
}): import("react").JSX.Element;
|
|
35
|
+
export interface MemberBulkActionsProps {
|
|
36
|
+
/** Roles a bulk change may assign. */
|
|
37
|
+
roles: {
|
|
38
|
+
value: string;
|
|
39
|
+
label: string;
|
|
40
|
+
}[];
|
|
41
|
+
onChangeRole: (role: string) => void;
|
|
42
|
+
isRoleDisabled: boolean;
|
|
43
|
+
roleTooltip: string;
|
|
44
|
+
/** Only the workspace owner can use either control (also styles them muted). */
|
|
45
|
+
isOwner: boolean;
|
|
46
|
+
onRemove: () => void;
|
|
47
|
+
isRemoveDisabled: boolean;
|
|
48
|
+
removeTooltip: string;
|
|
49
|
+
changeRolePlaceholder?: string;
|
|
50
|
+
}
|
|
51
|
+
/** Role change dropdown + remove button inside the selection bar of the members table. */
|
|
52
|
+
export declare function MemberBulkActions({ roles, onChangeRole, isRoleDisabled, roleTooltip, isOwner, onRemove, isRemoveDisabled, removeTooltip, changeRolePlaceholder, }: MemberBulkActionsProps): import("react").JSX.Element;
|
|
53
|
+
export interface WorkspaceDeleteButtonProps {
|
|
54
|
+
canDelete: boolean;
|
|
55
|
+
/** Why deletion is not allowed (tooltip on the disabled button). */
|
|
56
|
+
disabledReason?: string;
|
|
57
|
+
isDeleting?: boolean;
|
|
58
|
+
onDelete: () => void;
|
|
59
|
+
labels?: {
|
|
60
|
+
delete: string;
|
|
61
|
+
deleting: string;
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
/** Destructive "Delete" of a workspace; disabled with an explanation when not allowed. */
|
|
65
|
+
export declare function WorkspaceDeleteButton({ canDelete, disabledReason, isDeleting, onDelete, labels, }: WorkspaceDeleteButtonProps): import("react").JSX.Element;
|
|
66
|
+
export interface RoleSelectProps {
|
|
67
|
+
value: string;
|
|
68
|
+
roles: MemberRoleOption[];
|
|
69
|
+
onChange: (role: string) => void;
|
|
70
|
+
/** Tooltip: what the selected role allows. */
|
|
71
|
+
description: string;
|
|
72
|
+
}
|
|
73
|
+
/** Role picker shown beside a user selector (e.g. when sharing a workspace). */
|
|
74
|
+
export declare function RoleSelect({ value, roles, onChange, description }: RoleSelectProps): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MemberMutedText, MemberNameCell, MemberRoleCell, MemberListLoading, MemberBulkActions, WorkspaceDeleteButton, RoleSelect, type RoleSelectProps, type MemberRoleOption, type MemberRoleCellProps, type MemberBulkActionsProps, type WorkspaceDeleteButtonProps, } from './WorkspaceMembers';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/** Visibility of the selection: every item shared, none shared, or a mix. */
|
|
2
|
+
export type ShareState = 'shared' | 'private' | 'mixed';
|
|
3
|
+
/** Every fixed string of the share control. Pass a partial `labels` to translate or reword. */
|
|
4
|
+
export interface ShareControlLabels {
|
|
5
|
+
share: string;
|
|
6
|
+
shared: string;
|
|
7
|
+
private: string;
|
|
8
|
+
mixed: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const DEFAULT_SHARE_CONTROL_LABELS: ShareControlLabels;
|
|
11
|
+
export interface ShareControlProps {
|
|
12
|
+
state: ShareState;
|
|
13
|
+
/** `true` = make visible to the workspace, `false` = make private again. */
|
|
14
|
+
onToggle: (shouldShare: boolean) => void;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/** Tooltip while disabled (why the user cannot change visibility). */
|
|
17
|
+
disabledTooltip?: string;
|
|
18
|
+
/** What a click does in the current state (tooltip). Falls back to the label. */
|
|
19
|
+
tooltip?: string;
|
|
20
|
+
/** `outline` for a header, `ghost` inside a floating bar. */
|
|
21
|
+
variant?: 'outline' | 'ghost';
|
|
22
|
+
/** Icon-only button (narrow headers); the accessible name stays "Share". */
|
|
23
|
+
compact?: boolean;
|
|
24
|
+
/** Show the muted state pill ("Shared" / "Private") after the button. */
|
|
25
|
+
showState?: boolean;
|
|
26
|
+
className?: string;
|
|
27
|
+
labels?: Partial<ShareControlLabels>;
|
|
28
|
+
/** Test id of the button (the app passes the current id). */
|
|
29
|
+
testId?: string;
|
|
30
|
+
/** Test id of the state pill. */
|
|
31
|
+
stateTestId?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Share control: an outline (or ghost) "Share" button that flips visibility, with the current
|
|
35
|
+
* state spelled out in a muted pill. Neutral tones only: sharing is a plain state, not an AI
|
|
36
|
+
* moment, so there is no accent or cyan switch that could read as "on" while its label reads "off".
|
|
37
|
+
*/
|
|
38
|
+
export declare function ShareControl({ state, onToggle, disabled, disabledTooltip, tooltip, variant, compact, showState, className, labels, testId, stateTestId, }: ShareControlProps): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ShareControl, DEFAULT_SHARE_CONTROL_LABELS, type ShareControlLabels, type ShareControlProps, type ShareState, } from './ShareControl';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface AccordionItem {
|
|
2
|
+
title: string;
|
|
3
|
+
content: string;
|
|
4
|
+
}
|
|
5
|
+
export interface AccordionProps {
|
|
6
|
+
items: AccordionItem[];
|
|
7
|
+
/** Allow multiple panels open at once. Default false (single-open). */
|
|
8
|
+
allowMultiple?: boolean;
|
|
9
|
+
testId?: string;
|
|
10
|
+
}
|
|
11
|
+
/** A stack of collapsible title/content panels. */
|
|
12
|
+
export declare function Accordion({ items, allowMultiple, testId }: AccordionProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
|
+
export interface ActionLinkProps extends Omit<ComponentPropsWithoutRef<'button'>, 'onClick' | 'type' | 'children'> {
|
|
3
|
+
/**
|
|
4
|
+
* Destination. When set (and not `disabled`) the control is a real anchor, rendered through
|
|
5
|
+
* `BlocksProvider`'s `linkComponent` (plain `<a>` by default), so ctrl/cmd-click and "open in new
|
|
6
|
+
* tab" work. Without `onSelect` a plain click navigates through the link; with `onSelect`, a plain
|
|
7
|
+
* click calls it instead (it owns navigation) and modified clicks still use the link.
|
|
8
|
+
*/
|
|
9
|
+
href?: string;
|
|
10
|
+
onSelect?: () => void;
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The one "go somewhere / do something" control of the link-like blocks: a `<button>` without an
|
|
15
|
+
* `href`, an anchor with one. Forwards its ref and any extra props so it can sit under a
|
|
16
|
+
* tooltip or popover trigger `asChild`.
|
|
17
|
+
*/
|
|
18
|
+
export declare const ActionLink: import("react").ForwardRefExoticComponent<ActionLinkProps & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A question box that IS the product's front door, not a link to one.
|
|
3
|
+
*
|
|
4
|
+
* One input, two destinations: Enter (or the arrow) ASKS — hands the trimmed
|
|
5
|
+
* text to `onAsk`, the conversational answer — while the Search button beside
|
|
6
|
+
* it hands the same text to `onSearch`, the retrieval experience. The split
|
|
7
|
+
* matters because queries come in both registers ("what does
|
|
8
|
+
* this term mean" vs "find every mention of it") and making them choose a
|
|
9
|
+
* page before typing kills the impulse. Omit `onSearch` and the bar is a plain
|
|
10
|
+
* ask composer.
|
|
11
|
+
*
|
|
12
|
+
* The consumer owns what asking and searching mean (start a chat, run smart
|
|
13
|
+
* search, open a record). Suggestion chips prefill the input rather than
|
|
14
|
+
* firing immediately: a suggestion is a starting point you edit, not a button
|
|
15
|
+
* you regret.
|
|
16
|
+
*
|
|
17
|
+
* Styled with SEMANTIC tokens only (card, border, foreground, muted-foreground,
|
|
18
|
+
* primary), so every host gets it in its own colours.
|
|
19
|
+
*/
|
|
20
|
+
import { type KeyboardEventHandler, type ReactNode, type RefObject } from 'react';
|
|
21
|
+
export interface AskBarProps {
|
|
22
|
+
/** Receives the trimmed question; the caller owns what asking means. */
|
|
23
|
+
onAsk: (text: string) => void;
|
|
24
|
+
/** Second destination for the same text — retrieval. Omit to hide. */
|
|
25
|
+
onSearch?: (text: string) => void;
|
|
26
|
+
/** Prefill-on-click starter questions, shown under the input. */
|
|
27
|
+
suggestions?: string[];
|
|
28
|
+
placeholder?: string;
|
|
29
|
+
askLabel?: string;
|
|
30
|
+
searchLabel?: string;
|
|
31
|
+
/** Controlled value. Omit for the bar to own its own text. */
|
|
32
|
+
value?: string;
|
|
33
|
+
onValueChange?: (value: string) => void;
|
|
34
|
+
/** Raw keydown on the input — lets a consumer run an autocomplete
|
|
35
|
+
* (arrow/Enter/Tab/Escape) before the form's own submit handling.
|
|
36
|
+
* preventDefault() on Enter suppresses the submit. */
|
|
37
|
+
onInputKeyDown?: KeyboardEventHandler<HTMLInputElement>;
|
|
38
|
+
/** Popover anchored to the pill (e.g. a slash-command menu). Rendered in a
|
|
39
|
+
* relative wrapper around the form, so absolute children position against
|
|
40
|
+
* the pill. */
|
|
41
|
+
menu?: ReactNode;
|
|
42
|
+
/** External input ref, for consumers that refocus after menu selection. */
|
|
43
|
+
inputRef?: RefObject<HTMLInputElement | null>;
|
|
44
|
+
className?: string;
|
|
45
|
+
/** Root test id; children derive `-input`, `-submit`, `-search`, `-suggestion`. */
|
|
46
|
+
testId?: string;
|
|
47
|
+
}
|
|
48
|
+
export declare function AskBar({ onAsk, onSearch, suggestions, placeholder, askLabel, searchLabel, value, onValueChange, onInputKeyDown, menu, inputRef: externalInputRef, className, testId, }: AskBarProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type AvatarBlockSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
2
|
+
export interface AvatarBlockProps {
|
|
3
|
+
src?: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
size?: AvatarBlockSize;
|
|
6
|
+
testId?: string;
|
|
7
|
+
}
|
|
8
|
+
/** Avatar with an initials fallback when no image is supplied. */
|
|
9
|
+
export declare function AvatarBlock({ src, name, size, testId }: AvatarBlockProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type BannerTone = 'primary' | 'muted' | 'ink';
|
|
2
|
+
export interface BannerProps {
|
|
3
|
+
text: string;
|
|
4
|
+
cta?: {
|
|
5
|
+
label?: string;
|
|
6
|
+
href?: string;
|
|
7
|
+
};
|
|
8
|
+
tone?: BannerTone;
|
|
9
|
+
testId?: string;
|
|
10
|
+
}
|
|
11
|
+
/** A slim full-width announcement strip with optional inline CTA. */
|
|
12
|
+
export declare function Banner({ text, cta, tone, testId }: BannerProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type BlockImageAspect = '16:9' | '4:3' | '1:1' | '21:9' | '4:5';
|
|
2
|
+
export type BlockImageRounded = 'none' | 'md' | 'lg' | 'full';
|
|
3
|
+
export interface BlockImageProps {
|
|
4
|
+
src?: string;
|
|
5
|
+
alt?: string;
|
|
6
|
+
aspect?: BlockImageAspect;
|
|
7
|
+
rounded?: BlockImageRounded;
|
|
8
|
+
/** Editorial "photo frame" treatment: a matte border ring + soft shadow. */
|
|
9
|
+
framed?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
testId?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Image with a graceful, self-contained fallback: when `src` is empty it renders a
|
|
15
|
+
* token-clean gradient placeholder (no network needed) so the palette always looks
|
|
16
|
+
* good in the editor and in demos. Token-only classes so it themes per host.
|
|
17
|
+
*/
|
|
18
|
+
export declare function BlockImage({ src, alt, aspect, rounded, framed, className, testId, }: BlockImageProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type CTABannerTone = 'default' | 'muted' | 'ink';
|
|
2
|
+
export interface CTABannerProps {
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
cta?: {
|
|
6
|
+
label?: string;
|
|
7
|
+
href?: string;
|
|
8
|
+
};
|
|
9
|
+
tone?: CTABannerTone;
|
|
10
|
+
/** Full-bleed background image URL/data-URI. Overrides the tone surface. */
|
|
11
|
+
backgroundImage?: string;
|
|
12
|
+
/** Darkening scrim over the background image. Default true. */
|
|
13
|
+
overlay?: boolean;
|
|
14
|
+
testId?: string;
|
|
15
|
+
}
|
|
16
|
+
/** Full-width call-to-action banner. */
|
|
17
|
+
export declare function CTABanner({ title, subtitle, cta, tone, backgroundImage, overlay, testId, }: CTABannerProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type CalloutVariant = 'info' | 'success' | 'warning' | 'danger';
|
|
2
|
+
export interface CalloutProps {
|
|
3
|
+
variant?: CalloutVariant;
|
|
4
|
+
title?: string;
|
|
5
|
+
body?: string;
|
|
6
|
+
testId?: string;
|
|
7
|
+
}
|
|
8
|
+
/** Inline notice box in one of four semantic tones. */
|
|
9
|
+
export declare function Callout({ variant, title, body, testId }: CalloutProps): import("react").JSX.Element;
|