@riverbankcms/sdk 0.104.3 → 0.108.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +84 -51
- package/dist/{PreviewEditorSidebar-CBMhU9p_.mjs → PreviewEditorSidebar-BBT-kZAM.mjs} +1850 -1183
- package/dist/{PreviewEditorUI-C5KEw4M8.mjs → PreviewEditorUI-D69xNKT2.mjs} +10 -9
- package/dist/{PreviewQueryProvider-CStABBUh.mjs → PreviewQueryProvider-RRu7wyQ5.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-Iq12HjL7.mjs → SdkPreviewModeRuntime-CuDjXH6o.mjs} +2562 -457
- package/dist/{SiteChromeCustomizeContext-Cx0NMdyv.mjs → SiteChromeCustomizeContext-BQUY2dEk.mjs} +7689 -3196
- package/dist/_dts/ai/src/contracts/proposals.d.ts +36493 -1395
- package/dist/_dts/api/src/blocks.d.ts +41 -7
- package/dist/_dts/api/src/bookingConfig.d.ts +2 -0
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/bookingRecords.d.ts +180 -115
- package/dist/_dts/api/src/cache-tags.d.ts +3 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +25 -16
- package/dist/_dts/api/src/courses.d.ts +68 -10
- package/dist/_dts/api/src/endpoints.d.ts +128 -0
- package/dist/_dts/api/src/footer-settings.d.ts +1 -0
- package/dist/_dts/api/src/footerSettings.d.ts +8 -0
- package/dist/_dts/api/src/index.d.ts +127 -124
- package/dist/_dts/api/src/navigation/contracts.d.ts +3 -3
- package/dist/_dts/api/src/previewContentContract.d.ts +4 -0
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +9 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +178 -6
- package/dist/_dts/api/src/siteBanner.d.ts +2 -2
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +143 -55
- package/dist/_dts/api/src/siteOperations.d.ts +1 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +32 -4
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +72 -47
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +36 -4
- package/dist/_dts/blocks/src/definitions.d.ts +1 -1
- package/dist/_dts/blocks/src/portal/types.d.ts +25 -7
- package/dist/_dts/blocks/src/primitives/layout/Section.d.ts +0 -1
- package/dist/_dts/blocks/src/rendering/server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +4 -0
- package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule-projection.d.ts +52 -0
- package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule.d.ts +22 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +45 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +10 -0
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +4 -1
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +9 -0
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +8 -2
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +8 -8
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +24 -24
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/scheduleSummary.d.ts +29 -0
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +50 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +9 -48
- package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +2 -5
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/designCapabilities.d.ts +1 -0
- package/dist/_dts/blocks/src/system/fragments/library/newsletterForm.d.ts +2 -2
- package/dist/_dts/blocks/src/system/icons/registry.d.ts +2 -1
- package/dist/_dts/blocks/src/system/icons/social.d.ts +5 -0
- package/dist/_dts/blocks/src/system/icons/svg.d.ts +1 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +2 -2
- package/dist/_dts/blocks/src/system/node/fragments/backgroundLayer.d.ts +13 -0
- package/dist/_dts/blocks/src/system/node/fragments/footerNav.d.ts +2 -0
- package/dist/_dts/blocks/src/system/node/fragments/styledCard.d.ts +3 -0
- package/dist/_dts/blocks/src/system/node/fragments/styledContainer.d.ts +4 -4
- package/dist/_dts/blocks/src/system/node/fragments/styledSection.d.ts +3 -12
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/blockComposition.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +90 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +45 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/logic.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/view.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-page-surface-scope.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +9 -18
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +106 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/RecurringSchedule.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekBoardView.d.ts +7 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +11 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +11 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/svg.d.ts +7 -0
- package/dist/_dts/blocks/src/system/types/link.d.ts +3 -3
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +14 -0
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +27 -8
- package/dist/_dts/content-editor/src/footerComposer.d.ts +56 -0
- package/dist/_dts/content-editor/src/hooks/useEntryActions.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/useEntryMutations.d.ts +5 -5
- package/dist/_dts/content-editor/src/index.d.ts +2 -0
- package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +3 -1
- package/dist/_dts/content-editor/src/services/contentEntryServices.d.ts +20 -36
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +5 -1
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +11 -0
- package/dist/_dts/content-model/src/content-types/schema.d.ts +1 -1
- package/dist/_dts/content-model/src/definitions/shared.d.ts +3 -0
- package/dist/_dts/core/src/branded.d.ts +47 -0
- package/dist/_dts/core/src/dated-offering-settlement.d.ts +47 -0
- package/dist/_dts/core/src/editor-state.d.ts +4 -0
- package/dist/_dts/core/src/event-page-surface-subject.d.ts +44 -0
- package/dist/_dts/core/src/footer-composition.d.ts +143 -0
- package/dist/_dts/core/src/index.d.ts +51 -47
- package/dist/_dts/core/src/public-profile.d.ts +73 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +4398 -2859
- package/dist/_dts/db/src/schemas/forms.d.ts +10 -10
- package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +5 -0
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +4 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockReorder.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/block-editor/owner.d.ts +10 -0
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -0
- package/dist/_dts/media-core/src/index.d.ts +2 -1
- package/dist/_dts/media-core/src/storagePathDomain.d.ts +47 -0
- package/dist/_dts/media-core/src/url.d.ts +1 -21
- package/dist/_dts/path-utils/src/index.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +4 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +4 -9
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +8 -11
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +4 -9
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +2 -6
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +5 -9
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +81 -43
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.typography.d.ts +61 -0
- package/dist/_dts/preview-next/src/client/preview/previewErrorMessages.d.ts +4 -0
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +7 -17
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +15 -8
- package/dist/_dts/preview-next/src/client/preview/typographyFontCatalog.d.ts +57 -0
- package/dist/_dts/sdk/src/cli/commands/pull.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +4 -7
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +24 -10
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +3 -3
- package/dist/_dts/sdk/src/cli/sync/media.d.ts +16 -2
- package/dist/_dts/sdk/src/client/management/blocks.d.ts +14 -1
- package/dist/_dts/sdk/src/client/management/index.d.ts +2 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +147 -24
- package/dist/_dts/sdk/src/client/types.d.ts +2 -0
- package/dist/_dts/sdk/src/config/content-types.d.ts +2 -0
- package/dist/_dts/sdk/src/config/content-validation.d.ts +4 -0
- package/dist/_dts/sdk/src/config/types.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -0
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +23 -3
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +17 -0
- package/dist/_dts/sdk/src/data/dataLoaderValue.d.ts +36 -0
- package/dist/_dts/sdk/src/data/defineOwnDataProperty.d.ts +2 -0
- package/dist/_dts/sdk/src/data/executeCodeLoaders.d.ts +36 -40
- package/dist/_dts/sdk/src/data/index.d.ts +3 -3
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +54 -0
- package/dist/_dts/sdk/src/data/types.d.ts +43 -78
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -0
- package/dist/_dts/sdk/src/next/index.d.ts +1 -0
- package/dist/_dts/sdk/src/next/redirect-destination.d.ts +1 -1
- package/dist/_dts/sdk/src/next/resolveTheme.d.ts +2 -1
- package/dist/_dts/sdk/src/next/types.d.ts +10 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +6 -10
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +2 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +10 -5
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +6 -10
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -0
- package/dist/_dts/sdk/src/server.d.ts +4 -3
- package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/capabilityGaps.d.ts +2 -2
- package/dist/_dts/site-commands/src/commands.d.ts +934 -40
- package/dist/_dts/theme-core/src/accordions/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/generateDefaultButtonSystem.d.ts +5 -1
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +22 -0
- package/dist/_dts/theme-core/src/buttons/personalities/quiet-arrow.d.ts +17 -0
- package/dist/_dts/theme-core/src/buttons/personalities/two-tone-pill.d.ts +17 -0
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/buttons/types.d.ts +12 -8
- package/dist/_dts/theme-core/src/cards/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/data.d.ts +12 -0
- package/dist/_dts/theme-core/src/fonts/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/fonts/types.d.ts +6 -0
- package/dist/_dts/theme-core/src/footer/mode.d.ts +15 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +72 -54
- package/dist/_dts/theme-core/src/navigation/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/colors.d.ts +12 -0
- package/dist/_dts/theme-core/src/palette/curated/brand-led.d.ts +10 -5
- package/dist/_dts/theme-core/src/palette/curated/high-contrast.d.ts +6 -3
- package/dist/_dts/theme-core/src/palette/curated/index.d.ts +31 -236
- package/dist/_dts/theme-core/src/palette/curated/soft-natural.d.ts +8 -4
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +14 -12
- package/dist/_dts/theme-core/src/palette/curated/warm-dark.d.ts +4 -2
- package/dist/_dts/theme-core/src/palette/curated/warm-neutral.d.ts +8 -4
- package/dist/_dts/theme-core/src/palette/editorState.d.ts +33 -3
- package/dist/_dts/theme-core/src/palette/index.d.ts +0 -4
- package/dist/_dts/theme-core/src/palette/libraryModel.d.ts +12 -6
- package/dist/_dts/theme-core/src/palette/persistenceReadSource.d.ts +20 -72
- package/dist/_dts/theme-core/src/palette/resolveSelection.d.ts +29 -4
- package/dist/_dts/theme-core/src/palette/selection.d.ts +6 -4
- package/dist/_dts/theme-core/src/schema.d.ts +1307 -38
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +218 -158
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +5 -6
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +218 -158
- package/dist/_dts/theme-core/src/site-styles/compositionBudget.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +2 -1
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +161 -51
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +6 -0
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +12 -1
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +24 -1
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +14 -48
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +10 -23
- package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +15 -0
- package/dist/_dts/theme-core/src/site-styles/siteStyleThemeCompiler.d.ts +1 -2
- package/dist/_dts/theme-core/src/site-styles/siteStyleTypography.d.ts +456 -0
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +52 -3
- package/dist/cli/index.mjs +4118 -2278
- package/dist/client/{DiscountCodeDisclosure-BXM73_E5.mjs → DiscountCodeDisclosure-D6TOf6Hi.mjs} +1 -1
- package/dist/client/{EventCombined.client-DT5elP7j.mjs → EventCombined.client-Dao3zxRk.mjs} +3 -3
- package/dist/client/{EventListing.client-pTYGfV9C.mjs → EventListing.client-B2NNt4y1.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-dQrhlUe3.mjs → LeafletStaticMap-BhwFo16w.mjs} +1 -1
- package/dist/client/{MagicLinkForm-u6Dul4j5.mjs → MagicLinkForm-BWnB7cMR.mjs} +2 -2
- package/dist/client/{StepIndicator-nWqineJ2.mjs → StepIndicator-TzRiQ0BY.mjs} +2 -2
- package/dist/client/{accordion-CSJcTUyH.mjs → accordion-BPy-AJ4_.mjs} +1 -1
- package/dist/client/{bookingForm-C73wOuVa.mjs → bookingForm-BL4PGZds.mjs} +7 -7
- package/dist/client/bookings.mjs +382 -204
- package/dist/client/{buttons-DfYyqt8C.mjs → buttons-EBjyslaX.mjs} +265 -152
- package/dist/client/{carousel-fMBb0JSc.mjs → carousel-C2b7Cn9-.mjs} +1 -1
- package/dist/client/{cart-BtaCwT3S.mjs → cart-BQcbXIVD.mjs} +3 -3
- package/dist/client/{checkout-DkTwZSnh.mjs → checkout-DEmpGRJu.mjs} +3 -3
- package/dist/client/client.mjs +5019 -1886
- package/dist/client/{colorStyles-Wyl6JujD.mjs → colorStyles-jZS6KfkP.mjs} +1 -1
- package/dist/client/{colorTokenParts-dT8MISgJ.mjs → colorTokenParts-CMugwvX_.mjs} +3 -1
- package/dist/client/{courseRegistration-DnLmapJu.mjs → courseRegistration-BqRZPmsq.mjs} +56 -21
- package/dist/client/{eventCalendar-BvLOc9KY.mjs → eventCalendar-B8N_tSl5.mjs} +29 -21
- package/dist/client/{eventCombined-kShgJPQr.mjs → eventCombined-Gjn6gtq7.mjs} +2 -2
- package/dist/client/{eventDetails-C5NTM0Vo.mjs → eventDetails-M-VCxA-r.mjs} +4 -4
- package/dist/client/{eventListing-B82ZdKP6.mjs → eventListing-DR19hqYi.mjs} +2 -2
- package/dist/client/{eventRegistration-qJVFqBWo.mjs → eventRegistration-BR02a0k3.mjs} +8 -8
- package/dist/client/{form-BvAcKiuu.mjs → form-LY2xIbwg.mjs} +2 -2
- package/dist/client/{headerSection-NvAiEHAg.mjs → headerSection-CYwwXJfh.mjs} +3 -3
- package/dist/client/hooks.mjs +3335 -2210
- package/dist/client/{locationMap-D0j52xfI.mjs → locationMap-DWnBXrFq.mjs} +3 -3
- package/dist/client/{media-BCW_g2cQ.mjs → media-DHtSxS5V.mjs} +61 -56
- package/dist/client/{newsletterForm-B8_i93qH.mjs → newsletterForm-D9s-fQ2P.mjs} +3 -3
- package/dist/client/{pricing-DIYnyHOk.mjs → pricing-DDq80oYc.mjs} +1 -1
- package/dist/client/{productDetail-w0eAHkuQ.mjs → productDetail-B0SbWd45.mjs} +3 -3
- package/dist/client/{productList-Vsguq5Xt.mjs → productList-PwYlZn0y.mjs} +3 -3
- package/dist/client/{propsDecoder-CD2pJ1WB.mjs → propsDecoder-BRWBiH7i.mjs} +225 -68
- package/dist/client/rendering/client.mjs +2266 -1267
- package/dist/client/rendering/islands.mjs +20 -20
- package/dist/client/rendering.mjs +5364 -1979
- package/dist/client/{shop-Dgxs-Q8F.mjs → shop-CMwZPYME.mjs} +8 -8
- package/dist/client/{shop-commerce-DJAhsTaT.mjs → shop-commerce-BuxsFate.mjs} +6 -6
- package/dist/client/{shop-commerce-store-CfCXltXW.mjs → shop-commerce-store-boYlEJ91.mjs} +1 -1
- package/dist/client/{shopShared-CmDcPXUt.mjs → shopShared-D2naaOes.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-CirrT2bM.mjs → useDiscountCodeUi-D9RHpVoj.mjs} +1 -1
- package/dist/client/{useEventFilters-CNZxlCcO.mjs → useEventFilters-igGiK1re.mjs} +6 -6
- package/dist/client/{usePolling-Baks_iBI.mjs → usePolling-CI7MbsFB.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +218 -1
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +218 -1
- package/dist/{previewAuthStore-CfquDtTh.mjs → previewAuthStore-a_cBD28m.mjs} +218 -1
- package/dist/{sdk-runtime-BfNiFeNJ.mjs → sdk-runtime-MBzD-GmP.mjs} +2 -2
- package/dist/{separator-BhAR_Xmf.mjs → separator-5ahRBC85.mjs} +1 -1
- package/dist/server/components.mjs +5218 -2529
- package/dist/server/config-validation.mjs +3112 -2210
- package/dist/server/config.mjs +3112 -2211
- package/dist/server/data.mjs +3758 -2277
- package/dist/server/index.mjs +224 -4
- package/dist/server/navigation.mjs +9 -3
- package/dist/server/next/middleware.mjs +1 -1
- package/dist/server/next.mjs +6468 -2749
- package/dist/server/page-converter.mjs +3524 -2635
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +5392 -2488
- package/dist/server/rendering.mjs +6241 -2851
- package/dist/server/routing.mjs +3414 -1826
- package/dist/server/server.mjs +4174 -2354
- package/dist/server/theme-bridge.mjs +9579 -8132
- package/dist/server/theme.mjs +313 -154
- package/dist/styles/index.css +1223 -31
- package/package.json +1 -1
- package/dist/_dts/preview-next/src/client/preview/typographySelectionInput.d.ts +0 -16
- package/dist/_dts/theme-core/src/palette/historicalThemePalette.d.ts +0 -44
- package/dist/_dts/theme-core/src/palette/legacyRuntimeProjection.d.ts +0 -55
- package/dist/_dts/theme-core/src/palette/legacySelection.d.ts +0 -45
- package/dist/_dts/theme-core/src/palette/paletteCompatibilityTransition.d.ts +0 -232
- package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +0 -234
|
@@ -87,8 +87,8 @@ export declare const accordionSystemSchema: z.ZodObject<{
|
|
|
87
87
|
semibold: "semibold";
|
|
88
88
|
}>>;
|
|
89
89
|
fontFamily: z.ZodOptional<z.ZodEnum<{
|
|
90
|
-
body: "body";
|
|
91
90
|
heading: "heading";
|
|
91
|
+
body: "body";
|
|
92
92
|
}>>;
|
|
93
93
|
fontScale: z.ZodOptional<z.ZodEnum<{
|
|
94
94
|
body: "body";
|
|
@@ -115,9 +115,9 @@ export declare const accordionSystemSchema: z.ZodObject<{
|
|
|
115
115
|
triggerColorToken: z.ZodOptional<z.ZodString>;
|
|
116
116
|
accent: z.ZodOptional<z.ZodObject<{
|
|
117
117
|
edge: z.ZodEnum<{
|
|
118
|
+
bottom: "bottom";
|
|
118
119
|
left: "left";
|
|
119
120
|
top: "top";
|
|
120
|
-
bottom: "bottom";
|
|
121
121
|
}>;
|
|
122
122
|
colorToken: z.ZodString;
|
|
123
123
|
thickness: z.ZodEnum<{
|
|
@@ -14,9 +14,13 @@ import type { ButtonSystem } from './types';
|
|
|
14
14
|
*
|
|
15
15
|
* Variants use theme settings for:
|
|
16
16
|
* - Border radius (via global.cornerStyle / theme.corners)
|
|
17
|
-
* - Shadow (via global.shadow / theme.shadow.elevation)
|
|
18
17
|
* - Border width for outline (from theme.border.width)
|
|
19
18
|
*
|
|
19
|
+
* Buttons are flat by default: the generated system declares no `global.shadow`,
|
|
20
|
+
* so the theme's general shadow ramp (used for cards/surfaces) no longer nudges
|
|
21
|
+
* every site's buttons into a drop shadow. A shadow appears only when a button
|
|
22
|
+
* personality explicitly asks for one.
|
|
23
|
+
*
|
|
20
24
|
* @param theme - Theme configuration
|
|
21
25
|
* @returns ButtonSystem with 4 default sized variants
|
|
22
26
|
*/
|
|
@@ -20,6 +20,17 @@ export declare const buttonPersonalities: readonly [Readonly<{
|
|
|
20
20
|
era: import("../../../../blocks/src/index").StyleEra;
|
|
21
21
|
}>>>;
|
|
22
22
|
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
23
|
+
}>, Readonly<{
|
|
24
|
+
id: ButtonPersonalityId<"two-tone-pill">;
|
|
25
|
+
name: string;
|
|
26
|
+
description: string;
|
|
27
|
+
tags: Readonly<Partial<Readonly<{
|
|
28
|
+
tone: import("../../../../blocks/src/index").StyleTone;
|
|
29
|
+
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
30
|
+
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
31
|
+
era: import("../../../../blocks/src/index").StyleEra;
|
|
32
|
+
}>>>;
|
|
33
|
+
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
23
34
|
}>, Readonly<{
|
|
24
35
|
id: ButtonPersonalityId<"earth-pill">;
|
|
25
36
|
name: string;
|
|
@@ -130,6 +141,17 @@ export declare const buttonPersonalities: readonly [Readonly<{
|
|
|
130
141
|
era: import("../../../../blocks/src/index").StyleEra;
|
|
131
142
|
}>>>;
|
|
132
143
|
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
144
|
+
}>, Readonly<{
|
|
145
|
+
id: ButtonPersonalityId<"quiet-arrow">;
|
|
146
|
+
name: string;
|
|
147
|
+
description: string;
|
|
148
|
+
tags: Readonly<Partial<Readonly<{
|
|
149
|
+
tone: import("../../../../blocks/src/index").StyleTone;
|
|
150
|
+
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
151
|
+
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
152
|
+
era: import("../../../../blocks/src/index").StyleEra;
|
|
153
|
+
}>>>;
|
|
154
|
+
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
133
155
|
}>];
|
|
134
156
|
type UnbrandedButtonPersonalityId<TValue> = TValue extends infer TRaw & {
|
|
135
157
|
readonly __brand: 'ButtonPersonalityId';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Quiet Arrow — wide, flat editorial buttons for grounded service businesses.
|
|
3
|
+
* Primary and secondary keep stable semantic colours; surrounding surfaces are
|
|
4
|
+
* responsible for contrast rather than reversing the button roles.
|
|
5
|
+
*/
|
|
6
|
+
export declare const quietArrow: Readonly<{
|
|
7
|
+
id: import("./types").ButtonPersonalityId<"quiet-arrow">;
|
|
8
|
+
name: string;
|
|
9
|
+
description: string;
|
|
10
|
+
tags: Readonly<Partial<Readonly<{
|
|
11
|
+
tone: import("../../../../blocks/src/index").StyleTone;
|
|
12
|
+
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
13
|
+
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
14
|
+
era: import("../../../../blocks/src/index").StyleEra;
|
|
15
|
+
}>>>;
|
|
16
|
+
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Two-tone Pill keeps Soft Pill's shape, spacing, typography, and motion while
|
|
3
|
+
* giving secondary actions their own solid palette role. The derived
|
|
4
|
+
* `onSecondary` token keeps the label legible as the site's palette changes.
|
|
5
|
+
*/
|
|
6
|
+
export declare const twoTonePill: Readonly<{
|
|
7
|
+
id: import("./types").ButtonPersonalityId<"two-tone-pill">;
|
|
8
|
+
name: string;
|
|
9
|
+
description: string;
|
|
10
|
+
tags: Readonly<Partial<Readonly<{
|
|
11
|
+
tone: import("../../../../blocks/src/index").StyleTone;
|
|
12
|
+
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
13
|
+
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
14
|
+
era: import("../../../../blocks/src/index").StyleEra;
|
|
15
|
+
}>>>;
|
|
16
|
+
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
17
|
+
}>;
|
|
@@ -59,12 +59,12 @@ export declare const buttonPersonalitySchema: z.ZodObject<{
|
|
|
59
59
|
pill: "pill";
|
|
60
60
|
}>;
|
|
61
61
|
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
62
|
-
shadow: z.ZodEnum<{
|
|
62
|
+
shadow: z.ZodOptional<z.ZodEnum<{
|
|
63
63
|
medium: "medium";
|
|
64
64
|
none: "none";
|
|
65
65
|
high: "high";
|
|
66
66
|
low: "low";
|
|
67
|
-
}
|
|
67
|
+
}>>;
|
|
68
68
|
textTransform: z.ZodEnum<{
|
|
69
69
|
none: "none";
|
|
70
70
|
lowercase: "lowercase";
|
|
@@ -74,8 +74,8 @@ export declare const buttonPersonalitySchema: z.ZodObject<{
|
|
|
74
74
|
fontWeight: z.ZodUnion<readonly [z.ZodLiteral<500>, z.ZodLiteral<600>, z.ZodLiteral<700>]>;
|
|
75
75
|
borderWidth: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
76
76
|
typography: z.ZodOptional<z.ZodEnum<{
|
|
77
|
-
body: "body";
|
|
78
77
|
heading: "heading";
|
|
78
|
+
body: "body";
|
|
79
79
|
}>>;
|
|
80
80
|
fontSize: z.ZodOptional<z.ZodString>;
|
|
81
81
|
letterSpacing: z.ZodOptional<z.ZodEnum<{
|
|
@@ -134,8 +134,8 @@ export declare const textTransformSchema: z.ZodEnum<{
|
|
|
134
134
|
}>;
|
|
135
135
|
export declare const fontWeightSchema: z.ZodUnion<readonly [z.ZodLiteral<500>, z.ZodLiteral<600>, z.ZodLiteral<700>]>;
|
|
136
136
|
export declare const buttonTypographySchema: z.ZodEnum<{
|
|
137
|
-
body: "body";
|
|
138
137
|
heading: "heading";
|
|
138
|
+
body: "body";
|
|
139
139
|
}>;
|
|
140
140
|
export declare const letterSpacingSchema: z.ZodEnum<{
|
|
141
141
|
tight: "tight";
|
|
@@ -256,12 +256,12 @@ export declare const buttonGlobalSettingsSchema: z.ZodObject<{
|
|
|
256
256
|
pill: "pill";
|
|
257
257
|
}>;
|
|
258
258
|
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
259
|
-
shadow: z.ZodEnum<{
|
|
259
|
+
shadow: z.ZodOptional<z.ZodEnum<{
|
|
260
260
|
medium: "medium";
|
|
261
261
|
none: "none";
|
|
262
262
|
high: "high";
|
|
263
263
|
low: "low";
|
|
264
|
-
}
|
|
264
|
+
}>>;
|
|
265
265
|
textTransform: z.ZodEnum<{
|
|
266
266
|
none: "none";
|
|
267
267
|
lowercase: "lowercase";
|
|
@@ -271,8 +271,8 @@ export declare const buttonGlobalSettingsSchema: z.ZodObject<{
|
|
|
271
271
|
fontWeight: z.ZodUnion<readonly [z.ZodLiteral<500>, z.ZodLiteral<600>, z.ZodLiteral<700>]>;
|
|
272
272
|
borderWidth: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
273
273
|
typography: z.ZodOptional<z.ZodEnum<{
|
|
274
|
-
body: "body";
|
|
275
274
|
heading: "heading";
|
|
275
|
+
body: "body";
|
|
276
276
|
}>>;
|
|
277
277
|
fontSize: z.ZodOptional<z.ZodString>;
|
|
278
278
|
letterSpacing: z.ZodOptional<z.ZodEnum<{
|
|
@@ -482,12 +482,12 @@ export declare const buttonSystemSchema: z.ZodObject<{
|
|
|
482
482
|
pill: "pill";
|
|
483
483
|
}>;
|
|
484
484
|
cornerRadius: z.ZodOptional<z.ZodNumber>;
|
|
485
|
-
shadow: z.ZodEnum<{
|
|
485
|
+
shadow: z.ZodOptional<z.ZodEnum<{
|
|
486
486
|
medium: "medium";
|
|
487
487
|
none: "none";
|
|
488
488
|
high: "high";
|
|
489
489
|
low: "low";
|
|
490
|
-
}
|
|
490
|
+
}>>;
|
|
491
491
|
textTransform: z.ZodEnum<{
|
|
492
492
|
none: "none";
|
|
493
493
|
lowercase: "lowercase";
|
|
@@ -497,8 +497,8 @@ export declare const buttonSystemSchema: z.ZodObject<{
|
|
|
497
497
|
fontWeight: z.ZodUnion<readonly [z.ZodLiteral<500>, z.ZodLiteral<600>, z.ZodLiteral<700>]>;
|
|
498
498
|
borderWidth: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
499
499
|
typography: z.ZodOptional<z.ZodEnum<{
|
|
500
|
-
body: "body";
|
|
501
500
|
heading: "heading";
|
|
501
|
+
body: "body";
|
|
502
502
|
}>>;
|
|
503
503
|
fontSize: z.ZodOptional<z.ZodString>;
|
|
504
504
|
letterSpacing: z.ZodOptional<z.ZodEnum<{
|
|
@@ -685,7 +685,11 @@ export type Priority = 1 | 2 | 3;
|
|
|
685
685
|
export interface ButtonGlobalSettings {
|
|
686
686
|
cornerStyle: CornerStyle;
|
|
687
687
|
cornerRadius?: number;
|
|
688
|
-
|
|
688
|
+
/**
|
|
689
|
+
* Family-level shadow inherited by variants without their own override.
|
|
690
|
+
* Optional and flat-by-default: omit for no shadow. See the schema JSDoc.
|
|
691
|
+
*/
|
|
692
|
+
shadow?: ShadowSize;
|
|
689
693
|
textTransform: TextTransform;
|
|
690
694
|
fontWeight: FontWeight;
|
|
691
695
|
/** @deprecated See JSDoc on `buttonGlobalSettingsSchema.borderWidth`. */
|
|
@@ -106,10 +106,10 @@ export type CardCornerValue = z.infer<typeof cardCornerValueSchema>;
|
|
|
106
106
|
*/
|
|
107
107
|
export declare const cardAccentEdgeSchema: z.ZodObject<{
|
|
108
108
|
edge: z.ZodEnum<{
|
|
109
|
+
bottom: "bottom";
|
|
109
110
|
left: "left";
|
|
110
111
|
right: "right";
|
|
111
112
|
top: "top";
|
|
112
|
-
bottom: "bottom";
|
|
113
113
|
}>;
|
|
114
114
|
colorToken: z.ZodString;
|
|
115
115
|
width: z.ZodEnum<{
|
|
@@ -244,10 +244,10 @@ export declare const cardVariantSchema: z.ZodObject<{
|
|
|
244
244
|
}, z.core.$strip>>;
|
|
245
245
|
accentEdge: z.ZodOptional<z.ZodObject<{
|
|
246
246
|
edge: z.ZodEnum<{
|
|
247
|
+
bottom: "bottom";
|
|
247
248
|
left: "left";
|
|
248
249
|
right: "right";
|
|
249
250
|
top: "top";
|
|
250
|
-
bottom: "bottom";
|
|
251
251
|
}>;
|
|
252
252
|
colorToken: z.ZodString;
|
|
253
253
|
width: z.ZodEnum<{
|
|
@@ -352,10 +352,10 @@ export declare const cardSystemSchema: z.ZodObject<{
|
|
|
352
352
|
}, z.core.$strip>>;
|
|
353
353
|
accentEdge: z.ZodOptional<z.ZodObject<{
|
|
354
354
|
edge: z.ZodEnum<{
|
|
355
|
+
bottom: "bottom";
|
|
355
356
|
left: "left";
|
|
356
357
|
right: "right";
|
|
357
358
|
top: "top";
|
|
358
|
-
bottom: "bottom";
|
|
359
359
|
}>;
|
|
360
360
|
colorToken: z.ZodString;
|
|
361
361
|
width: z.ZodEnum<{
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Theme data exports (no React components)
|
|
3
|
+
*
|
|
4
|
+
* This module exports only pure data and types - no React dependencies.
|
|
5
|
+
* Use this for server-side code or integration tests.
|
|
6
|
+
*/
|
|
7
|
+
export * from './schema';
|
|
8
|
+
export { mockThemes } from './mock-themes/all';
|
|
9
|
+
export { modernMinimalTheme } from './mock-themes/modern-minimal';
|
|
10
|
+
export { classicProfessionalTheme } from './mock-themes/classic-professional';
|
|
11
|
+
export { vibrantCreativeTheme } from './mock-themes/vibrant-creative';
|
|
12
|
+
export type { CornerStyle, ShadowSize, TextTransform, FontWeight, HoverTransform, HoverColor, GradientStyle, GradientSharpness, GradientDirection, ButtonVariant, ButtonSystem, } from './buttons/types';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { detectFontFormatFromBytes, detectFontSourceFormatFromFilename, FONT_TOO_LARGE_MESSAGE, FONT_UPLOAD_ACCEPT, getFontUploadValidationMessage, MAX_FONT_UPLOAD_BYTES, normalizeUserFontFilename, SUPPORTED_FONT_FORMAT_LABEL, UNSUPPORTED_FONT_MESSAGE, validateFontUploadFile, type FontByteFormatDecision, type FontFilenameFormatDecision, type FontUploadFileLike, type KnownFontSourceFormat, type SanitizedFontFilename, type SupportedFontExtension, type SupportedFontSourceFormat, } from './uploadFormat';
|
|
2
|
-
export { type SiteFont, type SiteFontFile, SITE_FONTS_BUCKET, getSiteFontsStorageUrl, generateFontFaceCss, generateFontFaceForFile, generateFontFaceForVariableFont, } from './types';
|
|
2
|
+
export { type SiteFont, type SiteFontFile, SITE_FONTS_BUCKET, buildFontPreviewUrl, getSiteFontsStorageUrl, generateFontFaceCss, generateFontFaceForFile, generateFontFaceForVariableFont, } from './types';
|
|
@@ -23,6 +23,12 @@ export declare const SITE_FONTS_BUCKET = "site-fonts";
|
|
|
23
23
|
* ```
|
|
24
24
|
*/
|
|
25
25
|
export declare function getSiteFontsStorageUrl(supabaseUrl: string): string;
|
|
26
|
+
/**
|
|
27
|
+
* Build a lightweight Google Fonts stylesheet URL for a family-name preview.
|
|
28
|
+
* The text subset keeps catalog rows cheap while still rendering the name in
|
|
29
|
+
* the typeface being chosen.
|
|
30
|
+
*/
|
|
31
|
+
export declare function buildFontPreviewUrl(family: string): string;
|
|
26
32
|
/**
|
|
27
33
|
* Individual font file within a font family
|
|
28
34
|
*/
|
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
import type { FooterMode } from '../schema';
|
|
2
|
+
export type FooterBrandVisibility = Readonly<{
|
|
3
|
+
showLogo: boolean;
|
|
4
|
+
showTitle: boolean;
|
|
5
|
+
}>;
|
|
6
|
+
type FooterBrandPresentation = Readonly<{
|
|
7
|
+
variant: 'simple' | 'columns' | 'split';
|
|
8
|
+
showLogoText?: boolean;
|
|
9
|
+
logo?: Readonly<{
|
|
10
|
+
showLogo?: boolean;
|
|
11
|
+
showLogoText?: boolean;
|
|
12
|
+
}>;
|
|
13
|
+
}>;
|
|
14
|
+
/** Mirrors the incumbent footer renderer's variant-specific identity rules. */
|
|
15
|
+
export declare function resolveFooterBrandVisibility(footer: FooterBrandPresentation): FooterBrandVisibility;
|
|
2
16
|
export type FooterRenderPlan = {
|
|
3
17
|
mode: 'default';
|
|
4
18
|
renderDefaultFooter: true;
|
|
@@ -26,3 +40,4 @@ export declare function resolveFooterRenderPlan(params: {
|
|
|
26
40
|
isSdkSite: boolean;
|
|
27
41
|
mode: FooterMode | null | undefined;
|
|
28
42
|
}): FooterRenderPlan;
|
|
43
|
+
export {};
|