@riverbankcms/sdk 0.101.0 → 0.102.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-DBpy0KTh.mjs → PreviewEditorSidebar-BKkhhkJk.mjs} +358 -68
- package/dist/{PreviewEditorUI-Fg6I2R2T.mjs → PreviewEditorUI-DIvTqcqI.mjs} +3 -3
- package/dist/{PreviewQueryProvider-BICQLAUF.mjs → PreviewQueryProvider-ZF6TXq5Q.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-DFQP-Q53.mjs → SdkPreviewModeRuntime-CA2k7Z_T.mjs} +200 -122
- package/dist/{SiteChromeCustomizeContext-GwZc89KN.mjs → SiteChromeCustomizeContext-Bh9-DtMQ.mjs} +203 -34
- package/dist/_dts/ai/src/designer/rfc6902.d.ts +57 -1
- package/dist/_dts/ai/src/designer/themePatch.d.ts +16 -6
- package/dist/_dts/api/src/bookingVerticals.d.ts +53 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +1 -0
- package/dist/_dts/blocks/src/bindings/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/layout.d.ts +1 -0
- package/dist/_dts/content-editor/src/index.d.ts +1 -0
- package/dist/_dts/core/src/branded.d.ts +4 -0
- package/dist/_dts/core/src/person-records.d.ts +6 -1
- package/dist/_dts/media-core/src/identifiers.d.ts +14 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/applyPreviewProjections.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +43 -7
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorApplyPayload.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/typographySelectionInput.d.ts +4 -2
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +4 -2
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +6 -1
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +3 -3
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +24 -1
- package/dist/cli/index.mjs +31 -15
- package/dist/client/client.mjs +44 -16
- package/dist/client/hooks.mjs +14 -5
- package/dist/client/rendering/client.mjs +21 -13
- package/dist/client/rendering.mjs +43 -15
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/{previewAuthStore-Da74OL0X.mjs → previewAuthStore-ByPPZqmp.mjs} +1 -0
- package/dist/{sdk-runtime-CP6Kwalv.mjs → sdk-runtime-K8Oqj97H.mjs} +2 -2
- package/dist/{separator-BVk7GvGN.mjs → separator-CRoP34pT.mjs} +1 -1
- package/dist/server/components.mjs +37 -13
- package/dist/server/config-validation.mjs +14 -5
- package/dist/server/config.mjs +14 -5
- package/dist/server/data.mjs +14 -5
- package/dist/server/index.mjs +2 -2
- package/dist/server/next.mjs +38 -14
- package/dist/server/page-converter.mjs +7 -4
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +37 -13
- package/dist/server/rendering.mjs +37 -13
- package/dist/server/routing.mjs +16 -6
- package/dist/server/server.mjs +15 -6
- package/dist/server/theme-bridge.mjs +5 -4
- package/dist/server/theme.mjs +1 -0
- package/package.json +1 -1
package/dist/server/server.mjs
CHANGED
|
@@ -6918,7 +6918,7 @@ const API_ENDPOINTS$1 = {
|
|
|
6918
6918
|
//#region ../surfaces/src/index.ts
|
|
6919
6919
|
const SURFACE_IDS = ["core", "macadamia"];
|
|
6920
6920
|
const DEFAULT_SURFACE_ID = "core";
|
|
6921
|
-
SURFACE_IDS.filter((surfaceId) => surfaceId !== DEFAULT_SURFACE_ID);
|
|
6921
|
+
[...SURFACE_IDS.filter((surfaceId) => surfaceId !== DEFAULT_SURFACE_ID)];
|
|
6922
6922
|
//#endregion
|
|
6923
6923
|
//#region ../api/src/url.ts
|
|
6924
6924
|
function looksLikeLocalAuthority(authority) {
|
|
@@ -7527,7 +7527,7 @@ var SimpleCache = class {
|
|
|
7527
7527
|
* 1. This constant
|
|
7528
7528
|
* 2. The "version" field in package.json
|
|
7529
7529
|
*/
|
|
7530
|
-
const SDK_VERSION = "0.
|
|
7530
|
+
const SDK_VERSION = "0.102.0";
|
|
7531
7531
|
//#endregion
|
|
7532
7532
|
//#region src/client/error.ts
|
|
7533
7533
|
let _Symbol$for;
|
|
@@ -13737,6 +13737,7 @@ const themeV2RuntimeStyleFieldNames = [
|
|
|
13737
13737
|
"_sectionStyles",
|
|
13738
13738
|
"_containerStyles",
|
|
13739
13739
|
"_cardStyles",
|
|
13740
|
+
"_transitionStyles",
|
|
13740
13741
|
"styleGroup"
|
|
13741
13742
|
];
|
|
13742
13743
|
const themeV2BlockSpecificRawStyleFieldNames = [
|
|
@@ -17596,12 +17597,12 @@ const headerStyleCatalog = defineExactCatalog()([
|
|
|
17596
17597
|
},
|
|
17597
17598
|
{
|
|
17598
17599
|
id: asHeaderStyleId("fine-line"),
|
|
17599
|
-
label: "
|
|
17600
|
-
description: "
|
|
17600
|
+
label: "Seamless",
|
|
17601
|
+
description: "Borderless surface with underline hover for a quieter page transition.",
|
|
17601
17602
|
supportedLayoutIds: supportedLayouts(["classic", "centered"]),
|
|
17602
17603
|
navInteraction: "underline-grow",
|
|
17603
|
-
surface: "
|
|
17604
|
-
defaultDepth: "
|
|
17604
|
+
surface: "neutral",
|
|
17605
|
+
defaultDepth: "none",
|
|
17605
17606
|
navTypography: "plain",
|
|
17606
17607
|
moods: [
|
|
17607
17608
|
"calm",
|
|
@@ -35549,6 +35550,7 @@ const eventListingBlockDefinition = {
|
|
|
35549
35550
|
} },
|
|
35550
35551
|
seeAllUrl: { $bind: {
|
|
35551
35552
|
from: "content.seeAllUrl",
|
|
35553
|
+
fallback: "",
|
|
35552
35554
|
transforms: [{ id: "links.resolve" }]
|
|
35553
35555
|
} },
|
|
35554
35556
|
loadMoreText: { $bind: {
|
|
@@ -35852,6 +35854,7 @@ const eventCalendarLayout = [styledSection({
|
|
|
35852
35854
|
} },
|
|
35853
35855
|
seeAllUrl: { $bind: {
|
|
35854
35856
|
from: "content.seeAllUrl",
|
|
35857
|
+
fallback: "",
|
|
35855
35858
|
transforms: [{ id: "links.resolve" }]
|
|
35856
35859
|
} },
|
|
35857
35860
|
loadMoreText: { $bind: {
|
|
@@ -43346,6 +43349,7 @@ const VERTICAL_IDS = [
|
|
|
43346
43349
|
"training_provider",
|
|
43347
43350
|
"retreat_centre",
|
|
43348
43351
|
"music_school",
|
|
43352
|
+
"voice_singing",
|
|
43349
43353
|
"performing_arts_school",
|
|
43350
43354
|
"community_wellbeing",
|
|
43351
43355
|
"venue_event_space"
|
|
@@ -43398,6 +43402,11 @@ const VERTICAL_BOOKING_PRESETS = [
|
|
|
43398
43402
|
preset("music_school.terms", "music_school", "course", "Term", "Terms", "Multi-week term blocks or fixed-date group courses."),
|
|
43399
43403
|
preset("music_school.workshops", "music_school", "workshop", "Workshop", "Workshops", "One-off workshops, masterclasses, or intensives."),
|
|
43400
43404
|
preset("music_school.performances", "music_school", "performance", "Performance", "Performances", "Concerts, recitals, showcases, or ticketed performances."),
|
|
43405
|
+
preset("voice_singing.lessons", "voice_singing", "appointment", "Voice session", "Voice sessions", "One-to-one singing lessons, voice coaching, or private practice sessions."),
|
|
43406
|
+
preset("voice_singing.classes", "voice_singing", "class", "Ongoing weekly session", "Ongoing weekly sessions", "Regular choirs, voice circles, community singing, or group practice."),
|
|
43407
|
+
preset("voice_singing.terms", "voice_singing", "course", "Singing term", "Singing terms", "Multi-week choir terms, voice courses, or fixed-date group programmes."),
|
|
43408
|
+
preset("voice_singing.workshops", "voice_singing", "workshop", "Workshop", "Workshops", "One-off singing workshops, voice journeys, or devotional singing sessions."),
|
|
43409
|
+
preset("voice_singing.performances", "voice_singing", "performance", "Performance", "Performances", "Choir concerts, sharing events, recitals, or community performances."),
|
|
43401
43410
|
preset("performing_arts_school.classes", "performing_arts_school", "class", "Class", "Classes", "Regular group classes, rehearsals, or weekly sessions."),
|
|
43402
43411
|
preset("performing_arts_school.terms", "performing_arts_school", "course", "Term", "Terms", "Multi-week term blocks or fixed-date course groups."),
|
|
43403
43412
|
preset("performing_arts_school.workshops", "performing_arts_school", "workshop", "Workshop", "Workshops", "One-off workshops, masterclasses, or intensives."),
|
|
@@ -3009,6 +3009,7 @@ const themeV2RuntimeStyleFieldNames = [
|
|
|
3009
3009
|
"_sectionStyles",
|
|
3010
3010
|
"_containerStyles",
|
|
3011
3011
|
"_cardStyles",
|
|
3012
|
+
"_transitionStyles",
|
|
3012
3013
|
"styleGroup"
|
|
3013
3014
|
];
|
|
3014
3015
|
const themeV2BlockSpecificRawStyleFieldNames = [
|
|
@@ -5768,12 +5769,12 @@ const headerStyleCatalog = defineExactCatalog()([
|
|
|
5768
5769
|
},
|
|
5769
5770
|
{
|
|
5770
5771
|
id: asHeaderStyleId("fine-line"),
|
|
5771
|
-
label: "
|
|
5772
|
-
description: "
|
|
5772
|
+
label: "Seamless",
|
|
5773
|
+
description: "Borderless surface with underline hover for a quieter page transition.",
|
|
5773
5774
|
supportedLayoutIds: supportedLayouts(["classic", "centered"]),
|
|
5774
5775
|
navInteraction: "underline-grow",
|
|
5775
|
-
surface: "
|
|
5776
|
-
defaultDepth: "
|
|
5776
|
+
surface: "neutral",
|
|
5777
|
+
defaultDepth: "none",
|
|
5777
5778
|
navTypography: "plain",
|
|
5778
5779
|
moods: [
|
|
5779
5780
|
"calm",
|
package/dist/server/theme.mjs
CHANGED