@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/dist/site/index.cjs
CHANGED
|
@@ -1,248 +1,271 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
|
-
var
|
|
4
|
+
var chunkMMYCZRKT_cjs = require('../chunk-MMYCZRKT.cjs');
|
|
5
|
+
var chunkVFUWWH52_cjs = require('../chunk-VFUWWH52.cjs');
|
|
6
|
+
var chunkFZQJ2S6P_cjs = require('../chunk-FZQJ2S6P.cjs');
|
|
7
|
+
var chunkPCB2BPN3_cjs = require('../chunk-PCB2BPN3.cjs');
|
|
8
|
+
var chunkELR74ME6_cjs = require('../chunk-ELR74ME6.cjs');
|
|
9
|
+
var chunkVPPX5XUF_cjs = require('../chunk-VPPX5XUF.cjs');
|
|
10
|
+
var chunkWJMEXTVD_cjs = require('../chunk-WJMEXTVD.cjs');
|
|
4
11
|
|
|
5
12
|
|
|
6
13
|
|
|
14
|
+
Object.defineProperty(exports, "Chart", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkMMYCZRKT_cjs.Chart; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "CollectionDetail", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkMMYCZRKT_cjs.CollectionDetail; }
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(exports, "Dot", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () { return chunkVFUWWH52_cjs.Dot; }
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "ToneBadge", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return chunkVFUWWH52_cjs.ToneBadge; }
|
|
29
|
+
});
|
|
7
30
|
Object.defineProperty(exports, "Accordion", {
|
|
8
31
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkFZQJ2S6P_cjs.Accordion; }
|
|
10
33
|
});
|
|
11
34
|
Object.defineProperty(exports, "AvatarBlock", {
|
|
12
35
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkFZQJ2S6P_cjs.AvatarBlock; }
|
|
14
37
|
});
|
|
15
38
|
Object.defineProperty(exports, "Banner", {
|
|
16
39
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkFZQJ2S6P_cjs.Banner; }
|
|
18
41
|
});
|
|
19
42
|
Object.defineProperty(exports, "BlockImage", {
|
|
20
43
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkFZQJ2S6P_cjs.BlockImage; }
|
|
22
45
|
});
|
|
23
46
|
Object.defineProperty(exports, "BlockLink", {
|
|
24
47
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkFZQJ2S6P_cjs.BlockLink; }
|
|
26
49
|
});
|
|
27
50
|
Object.defineProperty(exports, "CTABanner", {
|
|
28
51
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
30
|
-
});
|
|
31
|
-
Object.defineProperty(exports, "Callout", {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function () { return chunkDBAUZD7A_cjs.Callout; }
|
|
52
|
+
get: function () { return chunkFZQJ2S6P_cjs.CTABanner; }
|
|
34
53
|
});
|
|
35
54
|
Object.defineProperty(exports, "Columns", {
|
|
36
55
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkFZQJ2S6P_cjs.Columns; }
|
|
38
57
|
});
|
|
39
58
|
Object.defineProperty(exports, "ContactForm", {
|
|
40
59
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkFZQJ2S6P_cjs.ContactForm; }
|
|
42
61
|
});
|
|
43
62
|
Object.defineProperty(exports, "Container", {
|
|
44
63
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkFZQJ2S6P_cjs.Container; }
|
|
46
65
|
});
|
|
47
66
|
Object.defineProperty(exports, "FAQ", {
|
|
48
67
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkFZQJ2S6P_cjs.FAQ; }
|
|
50
69
|
});
|
|
51
70
|
Object.defineProperty(exports, "FONT_PAIRINGS", {
|
|
52
71
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkFZQJ2S6P_cjs.FONT_PAIRINGS; }
|
|
54
73
|
});
|
|
55
74
|
Object.defineProperty(exports, "FeatureGrid", {
|
|
56
75
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkFZQJ2S6P_cjs.FeatureGrid; }
|
|
58
77
|
});
|
|
59
78
|
Object.defineProperty(exports, "Footer", {
|
|
60
79
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkFZQJ2S6P_cjs.Footer; }
|
|
62
81
|
});
|
|
63
82
|
Object.defineProperty(exports, "Gallery", {
|
|
64
83
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkFZQJ2S6P_cjs.Gallery; }
|
|
66
85
|
});
|
|
67
86
|
Object.defineProperty(exports, "Hero", {
|
|
68
87
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkFZQJ2S6P_cjs.Hero; }
|
|
70
89
|
});
|
|
71
90
|
Object.defineProperty(exports, "ListBlock", {
|
|
72
91
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkFZQJ2S6P_cjs.ListBlock; }
|
|
74
93
|
});
|
|
75
94
|
Object.defineProperty(exports, "LogoCloud", {
|
|
76
95
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkFZQJ2S6P_cjs.LogoCloud; }
|
|
78
97
|
});
|
|
79
98
|
Object.defineProperty(exports, "MediaText", {
|
|
80
99
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkFZQJ2S6P_cjs.MediaText; }
|
|
82
101
|
});
|
|
83
102
|
Object.defineProperty(exports, "Navbar", {
|
|
84
103
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkFZQJ2S6P_cjs.Navbar; }
|
|
86
105
|
});
|
|
87
106
|
Object.defineProperty(exports, "PricingTable", {
|
|
88
107
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkFZQJ2S6P_cjs.PricingTable; }
|
|
90
109
|
});
|
|
91
110
|
Object.defineProperty(exports, "RichTextBlock", {
|
|
92
111
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkFZQJ2S6P_cjs.RichTextBlock; }
|
|
94
113
|
});
|
|
95
114
|
Object.defineProperty(exports, "SectionHeading", {
|
|
96
115
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkFZQJ2S6P_cjs.SectionHeading; }
|
|
98
117
|
});
|
|
99
118
|
Object.defineProperty(exports, "Spacer", {
|
|
100
119
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkFZQJ2S6P_cjs.Spacer; }
|
|
102
121
|
});
|
|
103
122
|
Object.defineProperty(exports, "Steps", {
|
|
104
123
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkFZQJ2S6P_cjs.Steps; }
|
|
106
125
|
});
|
|
107
126
|
Object.defineProperty(exports, "THEME_STYLE_ID", {
|
|
108
127
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkFZQJ2S6P_cjs.THEME_STYLE_ID; }
|
|
110
129
|
});
|
|
111
130
|
Object.defineProperty(exports, "Tabs", {
|
|
112
131
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkFZQJ2S6P_cjs.Tabs; }
|
|
114
133
|
});
|
|
115
134
|
Object.defineProperty(exports, "TeamGrid", {
|
|
116
135
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkFZQJ2S6P_cjs.TeamGrid; }
|
|
118
137
|
});
|
|
119
138
|
Object.defineProperty(exports, "Testimonial", {
|
|
120
139
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkFZQJ2S6P_cjs.Testimonial; }
|
|
122
141
|
});
|
|
123
142
|
Object.defineProperty(exports, "TestimonialGrid", {
|
|
124
143
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkFZQJ2S6P_cjs.TestimonialGrid; }
|
|
126
145
|
});
|
|
127
146
|
Object.defineProperty(exports, "ThemeEditor", {
|
|
128
147
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
130
|
-
});
|
|
131
|
-
Object.defineProperty(exports, "Timeline", {
|
|
132
|
-
enumerable: true,
|
|
133
|
-
get: function () { return chunkDBAUZD7A_cjs.Timeline; }
|
|
134
|
-
});
|
|
135
|
-
Object.defineProperty(exports, "TimelineCalendar", {
|
|
136
|
-
enumerable: true,
|
|
137
|
-
get: function () { return chunkDBAUZD7A_cjs.TimelineCalendar; }
|
|
138
|
-
});
|
|
139
|
-
Object.defineProperty(exports, "TimelineGantt", {
|
|
140
|
-
enumerable: true,
|
|
141
|
-
get: function () { return chunkDBAUZD7A_cjs.TimelineGantt; }
|
|
148
|
+
get: function () { return chunkFZQJ2S6P_cjs.ThemeEditor; }
|
|
142
149
|
});
|
|
143
150
|
Object.defineProperty(exports, "VideoEmbed", {
|
|
144
151
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkFZQJ2S6P_cjs.VideoEmbed; }
|
|
146
153
|
});
|
|
147
154
|
Object.defineProperty(exports, "applyFontVars", {
|
|
148
155
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkFZQJ2S6P_cjs.applyFontVars; }
|
|
150
157
|
});
|
|
151
158
|
Object.defineProperty(exports, "applyStoredTheme", {
|
|
152
159
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkFZQJ2S6P_cjs.applyStoredTheme; }
|
|
154
161
|
});
|
|
155
162
|
Object.defineProperty(exports, "applyThemeVars", {
|
|
156
163
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkFZQJ2S6P_cjs.applyThemeVars; }
|
|
158
165
|
});
|
|
159
166
|
Object.defineProperty(exports, "clearFontVars", {
|
|
160
167
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkFZQJ2S6P_cjs.clearFontVars; }
|
|
162
169
|
});
|
|
163
170
|
Object.defineProperty(exports, "clearThemeVars", {
|
|
164
171
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkFZQJ2S6P_cjs.clearThemeVars; }
|
|
166
173
|
});
|
|
167
174
|
Object.defineProperty(exports, "createThemeStore", {
|
|
168
175
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkFZQJ2S6P_cjs.createThemeStore; }
|
|
170
177
|
});
|
|
171
|
-
Object.defineProperty(exports, "
|
|
178
|
+
Object.defineProperty(exports, "fontPackages", {
|
|
172
179
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkFZQJ2S6P_cjs.fontPackages; }
|
|
174
181
|
});
|
|
175
|
-
Object.defineProperty(exports, "
|
|
182
|
+
Object.defineProperty(exports, "getFontPairing", {
|
|
176
183
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkFZQJ2S6P_cjs.getFontPairing; }
|
|
178
185
|
});
|
|
179
|
-
Object.defineProperty(exports, "
|
|
186
|
+
Object.defineProperty(exports, "matchFontPairing", {
|
|
180
187
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkFZQJ2S6P_cjs.matchFontPairing; }
|
|
182
189
|
});
|
|
183
|
-
Object.defineProperty(exports, "
|
|
190
|
+
Object.defineProperty(exports, "tid", {
|
|
184
191
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkFZQJ2S6P_cjs.tid; }
|
|
186
193
|
});
|
|
187
|
-
Object.defineProperty(exports, "
|
|
194
|
+
Object.defineProperty(exports, "toEmbedUrl", {
|
|
188
195
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkFZQJ2S6P_cjs.toEmbedUrl; }
|
|
190
197
|
});
|
|
191
|
-
Object.defineProperty(exports, "
|
|
198
|
+
Object.defineProperty(exports, "toHslTriplet", {
|
|
192
199
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkFZQJ2S6P_cjs.toHslTriplet; }
|
|
194
201
|
});
|
|
195
|
-
Object.defineProperty(exports, "
|
|
202
|
+
Object.defineProperty(exports, "Callout", {
|
|
196
203
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkPCB2BPN3_cjs.Callout; }
|
|
198
205
|
});
|
|
199
|
-
Object.defineProperty(exports, "
|
|
206
|
+
Object.defineProperty(exports, "Timeline", {
|
|
200
207
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkELR74ME6_cjs.Timeline; }
|
|
202
209
|
});
|
|
203
|
-
Object.defineProperty(exports, "
|
|
210
|
+
Object.defineProperty(exports, "TimelineCalendar", {
|
|
204
211
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkVPPX5XUF_cjs.TimelineCalendar; }
|
|
206
213
|
});
|
|
207
|
-
Object.defineProperty(exports, "
|
|
214
|
+
Object.defineProperty(exports, "TimelineGantt", {
|
|
208
215
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkVPPX5XUF_cjs.TimelineGantt; }
|
|
210
217
|
});
|
|
211
|
-
Object.defineProperty(exports, "
|
|
218
|
+
Object.defineProperty(exports, "dayKey", {
|
|
212
219
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkVPPX5XUF_cjs.dayKey; }
|
|
214
221
|
});
|
|
215
|
-
Object.defineProperty(exports, "
|
|
222
|
+
Object.defineProperty(exports, "formatSpan", {
|
|
216
223
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkVPPX5XUF_cjs.formatSpan; }
|
|
218
225
|
});
|
|
219
226
|
Object.defineProperty(exports, "monthLabel", {
|
|
220
227
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkVPPX5XUF_cjs.monthLabel; }
|
|
222
229
|
});
|
|
223
230
|
Object.defineProperty(exports, "parseIso", {
|
|
224
231
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkVPPX5XUF_cjs.parseIso; }
|
|
226
233
|
});
|
|
227
|
-
Object.defineProperty(exports, "
|
|
234
|
+
Object.defineProperty(exports, "utcDay", {
|
|
228
235
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkVPPX5XUF_cjs.utcDay; }
|
|
230
237
|
});
|
|
231
|
-
Object.defineProperty(exports, "
|
|
238
|
+
Object.defineProperty(exports, "daysUntil", {
|
|
232
239
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkWJMEXTVD_cjs.daysUntil; }
|
|
234
241
|
});
|
|
235
|
-
Object.defineProperty(exports, "
|
|
242
|
+
Object.defineProperty(exports, "fmtDate", {
|
|
236
243
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkWJMEXTVD_cjs.fmtDate; }
|
|
238
245
|
});
|
|
239
|
-
Object.defineProperty(exports, "
|
|
246
|
+
Object.defineProperty(exports, "fmtDateTime", {
|
|
240
247
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkWJMEXTVD_cjs.fmtDateTime; }
|
|
242
249
|
});
|
|
243
|
-
Object.defineProperty(exports, "
|
|
250
|
+
Object.defineProperty(exports, "formatCurrency", {
|
|
251
|
+
enumerable: true,
|
|
252
|
+
get: function () { return chunkWJMEXTVD_cjs.formatCurrency; }
|
|
253
|
+
});
|
|
254
|
+
Object.defineProperty(exports, "fromNow", {
|
|
255
|
+
enumerable: true,
|
|
256
|
+
get: function () { return chunkWJMEXTVD_cjs.fromNow; }
|
|
257
|
+
});
|
|
258
|
+
Object.defineProperty(exports, "hrs", {
|
|
259
|
+
enumerable: true,
|
|
260
|
+
get: function () { return chunkWJMEXTVD_cjs.hrs; }
|
|
261
|
+
});
|
|
262
|
+
Object.defineProperty(exports, "initials", {
|
|
263
|
+
enumerable: true,
|
|
264
|
+
get: function () { return chunkWJMEXTVD_cjs.initials; }
|
|
265
|
+
});
|
|
266
|
+
Object.defineProperty(exports, "pct", {
|
|
244
267
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkWJMEXTVD_cjs.pct; }
|
|
246
269
|
});
|
|
247
270
|
//# sourceMappingURL=index.cjs.map
|
|
248
271
|
//# sourceMappingURL=index.cjs.map
|
package/dist/site/index.d.ts
CHANGED
|
@@ -1,4 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* `@arbidocs/blocks/site` — everything needed to build a public website, and
|
|
3
|
+
* nothing else.
|
|
4
|
+
*
|
|
5
|
+
* The root `@arbidocs/blocks` entry exists to serve an authenticated back office:
|
|
6
|
+
* it pulls in `@arbidocs/sdk`, AG Grid (22 MB on disk) and `@measured/puck`,
|
|
7
|
+
* because it exports the Studio, the grid views and the data-bound cards. A
|
|
8
|
+
* marketing site needs none of that and cannot shake it out — neither kit package
|
|
9
|
+
* declares `sideEffects`, so a bundler must keep every module the graph mentions.
|
|
10
|
+
*
|
|
11
|
+
* This entry exports only what renders from its props: the website blocks, the
|
|
12
|
+
* theme system, and the formatting helpers. Its whole graph is React + Radix +
|
|
13
|
+
* lucide + `react-markdown` (via `@arbidocs/react/ui`). No SDK, no client, no
|
|
14
|
+
* query, no grid, no Puck. `site/index.test.ts` enforces that.
|
|
15
|
+
*
|
|
16
|
+
* Images: `BlockImage` renders a URL or a `data:` URI directly. Workspace asset
|
|
17
|
+
* refs (`asset:<docId>`) resolve only where the Studio injects a resolver, which
|
|
18
|
+
* is why `AssetResolverProvider` is not exported here — a public site has no
|
|
19
|
+
* workspace, and the published page has its images already inlined.
|
|
20
|
+
*/
|
|
21
|
+
export { BlockImage, type BlockImageProps } from '../components/BlockImage';
|
|
22
|
+
export { BlockLink, type BlockLinkProps, type BlockLinkComponent } from '../components/blockLink';
|
|
23
|
+
export { Hero, type HeroProps, type HeroCta } from '../components/Hero';
|
|
24
|
+
export { FeatureGrid, type FeatureGridProps, type FeatureItem } from '../components/FeatureGrid';
|
|
25
|
+
export { Testimonial, type TestimonialProps } from '../components/Testimonial';
|
|
26
|
+
export { TestimonialGrid, type TestimonialGridProps, type TestimonialItem, } from '../components/TestimonialGrid';
|
|
27
|
+
export { CTABanner, type CTABannerProps } from '../components/CTABanner';
|
|
28
|
+
export { LogoCloud, type LogoCloudProps, type LogoItem } from '../components/LogoCloud';
|
|
29
|
+
export { FAQ, type FAQProps, type FaqItem } from '../components/FAQ';
|
|
30
|
+
export { RichTextBlock, type RichTextBlockProps } from '../components/RichTextBlock';
|
|
31
|
+
export { Callout, type CalloutProps, type CalloutVariant } from '../components/Callout';
|
|
32
|
+
export { AvatarBlock, type AvatarBlockProps } from '../components/AvatarBlock';
|
|
33
|
+
export { Navbar, type NavbarProps, type NavbarTestIds, type NavLink } from '../components/Navbar';
|
|
34
|
+
export { Footer, type FooterProps, type FooterColumn, type FooterLink } from '../components/Footer';
|
|
35
|
+
export { ListBlock, type ListBlockProps, type ListItem } from '../components/ListBlock';
|
|
36
|
+
export { Columns, type ColumnsProps } from '../components/Columns';
|
|
37
|
+
export { Spacer, type SpacerProps } from '../components/Spacer';
|
|
38
|
+
export { Container, type ContainerProps } from '../components/Container';
|
|
39
|
+
export { PricingTable, type PricingTableProps, type PricingPlan } from '../components/PricingTable';
|
|
40
|
+
export { Tabs, type TabsProps, type TabItem } from '../components/Tabs';
|
|
41
|
+
export { Accordion, type AccordionProps, type AccordionItem } from '../components/Accordion';
|
|
42
|
+
export { Gallery, type GalleryProps, type GalleryImage } from '../components/Gallery';
|
|
43
|
+
export { VideoEmbed, toEmbedUrl, type VideoEmbedProps, type VideoAspect, } from '../components/VideoEmbed';
|
|
44
|
+
export { ContactForm, type ContactFormProps, type ContactField, type ContactFieldOption, type ContactFormTestIds, } from '../components/ContactForm';
|
|
45
|
+
export { Banner, type BannerProps, type BannerTone } from '../components/Banner';
|
|
46
|
+
export { MediaText, type MediaTextProps } from '../components/MediaText';
|
|
47
|
+
export { TeamGrid, type TeamGridProps, type TeamMember } from '../components/TeamGrid';
|
|
48
|
+
export { Steps, type StepsProps, type StepItem } from '../components/Steps';
|
|
49
|
+
export { SectionHeading } from '../components/SectionHeading';
|
|
50
|
+
export { CollectionDetail, type CollectionDetailProps, type CollectionDetailContext, } from '../components/CollectionDetail';
|
|
51
|
+
export { ToneBadge, Dot, type Tone, type ToneBadgeProps, type DotProps, } from '../components/ToneBadge';
|
|
52
|
+
export { Chart, type ChartProps, type ChartSeries } from '../components/Chart';
|
|
53
|
+
export { type ColorToken, type ThemeFonts, type ThemeTokens, type ThemePreset, type ThemeEmitMode, type ApplyThemeOptions, THEME_STYLE_ID, toHslTriplet, applyThemeVars, applyFontVars, clearFontVars, clearThemeVars, } from '../theme/tokens';
|
|
54
|
+
export { type ThemeState, type ThemeStoreConfig, type ThemeBundle, createThemeStore, applyStoredTheme, } from '../theme/store';
|
|
55
|
+
export { ThemeEditor, type ThemeEditorProps } from '../theme/ThemeEditor';
|
|
56
|
+
export { type FontPairing, FONT_PAIRINGS, getFontPairing, matchFontPairing, fontPackages, } from '../theme/fontPairings';
|
|
57
|
+
export { Timeline, TimelineCalendar, TimelineGantt, formatSpan, parseIso, utcDay, dayKey, monthLabel, type TimelineItem, type TimelineProps, type TimelineViewMode, type TimelineCalendarProps, type TimelineGanttProps, } from '../timeline';
|
|
58
|
+
export { tid } from '../lib/testid';
|
|
59
|
+
export { formatCurrency, initials, fmtDate, fmtDateTime, fromNow, daysUntil, hrs, pct, } from '../lib/format';
|
package/dist/site/index.js
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
export { Chart, CollectionDetail } from '../chunk-UTWX2X2A.js';
|
|
3
|
+
export { Dot, ToneBadge } from '../chunk-DPLRHEJZ.js';
|
|
4
|
+
export { Accordion, AvatarBlock, Banner, BlockImage, BlockLink, CTABanner, Columns, ContactForm, Container, FAQ, FONT_PAIRINGS, FeatureGrid, Footer, Gallery, Hero, ListBlock, LogoCloud, MediaText, Navbar, PricingTable, RichTextBlock, SectionHeading, Spacer, Steps, THEME_STYLE_ID, Tabs, TeamGrid, Testimonial, TestimonialGrid, ThemeEditor, VideoEmbed, applyFontVars, applyStoredTheme, applyThemeVars, clearFontVars, clearThemeVars, createThemeStore, fontPackages, getFontPairing, matchFontPairing, tid, toEmbedUrl, toHslTriplet } from '../chunk-RBXZYNVB.js';
|
|
5
|
+
export { Callout } from '../chunk-UJE32SST.js';
|
|
6
|
+
export { Timeline } from '../chunk-OVEQERPO.js';
|
|
7
|
+
export { TimelineCalendar, TimelineGantt, dayKey, formatSpan, monthLabel, parseIso, utcDay } from '../chunk-4EZVCGRL.js';
|
|
8
|
+
export { daysUntil, fmtDate, fmtDateTime, formatCurrency, fromNow, hrs, initials, pct } from '../chunk-WW6EOVZA.js';
|
|
2
9
|
//# sourceMappingURL=index.js.map
|
|
3
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type Config, type Data } from '@measured/puck';
|
|
2
|
+
import { type ThemeTokens } from '../theme/tokens';
|
|
3
|
+
import type { StudioPersistence } from './types';
|
|
4
|
+
export interface PageRendererProps {
|
|
5
|
+
config: Config;
|
|
6
|
+
persistence: StudioPersistence;
|
|
7
|
+
defaultTheme: ThemeTokens;
|
|
8
|
+
live: boolean;
|
|
9
|
+
slug?: string;
|
|
10
|
+
emptyState?: {
|
|
11
|
+
title: string;
|
|
12
|
+
body: string;
|
|
13
|
+
};
|
|
14
|
+
testIdPrefix?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Render inside a {@link LiveDataProvider}, so live-widget blocks resolve real
|
|
17
|
+
* ARBI data. Only pass this when mounting the renderer INSIDE the authenticated
|
|
18
|
+
* app tree (providers + a selected workspace present); on the public site leave
|
|
19
|
+
* it off and widgets render placeholders.
|
|
20
|
+
*/
|
|
21
|
+
liveData?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Render this page verbatim instead of loading a slug from persistence — for an
|
|
24
|
+
* in-code page (e.g. a config-authored in-app board) that isn't a published
|
|
25
|
+
* studio document. The slug is ignored.
|
|
26
|
+
*/
|
|
27
|
+
initialData?: Data;
|
|
28
|
+
/**
|
|
29
|
+
* Apply the persisted studio theme to the document (default true). Turn OFF for
|
|
30
|
+
* an in-app renderer so it keeps the ambient app theme instead of repainting the
|
|
31
|
+
* whole document with the marketing palette.
|
|
32
|
+
*/
|
|
33
|
+
applyTheme?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export declare function PageRenderer({ config, persistence, defaultTheme, live, slug: slugProp, emptyState, testIdPrefix, liveData, initialData, applyTheme, }: PageRendererProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Standard section shell — max-width, padding and an optional tone. Token-only so
|
|
3
|
+
* it themes to whatever app consumes it; shared by blocks that echo a page's
|
|
4
|
+
* section rhythm.
|
|
5
|
+
*
|
|
6
|
+
* The `ink` tone is a true **dark island**: it scopes a full inverted `--color-*`
|
|
7
|
+
* context (background↔foreground swapped, card/muted/border derived), so any child
|
|
8
|
+
* block that uses semantic tokens renders correctly on a dark surface. This lets a
|
|
9
|
+
* single page mix genuinely light and dark sections.
|
|
10
|
+
*/
|
|
11
|
+
import type { ReactNode } from 'react';
|
|
12
|
+
export type SectionTone = 'default' | 'muted' | 'ink';
|
|
13
|
+
export type SectionPadding = 'none' | 'sm' | 'md' | 'lg';
|
|
14
|
+
export type SectionWidth = 'narrow' | 'default' | 'wide' | 'full';
|
|
15
|
+
export interface SectionProps {
|
|
16
|
+
children: ReactNode;
|
|
17
|
+
tone?: SectionTone;
|
|
18
|
+
padding?: SectionPadding;
|
|
19
|
+
maxWidth?: SectionWidth;
|
|
20
|
+
/** Subtle grain/texture overlay in the current text colour (editorial surfaces). */
|
|
21
|
+
texture?: boolean;
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare function Section({ children, tone, padding, maxWidth, texture, className, }: SectionProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type Config } from '@measured/puck';
|
|
2
|
+
import { type ThemeBundle } from '../theme/store';
|
|
3
|
+
import type { ThemeTokens } from '../theme/tokens';
|
|
4
|
+
import { type MaterializeOptions } from './publish';
|
|
5
|
+
import type { StudioPageMeta, StudioPersistence } from './types';
|
|
6
|
+
export interface StudioEditorProps {
|
|
7
|
+
config: Config;
|
|
8
|
+
pages: readonly StudioPageMeta[];
|
|
9
|
+
persistence: StudioPersistence;
|
|
10
|
+
themeBundle: ThemeBundle;
|
|
11
|
+
defaultTheme: ThemeTokens;
|
|
12
|
+
brandLabel: string;
|
|
13
|
+
backHref?: string;
|
|
14
|
+
backLabel?: string;
|
|
15
|
+
live: boolean;
|
|
16
|
+
initialSlug?: string;
|
|
17
|
+
testIdPrefix?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Install a DEV-only `window.__studioResetSlug(slug)` hook that clears a slug's
|
|
20
|
+
* stored page so a fresh seed governs the canvas. For tests/demos only — it can
|
|
21
|
+
* delete pages, so keep it off in production (pass `import.meta.env.DEV`). The
|
|
22
|
+
* package stays env-agnostic; the consumer owns the flag.
|
|
23
|
+
*/
|
|
24
|
+
resetSeam?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Optional sink for published image bytes. When omitted, publishing inlines
|
|
27
|
+
* each asset as a `data:` URI (self-contained, no backend). Provide this to
|
|
28
|
+
* upload bytes to a CDN/static host and return a URL instead.
|
|
29
|
+
*/
|
|
30
|
+
publishAsset?: MaterializeOptions['publishAsset'];
|
|
31
|
+
}
|
|
32
|
+
export declare function StudioEditor({ config, pages, persistence, themeBundle, defaultTheme, brandLabel, backHref, backLabel, live, initialSlug, testIdPrefix, publishAsset, resetSeam, }: StudioEditorProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { CustomField } from '@measured/puck';
|
|
2
|
+
import type { BuildPrompt } from './types';
|
|
3
|
+
export interface AiFieldsConfig {
|
|
4
|
+
/** The marketing workspace the AI grounds on. */
|
|
5
|
+
workspaceId: string;
|
|
6
|
+
/** Turns a field's kind/label/current text into an instruction. */
|
|
7
|
+
buildPrompt: BuildPrompt;
|
|
8
|
+
/** Default prompt kind when a field does not specify one. */
|
|
9
|
+
defaultKind?: string;
|
|
10
|
+
/** Testid namespace for the field + write button. */
|
|
11
|
+
testIdPrefix?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface AiFields {
|
|
14
|
+
aiText: (label: string, placeholder?: string) => CustomField<string>;
|
|
15
|
+
aiTextarea: (label: string, placeholder?: string, kind?: string) => CustomField<string>;
|
|
16
|
+
}
|
|
17
|
+
export declare function createAiFields(cfg: AiFieldsConfig): AiFields;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared field helpers for the block registry. Every block config — the built-ins
|
|
3
|
+
* in {@link createArbiBlocksConfig} and the website blocks in
|
|
4
|
+
* {@link file://./websiteBlocks.tsx} — builds its Puck fields from this one kit so
|
|
5
|
+
* the AI-or-plain copy fallback, the icon `select`, the tone/bool radios and the
|
|
6
|
+
* stable render-time testid are declared once.
|
|
7
|
+
*/
|
|
8
|
+
import type { Field } from '@measured/puck';
|
|
9
|
+
import type { LucideIcon } from 'lucide-react';
|
|
10
|
+
import type { AiFields } from './aiFields';
|
|
11
|
+
export declare const iconMap: Record<string, LucideIcon>;
|
|
12
|
+
/** The bundle of field helpers a block config needs. */
|
|
13
|
+
export interface BlockKit {
|
|
14
|
+
/** Single-line copy: AI-authorable when a host supplies aiFields, else plain text. */
|
|
15
|
+
textField: (label: string, placeholder?: string) => Field;
|
|
16
|
+
/** Multi-line copy: AI-authorable when a host supplies aiFields, else plain textarea. */
|
|
17
|
+
textareaField: (label: string, placeholder?: string, kind?: string) => Field;
|
|
18
|
+
/** Image source: a workspace-asset picker when a host supplies imageField, else a URL input. */
|
|
19
|
+
imageField: (label: string) => Field;
|
|
20
|
+
/** A Yes/No radio. */
|
|
21
|
+
boolRadio: (label: string) => Field;
|
|
22
|
+
/** A `select` over {@link iconMap} names. */
|
|
23
|
+
iconField: (label?: string) => Field;
|
|
24
|
+
/** Resolve an icon name to its Lucide component. */
|
|
25
|
+
resolveIcon: (name?: string) => LucideIcon | undefined;
|
|
26
|
+
/** Stable, e2e-locatable testid derived from a block's Puck id. */
|
|
27
|
+
blockTestId: (id: string) => string;
|
|
28
|
+
/**
|
|
29
|
+
* Optional host override for the eyebrow style on heading-bearing blocks
|
|
30
|
+
* (Hero, Section heading). Lets a consumer render a brand accent (e.g. a brass
|
|
31
|
+
* eyebrow) without forking the blocks. Undefined → the default token classes.
|
|
32
|
+
*/
|
|
33
|
+
eyebrowClassName?: string;
|
|
34
|
+
}
|
|
35
|
+
/** Build the shared field helpers, closing over the host's optional AI + image fields. */
|
|
36
|
+
export declare function createBlockKit(ai?: AiFields, image?: (label: string) => Field, eyebrowClassName?: string): BlockKit;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { Config, Field } from '@measured/puck';
|
|
2
|
+
import { iconMap } from './blockKit';
|
|
3
|
+
import type { AiFields } from './aiFields';
|
|
4
|
+
export interface ArbiBlocksConfigOptions {
|
|
5
|
+
/**
|
|
6
|
+
* Firm AI fields from {@link createAiFields}. When present, every string copy
|
|
7
|
+
* prop becomes an AI-authorable field; when absent, plain Puck text inputs.
|
|
8
|
+
*/
|
|
9
|
+
aiFields?: AiFields;
|
|
10
|
+
/**
|
|
11
|
+
* Firm image field from {@link createImageField}. When present, image props
|
|
12
|
+
* become a workspace-asset picker (pick / upload / URL / generate); when absent,
|
|
13
|
+
* a plain URL text input.
|
|
14
|
+
*/
|
|
15
|
+
imageField?: (label: string) => Field;
|
|
16
|
+
/**
|
|
17
|
+
* Page canvas overrides. The builder paints every page inside this root; a
|
|
18
|
+
* consumer sets e.g. a dark editorial canvas without forking the package.
|
|
19
|
+
* Defaults to `bg-background text-foreground font-sans` on a neutral wrapper.
|
|
20
|
+
*/
|
|
21
|
+
root?: {
|
|
22
|
+
/** Extra classes appended to (and able to override) the default canvas classes. */
|
|
23
|
+
className?: string;
|
|
24
|
+
/** testid for the page root wrapper. Defaults to `arbi-blocks-page-root`. */
|
|
25
|
+
testId?: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Firm override for the eyebrow style on heading-bearing blocks (Hero, Section
|
|
29
|
+
* heading) — e.g. a brand accent like a brass eyebrow. Undefined → token default.
|
|
30
|
+
*/
|
|
31
|
+
eyebrowClassName?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Register the live-widget blocks (a "Widgets" category) that read shared ARBI
|
|
34
|
+
* hooks — Agent activity, Live metric. They render placeholders in the editor
|
|
35
|
+
* and on the public site, resolving real data only inside an authenticated
|
|
36
|
+
* in-app renderer (`PageRenderer liveData`). Opt-in so a pure marketing builder
|
|
37
|
+
* doesn't surface back-office widgets.
|
|
38
|
+
*/
|
|
39
|
+
liveWidgets?: boolean;
|
|
40
|
+
}
|
|
41
|
+
export { iconMap };
|
|
42
|
+
export declare function createArbiBlocksConfig(opts?: ArbiBlocksConfigOptions): Config;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { CustomField } from '@measured/puck';
|
|
2
|
+
export interface ImageFieldConfig {
|
|
3
|
+
/** The workspace uploads/generations are saved to, and assets are picked from. */
|
|
4
|
+
workspaceId: string;
|
|
5
|
+
/** Folder for uploaded/authored assets. Default "assets". */
|
|
6
|
+
folder?: string;
|
|
7
|
+
/** Testid namespace. Default "studio". */
|
|
8
|
+
testIdPrefix?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ImageFieldFactory {
|
|
11
|
+
imageField: (label: string) => CustomField<string>;
|
|
12
|
+
}
|
|
13
|
+
/** Build the image field, closing over the host's workspace + testid prefix. */
|
|
14
|
+
export declare function createImageField(cfg: ImageFieldConfig): ImageFieldFactory;
|