@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
package/dist/server/theme.mjs
CHANGED
|
@@ -344,7 +344,14 @@ const buttonSizesSchema = z$1.object({
|
|
|
344
344
|
const buttonGlobalSettingsSchema = z$1.object({
|
|
345
345
|
cornerStyle: cornerStyleSchema,
|
|
346
346
|
cornerRadius: z$1.number().min(0).max(24).optional(),
|
|
347
|
-
|
|
347
|
+
/**
|
|
348
|
+
* Family-level shadow inherited by variants that don't set their own.
|
|
349
|
+
* Optional and flat-by-default: when omitted, buttons carry no drop shadow
|
|
350
|
+
* (`elevation: 'none'`). A personality opts the whole family into a shadow by
|
|
351
|
+
* setting this; individual variants still override. There is no system-level
|
|
352
|
+
* shadow-by-default — shadows only appear when explicitly declared.
|
|
353
|
+
*/
|
|
354
|
+
shadow: shadowSizeSchema.optional(),
|
|
348
355
|
textTransform: textTransformSchema,
|
|
349
356
|
fontWeight: fontWeightSchema,
|
|
350
357
|
/**
|
|
@@ -883,7 +890,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
883
890
|
buttonSystem: {
|
|
884
891
|
global: {
|
|
885
892
|
cornerStyle: "square",
|
|
886
|
-
shadow: "none",
|
|
887
893
|
textTransform: "none",
|
|
888
894
|
fontWeight: 500,
|
|
889
895
|
borderWidth: 1,
|
|
@@ -899,11 +905,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
899
905
|
background: { type: "transparent" },
|
|
900
906
|
textColorToken: "text",
|
|
901
907
|
borderRadius: "rounded-none",
|
|
902
|
-
shadow: {
|
|
903
|
-
elevation: "none",
|
|
904
|
-
softness: null,
|
|
905
|
-
position: "bottom"
|
|
906
|
-
},
|
|
907
908
|
sizes: {
|
|
908
909
|
sm: { padding: "0.25rem 0" },
|
|
909
910
|
md: { padding: "0.5rem 0" },
|
|
@@ -927,11 +928,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
927
928
|
background: { type: "transparent" },
|
|
928
929
|
textColorToken: "mutedText",
|
|
929
930
|
borderRadius: "rounded-none",
|
|
930
|
-
shadow: {
|
|
931
|
-
elevation: "none",
|
|
932
|
-
softness: null,
|
|
933
|
-
position: "bottom"
|
|
934
|
-
},
|
|
935
931
|
sizes: {
|
|
936
932
|
sm: { padding: "0.25rem 0" },
|
|
937
933
|
md: { padding: "0.5rem 0" },
|
|
@@ -955,11 +951,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
955
951
|
background: { type: "transparent" },
|
|
956
952
|
textColorToken: "accent",
|
|
957
953
|
borderRadius: "rounded-none",
|
|
958
|
-
shadow: {
|
|
959
|
-
elevation: "none",
|
|
960
|
-
softness: null,
|
|
961
|
-
position: "bottom"
|
|
962
|
-
},
|
|
963
954
|
sizes: {
|
|
964
955
|
sm: { padding: "0.25rem 0" },
|
|
965
956
|
md: { padding: "0.5rem 0" },
|
|
@@ -983,11 +974,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
983
974
|
background: { type: "transparent" },
|
|
984
975
|
textColorToken: "mutedText",
|
|
985
976
|
borderRadius: "rounded-none",
|
|
986
|
-
shadow: {
|
|
987
|
-
elevation: "none",
|
|
988
|
-
softness: null,
|
|
989
|
-
position: "bottom"
|
|
990
|
-
},
|
|
991
977
|
sizes: {
|
|
992
978
|
sm: { padding: "0.25rem 0" },
|
|
993
979
|
md: { padding: "0.5rem 0" },
|
|
@@ -1025,7 +1011,6 @@ const flatInk = defineButtonPersonality({
|
|
|
1025
1011
|
buttonSystem: {
|
|
1026
1012
|
global: {
|
|
1027
1013
|
cornerStyle: "rounded",
|
|
1028
|
-
shadow: "low",
|
|
1029
1014
|
textTransform: "none",
|
|
1030
1015
|
fontWeight: 600,
|
|
1031
1016
|
borderWidth: 1,
|
|
@@ -1066,11 +1051,6 @@ const flatInk = defineButtonPersonality({
|
|
|
1066
1051
|
iconId: "ArrowRight",
|
|
1067
1052
|
colorToken: "accent"
|
|
1068
1053
|
},
|
|
1069
|
-
shadow: {
|
|
1070
|
-
elevation: "none",
|
|
1071
|
-
softness: null,
|
|
1072
|
-
position: "bottom"
|
|
1073
|
-
},
|
|
1074
1054
|
effects: { hover: [{
|
|
1075
1055
|
effectId: "lift",
|
|
1076
1056
|
options: { translateY: "-2px" }
|
|
@@ -1091,11 +1071,6 @@ const flatInk = defineButtonPersonality({
|
|
|
1091
1071
|
widthClass: "border",
|
|
1092
1072
|
colorToken: "border"
|
|
1093
1073
|
},
|
|
1094
|
-
shadow: {
|
|
1095
|
-
elevation: "none",
|
|
1096
|
-
softness: null,
|
|
1097
|
-
position: "bottom"
|
|
1098
|
-
},
|
|
1099
1074
|
effects: { hover: [{
|
|
1100
1075
|
effectId: "lift",
|
|
1101
1076
|
options: { translateY: "-2px" }
|
|
@@ -1115,11 +1090,6 @@ const flatInk = defineButtonPersonality({
|
|
|
1115
1090
|
},
|
|
1116
1091
|
textColorToken: "accentForeground",
|
|
1117
1092
|
borderRadius: "rounded-lg",
|
|
1118
|
-
shadow: {
|
|
1119
|
-
elevation: "none",
|
|
1120
|
-
softness: null,
|
|
1121
|
-
position: "bottom"
|
|
1122
|
-
},
|
|
1123
1093
|
affordance: {
|
|
1124
1094
|
iconId: "ArrowRight",
|
|
1125
1095
|
colorToken: "accentForeground"
|
|
@@ -1151,7 +1121,6 @@ const inkStamp = defineButtonPersonality({
|
|
|
1151
1121
|
buttonSystem: {
|
|
1152
1122
|
global: {
|
|
1153
1123
|
cornerStyle: "rounded",
|
|
1154
|
-
shadow: "none",
|
|
1155
1124
|
textTransform: "uppercase",
|
|
1156
1125
|
fontWeight: 600,
|
|
1157
1126
|
borderWidth: 1,
|
|
@@ -1386,7 +1355,6 @@ const ornateRitual = defineButtonPersonality({
|
|
|
1386
1355
|
buttonSystem: {
|
|
1387
1356
|
global: {
|
|
1388
1357
|
cornerStyle: "rounded",
|
|
1389
|
-
shadow: "none",
|
|
1390
1358
|
textTransform: "uppercase",
|
|
1391
1359
|
fontWeight: 600,
|
|
1392
1360
|
borderWidth: 1,
|
|
@@ -1428,11 +1396,6 @@ const ornateRitual = defineButtonPersonality({
|
|
|
1428
1396
|
widthClass: "border",
|
|
1429
1397
|
colorToken: "primary"
|
|
1430
1398
|
},
|
|
1431
|
-
shadow: {
|
|
1432
|
-
elevation: "none",
|
|
1433
|
-
softness: null,
|
|
1434
|
-
position: "bottom"
|
|
1435
|
-
},
|
|
1436
1399
|
effects: {
|
|
1437
1400
|
hover: [{
|
|
1438
1401
|
effectId: "background-on-hover",
|
|
@@ -1459,11 +1422,6 @@ const ornateRitual = defineButtonPersonality({
|
|
|
1459
1422
|
widthClass: "border",
|
|
1460
1423
|
colorToken: "primary"
|
|
1461
1424
|
},
|
|
1462
|
-
shadow: {
|
|
1463
|
-
elevation: "none",
|
|
1464
|
-
softness: null,
|
|
1465
|
-
position: "bottom"
|
|
1466
|
-
},
|
|
1467
1425
|
effects: { hover: [{
|
|
1468
1426
|
effectId: "background-on-hover",
|
|
1469
1427
|
options: { colorToken: "surface" }
|
|
@@ -1481,11 +1439,6 @@ const ornateRitual = defineButtonPersonality({
|
|
|
1481
1439
|
widthClass: "border",
|
|
1482
1440
|
colorToken: "primary"
|
|
1483
1441
|
},
|
|
1484
|
-
shadow: {
|
|
1485
|
-
elevation: "none",
|
|
1486
|
-
softness: null,
|
|
1487
|
-
position: "bottom"
|
|
1488
|
-
},
|
|
1489
1442
|
effects: { hover: [{
|
|
1490
1443
|
effectId: "background-on-hover",
|
|
1491
1444
|
options: { colorToken: "muted" }
|
|
@@ -1548,7 +1501,6 @@ const pebble = defineButtonPersonality({
|
|
|
1548
1501
|
buttonSystem: {
|
|
1549
1502
|
global: {
|
|
1550
1503
|
cornerStyle: "pill",
|
|
1551
|
-
shadow: "none",
|
|
1552
1504
|
textTransform: "none",
|
|
1553
1505
|
fontWeight: 500,
|
|
1554
1506
|
borderWidth: 2,
|
|
@@ -1656,6 +1608,117 @@ const pebble = defineButtonPersonality({
|
|
|
1656
1608
|
}
|
|
1657
1609
|
});
|
|
1658
1610
|
//#endregion
|
|
1611
|
+
//#region ../theme-core/src/buttons/personalities/quiet-arrow.ts
|
|
1612
|
+
/**
|
|
1613
|
+
* Quiet Arrow — wide, flat editorial buttons for grounded service businesses.
|
|
1614
|
+
* Primary and secondary keep stable semantic colours; surrounding surfaces are
|
|
1615
|
+
* responsible for contrast rather than reversing the button roles.
|
|
1616
|
+
*/
|
|
1617
|
+
const quietArrow = defineButtonPersonality({
|
|
1618
|
+
id: "quiet-arrow",
|
|
1619
|
+
name: "Quiet Arrow",
|
|
1620
|
+
description: "Wide, flat arrow buttons with a solid primary and a primary-colour outlined secondary.",
|
|
1621
|
+
tags: {
|
|
1622
|
+
tone: "classic",
|
|
1623
|
+
energy: "calm",
|
|
1624
|
+
motion: "subtle",
|
|
1625
|
+
era: "editorial"
|
|
1626
|
+
},
|
|
1627
|
+
buttonSystem: {
|
|
1628
|
+
global: {
|
|
1629
|
+
cornerStyle: "rounded",
|
|
1630
|
+
textTransform: "uppercase",
|
|
1631
|
+
fontWeight: 500,
|
|
1632
|
+
borderWidth: 1,
|
|
1633
|
+
typography: "body",
|
|
1634
|
+
fontSize: "text-sm",
|
|
1635
|
+
letterSpacing: "loose",
|
|
1636
|
+
hoverTransform: "none",
|
|
1637
|
+
hoverColor: "none"
|
|
1638
|
+
},
|
|
1639
|
+
sizes: {
|
|
1640
|
+
sm: {
|
|
1641
|
+
padding: "0.625rem 1.25rem",
|
|
1642
|
+
fontSize: "text-xs"
|
|
1643
|
+
},
|
|
1644
|
+
md: {
|
|
1645
|
+
padding: "0.8125rem 1.75rem",
|
|
1646
|
+
fontSize: "text-sm"
|
|
1647
|
+
},
|
|
1648
|
+
lg: {
|
|
1649
|
+
padding: "0.9375rem 2.125rem",
|
|
1650
|
+
fontSize: "text-sm"
|
|
1651
|
+
},
|
|
1652
|
+
xl: {
|
|
1653
|
+
padding: "1.0625rem 2.5rem",
|
|
1654
|
+
fontSize: "text-base"
|
|
1655
|
+
}
|
|
1656
|
+
},
|
|
1657
|
+
variants: [
|
|
1658
|
+
{
|
|
1659
|
+
id: "primary",
|
|
1660
|
+
name: "Primary",
|
|
1661
|
+
enabled: true,
|
|
1662
|
+
priority: 1,
|
|
1663
|
+
background: {
|
|
1664
|
+
type: "solid",
|
|
1665
|
+
colorToken: "primary"
|
|
1666
|
+
},
|
|
1667
|
+
textColorToken: "primaryForeground",
|
|
1668
|
+
borderRadius: "rounded-xl",
|
|
1669
|
+
affordance: { iconId: "ArrowRight" },
|
|
1670
|
+
effects: { hover: [{
|
|
1671
|
+
effectId: "background-on-hover-alpha",
|
|
1672
|
+
options: {
|
|
1673
|
+
colorToken: "primary",
|
|
1674
|
+
opacity: 90
|
|
1675
|
+
}
|
|
1676
|
+
}] }
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
id: "secondary",
|
|
1680
|
+
name: "Secondary",
|
|
1681
|
+
enabled: true,
|
|
1682
|
+
priority: 2,
|
|
1683
|
+
background: { type: "transparent" },
|
|
1684
|
+
textColorToken: "primary",
|
|
1685
|
+
borderRadius: "rounded-xl",
|
|
1686
|
+
border: {
|
|
1687
|
+
widthClass: "border",
|
|
1688
|
+
colorToken: "primary"
|
|
1689
|
+
},
|
|
1690
|
+
affordance: { iconId: "ArrowRight" },
|
|
1691
|
+
effects: { hover: [{
|
|
1692
|
+
effectId: "background-on-hover",
|
|
1693
|
+
options: { colorToken: "surfaceAlt" }
|
|
1694
|
+
}] }
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
id: "outline",
|
|
1698
|
+
name: "Outline",
|
|
1699
|
+
enabled: true,
|
|
1700
|
+
priority: 3,
|
|
1701
|
+
background: { type: "transparent" },
|
|
1702
|
+
textColorToken: "primary",
|
|
1703
|
+
borderRadius: "rounded-xl",
|
|
1704
|
+
border: {
|
|
1705
|
+
widthClass: "border",
|
|
1706
|
+
colorToken: "primary"
|
|
1707
|
+
}
|
|
1708
|
+
},
|
|
1709
|
+
{
|
|
1710
|
+
id: "ghost",
|
|
1711
|
+
name: "Ghost",
|
|
1712
|
+
enabled: true,
|
|
1713
|
+
priority: 3,
|
|
1714
|
+
background: { type: "transparent" },
|
|
1715
|
+
textColorToken: "primary",
|
|
1716
|
+
borderRadius: "rounded-xl"
|
|
1717
|
+
}
|
|
1718
|
+
]
|
|
1719
|
+
}
|
|
1720
|
+
});
|
|
1721
|
+
//#endregion
|
|
1659
1722
|
//#region ../theme-core/src/buttons/personalities/showtime-pill.ts
|
|
1660
1723
|
/**
|
|
1661
1724
|
* Showtime Pill — bold, spacious, fully rounded buttons with playful pop
|
|
@@ -1798,104 +1861,153 @@ const showtimePill = defineButtonPersonality({
|
|
|
1798
1861
|
}
|
|
1799
1862
|
});
|
|
1800
1863
|
//#endregion
|
|
1801
|
-
//#region ../theme-core/src/buttons/personalities/
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1864
|
+
//#region ../theme-core/src/buttons/personalities/soft-pill.ts
|
|
1865
|
+
/**
|
|
1866
|
+
* Soft Pill — rounded-full pill buttons with a hover lift. The default for
|
|
1867
|
+
* Calm Studio and Modern Wellness; reads as quietly modern and welcoming.
|
|
1868
|
+
*/
|
|
1869
|
+
const softPill = defineButtonPersonality({
|
|
1870
|
+
id: "soft-pill",
|
|
1871
|
+
name: "Soft Pill",
|
|
1872
|
+
description: "Rounded pills with a gentle lift on hover. Quietly modern.",
|
|
1873
|
+
tags: {
|
|
1874
|
+
tone: "classic",
|
|
1875
|
+
energy: "calm",
|
|
1876
|
+
motion: "subtle",
|
|
1877
|
+
era: "organic"
|
|
1878
|
+
},
|
|
1879
|
+
buttonSystem: {
|
|
1880
|
+
global: {
|
|
1881
|
+
cornerStyle: "pill",
|
|
1882
|
+
shadow: "low",
|
|
1883
|
+
textTransform: "none",
|
|
1884
|
+
fontWeight: 500,
|
|
1885
|
+
borderWidth: 2,
|
|
1886
|
+
hoverTransform: "lift",
|
|
1887
|
+
hoverColor: "none"
|
|
1812
1888
|
},
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
},
|
|
1823
|
-
variants: [
|
|
1824
|
-
{
|
|
1825
|
-
id: "primary",
|
|
1826
|
-
name: "Primary",
|
|
1827
|
-
enabled: true,
|
|
1828
|
-
priority: 1,
|
|
1829
|
-
background: {
|
|
1830
|
-
type: "solid",
|
|
1831
|
-
colorToken: "primary"
|
|
1832
|
-
},
|
|
1833
|
-
textColorToken: "primaryForeground",
|
|
1834
|
-
borderRadius: "rounded-full",
|
|
1835
|
-
shadow: {
|
|
1836
|
-
elevation: "low",
|
|
1837
|
-
softness: "soft",
|
|
1838
|
-
position: "bottom"
|
|
1839
|
-
},
|
|
1840
|
-
effects: {
|
|
1841
|
-
hover: [{
|
|
1842
|
-
effectId: "lift",
|
|
1843
|
-
options: { translateY: "-1px" }
|
|
1844
|
-
}],
|
|
1845
|
-
active: [{
|
|
1846
|
-
effectId: "scale-down",
|
|
1847
|
-
options: { scale: "0.98" }
|
|
1848
|
-
}]
|
|
1849
|
-
}
|
|
1850
|
-
},
|
|
1851
|
-
{
|
|
1852
|
-
id: "secondary",
|
|
1853
|
-
name: "Secondary",
|
|
1854
|
-
enabled: true,
|
|
1855
|
-
priority: 2,
|
|
1856
|
-
background: { type: "transparent" },
|
|
1857
|
-
textColorToken: "primary",
|
|
1858
|
-
borderRadius: "rounded-full",
|
|
1859
|
-
border: {
|
|
1860
|
-
widthClass: "border-2",
|
|
1861
|
-
colorToken: "primary"
|
|
1862
|
-
},
|
|
1863
|
-
effects: { hover: [{
|
|
1864
|
-
effectId: "background-on-hover",
|
|
1865
|
-
options: { colorToken: "surface" }
|
|
1866
|
-
}] }
|
|
1889
|
+
variants: [
|
|
1890
|
+
{
|
|
1891
|
+
id: "primary",
|
|
1892
|
+
name: "Primary",
|
|
1893
|
+
enabled: true,
|
|
1894
|
+
priority: 1,
|
|
1895
|
+
background: {
|
|
1896
|
+
type: "solid",
|
|
1897
|
+
colorToken: "primary"
|
|
1867
1898
|
},
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
textColorToken: "text",
|
|
1875
|
-
borderRadius: "rounded-full",
|
|
1876
|
-
border: {
|
|
1877
|
-
widthClass: "border",
|
|
1878
|
-
colorToken: "border"
|
|
1879
|
-
},
|
|
1880
|
-
effects: { hover: [{
|
|
1881
|
-
effectId: "background-on-hover",
|
|
1882
|
-
options: { colorToken: "surface" }
|
|
1883
|
-
}] }
|
|
1899
|
+
textColorToken: "primaryForeground",
|
|
1900
|
+
borderRadius: "rounded-full",
|
|
1901
|
+
shadow: {
|
|
1902
|
+
elevation: "low",
|
|
1903
|
+
softness: "soft",
|
|
1904
|
+
position: "bottom"
|
|
1884
1905
|
},
|
|
1885
|
-
{
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
effectId: "background-on-hover",
|
|
1895
|
-
options: { colorToken: "surface" }
|
|
1896
|
-
}] }
|
|
1906
|
+
effects: {
|
|
1907
|
+
hover: [{
|
|
1908
|
+
effectId: "lift",
|
|
1909
|
+
options: { translateY: "-1px" }
|
|
1910
|
+
}],
|
|
1911
|
+
active: [{
|
|
1912
|
+
effectId: "scale-down",
|
|
1913
|
+
options: { scale: "0.98" }
|
|
1914
|
+
}]
|
|
1897
1915
|
}
|
|
1898
|
-
|
|
1916
|
+
},
|
|
1917
|
+
{
|
|
1918
|
+
id: "secondary",
|
|
1919
|
+
name: "Secondary",
|
|
1920
|
+
enabled: true,
|
|
1921
|
+
priority: 2,
|
|
1922
|
+
background: { type: "transparent" },
|
|
1923
|
+
textColorToken: "primary",
|
|
1924
|
+
borderRadius: "rounded-full",
|
|
1925
|
+
border: {
|
|
1926
|
+
widthClass: "border-2",
|
|
1927
|
+
colorToken: "primary"
|
|
1928
|
+
},
|
|
1929
|
+
effects: { hover: [{
|
|
1930
|
+
effectId: "background-on-hover",
|
|
1931
|
+
options: { colorToken: "surface" }
|
|
1932
|
+
}] }
|
|
1933
|
+
},
|
|
1934
|
+
{
|
|
1935
|
+
id: "outline",
|
|
1936
|
+
name: "Outline",
|
|
1937
|
+
enabled: true,
|
|
1938
|
+
priority: 3,
|
|
1939
|
+
background: { type: "transparent" },
|
|
1940
|
+
textColorToken: "text",
|
|
1941
|
+
borderRadius: "rounded-full",
|
|
1942
|
+
border: {
|
|
1943
|
+
widthClass: "border",
|
|
1944
|
+
colorToken: "border"
|
|
1945
|
+
},
|
|
1946
|
+
effects: { hover: [{
|
|
1947
|
+
effectId: "background-on-hover",
|
|
1948
|
+
options: { colorToken: "surface" }
|
|
1949
|
+
}] }
|
|
1950
|
+
},
|
|
1951
|
+
{
|
|
1952
|
+
id: "ghost",
|
|
1953
|
+
name: "Ghost",
|
|
1954
|
+
enabled: true,
|
|
1955
|
+
priority: 3,
|
|
1956
|
+
background: { type: "transparent" },
|
|
1957
|
+
textColorToken: "text",
|
|
1958
|
+
borderRadius: "rounded-full",
|
|
1959
|
+
effects: { hover: [{
|
|
1960
|
+
effectId: "background-on-hover",
|
|
1961
|
+
options: { colorToken: "surface" }
|
|
1962
|
+
}] }
|
|
1963
|
+
}
|
|
1964
|
+
]
|
|
1965
|
+
}
|
|
1966
|
+
});
|
|
1967
|
+
//#endregion
|
|
1968
|
+
//#region ../theme-core/src/buttons/personalities/two-tone-pill.ts
|
|
1969
|
+
const solidSecondary = {
|
|
1970
|
+
id: "secondary",
|
|
1971
|
+
name: "Secondary",
|
|
1972
|
+
enabled: true,
|
|
1973
|
+
priority: 2,
|
|
1974
|
+
background: {
|
|
1975
|
+
type: "solid",
|
|
1976
|
+
colorToken: "secondary"
|
|
1977
|
+
},
|
|
1978
|
+
textColorToken: "onSecondary",
|
|
1979
|
+
borderRadius: "rounded-full",
|
|
1980
|
+
shadow: {
|
|
1981
|
+
elevation: "none",
|
|
1982
|
+
softness: null,
|
|
1983
|
+
position: "bottom"
|
|
1984
|
+
},
|
|
1985
|
+
effects: {
|
|
1986
|
+
hover: [{
|
|
1987
|
+
effectId: "background-on-hover-alpha",
|
|
1988
|
+
options: {
|
|
1989
|
+
colorToken: "secondary",
|
|
1990
|
+
opacity: 88
|
|
1991
|
+
}
|
|
1992
|
+
}],
|
|
1993
|
+
active: [{
|
|
1994
|
+
effectId: "scale-down",
|
|
1995
|
+
options: { scale: "0.98" }
|
|
1996
|
+
}]
|
|
1997
|
+
}
|
|
1998
|
+
};
|
|
1999
|
+
//#endregion
|
|
2000
|
+
//#region ../theme-core/src/buttons/personalities/index.ts
|
|
2001
|
+
const buttonPersonalities = [
|
|
2002
|
+
softPill,
|
|
2003
|
+
defineButtonPersonality({
|
|
2004
|
+
id: "two-tone-pill",
|
|
2005
|
+
name: "Two-tone Pill",
|
|
2006
|
+
description: "Rounded pills with distinct solid primary and secondary brand colours.",
|
|
2007
|
+
tags: softPill.tags,
|
|
2008
|
+
buttonSystem: {
|
|
2009
|
+
...softPill.buttonSystem,
|
|
2010
|
+
variants: softPill.buttonSystem.variants.map((variant) => variant.id === "secondary" ? solidSecondary : variant)
|
|
1899
2011
|
}
|
|
1900
2012
|
}),
|
|
1901
2013
|
earthPill,
|
|
@@ -1907,7 +2019,8 @@ const buttonPersonalities = [
|
|
|
1907
2019
|
brushedWash,
|
|
1908
2020
|
showtimePill,
|
|
1909
2021
|
joyStamp,
|
|
1910
|
-
ornateRitual
|
|
2022
|
+
ornateRitual,
|
|
2023
|
+
quietArrow
|
|
1911
2024
|
];
|
|
1912
2025
|
new Map(buttonPersonalities.map((p) => [p.id, p]));
|
|
1913
2026
|
//#endregion
|
|
@@ -2679,7 +2792,13 @@ const tileTreatmentValues = [
|
|
|
2679
2792
|
"quiet",
|
|
2680
2793
|
"brand-depth"
|
|
2681
2794
|
];
|
|
2682
|
-
const eventListTreatmentValues = [
|
|
2795
|
+
const eventListTreatmentValues = [
|
|
2796
|
+
"plain",
|
|
2797
|
+
"lined-panel",
|
|
2798
|
+
"ruled-register",
|
|
2799
|
+
"editorial-register",
|
|
2800
|
+
"dense-index"
|
|
2801
|
+
];
|
|
2683
2802
|
const eyebrowTreatmentValues = [
|
|
2684
2803
|
"plain",
|
|
2685
2804
|
"accent",
|
|
@@ -2923,6 +3042,8 @@ const headingTypographyOverridesSchema = z$1.object({
|
|
|
2923
3042
|
]).nullable().optional(),
|
|
2924
3043
|
size: headingSizeSchema.nullable().optional(),
|
|
2925
3044
|
lineHeight: z$1.enum([
|
|
3045
|
+
"tight",
|
|
3046
|
+
"snug",
|
|
2926
3047
|
"normal",
|
|
2927
3048
|
"relaxed",
|
|
2928
3049
|
"loose"
|
|
@@ -3100,7 +3221,28 @@ const typographyScaleSchema = z$1.enum([
|
|
|
3100
3221
|
"majorThird",
|
|
3101
3222
|
"perfectFourth"
|
|
3102
3223
|
]);
|
|
3103
|
-
const eyebrowTypographyStyleSchema = z$1.object({
|
|
3224
|
+
const eyebrowTypographyStyleSchema = z$1.object({
|
|
3225
|
+
family: z$1.string().min(1),
|
|
3226
|
+
size: z$1.enum([
|
|
3227
|
+
"sm",
|
|
3228
|
+
"md",
|
|
3229
|
+
"lg"
|
|
3230
|
+
]).optional(),
|
|
3231
|
+
weight: z$1.enum([
|
|
3232
|
+
"light",
|
|
3233
|
+
"regular",
|
|
3234
|
+
"medium",
|
|
3235
|
+
"semibold",
|
|
3236
|
+
"bold"
|
|
3237
|
+
]).optional(),
|
|
3238
|
+
letterSpacing: z$1.enum([
|
|
3239
|
+
"tight",
|
|
3240
|
+
"normal",
|
|
3241
|
+
"loose",
|
|
3242
|
+
"wide"
|
|
3243
|
+
]).optional(),
|
|
3244
|
+
case: z$1.enum(["uppercase", "normal"]).optional()
|
|
3245
|
+
});
|
|
3104
3246
|
const typographySchema = z$1.object({
|
|
3105
3247
|
body: bodyTypographyStyleSchema,
|
|
3106
3248
|
headings: z$1.object({
|
|
@@ -3230,6 +3372,7 @@ const navFontWeight = z$1.enum([
|
|
|
3230
3372
|
"bold"
|
|
3231
3373
|
]);
|
|
3232
3374
|
const headerMaxWidth = z$1.enum(["container", "full"]);
|
|
3375
|
+
const headerBarFrame = z$1.enum(["full-bleed", "inset-shell"]);
|
|
3233
3376
|
const headerContainerSchema = z$1.object({
|
|
3234
3377
|
rounded: z$1.enum([
|
|
3235
3378
|
"none",
|
|
@@ -3374,6 +3517,7 @@ const headerSchema = z$1.object({
|
|
|
3374
3517
|
positioning: headerPositioning,
|
|
3375
3518
|
shrinkOnScroll: z$1.boolean(),
|
|
3376
3519
|
maxWidth: headerMaxWidth,
|
|
3520
|
+
barFrame: headerBarFrame.optional(),
|
|
3377
3521
|
logoOverride: mediaSchema.nullable().optional(),
|
|
3378
3522
|
background: headerBackgroundSchema.default({
|
|
3379
3523
|
type: "color",
|
|
@@ -3383,6 +3527,7 @@ const headerSchema = z$1.object({
|
|
|
3383
3527
|
navStyle: headerNavStyle,
|
|
3384
3528
|
navColor: themeColorTokenSchema.nullable().optional(),
|
|
3385
3529
|
navWeight: navFontWeight.default("medium"),
|
|
3530
|
+
navFontRole: z$1.enum(["body", "heading"]).optional(),
|
|
3386
3531
|
navTypography: z$1.enum(["body", "heading"]).optional(),
|
|
3387
3532
|
navTextSize: navLinkStyleSchema.shape.textSize,
|
|
3388
3533
|
navPlacement: z$1.enum(["end", "center"]).optional(),
|
|
@@ -3398,7 +3543,21 @@ const headerSchema = z$1.object({
|
|
|
3398
3543
|
ctaTreatment: headerCtaTreatmentSchema.optional(),
|
|
3399
3544
|
ctaVariant: z$1.string().min(1).optional(),
|
|
3400
3545
|
dropdownStyle: dropdownStyleSchema
|
|
3401
|
-
});
|
|
3546
|
+
}).transform(normaliseHeaderNavFontRole);
|
|
3547
|
+
/**
|
|
3548
|
+
* Normalises the legacy `navTypography` font-role alias into the canonical
|
|
3549
|
+
* `navFontRole` field so persisted themes migrate at the parse boundary without
|
|
3550
|
+
* a data migration. `navFontRole` always wins when both are present; the legacy
|
|
3551
|
+
* field is dropped so we never carry a dual write forward.
|
|
3552
|
+
*/
|
|
3553
|
+
function normaliseHeaderNavFontRole(header) {
|
|
3554
|
+
if (header.navTypography === void 0) return header;
|
|
3555
|
+
const { navTypography, ...rest } = header;
|
|
3556
|
+
return header.navFontRole === void 0 ? {
|
|
3557
|
+
...rest,
|
|
3558
|
+
navFontRole: navTypography
|
|
3559
|
+
} : rest;
|
|
3560
|
+
}
|
|
3402
3561
|
const footerVariant = z$1.enum([
|
|
3403
3562
|
"simple",
|
|
3404
3563
|
"columns",
|