@riverbankcms/sdk 0.108.0 → 0.111.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 +21 -1
- package/dist/{PreviewEditorSidebar-BBT-kZAM.mjs → PreviewEditorSidebar-CTR6LUhN.mjs} +181 -135
- package/dist/{PreviewEditorUI-D69xNKT2.mjs → PreviewEditorUI-DZg15Zip.mjs} +3 -4
- package/dist/{PreviewQueryProvider-RRu7wyQ5.mjs → PreviewQueryProvider-kkmjklLG.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-CuDjXH6o.mjs → SdkPreviewModeRuntime-DeOTAFvR.mjs} +436 -367
- package/dist/{SiteChromeCustomizeContext-BQUY2dEk.mjs → SiteChromeCustomizeContext-DOSDLCiJ.mjs} +3442 -3029
- package/dist/_dts/ai/src/contracts/proposals.d.ts +12633 -10490
- package/dist/_dts/api/src/bookingAdjustments.d.ts +5 -0
- package/dist/_dts/api/src/bookingOperations.d.ts +4 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +2 -17
- package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +6 -6
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +5 -5
- package/dist/_dts/api/src/common/envelope.d.ts +7 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +4 -1
- package/dist/_dts/api/src/courses.d.ts +31 -15
- package/dist/_dts/api/src/customerMembershipOutcomes.d.ts +5 -5
- package/dist/_dts/api/src/endpoints.d.ts +49 -4
- package/dist/_dts/api/src/index.d.ts +3 -3
- package/dist/_dts/api/src/participantMessaging.d.ts +18 -12
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +1 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +259 -1
- package/dist/_dts/api/src/siteInfrastructure.d.ts +13 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +6 -6
- package/dist/_dts/api/src/siteOperations.d.ts +11 -19
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +29 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +37 -31
- package/dist/_dts/api/src/webhooks.d.ts +98 -1
- package/dist/_dts/billing/src/site-arrangements.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientField.d.ts +9 -0
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts +3 -4
- package/dist/_dts/blocks/src/client/course-registration.d.ts +4 -1
- package/dist/_dts/blocks/src/client.d.ts +4 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +8 -8
- package/dist/_dts/blocks/src/index.d.ts +4 -2
- package/dist/_dts/blocks/src/system/blocks/audio-player.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/body-text.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/contact-newsletter.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +3 -23
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/cta-full.d.ts +5 -4
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +3 -23
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +5 -1
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +5 -1
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/single-button.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/video-grid.d.ts +3 -0
- package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
- package/dist/_dts/blocks/src/system/constants/buttonRoles.d.ts +35 -0
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +16 -6
- package/dist/_dts/blocks/src/system/defineBlock.d.ts +9 -1
- package/dist/_dts/blocks/src/system/fields/button.d.ts +10 -21
- package/dist/_dts/blocks/src/system/fields/ctas.d.ts +10 -1
- package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +9 -5
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +31 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +24 -24
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +12 -12
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +29 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/buttonAffordance.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/ErrorStep.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PaymentFailedStep.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/VerifyingTimeoutStep.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.contract.d.ts +326 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.planning.d.ts +27 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/file-download.d.ts +2 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +7 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +7 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/shared/types.d.ts +2 -1
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +4 -2
- package/dist/_dts/content-editor/src/index.d.ts +12 -12
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +17 -2
- package/dist/_dts/content-model/src/content-types/entryValidation.d.ts +31 -0
- package/dist/_dts/content-model/src/content-types/scaffold.d.ts +58 -0
- package/dist/_dts/content-model/src/content-types/sentinels.d.ts +36 -0
- package/dist/_dts/content-model/src/index.d.ts +3 -0
- package/dist/_dts/core/src/booking-date-time.d.ts +8 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +3278 -3196
- package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +3 -2
- package/dist/_dts/media-core/src/fileMimeDetection.d.ts +16 -0
- package/dist/_dts/media-core/src/fileStorage.d.ts +8 -0
- package/dist/_dts/media-core/src/storagePathDomain.d.ts +2 -0
- package/dist/_dts/media-core/src/uploadVerificationContract.d.ts +3 -0
- package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/index.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/ButtonStylePicker.d.ts +16 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignOpenRequestContext.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +5 -11
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +5 -6
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +6 -7
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +7 -9
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +4 -11
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +8 -7
- package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +0 -8
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +1 -11
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +1 -5
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +2 -3
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +3 -4
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorApplyPayload.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +3 -5
- package/dist/_dts/sdk/src/bookings/index.d.ts +5 -4
- package/dist/_dts/sdk/src/bookings/types.d.ts +3 -3
- package/dist/_dts/sdk/src/cli/commands/audit.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/compare.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/deploy.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/drafts.d.ts +18 -0
- package/dist/_dts/sdk/src/cli/commands/entry.d.ts +15 -0
- package/dist/_dts/sdk/src/cli/commands/init-docs.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/commands/publish-all.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/pull.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/commands/push/execute/diff.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +3 -0
- package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +12 -1
- package/dist/_dts/sdk/src/cli/commands/setup.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +3 -2
- package/dist/_dts/sdk/src/cli/commands/verify.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/helpers.d.ts +22 -1
- package/dist/_dts/sdk/src/cli/index.d.ts +4 -0
- package/dist/_dts/sdk/src/cli/output.d.ts +88 -0
- package/dist/_dts/sdk/src/cli/program.d.ts +29 -0
- package/dist/_dts/sdk/src/cli/push-config.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/catalog.d.ts +10 -0
- package/dist/_dts/sdk/src/client/management/http.d.ts +7 -1
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +45 -20
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +12 -15
- package/dist/_dts/sdk/src/date-time/index.d.ts +68 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +3 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/sdk/src/webhooks/index.d.ts +1 -1
- package/dist/_dts/sdk/src/webhooks/verify.d.ts +3 -3
- package/dist/_dts/site-commands/src/commands.d.ts +1010 -817
- package/dist/_dts/theme-core/src/accordions/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/core.d.ts +15 -46
- package/dist/_dts/theme-core/src/buttons/effectClassification.d.ts +147 -0
- package/dist/_dts/theme-core/src/buttons/effects/types.d.ts +2 -3
- package/dist/_dts/theme-core/src/buttons/generateDefaultButtonSystem.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/index.d.ts +2 -1
- package/dist/_dts/theme-core/src/buttons/presets.d.ts +4 -25
- package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +100 -0
- package/dist/_dts/theme-core/src/buttons/resolvedButtonCss.d.ts +16 -0
- package/dist/_dts/theme-core/src/buttons/styles/domain.d.ts +80 -0
- package/dist/_dts/theme-core/src/buttons/styles/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/defineStaticButtonStyleRecipe.d.ts +49 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +67 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/staticRecipes.d.ts +649 -0
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +753 -0
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +69 -0
- package/dist/_dts/theme-core/src/buttons/types.d.ts +101 -83
- package/dist/_dts/theme-core/src/cards/types.d.ts +16 -16
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/gradients/presets.d.ts +200 -8
- package/dist/_dts/theme-core/src/gradients/utils.d.ts +6 -2
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +87 -126
- package/dist/_dts/theme-core/src/mock-themes/modern-minimal.d.ts +1 -1
- package/dist/_dts/theme-core/src/navigation/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/palette/curated/index.d.ts +2 -2
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +5 -8
- package/dist/_dts/theme-core/src/palette/index.d.ts +0 -1
- package/dist/_dts/theme-core/src/schema.d.ts +112 -138
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +26 -24
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +10 -10
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +19 -153
- package/dist/_dts/theme-core/src/site-styles/headerCtaVariants.d.ts +3 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +3 -2
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +13 -6
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +8 -9
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +33 -12
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +2 -2
- package/dist/_dts/ui/src/palette/hex.d.ts +3 -3
- package/dist/cli/index.mjs +68396 -67339
- package/dist/cli/init-docs/content/cli-reference.md +50 -7
- package/dist/cli/init-docs/content/content-management.md +7 -4
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +1 -1
- package/dist/cli/init-docs/content/workflow-publish.md +5 -1
- package/dist/client/{DiscountCodeDisclosure-D6TOf6Hi.mjs → DiscountCodeDisclosure-C4xvTBux.mjs} +1 -1
- package/dist/client/{EventCombined.client-Dao3zxRk.mjs → EventCombined.client-Cr7G131j.mjs} +2 -3
- package/dist/client/{EventListing.client-B2NNt4y1.mjs → EventListing.client-CAjbseNy.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BhwFo16w.mjs → LeafletStaticMap-BMlWfwz3.mjs} +1 -1
- package/dist/client/{MagicLinkForm-BWnB7cMR.mjs → MagicLinkForm-ChdFz96y.mjs} +1 -2
- package/dist/client/{StepIndicator-TzRiQ0BY.mjs → StepIndicator-7D3GaBeM.mjs} +2 -2
- package/dist/client/{accordion-BPy-AJ4_.mjs → accordion-D8JTs2Si.mjs} +1 -1
- package/dist/client/{bookingForm-BL4PGZds.mjs → bookingForm-H3DCRBHs.mjs} +6 -7
- package/dist/client/bookings.mjs +4649 -2767
- package/dist/client/{carousel-C2b7Cn9-.mjs → carousel-DMr_QWlz.mjs} +1 -1
- package/dist/client/{cart-BQcbXIVD.mjs → cart-DWMbfBdR.mjs} +3 -3
- package/dist/client/{checkout-DEmpGRJu.mjs → checkout-zmfdkXLx.mjs} +3 -3
- package/dist/client/client.mjs +3195 -2488
- package/dist/client/{colorStyles-jZS6KfkP.mjs → colorStyles-gcTh5yZT.mjs} +2 -41
- package/dist/client/{colorTokenParts-CMugwvX_.mjs → colorTokenParts-FSS3al6l.mjs} +31 -1
- package/dist/client/{courseRegistration-BqRZPmsq.mjs → courseRegistration-Z_mn18jy.mjs} +100 -37
- package/dist/client/{eventCalendar-B8N_tSl5.mjs → eventCalendar-CYp0YJGF.mjs} +4 -5
- package/dist/client/{eventCombined-Gjn6gtq7.mjs → eventCombined-rKyYZUa9.mjs} +2 -2
- package/dist/client/{eventDetails-M-VCxA-r.mjs → eventDetails-X0ZaUuMj.mjs} +3 -3
- package/dist/client/{eventListing-DR19hqYi.mjs → eventListing-W1SuL7EP.mjs} +2 -2
- package/dist/client/{eventRegistration-BR02a0k3.mjs → eventRegistration-ClWricui.mjs} +6 -7
- package/dist/client/{form-LY2xIbwg.mjs → form--eKPwAAD.mjs} +1 -2
- package/dist/client/{headerSection-CYwwXJfh.mjs → headerSection-BSeGr-FS.mjs} +2 -3
- package/dist/client/hooks.mjs +2169 -2093
- package/dist/client/{locationMap-DWnBXrFq.mjs → locationMap-BpOrtNYn.mjs} +8 -5
- package/dist/client/{media-DHtSxS5V.mjs → media-DoF0dcVx.mjs} +4 -3
- package/dist/client/{newsletterForm-D9s-fQ2P.mjs → newsletterForm-Bt7it7Dy.mjs} +1 -2
- package/dist/client/{pricing-DDq80oYc.mjs → pricing-BTjSDDr4.mjs} +1 -1
- package/dist/client/{productDetail-B0SbWd45.mjs → productDetail-ICnVTcCg.mjs} +3 -3
- package/dist/client/{productList-PwYlZn0y.mjs → productList-ZHr6D604.mjs} +3 -3
- package/dist/client/{propsDecoder-BRWBiH7i.mjs → propsDecoder-wWN0tBDF.mjs} +2484 -223
- package/dist/client/rendering/client.mjs +2532 -2144
- package/dist/client/rendering/islands.mjs +20 -20
- package/dist/client/rendering.mjs +3322 -2462
- package/dist/client/{shop-CMwZPYME.mjs → shop-C1u_BUn0.mjs} +5 -6
- package/dist/client/{shop-commerce-BuxsFate.mjs → shop-commerce-CleZdRha.mjs} +5 -6
- package/dist/client/{shop-commerce-store-boYlEJ91.mjs → shop-commerce-store-ycnoB2Ce.mjs} +1 -1
- package/dist/client/{shopShared-D2naaOes.mjs → shopShared-CPhByt2a.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-D9RHpVoj.mjs → useDiscountCodeUi-cStSQI6C.mjs} +1 -1
- package/dist/client/{useEventFilters-igGiK1re.mjs → useEventFilters-DKPN7hSY.mjs} +46 -70
- package/dist/client/{usePolling-CI7MbsFB.mjs → usePolling-BKAd6pkZ.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +72 -6
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +72 -6
- package/dist/{previewAuthStore-a_cBD28m.mjs → previewAuthStore-BkT1D06A.mjs} +72 -6
- package/dist/{sdk-runtime-MBzD-GmP.mjs → sdk-runtime-hu3wr3ng.mjs} +2 -2
- package/dist/{separator-5ahRBC85.mjs → separator-Bln8izQ9.mjs} +1 -1
- package/dist/server/components.mjs +3123 -2391
- package/dist/server/config-validation.mjs +2169 -2093
- package/dist/server/config.mjs +2169 -2093
- package/dist/server/data.mjs +2169 -2093
- package/dist/server/date-time.mjs +386 -0
- package/dist/server/index.mjs +73 -7
- package/dist/server/next/revalidate.mjs +53 -1
- package/dist/server/next.mjs +3195 -2397
- package/dist/server/page-converter.mjs +2192 -1945
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +2844 -2325
- package/dist/server/rendering.mjs +3123 -2391
- package/dist/server/routing.mjs +2269 -2149
- package/dist/server/server.mjs +2244 -2102
- package/dist/server/theme-bridge.mjs +2720 -1887
- package/dist/server/theme.mjs +1669 -1322
- package/dist/server/webhooks.mjs +54 -2
- package/dist/styles/index.css +5 -0
- package/package.json +7 -1
- package/dist/_dts/theme-core/src/buttons/personalities/brushed-wash.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/confident-chip.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/earth-pill.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/editorial-link.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/flat-ink.d.ts +0 -20
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +0 -172
- package/dist/_dts/theme-core/src/buttons/personalities/ink-stamp.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/joy-stamp.d.ts +0 -22
- package/dist/_dts/theme-core/src/buttons/personalities/ornate-ritual.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/pebble.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/quiet-arrow.d.ts +0 -17
- package/dist/_dts/theme-core/src/buttons/personalities/showtime-pill.d.ts +0 -17
- package/dist/_dts/theme-core/src/buttons/personalities/soft-pill.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/two-tone-pill.d.ts +0 -17
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +0 -273
- package/dist/_dts/theme-core/src/buttons/presets/types.d.ts +0 -88
- package/dist/_dts/theme-core/src/buttons/utils/contrast.d.ts +0 -38
- package/dist/_dts/theme-core/src/palette/themePaletteCompatibility.d.ts +0 -57
- package/dist/client/buttons-EBjyslaX.mjs +0 -1852
package/dist/server/webhooks.mjs
CHANGED
|
@@ -13,7 +13,8 @@ const SUPPORTED_WEBHOOK_EVENTS = [
|
|
|
13
13
|
"entry.path_changed",
|
|
14
14
|
"navigation.updated",
|
|
15
15
|
"theme.updated",
|
|
16
|
-
"site.settings_updated"
|
|
16
|
+
"site.settings_updated",
|
|
17
|
+
"events.updated"
|
|
17
18
|
];
|
|
18
19
|
const WebhookEventSchema = z.enum(SUPPORTED_WEBHOOK_EVENTS);
|
|
19
20
|
function asRevalidationPath(path) {
|
|
@@ -89,6 +90,51 @@ const EntryPathChangedDataSchema = z.object({
|
|
|
89
90
|
}).strict();
|
|
90
91
|
const NavigationUpdatedDataSchema = z.object({ menuId: z.string().optional() }).strict();
|
|
91
92
|
const EmptyWebhookDataSchema = z.object({}).strict();
|
|
93
|
+
const EventSeriesPublicActionSchema = z.enum([
|
|
94
|
+
"created",
|
|
95
|
+
"updated",
|
|
96
|
+
"cancelled",
|
|
97
|
+
"archived",
|
|
98
|
+
"restored",
|
|
99
|
+
"deleted"
|
|
100
|
+
]);
|
|
101
|
+
const EventOccurrencePublicActionSchema = z.enum([
|
|
102
|
+
"created",
|
|
103
|
+
"updated",
|
|
104
|
+
"cancelled",
|
|
105
|
+
"deleted"
|
|
106
|
+
]);
|
|
107
|
+
const EventRegistrationCapacityActionSchema = z.enum([
|
|
108
|
+
"created",
|
|
109
|
+
"cancelled",
|
|
110
|
+
"hold_expired",
|
|
111
|
+
"waitlist_promoted"
|
|
112
|
+
]);
|
|
113
|
+
const EventsUpdatedDataSchema = z.discriminatedUnion("entity", [
|
|
114
|
+
z.object({
|
|
115
|
+
entity: z.literal("series"),
|
|
116
|
+
action: EventSeriesPublicActionSchema,
|
|
117
|
+
seriesId: z.string().min(1)
|
|
118
|
+
}).strict(),
|
|
119
|
+
z.object({
|
|
120
|
+
entity: z.literal("occurrence"),
|
|
121
|
+
action: EventOccurrencePublicActionSchema,
|
|
122
|
+
seriesId: z.string().min(1),
|
|
123
|
+
occurrenceId: z.string().min(1)
|
|
124
|
+
}).strict(),
|
|
125
|
+
z.object({
|
|
126
|
+
entity: z.literal("registration"),
|
|
127
|
+
action: EventRegistrationCapacityActionSchema,
|
|
128
|
+
seriesId: z.string().min(1),
|
|
129
|
+
occurrenceIds: z.tuple([z.string().min(1)]).rest(z.string().min(1))
|
|
130
|
+
}).strict()
|
|
131
|
+
]).superRefine((data, ctx) => {
|
|
132
|
+
if (data.entity === "registration" && new Set(data.occurrenceIds).size !== data.occurrenceIds.length) ctx.addIssue({
|
|
133
|
+
code: "custom",
|
|
134
|
+
path: ["occurrenceIds"],
|
|
135
|
+
message: "Occurrence IDs must be unique"
|
|
136
|
+
});
|
|
137
|
+
});
|
|
92
138
|
const WebhookPayloadBaseSchema = z.object({
|
|
93
139
|
timestamp: z.string(),
|
|
94
140
|
dispatchId: z.string().optional(),
|
|
@@ -140,6 +186,12 @@ const WebhookPayloadSchema = z.discriminatedUnion("event", [
|
|
|
140
186
|
WebhookPayloadBaseSchema.extend({
|
|
141
187
|
event: z.literal("site.settings_updated"),
|
|
142
188
|
data: EmptyWebhookDataSchema
|
|
189
|
+
}),
|
|
190
|
+
WebhookPayloadBaseSchema.extend({
|
|
191
|
+
event: z.literal("events.updated"),
|
|
192
|
+
dispatchId: z.string().min(1),
|
|
193
|
+
tags: z.array(z.string()).min(1),
|
|
194
|
+
data: EventsUpdatedDataSchema
|
|
143
195
|
})
|
|
144
196
|
]);
|
|
145
197
|
//#endregion
|
|
@@ -216,4 +268,4 @@ function parseWebhookPayload(body) {
|
|
|
216
268
|
};
|
|
217
269
|
}
|
|
218
270
|
//#endregion
|
|
219
|
-
export { RIVERBANK_SIGNATURE_PREFIX, SUPPORTED_WEBHOOK_EVENTS, WebhookEventSchema, WebhookPayloadSchema, normalizeRevalidationPath, parseRevalidationPath, parseWebhookPayload, unwrapRevalidationPath, verifyWebhookSignature };
|
|
271
|
+
export { EventsUpdatedDataSchema, RIVERBANK_SIGNATURE_PREFIX, SUPPORTED_WEBHOOK_EVENTS, WebhookEventSchema, WebhookPayloadSchema, normalizeRevalidationPath, parseRevalidationPath, parseWebhookPayload, unwrapRevalidationPath, verifyWebhookSignature };
|
package/dist/styles/index.css
CHANGED
|
@@ -7416,6 +7416,11 @@
|
|
|
7416
7416
|
flex-wrap: wrap;
|
|
7417
7417
|
}
|
|
7418
7418
|
|
|
7419
|
+
/* Text-style CTA actions belong to the section foreground contract. */
|
|
7420
|
+
:where(.theme-scope) [data-block="cta-full"] .cta-row .button-link {
|
|
7421
|
+
color: var(--rb-surface-link-color, var(--rb-surface-text-color, rgb(var(--tb-primary))));
|
|
7422
|
+
}
|
|
7423
|
+
|
|
7419
7424
|
|
|
7420
7425
|
|
|
7421
7426
|
/* =============================================================================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riverbankcms/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.111.0",
|
|
4
4
|
"description": "Riverbank CMS SDK for headless content consumption",
|
|
5
5
|
"main": "./dist/server/index.mjs",
|
|
6
6
|
"module": "./dist/server/index.mjs",
|
|
@@ -70,6 +70,12 @@
|
|
|
70
70
|
"react-server": "./dist/server/data.mjs",
|
|
71
71
|
"import": "./dist/server/data.mjs"
|
|
72
72
|
},
|
|
73
|
+
"./date-time": {
|
|
74
|
+
"types": "./dist/_dts/sdk/src/date-time/index.d.ts",
|
|
75
|
+
"browser": "./dist/server/date-time.mjs",
|
|
76
|
+
"react-server": "./dist/server/date-time.mjs",
|
|
77
|
+
"import": "./dist/server/date-time.mjs"
|
|
78
|
+
},
|
|
73
79
|
"./metadata": {
|
|
74
80
|
"types": "./dist/_dts/sdk/src/metadata/index.d.ts",
|
|
75
81
|
"react-server": "./dist/server/metadata.mjs",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Brushed Wash — gradient backgrounds that read as watercolour washes.
|
|
3
|
-
* Generous padding, soft shadows; pairs with vibrant organic brands.
|
|
4
|
-
*/
|
|
5
|
-
export declare const brushedWash: Readonly<{
|
|
6
|
-
id: import("./types").ButtonPersonalityId<"brushed-wash">;
|
|
7
|
-
name: string;
|
|
8
|
-
description: string;
|
|
9
|
-
tags: Readonly<Partial<Readonly<{
|
|
10
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
11
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
12
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
13
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
14
|
-
}>>>;
|
|
15
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
16
|
-
}>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Confident Chip — moderate-radius solid buttons that read as competent and
|
|
3
|
-
* direct. Default for Clear Professional; works for any modern brand voice.
|
|
4
|
-
*/
|
|
5
|
-
export declare const confidentChip: Readonly<{
|
|
6
|
-
id: import("./types").ButtonPersonalityId<"confident-chip">;
|
|
7
|
-
name: string;
|
|
8
|
-
description: string;
|
|
9
|
-
tags: Readonly<Partial<Readonly<{
|
|
10
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
11
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
12
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
13
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
14
|
-
}>>>;
|
|
15
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
16
|
-
}>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Earth Pill - warm studio pills with compact, primary-coloured ghost CTAs.
|
|
3
|
-
* Built for grounded editorial wellness styles such as Soft Earth.
|
|
4
|
-
*/
|
|
5
|
-
export declare const earthPill: Readonly<{
|
|
6
|
-
id: import("./types").ButtonPersonalityId<"earth-pill">;
|
|
7
|
-
name: string;
|
|
8
|
-
description: string;
|
|
9
|
-
tags: Readonly<Partial<Readonly<{
|
|
10
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
11
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
12
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
13
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
14
|
-
}>>>;
|
|
15
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
16
|
-
}>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Editorial Link — all variants are link-style with a growing underline.
|
|
3
|
-
* Default for Warm Editorial and Quiet Luxury; reads as refined and quiet.
|
|
4
|
-
*/
|
|
5
|
-
export declare const editorialLink: Readonly<{
|
|
6
|
-
id: import("./types").ButtonPersonalityId<"editorial-link">;
|
|
7
|
-
name: string;
|
|
8
|
-
description: string;
|
|
9
|
-
tags: Readonly<Partial<Readonly<{
|
|
10
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
11
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
12
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
13
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
14
|
-
}>>>;
|
|
15
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
16
|
-
}>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flat Ink — a solid ink primary, a hairline ghost secondary, and a single
|
|
3
|
-
* amber accent climax, all completely flat (no drop shadow) with a modest
|
|
4
|
-
* radius. Reads as grounded, editorial and clinician-precise: the Fulcrum
|
|
5
|
-
* physiotherapy voice. The primary shifts to the secondary (moss) on hover and
|
|
6
|
-
* every variant lifts 2px; the amber accent is meant to be used sparingly as
|
|
7
|
-
* the page's one conversion climax.
|
|
8
|
-
*/
|
|
9
|
-
export declare const flatInk: Readonly<{
|
|
10
|
-
id: import("./types").ButtonPersonalityId<"flat-ink">;
|
|
11
|
-
name: string;
|
|
12
|
-
description: string;
|
|
13
|
-
tags: Readonly<Partial<Readonly<{
|
|
14
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
15
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
16
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
17
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
18
|
-
}>>>;
|
|
19
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
20
|
-
}>;
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Button personality library.
|
|
3
|
-
*
|
|
4
|
-
* Each personality is a complete `ButtonSystem` tagged on the four style axes
|
|
5
|
-
* (tone / energy / motion / era). Curated site styles declare ordered
|
|
6
|
-
* personality choices for the picker. Tags stay available as authoring/audit
|
|
7
|
-
* metadata; they no longer drive the Style configurator's option shape.
|
|
8
|
-
*/
|
|
9
|
-
import type { ButtonPersonality, ButtonPersonalityId } from './types';
|
|
10
|
-
export type { ButtonPersonality, ButtonPersonalityId } from './types';
|
|
11
|
-
export { asButtonPersonalityId, buttonPersonalityIdSchema, buttonPersonalitySchema, defineButtonPersonality, } from './types';
|
|
12
|
-
export declare const buttonPersonalities: readonly [Readonly<{
|
|
13
|
-
id: ButtonPersonalityId<"soft-pill">;
|
|
14
|
-
name: string;
|
|
15
|
-
description: string;
|
|
16
|
-
tags: Readonly<Partial<Readonly<{
|
|
17
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
18
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
19
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
20
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
21
|
-
}>>>;
|
|
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;
|
|
34
|
-
}>, Readonly<{
|
|
35
|
-
id: ButtonPersonalityId<"earth-pill">;
|
|
36
|
-
name: string;
|
|
37
|
-
description: string;
|
|
38
|
-
tags: Readonly<Partial<Readonly<{
|
|
39
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
40
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
41
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
42
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
43
|
-
}>>>;
|
|
44
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
45
|
-
}>, Readonly<{
|
|
46
|
-
id: ButtonPersonalityId<"confident-chip">;
|
|
47
|
-
name: string;
|
|
48
|
-
description: string;
|
|
49
|
-
tags: Readonly<Partial<Readonly<{
|
|
50
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
51
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
52
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
53
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
54
|
-
}>>>;
|
|
55
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
56
|
-
}>, Readonly<{
|
|
57
|
-
id: ButtonPersonalityId<"editorial-link">;
|
|
58
|
-
name: string;
|
|
59
|
-
description: string;
|
|
60
|
-
tags: Readonly<Partial<Readonly<{
|
|
61
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
62
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
63
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
64
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
65
|
-
}>>>;
|
|
66
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
67
|
-
}>, Readonly<{
|
|
68
|
-
id: ButtonPersonalityId<"pebble">;
|
|
69
|
-
name: string;
|
|
70
|
-
description: string;
|
|
71
|
-
tags: Readonly<Partial<Readonly<{
|
|
72
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
73
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
74
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
75
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
76
|
-
}>>>;
|
|
77
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
78
|
-
}>, Readonly<{
|
|
79
|
-
id: ButtonPersonalityId<"ink-stamp">;
|
|
80
|
-
name: string;
|
|
81
|
-
description: string;
|
|
82
|
-
tags: Readonly<Partial<Readonly<{
|
|
83
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
84
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
85
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
86
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
87
|
-
}>>>;
|
|
88
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
89
|
-
}>, Readonly<{
|
|
90
|
-
id: ButtonPersonalityId<"flat-ink">;
|
|
91
|
-
name: string;
|
|
92
|
-
description: string;
|
|
93
|
-
tags: Readonly<Partial<Readonly<{
|
|
94
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
95
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
96
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
97
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
98
|
-
}>>>;
|
|
99
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
100
|
-
}>, Readonly<{
|
|
101
|
-
id: ButtonPersonalityId<"brushed-wash">;
|
|
102
|
-
name: string;
|
|
103
|
-
description: string;
|
|
104
|
-
tags: Readonly<Partial<Readonly<{
|
|
105
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
106
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
107
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
108
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
109
|
-
}>>>;
|
|
110
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
111
|
-
}>, Readonly<{
|
|
112
|
-
id: ButtonPersonalityId<"showtime-pill">;
|
|
113
|
-
name: string;
|
|
114
|
-
description: string;
|
|
115
|
-
tags: Readonly<Partial<Readonly<{
|
|
116
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
117
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
118
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
119
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
120
|
-
}>>>;
|
|
121
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
122
|
-
}>, Readonly<{
|
|
123
|
-
id: ButtonPersonalityId<"joy-stamp">;
|
|
124
|
-
name: string;
|
|
125
|
-
description: string;
|
|
126
|
-
tags: Readonly<Partial<Readonly<{
|
|
127
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
128
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
129
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
130
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
131
|
-
}>>>;
|
|
132
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
133
|
-
}>, Readonly<{
|
|
134
|
-
id: ButtonPersonalityId<"ornate-ritual">;
|
|
135
|
-
name: string;
|
|
136
|
-
description: string;
|
|
137
|
-
tags: Readonly<Partial<Readonly<{
|
|
138
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
139
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
140
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
141
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
142
|
-
}>>>;
|
|
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;
|
|
155
|
-
}>];
|
|
156
|
-
type UnbrandedButtonPersonalityId<TValue> = TValue extends infer TRaw & {
|
|
157
|
-
readonly __brand: 'ButtonPersonalityId';
|
|
158
|
-
} ? TRaw extends string ? TRaw : never : never;
|
|
159
|
-
export type KnownButtonPersonalityId = (typeof buttonPersonalities)[number]['id'];
|
|
160
|
-
export type KnownButtonPersonalityIdValue = UnbrandedButtonPersonalityId<KnownButtonPersonalityId>;
|
|
161
|
-
export declare function findButtonPersonality(id: ButtonPersonalityId): ButtonPersonality | undefined;
|
|
162
|
-
export declare function isKnownButtonPersonalityId(value: string): value is KnownButtonPersonalityId;
|
|
163
|
-
export type PersistedButtonPersonalityIdParseResult = Readonly<{
|
|
164
|
-
kind: 'known';
|
|
165
|
-
id: KnownButtonPersonalityId;
|
|
166
|
-
}> | Readonly<{
|
|
167
|
-
kind: 'unknown';
|
|
168
|
-
raw: string;
|
|
169
|
-
}> | Readonly<{
|
|
170
|
-
kind: 'empty';
|
|
171
|
-
}>;
|
|
172
|
-
export declare function parsePersistedButtonPersonalityId(value: string | null | undefined): PersistedButtonPersonalityIdParseResult;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Ink Stamp — solid earthy fills with a bordered, hand-stamped block-print
|
|
3
|
-
* feel. Reads as bold and handmade; suits expressive craft brands.
|
|
4
|
-
*/
|
|
5
|
-
export declare const inkStamp: Readonly<{
|
|
6
|
-
id: import("./types").ButtonPersonalityId<"ink-stamp">;
|
|
7
|
-
name: string;
|
|
8
|
-
description: string;
|
|
9
|
-
tags: Readonly<Partial<Readonly<{
|
|
10
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
11
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
12
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
13
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
14
|
-
}>>>;
|
|
15
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
16
|
-
}>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Joy Stamp — neo-brutalist pills with a hard, brand-coloured offset shadow
|
|
3
|
-
* that collapses as the button presses into it on hover. Authored for the
|
|
4
|
-
* Original Joy site style: a cream "stamp" shadow under the solid primary, and
|
|
5
|
-
* a brown shadow under the cream outline. Reads as bold, warm, and handmade.
|
|
6
|
-
*
|
|
7
|
-
* The coloured offset shadow relies on the per-variant `shadow.colorToken`
|
|
8
|
-
* extension; the press is the shared `press-down` effect, which matches its
|
|
9
|
-
* translate to each variant's own shadow offset.
|
|
10
|
-
*/
|
|
11
|
-
export declare const joyStamp: Readonly<{
|
|
12
|
-
id: import("./types").ButtonPersonalityId<"joy-stamp">;
|
|
13
|
-
name: string;
|
|
14
|
-
description: string;
|
|
15
|
-
tags: Readonly<Partial<Readonly<{
|
|
16
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
17
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
18
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
19
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
20
|
-
}>>>;
|
|
21
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
22
|
-
}>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Ornate Ritual — framed, ceremonial buttons with jewel-toned fills and
|
|
3
|
-
* deliberate spacing. Designed for music, ceremony, and soulful event sites.
|
|
4
|
-
*/
|
|
5
|
-
export declare const ornateRitual: Readonly<{
|
|
6
|
-
id: import("./types").ButtonPersonalityId<"ornate-ritual">;
|
|
7
|
-
name: string;
|
|
8
|
-
description: string;
|
|
9
|
-
tags: Readonly<Partial<Readonly<{
|
|
10
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
11
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
12
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
13
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
14
|
-
}>>>;
|
|
15
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
16
|
-
}>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Pebble — large pill primaries with generous padding. Reads as spa-luxurious
|
|
3
|
-
* and natural; pairs well with wellness/yoga/dance brands.
|
|
4
|
-
*/
|
|
5
|
-
export declare const pebble: Readonly<{
|
|
6
|
-
id: import("./types").ButtonPersonalityId<"pebble">;
|
|
7
|
-
name: string;
|
|
8
|
-
description: string;
|
|
9
|
-
tags: Readonly<Partial<Readonly<{
|
|
10
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
11
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
12
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
13
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
14
|
-
}>>>;
|
|
15
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
16
|
-
}>;
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
}>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Showtime Pill — bold, spacious, fully rounded buttons with playful pop
|
|
3
|
-
* motion. Suits energetic schools, performers, festivals, and community brands
|
|
4
|
-
* that need calls to action to feel loud without becoming visually chaotic.
|
|
5
|
-
*/
|
|
6
|
-
export declare const showtimePill: Readonly<{
|
|
7
|
-
id: import("./types").ButtonPersonalityId<"showtime-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
|
-
}>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Soft Pill — rounded-full pill buttons with a hover lift. The default for
|
|
3
|
-
* Calm Studio and Modern Wellness; reads as quietly modern and welcoming.
|
|
4
|
-
*/
|
|
5
|
-
export declare const softPill: Readonly<{
|
|
6
|
-
id: import("./types").ButtonPersonalityId<"soft-pill">;
|
|
7
|
-
name: string;
|
|
8
|
-
description: string;
|
|
9
|
-
tags: Readonly<Partial<Readonly<{
|
|
10
|
-
tone: import("../../../../blocks/src/index").StyleTone;
|
|
11
|
-
energy: import("../../../../blocks/src/index").StyleEnergy;
|
|
12
|
-
motion: import("../../../../blocks/src/index").StyleMotion;
|
|
13
|
-
era: import("../../../../blocks/src/index").StyleEra;
|
|
14
|
-
}>>>;
|
|
15
|
-
buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
|
|
16
|
-
}>;
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
}>;
|