@conloca/cms-spa 0.1.14 → 0.1.16
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/dist/App-Bk1LNxbS.mjs +10851 -0
- package/dist/App-Bk1LNxbS.mjs.map +1 -0
- package/dist/App.d.ts +35 -0
- package/dist/App.d.ts.map +1 -0
- package/dist/App.js +52 -0
- package/dist/CmsSpaApp.d.ts +13 -0
- package/dist/CmsSpaApp.d.ts.map +1 -0
- package/dist/CmsSpaApp.js +33 -0
- package/dist/cn-dlASUkDY.mjs +10 -0
- package/dist/cn-dlASUkDY.mjs.map +1 -0
- package/dist/components/CMSDashboard.d.ts +2 -0
- package/dist/components/CMSDashboard.d.ts.map +1 -0
- package/dist/components/CMSDashboard.js +20 -0
- package/dist/components/CMSLayout.d.ts +2 -0
- package/dist/components/CMSLayout.d.ts.map +1 -0
- package/dist/components/CMSLayout.js +15 -0
- package/dist/components/ConlocaLogo.d.ts +2 -0
- package/dist/components/ConlocaLogo.d.ts.map +1 -0
- package/dist/components/ConlocaLogo.js +4 -0
- package/dist/components/GitStatusPanel.d.ts +25 -0
- package/dist/components/GitStatusPanel.d.ts.map +1 -0
- package/dist/components/GitStatusPanel.js +77 -0
- package/dist/components/MobileTopBar.d.ts +6 -0
- package/dist/components/MobileTopBar.d.ts.map +1 -0
- package/dist/components/MobileTopBar.js +6 -0
- package/dist/components/Sidebar.d.ts +8 -0
- package/dist/components/Sidebar.d.ts.map +1 -0
- package/dist/components/Sidebar.js +40 -0
- package/dist/components/UserAvatar.d.ts +2 -0
- package/dist/components/UserAvatar.d.ts.map +1 -0
- package/dist/components/UserAvatar.js +14 -0
- package/dist/components/cards/DataEntryCard.d.ts +14 -0
- package/dist/components/cards/DataEntryCard.d.ts.map +1 -0
- package/dist/components/cards/DataEntryCard.js +32 -0
- package/dist/components/cards/SectionCard.d.ts +15 -0
- package/dist/components/cards/SectionCard.d.ts.map +1 -0
- package/dist/components/cards/SectionCard.js +10 -0
- package/dist/components/cards/index.d.ts +2 -0
- package/dist/components/cards/index.d.ts.map +1 -0
- package/dist/components/cards/index.js +1 -0
- package/dist/components/dashboard/RecentActivity.d.ts +2 -0
- package/dist/components/dashboard/RecentActivity.d.ts.map +1 -0
- package/dist/components/dashboard/RecentActivity.js +58 -0
- package/dist/components/dialog.d.ts +53 -0
- package/dist/components/dialog.d.ts.map +1 -0
- package/dist/components/dialog.js +56 -0
- package/dist/components/dialogs/BlockPropertiesDialog.d.ts +12 -0
- package/dist/components/dialogs/BlockPropertiesDialog.d.ts.map +1 -0
- package/dist/components/dialogs/BlockPropertiesDialog.js +42 -0
- package/dist/components/dialogs/ConflictDialog.d.ts +10 -0
- package/dist/components/dialogs/ConflictDialog.d.ts.map +1 -0
- package/dist/components/dialogs/ConflictDialog.js +29 -0
- package/dist/components/dialogs/CreateDataDialog.d.ts +9 -0
- package/dist/components/dialogs/CreateDataDialog.d.ts.map +1 -0
- package/dist/components/dialogs/CreateDataDialog.js +20 -0
- package/dist/components/dialogs/CreateFolderDialog.d.ts +9 -0
- package/dist/components/dialogs/CreateFolderDialog.d.ts.map +1 -0
- package/dist/components/dialogs/CreateFolderDialog.js +33 -0
- package/dist/components/dialogs/CreatePageDialog.d.ts +10 -0
- package/dist/components/dialogs/CreatePageDialog.d.ts.map +1 -0
- package/dist/components/dialogs/CreatePageDialog.js +155 -0
- package/dist/components/dialogs/DataPropertiesDialog.d.ts +10 -0
- package/dist/components/dialogs/DataPropertiesDialog.d.ts.map +1 -0
- package/dist/components/dialogs/DataPropertiesDialog.js +38 -0
- package/dist/components/dialogs/DeleteConfirmDialog.d.ts +12 -0
- package/dist/components/dialogs/DeleteConfirmDialog.d.ts.map +1 -0
- package/dist/components/dialogs/DeleteConfirmDialog.js +7 -0
- package/dist/components/dialogs/ErrorModal.d.ts +14 -0
- package/dist/components/dialogs/ErrorModal.d.ts.map +1 -0
- package/dist/components/dialogs/ErrorModal.js +38 -0
- package/dist/components/dialogs/MoveFolderDialog.d.ts +11 -0
- package/dist/components/dialogs/MoveFolderDialog.d.ts.map +1 -0
- package/dist/components/dialogs/MoveFolderDialog.js +45 -0
- package/dist/components/dialogs/PageMetadataDialog.d.ts +10 -0
- package/dist/components/dialogs/PageMetadataDialog.d.ts.map +1 -0
- package/dist/components/dialogs/PageMetadataDialog.js +85 -0
- package/dist/components/dialogs/UnsavedChangesDialog.d.ts +8 -0
- package/dist/components/dialogs/UnsavedChangesDialog.d.ts.map +1 -0
- package/dist/components/dialogs/UnsavedChangesDialog.js +6 -0
- package/dist/components/dialogs/index.d.ts +9 -0
- package/dist/components/dialogs/index.d.ts.map +1 -0
- package/dist/components/dialogs/index.js +8 -0
- package/dist/components/editor/BlockEditor.d.ts +8 -0
- package/dist/components/editor/BlockEditor.d.ts.map +1 -0
- package/dist/components/editor/BlockEditor.js +262 -0
- package/dist/components/editor/BlockWrappers.d.ts +15 -0
- package/dist/components/editor/BlockWrappers.d.ts.map +1 -0
- package/dist/components/editor/BlockWrappers.js +29 -0
- package/dist/components/editor/CMSMDXEditor.d.ts +13 -0
- package/dist/components/editor/CMSMDXEditor.d.ts.map +1 -0
- package/dist/components/editor/CMSMDXEditor.js +123 -0
- package/dist/components/editor/ContentDiff.d.ts +10 -0
- package/dist/components/editor/ContentDiff.d.ts.map +1 -0
- package/dist/components/editor/ContentDiff.js +51 -0
- package/dist/components/editor/CreateBlockDialog.d.ts +26 -0
- package/dist/components/editor/CreateBlockDialog.d.ts.map +1 -0
- package/dist/components/editor/CreateBlockDialog.js +131 -0
- package/dist/components/editor/DrawerItemOverride.d.ts +8 -0
- package/dist/components/editor/DrawerItemOverride.d.ts.map +1 -0
- package/dist/components/editor/DrawerItemOverride.js +41 -0
- package/dist/components/editor/EditorChromeToggles.d.ts +16 -0
- package/dist/components/editor/EditorChromeToggles.d.ts.map +1 -0
- package/dist/components/editor/EditorChromeToggles.js +16 -0
- package/dist/components/editor/GenericBlock.d.ts +3 -0
- package/dist/components/editor/GenericBlock.d.ts.map +1 -0
- package/dist/components/editor/GenericBlock.js +1067 -0
- package/dist/components/editor/ImagePickerDialog.d.ts +6 -0
- package/dist/components/editor/ImagePickerDialog.d.ts.map +1 -0
- package/dist/components/editor/ImagePickerDialog.js +24 -0
- package/dist/components/editor/JsxPropsPanel.d.ts +16 -0
- package/dist/components/editor/JsxPropsPanel.d.ts.map +1 -0
- package/dist/components/editor/JsxPropsPanel.js +145 -0
- package/dist/components/editor/LocaleSelector.d.ts +9 -0
- package/dist/components/editor/LocaleSelector.d.ts.map +1 -0
- package/dist/components/editor/LocaleSelector.js +13 -0
- package/dist/components/editor/MDXLivePreview.d.ts +14 -0
- package/dist/components/editor/MDXLivePreview.d.ts.map +1 -0
- package/dist/components/editor/MDXLivePreview.js +103 -0
- package/dist/components/editor/MdxPageEditor.d.ts +10 -0
- package/dist/components/editor/MdxPageEditor.d.ts.map +1 -0
- package/dist/components/editor/MdxPageEditor.js +297 -0
- package/dist/components/editor/PageEditor.d.ts +18 -0
- package/dist/components/editor/PageEditor.d.ts.map +1 -0
- package/dist/components/editor/PageEditor.js +288 -0
- package/dist/components/editor/PageEditorHeaderActions.d.ts +16 -0
- package/dist/components/editor/PageEditorHeaderActions.d.ts.map +1 -0
- package/dist/components/editor/PageEditorHeaderActions.js +19 -0
- package/dist/components/editor/PageEditorWrapper.d.ts +7 -0
- package/dist/components/editor/PageEditorWrapper.d.ts.map +1 -0
- package/dist/components/editor/PageEditorWrapper.js +319 -0
- package/dist/components/editor/SearchableSelect.d.ts +34 -0
- package/dist/components/editor/SearchableSelect.d.ts.map +1 -0
- package/dist/components/editor/SearchableSelect.js +116 -0
- package/dist/components/editor/host-wrapper-plugin.d.ts +51 -0
- package/dist/components/editor/host-wrapper-plugin.d.ts.map +1 -0
- package/dist/components/editor/host-wrapper-plugin.js +37 -0
- package/dist/components/editor/index.d.ts +9 -0
- package/dist/components/editor/index.d.ts.map +1 -0
- package/dist/components/editor/index.js +7 -0
- package/dist/components/editor/insert-menu/InsertMdxComponentButton.d.ts +15 -0
- package/dist/components/editor/insert-menu/InsertMdxComponentButton.d.ts.map +1 -0
- package/dist/components/editor/insert-menu/InsertMdxComponentButton.js +90 -0
- package/dist/components/editor/insert-menu/SlashMenuPlugin.d.ts +12 -0
- package/dist/components/editor/insert-menu/SlashMenuPlugin.d.ts.map +1 -0
- package/dist/components/editor/insert-menu/SlashMenuPlugin.js +106 -0
- package/dist/components/editor/insert-menu/insert-payload.d.ts +76 -0
- package/dist/components/editor/insert-menu/insert-payload.d.ts.map +1 -0
- package/dist/components/editor/insert-menu/insert-payload.js +94 -0
- package/dist/components/editor/insert-menu/mdx-components-plugin.d.ts +8 -0
- package/dist/components/editor/insert-menu/mdx-components-plugin.d.ts.map +1 -0
- package/dist/components/editor/insert-menu/mdx-components-plugin.js +13 -0
- package/dist/components/editors/DataEditor.d.ts +19 -0
- package/dist/components/editors/DataEditor.d.ts.map +1 -0
- package/dist/components/editors/DataEditor.js +139 -0
- package/dist/components/fields/ContentBlockSelectorField.d.ts +14 -0
- package/dist/components/fields/ContentBlockSelectorField.d.ts.map +1 -0
- package/dist/components/fields/ContentBlockSelectorField.js +105 -0
- package/dist/components/fields/ImageField.d.ts +16 -0
- package/dist/components/fields/ImageField.d.ts.map +1 -0
- package/dist/components/fields/ImageField.js +39 -0
- package/dist/components/fields/MDXEditField.d.ts +17 -0
- package/dist/components/fields/MDXEditField.d.ts.map +1 -0
- package/dist/components/fields/MDXEditField.js +28 -0
- package/dist/components/forms/ChipArrayField.d.ts +12 -0
- package/dist/components/forms/ChipArrayField.d.ts.map +1 -0
- package/dist/components/forms/ChipArrayField.js +40 -0
- package/dist/components/forms/HintForm.d.ts +22 -0
- package/dist/components/forms/HintForm.d.ts.map +1 -0
- package/dist/components/forms/HintForm.js +162 -0
- package/dist/components/forms/SchemaForm.d.ts +15 -0
- package/dist/components/forms/SchemaForm.d.ts.map +1 -0
- package/dist/components/forms/SchemaForm.js +106 -0
- package/dist/components/index.d.ts +8 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +13 -0
- package/dist/components/media/AssetCard.d.ts +14 -0
- package/dist/components/media/AssetCard.d.ts.map +1 -0
- package/dist/components/media/AssetCard.js +31 -0
- package/dist/components/media/AssetDetailSidebar.d.ts +11 -0
- package/dist/components/media/AssetDetailSidebar.d.ts.map +1 -0
- package/dist/components/media/AssetDetailSidebar.js +101 -0
- package/dist/components/media/BulkActionBar.d.ts +9 -0
- package/dist/components/media/BulkActionBar.d.ts.map +1 -0
- package/dist/components/media/BulkActionBar.js +8 -0
- package/dist/components/media/FolderNav.d.ts +7 -0
- package/dist/components/media/FolderNav.d.ts.map +1 -0
- package/dist/components/media/FolderNav.js +12 -0
- package/dist/components/media/FolderTreeSidebar.d.ts +9 -0
- package/dist/components/media/FolderTreeSidebar.d.ts.map +1 -0
- package/dist/components/media/FolderTreeSidebar.js +41 -0
- package/dist/components/media/ImagePicker.d.ts +14 -0
- package/dist/components/media/ImagePicker.d.ts.map +1 -0
- package/dist/components/media/ImagePicker.js +45 -0
- package/dist/components/media/MediaLibrary.d.ts +35 -0
- package/dist/components/media/MediaLibrary.d.ts.map +1 -0
- package/dist/components/media/MediaLibrary.js +100 -0
- package/dist/components/media/MediaToolbar.d.ts +21 -0
- package/dist/components/media/MediaToolbar.d.ts.map +1 -0
- package/dist/components/media/MediaToolbar.js +6 -0
- package/dist/components/media/UploadModal.d.ts +9 -0
- package/dist/components/media/UploadModal.d.ts.map +1 -0
- package/dist/components/media/UploadModal.js +42 -0
- package/dist/components/media/UploadZone.d.ts +8 -0
- package/dist/components/media/UploadZone.d.ts.map +1 -0
- package/dist/components/media/UploadZone.js +22 -0
- package/dist/components/media/index.d.ts +11 -0
- package/dist/components/media/index.d.ts.map +1 -0
- package/dist/components/media/index.js +10 -0
- package/dist/components/pages/BlockList.d.ts +2 -0
- package/dist/components/pages/BlockList.d.ts.map +1 -0
- package/dist/components/pages/BlockList.js +280 -0
- package/dist/components/pages/DataList.d.ts +7 -0
- package/dist/components/pages/DataList.d.ts.map +1 -0
- package/dist/components/pages/DataList.js +244 -0
- package/dist/components/pages/MediaPage.d.ts +8 -0
- package/dist/components/pages/MediaPage.d.ts.map +1 -0
- package/dist/components/pages/MediaPage.js +107 -0
- package/dist/components/pages/PageList.d.ts +7 -0
- package/dist/components/pages/PageList.d.ts.map +1 -0
- package/dist/components/pages/PageList.js +308 -0
- package/dist/components/pages/index.d.ts +3 -0
- package/dist/components/pages/index.d.ts.map +1 -0
- package/dist/components/pages/index.js +2 -0
- package/dist/components/puck/MDXContent.d.ts +10 -0
- package/dist/components/puck/MDXContent.d.ts.map +1 -0
- package/dist/components/puck/MDXContent.js +80 -0
- package/dist/components/puck/index.d.ts +2 -0
- package/dist/components/puck/index.d.ts.map +1 -0
- package/dist/components/puck/index.js +1 -0
- package/dist/components/toast.d.ts +44 -0
- package/dist/components/toast.d.ts.map +1 -0
- package/dist/components/toast.js +7 -0
- package/dist/components/ui/Banner.d.ts +76 -0
- package/dist/components/ui/Banner.d.ts.map +1 -0
- package/dist/components/ui/Banner.js +49 -0
- package/dist/components/ui/Button.d.ts +25 -0
- package/dist/components/ui/Button.d.ts.map +1 -0
- package/dist/components/ui/Button.js +33 -0
- package/dist/components/ui/Card.d.ts +72 -0
- package/dist/components/ui/Card.d.ts.map +1 -0
- package/dist/components/ui/Card.js +49 -0
- package/dist/components/ui/FieldError.d.ts +24 -0
- package/dist/components/ui/FieldError.d.ts.map +1 -0
- package/dist/components/ui/FieldError.js +17 -0
- package/dist/components/ui/IconButton.d.ts +13 -0
- package/dist/components/ui/IconButton.d.ts.map +1 -0
- package/dist/components/ui/IconButton.js +10 -0
- package/dist/components/ui/Input.d.ts +37 -0
- package/dist/components/ui/Input.d.ts.map +1 -0
- package/dist/components/ui/Input.js +9 -0
- package/dist/components/ui/SaveIndicator.d.ts +8 -0
- package/dist/components/ui/SaveIndicator.d.ts.map +1 -0
- package/dist/components/ui/SaveIndicator.js +32 -0
- package/dist/components/ui/Select.d.ts +8 -0
- package/dist/components/ui/Select.d.ts.map +1 -0
- package/dist/components/ui/Select.js +9 -0
- package/dist/components/ui/Separator.d.ts +7 -0
- package/dist/components/ui/Separator.d.ts.map +1 -0
- package/dist/components/ui/Separator.js +8 -0
- package/dist/components/ui/Textarea.d.ts +8 -0
- package/dist/components/ui/Textarea.d.ts.map +1 -0
- package/dist/components/ui/Textarea.js +5 -0
- package/dist/components/ui/Tooltip.d.ts +9 -0
- package/dist/components/ui/Tooltip.d.ts.map +1 -0
- package/dist/components/ui/Tooltip.js +7 -0
- package/dist/components/ui/index.d.ts +14 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/components/ui/index.js +17 -0
- package/dist/data-schemas.d.mts +0 -1
- package/dist/data-schemas.d.mts.map +1 -1
- package/dist/data-schemas.d.ts +22 -0
- package/dist/data-schemas.d.ts.map +1 -0
- package/dist/data-schemas.js +51 -0
- package/dist/data-schemas.mjs +3 -4
- package/dist/data-schemas.mjs.map +1 -1
- package/dist/dev-entry.d.ts +2 -0
- package/dist/dev-entry.d.ts.map +1 -0
- package/dist/dev-entry.js +19 -0
- package/dist/dialog.d.mts +56 -0
- package/dist/dialog.d.mts.map +1 -0
- package/dist/dialog.mjs +67 -0
- package/dist/dialog.mjs.map +1 -0
- package/dist/hooks/index.d.ts +10 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +7 -0
- package/dist/hooks/useCanvasTheme.d.ts +12 -0
- package/dist/hooks/useCanvasTheme.d.ts.map +1 -0
- package/dist/hooks/useCanvasTheme.js +33 -0
- package/dist/hooks/useClickOutside.d.ts +7 -0
- package/dist/hooks/useClickOutside.d.ts.map +1 -0
- package/dist/hooks/useClickOutside.js +18 -0
- package/dist/hooks/useDialogState.d.ts +23 -0
- package/dist/hooks/useDialogState.d.ts.map +1 -0
- package/dist/hooks/useDialogState.js +31 -0
- package/dist/hooks/useEditorPref.d.ts +2 -0
- package/dist/hooks/useEditorPref.d.ts.map +1 -0
- package/dist/hooks/useEditorPref.js +49 -0
- package/dist/hooks/useErrorModal.d.ts +15 -0
- package/dist/hooks/useErrorModal.d.ts.map +1 -0
- package/dist/hooks/useErrorModal.js +35 -0
- package/dist/hooks/useSiteBaseUrl.d.ts +10 -0
- package/dist/hooks/useSiteBaseUrl.d.ts.map +1 -0
- package/dist/hooks/useSiteBaseUrl.js +14 -0
- package/dist/hooks/useTheme.d.ts +13 -0
- package/dist/hooks/useTheme.d.ts.map +1 -0
- package/dist/hooks/useTheme.js +69 -0
- package/dist/hooks/useUnsavedChangesGuard.d.ts +16 -0
- package/dist/hooks/useUnsavedChangesGuard.d.ts.map +1 -0
- package/dist/hooks/useUnsavedChangesGuard.js +29 -0
- package/dist/hooks/useUpload.d.ts +10 -0
- package/dist/hooks/useUpload.d.ts.map +1 -0
- package/dist/hooks/useUpload.js +42 -0
- package/dist/hooks/useUploadFlow.d.ts +42 -0
- package/dist/hooks/useUploadFlow.d.ts.map +1 -0
- package/dist/hooks/useUploadFlow.js +148 -0
- package/dist/host-style-probe.d.ts +22 -0
- package/dist/host-style-probe.d.ts.map +1 -0
- package/dist/host-style-probe.js +508 -0
- package/dist/index.d.mts +165 -48
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +12 -0
- package/dist/index.mjs +36 -2
- package/dist/index.mjs.map +1 -0
- package/dist/lib/utils.d.ts +13 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +47 -0
- package/dist/main-spa-781YUplS.mjs +46 -0
- package/dist/main-spa-781YUplS.mjs.map +1 -0
- package/dist/main-spa.d.ts +8 -0
- package/dist/main-spa.d.ts.map +1 -0
- package/dist/main-spa.js +61 -0
- package/dist/main.d.mts +1 -1
- package/dist/main.d.ts +2 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/main.js +13 -0
- package/dist/main.mjs +11 -4998
- package/dist/main.mjs.map +1 -1
- package/dist/mdx-components.d.mts +207 -0
- package/dist/mdx-components.d.mts.map +1 -0
- package/dist/mdx-components.d.ts +204 -0
- package/dist/mdx-components.d.ts.map +1 -0
- package/dist/mdx-components.js +217 -0
- package/dist/mdx-components.mjs +208 -0
- package/dist/mdx-components.mjs.map +1 -0
- package/dist/media/AssetScopePill.d.ts +30 -0
- package/dist/media/AssetScopePill.d.ts.map +1 -0
- package/dist/media/AssetScopePill.js +30 -0
- package/dist/media/MediaIssueBadge.d.ts +33 -0
- package/dist/media/MediaIssueBadge.d.ts.map +1 -0
- package/dist/media/MediaIssueBadge.js +54 -0
- package/dist/media/types.d.ts +101 -0
- package/dist/media/types.d.ts.map +1 -0
- package/dist/media/types.js +1 -0
- package/dist/media/use-asset-scope.d.ts +25 -0
- package/dist/media/use-asset-scope.d.ts.map +1 -0
- package/dist/media/use-asset-scope.js +54 -0
- package/dist/media/use-media-issue.d.ts +24 -0
- package/dist/media/use-media-issue.d.ts.map +1 -0
- package/dist/media/use-media-issue.js +49 -0
- package/dist/mock-puck-config.d.mts +23 -0
- package/dist/mock-puck-config.d.mts.map +1 -0
- package/dist/mock-puck-config.d.ts +21 -0
- package/dist/mock-puck-config.d.ts.map +1 -0
- package/dist/mock-puck-config.js +73 -0
- package/dist/mock-puck-config.mjs +125 -0
- package/dist/mock-puck-config.mjs.map +1 -0
- package/dist/page-schemas.d.mts +139 -6
- package/dist/page-schemas.d.mts.map +1 -1
- package/dist/page-schemas.d.ts +156 -0
- package/dist/page-schemas.d.ts.map +1 -0
- package/dist/page-schemas.js +118 -0
- package/dist/page-schemas.mjs +74 -6
- package/dist/page-schemas.mjs.map +1 -1
- package/dist/puck-config.d.mts +9 -1
- package/dist/puck-config.d.mts.map +1 -1
- package/dist/puck-config.d.ts +31 -0
- package/dist/puck-config.d.ts.map +1 -0
- package/dist/puck-config.js +50 -0
- package/dist/puck-config.mjs +3 -4
- package/dist/puck-config.mjs.map +1 -1
- package/dist/selected-block.d.ts +61 -0
- package/dist/selected-block.d.ts.map +1 -0
- package/dist/selected-block.js +64 -0
- package/dist/site-styles.d.mts +123 -0
- package/dist/site-styles.d.mts.map +1 -0
- package/dist/site-styles.d.ts +121 -0
- package/dist/site-styles.d.ts.map +1 -0
- package/dist/site-styles.js +253 -0
- package/dist/site-styles.mjs +234 -0
- package/dist/site-styles.mjs.map +1 -0
- package/dist/spa/main.css +5497 -4371
- package/dist/toast.d.mts +7 -0
- package/dist/toast.d.mts.map +1 -0
- package/dist/toast.mjs +16 -0
- package/dist/toast.mjs.map +1 -0
- package/dist/types.d.ts +57 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +1 -0
- package/dist/ui-CIacC6Mv.mjs +318 -0
- package/dist/ui-CIacC6Mv.mjs.map +1 -0
- package/dist/ui-config.d.ts +70 -0
- package/dist/ui-config.d.ts.map +1 -0
- package/dist/ui-config.js +44 -0
- package/dist/ui.d.mts +290 -0
- package/dist/ui.d.mts.map +1 -0
- package/dist/ui.mjs +2 -0
- package/dist/utils/asset-url.d.ts +3 -0
- package/dist/utils/asset-url.d.ts.map +1 -0
- package/dist/utils/asset-url.js +7 -0
- package/dist/utils/cn.d.ts +3 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/dist/utils/cn.js +5 -0
- package/dist/utils/format-date.d.ts +15 -0
- package/dist/utils/format-date.d.ts.map +1 -0
- package/dist/utils/format-date.js +37 -0
- package/dist/utils/mdast-to-html.d.ts +55 -0
- package/dist/utils/mdast-to-html.d.ts.map +1 -0
- package/dist/utils/mdast-to-html.js +206 -0
- package/dist/utils/mdast-tree.d.ts +104 -0
- package/dist/utils/mdast-tree.d.ts.map +1 -0
- package/dist/utils/mdast-tree.js +285 -0
- package/dist/utils/pageMetadata.d.ts +67 -0
- package/dist/utils/pageMetadata.d.ts.map +1 -0
- package/dist/utils/pageMetadata.js +161 -0
- package/dist/utils/slugify.d.ts +12 -0
- package/dist/utils/slugify.d.ts.map +1 -0
- package/dist/utils/slugify.js +17 -0
- package/dist/utils/zodIntrospect.d.ts +24 -0
- package/dist/utils/zodIntrospect.d.ts.map +1 -0
- package/dist/utils/zodIntrospect.js +88 -0
- package/package.json +153 -35
- package/styles/styles.css.d.ts +2 -0
- package/styles/tailwind-theme.css +126 -0
- package/styles/tailwind-theme.css.d.ts +2 -0
- package/dist/puck-CvjeYQRH.mjs +0 -1533
- package/dist/puck-CvjeYQRH.mjs.map +0 -1
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { useQuery } from '@tanstack/react-query';
|
|
2
|
+
import { getUIConfig } from '../ui-config';
|
|
3
|
+
/**
|
|
4
|
+
* Cache-key namespace for per-asset issue lookups. Mirrors the
|
|
5
|
+
* `['asset-scope']` prefix used by `useAssetScope` — the host
|
|
6
|
+
* shell invalidates this whole prefix on workspace switch and on
|
|
7
|
+
* `promoteBranchAssets` success so stale entries don't leak.
|
|
8
|
+
*/
|
|
9
|
+
const MEDIA_ISSUE_QUERY_KEY_PREFIX = ['media-issue'];
|
|
10
|
+
/**
|
|
11
|
+
* Resolve the hosted-mode standing media issue for a single asset.
|
|
12
|
+
*
|
|
13
|
+
* Returns `null` when:
|
|
14
|
+
*
|
|
15
|
+
* - No `mediaBridge` is configured (cms-spa standalone, astro-cms,
|
|
16
|
+
* local dev) — the surface knows "the host has no opinion" and
|
|
17
|
+
* hides the issue badge.
|
|
18
|
+
* - The bridge resolves to `null` (asset healthy, unknown to the
|
|
19
|
+
* host, or pre-bootstrap state).
|
|
20
|
+
*
|
|
21
|
+
* The badge is only rendered when this returns a real issue. Loading
|
|
22
|
+
* state is treated as `null` for the caller's purposes — a flashing
|
|
23
|
+
* badge on first paint reads worse than no badge, and issue state is
|
|
24
|
+
* metadata, not primary content.
|
|
25
|
+
*
|
|
26
|
+
* Mirrors the `useAssetScope` discipline: cms-spa stays a thin
|
|
27
|
+
* consumer of `getUIConfig().mediaBridge`; the bridge implementation
|
|
28
|
+
* in the host shell wraps `HostClient.getMediaIssue` with its own
|
|
29
|
+
* TanStack hook so the cache is hit one level deeper.
|
|
30
|
+
*/
|
|
31
|
+
export function useMediaIssue(filename) {
|
|
32
|
+
const query = useQuery({
|
|
33
|
+
queryKey: [...MEDIA_ISSUE_QUERY_KEY_PREFIX, filename ?? ''],
|
|
34
|
+
queryFn: async () => {
|
|
35
|
+
const bridge = getUIConfig().mediaBridge;
|
|
36
|
+
if (!bridge || !filename)
|
|
37
|
+
return null;
|
|
38
|
+
return bridge.getMediaIssue({ filename });
|
|
39
|
+
},
|
|
40
|
+
// Per-filename issues are stable for the lifetime of a branch
|
|
41
|
+
// session — only a promote mutation or a scanner-completion
|
|
42
|
+
// event changes them, and the host invalidates the prefix on
|
|
43
|
+
// promote success. 5 minutes matches the cms-spa default
|
|
44
|
+
// staleTime, same as `useAssetScope`.
|
|
45
|
+
staleTime: 1000 * 60 * 5,
|
|
46
|
+
enabled: Boolean(filename),
|
|
47
|
+
});
|
|
48
|
+
return query.data ?? null;
|
|
49
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Config } from "@puckeditor/core";
|
|
2
|
+
//#region src/mock-puck-config.d.ts
|
|
3
|
+
type MockComponents = {
|
|
4
|
+
Hero: {
|
|
5
|
+
title: string;
|
|
6
|
+
subtitle: string;
|
|
7
|
+
backgroundImage?: string;
|
|
8
|
+
ctaText: string;
|
|
9
|
+
ctaLink: string;
|
|
10
|
+
};
|
|
11
|
+
Text: {
|
|
12
|
+
text: string;
|
|
13
|
+
align: 'left' | 'center' | 'right';
|
|
14
|
+
};
|
|
15
|
+
Button: {
|
|
16
|
+
text: string;
|
|
17
|
+
href: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
declare const mockPuckConfig: Config<MockComponents>;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { mockPuckConfig };
|
|
23
|
+
//# sourceMappingURL=mock-puck-config.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mock-puck-config.d.mts","names":[],"sources":["../src/mock-puck-config.tsx"],"mappings":";;KAGK;EACH;IACE;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;;EAEF;IACE;IACA;;;cAIS,gBAAgB,OAAO"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Config } from '@puckeditor/core';
|
|
2
|
+
type MockComponents = {
|
|
3
|
+
Hero: {
|
|
4
|
+
title: string;
|
|
5
|
+
subtitle: string;
|
|
6
|
+
backgroundImage?: string;
|
|
7
|
+
ctaText: string;
|
|
8
|
+
ctaLink: string;
|
|
9
|
+
};
|
|
10
|
+
Text: {
|
|
11
|
+
text: string;
|
|
12
|
+
align: 'left' | 'center' | 'right';
|
|
13
|
+
};
|
|
14
|
+
Button: {
|
|
15
|
+
text: string;
|
|
16
|
+
href: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare const mockPuckConfig: Config<MockComponents>;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=mock-puck-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mock-puck-config.d.ts","sourceRoot":"","sources":["../src/mock-puck-config.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAG/C,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;KACpC,CAAC;IACF,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,cAAc,CA6FjD,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
export const mockPuckConfig = {
|
|
3
|
+
components: {
|
|
4
|
+
Hero: {
|
|
5
|
+
fields: {
|
|
6
|
+
title: { type: 'text' },
|
|
7
|
+
subtitle: { type: 'text' },
|
|
8
|
+
backgroundImage: { type: 'text', label: 'Background Image URL' },
|
|
9
|
+
ctaText: { type: 'text', label: 'CTA Button Text' },
|
|
10
|
+
ctaLink: { type: 'text', label: 'CTA Button Link' },
|
|
11
|
+
},
|
|
12
|
+
defaultProps: {
|
|
13
|
+
title: 'Welcome to Our Site',
|
|
14
|
+
subtitle: 'Build amazing experiences',
|
|
15
|
+
ctaText: 'Get Started',
|
|
16
|
+
ctaLink: '/signup',
|
|
17
|
+
},
|
|
18
|
+
render: ({ title, subtitle, backgroundImage, ctaText, ctaLink }) => (_jsxs("div", { style: {
|
|
19
|
+
padding: '80px 20px',
|
|
20
|
+
textAlign: 'center',
|
|
21
|
+
background: backgroundImage
|
|
22
|
+
? `url(${backgroundImage}) center/cover`
|
|
23
|
+
: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)',
|
|
24
|
+
color: 'white',
|
|
25
|
+
}, children: [_jsx("h1", { style: { fontSize: '3rem', marginBottom: '1rem' }, children: title }), _jsx("p", { style: { fontSize: '1.5rem', marginBottom: '2rem' }, children: subtitle }), _jsx("a", { href: ctaLink, style: {
|
|
26
|
+
display: 'inline-block',
|
|
27
|
+
padding: '12px 24px',
|
|
28
|
+
background: 'white',
|
|
29
|
+
color: '#667eea',
|
|
30
|
+
borderRadius: '6px',
|
|
31
|
+
textDecoration: 'none',
|
|
32
|
+
fontWeight: 'bold',
|
|
33
|
+
}, children: ctaText })] })),
|
|
34
|
+
},
|
|
35
|
+
Text: {
|
|
36
|
+
fields: {
|
|
37
|
+
text: { type: 'textarea' },
|
|
38
|
+
align: {
|
|
39
|
+
type: 'select',
|
|
40
|
+
options: [
|
|
41
|
+
{ label: 'Left', value: 'left' },
|
|
42
|
+
{ label: 'Center', value: 'center' },
|
|
43
|
+
{ label: 'Right', value: 'right' },
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
defaultProps: {
|
|
48
|
+
text: 'Enter your text here',
|
|
49
|
+
align: 'left',
|
|
50
|
+
},
|
|
51
|
+
render: ({ text, align }) => _jsx("p", { style: { textAlign: align }, children: text }),
|
|
52
|
+
},
|
|
53
|
+
Button: {
|
|
54
|
+
fields: {
|
|
55
|
+
text: { type: 'text' },
|
|
56
|
+
href: { type: 'text', label: 'Link URL' },
|
|
57
|
+
},
|
|
58
|
+
defaultProps: {
|
|
59
|
+
text: 'Click me',
|
|
60
|
+
href: '#',
|
|
61
|
+
},
|
|
62
|
+
render: ({ text, href }) => (_jsx("a", { href: href, style: {
|
|
63
|
+
display: 'inline-block',
|
|
64
|
+
padding: '12px 24px',
|
|
65
|
+
background: '#3b82f6',
|
|
66
|
+
color: 'white',
|
|
67
|
+
borderRadius: '6px',
|
|
68
|
+
textDecoration: 'none',
|
|
69
|
+
fontWeight: 'bold',
|
|
70
|
+
}, children: text })),
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
//#region src/mock-puck-config.tsx
|
|
3
|
+
const mockPuckConfig = { components: {
|
|
4
|
+
Hero: {
|
|
5
|
+
fields: {
|
|
6
|
+
title: { type: "text" },
|
|
7
|
+
subtitle: { type: "text" },
|
|
8
|
+
backgroundImage: {
|
|
9
|
+
type: "text",
|
|
10
|
+
label: "Background Image URL"
|
|
11
|
+
},
|
|
12
|
+
ctaText: {
|
|
13
|
+
type: "text",
|
|
14
|
+
label: "CTA Button Text"
|
|
15
|
+
},
|
|
16
|
+
ctaLink: {
|
|
17
|
+
type: "text",
|
|
18
|
+
label: "CTA Button Link"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
defaultProps: {
|
|
22
|
+
title: "Welcome to Our Site",
|
|
23
|
+
subtitle: "Build amazing experiences",
|
|
24
|
+
ctaText: "Get Started",
|
|
25
|
+
ctaLink: "/signup"
|
|
26
|
+
},
|
|
27
|
+
render: ({ title, subtitle, backgroundImage, ctaText, ctaLink }) => /* @__PURE__ */ jsxs("div", {
|
|
28
|
+
style: {
|
|
29
|
+
padding: "80px 20px",
|
|
30
|
+
textAlign: "center",
|
|
31
|
+
background: backgroundImage ? `url(${backgroundImage}) center/cover` : "linear-gradient(135deg, #667eea 0%, #764ba2 100%)",
|
|
32
|
+
color: "white"
|
|
33
|
+
},
|
|
34
|
+
children: [
|
|
35
|
+
/* @__PURE__ */ jsx("h1", {
|
|
36
|
+
style: {
|
|
37
|
+
fontSize: "3rem",
|
|
38
|
+
marginBottom: "1rem"
|
|
39
|
+
},
|
|
40
|
+
children: title
|
|
41
|
+
}),
|
|
42
|
+
/* @__PURE__ */ jsx("p", {
|
|
43
|
+
style: {
|
|
44
|
+
fontSize: "1.5rem",
|
|
45
|
+
marginBottom: "2rem"
|
|
46
|
+
},
|
|
47
|
+
children: subtitle
|
|
48
|
+
}),
|
|
49
|
+
/* @__PURE__ */ jsx("a", {
|
|
50
|
+
href: ctaLink,
|
|
51
|
+
style: {
|
|
52
|
+
display: "inline-block",
|
|
53
|
+
padding: "12px 24px",
|
|
54
|
+
background: "white",
|
|
55
|
+
color: "#667eea",
|
|
56
|
+
borderRadius: "6px",
|
|
57
|
+
textDecoration: "none",
|
|
58
|
+
fontWeight: "bold"
|
|
59
|
+
},
|
|
60
|
+
children: ctaText
|
|
61
|
+
})
|
|
62
|
+
]
|
|
63
|
+
})
|
|
64
|
+
},
|
|
65
|
+
Text: {
|
|
66
|
+
fields: {
|
|
67
|
+
text: { type: "textarea" },
|
|
68
|
+
align: {
|
|
69
|
+
type: "select",
|
|
70
|
+
options: [
|
|
71
|
+
{
|
|
72
|
+
label: "Left",
|
|
73
|
+
value: "left"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
label: "Center",
|
|
77
|
+
value: "center"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
label: "Right",
|
|
81
|
+
value: "right"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
defaultProps: {
|
|
87
|
+
text: "Enter your text here",
|
|
88
|
+
align: "left"
|
|
89
|
+
},
|
|
90
|
+
render: ({ text, align }) => /* @__PURE__ */ jsx("p", {
|
|
91
|
+
style: { textAlign: align },
|
|
92
|
+
children: text
|
|
93
|
+
})
|
|
94
|
+
},
|
|
95
|
+
Button: {
|
|
96
|
+
fields: {
|
|
97
|
+
text: { type: "text" },
|
|
98
|
+
href: {
|
|
99
|
+
type: "text",
|
|
100
|
+
label: "Link URL"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
defaultProps: {
|
|
104
|
+
text: "Click me",
|
|
105
|
+
href: "#"
|
|
106
|
+
},
|
|
107
|
+
render: ({ text, href }) => /* @__PURE__ */ jsx("a", {
|
|
108
|
+
href,
|
|
109
|
+
style: {
|
|
110
|
+
display: "inline-block",
|
|
111
|
+
padding: "12px 24px",
|
|
112
|
+
background: "#3b82f6",
|
|
113
|
+
color: "white",
|
|
114
|
+
borderRadius: "6px",
|
|
115
|
+
textDecoration: "none",
|
|
116
|
+
fontWeight: "bold"
|
|
117
|
+
},
|
|
118
|
+
children: text
|
|
119
|
+
})
|
|
120
|
+
}
|
|
121
|
+
} };
|
|
122
|
+
//#endregion
|
|
123
|
+
export { mockPuckConfig };
|
|
124
|
+
|
|
125
|
+
//# sourceMappingURL=mock-puck-config.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mock-puck-config.mjs","names":[],"sources":["../src/mock-puck-config.tsx"],"sourcesContent":["import type { Config } from '@puckeditor/core';\n\n// Define component props types for mock components\ntype MockComponents = {\n Hero: {\n title: string;\n subtitle: string;\n backgroundImage?: string;\n ctaText: string;\n ctaLink: string;\n };\n Text: {\n text: string;\n align: 'left' | 'center' | 'right';\n };\n Button: {\n text: string;\n href: string;\n };\n};\n\nexport const mockPuckConfig: Config<MockComponents> = {\n components: {\n Hero: {\n fields: {\n title: { type: 'text' },\n subtitle: { type: 'text' },\n backgroundImage: { type: 'text', label: 'Background Image URL' },\n ctaText: { type: 'text', label: 'CTA Button Text' },\n ctaLink: { type: 'text', label: 'CTA Button Link' },\n },\n defaultProps: {\n title: 'Welcome to Our Site',\n subtitle: 'Build amazing experiences',\n ctaText: 'Get Started',\n ctaLink: '/signup',\n },\n render: ({ title, subtitle, backgroundImage, ctaText, ctaLink }) => (\n <div\n style={{\n padding: '80px 20px',\n textAlign: 'center',\n background: backgroundImage\n ? `url(${backgroundImage}) center/cover`\n : 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)',\n color: 'white',\n }}\n >\n <h1 style={{ fontSize: '3rem', marginBottom: '1rem' }}>{title}</h1>\n <p style={{ fontSize: '1.5rem', marginBottom: '2rem' }}>{subtitle}</p>\n <a\n href={ctaLink}\n style={{\n display: 'inline-block',\n padding: '12px 24px',\n background: 'white',\n color: '#667eea',\n borderRadius: '6px',\n textDecoration: 'none',\n fontWeight: 'bold',\n }}\n >\n {ctaText}\n </a>\n </div>\n ),\n },\n\n Text: {\n fields: {\n text: { type: 'textarea' },\n align: {\n type: 'select',\n options: [\n { label: 'Left', value: 'left' },\n { label: 'Center', value: 'center' },\n { label: 'Right', value: 'right' },\n ],\n },\n },\n defaultProps: {\n text: 'Enter your text here',\n align: 'left',\n },\n render: ({ text, align }) => <p style={{ textAlign: align }}>{text}</p>,\n },\n\n Button: {\n fields: {\n text: { type: 'text' },\n href: { type: 'text', label: 'Link URL' },\n },\n defaultProps: {\n text: 'Click me',\n href: '#',\n },\n render: ({ text, href }) => (\n <a\n href={href}\n style={{\n display: 'inline-block',\n padding: '12px 24px',\n background: '#3b82f6',\n color: 'white',\n borderRadius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AA;EAAQ,CAAA;CACxE;CAEA,QAAQ;EACN,QAAQ;GACN,MAAM,EAAE,MAAM,OAAO;GACrB,MAAM;IAAE,MAAM;IAAQ,OAAO;GAAW;EAC1C;EACA,cAAc;GACZ,MAAM;GACN,MAAM;EACR;EACA,SAAS,EAAE,MAAM,WACf,oBAAC,KAAD;GACQ;GACN,OAAO;IACL,SAAS;IACT,SAAS;IACT,YAAY;IACZ,OAAO;IACP,cAAc;IACd,gBAAgB;IAChB,YAAY;GACd;GAEC,UAAA;EACA,CAAA;CAEP;AACF,EACF"}
|
package/dist/page-schemas.d.mts
CHANGED
|
@@ -1,13 +1,125 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
|
|
3
2
|
//#region src/page-schemas.d.ts
|
|
4
3
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Form-UI hint vocabulary for page metadata fields.
|
|
5
|
+
*
|
|
6
|
+
* Hosts attach a hint to each field they want surfaced in the page-settings
|
|
7
|
+
* dialog. The hint drives form rendering — control type, grouping, helper
|
|
8
|
+
* text, etc. — independently of the Zod schema, which still owns validation.
|
|
9
|
+
*
|
|
10
|
+
* Dotted keys ('sidebar.label') are supported in the hint record; on save
|
|
11
|
+
* they materialize into nested objects in YAML frontmatter, and on load
|
|
12
|
+
* they flatten back to dotted keys for the form.
|
|
7
13
|
*/
|
|
8
|
-
type
|
|
14
|
+
type FieldHintCommon = {
|
|
15
|
+
label?: string;
|
|
16
|
+
help?: string;
|
|
17
|
+
/** Refs a `groups[].id` to bucket fields into sections in the dialog. */
|
|
18
|
+
group?: string;
|
|
19
|
+
required?: boolean;
|
|
20
|
+
hidden?: boolean | ((doc: Record<string, unknown>) => boolean);
|
|
21
|
+
defaultValue?: unknown;
|
|
22
|
+
};
|
|
23
|
+
type FieldHintVariant = {
|
|
24
|
+
id: string;
|
|
25
|
+
label: string;
|
|
26
|
+
/** Concrete value written when this variant is selected (for literal variants). */
|
|
27
|
+
value?: unknown;
|
|
28
|
+
} & Partial<FieldHint>;
|
|
29
|
+
type FieldHint = FieldHintCommon & ({
|
|
30
|
+
control: 'text' | 'textarea' | 'url' | 'email' | 'number' | 'switch' | 'date' | 'image' | 'markdown' | 'code';
|
|
31
|
+
} | {
|
|
32
|
+
control: 'select';
|
|
33
|
+
options: ReadonlyArray<{
|
|
34
|
+
value: string;
|
|
35
|
+
label: string;
|
|
36
|
+
}>;
|
|
37
|
+
} | {
|
|
38
|
+
control: 'chips';
|
|
39
|
+
} | {
|
|
40
|
+
control: 'object';
|
|
41
|
+
fields: Record<string, FieldHint>;
|
|
42
|
+
} | {
|
|
43
|
+
control: 'array';
|
|
44
|
+
of: FieldHint;
|
|
45
|
+
} | {
|
|
46
|
+
control: 'variant';
|
|
47
|
+
variants: ReadonlyArray<FieldHintVariant>;
|
|
48
|
+
});
|
|
49
|
+
type FieldHints = Record<string, FieldHint>;
|
|
50
|
+
type PageSchemaGroup = {
|
|
51
|
+
id: string;
|
|
52
|
+
label: string;
|
|
53
|
+
description?: string;
|
|
54
|
+
};
|
|
9
55
|
/**
|
|
10
|
-
*
|
|
56
|
+
* Which conloca-managed sections to render alongside the host schema.
|
|
57
|
+
*
|
|
58
|
+
* - `'full'` (default): show today's `pageInfoSchema` (title/pathname) +
|
|
59
|
+
* host fields + `seoPublishingSchema` (description/robots/canonical/
|
|
60
|
+
* publishAt/unpublishAt). Backwards-compatible with existing dialogs.
|
|
61
|
+
* - `'minimal'`: show pathname only + host fields + publishAt/unpublishAt.
|
|
62
|
+
* Use when the host owns title/description in its own schema.
|
|
63
|
+
* - `'none'`: host fields only. Host must declare `title` in its schema
|
|
64
|
+
* (validated at registration; ContentMeta.title is required at the
|
|
65
|
+
* content-api level).
|
|
66
|
+
*/
|
|
67
|
+
type CoreFieldsMode = 'full' | 'minimal' | 'none';
|
|
68
|
+
interface PageSchemaDescriptor {
|
|
69
|
+
/** Human-readable label shown in the dialog header. */
|
|
70
|
+
label?: string;
|
|
71
|
+
/** Zod schema used for validation and field-shape introspection. */
|
|
72
|
+
schema: z.ZodObject<z.ZodRawShape>;
|
|
73
|
+
/** Form-UI hints keyed by field name (dotted keys allowed for nested fields). */
|
|
74
|
+
ui?: FieldHints;
|
|
75
|
+
/** Section definitions; `FieldHint.group` references `id`. */
|
|
76
|
+
groups?: ReadonlyArray<PageSchemaGroup>;
|
|
77
|
+
/** Which conloca core fields to render alongside the host schema. */
|
|
78
|
+
coreFields?: {
|
|
79
|
+
mode: CoreFieldsMode;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Identity helper that gives `pageSchemas` entries a typed shape.
|
|
84
|
+
*
|
|
85
|
+
* Mirrors Astro's `defineConfig` — purely for editor inference.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* ```ts
|
|
89
|
+
* export const pageSchemas = {
|
|
90
|
+
* 'type:mdx': definePageSchema({
|
|
91
|
+
* label: 'MDX page',
|
|
92
|
+
* schema: mdxPageSchema,
|
|
93
|
+
* ui: { title: { control: 'text', group: 'basics', required: true } },
|
|
94
|
+
* groups: [{ id: 'basics', label: 'Basics' }],
|
|
95
|
+
* coreFields: { mode: 'minimal' },
|
|
96
|
+
* }),
|
|
97
|
+
* };
|
|
98
|
+
* ```
|
|
99
|
+
*/
|
|
100
|
+
declare function definePageSchema(descriptor: PageSchemaDescriptor): PageSchemaDescriptor;
|
|
101
|
+
/**
|
|
102
|
+
* Registry entry value: either a bare Zod object (legacy — wrapped as a
|
|
103
|
+
* descriptor with `coreFields.mode: 'full'`) or an explicit descriptor.
|
|
104
|
+
*/
|
|
105
|
+
type PageSchemaEntry = z.ZodObject<z.ZodRawShape> | PageSchemaDescriptor;
|
|
106
|
+
/**
|
|
107
|
+
* Page-schema registry keyed by match expression.
|
|
108
|
+
*
|
|
109
|
+
* Match key forms (resolved in order):
|
|
110
|
+
* - `collection:<name>` — matches when the loaded entry's collection equals `<name>`.
|
|
111
|
+
* - `type:<puck|mdx>` — matches all pages of the given content type.
|
|
112
|
+
* - pathname prefix (must start with `/`) — longest-prefix-match against the page's pathname.
|
|
113
|
+
*/
|
|
114
|
+
type PageSchemas = Record<string, PageSchemaEntry>;
|
|
115
|
+
/**
|
|
116
|
+
* Normalize an entry to a descriptor. Bare Zod objects (legacy) get wrapped
|
|
117
|
+
* with default `coreFields.mode: 'full'` so the dialog can render today's
|
|
118
|
+
* three-section layout unchanged.
|
|
119
|
+
*/
|
|
120
|
+
declare function toPageSchemaDescriptor(entry: PageSchemaEntry): PageSchemaDescriptor;
|
|
121
|
+
/**
|
|
122
|
+
* Set the page schemas for all match keys.
|
|
11
123
|
* Called by the virtual module that loads user's schema definitions.
|
|
12
124
|
* Notifies all subscribers of the change (enables HMR).
|
|
13
125
|
*/
|
|
@@ -21,6 +133,27 @@ declare function getPageSchemas(): PageSchemas;
|
|
|
21
133
|
* Returns the current schemas and updates when they change (HMR support).
|
|
22
134
|
*/
|
|
23
135
|
declare function usePageSchemas(): PageSchemas;
|
|
136
|
+
/**
|
|
137
|
+
* Context the resolver needs to pick the right schema.
|
|
138
|
+
*
|
|
139
|
+
* - `collection` and `type` come from the loaded entry's `ContentIdentity`.
|
|
140
|
+
* - `pathname` comes from the page's `LocaleVersion`.
|
|
141
|
+
*/
|
|
142
|
+
interface ResolveSchemaContext {
|
|
143
|
+
pathname: string;
|
|
144
|
+
collection?: string;
|
|
145
|
+
type?: 'puck' | 'mdx';
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Resolve the best-matching descriptor for a page.
|
|
149
|
+
*
|
|
150
|
+
* Resolution order: `collection:<name>` > `type:<puck|mdx>` >
|
|
151
|
+
* pathname-prefix (longest match wins). Returns `null` if no key matches.
|
|
152
|
+
*/
|
|
153
|
+
declare function resolvePageSchemaEntry(schemas: PageSchemas, context: ResolveSchemaContext): {
|
|
154
|
+
key: string;
|
|
155
|
+
descriptor: PageSchemaDescriptor;
|
|
156
|
+
} | null;
|
|
24
157
|
//#endregion
|
|
25
|
-
export { PageSchemas, getPageSchemas, setPageSchemas, usePageSchemas };
|
|
158
|
+
export { CoreFieldsMode, FieldHint, FieldHintCommon, FieldHintVariant, FieldHints, PageSchemaDescriptor, PageSchemaEntry, PageSchemaGroup, PageSchemas, ResolveSchemaContext, definePageSchema, getPageSchemas, resolvePageSchemaEntry, setPageSchemas, toPageSchemaDescriptor, usePageSchemas };
|
|
26
159
|
//# sourceMappingURL=page-schemas.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-schemas.d.mts","names":[],"sources":["../src/page-schemas.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"page-schemas.d.mts","names":[],"sources":["../src/page-schemas.ts"],"mappings":";;;;;;;;;;;;;KAcY;EACV;EACA;;EAEA;EACA;EACA,qBAAqB,KAAK;EAC1B;;KAGU;EACV;EACA;;EAEA;IACE,QAAQ;KAEA,YAAY;EAGhB;;EAEA;EAAmB,SAAS;IAAgB;IAAe;;;EAC3D;;EACA;EAAmB,QAAQ,eAAe;;EAC1C;EAAkB,IAAI;;EACtB;EAAoB,UAAU,cAAc;;KAGxC,aAAa,eAAe;KAE5B;EACV;EACA;EACA;;;;;;;;;;;;;;KAeU;UAEK;;EAEf;;EAEA,QAAQ,EAAE,UAAU,EAAE;;EAEtB,KAAK;;EAEL,SAAS,cAAc;;EAEvB;IAAe,MAAM;;;;;;;;;;;;;;;;;;;;;iBAqBP,iBAAiB,YAAY,uBAAuB;;;;;KAcxD,kBAAkB,EAAE,UAAU,EAAE,eAAe;;;;;;;;;KAU/C,cAAc,eAAe;;;;;;iBAOzB,uBAAuB,OAAO,kBAAkB;;;;;;iBAsChD,eAAe,SAAS;;;;iBAWxB,kBAAkB;;;;;iBAQlB,kBAAkB;;;;;;;UA0BjB;EACf;EACA;EACA;;;;;;;;iBASc,uBACd,SAAS,aACT,SAAS;EACN;EAAa,YAAY"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Form-UI hint vocabulary for page metadata fields.
|
|
4
|
+
*
|
|
5
|
+
* Hosts attach a hint to each field they want surfaced in the page-settings
|
|
6
|
+
* dialog. The hint drives form rendering — control type, grouping, helper
|
|
7
|
+
* text, etc. — independently of the Zod schema, which still owns validation.
|
|
8
|
+
*
|
|
9
|
+
* Dotted keys ('sidebar.label') are supported in the hint record; on save
|
|
10
|
+
* they materialize into nested objects in YAML frontmatter, and on load
|
|
11
|
+
* they flatten back to dotted keys for the form.
|
|
12
|
+
*/
|
|
13
|
+
export type FieldHintCommon = {
|
|
14
|
+
label?: string;
|
|
15
|
+
help?: string;
|
|
16
|
+
/** Refs a `groups[].id` to bucket fields into sections in the dialog. */
|
|
17
|
+
group?: string;
|
|
18
|
+
required?: boolean;
|
|
19
|
+
hidden?: boolean | ((doc: Record<string, unknown>) => boolean);
|
|
20
|
+
defaultValue?: unknown;
|
|
21
|
+
};
|
|
22
|
+
export type FieldHintVariant = {
|
|
23
|
+
id: string;
|
|
24
|
+
label: string;
|
|
25
|
+
/** Concrete value written when this variant is selected (for literal variants). */
|
|
26
|
+
value?: unknown;
|
|
27
|
+
} & Partial<FieldHint>;
|
|
28
|
+
export type FieldHint = FieldHintCommon & ({
|
|
29
|
+
control: 'text' | 'textarea' | 'url' | 'email' | 'number' | 'switch' | 'date' | 'image' | 'markdown' | 'code';
|
|
30
|
+
} | {
|
|
31
|
+
control: 'select';
|
|
32
|
+
options: ReadonlyArray<{
|
|
33
|
+
value: string;
|
|
34
|
+
label: string;
|
|
35
|
+
}>;
|
|
36
|
+
} | {
|
|
37
|
+
control: 'chips';
|
|
38
|
+
} | {
|
|
39
|
+
control: 'object';
|
|
40
|
+
fields: Record<string, FieldHint>;
|
|
41
|
+
} | {
|
|
42
|
+
control: 'array';
|
|
43
|
+
of: FieldHint;
|
|
44
|
+
} | {
|
|
45
|
+
control: 'variant';
|
|
46
|
+
variants: ReadonlyArray<FieldHintVariant>;
|
|
47
|
+
});
|
|
48
|
+
export type FieldHints = Record<string, FieldHint>;
|
|
49
|
+
export type PageSchemaGroup = {
|
|
50
|
+
id: string;
|
|
51
|
+
label: string;
|
|
52
|
+
description?: string;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Which conloca-managed sections to render alongside the host schema.
|
|
56
|
+
*
|
|
57
|
+
* - `'full'` (default): show today's `pageInfoSchema` (title/pathname) +
|
|
58
|
+
* host fields + `seoPublishingSchema` (description/robots/canonical/
|
|
59
|
+
* publishAt/unpublishAt). Backwards-compatible with existing dialogs.
|
|
60
|
+
* - `'minimal'`: show pathname only + host fields + publishAt/unpublishAt.
|
|
61
|
+
* Use when the host owns title/description in its own schema.
|
|
62
|
+
* - `'none'`: host fields only. Host must declare `title` in its schema
|
|
63
|
+
* (validated at registration; ContentMeta.title is required at the
|
|
64
|
+
* content-api level).
|
|
65
|
+
*/
|
|
66
|
+
export type CoreFieldsMode = 'full' | 'minimal' | 'none';
|
|
67
|
+
export interface PageSchemaDescriptor {
|
|
68
|
+
/** Human-readable label shown in the dialog header. */
|
|
69
|
+
label?: string;
|
|
70
|
+
/** Zod schema used for validation and field-shape introspection. */
|
|
71
|
+
schema: z.ZodObject<z.ZodRawShape>;
|
|
72
|
+
/** Form-UI hints keyed by field name (dotted keys allowed for nested fields). */
|
|
73
|
+
ui?: FieldHints;
|
|
74
|
+
/** Section definitions; `FieldHint.group` references `id`. */
|
|
75
|
+
groups?: ReadonlyArray<PageSchemaGroup>;
|
|
76
|
+
/** Which conloca core fields to render alongside the host schema. */
|
|
77
|
+
coreFields?: {
|
|
78
|
+
mode: CoreFieldsMode;
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Identity helper that gives `pageSchemas` entries a typed shape.
|
|
83
|
+
*
|
|
84
|
+
* Mirrors Astro's `defineConfig` — purely for editor inference.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* ```ts
|
|
88
|
+
* export const pageSchemas = {
|
|
89
|
+
* 'type:mdx': definePageSchema({
|
|
90
|
+
* label: 'MDX page',
|
|
91
|
+
* schema: mdxPageSchema,
|
|
92
|
+
* ui: { title: { control: 'text', group: 'basics', required: true } },
|
|
93
|
+
* groups: [{ id: 'basics', label: 'Basics' }],
|
|
94
|
+
* coreFields: { mode: 'minimal' },
|
|
95
|
+
* }),
|
|
96
|
+
* };
|
|
97
|
+
* ```
|
|
98
|
+
*/
|
|
99
|
+
export declare function definePageSchema(descriptor: PageSchemaDescriptor): PageSchemaDescriptor;
|
|
100
|
+
/**
|
|
101
|
+
* Registry entry value: either a bare Zod object (legacy — wrapped as a
|
|
102
|
+
* descriptor with `coreFields.mode: 'full'`) or an explicit descriptor.
|
|
103
|
+
*/
|
|
104
|
+
export type PageSchemaEntry = z.ZodObject<z.ZodRawShape> | PageSchemaDescriptor;
|
|
105
|
+
/**
|
|
106
|
+
* Page-schema registry keyed by match expression.
|
|
107
|
+
*
|
|
108
|
+
* Match key forms (resolved in order):
|
|
109
|
+
* - `collection:<name>` — matches when the loaded entry's collection equals `<name>`.
|
|
110
|
+
* - `type:<puck|mdx>` — matches all pages of the given content type.
|
|
111
|
+
* - pathname prefix (must start with `/`) — longest-prefix-match against the page's pathname.
|
|
112
|
+
*/
|
|
113
|
+
export type PageSchemas = Record<string, PageSchemaEntry>;
|
|
114
|
+
/**
|
|
115
|
+
* Normalize an entry to a descriptor. Bare Zod objects (legacy) get wrapped
|
|
116
|
+
* with default `coreFields.mode: 'full'` so the dialog can render today's
|
|
117
|
+
* three-section layout unchanged.
|
|
118
|
+
*/
|
|
119
|
+
export declare function toPageSchemaDescriptor(entry: PageSchemaEntry): PageSchemaDescriptor;
|
|
120
|
+
/**
|
|
121
|
+
* Set the page schemas for all match keys.
|
|
122
|
+
* Called by the virtual module that loads user's schema definitions.
|
|
123
|
+
* Notifies all subscribers of the change (enables HMR).
|
|
124
|
+
*/
|
|
125
|
+
export declare function setPageSchemas(schemas: PageSchemas): void;
|
|
126
|
+
/**
|
|
127
|
+
* Get the current page schemas synchronously.
|
|
128
|
+
*/
|
|
129
|
+
export declare function getPageSchemas(): PageSchemas;
|
|
130
|
+
/**
|
|
131
|
+
* React hook to subscribe to page schema changes.
|
|
132
|
+
* Returns the current schemas and updates when they change (HMR support).
|
|
133
|
+
*/
|
|
134
|
+
export declare function usePageSchemas(): PageSchemas;
|
|
135
|
+
/**
|
|
136
|
+
* Context the resolver needs to pick the right schema.
|
|
137
|
+
*
|
|
138
|
+
* - `collection` and `type` come from the loaded entry's `ContentIdentity`.
|
|
139
|
+
* - `pathname` comes from the page's `LocaleVersion`.
|
|
140
|
+
*/
|
|
141
|
+
export interface ResolveSchemaContext {
|
|
142
|
+
pathname: string;
|
|
143
|
+
collection?: string;
|
|
144
|
+
type?: 'puck' | 'mdx';
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Resolve the best-matching descriptor for a page.
|
|
148
|
+
*
|
|
149
|
+
* Resolution order: `collection:<name>` > `type:<puck|mdx>` >
|
|
150
|
+
* pathname-prefix (longest match wins). Returns `null` if no key matches.
|
|
151
|
+
*/
|
|
152
|
+
export declare function resolvePageSchemaEntry(schemas: PageSchemas, context: ResolveSchemaContext): {
|
|
153
|
+
key: string;
|
|
154
|
+
descriptor: PageSchemaDescriptor;
|
|
155
|
+
} | null;
|
|
156
|
+
//# sourceMappingURL=page-schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-schemas.d.ts","sourceRoot":"","sources":["../src/page-schemas.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B;;;;;;;;;;GAUG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yEAAyE;IACzE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,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