@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
package/dist/styles/index.css
CHANGED
|
@@ -8806,6 +8806,11 @@
|
|
|
8806
8806
|
* Dense row layout for event-calendar compact list mode
|
|
8807
8807
|
* ============================================================================= */
|
|
8808
8808
|
|
|
8809
|
+
:where(.theme-scope) .event-listing-compact-container {
|
|
8810
|
+
width: min(100%, 56rem);
|
|
8811
|
+
margin-inline: auto;
|
|
8812
|
+
}
|
|
8813
|
+
|
|
8809
8814
|
:where(.theme-scope) .event-compact-row {
|
|
8810
8815
|
display: flex;
|
|
8811
8816
|
align-items: center;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riverbankcms/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.75.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",
|
|
@@ -225,6 +225,7 @@
|
|
|
225
225
|
"typecheck": "tsc --noEmit",
|
|
226
226
|
"check:declaration-hygiene": "node scripts/check-declaration-hygiene.mjs",
|
|
227
227
|
"check:packed-exports": "node scripts/check-packed-exports.mjs",
|
|
228
|
+
"measure:public-bundles": "node scripts/measure-public-bundles.mjs --pretty",
|
|
228
229
|
"lint": "eslint --cache --cache-location node_modules/.cache/eslint/.eslintcache src",
|
|
229
230
|
"test": "vitest run",
|
|
230
231
|
"test:edge-smoke": "sh -c \"cd src/next/__fixtures__/edge-theme-smoke && mkdir -p node_modules/@riverbankcms && ln -sfn ../../../../../.. node_modules/@riverbankcms/sdk && NEXT_TELEMETRY_DISABLED=1 next build\"",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
export { SdkPreviewModeRuntime } from './chunk-YY7K3QD2.mjs';
|
|
3
|
-
import './chunk-YRJKZEQ3.mjs';
|
|
4
|
-
import './chunk-CEQBBLMJ.mjs';
|
|
5
|
-
import './chunk-CBD47MTM.mjs';
|
|
6
|
-
import './chunk-2MIWNFJM.mjs';
|
|
7
|
-
import './chunk-7RX72SK2.mjs';
|
|
8
|
-
import './chunk-XGB3TDIC.mjs';
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
2
|
-
import { BlockApiProvider, BookingFormClient } from './chunk-5IYGMTUE.mjs';
|
|
3
|
-
import { defineIslandPropsDecoder } from './chunk-6VGXRE34.mjs';
|
|
4
|
-
import './chunk-PMAIXMAB.mjs';
|
|
5
|
-
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
var decode = defineIslandPropsDecoder("booking-form");
|
|
8
|
-
var enhance = (root, props) => {
|
|
9
|
-
const { apiBaseUrl, portalToken } = props;
|
|
10
|
-
const formId = props.render.hydration.formId;
|
|
11
|
-
if (!formId) {
|
|
12
|
-
throw new Error("[sdk:islands] booking-form requires formId");
|
|
13
|
-
}
|
|
14
|
-
const siteId = props.siteId;
|
|
15
|
-
if (!siteId) {
|
|
16
|
-
throw new Error("[sdk:islands] booking-form requires siteId");
|
|
17
|
-
}
|
|
18
|
-
if (!apiBaseUrl) {
|
|
19
|
-
throw new Error("[sdk:islands] booking-form requires apiBaseUrl");
|
|
20
|
-
}
|
|
21
|
-
const apiConfig = {
|
|
22
|
-
baseUrl: apiBaseUrl,
|
|
23
|
-
auth: { type: "none" },
|
|
24
|
-
authOverrides: portalToken ? { portal: { type: "bearer", token: portalToken } } : void 0,
|
|
25
|
-
siteId
|
|
26
|
-
};
|
|
27
|
-
return mountReactIsland(root, ({ root: reactRoot }) => {
|
|
28
|
-
reactRoot.render(
|
|
29
|
-
/* @__PURE__ */ jsx(BlockApiProvider, { config: apiConfig, children: /* @__PURE__ */ jsx(BookingFormClient, { ...props }) })
|
|
30
|
-
);
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export { decode, enhance };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { mountShopBlockIsland } from './chunk-RKCFVIMS.mjs';
|
|
2
|
-
import './chunk-N7PBWBWQ.mjs';
|
|
3
|
-
import { CartClient } from './chunk-5IYGMTUE.mjs';
|
|
4
|
-
import { defineIslandPropsDecoder } from './chunk-6VGXRE34.mjs';
|
|
5
|
-
import './chunk-PMAIXMAB.mjs';
|
|
6
|
-
|
|
7
|
-
// src/rendering/islands/enhancers/cart.tsx
|
|
8
|
-
var decode = defineIslandPropsDecoder("cart");
|
|
9
|
-
var enhance = (root, props) => mountShopBlockIsland(root, props, CartClient, "cart");
|
|
10
|
-
|
|
11
|
-
export { decode, enhance };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { mountShopBlockIsland } from './chunk-RKCFVIMS.mjs';
|
|
2
|
-
import './chunk-N7PBWBWQ.mjs';
|
|
3
|
-
import { CheckoutClient } from './chunk-5IYGMTUE.mjs';
|
|
4
|
-
import { defineIslandPropsDecoder } from './chunk-6VGXRE34.mjs';
|
|
5
|
-
import './chunk-PMAIXMAB.mjs';
|
|
6
|
-
|
|
7
|
-
// src/rendering/islands/enhancers/checkout.tsx
|
|
8
|
-
var decode = defineIslandPropsDecoder("checkout");
|
|
9
|
-
var enhance = (root, props) => mountShopBlockIsland(root, props, CheckoutClient, "checkout");
|
|
10
|
-
|
|
11
|
-
export { decode, enhance };
|