@riverbankcms/sdk 0.74.0 → 0.75.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/dist/{PreviewEditorSidebar-5XL7M3OM.mjs → PreviewEditorSidebar-U2IHCBYN.mjs} +3 -3
- package/dist/{PreviewEditorUI-ZDFRDJID.mjs → PreviewEditorUI-ZGH2RQNP.mjs} +3 -3
- package/dist/SdkPreviewModeRuntime-MTUGBTLQ.mjs +8 -0
- package/dist/_dts/api/src/cache-tags.d.ts +22 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +1 -0
- package/dist/_dts/api/src/endpoints.d.ts +24 -24
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +2 -1
- package/dist/_dts/block-form/src/blockDraftSaveability.d.ts +4 -1
- package/dist/_dts/blocks/src/client/booking-form.d.ts +2 -0
- package/dist/_dts/blocks/src/client/carousel.d.ts +1 -0
- package/dist/_dts/blocks/src/client/course-registration.d.ts +2 -0
- package/dist/_dts/blocks/src/client/events.d.ts +4 -0
- package/dist/_dts/blocks/src/client/form.d.ts +2 -0
- package/dist/_dts/blocks/src/client/header.d.ts +1 -0
- package/dist/_dts/blocks/src/client/location-map.d.ts +1 -0
- package/dist/_dts/blocks/src/client/newsletter-form.d.ts +2 -0
- package/dist/_dts/blocks/src/client/shop.d.ts +6 -0
- package/dist/_dts/blocks/src/lib/video.d.ts +2 -0
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +21 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/index.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.client.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.server.d.ts +1 -0
- package/dist/_dts/content-editor/src/hooks/validateBlocksForPublish.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeEditableSurface.d.ts +12 -2
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/islands/deferredVideoEmbeds.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/server.d.ts +3 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/{chunk-YY7K3QD2.mjs → chunk-BGMNDF6T.mjs} +7 -7
- package/dist/{chunk-2MIWNFJM.mjs → chunk-GFE74WRD.mjs} +309 -84
- package/dist/{chunk-CEQBBLMJ.mjs → chunk-RWXQBRQZ.mjs} +1 -1
- package/dist/{chunk-7RX72SK2.mjs → chunk-VX7B5VAC.mjs} +36 -25
- package/dist/{chunk-YRJKZEQ3.mjs → chunk-Z7JLNTJR.mjs} +1 -1
- package/dist/{chunk-CBD47MTM.mjs → chunk-ZSHFGFUG.mjs} +2 -2
- package/dist/cli/index.mjs +3395 -3753
- package/dist/client/{accordion-ZZVXWV3N.mjs → accordion-T2UD2ZTH.mjs} +1 -1
- package/dist/client/bookingForm-GUP75FKN.mjs +3022 -0
- package/dist/client/bookings.mjs +19 -10
- package/dist/client/{carousel-25WK2H7G.mjs → carousel-2NQA6V57.mjs} +3 -2
- package/dist/client/cart-5TFIAFDS.mjs +18 -0
- package/dist/client/checkout-TP4WAHZE.mjs +18 -0
- package/dist/client/chunk-2PHQZ666.mjs +383 -0
- package/dist/client/chunk-3DCJ45Z2.mjs +36 -0
- package/dist/client/chunk-3PEDD5KJ.mjs +146 -0
- package/dist/client/chunk-CY2ZTSE5.mjs +204 -0
- package/dist/client/chunk-F7LHOKEH.mjs +146 -0
- package/dist/client/{chunk-6VGXRE34.mjs → chunk-FU2QRZMX.mjs} +6 -6
- package/dist/client/chunk-I2MMZO53.mjs +6 -0
- package/dist/client/chunk-II7O4XN3.mjs +2206 -0
- package/dist/client/chunk-M3L3KYYR.mjs +1181 -0
- package/dist/client/chunk-NWOUL6JY.mjs +1378 -0
- package/dist/client/chunk-OJPZEZU2.mjs +31 -0
- package/dist/client/chunk-RTZ3JKKX.mjs +178 -0
- package/dist/client/chunk-TQ5MSPDX.mjs +74 -0
- package/dist/client/chunk-VUAOE3AG.mjs +5592 -0
- package/dist/client/chunk-WJXXNDSE.mjs +245 -0
- package/dist/client/chunk-YLMKMCSJ.mjs +86 -0
- package/dist/client/chunk-ZLMS67RR.mjs +106 -0
- package/dist/client/client.mjs +51626 -52074
- package/dist/client/courseRegistration-5DPU6PDY.mjs +1737 -0
- package/dist/client/{eventCalendar-X6GIPYFM.mjs → eventCalendar-F3GZGTEF.mjs} +13 -2
- package/dist/client/{eventCombined-EZUOPM3G.mjs → eventCombined-BQOB6QMY.mjs} +13 -2
- package/dist/client/eventDetails-PEM2EJWE.mjs +25 -0
- package/dist/client/{eventListing-HEFGAETC.mjs → eventListing-YMIQPVME.mjs} +13 -2
- package/dist/client/{eventRegistration-3LCP2V3P.mjs → eventRegistration-4I6ZNDUF.mjs} +13 -2
- package/dist/client/form-ZJVAYZ6G.mjs +300 -0
- package/dist/client/headerSection-TOT5MGTF.mjs +729 -0
- package/dist/client/hooks.mjs +49 -33
- package/dist/client/locationMap-J66NZREU.mjs +227 -0
- package/dist/client/newsletterForm-ET2XUMRO.mjs +208 -0
- package/dist/client/productDetail-C2XIH7C5.mjs +18 -0
- package/dist/client/productList-T2AZLFTP.mjs +18 -0
- package/dist/client/rendering/client.mjs +11763 -12445
- package/dist/client/rendering/islands.mjs +98 -21
- package/dist/client/rendering.mjs +46778 -47229
- package/dist/client/shop-UZ6IUZXD.mjs +20 -0
- package/dist/preview-next/before-render.mjs +37 -25
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/middleware.mjs +37 -25
- package/dist/{sdk-runtime-OHNONZ5U.mjs → sdk-runtime-JCUQM63Y.mjs} +6 -6
- package/dist/server/components.mjs +409 -266
- package/dist/server/config-validation.mjs +49 -33
- package/dist/server/config.mjs +49 -33
- package/dist/server/data.mjs +49 -33
- package/dist/server/index.mjs +45 -33
- package/dist/server/next.mjs +405 -262
- package/dist/server/page-converter.mjs +12 -8
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +493 -265
- package/dist/server/rendering.mjs +411 -268
- package/dist/server/routing.mjs +49 -33
- package/dist/server/server.mjs +50 -34
- package/dist/server/theme-bridge.mjs +5 -0
- package/dist/styles/index.css +5 -0
- package/package.json +2 -1
- package/dist/SdkPreviewModeRuntime-CRYNDSPL.mjs +0 -8
- package/dist/client/bookingForm-4X77HKDS.mjs +0 -34
- package/dist/client/cart-JWD2VRFU.mjs +0 -11
- package/dist/client/checkout-V7KYGWL7.mjs +0 -11
- package/dist/client/chunk-5IYGMTUE.mjs +0 -18614
- package/dist/client/chunk-RKCFVIMS.mjs +0 -26
- package/dist/client/courseRegistration-O6ZPK4YT.mjs +0 -29
- package/dist/client/eventDetails-3WODIXET.mjs +0 -14
- package/dist/client/form-AKXQMY6Z.mjs +0 -85
- package/dist/client/headerSection-5KHCMU6B.mjs +0 -12
- package/dist/client/locationMap-7HIADW76.mjs +0 -14
- package/dist/client/newsletterForm-5N4YTMU3.mjs +0 -60
- package/dist/client/productDetail-IZUA7ZP3.mjs +0 -11
- package/dist/client/productList-KWIIJE6I.mjs +0 -11
- package/dist/client/shop-XZQFRQWZ.mjs +0 -13
|
@@ -12948,7 +12948,7 @@ var cardStylingFields = [
|
|
|
12948
12948
|
description: "Text for the event action button",
|
|
12949
12949
|
required: false,
|
|
12950
12950
|
multiline: false,
|
|
12951
|
-
defaultValue: "
|
|
12951
|
+
defaultValue: "Book now",
|
|
12952
12952
|
maxLength: 40
|
|
12953
12953
|
}
|
|
12954
12954
|
];
|
|
@@ -13447,6 +13447,7 @@ var eventRegistrationBlockDefinition = {
|
|
|
13447
13447
|
limit: "50",
|
|
13448
13448
|
// Get more events for selection
|
|
13449
13449
|
stage: { $bind: { from: "$root.previewStage", fallback: "published" } },
|
|
13450
|
+
readProfile: "registration",
|
|
13450
13451
|
// When rendering on an event content entry page, scope the list to that entry so
|
|
13451
13452
|
// the wizard always includes the current event (and avoids stale cached "all events" responses).
|
|
13452
13453
|
entryId: { $bind: { from: "$root.contentEntry._entryId", fallback: "" } }
|
|
@@ -14247,7 +14248,7 @@ var eventSpotlightLayout = [
|
|
|
14247
14248
|
columns: { $bind: { from: "content.columns", fallback: "3" } },
|
|
14248
14249
|
cardVariant: { $bind: { from: "content.cardVariant", fallback: "default" } },
|
|
14249
14250
|
buttonVariant: { $bind: { from: "content.buttonVariant", fallback: "primary" } },
|
|
14250
|
-
buttonText: { $bind: { from: "content.buttonText", fallback: "
|
|
14251
|
+
buttonText: { $bind: { from: "content.buttonText", fallback: "Book now" } },
|
|
14251
14252
|
ctaLabel: { $bind: { from: "content.ctaLabel" } },
|
|
14252
14253
|
ctaUrl: { $bind: { from: "content.ctaUrl", transforms: [{ id: "links.resolve" }] } },
|
|
14253
14254
|
showVenue: { $bind: { from: "content.showVenue" } },
|
|
@@ -14291,7 +14292,8 @@ var eventSpotlightBlockDefinition = {
|
|
|
14291
14292
|
siteId: { $bind: { from: "$root.siteId" } },
|
|
14292
14293
|
limit: { $bind: { from: "content.maxEvents", fallback: "3" } },
|
|
14293
14294
|
stage: { $bind: { from: "$root.previewStage", fallback: "published" } },
|
|
14294
|
-
detailLevel: "listing"
|
|
14295
|
+
detailLevel: "listing",
|
|
14296
|
+
readProfile: "spotlight"
|
|
14295
14297
|
},
|
|
14296
14298
|
mode: "server"
|
|
14297
14299
|
}
|
|
@@ -14309,7 +14311,7 @@ var COLUMN_CLASSES = {
|
|
|
14309
14311
|
};
|
|
14310
14312
|
function getContainerClass(layout, columns) {
|
|
14311
14313
|
if (layout === "compact") {
|
|
14312
|
-
return "rb-flex rb-flex-col rb-gap-2";
|
|
14314
|
+
return "event-listing-compact-container rb-flex rb-flex-col rb-gap-2";
|
|
14313
14315
|
}
|
|
14314
14316
|
if (layout === "stack") {
|
|
14315
14317
|
return "rb-flex rb-flex-col rb-gap-6";
|
|
@@ -14437,7 +14439,7 @@ var eventListingBlockRuntime = defineProgressiveBlockRuntime({
|
|
|
14437
14439
|
containerClass: getContainerClass(layout, source.columns ?? "3"),
|
|
14438
14440
|
cardVariant: source.cardVariant ?? "default",
|
|
14439
14441
|
buttonVariant: source.buttonVariant ?? "primary",
|
|
14440
|
-
buttonText: source.buttonText ?? "
|
|
14442
|
+
buttonText: source.buttonText ?? "Book now",
|
|
14441
14443
|
showVenue: source.showVenue ?? true,
|
|
14442
14444
|
showMap: source.showMap ?? true,
|
|
14443
14445
|
showCapacity: source.showCapacity ?? true,
|
|
@@ -14672,7 +14674,7 @@ var eventListingLayout = [
|
|
|
14672
14674
|
loadMoreText: { $bind: { from: "content.loadMoreText", fallback: "Load more events" } },
|
|
14673
14675
|
cardVariant: { $bind: { from: "content.cardVariant", fallback: "default" } },
|
|
14674
14676
|
buttonVariant: { $bind: { from: "content.buttonVariant", fallback: "primary" } },
|
|
14675
|
-
buttonText: { $bind: { from: "content.buttonText", fallback: "
|
|
14677
|
+
buttonText: { $bind: { from: "content.buttonText", fallback: "Book now" } },
|
|
14676
14678
|
showVenue: { $bind: { from: "content.showVenue" } },
|
|
14677
14679
|
showMap: { $bind: { from: "content.showMap" } },
|
|
14678
14680
|
showCapacity: { $bind: { from: "content.showCapacity" } },
|
|
@@ -14750,6 +14752,7 @@ var eventListingBlockDefinition = {
|
|
|
14750
14752
|
limit: { $bind: { from: "content.eventsPerPage", fallback: "12" } },
|
|
14751
14753
|
stage: { $bind: { from: "$root.previewStage", fallback: "published" } },
|
|
14752
14754
|
detailLevel: "listing",
|
|
14755
|
+
readProfile: { $bind: { from: "content.layout", fallback: "listing-card" } },
|
|
14753
14756
|
kind: { $bind: { from: "content.kind" } },
|
|
14754
14757
|
eventSurface: { $bind: { from: "content.eventSurface" } },
|
|
14755
14758
|
eventPresets: {
|
|
@@ -14889,7 +14892,7 @@ function buildEventCalendarDisplay(source) {
|
|
|
14889
14892
|
),
|
|
14890
14893
|
filterVenueId: normalizeEventVenueId(source.filterVenueId),
|
|
14891
14894
|
buttonVariant: source.buttonVariant ?? "primary",
|
|
14892
|
-
buttonText: source.buttonText ?? "
|
|
14895
|
+
buttonText: source.buttonText ?? "Book now",
|
|
14893
14896
|
showVenue: source.showVenue ?? true,
|
|
14894
14897
|
showMap: source.showMap ?? true,
|
|
14895
14898
|
showCapacity: source.showCapacity ?? true,
|
|
@@ -15045,7 +15048,7 @@ var eventCalendarLayout = [
|
|
|
15045
15048
|
$bind: { from: "content.buttonVariant", fallback: "primary" }
|
|
15046
15049
|
},
|
|
15047
15050
|
buttonText: {
|
|
15048
|
-
$bind: { from: "content.buttonText", fallback: "
|
|
15051
|
+
$bind: { from: "content.buttonText", fallback: "Book now" }
|
|
15049
15052
|
},
|
|
15050
15053
|
emptyMessage: { $bind: { from: "content.emptyMessage" } }
|
|
15051
15054
|
})
|
|
@@ -15506,6 +15509,7 @@ var eventCalendarBlockDefinition = {
|
|
|
15506
15509
|
limit: 100,
|
|
15507
15510
|
stage: { $bind: { from: "$root.previewStage", fallback: "published" } },
|
|
15508
15511
|
detailLevel: "listing",
|
|
15512
|
+
readProfile: { $bind: { from: "content.variant", fallback: "listing-card" } },
|
|
15509
15513
|
// Pass filter params if configured
|
|
15510
15514
|
kind: { $bind: { from: "content.kind" } },
|
|
15511
15515
|
eventSurface: { $bind: { from: "content.eventSurface" } },
|