@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
package/dist/site/index.cjs
CHANGED
|
@@ -1,248 +1,331 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
|
-
var
|
|
4
|
+
var chunkJ2BGSWXM_cjs = require('../chunk-J2BGSWXM.cjs');
|
|
5
|
+
var chunkVFUWWH52_cjs = require('../chunk-VFUWWH52.cjs');
|
|
6
|
+
var chunkDREI7EQ2_cjs = require('../chunk-DREI7EQ2.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, "ArticleList", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkJ2BGSWXM_cjs.ArticleList; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "Chart", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkJ2BGSWXM_cjs.Chart; }
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(exports, "CheckList", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () { return chunkJ2BGSWXM_cjs.CheckList; }
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "CollectionDetail", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return chunkJ2BGSWXM_cjs.CollectionDetail; }
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "CtaBand", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () { return chunkJ2BGSWXM_cjs.CtaBand; }
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, "DefinitionList", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function () { return chunkJ2BGSWXM_cjs.DefinitionList; }
|
|
37
|
+
});
|
|
38
|
+
Object.defineProperty(exports, "EditorialHeading", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function () { return chunkJ2BGSWXM_cjs.EditorialHeading; }
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "EditorialHero", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () { return chunkJ2BGSWXM_cjs.EditorialHero; }
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(exports, "EditorialProse", {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function () { return chunkJ2BGSWXM_cjs.EditorialProse; }
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(exports, "EditorialSection", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function () { return chunkJ2BGSWXM_cjs.EditorialSection; }
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "Eyebrow", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () { return chunkJ2BGSWXM_cjs.Eyebrow; }
|
|
57
|
+
});
|
|
58
|
+
Object.defineProperty(exports, "PanelGrid", {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function () { return chunkJ2BGSWXM_cjs.PanelGrid; }
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(exports, "ProofStrip", {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function () { return chunkJ2BGSWXM_cjs.ProofStrip; }
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(exports, "PullQuote", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () { return chunkJ2BGSWXM_cjs.PullQuote; }
|
|
69
|
+
});
|
|
70
|
+
Object.defineProperty(exports, "Reveal", {
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get: function () { return chunkJ2BGSWXM_cjs.Reveal; }
|
|
73
|
+
});
|
|
74
|
+
Object.defineProperty(exports, "TagList", {
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function () { return chunkJ2BGSWXM_cjs.TagList; }
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "Dot", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () { return chunkVFUWWH52_cjs.Dot; }
|
|
81
|
+
});
|
|
82
|
+
Object.defineProperty(exports, "ToneBadge", {
|
|
83
|
+
enumerable: true,
|
|
84
|
+
get: function () { return chunkVFUWWH52_cjs.ToneBadge; }
|
|
85
|
+
});
|
|
7
86
|
Object.defineProperty(exports, "Accordion", {
|
|
8
87
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkDREI7EQ2_cjs.Accordion; }
|
|
10
89
|
});
|
|
11
90
|
Object.defineProperty(exports, "AvatarBlock", {
|
|
12
91
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkDREI7EQ2_cjs.AvatarBlock; }
|
|
14
93
|
});
|
|
15
94
|
Object.defineProperty(exports, "Banner", {
|
|
16
95
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkDREI7EQ2_cjs.Banner; }
|
|
18
97
|
});
|
|
19
98
|
Object.defineProperty(exports, "BlockImage", {
|
|
20
99
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkDREI7EQ2_cjs.BlockImage; }
|
|
22
101
|
});
|
|
23
102
|
Object.defineProperty(exports, "BlockLink", {
|
|
24
103
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkDREI7EQ2_cjs.BlockLink; }
|
|
26
105
|
});
|
|
27
106
|
Object.defineProperty(exports, "CTABanner", {
|
|
28
107
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
30
|
-
});
|
|
31
|
-
Object.defineProperty(exports, "Callout", {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function () { return chunkDBAUZD7A_cjs.Callout; }
|
|
108
|
+
get: function () { return chunkDREI7EQ2_cjs.CTABanner; }
|
|
34
109
|
});
|
|
35
110
|
Object.defineProperty(exports, "Columns", {
|
|
36
111
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkDREI7EQ2_cjs.Columns; }
|
|
38
113
|
});
|
|
39
114
|
Object.defineProperty(exports, "ContactForm", {
|
|
40
115
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkDREI7EQ2_cjs.ContactForm; }
|
|
42
117
|
});
|
|
43
118
|
Object.defineProperty(exports, "Container", {
|
|
44
119
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkDREI7EQ2_cjs.Container; }
|
|
46
121
|
});
|
|
47
122
|
Object.defineProperty(exports, "FAQ", {
|
|
48
123
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkDREI7EQ2_cjs.FAQ; }
|
|
50
125
|
});
|
|
51
126
|
Object.defineProperty(exports, "FONT_PAIRINGS", {
|
|
52
127
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkDREI7EQ2_cjs.FONT_PAIRINGS; }
|
|
54
129
|
});
|
|
55
130
|
Object.defineProperty(exports, "FeatureGrid", {
|
|
56
131
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkDREI7EQ2_cjs.FeatureGrid; }
|
|
58
133
|
});
|
|
59
134
|
Object.defineProperty(exports, "Footer", {
|
|
60
135
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkDREI7EQ2_cjs.Footer; }
|
|
62
137
|
});
|
|
63
138
|
Object.defineProperty(exports, "Gallery", {
|
|
64
139
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkDREI7EQ2_cjs.Gallery; }
|
|
66
141
|
});
|
|
67
142
|
Object.defineProperty(exports, "Hero", {
|
|
68
143
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkDREI7EQ2_cjs.Hero; }
|
|
70
145
|
});
|
|
71
146
|
Object.defineProperty(exports, "ListBlock", {
|
|
72
147
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkDREI7EQ2_cjs.ListBlock; }
|
|
74
149
|
});
|
|
75
150
|
Object.defineProperty(exports, "LogoCloud", {
|
|
76
151
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkDREI7EQ2_cjs.LogoCloud; }
|
|
78
153
|
});
|
|
79
154
|
Object.defineProperty(exports, "MediaText", {
|
|
80
155
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkDREI7EQ2_cjs.MediaText; }
|
|
82
157
|
});
|
|
83
158
|
Object.defineProperty(exports, "Navbar", {
|
|
84
159
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkDREI7EQ2_cjs.Navbar; }
|
|
86
161
|
});
|
|
87
162
|
Object.defineProperty(exports, "PricingTable", {
|
|
88
163
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkDREI7EQ2_cjs.PricingTable; }
|
|
165
|
+
});
|
|
166
|
+
Object.defineProperty(exports, "ProfileCard", {
|
|
167
|
+
enumerable: true,
|
|
168
|
+
get: function () { return chunkDREI7EQ2_cjs.ProfileCard; }
|
|
90
169
|
});
|
|
91
170
|
Object.defineProperty(exports, "RichTextBlock", {
|
|
92
171
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkDREI7EQ2_cjs.RichTextBlock; }
|
|
94
173
|
});
|
|
95
174
|
Object.defineProperty(exports, "SectionHeading", {
|
|
96
175
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkDREI7EQ2_cjs.SectionHeading; }
|
|
98
177
|
});
|
|
99
178
|
Object.defineProperty(exports, "Spacer", {
|
|
100
179
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkDREI7EQ2_cjs.Spacer; }
|
|
102
181
|
});
|
|
103
182
|
Object.defineProperty(exports, "Steps", {
|
|
104
183
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkDREI7EQ2_cjs.Steps; }
|
|
106
185
|
});
|
|
107
186
|
Object.defineProperty(exports, "THEME_STYLE_ID", {
|
|
108
187
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkDREI7EQ2_cjs.THEME_STYLE_ID; }
|
|
110
189
|
});
|
|
111
190
|
Object.defineProperty(exports, "Tabs", {
|
|
112
191
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkDREI7EQ2_cjs.Tabs; }
|
|
114
193
|
});
|
|
115
194
|
Object.defineProperty(exports, "TeamGrid", {
|
|
116
195
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkDREI7EQ2_cjs.TeamGrid; }
|
|
118
197
|
});
|
|
119
198
|
Object.defineProperty(exports, "Testimonial", {
|
|
120
199
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkDREI7EQ2_cjs.Testimonial; }
|
|
122
201
|
});
|
|
123
202
|
Object.defineProperty(exports, "TestimonialGrid", {
|
|
124
203
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkDREI7EQ2_cjs.TestimonialGrid; }
|
|
126
205
|
});
|
|
127
206
|
Object.defineProperty(exports, "ThemeEditor", {
|
|
128
207
|
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; }
|
|
208
|
+
get: function () { return chunkDREI7EQ2_cjs.ThemeEditor; }
|
|
142
209
|
});
|
|
143
210
|
Object.defineProperty(exports, "VideoEmbed", {
|
|
144
211
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkDREI7EQ2_cjs.VideoEmbed; }
|
|
146
213
|
});
|
|
147
214
|
Object.defineProperty(exports, "applyFontVars", {
|
|
148
215
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkDREI7EQ2_cjs.applyFontVars; }
|
|
150
217
|
});
|
|
151
218
|
Object.defineProperty(exports, "applyStoredTheme", {
|
|
152
219
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkDREI7EQ2_cjs.applyStoredTheme; }
|
|
154
221
|
});
|
|
155
222
|
Object.defineProperty(exports, "applyThemeVars", {
|
|
156
223
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkDREI7EQ2_cjs.applyThemeVars; }
|
|
158
225
|
});
|
|
159
226
|
Object.defineProperty(exports, "clearFontVars", {
|
|
160
227
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkDREI7EQ2_cjs.clearFontVars; }
|
|
162
229
|
});
|
|
163
230
|
Object.defineProperty(exports, "clearThemeVars", {
|
|
164
231
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkDREI7EQ2_cjs.clearThemeVars; }
|
|
166
233
|
});
|
|
167
234
|
Object.defineProperty(exports, "createThemeStore", {
|
|
168
235
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkDREI7EQ2_cjs.createThemeStore; }
|
|
170
237
|
});
|
|
171
|
-
Object.defineProperty(exports, "
|
|
238
|
+
Object.defineProperty(exports, "fontPackages", {
|
|
172
239
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkDREI7EQ2_cjs.fontPackages; }
|
|
174
241
|
});
|
|
175
|
-
Object.defineProperty(exports, "
|
|
242
|
+
Object.defineProperty(exports, "getFontPairing", {
|
|
176
243
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkDREI7EQ2_cjs.getFontPairing; }
|
|
178
245
|
});
|
|
179
|
-
Object.defineProperty(exports, "
|
|
246
|
+
Object.defineProperty(exports, "matchFontPairing", {
|
|
180
247
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkDREI7EQ2_cjs.matchFontPairing; }
|
|
182
249
|
});
|
|
183
|
-
Object.defineProperty(exports, "
|
|
250
|
+
Object.defineProperty(exports, "tid", {
|
|
184
251
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkDREI7EQ2_cjs.tid; }
|
|
186
253
|
});
|
|
187
|
-
Object.defineProperty(exports, "
|
|
254
|
+
Object.defineProperty(exports, "toEmbedUrl", {
|
|
188
255
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkDREI7EQ2_cjs.toEmbedUrl; }
|
|
190
257
|
});
|
|
191
|
-
Object.defineProperty(exports, "
|
|
258
|
+
Object.defineProperty(exports, "toHslTriplet", {
|
|
192
259
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkDREI7EQ2_cjs.toHslTriplet; }
|
|
194
261
|
});
|
|
195
|
-
Object.defineProperty(exports, "
|
|
262
|
+
Object.defineProperty(exports, "Callout", {
|
|
196
263
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkPCB2BPN3_cjs.Callout; }
|
|
198
265
|
});
|
|
199
|
-
Object.defineProperty(exports, "
|
|
266
|
+
Object.defineProperty(exports, "Timeline", {
|
|
200
267
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkELR74ME6_cjs.Timeline; }
|
|
202
269
|
});
|
|
203
|
-
Object.defineProperty(exports, "
|
|
270
|
+
Object.defineProperty(exports, "TimelineCalendar", {
|
|
204
271
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkVPPX5XUF_cjs.TimelineCalendar; }
|
|
206
273
|
});
|
|
207
|
-
Object.defineProperty(exports, "
|
|
274
|
+
Object.defineProperty(exports, "TimelineGantt", {
|
|
208
275
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkVPPX5XUF_cjs.TimelineGantt; }
|
|
210
277
|
});
|
|
211
|
-
Object.defineProperty(exports, "
|
|
278
|
+
Object.defineProperty(exports, "dayKey", {
|
|
212
279
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunkVPPX5XUF_cjs.dayKey; }
|
|
214
281
|
});
|
|
215
|
-
Object.defineProperty(exports, "
|
|
282
|
+
Object.defineProperty(exports, "formatSpan", {
|
|
216
283
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
284
|
+
get: function () { return chunkVPPX5XUF_cjs.formatSpan; }
|
|
218
285
|
});
|
|
219
286
|
Object.defineProperty(exports, "monthLabel", {
|
|
220
287
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
288
|
+
get: function () { return chunkVPPX5XUF_cjs.monthLabel; }
|
|
222
289
|
});
|
|
223
290
|
Object.defineProperty(exports, "parseIso", {
|
|
224
291
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
292
|
+
get: function () { return chunkVPPX5XUF_cjs.parseIso; }
|
|
226
293
|
});
|
|
227
|
-
Object.defineProperty(exports, "
|
|
294
|
+
Object.defineProperty(exports, "utcDay", {
|
|
228
295
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
296
|
+
get: function () { return chunkVPPX5XUF_cjs.utcDay; }
|
|
230
297
|
});
|
|
231
|
-
Object.defineProperty(exports, "
|
|
298
|
+
Object.defineProperty(exports, "daysUntil", {
|
|
232
299
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
300
|
+
get: function () { return chunkWJMEXTVD_cjs.daysUntil; }
|
|
234
301
|
});
|
|
235
|
-
Object.defineProperty(exports, "
|
|
302
|
+
Object.defineProperty(exports, "fmtDate", {
|
|
236
303
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
304
|
+
get: function () { return chunkWJMEXTVD_cjs.fmtDate; }
|
|
238
305
|
});
|
|
239
|
-
Object.defineProperty(exports, "
|
|
306
|
+
Object.defineProperty(exports, "fmtDateTime", {
|
|
240
307
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
308
|
+
get: function () { return chunkWJMEXTVD_cjs.fmtDateTime; }
|
|
242
309
|
});
|
|
243
|
-
Object.defineProperty(exports, "
|
|
310
|
+
Object.defineProperty(exports, "formatCurrency", {
|
|
311
|
+
enumerable: true,
|
|
312
|
+
get: function () { return chunkWJMEXTVD_cjs.formatCurrency; }
|
|
313
|
+
});
|
|
314
|
+
Object.defineProperty(exports, "fromNow", {
|
|
315
|
+
enumerable: true,
|
|
316
|
+
get: function () { return chunkWJMEXTVD_cjs.fromNow; }
|
|
317
|
+
});
|
|
318
|
+
Object.defineProperty(exports, "hrs", {
|
|
319
|
+
enumerable: true,
|
|
320
|
+
get: function () { return chunkWJMEXTVD_cjs.hrs; }
|
|
321
|
+
});
|
|
322
|
+
Object.defineProperty(exports, "initials", {
|
|
323
|
+
enumerable: true,
|
|
324
|
+
get: function () { return chunkWJMEXTVD_cjs.initials; }
|
|
325
|
+
});
|
|
326
|
+
Object.defineProperty(exports, "pct", {
|
|
244
327
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
328
|
+
get: function () { return chunkWJMEXTVD_cjs.pct; }
|
|
246
329
|
});
|
|
247
330
|
//# sourceMappingURL=index.cjs.map
|
|
248
331
|
//# sourceMappingURL=index.cjs.map
|
package/dist/site/index.d.ts
CHANGED
|
@@ -1,4 +1,60 @@
|
|
|
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 * from '../components/editorial';
|
|
49
|
+
export { Steps, type StepsProps, type StepItem } from '../components/Steps';
|
|
50
|
+
export { SectionHeading } from '../components/SectionHeading';
|
|
51
|
+
export { CollectionDetail, type CollectionDetailProps, type CollectionDetailContext, } from '../components/CollectionDetail';
|
|
52
|
+
export { ToneBadge, Dot, type Tone, type ToneBadgeProps, type DotProps, } from '../components/ToneBadge';
|
|
53
|
+
export { Chart, type ChartProps, type ChartSeries } from '../components/Chart';
|
|
54
|
+
export { type ColorToken, type ThemeFonts, type ThemeTokens, type ThemePreset, type ThemeEmitMode, type ApplyThemeOptions, THEME_STYLE_ID, toHslTriplet, applyThemeVars, applyFontVars, clearFontVars, clearThemeVars, } from '../theme/tokens';
|
|
55
|
+
export { type ThemeState, type ThemeStoreConfig, type ThemeBundle, createThemeStore, applyStoredTheme, } from '../theme/store';
|
|
56
|
+
export { ThemeEditor, type ThemeEditorProps } from '../theme/ThemeEditor';
|
|
57
|
+
export { type FontPairing, FONT_PAIRINGS, getFontPairing, matchFontPairing, fontPackages, } from '../theme/fontPairings';
|
|
58
|
+
export { Timeline, TimelineCalendar, TimelineGantt, formatSpan, parseIso, utcDay, dayKey, monthLabel, type TimelineItem, type TimelineProps, type TimelineViewMode, type TimelineCalendarProps, type TimelineGanttProps, } from '../timeline';
|
|
59
|
+
export { tid } from '../lib/testid';
|
|
60
|
+
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 { ArticleList, Chart, CheckList, CollectionDetail, CtaBand, DefinitionList, EditorialHeading, EditorialHero, EditorialProse, EditorialSection, Eyebrow, PanelGrid, ProofStrip, PullQuote, Reveal, TagList } from '../chunk-OBLSURHV.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, ProfileCard, 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-6P6AEQJB.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;
|