@drawnagency/primitives 0.1.113 → 0.1.114
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 +1 -1
- package/dist/auth/cookies.d.ts +39 -0
- package/dist/auth/cookies.d.ts.map +1 -1
- package/dist/auth/index.js +3 -3
- package/dist/{chunk-GPPVYLEI.js → chunk-45FA7Z55.js} +1 -1
- package/dist/{chunk-REDDTTGJ.js → chunk-4Y2JQQZL.js} +19 -1
- package/dist/chunk-5GFACGSN.js +6 -0
- package/dist/chunk-5KSAS4VY.js +275 -0
- package/dist/{chunk-Z7W3DQTR.js → chunk-7SAAJVDE.js} +408 -28
- package/dist/{chunk-S2L3BPLS.js → chunk-7SX42OP4.js} +1 -1
- package/dist/{chunk-GGXZZ77Z.js → chunk-AASEGXNT.js} +18 -1
- package/dist/{chunk-WKZ7OENC.js → chunk-BQ5TZZUE.js} +5 -1
- package/dist/chunk-DIMDRBFK.js +11 -0
- package/dist/{chunk-WUJ3XNFI.js → chunk-GGYY3JQJ.js} +19 -24
- package/dist/{chunk-NHN2LSIU.js → chunk-IP2SEBAJ.js} +5 -1
- package/dist/{chunk-IINIZBQB.js → chunk-JCDZAFX2.js} +30 -10
- package/dist/chunk-JR24U7FJ.js +120 -0
- package/dist/{chunk-SW6PCQQD.js → chunk-KQA772WQ.js} +2 -1
- package/dist/{chunk-KR2MHTNJ.js → chunk-N3G7DOU3.js} +609 -61
- package/dist/chunk-OAGJBCSH.js +67 -0
- package/dist/{chunk-6BZ2KNTP.js → chunk-PLANHXS7.js} +191 -61
- package/dist/{chunk-VWWY5TL5.js → chunk-PNSCDBU7.js} +38 -56
- package/dist/{chunk-AHALSCQH.js → chunk-PTY2RG2K.js} +1 -1
- package/dist/{chunk-BDFTMGCL.js → chunk-PZPGJZRG.js} +9 -8
- package/dist/{chunk-FRE2CCLV.js → chunk-QHMKIODQ.js} +17 -4
- package/dist/{chunk-HBULBDGP.js → chunk-S37DZPHW.js} +1 -1
- package/dist/{chunk-4I5OO5UB.js → chunk-TEOAKGZA.js} +0 -1
- package/dist/chunk-VUYCRBJK.js +174 -0
- package/dist/{chunk-4RNF2DRG.js → chunk-XDEPXTBY.js} +0 -2
- package/dist/{chunk-DS4GCYV2.js → chunk-Y5QECJX7.js} +223 -16
- package/dist/collab/rebase.d.ts +2 -1
- package/dist/collab/rebase.d.ts.map +1 -1
- package/dist/collab/rebase.js +20 -5
- package/dist/components/brandguide/ColorsEditable.d.ts.map +1 -1
- package/dist/components/chat/ChatPanel.d.ts.map +1 -1
- package/dist/components/chat/ChatWidget.d.ts.map +1 -1
- package/dist/components/docfile/DocFilePane.d.ts.map +1 -1
- package/dist/components/editor/ChildBlockWrapper.d.ts.map +1 -1
- package/dist/components/editor/ConflictDialog.d.ts.map +1 -1
- package/dist/components/editor/DragHandle.d.ts +12 -2
- package/dist/components/editor/DragHandle.d.ts.map +1 -1
- package/dist/components/editor/DropEdgeIndicator.d.ts +15 -6
- package/dist/components/editor/DropEdgeIndicator.d.ts.map +1 -1
- package/dist/components/editor/NavGroupRow.d.ts +4 -1
- package/dist/components/editor/NavGroupRow.d.ts.map +1 -1
- package/dist/components/editor/PagesModal.d.ts.map +1 -1
- package/dist/components/editor/SectionWrapper.d.ts +1 -1
- package/dist/components/editor/SectionWrapper.d.ts.map +1 -1
- package/dist/components/editor/SettingsForm.d.ts.map +1 -1
- package/dist/components/editor/TagIndicator.d.ts +15 -0
- package/dist/components/editor/TagIndicator.d.ts.map +1 -0
- package/dist/components/editor/index.js +148 -77
- package/dist/components/primitives/DocumentDropZone.d.ts +1 -1
- package/dist/components/primitives/EditableGrid.d.ts.map +1 -1
- package/dist/components/primitives/EditableList.d.ts.map +1 -1
- package/dist/components/primitives/HeadingSection.d.ts +4 -1
- package/dist/components/primitives/HeadingSection.d.ts.map +1 -1
- package/dist/components/primitives/ResolvedMedia.d.ts +5 -1
- package/dist/components/primitives/ResolvedMedia.d.ts.map +1 -1
- package/dist/components/primitives/{defineHeadingSection.d.ts → define-heading-section.d.ts} +1 -1
- package/dist/components/primitives/define-heading-section.d.ts.map +1 -0
- package/dist/components/primitives/{gridDrop.d.ts → grid-drop.d.ts} +1 -1
- package/dist/components/primitives/grid-drop.d.ts.map +1 -0
- package/dist/components/primitives/index.d.ts +1 -1
- package/dist/components/primitives/index.d.ts.map +1 -1
- package/dist/components/primitives/index.js +17 -154
- package/dist/components/sections/Button/CTAButton.d.ts.map +1 -1
- package/dist/components/sections/DoDontMedia/DoDontMediaBlock.d.ts +2 -6
- package/dist/components/sections/DoDontMedia/DoDontMediaBlock.d.ts.map +1 -1
- package/dist/components/sections/DoDontMedia/index.d.ts +8 -0
- package/dist/components/sections/DoDontMedia/index.d.ts.map +1 -1
- package/dist/components/sections/IconList/IconList.d.ts +2 -1
- package/dist/components/sections/IconList/IconList.d.ts.map +1 -1
- package/dist/components/sections/IconList/IconListSettings.d.ts +2 -1
- package/dist/components/sections/IconList/IconListSettings.d.ts.map +1 -1
- package/dist/components/sections/IconList/index.d.ts +1 -0
- package/dist/components/sections/IconList/index.d.ts.map +1 -1
- package/dist/components/sections/Media/MediaBlock.d.ts +2 -1
- package/dist/components/sections/Media/MediaBlock.d.ts.map +1 -1
- package/dist/components/sections/Media/index.d.ts +8 -0
- package/dist/components/sections/Media/index.d.ts.map +1 -1
- package/dist/components/sections/Reference/ReferenceList.d.ts +35 -0
- package/dist/components/sections/Reference/ReferenceList.d.ts.map +1 -0
- package/dist/components/sections/Reference/ReferenceSettings.d.ts +12 -0
- package/dist/components/sections/Reference/ReferenceSettings.d.ts.map +1 -0
- package/dist/components/sections/Reference/index.d.ts +9 -0
- package/dist/components/sections/Reference/index.d.ts.map +1 -0
- package/dist/components/sections/SectionSummary/SectionSummaryBlock.d.ts +38 -0
- package/dist/components/sections/SectionSummary/SectionSummaryBlock.d.ts.map +1 -0
- package/dist/components/sections/SectionSummary/SectionSummarySettings.d.ts +20 -0
- package/dist/components/sections/SectionSummary/SectionSummarySettings.d.ts.map +1 -0
- package/dist/components/sections/SectionSummary/index.d.ts +33 -0
- package/dist/components/sections/SectionSummary/index.d.ts.map +1 -0
- package/dist/components/sections/all-sections.d.ts +53 -0
- package/dist/components/sections/all-sections.d.ts.map +1 -1
- package/dist/components/sections/brand-guide.d.ts +41 -2
- package/dist/components/sections/brand-guide.d.ts.map +1 -1
- package/dist/components/sections/brand-guide.js +12 -10
- package/dist/components/sections/core-sections.d.ts +14 -0
- package/dist/components/sections/core-sections.d.ts.map +1 -1
- package/dist/components/sections/register-schemas.js +19 -17
- package/dist/components/sections/register.js +19 -17
- package/dist/components/shared/BrandSwatchesContext.d.ts +9 -0
- package/dist/components/shared/BrandSwatchesContext.d.ts.map +1 -0
- package/dist/components/shared/Button.d.ts +11 -3
- package/dist/components/shared/Button.d.ts.map +1 -1
- package/dist/components/shared/Checkbox.d.ts +6 -0
- package/dist/components/shared/Checkbox.d.ts.map +1 -1
- package/dist/components/shared/ConfirmDialog.d.ts +25 -0
- package/dist/components/shared/ConfirmDialog.d.ts.map +1 -0
- package/dist/components/shared/ConfirmInline.d.ts +25 -0
- package/dist/components/shared/ConfirmInline.d.ts.map +1 -0
- package/dist/components/shared/ErrorBoundary.d.ts.map +1 -1
- package/dist/components/shared/Fab.d.ts +11 -2
- package/dist/components/shared/Fab.d.ts.map +1 -1
- package/dist/components/shared/FabStack.d.ts +22 -0
- package/dist/components/shared/FabStack.d.ts.map +1 -0
- package/dist/components/shared/HistoryChangesModal.d.ts.map +1 -1
- package/dist/components/shared/HistoryPopover.d.ts.map +1 -1
- package/dist/components/shared/ImageBackgroundField.d.ts +9 -0
- package/dist/components/shared/ImageBackgroundField.d.ts.map +1 -0
- package/dist/components/shared/{UploadRejectionAlert.d.ts → InlineAlert.d.ts} +4 -2
- package/dist/components/shared/InlineAlert.d.ts.map +1 -0
- package/dist/components/shared/Input.d.ts +10 -0
- package/dist/components/shared/Input.d.ts.map +1 -1
- package/dist/components/shared/Navigation.d.ts.map +1 -1
- package/dist/components/shared/Notice.d.ts +10 -0
- package/dist/components/shared/Notice.d.ts.map +1 -0
- package/dist/components/shared/Popover.d.ts.map +1 -1
- package/dist/components/shared/ReferenceSourcesContext.d.ts +25 -0
- package/dist/components/shared/ReferenceSourcesContext.d.ts.map +1 -0
- package/dist/components/shared/Select.d.ts +3 -2
- package/dist/components/shared/Select.d.ts.map +1 -1
- package/dist/components/shared/SplitButton.d.ts.map +1 -1
- package/dist/components/shared/SummaryAnchorsContext.d.ts +10 -0
- package/dist/components/shared/SummaryAnchorsContext.d.ts.map +1 -0
- package/dist/components/shared/Textarea.d.ts +7 -0
- package/dist/components/shared/Textarea.d.ts.map +1 -1
- package/dist/components/shared/ToolbarFrame.d.ts +17 -0
- package/dist/components/shared/ToolbarFrame.d.ts.map +1 -0
- package/dist/components/shared/copy.d.ts +13 -0
- package/dist/components/shared/copy.d.ts.map +1 -0
- package/dist/components/shared/icons.d.ts +0 -12
- package/dist/components/shared/icons.d.ts.map +1 -1
- package/dist/components/shell/AudienceDetailsPanel.d.ts +7 -1
- package/dist/components/shell/AudienceDetailsPanel.d.ts.map +1 -1
- package/dist/components/shell/AudienceRow.d.ts.map +1 -1
- package/dist/components/shell/BugReportFAB.d.ts +7 -1
- package/dist/components/shell/BugReportFAB.d.ts.map +1 -1
- package/dist/components/shell/CredentialList.d.ts.map +1 -1
- package/dist/components/shell/DocInspector.d.ts.map +1 -1
- package/dist/components/shell/DocumentEditorOverlay.d.ts.map +1 -1
- package/dist/components/shell/EditorContext.d.ts +4 -0
- package/dist/components/shell/EditorContext.d.ts.map +1 -1
- package/dist/components/shell/EditorLoginForm.d.ts.map +1 -1
- package/dist/components/shell/EditorModal.d.ts.map +1 -1
- package/dist/components/shell/EditorShell.d.ts.map +1 -1
- package/dist/components/shell/HistoryToolbar.d.ts.map +1 -1
- package/dist/components/shell/MediaFolderTile.d.ts +4 -1
- package/dist/components/shell/MediaFolderTile.d.ts.map +1 -1
- package/dist/components/shell/MediaLibraryModal.d.ts.map +1 -1
- package/dist/components/shell/RestoreModal.d.ts.map +1 -1
- package/dist/components/shell/SiteSettingsChatbot.d.ts.map +1 -1
- package/dist/components/shell/SiteSettingsDisplay.d.ts.map +1 -1
- package/dist/components/shell/SiteSettingsModal.d.ts +3 -1
- package/dist/components/shell/SiteSettingsModal.d.ts.map +1 -1
- package/dist/components/shell/SiteSettingsTags.d.ts +13 -0
- package/dist/components/shell/SiteSettingsTags.d.ts.map +1 -0
- package/dist/components/shell/SiteSettingsUsers.d.ts.map +1 -1
- package/dist/components/shell/ViewerLoginForm.d.ts.map +1 -1
- package/dist/components/shell/{blockMoveDispatch.d.ts → block-move-dispatch.d.ts} +1 -1
- package/dist/components/shell/block-move-dispatch.d.ts.map +1 -0
- package/dist/components/shell/reference-sources.d.ts +22 -0
- package/dist/components/shell/reference-sources.d.ts.map +1 -0
- package/dist/deck/index.d.ts +2 -2
- package/dist/deck/index.d.ts.map +1 -1
- package/dist/deck/index.js +1 -3
- package/dist/deck-builder/index.js +11 -18
- package/dist/document/index.d.ts +2 -2
- package/dist/document/index.d.ts.map +1 -1
- package/dist/hooks/useBlockDnd.d.ts +11 -0
- package/dist/hooks/useBlockDnd.d.ts.map +1 -1
- package/dist/hooks/useBuildStatus.d.ts +1 -1
- package/dist/hooks/useBuildStatus.d.ts.map +1 -1
- package/dist/hooks/useDocumentUploads.d.ts +1 -1
- package/dist/hooks/useDocumentUploads.d.ts.map +1 -1
- package/dist/hooks/useEditorPersistence.d.ts +5 -1
- package/dist/hooks/useEditorPersistence.d.ts.map +1 -1
- package/dist/hooks/useEditorPublish.d.ts +2 -2
- package/dist/hooks/useEditorPublish.d.ts.map +1 -1
- package/dist/hooks/useNotice.d.ts +19 -0
- package/dist/hooks/useNotice.d.ts.map +1 -0
- package/dist/hooks/useSortableNavRow.d.ts +11 -0
- package/dist/hooks/useSortableNavRow.d.ts.map +1 -1
- package/dist/hooks/useSortableRow.d.ts +11 -0
- package/dist/hooks/useSortableRow.d.ts.map +1 -1
- package/dist/hooks/useStackedEscape.d.ts +32 -0
- package/dist/hooks/useStackedEscape.d.ts.map +1 -0
- package/dist/index.js +67 -49
- package/dist/lib/audience-secret.js +2 -2
- package/dist/lib/block-dnd.d.ts +5 -0
- package/dist/lib/block-dnd.d.ts.map +1 -1
- package/dist/lib/block-move.d.ts.map +1 -1
- package/dist/lib/brand-swatches.d.ts +12 -0
- package/dist/lib/brand-swatches.d.ts.map +1 -0
- package/dist/lib/container-ops.d.ts +3 -2
- package/dist/lib/container-ops.d.ts.map +1 -1
- package/dist/lib/dexie.d.ts.map +1 -1
- package/dist/lib/dexie.js +9 -1
- package/dist/lib/env.d.ts +4 -0
- package/dist/lib/env.d.ts.map +1 -1
- package/dist/lib/env.js +5 -3
- package/dist/lib/events.d.ts +1 -2
- package/dist/lib/events.d.ts.map +1 -1
- package/dist/lib/image-background.d.ts +8 -0
- package/dist/lib/image-background.d.ts.map +1 -0
- package/dist/lib/index-ops.js +3 -3
- package/dist/lib/index.d.ts +6 -4
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +29 -21
- package/dist/lib/loader.d.ts +21 -7
- package/dist/lib/loader.d.ts.map +1 -1
- package/dist/lib/nav-tree.d.ts +1 -0
- package/dist/lib/nav-tree.d.ts.map +1 -1
- package/dist/lib/nav.d.ts +38 -0
- package/dist/lib/nav.d.ts.map +1 -1
- package/dist/lib/platform-broker.d.ts +4 -2
- package/dist/lib/platform-broker.d.ts.map +1 -1
- package/dist/lib/platform-broker.js +21 -13
- package/dist/lib/reference-type.d.ts +2 -0
- package/dist/lib/reference-type.d.ts.map +1 -0
- package/dist/lib/reference-validation.d.ts +31 -0
- package/dist/lib/reference-validation.d.ts.map +1 -0
- package/dist/lib/reference-validation.js +39 -0
- package/dist/lib/references.d.ts +74 -0
- package/dist/lib/references.d.ts.map +1 -0
- package/dist/lib/registry.d.ts +35 -0
- package/dist/lib/registry.d.ts.map +1 -1
- package/dist/lib/{safeRedirect.d.ts → safe-redirect.d.ts} +1 -1
- package/dist/lib/safe-redirect.d.ts.map +1 -0
- package/dist/lib/tags.d.ts +58 -0
- package/dist/lib/tags.d.ts.map +1 -0
- package/dist/lib/theme-vars.d.ts +9 -0
- package/dist/lib/theme-vars.d.ts.map +1 -1
- package/dist/media/index.d.ts +1 -1
- package/dist/media/index.d.ts.map +1 -1
- package/dist/media/index.js +8 -4
- package/dist/media/utils.d.ts +2 -0
- package/dist/media/utils.d.ts.map +1 -1
- package/dist/media/{videoPoster.d.ts → video-poster.d.ts} +1 -1
- package/dist/media/video-poster.d.ts.map +1 -0
- package/dist/schemas/audience.js +2 -2
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +14 -8
- package/dist/schemas/shared.d.ts +26 -0
- package/dist/schemas/shared.d.ts.map +1 -1
- package/dist/schemas/site-config.d.ts +6 -0
- package/dist/schemas/site-config.d.ts.map +1 -1
- package/dist/schemas/tags.d.ts +27 -0
- package/dist/schemas/tags.d.ts.map +1 -0
- package/dist/storage/index.js +1 -1
- package/dist/types/database.d.ts.map +1 -1
- package/package.json +6 -1
- package/src/auth/cookies.ts +111 -0
- package/src/collab/rebase.ts +26 -2
- package/src/components/brandguide/ColorSwatchSettings.tsx +1 -1
- package/src/components/brandguide/ColorsEditable.tsx +1 -0
- package/src/components/chat/ChatPanel.tsx +2 -3
- package/src/components/chat/ChatWidget.tsx +2 -3
- package/src/components/docfile/DocFilePane.tsx +4 -12
- package/src/components/editor/ChildBlockWrapper.tsx +13 -19
- package/src/components/editor/ConflictDialog.tsx +27 -35
- package/src/components/editor/DeleteButton.tsx +2 -2
- package/src/components/editor/DragHandle.tsx +16 -3
- package/src/components/editor/DropEdgeIndicator.tsx +36 -10
- package/src/components/editor/InsertButton.tsx +2 -2
- package/src/components/editor/NavGroupRow.tsx +43 -14
- package/src/components/editor/PagesModal.tsx +99 -26
- package/src/components/editor/SectionWrapper.tsx +64 -23
- package/src/components/editor/SettingsButton.tsx +2 -2
- package/src/components/editor/SettingsForm.tsx +19 -2
- package/src/components/editor/StatusIndicator.tsx +4 -4
- package/src/components/editor/TagIndicator.tsx +80 -0
- package/src/components/primitives/DocumentDropZone.tsx +1 -1
- package/src/components/primitives/EditableGrid.tsx +15 -14
- package/src/components/primitives/EditableList.tsx +27 -74
- package/src/components/primitives/HeadingSection.tsx +5 -2
- package/src/components/primitives/ResolvedMedia.tsx +13 -0
- package/src/components/primitives/{defineHeadingSection.tsx → define-heading-section.tsx} +1 -0
- package/src/components/primitives/index.ts +1 -1
- package/src/components/primitives/useEditablePlainText.ts +5 -5
- package/src/components/sections/Button/CTAButton.tsx +3 -1
- package/src/components/sections/DoDontMedia/DoDontMediaBlock.tsx +4 -4
- package/src/components/sections/DoDontMedia/index.tsx +12 -3
- package/src/components/sections/IconList/DoDontToggle.tsx +2 -2
- package/src/components/sections/IconList/IconList.tsx +70 -37
- package/src/components/sections/IconList/IconListSettings.tsx +55 -17
- package/src/components/sections/IconList/index.tsx +10 -3
- package/src/components/sections/LinkHeading/index.tsx +1 -1
- package/src/components/sections/Media/MediaBlock.tsx +13 -2
- package/src/components/sections/Media/index.tsx +12 -4
- package/src/components/sections/Reference/ReferenceList.tsx +214 -0
- package/src/components/sections/Reference/ReferenceSettings.tsx +159 -0
- package/src/components/sections/Reference/index.tsx +47 -0
- package/src/components/sections/SectionSummary/SectionSummaryBlock.tsx +476 -0
- package/src/components/sections/SectionSummary/SectionSummarySettings.tsx +126 -0
- package/src/components/sections/SectionSummary/index.tsx +149 -0
- package/src/components/sections/SubHeading/index.tsx +1 -1
- package/src/components/sections/SubSubHeading/index.tsx +1 -1
- package/src/components/sections/brand-guide.ts +4 -3
- package/src/components/sections/core-sections.ts +2 -0
- package/src/components/shared/BrandSwatchesContext.ts +13 -0
- package/src/components/shared/Button.tsx +47 -34
- package/src/components/shared/Checkbox.tsx +21 -12
- package/src/components/shared/ConfirmDialog.tsx +87 -0
- package/src/components/shared/ConfirmInline.tsx +90 -0
- package/src/components/shared/ErrorBoundary.tsx +6 -18
- package/src/components/shared/Fab.tsx +15 -5
- package/src/components/shared/FabStack.tsx +28 -0
- package/src/components/shared/HistoryChangesModal.tsx +43 -41
- package/src/components/shared/HistoryPopover.tsx +7 -20
- package/src/components/shared/ImageBackgroundField.tsx +92 -0
- package/src/components/shared/{UploadRejectionAlert.tsx → InlineAlert.tsx} +21 -5
- package/src/components/shared/Input.tsx +23 -7
- package/src/components/shared/Navigation.tsx +22 -17
- package/src/components/shared/Notice.tsx +59 -0
- package/src/components/shared/Popover.tsx +7 -11
- package/src/components/shared/ReferenceSourcesContext.ts +27 -0
- package/src/components/shared/Select.tsx +5 -2
- package/src/components/shared/SplitButton.tsx +11 -17
- package/src/components/shared/SummaryAnchorsContext.ts +11 -0
- package/src/components/shared/Textarea.tsx +17 -2
- package/src/components/shared/ToolbarFrame.tsx +28 -0
- package/src/components/shared/VideoSourceField.tsx +1 -1
- package/src/components/shared/copy.ts +18 -0
- package/src/components/shared/icons.tsx +1 -17
- package/src/components/shell/AudienceAddForm.tsx +2 -2
- package/src/components/shell/AudienceDetailsPanel.tsx +23 -5
- package/src/components/shell/AudienceRow.tsx +22 -15
- package/src/components/shell/BugReportFAB.tsx +50 -40
- package/src/components/shell/CredentialList.tsx +33 -13
- package/src/components/shell/DocInspector.tsx +3 -12
- package/src/components/shell/DocumentEditorOverlay.tsx +33 -23
- package/src/components/shell/EditorContext.tsx +7 -0
- package/src/components/shell/EditorLoginForm.tsx +26 -36
- package/src/components/shell/EditorModal.tsx +8 -10
- package/src/components/shell/EditorShell.tsx +499 -339
- package/src/components/shell/HistoryToolbar.tsx +24 -26
- package/src/components/shell/MediaFolderTile.tsx +8 -3
- package/src/components/shell/MediaLibraryModal.tsx +59 -60
- package/src/components/shell/ProcessingIndicator.tsx +2 -2
- package/src/components/shell/RestoreModal.tsx +17 -16
- package/src/components/shell/SetPasswordForm.tsx +3 -3
- package/src/components/shell/SiteSettingsChatbot.tsx +61 -42
- package/src/components/shell/SiteSettingsDisplay.tsx +10 -20
- package/src/components/shell/SiteSettingsModal.tsx +24 -2
- package/src/components/shell/SiteSettingsTags.tsx +143 -0
- package/src/components/shell/SiteSettingsUsers.tsx +36 -26
- package/src/components/shell/SiteSettingsViewerAccess.tsx +2 -2
- package/src/components/shell/ViewerLoginForm.tsx +5 -4
- package/src/components/shell/reference-sources.ts +36 -0
- package/src/deck/index.ts +2 -2
- package/src/document/index.ts +2 -2
- package/src/hooks/useBlockDnd.ts +11 -0
- package/src/hooks/useBuildStatus.ts +53 -6
- package/src/hooks/useDocumentUploads.ts +1 -1
- package/src/hooks/useEditorPersistence.ts +141 -35
- package/src/hooks/useEditorPublish.ts +18 -27
- package/src/hooks/useMediaPipeline.ts +1 -1
- package/src/hooks/useNotice.ts +45 -0
- package/src/hooks/useSortableNavRow.ts +11 -0
- package/src/hooks/useSortableRow.ts +22 -2
- package/src/hooks/useStackedEscape.ts +62 -0
- package/src/lib/block-dnd.ts +6 -1
- package/src/lib/block-move.ts +3 -0
- package/src/lib/brand-swatches.ts +32 -0
- package/src/lib/container-ops.ts +5 -3
- package/src/lib/dexie.ts +15 -1
- package/src/lib/env.ts +9 -0
- package/src/lib/events.ts +1 -2
- package/src/lib/image-background.ts +31 -0
- package/src/lib/index.ts +5 -4
- package/src/lib/loader.ts +54 -55
- package/src/lib/nav-tree.ts +71 -0
- package/src/lib/nav.ts +196 -36
- package/src/lib/platform-broker.ts +32 -14
- package/src/lib/reference-type.ts +3 -0
- package/src/lib/reference-validation.ts +69 -0
- package/src/lib/references.ts +130 -0
- package/src/lib/registry.ts +37 -0
- package/src/lib/tags.ts +148 -0
- package/src/lib/theme-vars.ts +23 -0
- package/src/media/index.ts +1 -1
- package/src/media/utils.ts +18 -0
- package/src/media/{videoPoster.ts → video-poster.ts} +2 -2
- package/src/schemas/index.ts +1 -0
- package/src/schemas/shared.ts +24 -1
- package/src/schemas/site-config.ts +6 -1
- package/src/schemas/tags.ts +33 -0
- package/src/storage/types.ts +1 -1
- package/src/types/database.ts +2 -0
- package/dist/chunk-DNY72JZN.js +0 -86
- package/dist/chunk-F2LYQPXV.js +0 -77
- package/dist/chunk-JH762VUH.js +0 -128
- package/dist/chunk-K7DYZXVU.js +0 -138
- package/dist/components/primitives/defineHeadingSection.d.ts.map +0 -1
- package/dist/components/primitives/gridDrop.d.ts.map +0 -1
- package/dist/components/shared/UploadRejectionAlert.d.ts.map +0 -1
- package/dist/components/shell/BuildStatusIndicator.d.ts +0 -7
- package/dist/components/shell/BuildStatusIndicator.d.ts.map +0 -1
- package/dist/components/shell/blockMoveDispatch.d.ts.map +0 -1
- package/dist/hooks/index.d.ts +0 -9
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/lib/grid.d.ts +0 -2
- package/dist/lib/grid.d.ts.map +0 -1
- package/dist/lib/safeRedirect.d.ts.map +0 -1
- package/dist/media/videoPoster.d.ts.map +0 -1
- package/src/components/brandguide/ColorSwatchSettings.d.ts.map +0 -1
- package/src/components/brandguide/Colors.d.ts.map +0 -1
- package/src/components/primitives/CustomParagraph.d.ts.map +0 -1
- package/src/components/primitives/EditableGrid.d.ts.map +0 -1
- package/src/components/primitives/EditablePlainText.d.ts.map +0 -1
- package/src/components/primitives/EditableRichText.d.ts.map +0 -1
- package/src/components/primitives/HeadingSection.d.ts.map +0 -1
- package/src/components/primitives/IconPicker.d.ts.map +0 -1
- package/src/components/primitives/LinkPopover.d.ts.map +0 -1
- package/src/components/primitives/MediaSettingsForms.d.ts.map +0 -1
- package/src/components/primitives/ResolvedMedia.d.ts.map +0 -1
- package/src/components/primitives/RichTextToolbar.d.ts.map +0 -1
- package/src/components/primitives/tiptap-presets.d.ts.map +0 -1
- package/src/components/primitives/useEditableCollection.d.ts.map +0 -1
- package/src/components/primitives/useEditablePlainText.d.ts.map +0 -1
- package/src/components/primitives/useEditableRichText.d.ts.map +0 -1
- package/src/components/sections/Button/CTAButton.d.ts.map +0 -1
- package/src/components/sections/Button/index.d.ts.map +0 -1
- package/src/components/sections/Colors/index.d.ts.map +0 -1
- package/src/components/sections/IconList/IconList.d.ts.map +0 -1
- package/src/components/sections/IconList/IconListSettings.d.ts.map +0 -1
- package/src/components/sections/IconList/index.d.ts.map +0 -1
- package/src/components/sections/LinkHeading/index.d.ts.map +0 -1
- package/src/components/sections/Prose/Prose.d.ts.map +0 -1
- package/src/components/sections/Prose/index.d.ts.map +0 -1
- package/src/components/sections/SubHeading/index.d.ts.map +0 -1
- package/src/components/sections/SubSubHeading/index.d.ts.map +0 -1
- package/src/components/sections/register-schemas.d.ts.map +0 -1
- package/src/components/shared/Button.d.ts.map +0 -1
- package/src/components/shared/Checkbox.d.ts.map +0 -1
- package/src/components/shared/FormLabel.d.ts.map +0 -1
- package/src/components/shared/IconButton.d.ts.map +0 -1
- package/src/components/shared/Input.d.ts.map +0 -1
- package/src/components/shared/Select.d.ts.map +0 -1
- package/src/components/shared/icons.d.ts.map +0 -1
- package/src/components/shell/BuildStatusIndicator.tsx +0 -59
- package/src/components/shell/MediaLibraryContext.d.ts.map +0 -1
- package/src/hooks/index.ts +0 -8
- package/src/hooks/useResolvedMedia.d.ts.map +0 -1
- package/src/lib/cn.d.ts.map +0 -1
- package/src/lib/grid.d.ts.map +0 -1
- package/src/lib/grid.ts +0 -7
- package/src/lib/icons.d.ts.map +0 -1
- package/src/lib/loader.d.ts.map +0 -1
- package/src/lib/nav.d.ts.map +0 -1
- package/src/lib/registry.d.ts.map +0 -1
- package/src/lib/sanitize.d.ts.map +0 -1
- package/src/media/github.d.ts.map +0 -1
- package/src/media/index.d.ts.map +0 -1
- package/src/media/queue.d.ts.map +0 -1
- package/src/media/resolve.d.ts.map +0 -1
- package/src/media/types.d.ts.map +0 -1
- package/src/media/utils.d.ts.map +0 -1
- package/src/media/videoPoster.d.ts.map +0 -1
- package/src/schemas/auth.d.ts.map +0 -1
- package/src/schemas/media-grid-options.d.ts.map +0 -1
- package/src/schemas/media.d.ts.map +0 -1
- package/src/schemas/sections.d.ts.map +0 -1
- package/src/schemas/shared.d.ts.map +0 -1
- package/src/schemas/site-config.d.ts.map +0 -1
- /package/dist/{chunk-B7VBSE5X.js → chunk-3JDTXOIG.js} +0 -0
- /package/dist/{chunk-CXZ5YJG4.js → chunk-L45X7DKX.js} +0 -0
- /package/src/components/primitives/{gridDrop.ts → grid-drop.ts} +0 -0
- /package/src/components/shell/{blockMoveDispatch.ts → block-move-dispatch.ts} +0 -0
- /package/src/lib/{safeRedirect.ts → safe-redirect.ts} +0 -0
package/dist/document/index.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ export * from "./engine/settings";
|
|
|
3
3
|
export { splitProseBlocks } from "./engine/blocks";
|
|
4
4
|
export { harvest } from "./engine/harvest";
|
|
5
5
|
export * from "./engine/paginate";
|
|
6
|
-
export { layoutMasonryPage, type MasonryOpts, type
|
|
6
|
+
export { layoutMasonryPage, type MasonryOpts, type Sized } from "./engine/masonry";
|
|
7
7
|
export { DocPage, type DocMeta } from "./components/DocPage";
|
|
8
8
|
export { DocSectionPage, type DocHost } from "./components/DocSectionPage";
|
|
9
9
|
export { DocCoverPage } from "./components/DocCoverPage";
|
|
10
10
|
export { useDocPages } from "./components/useDocPages";
|
|
11
|
-
export { DocViewer
|
|
11
|
+
export { DocViewer } from "./components/DocViewer";
|
|
12
12
|
export { DocRail, entryId, type RailEntry } from "./components/DocRail";
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/document/index.ts"],"names":[],"mappings":"AAGA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,KAAK,WAAW,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/document/index.ts"],"names":[],"mappings":"AAGA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,KAAK,WAAW,EAAE,KAAK,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEnF,OAAO,EAAE,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,KAAK,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -10,6 +10,17 @@ export interface UseBlockDndArgs {
|
|
|
10
10
|
enabled: boolean;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
+
* One of three sibling drag-and-drop position hooks, split by location type
|
|
14
|
+
* rather than unified behind a generic `useSortable({ axis })`: this one
|
|
15
|
+
* (block/container id + index — the section canvas, root and nested),
|
|
16
|
+
* `useSortableRow` (flat index — section-ordering lists), and
|
|
17
|
+
* `useSortableNavRow` (NavLocation — the Pages modal's group-aware nav tree).
|
|
18
|
+
* A fourth location type earns its own hook on the same shape (rowRef/
|
|
19
|
+
* handleRef, lazy atlaskit import, closest-edge state, a ref for the latest
|
|
20
|
+
* callback) rather than a parameter bag bolted onto an existing one — see
|
|
21
|
+
* docs/superpowers/specs/2026-09-04-editor-ui-primitives-consolidation.md
|
|
22
|
+
* § D6 for why a shared `useSortable` was deferred.
|
|
23
|
+
*
|
|
13
24
|
* Wires a block as a unified drag source + drop target. Manages only this block's
|
|
14
25
|
* local hover edge + dragging flag — the actual move dispatch is centralized in the
|
|
15
26
|
* EditorContent monitor (a later task), so nested targets never double-fire. The edge
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBlockDnd.d.ts","sourceRoot":"","sources":["../../src/hooks/useBlockDnd.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uDAAuD,CAAC;AAGlF,KAAK,YAAY,GAAG,IAAI,EAAE,CAAC;AAE3B,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,OAAO,CAAC;IACrB,wEAAwE;IACxE,YAAY,EAAE,YAAY,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED
|
|
1
|
+
{"version":3,"file":"useBlockDnd.d.ts","sourceRoot":"","sources":["../../src/hooks/useBlockDnd.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uDAAuD,CAAC;AAGlF,KAAK,YAAY,GAAG,IAAI,EAAE,CAAC;AAE3B,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,OAAO,CAAC;IACrB,wEAAwE;IACxE,YAAY,EAAE,YAAY,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,eAAe;;;;;EA0D/G;AAED,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,iGAAiG;IACjG,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,YAAY,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,oBAAoB;;;EAyC7G"}
|
|
@@ -2,7 +2,7 @@ type BuildState = "idle" | "building" | "ready" | "error" | "fading";
|
|
|
2
2
|
interface BuildStatusResult {
|
|
3
3
|
state: BuildState;
|
|
4
4
|
elapsedSeconds: number;
|
|
5
|
-
startTracking: () => void;
|
|
5
|
+
startTracking: (commitSha?: string) => void;
|
|
6
6
|
dismiss: () => void;
|
|
7
7
|
}
|
|
8
8
|
export declare function useBuildStatus(): BuildStatusResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBuildStatus.d.ts","sourceRoot":"","sources":["../../src/hooks/useBuildStatus.ts"],"names":[],"mappings":"AAEA,KAAK,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC;AASrE,UAAU,iBAAiB;IACzB,KAAK,EAAE,UAAU,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"useBuildStatus.d.ts","sourceRoot":"","sources":["../../src/hooks/useBuildStatus.ts"],"names":[],"mappings":"AAEA,KAAK,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC;AASrE,UAAU,iBAAiB;IACzB,KAAK,EAAE,UAAU,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,CAAC,SAAS,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAkBD,wBAAgB,cAAc,IAAI,iBAAiB,CAuNlD"}
|
|
@@ -9,7 +9,7 @@ interface UseDocumentUploadsInput {
|
|
|
9
9
|
* invisible here, so without this the dedup below cannot tell a live
|
|
10
10
|
* document from a doomed one. No-op for an id that isn't doomed. */
|
|
11
11
|
undeleteDocument?: (id: string) => void;
|
|
12
|
-
/** Same channel the media pipeline uses — surfaces in
|
|
12
|
+
/** Same channel the media pipeline uses — surfaces in InlineAlert. */
|
|
13
13
|
onUploadError?: (message: string) => void;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDocumentUploads.d.ts","sourceRoot":"","sources":["../../src/hooks/useDocumentUploads.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAyB,MAAM,sBAAsB,CAAC;AAapF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAS/E,UAAU,uBAAuB;IAC/B,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,mBAAmB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAC5E,oBAAoB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACpE;;;yEAGqE;IACrE,gBAAgB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC
|
|
1
|
+
{"version":3,"file":"useDocumentUploads.d.ts","sourceRoot":"","sources":["../../src/hooks/useDocumentUploads.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAyB,MAAM,sBAAsB,CAAC;AAapF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAS/E,UAAU,uBAAuB;IAC/B,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,mBAAmB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAC5E,oBAAoB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACpE;;;yEAGqE;IACrE,gBAAgB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,sEAAsE;IACtE,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,aAAa,GACd,EAAE,uBAAuB;;;;2BA6ET,IAAI,eAAe,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,KAAG,OAAO,CAAC,IAAI,CAAC;4BA4JhE,MAAM,EAAE;4BAqC2B,MAAM,EAAE;;;EAyD1D"}
|
|
@@ -19,14 +19,18 @@ interface PersistenceOptions {
|
|
|
19
19
|
deletedSectionsRef?: React.RefObject<Set<string>>;
|
|
20
20
|
}
|
|
21
21
|
export declare function useEditorPersistence(siteIndexRef: React.RefObject<SiteIndex>, options?: PersistenceOptions): {
|
|
22
|
+
persistenceError: string | null;
|
|
22
23
|
markSectionDirty: (sectionId: string, content: SectionContent) => void;
|
|
23
24
|
markIndexDirty: () => void;
|
|
24
25
|
removeSection: (sectionId: string) => void;
|
|
25
26
|
dropPendingSection: (sectionId: string) => void;
|
|
26
27
|
hasPendingSection: (sectionId: string) => boolean;
|
|
27
28
|
persistConfig: (config: SiteConfig) => Promise<void>;
|
|
28
|
-
flushNow: (
|
|
29
|
+
flushNow: (opts?: {
|
|
30
|
+
exit?: boolean;
|
|
31
|
+
}) => Promise<void>;
|
|
29
32
|
cancelPendingFlush: () => void;
|
|
33
|
+
discardPending: () => Promise<void>;
|
|
30
34
|
isConfigDirty: () => boolean;
|
|
31
35
|
clearConfigDirty: () => void;
|
|
32
36
|
isIndexDirty: () => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEditorPersistence.d.ts","sourceRoot":"","sources":["../../src/hooks/useEditorPersistence.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"useEditorPersistence.d.ts","sourceRoot":"","sources":["../../src/hooks/useEditorPersistence.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AA6BpE,UAAU,kBAAkB;IAC1B;;;;+DAI2D;IAC3D,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,cAAc,CAAA;KAAE,EAAE,EAAE,YAAY,EAAE,OAAO,KAAK,IAAI,CAAC;IACrG;;;;;yDAKqD;IACrD,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;CACnD;AAkBD,wBAAgB,oBAAoB,CAClC,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC,EACxC,OAAO,CAAC,EAAE,kBAAkB;;kCA8Jd,MAAM,WAAW,cAAc;;+BAmBC,MAAM;oCAeD,MAAM;mCAQ3C,MAAM;4BAI6B,UAAU;sBAnLZ;QAAE,IAAI,CAAC,EAAE,OAAO,CAAA;KAAE;;;;;;;yCA2OT,MAAM;;;qCAWhD,MAAM,cAAc,MAAM;EAwCzC"}
|
|
@@ -33,7 +33,7 @@ interface PublishDeps {
|
|
|
33
33
|
pendingMediaDeletions: string[];
|
|
34
34
|
onMediaPublished: (publishedItems: MediaItem[], publishedDeletions: string[]) => void;
|
|
35
35
|
onShasUpdated: (savedSha: string | null, mainSha: string | null) => void;
|
|
36
|
-
onPublishComplete?: () => void;
|
|
36
|
+
onPublishComplete?: (sha: string) => void;
|
|
37
37
|
getBaseVersion: () => string | null;
|
|
38
38
|
/** Injected by EditorShell. On a 409 (concurrent edit) the save calls this to
|
|
39
39
|
* re-fetch the fresh draft, rebase local unsaved work on top, and refresh the
|
|
@@ -91,7 +91,7 @@ interface PublishDeps {
|
|
|
91
91
|
export type PublishAction = "idle" | "saving" | "publishing";
|
|
92
92
|
export declare function useEditorPublish({ flushNow, cancelPendingFlush, isConfigDirty, clearConfigDirty, siteIndexRef, siteConfig, sections, deletedSectionIds, onSuccess, mediaManifest, mediaManifestRef, manifestDirty, clearManifestDirty, pendingMediaItems, pendingMediaDeletions, onMediaPublished, onShasUpdated, onPublishComplete, getBaseVersion, recoverConflict, onBaselineCommitted, onSaveWarnings, saveChunkBudget, savingRef, getEditGeneration, documentManifest, pendingDocuments, pendingDocumentDeletions, onDocumentsPublished, onDocumentsDeleted, }: PublishDeps): {
|
|
93
93
|
publishAction: PublishAction;
|
|
94
|
-
publishFeedback:
|
|
94
|
+
publishFeedback: import("./useNotice").NoticeState | null;
|
|
95
95
|
saveProgress: string | null;
|
|
96
96
|
handleSave: () => Promise<void>;
|
|
97
97
|
handlePublish: () => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEditorPublish.d.ts","sourceRoot":"","sources":["../../src/hooks/useEditorPublish.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useEditorPublish.d.ts","sourceRoot":"","sources":["../../src/hooks/useEditorPublish.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAA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AQ,EACR,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,iBAAiB,EACjB,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,SAAS,EACT,iBAAiB,EACjB,gBAAqB,EACrB,gBAAqB,EACrB,wBAA6B,EAC7B,oBAAoB,EACpB,kBAAkB,GACnB,EAAE,WAAW;;;;;;;EAosBb"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { NoticeTone } from "../components/shared/Notice";
|
|
2
|
+
export interface NoticeState {
|
|
3
|
+
tone: NoticeTone;
|
|
4
|
+
message: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* One notice, one timer. `error` is sticky by default (no ttl) since it
|
|
8
|
+
* usually needs a deliberate dismiss; every other tone auto-clears.
|
|
9
|
+
* Call a second instance for a notice that must stay visible independently
|
|
10
|
+
* of another (e.g. toolbar feedback vs. a collab toast).
|
|
11
|
+
*/
|
|
12
|
+
export declare function useNotice(): {
|
|
13
|
+
notice: NoticeState | null;
|
|
14
|
+
show: (tone: NoticeTone, message: string, options?: {
|
|
15
|
+
ttlMs?: number;
|
|
16
|
+
}) => void;
|
|
17
|
+
clear: () => void;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=useNotice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNotice.d.ts","sourceRoot":"","sources":["../../src/hooks/useNotice.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAE9D,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAID;;;;;GAKG;AACH,wBAAgB,SAAS;;iBAgBd,UAAU,WAAW,MAAM,YAAY;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;;EAYnE"}
|
|
@@ -9,6 +9,17 @@ interface Options {
|
|
|
9
9
|
enabled?: boolean;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
|
+
* One of three sibling drag-and-drop position hooks, split by location type
|
|
13
|
+
* rather than unified behind a generic `useSortable({ axis })`: this one
|
|
14
|
+
* (NavLocation — the Pages modal's group-aware nav tree), `useSortableRow`
|
|
15
|
+
* (flat index — section-ordering lists), and `useBlockDnd` (block/container id
|
|
16
|
+
* + index — the section canvas, root and nested). A fourth location type
|
|
17
|
+
* earns its own hook on the same shape (rowRef/handleRef, lazy atlaskit
|
|
18
|
+
* import, closest-edge state, a ref for the latest callback) rather than a
|
|
19
|
+
* parameter bag bolted onto an existing one — see docs/superpowers/specs/
|
|
20
|
+
* 2026-09-04-editor-ui-primitives-consolidation.md § D6 for why a shared
|
|
21
|
+
* `useSortable` was deferred.
|
|
22
|
+
*
|
|
12
23
|
* Closest-edge drag wiring for one Pages-modal nav row. A sibling of
|
|
13
24
|
* useSortableRow that speaks NavLocation instead of a flat index; the section
|
|
14
25
|
* modal keeps using the original, so this cannot regress it.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSortableNavRow.d.ts","sourceRoot":"","sources":["../../src/hooks/useSortableNavRow.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE3D,UAAU,OAAO;IACf,iFAAiF;IACjF,GAAG,EAAE,MAAM,CAAC;IACZ,qFAAqF;IACrF,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,MAAM,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,WAAW,KAAK,IAAI,CAAC;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAID
|
|
1
|
+
{"version":3,"file":"useSortableNavRow.d.ts","sourceRoot":"","sources":["../../src/hooks/useSortableNavRow.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE3D,UAAU,OAAO;IACf,iFAAiF;IACjF,GAAG,EAAE,MAAM,CAAC;IACZ,qFAAqF;IACrF,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,MAAM,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,WAAW,KAAK,IAAI,CAAC;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAID;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,WAAW,EAAE,CAAC,SAAS,WAAW,EAAE,EAC9E,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,OAAc,GAC9C,EAAE,OAAO;;;;;;EAgHT"}
|
|
@@ -7,6 +7,17 @@ interface UseSortableRowOptions {
|
|
|
7
7
|
enabled?: boolean;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* One of three sibling drag-and-drop position hooks, split by location type
|
|
11
|
+
* rather than unified behind a generic `useSortable({ axis })`: this one (flat
|
|
12
|
+
* index — section-ordering lists, `EditableList`), `useSortableNavRow`
|
|
13
|
+
* (NavLocation — the Pages modal's group-aware nav tree), and `useBlockDnd`
|
|
14
|
+
* (block/container id + index — the section canvas, root and nested). A
|
|
15
|
+
* fourth location type earns its own hook on the same shape (rowRef/handleRef,
|
|
16
|
+
* lazy atlaskit import, closest-edge state, a ref for the latest callback)
|
|
17
|
+
* rather than a parameter bag bolted onto an existing one — see
|
|
18
|
+
* docs/superpowers/specs/2026-09-04-editor-ui-primitives-consolidation.md § D6
|
|
19
|
+
* for why a shared `useSortable` was deferred.
|
|
20
|
+
*
|
|
10
21
|
* Closest-edge drag-to-reorder wiring for a single list row, shared by the
|
|
11
22
|
* section- and page-ordering modals. Attach `rowRef` to the row element and
|
|
12
23
|
* `handleRef` to the drag handle, and render
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSortableRow.d.ts","sourceRoot":"","sources":["../../src/hooks/useSortableRow.ts"],"names":[],"mappings":"AAGA,UAAU,qBAAqB;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,2EAA2E;IAC3E,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,2EAA2E;IAC3E,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED
|
|
1
|
+
{"version":3,"file":"useSortableRow.d.ts","sourceRoot":"","sources":["../../src/hooks/useSortableRow.ts"],"names":[],"mappings":"AAGA,UAAU,qBAAqB;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,2EAA2E;IAC3E,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,2EAA2E;IAC3E,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,WAAW,EAAE,CAAC,SAAS,WAAW,EAAE,EAC3E,KAAK,EACL,QAAQ,EACR,SAAS,EACT,OAAc,GACf,EAAE,qBAAqB;;;;;EAiFvB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type RefObject } from "react";
|
|
2
|
+
export interface UseStackedEscapeOptions {
|
|
3
|
+
enabled: boolean;
|
|
4
|
+
/**
|
|
5
|
+
* Runs first, before the layer check would otherwise fall through to
|
|
6
|
+
* `onEscape`; returning `true` swallows the keypress entirely (the document
|
|
7
|
+
* editor overlay's blur-a-focused-field-first step).
|
|
8
|
+
*/
|
|
9
|
+
before?: (e: KeyboardEvent) => boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Shared "a modal above me owns Escape" rule. `EditorModal` marks its
|
|
13
|
+
* outermost layer with `data-modal-layer`; anything that might render BELOW
|
|
14
|
+
* one — a `Popover`, the doc file pane, the document editor overlay, and
|
|
15
|
+
* `EditorModal` itself (relative to another `EditorModal` opened on top of
|
|
16
|
+
* it) — must not react to an Escape meant for that layer instead.
|
|
17
|
+
*
|
|
18
|
+
* Attach the returned ref to your own `data-modal-layer` element (only
|
|
19
|
+
* `EditorModal` does) so the check can exclude it — otherwise it would always
|
|
20
|
+
* find itself and never fire. Callers that aren't a layer themselves (Popover,
|
|
21
|
+
* DocFilePane, the overlay) just ignore the return value: any layer at all
|
|
22
|
+
* then means something is stacked above them.
|
|
23
|
+
*
|
|
24
|
+
* For a tagged caller, "above" means a layer that FOLLOWS its own layer in
|
|
25
|
+
* DOM order (`compareDocumentPosition` + `DOCUMENT_POSITION_FOLLOWING`), not
|
|
26
|
+
* just "any other layer" — modals are appended later in DOM order than the
|
|
27
|
+
* ones already open, so this is what lets two stacked `EditorModal`s (e.g.
|
|
28
|
+
* Site Settings opening the Media Library over itself) resolve Escape to the
|
|
29
|
+
* topmost one only, then the next one down once that one closes.
|
|
30
|
+
*/
|
|
31
|
+
export declare function useStackedEscape<T extends HTMLElement = HTMLElement>(onEscape: () => void, { enabled, before }: UseStackedEscapeOptions): RefObject<T | null>;
|
|
32
|
+
//# sourceMappingURL=useStackedEscape.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStackedEscape.d.ts","sourceRoot":"","sources":["../../src/hooks/useStackedEscape.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1D,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,aAAa,KAAK,OAAO,CAAC;CACxC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EAClE,QAAQ,EAAE,MAAM,IAAI,EACpB,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,uBAAuB,GAC3C,SAAS,CAAC,CAAC,GAAG,IAAI,CAAC,CA0BrB"}
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,30 @@ import {
|
|
|
13
13
|
verifyAudienceClaims,
|
|
14
14
|
verifyAudienceToken,
|
|
15
15
|
verifySessionToken
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KQA772WQ.js";
|
|
17
|
+
import {
|
|
18
|
+
BAKED_MEDIA_KEYS,
|
|
19
|
+
EXT_TO_MIME,
|
|
20
|
+
MIME_TO_EXT,
|
|
21
|
+
ProcessingQueue,
|
|
22
|
+
composePreviewImage,
|
|
23
|
+
displayFilename,
|
|
24
|
+
displayFilenameExt,
|
|
25
|
+
displayName,
|
|
26
|
+
formatFileSize,
|
|
27
|
+
generateVideoPoster,
|
|
28
|
+
getMediaProvider,
|
|
29
|
+
hashFileBuffer,
|
|
30
|
+
imageThumbnailUrl,
|
|
31
|
+
mediaThumbnailUrl,
|
|
32
|
+
mimeToExt,
|
|
33
|
+
rebindImageRef,
|
|
34
|
+
resolveLogo,
|
|
35
|
+
resolveManifestReferences,
|
|
36
|
+
resolveMedia,
|
|
37
|
+
sanitizeMediaName,
|
|
38
|
+
setMediaProvider
|
|
39
|
+
} from "./chunk-QHMKIODQ.js";
|
|
17
40
|
import {
|
|
18
41
|
ASSET_CACHE_CONTROL,
|
|
19
42
|
DOCUMENT_CACHE_CONTROL,
|
|
@@ -23,7 +46,7 @@ import {
|
|
|
23
46
|
NothingToPublishError,
|
|
24
47
|
StorageConflictError,
|
|
25
48
|
withIdempotencyTrailer
|
|
26
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-45FA7Z55.js";
|
|
27
50
|
import {
|
|
28
51
|
CollabPeerSchema,
|
|
29
52
|
HEARTBEAT_INTERVAL_MS,
|
|
@@ -37,27 +60,6 @@ import {
|
|
|
37
60
|
getCollabProvider,
|
|
38
61
|
setCollabProvider
|
|
39
62
|
} from "./chunk-2G2S36SY.js";
|
|
40
|
-
import {
|
|
41
|
-
BAKED_MEDIA_KEYS,
|
|
42
|
-
EXT_TO_MIME,
|
|
43
|
-
MIME_TO_EXT,
|
|
44
|
-
ProcessingQueue,
|
|
45
|
-
composePreviewImage,
|
|
46
|
-
displayFilename,
|
|
47
|
-
displayFilenameExt,
|
|
48
|
-
displayName,
|
|
49
|
-
formatFileSize,
|
|
50
|
-
generateVideoPoster,
|
|
51
|
-
getMediaProvider,
|
|
52
|
-
hashFileBuffer,
|
|
53
|
-
mimeToExt,
|
|
54
|
-
rebindImageRef,
|
|
55
|
-
resolveLogo,
|
|
56
|
-
resolveManifestReferences,
|
|
57
|
-
resolveMedia,
|
|
58
|
-
sanitizeMediaName,
|
|
59
|
-
setMediaProvider
|
|
60
|
-
} from "./chunk-FRE2CCLV.js";
|
|
61
63
|
import {
|
|
62
64
|
DEFAULT_CHATBOT_NAME,
|
|
63
65
|
accentVarValue,
|
|
@@ -65,8 +67,6 @@ import {
|
|
|
65
67
|
contrastColor,
|
|
66
68
|
contrastRatio,
|
|
67
69
|
deriveContrast,
|
|
68
|
-
gridColsClass,
|
|
69
|
-
loadSiteContent,
|
|
70
70
|
loadStaticSiteContent,
|
|
71
71
|
mergeSiteContent,
|
|
72
72
|
onPrimaryVarValue,
|
|
@@ -77,11 +77,7 @@ import {
|
|
|
77
77
|
safeRedirect,
|
|
78
78
|
suggestAccessibleOn,
|
|
79
79
|
wcagLevel
|
|
80
|
-
} from "./chunk-
|
|
81
|
-
import "./chunk-FRVO75DK.js";
|
|
82
|
-
import {
|
|
83
|
-
formatTimestamp
|
|
84
|
-
} from "./chunk-MM7KZS5C.js";
|
|
80
|
+
} from "./chunk-PNSCDBU7.js";
|
|
85
81
|
import {
|
|
86
82
|
curatedIcons,
|
|
87
83
|
getIcon
|
|
@@ -89,14 +85,18 @@ import {
|
|
|
89
85
|
import {
|
|
90
86
|
createEvent,
|
|
91
87
|
darkModeEvent,
|
|
92
|
-
editModeEvent
|
|
93
|
-
|
|
94
|
-
} from "./chunk-4RNF2DRG.js";
|
|
88
|
+
editModeEvent
|
|
89
|
+
} from "./chunk-XDEPXTBY.js";
|
|
95
90
|
import {
|
|
96
91
|
generateNavLinks,
|
|
92
|
+
resolveReference,
|
|
97
93
|
toSectionId
|
|
98
|
-
} from "./chunk-
|
|
99
|
-
import "./chunk-
|
|
94
|
+
} from "./chunk-VUYCRBJK.js";
|
|
95
|
+
import "./chunk-L45X7DKX.js";
|
|
96
|
+
import "./chunk-FRVO75DK.js";
|
|
97
|
+
import {
|
|
98
|
+
formatTimestamp
|
|
99
|
+
} from "./chunk-MM7KZS5C.js";
|
|
100
100
|
import {
|
|
101
101
|
ensureSanitizer,
|
|
102
102
|
sanitizeHtml
|
|
@@ -104,6 +104,11 @@ import {
|
|
|
104
104
|
import {
|
|
105
105
|
cn
|
|
106
106
|
} from "./chunk-7EOSDFS3.js";
|
|
107
|
+
import {
|
|
108
|
+
reconcileTags,
|
|
109
|
+
siteTags,
|
|
110
|
+
tagDisplayLabel
|
|
111
|
+
} from "./chunk-OAGJBCSH.js";
|
|
107
112
|
import {
|
|
108
113
|
audiencePasses,
|
|
109
114
|
groupDisplayLabel,
|
|
@@ -111,27 +116,32 @@ import {
|
|
|
111
116
|
navEntries,
|
|
112
117
|
pagesInNavOrder,
|
|
113
118
|
reconcileNav
|
|
114
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-IP2SEBAJ.js";
|
|
120
|
+
import {
|
|
121
|
+
REFERENCE_TYPE
|
|
122
|
+
} from "./chunk-5GFACGSN.js";
|
|
115
123
|
import {
|
|
116
124
|
isSameOriginRequest,
|
|
117
125
|
requireSessionSecret,
|
|
118
126
|
safeNextPath
|
|
119
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-7SX42OP4.js";
|
|
120
128
|
import {
|
|
121
129
|
env
|
|
122
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-BQ5TZZUE.js";
|
|
123
131
|
import {
|
|
124
132
|
MediaGridOptionsSchema
|
|
125
|
-
} from "./chunk-
|
|
126
|
-
import {
|
|
127
|
-
NavEntrySchema,
|
|
128
|
-
NavFileSchema
|
|
129
|
-
} from "./chunk-REDDTTGJ.js";
|
|
133
|
+
} from "./chunk-3JDTXOIG.js";
|
|
130
134
|
import {
|
|
131
135
|
getSectionContentSchema,
|
|
132
136
|
getSectionSchema,
|
|
133
137
|
getSectionSchemaForType
|
|
134
138
|
} from "./chunk-DMCGN5AS.js";
|
|
139
|
+
import {
|
|
140
|
+
NavEntrySchema,
|
|
141
|
+
NavFileSchema,
|
|
142
|
+
TagEntrySchema,
|
|
143
|
+
TagsFileSchema
|
|
144
|
+
} from "./chunk-4Y2JQQZL.js";
|
|
135
145
|
import {
|
|
136
146
|
ChatbotConfigSchema,
|
|
137
147
|
ChatbotTaskSchema,
|
|
@@ -150,7 +160,7 @@ import {
|
|
|
150
160
|
StatusSchema,
|
|
151
161
|
VariantSchema,
|
|
152
162
|
normalizeSiteIndex
|
|
153
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-PTY2RG2K.js";
|
|
154
164
|
import "./chunk-4TZJZU2T.js";
|
|
155
165
|
import {
|
|
156
166
|
clearRegistry,
|
|
@@ -179,14 +189,15 @@ import {
|
|
|
179
189
|
ViewerUsernameSchema,
|
|
180
190
|
normalizeUsername,
|
|
181
191
|
slugifyAudienceName
|
|
182
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-S37DZPHW.js";
|
|
183
193
|
import {
|
|
184
194
|
FontNameSchema,
|
|
185
195
|
HexColorSchema,
|
|
196
|
+
ImageBackgroundSchema,
|
|
186
197
|
MediaReferenceSchema,
|
|
187
198
|
SingleMediaReferenceSchema,
|
|
188
199
|
TextLineSchema
|
|
189
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-AASEGXNT.js";
|
|
190
201
|
import "./chunk-NSCT3AMV.js";
|
|
191
202
|
import {
|
|
192
203
|
DEFAULT_LINK,
|
|
@@ -236,6 +247,7 @@ export {
|
|
|
236
247
|
IDEMPOTENCY_KEY_RE,
|
|
237
248
|
IDEMPOTENCY_TRAILER,
|
|
238
249
|
IdempotencyLookupUnavailableError,
|
|
250
|
+
ImageBackgroundSchema,
|
|
239
251
|
ImageManifestSchema,
|
|
240
252
|
IndexSchema,
|
|
241
253
|
IndexUpdateMessageSchema,
|
|
@@ -256,6 +268,7 @@ export {
|
|
|
256
268
|
PageSchema,
|
|
257
269
|
PageStatusSchema,
|
|
258
270
|
ProcessingQueue,
|
|
271
|
+
REFERENCE_TYPE,
|
|
259
272
|
RESERVED_SLUGS,
|
|
260
273
|
RoleSchema,
|
|
261
274
|
SESSION_COOKIE,
|
|
@@ -271,6 +284,8 @@ export {
|
|
|
271
284
|
SiteUserSchema,
|
|
272
285
|
StatusSchema,
|
|
273
286
|
StorageConflictError,
|
|
287
|
+
TagEntrySchema,
|
|
288
|
+
TagsFileSchema,
|
|
274
289
|
TakeoverMessageSchema,
|
|
275
290
|
TextLineSchema,
|
|
276
291
|
VIEWER_PASSWORD_MIN_LENGTH,
|
|
@@ -317,17 +332,16 @@ export {
|
|
|
317
332
|
getSectionContentSchema,
|
|
318
333
|
getSectionSchema,
|
|
319
334
|
getSectionSchemaForType,
|
|
320
|
-
gridColsClass,
|
|
321
335
|
groupDisplayLabel,
|
|
322
336
|
groupOfPage,
|
|
323
337
|
hashFileBuffer,
|
|
338
|
+
imageThumbnailUrl,
|
|
324
339
|
isSafeHref,
|
|
325
340
|
isSameOriginRequest,
|
|
326
|
-
loadSiteContent,
|
|
327
341
|
loadStaticSiteContent,
|
|
342
|
+
mediaThumbnailUrl,
|
|
328
343
|
mergeSiteContent,
|
|
329
344
|
mimeToExt,
|
|
330
|
-
navChangeEvent,
|
|
331
345
|
navEntries,
|
|
332
346
|
normalizeSiteIndex,
|
|
333
347
|
normalizeUsername,
|
|
@@ -336,6 +350,7 @@ export {
|
|
|
336
350
|
primaryVarValue,
|
|
337
351
|
rebindImageRef,
|
|
338
352
|
reconcileNav,
|
|
353
|
+
reconcileTags,
|
|
339
354
|
registerSchema,
|
|
340
355
|
registerSection,
|
|
341
356
|
relativeLuminance,
|
|
@@ -344,6 +359,7 @@ export {
|
|
|
344
359
|
resolveLogo,
|
|
345
360
|
resolveManifestReferences,
|
|
346
361
|
resolveMedia,
|
|
362
|
+
resolveReference,
|
|
347
363
|
resolveThinkingPhrases,
|
|
348
364
|
safeNextPath,
|
|
349
365
|
safeRedirect,
|
|
@@ -354,8 +370,10 @@ export {
|
|
|
354
370
|
setSessionCookie,
|
|
355
371
|
signAudienceToken,
|
|
356
372
|
signSessionToken,
|
|
373
|
+
siteTags,
|
|
357
374
|
slugifyAudienceName,
|
|
358
375
|
suggestAccessibleOn,
|
|
376
|
+
tagDisplayLabel,
|
|
359
377
|
toSectionId,
|
|
360
378
|
verifyAudienceClaims,
|
|
361
379
|
verifyAudienceToken,
|
package/dist/lib/block-dnd.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export interface BlockDragData {
|
|
|
9
9
|
index: number;
|
|
10
10
|
/** True if the dragged block is itself a container (used for the depth guard). */
|
|
11
11
|
isContainer: boolean;
|
|
12
|
+
/** True if the dragged block is a Reference, which only expands at the page root. */
|
|
13
|
+
isReference?: boolean;
|
|
12
14
|
[key: string | symbol]: unknown;
|
|
13
15
|
}
|
|
14
16
|
export interface BlockDropData {
|
|
@@ -23,6 +25,7 @@ export declare function buildBlockDragData(args: {
|
|
|
23
25
|
containerId: string;
|
|
24
26
|
index: number;
|
|
25
27
|
isContainer: boolean;
|
|
28
|
+
isReference?: boolean;
|
|
26
29
|
}): BlockDragData;
|
|
27
30
|
export declare function buildBlockDropData(args: {
|
|
28
31
|
dropContainerId: string;
|
|
@@ -34,6 +37,8 @@ export declare function isBlockDragData(data: Record<string | symbol, unknown>):
|
|
|
34
37
|
* May `source` drop into `dropContainerId`?
|
|
35
38
|
* - A container block may only land at the page root (v1 one-level nesting → no
|
|
36
39
|
* container-in-container; MAX_BLOCK_DEPTH=2).
|
|
40
|
+
* - So may a Reference: it is expanded into its sources only at the page root,
|
|
41
|
+
* so inside a container it would render nothing.
|
|
37
42
|
* - Nothing may drop onto itself.
|
|
38
43
|
*/
|
|
39
44
|
export declare function canDropBlock(source: BlockDragData, dropContainerId: string): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block-dnd.d.ts","sourceRoot":"","sources":["../../src/lib/block-dnd.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uDAAuD,CAAC;AAElF,sEAAsE;AACtE,eAAO,MAAM,iBAAiB,aAAa,CAAC;AAE5C,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,2FAA2F;IAC3F,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,kFAAkF;IAClF,WAAW,EAAE,OAAO,CAAC;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;CACjC;AAED,MAAM,WAAW,aAAa;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,+FAA+F;IAC/F,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;CACjC;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,OAAO,CAA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;;;GAOG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,GAAG,OAAO,CAIpF;AAED,0EAA0E;AAC1E,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,MAAM,CAG/E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block-move.d.ts","sourceRoot":"","sources":["../../src/lib/block-move.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,OAAO,KAAK,EAAE,SAAS,EAAe,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"block-move.d.ts","sourceRoot":"","sources":["../../src/lib/block-move.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,OAAO,KAAK,EAAE,SAAS,EAAe,MAAM,wBAAwB,CAAC;AAerE,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,wJAAwJ;IACxJ,OAAO,EAAE,MAAM,CAAC;IAChB,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,KAAK,EAAE,SAAS,CAAC;IACjB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;CAClB;AAmCD,wBAAgB,cAAc,CAC5B,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,SAAS,EACf,KAAK,GAAE,MAAM,MAAqB,GACjC,eAAe,CA4FjB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Section } from "../schemas/sections";
|
|
2
|
+
export interface BrandSwatch {
|
|
3
|
+
hex: string;
|
|
4
|
+
name: string | undefined;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Every hex value from every Colors section, walking container children, in
|
|
8
|
+
* page order and deduped case-insensitively. Swatches are offered as plain hex
|
|
9
|
+
* values: color items carry no stable id, so a picked swatch is copied, not linked.
|
|
10
|
+
*/
|
|
11
|
+
export declare function collectBrandSwatches(sections: Section[]): BrandSwatch[];
|
|
12
|
+
//# sourceMappingURL=brand-swatches.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brand-swatches.d.ts","sourceRoot":"","sources":["../../src/lib/brand-swatches.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAGnD,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B;AAID;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,WAAW,EAAE,CAgBvE"}
|
|
@@ -5,8 +5,9 @@ export declare function getContainerChildren(block: Section): Section[];
|
|
|
5
5
|
export declare function reorderChild(container: Section, from: number, to: number): Section;
|
|
6
6
|
/**
|
|
7
7
|
* Block types insertable as a container CHILD — excludes `container` itself
|
|
8
|
-
* (v1 enforces one level of container nesting)
|
|
9
|
-
*
|
|
8
|
+
* (v1 enforces one level of container nesting) and `reference`, which only
|
|
9
|
+
* expands at the top level of a page. Shared so the depth guard has a single,
|
|
10
|
+
* testable source of truth (the container toolbar's "+" picker uses it).
|
|
10
11
|
*/
|
|
11
12
|
export declare function childInsertableTypes(): {
|
|
12
13
|
type: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container-ops.d.ts","sourceRoot":"","sources":["../../src/lib/container-ops.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"container-ops.d.ts","sourceRoot":"","sources":["../../src/lib/container-ops.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAanD,qEAAqE;AACrE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,EAAE,CAG9D;AAWD,wBAAgB,YAAY,CAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAOlF;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,IAAI;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,SAAS,CAAA;CAAE,EAAE,CAMzF;AAED,wBAAgB,aAAa,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAMxF;AAED,wBAAgB,aAAa,CAC3B,SAAS,EAAE,OAAO,EAClB,KAAK,EAAE,MAAM,GACZ;IAAE,SAAS,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAA;CAAE,CAMjD;AAED,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,OAAO,EAClB,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,MAAM,GAClB,OAAO,CAOT;AAED,0FAA0F;AAC1F,wBAAgB,eAAe,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAaxF;AAOD,8CAA8C;AAC9C,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAEhD;AAED,uCAAuC;AACvC,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,MAAM,GAAG,OAAO,CAEvD;AAED,iGAAiG;AACjG,wBAAgB,eAAe,CAAC,QAAQ,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAE5E;AAED,8FAA8F;AAC9F,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,OAAO,GAAG,OAAO,CAM/D;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,OAAO,EAClB,KAAK,EAAE,OAAO,EACd,CAAC,EAAE,MAAM,EACT,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,MAAM,MAAM,GAClB,OAAO,CAiBT"}
|
package/dist/lib/dexie.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dexie.d.ts","sourceRoot":"","sources":["../../src/lib/dexie.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dexie.d.ts","sourceRoot":"","sources":["../../src/lib/dexie.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAe,UAAU,EAAQ,MAAM,wBAAwB,CAAC;AAGvF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAA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