@riverbankcms/sdk 0.78.2 → 0.80.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 +80 -0
- package/dist/PreviewEditorSidebar-QZG37QIF.mjs +2655 -0
- package/dist/{PreviewEditorUI-CS5P4N3P.mjs → PreviewEditorUI-AXIKSMZA.mjs} +27 -4
- package/dist/SdkPreviewModeRuntime-XE5M4UKM.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +56 -0
- package/dist/_dts/api/src/endpoints.d.ts +79 -0
- package/dist/_dts/api/src/index.d.ts +6 -4
- package/dist/_dts/api/src/media.d.ts +8 -1
- package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +1 -1
- package/dist/_dts/api/src/navigation/dashboardSiteNav.d.ts +8 -8
- package/dist/_dts/api/src/navigation/identity.d.ts +59 -0
- package/dist/_dts/api/src/navigation.d.ts +2 -0
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +4 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +1 -0
- package/dist/_dts/api/src/siteIcons.d.ts +128 -0
- package/dist/_dts/api/src/siteInfrastructure.d.ts +124 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +16 -0
- package/dist/_dts/api/src/siteOnboarding.d.ts +13 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +17 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +6 -1
- package/dist/_dts/api/src/types.d.ts +1 -1
- package/dist/_dts/api/src/webhooks.d.ts +239 -0
- package/dist/_dts/block-form/src/client/index.d.ts +2 -0
- package/dist/_dts/block-form/src/index.d.ts +2 -0
- package/dist/_dts/block-form/src/utils/evaluateVisibility.d.ts +2 -1
- package/dist/_dts/blocks/src/client/header.d.ts +1 -1
- package/dist/_dts/blocks/src/client.d.ts +12 -12
- package/dist/_dts/blocks/src/index.d.ts +5 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +4 -1
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +294 -289
- package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +57 -0
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +4 -0
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +22 -22
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +13 -1
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +179 -0
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +4 -2
- package/dist/_dts/blocks/src/system/fragments/library/faqHeading.d.ts +1 -0
- package/dist/_dts/blocks/src/system/fragments/library/testimonialsCarousel.d.ts +10 -0
- package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +3 -1
- package/dist/_dts/blocks/src/system/icons/ids.d.ts +13 -0
- package/dist/_dts/blocks/src/system/icons/index.d.ts +6 -0
- package/dist/_dts/blocks/src/system/icons/presets.d.ts +4 -0
- package/dist/_dts/blocks/src/system/icons/registry.d.ts +18 -0
- package/dist/_dts/blocks/src/system/icons/semantic.d.ts +239 -0
- package/dist/_dts/blocks/src/system/icons/value.d.ts +94 -0
- package/dist/_dts/blocks/src/system/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +4 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +23 -0
- package/dist/_dts/blocks/src/system/node/fragments/headingDecoration.d.ts +1 -4
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +7 -7
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/header/enhanceHeaderSection.d.ts +10 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +5 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.server.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventSpotlight.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModals.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/feature-card-icon.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +3 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +9 -0
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +14 -1
- package/dist/_dts/content-model/src/contentManifest.d.ts +3 -1
- package/dist/_dts/core/src/branded.d.ts +6 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +200 -3
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +8 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +8 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +8 -2
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +17 -0
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +42 -0
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +7 -1
- package/dist/_dts/editor-blocks/src/block-editor/featureCardIconActions.d.ts +82 -0
- package/dist/_dts/editor-blocks/src/index.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
- package/dist/_dts/media-core/src/fileDomain.d.ts +8 -1
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +3 -2
- package/dist/_dts/media-react/src/components/MediaLibrary.d.ts +2 -1
- package/dist/_dts/media-react/src/components/MediaPickerMini.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +5 -1
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +17 -0
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +24 -0
- package/dist/_dts/preview-next/src/client/blocks/useBlockCustomizeControls.d.ts +34 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -5
- package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +8 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewBlockCustomizeSelectionContext.d.ts +20 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewOpenEditorButton.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/SelectedBlockCustomizePanel.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeEditorDraftPatch.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +6 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeRuntimePatch.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/storeTypes.d.ts +4 -0
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +3 -1
- package/dist/_dts/sdk/src/cli/commands/webhooks.d.ts +44 -0
- package/dist/_dts/sdk/src/cli/navigationIdentity.d.ts +11 -0
- package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +4 -0
- package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/sync/diff.d.ts +9 -0
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +58 -0
- package/dist/_dts/sdk/src/client/management/webhooks.d.ts +3 -0
- package/dist/_dts/sdk/src/config/field-definitions.d.ts +3 -1
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +24 -4
- package/dist/_dts/sdk/src/next/index.d.ts +1 -1
- package/dist/_dts/sdk/src/next/revalidate.d.ts +26 -5
- package/dist/_dts/sdk/src/next/static-params.d.ts +28 -3
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +5 -1
- package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -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 +6 -102
- package/dist/_dts/site-commands/src/commands.d.ts +3 -0
- package/dist/_dts/theme-core/src/accordions/siteStyleDefaults.d.ts +220 -0
- package/dist/_dts/theme-core/src/accordions/types.d.ts +45 -2
- package/dist/_dts/theme-core/src/blockOverrides.d.ts +8 -0
- package/dist/_dts/theme-core/src/blocks/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/blocks/vars/testimonials.d.ts +4 -1
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/cards/core.d.ts +20 -0
- package/dist/_dts/theme-core/src/cards/generateDefaultCardSystem.d.ts +6 -3
- package/dist/_dts/theme-core/src/cards/siteStyleDefaults.d.ts +105 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +177 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +159 -21
- package/dist/_dts/theme-core/src/palette/variants/index.d.ts +15 -0
- package/dist/_dts/theme-core/src/palette/variants/soft-natural.d.ts +16 -0
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/schema.d.ts +451 -57
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +86 -17
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +2 -3
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +86 -17
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +135 -3
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +5 -5
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +20 -1
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +8 -2
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +286 -6
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +193 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +6 -12
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +10 -7
- package/dist/_dts/theme-core/src/site-styles/siteStyleThemeCompiler.d.ts +11 -0
- package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/testimonialQuotePresets.d.ts +15 -0
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +7 -29
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +2 -0
- package/dist/_dts/ui/src/combobox.d.ts +1 -0
- package/dist/{PreviewEditorSidebar-4DXLYX2V.mjs → chunk-5NZGBSJF.mjs} +2215 -2566
- package/dist/{chunk-RGTOD4AJ.mjs → chunk-7PCYG6YV.mjs} +621 -108
- package/dist/{chunk-CR5HKAGU.mjs → chunk-BBLZSQEY.mjs} +79 -0
- package/dist/{chunk-MCRQMPET.mjs → chunk-GYXKAUFV.mjs} +4500 -912
- package/dist/{chunk-6HYXHRAI.mjs → chunk-HTB4BMKD.mjs} +267 -49
- package/dist/{chunk-OKMBEAXY.mjs → chunk-MPBNEVPB.mjs} +1 -1
- package/dist/cli/index.mjs +3255 -702
- package/dist/cli/init-docs/content/workflow-editor-workflows.md +2 -0
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +150 -0
- package/dist/client/{accordion-PLYNJIIM.mjs → accordion-QFZMNB7O.mjs} +1 -1
- package/dist/client/{bookingForm-BXAP6AO7.mjs → bookingForm-NCIXFWIG.mjs} +3 -3
- package/dist/client/bookings.mjs +1246 -323
- package/dist/client/{carousel-TRBXDHGF.mjs → carousel-EO4BJMWD.mjs} +2 -2
- package/dist/client/{cart-Z7H3HJRS.mjs → cart-FTYCLYUW.mjs} +5 -5
- package/dist/client/{checkout-WAFCUBIX.mjs → checkout-NFGLVCOX.mjs} +5 -5
- package/dist/client/{chunk-CWGTG37I.mjs → chunk-4W66ALYT.mjs} +1 -1
- package/dist/client/{chunk-JRDUHZCT.mjs → chunk-6GVVWSPU.mjs} +4 -4
- package/dist/client/{chunk-75OUS5MT.mjs → chunk-IWFZSQNZ.mjs} +1 -1
- package/dist/client/{chunk-JGXPTEI2.mjs → chunk-PUOELU4O.mjs} +95 -8
- package/dist/client/{chunk-FUXW6VW2.mjs → chunk-PYRBIURC.mjs} +4 -4
- package/dist/client/{chunk-ZI3LLBPZ.mjs → chunk-T6UIP6UZ.mjs} +1 -1
- package/dist/client/{chunk-DNRGY432.mjs → chunk-VDS5YFLX.mjs} +1 -1
- package/dist/client/{chunk-UVQEJJTN.mjs → chunk-Y37KDO7P.mjs} +1 -1
- package/dist/client/client.mjs +24277 -20796
- package/dist/client/{courseRegistration-AHFQHWIJ.mjs → courseRegistration-2EORROPS.mjs} +3 -3
- package/dist/client/{eventCalendar-LDXTV5R7.mjs → eventCalendar-WZI4VL6N.mjs} +5 -5
- package/dist/client/{eventCombined-A4JGTNJO.mjs → eventCombined-QCB2TCNL.mjs} +5 -5
- package/dist/client/{eventDetails-4YXTZ7EG.mjs → eventDetails-TFTATAPH.mjs} +5 -5
- package/dist/client/{eventListing-P72TPFFM.mjs → eventListing-A2CQEHEQ.mjs} +5 -5
- package/dist/client/{eventRegistration-LSYJHGMT.mjs → eventRegistration-OELPVLUY.mjs} +5 -5
- package/dist/client/{form-AOPYOKOW.mjs → form-NTIFD6WQ.mjs} +1 -1
- package/dist/client/{headerSection-5TFYDFVQ.mjs → headerSection-7TBNKCLA.mjs} +65 -24
- package/dist/client/hooks.mjs +3687 -2024
- package/dist/client/{locationMap-QSZ3ZVAZ.mjs → locationMap-LRLB5A3H.mjs} +1 -1
- package/dist/client/{newsletterForm-KTRHZY52.mjs → newsletterForm-XI52RZSN.mjs} +1 -1
- package/dist/client/{productDetail-N4E775RG.mjs → productDetail-GSNKBFLY.mjs} +5 -5
- package/dist/client/{productList-UGUQ2S45.mjs → productList-BGCGT4KZ.mjs} +5 -5
- package/dist/client/rendering/client.mjs +5274 -3030
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +6271 -2790
- package/dist/client/{shop-VHSZEEQ2.mjs → shop-RQHUCLNY.mjs} +5 -5
- package/dist/preview-next/before-render.mjs +79 -0
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/middleware.mjs +79 -0
- package/dist/{sdk-runtime-WHPJEF5G.mjs → sdk-runtime-A4LHT2RS.mjs} +6 -6
- package/dist/server/components.mjs +6215 -3057
- package/dist/server/config-validation.mjs +3858 -2194
- package/dist/server/config.mjs +3858 -2194
- package/dist/server/data.mjs +3687 -2024
- package/dist/server/index.mjs +88 -1
- package/dist/server/next/revalidate.mjs +229 -34
- package/dist/server/next.mjs +6295 -3036
- package/dist/server/page-converter.mjs +3055 -1883
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +6220 -3062
- package/dist/server/rendering.mjs +6233 -3075
- package/dist/server/routing.mjs +4251 -2137
- package/dist/server/server.mjs +3705 -2042
- package/dist/server/theme-bridge.mjs +1617 -329
- package/dist/server/theme.mjs +411 -221
- package/dist/server/webhooks.mjs +129 -25
- package/dist/styles/index.css +355 -33
- package/package.json +2 -1
- package/dist/SdkPreviewModeRuntime-IJDHTW4W.mjs +0 -8
- package/dist/chunk-4QEGTLK6.mjs +0 -1175
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { normalizeCarouselProps, CarouselNodeClient } from './chunk-
|
|
1
|
+
import { normalizeCarouselProps, CarouselNodeClient } from './chunk-IWFZSQNZ.mjs';
|
|
2
2
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
3
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
3
|
+
import { defineIslandPropsDecoder } from './chunk-PUOELU4O.mjs';
|
|
4
4
|
import './chunk-AUJ5DBZJ.mjs';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { mountShopBlockIsland, CartClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { mountShopBlockIsland, CartClient } from './chunk-PYRBIURC.mjs';
|
|
2
|
+
import './chunk-4W66ALYT.mjs';
|
|
3
|
+
import './chunk-IWFZSQNZ.mjs';
|
|
4
4
|
import './chunk-I2MMZO53.mjs';
|
|
5
5
|
import './chunk-ZFHRN6W2.mjs';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-Y37KDO7P.mjs';
|
|
7
7
|
import './chunk-3DCJ45Z2.mjs';
|
|
8
8
|
import './chunk-3PEDD5KJ.mjs';
|
|
9
9
|
import './chunk-UDNSI5PY.mjs';
|
|
10
10
|
import './chunk-N7PBWBWQ.mjs';
|
|
11
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
11
|
+
import { defineIslandPropsDecoder } from './chunk-PUOELU4O.mjs';
|
|
12
12
|
import './chunk-AUJ5DBZJ.mjs';
|
|
13
13
|
|
|
14
14
|
// src/rendering/islands/enhancers/cart.tsx
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { mountShopBlockIsland, CheckoutClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { mountShopBlockIsland, CheckoutClient } from './chunk-PYRBIURC.mjs';
|
|
2
|
+
import './chunk-4W66ALYT.mjs';
|
|
3
|
+
import './chunk-IWFZSQNZ.mjs';
|
|
4
4
|
import './chunk-I2MMZO53.mjs';
|
|
5
5
|
import './chunk-ZFHRN6W2.mjs';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-Y37KDO7P.mjs';
|
|
7
7
|
import './chunk-3DCJ45Z2.mjs';
|
|
8
8
|
import './chunk-3PEDD5KJ.mjs';
|
|
9
9
|
import './chunk-UDNSI5PY.mjs';
|
|
10
10
|
import './chunk-N7PBWBWQ.mjs';
|
|
11
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
11
|
+
import { defineIslandPropsDecoder } from './chunk-PUOELU4O.mjs';
|
|
12
12
|
import './chunk-AUJ5DBZJ.mjs';
|
|
13
13
|
|
|
14
14
|
// src/rendering/islands/enhancers/checkout.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EMPTY_COMMERCE_CART_STATE, parseStoredCommerceCartState, reduceCommerceCart, buildPassCartItem } from './chunk-
|
|
1
|
+
import { EMPTY_COMMERCE_CART_STATE, parseStoredCommerceCartState, reduceCommerceCart, buildPassCartItem } from './chunk-PUOELU4O.mjs';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
var EMPTY_STATE = EMPTY_COMMERCE_CART_STATE;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { LeafletStaticMap } from './chunk-XSV6KW4D.mjs';
|
|
3
|
-
import { MagicLinkForm, useWaitlistClaim } from './chunk-
|
|
4
|
-
import { usePolling } from './chunk-
|
|
3
|
+
import { MagicLinkForm, useWaitlistClaim } from './chunk-T6UIP6UZ.mjs';
|
|
4
|
+
import { usePolling } from './chunk-VDS5YFLX.mjs';
|
|
5
5
|
import { SpinnerNode } from './chunk-CE7IBGVW.mjs';
|
|
6
6
|
import { useDiscountCodeUi } from './chunk-ZFHRN6W2.mjs';
|
|
7
|
-
import { TabBarFragment, logoutPortal, StepIndicator, DiscountCodeDisclosure, TerminalPanel, StateIcon, formatPrice, CrossIcon, ClockIcon, consumeSearchParam, LoggedInAsUser, CheckIcon } from './chunk-
|
|
7
|
+
import { TabBarFragment, logoutPortal, StepIndicator, DiscountCodeDisclosure, TerminalPanel, StateIcon, formatPrice, CrossIcon, ClockIcon, consumeSearchParam, LoggedInAsUser, CheckIcon } from './chunk-Y37KDO7P.mjs';
|
|
8
8
|
import { getFieldValidationControlProps, FieldValidationMessage } from './chunk-3DCJ45Z2.mjs';
|
|
9
9
|
import { ModalShell } from './chunk-3PEDD5KJ.mjs';
|
|
10
10
|
import { isSpamProtectionEnabled, AltchaWidget, getChallengeUrl } from './chunk-YLMKMCSJ.mjs';
|
|
11
11
|
import { useBlockApi, FeedbackMessage } from './chunk-UDNSI5PY.mjs';
|
|
12
|
-
import { buildEventCalendarListingRender, getWeekCalendarDays, formatCalendarTitle, groupEventsByDate, getOrderedDayNames, getMonthCalendarDays, formatDateKey, themeButtonClassName, normalizeEventBlockKind, EventCompactRow, EmptyState, getContainerClass, getCardOrientation, addMonths, getThreeMonthRange, isToday, MAX_EVENTS_PER_DAY, formatTime, resolveCoursePricingState, formatEventDateParts, formatCoursePriceAmount, DateTimeTile, normalizeIdList, EventCard, buildTimetableModel, formatDate, isEventContentType, formatCoursePriceDisplay, MONTH_NAMES, formatEventPrice, getEventAvailability, formatEventTeacherLine, CreditCard, Ticket, Star, Sparkles, assertNever11 } from './chunk-
|
|
12
|
+
import { buildEventCalendarListingRender, getWeekCalendarDays, formatCalendarTitle, groupEventsByDate, getOrderedDayNames, getMonthCalendarDays, formatDateKey, themeButtonClassName, normalizeEventBlockKind, EventCompactRow, EmptyState, getContainerClass, getCardOrientation, addMonths, getThreeMonthRange, isToday, MAX_EVENTS_PER_DAY, formatTime, resolveCoursePricingState, formatEventDateParts, formatCoursePriceAmount, DateTimeTile, normalizeIdList, EventCard, buildTimetableModel, formatDate, isEventContentType, formatCoursePriceDisplay, MONTH_NAMES, formatEventPrice, getEventAvailability, formatEventTeacherLine, CreditCard, Ticket, Star, Sparkles, assertNever11 } from './chunk-PUOELU4O.mjs';
|
|
13
13
|
import { getBookingLocalDateKey, toScheduledBookingDateTime, toBookingTimeZone, formatBookingDateTime, formatBookingDate, formatBookingTime } from './chunk-AUJ5DBZJ.mjs';
|
|
14
14
|
import { createContext, useId, useMemo, useState, useRef, useEffect, useCallback, useContext, useReducer } from 'react';
|
|
15
15
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { ChevronLeft, ChevronRight } from './chunk-
|
|
2
|
+
import { ChevronLeft, ChevronRight } from './chunk-PUOELU4O.mjs';
|
|
3
3
|
import { clsx_default } from './chunk-AUJ5DBZJ.mjs';
|
|
4
4
|
import React, { useRef, useState, useCallback, useEffect } from 'react';
|
|
5
5
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
@@ -771,7 +771,7 @@ var themeColorBaseTokenNames = [
|
|
|
771
771
|
"accentForeground"
|
|
772
772
|
];
|
|
773
773
|
var themeColorBaseTokenSet = new Set(themeColorBaseTokenNames);
|
|
774
|
-
var
|
|
774
|
+
var themeColorShadeSteps = [
|
|
775
775
|
"50",
|
|
776
776
|
"100",
|
|
777
777
|
"200",
|
|
@@ -784,7 +784,7 @@ var SHADE_STEPS = [
|
|
|
784
784
|
"900",
|
|
785
785
|
"950"
|
|
786
786
|
];
|
|
787
|
-
var shadeStepSet = new Set(
|
|
787
|
+
var shadeStepSet = new Set(themeColorShadeSteps);
|
|
788
788
|
function isKnownBaseToken(value) {
|
|
789
789
|
return themeColorBaseTokenSet.has(value);
|
|
790
790
|
}
|
|
@@ -1735,6 +1735,86 @@ function themeButtonClassName(spec) {
|
|
|
1735
1735
|
|
|
1736
1736
|
// ../theme-core/src/buttons/generateButtonCss.ts
|
|
1737
1737
|
buttonSizeNameSchema.options;
|
|
1738
|
+
var cardVariantRoleValues = ["default", "alternative"];
|
|
1739
|
+
var boxlessCardVariantValue = "none";
|
|
1740
|
+
var legacyCardVariantRoleAliases = {
|
|
1741
|
+
variant1: "alternative",
|
|
1742
|
+
variant2: "alternative"
|
|
1743
|
+
};
|
|
1744
|
+
var cardSpacingSchema = z.enum(["none", "compact", "cozy", "medium", "comfortable", "spacious"]);
|
|
1745
|
+
var gradientDirectionSchema2 = z.enum(["to-r", "to-l", "to-t", "to-b", "to-tr", "to-tl", "to-br", "to-bl"]);
|
|
1746
|
+
var cardVariantRoleSchema = z.enum(cardVariantRoleValues);
|
|
1747
|
+
z.enum([
|
|
1748
|
+
...cardVariantRoleValues,
|
|
1749
|
+
boxlessCardVariantValue
|
|
1750
|
+
]);
|
|
1751
|
+
function isCardVariantRole(value) {
|
|
1752
|
+
return typeof value === "string" && cardVariantRoleValues.includes(value);
|
|
1753
|
+
}
|
|
1754
|
+
function normalizeCardVariantRole(value) {
|
|
1755
|
+
if (isCardVariantRole(value)) return value;
|
|
1756
|
+
if (typeof value !== "string") return null;
|
|
1757
|
+
return legacyCardVariantRoleAliases[value] ?? null;
|
|
1758
|
+
}
|
|
1759
|
+
var cardBackgroundSchema = z.discriminatedUnion("type", [
|
|
1760
|
+
z.object({ type: z.literal("solid"), colorToken: themeColorTokenSchema }),
|
|
1761
|
+
z.object({
|
|
1762
|
+
type: z.literal("gradient"),
|
|
1763
|
+
fromToken: themeColorTokenSchema,
|
|
1764
|
+
toToken: themeColorTokenSchema,
|
|
1765
|
+
direction: gradientDirectionSchema2
|
|
1766
|
+
}),
|
|
1767
|
+
z.object({ type: z.literal("transparent") })
|
|
1768
|
+
]);
|
|
1769
|
+
var cardBorderSchema = z.object({
|
|
1770
|
+
widthClass: z.string(),
|
|
1771
|
+
colorToken: themeColorTokenSchema
|
|
1772
|
+
});
|
|
1773
|
+
var cardCornerValueSchema = z.enum([
|
|
1774
|
+
"square",
|
|
1775
|
+
"soft",
|
|
1776
|
+
"rounded",
|
|
1777
|
+
"pill",
|
|
1778
|
+
"expressive"
|
|
1779
|
+
]);
|
|
1780
|
+
var cardAccentEdgeSchema = z.object({
|
|
1781
|
+
edge: z.enum(["left", "top", "right", "bottom"]),
|
|
1782
|
+
colorToken: themeColorTokenSchema,
|
|
1783
|
+
width: z.enum(["thin", "medium", "thick", "heavy"])
|
|
1784
|
+
});
|
|
1785
|
+
var cardCornerRadiiSchema = z.object({
|
|
1786
|
+
topLeft: cardCornerValueSchema.optional(),
|
|
1787
|
+
topRight: cardCornerValueSchema.optional(),
|
|
1788
|
+
bottomLeft: cardCornerValueSchema.optional(),
|
|
1789
|
+
bottomRight: cardCornerValueSchema.optional()
|
|
1790
|
+
});
|
|
1791
|
+
var cardVariantSchema = z.object({
|
|
1792
|
+
id: z.string(),
|
|
1793
|
+
name: z.string().min(1).max(20),
|
|
1794
|
+
enabled: z.boolean(),
|
|
1795
|
+
priority: z.union([z.literal(1), z.literal(2), z.literal(3)]),
|
|
1796
|
+
// Appearance (token-based)
|
|
1797
|
+
background: cardBackgroundSchema,
|
|
1798
|
+
spacing: cardSpacingSchema,
|
|
1799
|
+
// Optional foreground (card text) color, for cards on a strong fill.
|
|
1800
|
+
foregroundToken: themeColorTokenSchema.optional(),
|
|
1801
|
+
// Optional overrides (uses theme defaults if not specified)
|
|
1802
|
+
shadow: z.object({
|
|
1803
|
+
elevation: z.enum(["none", "low", "medium", "high"]),
|
|
1804
|
+
softness: z.enum(["crisp", "soft", "hard"]).nullable(),
|
|
1805
|
+
position: z.enum(["bottom", "bottom-right"]).default("bottom")
|
|
1806
|
+
}).optional(),
|
|
1807
|
+
corners: z.enum(["square", "soft", "rounded", "pill"]).optional(),
|
|
1808
|
+
// Per-corner radius override; wins over `corners` when set.
|
|
1809
|
+
cornerRadii: cardCornerRadiiSchema.optional(),
|
|
1810
|
+
// Border (optional)
|
|
1811
|
+
border: cardBorderSchema.optional(),
|
|
1812
|
+
// Single accent edge; replaces `border` when set.
|
|
1813
|
+
accentEdge: cardAccentEdgeSchema.optional()
|
|
1814
|
+
});
|
|
1815
|
+
z.object({
|
|
1816
|
+
variants: z.array(cardVariantSchema).min(1).max(3)
|
|
1817
|
+
});
|
|
1738
1818
|
z.string();
|
|
1739
1819
|
var CSS_COLOR_FUNCTION_PATTERN = /^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix|light-dark)\(/i;
|
|
1740
1820
|
var CSS_HEX_COLOR_PATTERN = /^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i;
|
|
@@ -1971,6 +2051,9 @@ function resolveRepeaterGridColumnFieldId(options) {
|
|
|
1971
2051
|
return asNonEmptyString(options?.id) ?? DEFAULT_REPEATER_GRID_COLUMN_FIELD_ID;
|
|
1972
2052
|
}
|
|
1973
2053
|
|
|
2054
|
+
// ../blocks/src/system/icons/presets.ts
|
|
2055
|
+
var ICON_PICKER_PRESETS = ["cta", "feature"];
|
|
2056
|
+
|
|
1974
2057
|
// ../blocks/src/system/manifest/schema.ts
|
|
1975
2058
|
var visibilityLevels = ["admin", "designer", "author"];
|
|
1976
2059
|
var MEDIA_KINDS = [
|
|
@@ -2129,7 +2212,7 @@ var uiSchema = z.object({
|
|
|
2129
2212
|
layoutGridColumnField: z.string().optional(),
|
|
2130
2213
|
layoutGridMaxRows: z.number().int().positive().optional(),
|
|
2131
2214
|
// Icon picker configuration (used when ui.widget === 'iconPicker')
|
|
2132
|
-
iconPickerPreset: z.enum(
|
|
2215
|
+
iconPickerPreset: z.enum(ICON_PICKER_PRESETS).optional(),
|
|
2133
2216
|
// Entry picker configuration
|
|
2134
2217
|
contentTypeField: z.string().optional(),
|
|
2135
2218
|
fixedContentType: z.string().optional(),
|
|
@@ -5651,7 +5734,7 @@ var EventCard = ({
|
|
|
5651
5734
|
const cta = resolveEventCta(event, buttonText);
|
|
5652
5735
|
const isSoldOut = cta.hidden;
|
|
5653
5736
|
const { available: spotsLeft } = getEventAvailability(event);
|
|
5654
|
-
const cardClass = `card-${cardVariant}`;
|
|
5737
|
+
const cardClass = `card-${normalizeCardVariantRole(cardVariant) ?? "default"}`;
|
|
5655
5738
|
const buttonClass = themeButtonClassName({ variant: buttonVariant, size: "md" });
|
|
5656
5739
|
const title = event.title;
|
|
5657
5740
|
const summary = event.presentation?.summary ?? event.description;
|
|
@@ -5990,7 +6073,11 @@ function DateTimeTile({ startsAt, endsAt, timeZone }) {
|
|
|
5990
6073
|
}
|
|
5991
6074
|
|
|
5992
6075
|
// ../blocks/src/system/runtime/nodes/events/EventListing.interactive.ts
|
|
5993
|
-
var
|
|
6076
|
+
var legacyEventCardVariantSchema = z.enum(["variant1", "variant2"]);
|
|
6077
|
+
var eventCardVariantInputSchema = z.union([
|
|
6078
|
+
cardVariantRoleSchema,
|
|
6079
|
+
legacyEventCardVariantSchema
|
|
6080
|
+
]);
|
|
5994
6081
|
var cardOrientationSchema = z.enum(["vertical", "horizontal"]);
|
|
5995
6082
|
var eventBlockKindSchema = z.enum(eventBlockKindValues);
|
|
5996
6083
|
var eventSurfaceScopeSchema = z.enum(eventSurfaceScopeValues);
|
|
@@ -6006,7 +6093,7 @@ var eventListingSourceSchema = z.object({
|
|
|
6006
6093
|
paginationMode: z.enum(["loadMore", "seeAllLink"]).optional(),
|
|
6007
6094
|
seeAllUrl: z.string().optional(),
|
|
6008
6095
|
loadMoreText: z.string().optional(),
|
|
6009
|
-
cardVariant:
|
|
6096
|
+
cardVariant: eventCardVariantInputSchema.optional(),
|
|
6010
6097
|
buttonVariant: eventButtonVariantSchema.optional(),
|
|
6011
6098
|
buttonText: z.string().optional(),
|
|
6012
6099
|
showVenue: z.boolean().optional(),
|
|
@@ -6034,7 +6121,7 @@ var eventListingDisplaySchema = z.object({
|
|
|
6034
6121
|
emptyMessage: z.string(),
|
|
6035
6122
|
loadingMessage: z.string(),
|
|
6036
6123
|
containerClass: z.string(),
|
|
6037
|
-
cardVariant:
|
|
6124
|
+
cardVariant: cardVariantRoleSchema,
|
|
6038
6125
|
buttonVariant: eventButtonVariantSchema,
|
|
6039
6126
|
buttonText: z.string(),
|
|
6040
6127
|
showVenue: z.boolean(),
|
|
@@ -6095,7 +6182,7 @@ var eventListingBlockRuntime = defineProgressiveBlockRuntime({
|
|
|
6095
6182
|
emptyMessage: source.emptyMessage ?? "No upcoming events scheduled.",
|
|
6096
6183
|
loadingMessage: "Loading events\u2026",
|
|
6097
6184
|
containerClass: getContainerClass(layout, source.columns ?? "3"),
|
|
6098
|
-
cardVariant: source.cardVariant ?? "default",
|
|
6185
|
+
cardVariant: normalizeCardVariantRole(source.cardVariant) ?? "default",
|
|
6099
6186
|
buttonVariant: source.buttonVariant ?? "primary",
|
|
6100
6187
|
buttonText: source.buttonText ?? "Book now",
|
|
6101
6188
|
showVenue: source.showVenue ?? true,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { addPassToCommerceCart, useCommerceCart } from './chunk-
|
|
3
|
-
import { CarouselNodeClient } from './chunk-
|
|
2
|
+
import { addPassToCommerceCart, useCommerceCart } from './chunk-4W66ALYT.mjs';
|
|
3
|
+
import { CarouselNodeClient } from './chunk-IWFZSQNZ.mjs';
|
|
4
4
|
import { isRecord } from './chunk-I2MMZO53.mjs';
|
|
5
5
|
import { useDiscountCodeUi } from './chunk-ZFHRN6W2.mjs';
|
|
6
|
-
import { createBodyThemePortalRoot, consumeSearchParams, scrollToBlock, TerminalPanel, StateIcon, CheckIcon, CrossIcon, ActionRow, DiscountCodeDisclosure, consumeSearchParam, buildCheckoutReturnUrls } from './chunk-
|
|
6
|
+
import { createBodyThemePortalRoot, consumeSearchParams, scrollToBlock, TerminalPanel, StateIcon, CheckIcon, CrossIcon, ActionRow, DiscountCodeDisclosure, consumeSearchParam, buildCheckoutReturnUrls } from './chunk-Y37KDO7P.mjs';
|
|
7
7
|
import { ModalShell, resolveDedicatedCheckoutPath } from './chunk-3PEDD5KJ.mjs';
|
|
8
8
|
import { useBlockApi, FeedbackMessage, BlockApiProvider } from './chunk-UDNSI5PY.mjs';
|
|
9
9
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
10
|
-
import { themeButtonClassName, formatCommercePrice, formatInterval, getShopDisplayForItems, deriveCommerceCheckoutState, buildProductDetailDisplay, productItemKey, buildProductCartItem, buildProductCardDisplay, assertNever11, reportWorkflowError, clearWorkflowFeedback } from './chunk-
|
|
10
|
+
import { themeButtonClassName, formatCommercePrice, formatInterval, getShopDisplayForItems, deriveCommerceCheckoutState, buildProductDetailDisplay, productItemKey, buildProductCartItem, buildProductCardDisplay, assertNever11, reportWorkflowError, clearWorkflowFeedback } from './chunk-PUOELU4O.mjs';
|
|
11
11
|
import { assertNever, ok, err, getCurrentResolveImageUrlContext, resolveImageUrlWithContext, ImagePresets } from './chunk-AUJ5DBZJ.mjs';
|
|
12
12
|
import * as React3 from 'react';
|
|
13
13
|
import React3__default, { useState, useRef, useCallback, useEffect } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useBlockApi, BlockApiError } from './chunk-UDNSI5PY.mjs';
|
|
3
|
-
import { themeButtonClassName } from './chunk-
|
|
3
|
+
import { themeButtonClassName } from './chunk-PUOELU4O.mjs';
|
|
4
4
|
import { useState, useSyncExternalStore, useEffect } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FeedbackMessage } from './chunk-UDNSI5PY.mjs';
|
|
2
|
-
import { themeButtonClassName } from './chunk-
|
|
2
|
+
import { themeButtonClassName } from './chunk-PUOELU4O.mjs';
|
|
3
3
|
import { clsx_default } from './chunk-AUJ5DBZJ.mjs';
|
|
4
4
|
import { useId } from 'react';
|
|
5
5
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|