@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as themeColorTokenSchema } from "./propsDecoder-BRWBiH7i.mjs";
|
|
2
2
|
import { z as z$1 } from "zod";
|
|
3
3
|
//#region ../theme-core/src/buttons/types.ts
|
|
4
4
|
/**
|
|
@@ -120,7 +120,14 @@ const buttonSizesSchema = z$1.object({
|
|
|
120
120
|
const buttonGlobalSettingsSchema = z$1.object({
|
|
121
121
|
cornerStyle: cornerStyleSchema,
|
|
122
122
|
cornerRadius: z$1.number().min(0).max(24).optional(),
|
|
123
|
-
|
|
123
|
+
/**
|
|
124
|
+
* Family-level shadow inherited by variants that don't set their own.
|
|
125
|
+
* Optional and flat-by-default: when omitted, buttons carry no drop shadow
|
|
126
|
+
* (`elevation: 'none'`). A personality opts the whole family into a shadow by
|
|
127
|
+
* setting this; individual variants still override. There is no system-level
|
|
128
|
+
* shadow-by-default — shadows only appear when explicitly declared.
|
|
129
|
+
*/
|
|
130
|
+
shadow: shadowSizeSchema.optional(),
|
|
124
131
|
textTransform: textTransformSchema,
|
|
125
132
|
fontWeight: fontWeightSchema,
|
|
126
133
|
/**
|
|
@@ -708,7 +715,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
708
715
|
buttonSystem: {
|
|
709
716
|
global: {
|
|
710
717
|
cornerStyle: "square",
|
|
711
|
-
shadow: "none",
|
|
712
718
|
textTransform: "none",
|
|
713
719
|
fontWeight: 500,
|
|
714
720
|
borderWidth: 1,
|
|
@@ -724,11 +730,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
724
730
|
background: { type: "transparent" },
|
|
725
731
|
textColorToken: "text",
|
|
726
732
|
borderRadius: "rounded-none",
|
|
727
|
-
shadow: {
|
|
728
|
-
elevation: "none",
|
|
729
|
-
softness: null,
|
|
730
|
-
position: "bottom"
|
|
731
|
-
},
|
|
732
733
|
sizes: {
|
|
733
734
|
sm: { padding: "0.25rem 0" },
|
|
734
735
|
md: { padding: "0.5rem 0" },
|
|
@@ -752,11 +753,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
752
753
|
background: { type: "transparent" },
|
|
753
754
|
textColorToken: "mutedText",
|
|
754
755
|
borderRadius: "rounded-none",
|
|
755
|
-
shadow: {
|
|
756
|
-
elevation: "none",
|
|
757
|
-
softness: null,
|
|
758
|
-
position: "bottom"
|
|
759
|
-
},
|
|
760
756
|
sizes: {
|
|
761
757
|
sm: { padding: "0.25rem 0" },
|
|
762
758
|
md: { padding: "0.5rem 0" },
|
|
@@ -780,11 +776,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
780
776
|
background: { type: "transparent" },
|
|
781
777
|
textColorToken: "accent",
|
|
782
778
|
borderRadius: "rounded-none",
|
|
783
|
-
shadow: {
|
|
784
|
-
elevation: "none",
|
|
785
|
-
softness: null,
|
|
786
|
-
position: "bottom"
|
|
787
|
-
},
|
|
788
779
|
sizes: {
|
|
789
780
|
sm: { padding: "0.25rem 0" },
|
|
790
781
|
md: { padding: "0.5rem 0" },
|
|
@@ -808,11 +799,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
808
799
|
background: { type: "transparent" },
|
|
809
800
|
textColorToken: "mutedText",
|
|
810
801
|
borderRadius: "rounded-none",
|
|
811
|
-
shadow: {
|
|
812
|
-
elevation: "none",
|
|
813
|
-
softness: null,
|
|
814
|
-
position: "bottom"
|
|
815
|
-
},
|
|
816
802
|
sizes: {
|
|
817
803
|
sm: { padding: "0.25rem 0" },
|
|
818
804
|
md: { padding: "0.5rem 0" },
|
|
@@ -850,7 +836,6 @@ const flatInk = defineButtonPersonality({
|
|
|
850
836
|
buttonSystem: {
|
|
851
837
|
global: {
|
|
852
838
|
cornerStyle: "rounded",
|
|
853
|
-
shadow: "low",
|
|
854
839
|
textTransform: "none",
|
|
855
840
|
fontWeight: 600,
|
|
856
841
|
borderWidth: 1,
|
|
@@ -891,11 +876,6 @@ const flatInk = defineButtonPersonality({
|
|
|
891
876
|
iconId: "ArrowRight",
|
|
892
877
|
colorToken: "accent"
|
|
893
878
|
},
|
|
894
|
-
shadow: {
|
|
895
|
-
elevation: "none",
|
|
896
|
-
softness: null,
|
|
897
|
-
position: "bottom"
|
|
898
|
-
},
|
|
899
879
|
effects: { hover: [{
|
|
900
880
|
effectId: "lift",
|
|
901
881
|
options: { translateY: "-2px" }
|
|
@@ -916,11 +896,6 @@ const flatInk = defineButtonPersonality({
|
|
|
916
896
|
widthClass: "border",
|
|
917
897
|
colorToken: "border"
|
|
918
898
|
},
|
|
919
|
-
shadow: {
|
|
920
|
-
elevation: "none",
|
|
921
|
-
softness: null,
|
|
922
|
-
position: "bottom"
|
|
923
|
-
},
|
|
924
899
|
effects: { hover: [{
|
|
925
900
|
effectId: "lift",
|
|
926
901
|
options: { translateY: "-2px" }
|
|
@@ -940,11 +915,6 @@ const flatInk = defineButtonPersonality({
|
|
|
940
915
|
},
|
|
941
916
|
textColorToken: "accentForeground",
|
|
942
917
|
borderRadius: "rounded-lg",
|
|
943
|
-
shadow: {
|
|
944
|
-
elevation: "none",
|
|
945
|
-
softness: null,
|
|
946
|
-
position: "bottom"
|
|
947
|
-
},
|
|
948
918
|
affordance: {
|
|
949
919
|
iconId: "ArrowRight",
|
|
950
920
|
colorToken: "accentForeground"
|
|
@@ -976,7 +946,6 @@ const inkStamp = defineButtonPersonality({
|
|
|
976
946
|
buttonSystem: {
|
|
977
947
|
global: {
|
|
978
948
|
cornerStyle: "rounded",
|
|
979
|
-
shadow: "none",
|
|
980
949
|
textTransform: "uppercase",
|
|
981
950
|
fontWeight: 600,
|
|
982
951
|
borderWidth: 1,
|
|
@@ -1211,7 +1180,6 @@ const ornateRitual = defineButtonPersonality({
|
|
|
1211
1180
|
buttonSystem: {
|
|
1212
1181
|
global: {
|
|
1213
1182
|
cornerStyle: "rounded",
|
|
1214
|
-
shadow: "none",
|
|
1215
1183
|
textTransform: "uppercase",
|
|
1216
1184
|
fontWeight: 600,
|
|
1217
1185
|
borderWidth: 1,
|
|
@@ -1253,11 +1221,6 @@ const ornateRitual = defineButtonPersonality({
|
|
|
1253
1221
|
widthClass: "border",
|
|
1254
1222
|
colorToken: "primary"
|
|
1255
1223
|
},
|
|
1256
|
-
shadow: {
|
|
1257
|
-
elevation: "none",
|
|
1258
|
-
softness: null,
|
|
1259
|
-
position: "bottom"
|
|
1260
|
-
},
|
|
1261
1224
|
effects: {
|
|
1262
1225
|
hover: [{
|
|
1263
1226
|
effectId: "background-on-hover",
|
|
@@ -1284,11 +1247,6 @@ const ornateRitual = defineButtonPersonality({
|
|
|
1284
1247
|
widthClass: "border",
|
|
1285
1248
|
colorToken: "primary"
|
|
1286
1249
|
},
|
|
1287
|
-
shadow: {
|
|
1288
|
-
elevation: "none",
|
|
1289
|
-
softness: null,
|
|
1290
|
-
position: "bottom"
|
|
1291
|
-
},
|
|
1292
1250
|
effects: { hover: [{
|
|
1293
1251
|
effectId: "background-on-hover",
|
|
1294
1252
|
options: { colorToken: "surface" }
|
|
@@ -1306,11 +1264,6 @@ const ornateRitual = defineButtonPersonality({
|
|
|
1306
1264
|
widthClass: "border",
|
|
1307
1265
|
colorToken: "primary"
|
|
1308
1266
|
},
|
|
1309
|
-
shadow: {
|
|
1310
|
-
elevation: "none",
|
|
1311
|
-
softness: null,
|
|
1312
|
-
position: "bottom"
|
|
1313
|
-
},
|
|
1314
1267
|
effects: { hover: [{
|
|
1315
1268
|
effectId: "background-on-hover",
|
|
1316
1269
|
options: { colorToken: "muted" }
|
|
@@ -1373,7 +1326,6 @@ const pebble = defineButtonPersonality({
|
|
|
1373
1326
|
buttonSystem: {
|
|
1374
1327
|
global: {
|
|
1375
1328
|
cornerStyle: "pill",
|
|
1376
|
-
shadow: "none",
|
|
1377
1329
|
textTransform: "none",
|
|
1378
1330
|
fontWeight: 500,
|
|
1379
1331
|
borderWidth: 2,
|
|
@@ -1481,6 +1433,117 @@ const pebble = defineButtonPersonality({
|
|
|
1481
1433
|
}
|
|
1482
1434
|
});
|
|
1483
1435
|
//#endregion
|
|
1436
|
+
//#region ../theme-core/src/buttons/personalities/quiet-arrow.ts
|
|
1437
|
+
/**
|
|
1438
|
+
* Quiet Arrow — wide, flat editorial buttons for grounded service businesses.
|
|
1439
|
+
* Primary and secondary keep stable semantic colours; surrounding surfaces are
|
|
1440
|
+
* responsible for contrast rather than reversing the button roles.
|
|
1441
|
+
*/
|
|
1442
|
+
const quietArrow = defineButtonPersonality({
|
|
1443
|
+
id: "quiet-arrow",
|
|
1444
|
+
name: "Quiet Arrow",
|
|
1445
|
+
description: "Wide, flat arrow buttons with a solid primary and a primary-colour outlined secondary.",
|
|
1446
|
+
tags: {
|
|
1447
|
+
tone: "classic",
|
|
1448
|
+
energy: "calm",
|
|
1449
|
+
motion: "subtle",
|
|
1450
|
+
era: "editorial"
|
|
1451
|
+
},
|
|
1452
|
+
buttonSystem: {
|
|
1453
|
+
global: {
|
|
1454
|
+
cornerStyle: "rounded",
|
|
1455
|
+
textTransform: "uppercase",
|
|
1456
|
+
fontWeight: 500,
|
|
1457
|
+
borderWidth: 1,
|
|
1458
|
+
typography: "body",
|
|
1459
|
+
fontSize: "text-sm",
|
|
1460
|
+
letterSpacing: "loose",
|
|
1461
|
+
hoverTransform: "none",
|
|
1462
|
+
hoverColor: "none"
|
|
1463
|
+
},
|
|
1464
|
+
sizes: {
|
|
1465
|
+
sm: {
|
|
1466
|
+
padding: "0.625rem 1.25rem",
|
|
1467
|
+
fontSize: "text-xs"
|
|
1468
|
+
},
|
|
1469
|
+
md: {
|
|
1470
|
+
padding: "0.8125rem 1.75rem",
|
|
1471
|
+
fontSize: "text-sm"
|
|
1472
|
+
},
|
|
1473
|
+
lg: {
|
|
1474
|
+
padding: "0.9375rem 2.125rem",
|
|
1475
|
+
fontSize: "text-sm"
|
|
1476
|
+
},
|
|
1477
|
+
xl: {
|
|
1478
|
+
padding: "1.0625rem 2.5rem",
|
|
1479
|
+
fontSize: "text-base"
|
|
1480
|
+
}
|
|
1481
|
+
},
|
|
1482
|
+
variants: [
|
|
1483
|
+
{
|
|
1484
|
+
id: "primary",
|
|
1485
|
+
name: "Primary",
|
|
1486
|
+
enabled: true,
|
|
1487
|
+
priority: 1,
|
|
1488
|
+
background: {
|
|
1489
|
+
type: "solid",
|
|
1490
|
+
colorToken: "primary"
|
|
1491
|
+
},
|
|
1492
|
+
textColorToken: "primaryForeground",
|
|
1493
|
+
borderRadius: "rounded-xl",
|
|
1494
|
+
affordance: { iconId: "ArrowRight" },
|
|
1495
|
+
effects: { hover: [{
|
|
1496
|
+
effectId: "background-on-hover-alpha",
|
|
1497
|
+
options: {
|
|
1498
|
+
colorToken: "primary",
|
|
1499
|
+
opacity: 90
|
|
1500
|
+
}
|
|
1501
|
+
}] }
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
id: "secondary",
|
|
1505
|
+
name: "Secondary",
|
|
1506
|
+
enabled: true,
|
|
1507
|
+
priority: 2,
|
|
1508
|
+
background: { type: "transparent" },
|
|
1509
|
+
textColorToken: "primary",
|
|
1510
|
+
borderRadius: "rounded-xl",
|
|
1511
|
+
border: {
|
|
1512
|
+
widthClass: "border",
|
|
1513
|
+
colorToken: "primary"
|
|
1514
|
+
},
|
|
1515
|
+
affordance: { iconId: "ArrowRight" },
|
|
1516
|
+
effects: { hover: [{
|
|
1517
|
+
effectId: "background-on-hover",
|
|
1518
|
+
options: { colorToken: "surfaceAlt" }
|
|
1519
|
+
}] }
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
id: "outline",
|
|
1523
|
+
name: "Outline",
|
|
1524
|
+
enabled: true,
|
|
1525
|
+
priority: 3,
|
|
1526
|
+
background: { type: "transparent" },
|
|
1527
|
+
textColorToken: "primary",
|
|
1528
|
+
borderRadius: "rounded-xl",
|
|
1529
|
+
border: {
|
|
1530
|
+
widthClass: "border",
|
|
1531
|
+
colorToken: "primary"
|
|
1532
|
+
}
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
id: "ghost",
|
|
1536
|
+
name: "Ghost",
|
|
1537
|
+
enabled: true,
|
|
1538
|
+
priority: 3,
|
|
1539
|
+
background: { type: "transparent" },
|
|
1540
|
+
textColorToken: "primary",
|
|
1541
|
+
borderRadius: "rounded-xl"
|
|
1542
|
+
}
|
|
1543
|
+
]
|
|
1544
|
+
}
|
|
1545
|
+
});
|
|
1546
|
+
//#endregion
|
|
1484
1547
|
//#region ../theme-core/src/buttons/personalities/showtime-pill.ts
|
|
1485
1548
|
/**
|
|
1486
1549
|
* Showtime Pill — bold, spacious, fully rounded buttons with playful pop
|
|
@@ -1623,104 +1686,153 @@ const showtimePill = defineButtonPersonality({
|
|
|
1623
1686
|
}
|
|
1624
1687
|
});
|
|
1625
1688
|
//#endregion
|
|
1626
|
-
//#region ../theme-core/src/buttons/personalities/
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1689
|
+
//#region ../theme-core/src/buttons/personalities/soft-pill.ts
|
|
1690
|
+
/**
|
|
1691
|
+
* Soft Pill — rounded-full pill buttons with a hover lift. The default for
|
|
1692
|
+
* Calm Studio and Modern Wellness; reads as quietly modern and welcoming.
|
|
1693
|
+
*/
|
|
1694
|
+
const softPill = defineButtonPersonality({
|
|
1695
|
+
id: "soft-pill",
|
|
1696
|
+
name: "Soft Pill",
|
|
1697
|
+
description: "Rounded pills with a gentle lift on hover. Quietly modern.",
|
|
1698
|
+
tags: {
|
|
1699
|
+
tone: "classic",
|
|
1700
|
+
energy: "calm",
|
|
1701
|
+
motion: "subtle",
|
|
1702
|
+
era: "organic"
|
|
1703
|
+
},
|
|
1704
|
+
buttonSystem: {
|
|
1705
|
+
global: {
|
|
1706
|
+
cornerStyle: "pill",
|
|
1707
|
+
shadow: "low",
|
|
1708
|
+
textTransform: "none",
|
|
1709
|
+
fontWeight: 500,
|
|
1710
|
+
borderWidth: 2,
|
|
1711
|
+
hoverTransform: "lift",
|
|
1712
|
+
hoverColor: "none"
|
|
1637
1713
|
},
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
},
|
|
1648
|
-
variants: [
|
|
1649
|
-
{
|
|
1650
|
-
id: "primary",
|
|
1651
|
-
name: "Primary",
|
|
1652
|
-
enabled: true,
|
|
1653
|
-
priority: 1,
|
|
1654
|
-
background: {
|
|
1655
|
-
type: "solid",
|
|
1656
|
-
colorToken: "primary"
|
|
1657
|
-
},
|
|
1658
|
-
textColorToken: "primaryForeground",
|
|
1659
|
-
borderRadius: "rounded-full",
|
|
1660
|
-
shadow: {
|
|
1661
|
-
elevation: "low",
|
|
1662
|
-
softness: "soft",
|
|
1663
|
-
position: "bottom"
|
|
1664
|
-
},
|
|
1665
|
-
effects: {
|
|
1666
|
-
hover: [{
|
|
1667
|
-
effectId: "lift",
|
|
1668
|
-
options: { translateY: "-1px" }
|
|
1669
|
-
}],
|
|
1670
|
-
active: [{
|
|
1671
|
-
effectId: "scale-down",
|
|
1672
|
-
options: { scale: "0.98" }
|
|
1673
|
-
}]
|
|
1674
|
-
}
|
|
1675
|
-
},
|
|
1676
|
-
{
|
|
1677
|
-
id: "secondary",
|
|
1678
|
-
name: "Secondary",
|
|
1679
|
-
enabled: true,
|
|
1680
|
-
priority: 2,
|
|
1681
|
-
background: { type: "transparent" },
|
|
1682
|
-
textColorToken: "primary",
|
|
1683
|
-
borderRadius: "rounded-full",
|
|
1684
|
-
border: {
|
|
1685
|
-
widthClass: "border-2",
|
|
1686
|
-
colorToken: "primary"
|
|
1687
|
-
},
|
|
1688
|
-
effects: { hover: [{
|
|
1689
|
-
effectId: "background-on-hover",
|
|
1690
|
-
options: { colorToken: "surface" }
|
|
1691
|
-
}] }
|
|
1714
|
+
variants: [
|
|
1715
|
+
{
|
|
1716
|
+
id: "primary",
|
|
1717
|
+
name: "Primary",
|
|
1718
|
+
enabled: true,
|
|
1719
|
+
priority: 1,
|
|
1720
|
+
background: {
|
|
1721
|
+
type: "solid",
|
|
1722
|
+
colorToken: "primary"
|
|
1692
1723
|
},
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
textColorToken: "text",
|
|
1700
|
-
borderRadius: "rounded-full",
|
|
1701
|
-
border: {
|
|
1702
|
-
widthClass: "border",
|
|
1703
|
-
colorToken: "border"
|
|
1704
|
-
},
|
|
1705
|
-
effects: { hover: [{
|
|
1706
|
-
effectId: "background-on-hover",
|
|
1707
|
-
options: { colorToken: "surface" }
|
|
1708
|
-
}] }
|
|
1724
|
+
textColorToken: "primaryForeground",
|
|
1725
|
+
borderRadius: "rounded-full",
|
|
1726
|
+
shadow: {
|
|
1727
|
+
elevation: "low",
|
|
1728
|
+
softness: "soft",
|
|
1729
|
+
position: "bottom"
|
|
1709
1730
|
},
|
|
1710
|
-
{
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
effectId: "background-on-hover",
|
|
1720
|
-
options: { colorToken: "surface" }
|
|
1721
|
-
}] }
|
|
1731
|
+
effects: {
|
|
1732
|
+
hover: [{
|
|
1733
|
+
effectId: "lift",
|
|
1734
|
+
options: { translateY: "-1px" }
|
|
1735
|
+
}],
|
|
1736
|
+
active: [{
|
|
1737
|
+
effectId: "scale-down",
|
|
1738
|
+
options: { scale: "0.98" }
|
|
1739
|
+
}]
|
|
1722
1740
|
}
|
|
1723
|
-
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
id: "secondary",
|
|
1744
|
+
name: "Secondary",
|
|
1745
|
+
enabled: true,
|
|
1746
|
+
priority: 2,
|
|
1747
|
+
background: { type: "transparent" },
|
|
1748
|
+
textColorToken: "primary",
|
|
1749
|
+
borderRadius: "rounded-full",
|
|
1750
|
+
border: {
|
|
1751
|
+
widthClass: "border-2",
|
|
1752
|
+
colorToken: "primary"
|
|
1753
|
+
},
|
|
1754
|
+
effects: { hover: [{
|
|
1755
|
+
effectId: "background-on-hover",
|
|
1756
|
+
options: { colorToken: "surface" }
|
|
1757
|
+
}] }
|
|
1758
|
+
},
|
|
1759
|
+
{
|
|
1760
|
+
id: "outline",
|
|
1761
|
+
name: "Outline",
|
|
1762
|
+
enabled: true,
|
|
1763
|
+
priority: 3,
|
|
1764
|
+
background: { type: "transparent" },
|
|
1765
|
+
textColorToken: "text",
|
|
1766
|
+
borderRadius: "rounded-full",
|
|
1767
|
+
border: {
|
|
1768
|
+
widthClass: "border",
|
|
1769
|
+
colorToken: "border"
|
|
1770
|
+
},
|
|
1771
|
+
effects: { hover: [{
|
|
1772
|
+
effectId: "background-on-hover",
|
|
1773
|
+
options: { colorToken: "surface" }
|
|
1774
|
+
}] }
|
|
1775
|
+
},
|
|
1776
|
+
{
|
|
1777
|
+
id: "ghost",
|
|
1778
|
+
name: "Ghost",
|
|
1779
|
+
enabled: true,
|
|
1780
|
+
priority: 3,
|
|
1781
|
+
background: { type: "transparent" },
|
|
1782
|
+
textColorToken: "text",
|
|
1783
|
+
borderRadius: "rounded-full",
|
|
1784
|
+
effects: { hover: [{
|
|
1785
|
+
effectId: "background-on-hover",
|
|
1786
|
+
options: { colorToken: "surface" }
|
|
1787
|
+
}] }
|
|
1788
|
+
}
|
|
1789
|
+
]
|
|
1790
|
+
}
|
|
1791
|
+
});
|
|
1792
|
+
//#endregion
|
|
1793
|
+
//#region ../theme-core/src/buttons/personalities/two-tone-pill.ts
|
|
1794
|
+
const solidSecondary = {
|
|
1795
|
+
id: "secondary",
|
|
1796
|
+
name: "Secondary",
|
|
1797
|
+
enabled: true,
|
|
1798
|
+
priority: 2,
|
|
1799
|
+
background: {
|
|
1800
|
+
type: "solid",
|
|
1801
|
+
colorToken: "secondary"
|
|
1802
|
+
},
|
|
1803
|
+
textColorToken: "onSecondary",
|
|
1804
|
+
borderRadius: "rounded-full",
|
|
1805
|
+
shadow: {
|
|
1806
|
+
elevation: "none",
|
|
1807
|
+
softness: null,
|
|
1808
|
+
position: "bottom"
|
|
1809
|
+
},
|
|
1810
|
+
effects: {
|
|
1811
|
+
hover: [{
|
|
1812
|
+
effectId: "background-on-hover-alpha",
|
|
1813
|
+
options: {
|
|
1814
|
+
colorToken: "secondary",
|
|
1815
|
+
opacity: 88
|
|
1816
|
+
}
|
|
1817
|
+
}],
|
|
1818
|
+
active: [{
|
|
1819
|
+
effectId: "scale-down",
|
|
1820
|
+
options: { scale: "0.98" }
|
|
1821
|
+
}]
|
|
1822
|
+
}
|
|
1823
|
+
};
|
|
1824
|
+
//#endregion
|
|
1825
|
+
//#region ../theme-core/src/buttons/personalities/index.ts
|
|
1826
|
+
const buttonPersonalities = [
|
|
1827
|
+
softPill,
|
|
1828
|
+
defineButtonPersonality({
|
|
1829
|
+
id: "two-tone-pill",
|
|
1830
|
+
name: "Two-tone Pill",
|
|
1831
|
+
description: "Rounded pills with distinct solid primary and secondary brand colours.",
|
|
1832
|
+
tags: softPill.tags,
|
|
1833
|
+
buttonSystem: {
|
|
1834
|
+
...softPill.buttonSystem,
|
|
1835
|
+
variants: softPill.buttonSystem.variants.map((variant) => variant.id === "secondary" ? solidSecondary : variant)
|
|
1724
1836
|
}
|
|
1725
1837
|
}),
|
|
1726
1838
|
earthPill,
|
|
@@ -1732,7 +1844,8 @@ const buttonPersonalities = [
|
|
|
1732
1844
|
brushedWash,
|
|
1733
1845
|
showtimePill,
|
|
1734
1846
|
joyStamp,
|
|
1735
|
-
ornateRitual
|
|
1847
|
+
ornateRitual,
|
|
1848
|
+
quietArrow
|
|
1736
1849
|
];
|
|
1737
1850
|
new Map(buttonPersonalities.map((p) => [p.id, p]));
|
|
1738
1851
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
1
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BRWBiH7i.mjs";
|
|
2
2
|
import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
|
|
3
3
|
import { n as normalizeCarouselProps, t as CarouselNodeClient } from "./carousel.client-CpwTUhIo.mjs";
|
|
4
4
|
import "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
-
import { t as CartController } from "./shop-commerce-
|
|
3
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
1
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BRWBiH7i.mjs";
|
|
2
|
+
import { t as CartController } from "./shop-commerce-BuxsFate.mjs";
|
|
3
|
+
import { t as mountShopBlockIsland } from "./shopShared-D2naaOes.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region ../blocks/src/system/runtime/nodes/cart.client.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
-
import { n as CheckoutController } from "./shop-commerce-
|
|
3
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
1
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BRWBiH7i.mjs";
|
|
2
|
+
import { n as CheckoutController } from "./shop-commerce-BuxsFate.mjs";
|
|
3
|
+
import { t as mountShopBlockIsland } from "./shopShared-D2naaOes.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region ../blocks/src/system/runtime/nodes/checkout.client.tsx
|