@riverbankcms/sdk 0.102.0 → 0.104.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 +10 -2
- package/dist/{PreviewEditorSidebar-BKkhhkJk.mjs → PreviewEditorSidebar-ywqcYjTB.mjs} +217 -131
- package/dist/{PreviewEditorUI-DIvTqcqI.mjs → PreviewEditorUI-DApUNF6g.mjs} +3 -3
- package/dist/{PreviewQueryProvider-ZF6TXq5Q.mjs → PreviewQueryProvider-CStABBUh.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-CA2k7Z_T.mjs → SdkPreviewModeRuntime-DmHCcIMO.mjs} +1738 -815
- package/dist/{SiteChromeCustomizeContext-Bh9-DtMQ.mjs → SiteChromeCustomizeContext-BV9GU-3C.mjs} +3517 -2524
- package/dist/_dts/ai/src/contracts/proposals.d.ts +298 -298
- package/dist/_dts/api/src/contentRuntime.d.ts +6 -3
- package/dist/_dts/api/src/endpoints.d.ts +10 -3
- package/dist/_dts/api/src/index.d.ts +2 -2
- package/dist/_dts/api/src/navigation/contracts.d.ts +6 -6
- package/dist/_dts/api/src/siteBanner.d.ts +2 -2
- package/dist/_dts/api/src/siteIcons.d.ts +39 -43
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +3 -3
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +36 -7
- package/dist/_dts/block-form/src/widgets/SliderField/SliderField.d.ts +3 -3
- package/dist/_dts/block-form/src/widgets/SliderField/sliderValue.d.ts +36 -0
- package/dist/_dts/block-form/src/widgets/utils/readNumericUiConfig.d.ts +3 -0
- package/dist/_dts/blocks/src/PageRenderer.d.ts +6 -1
- package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
- package/dist/_dts/blocks/src/index.d.ts +2 -2
- package/dist/_dts/blocks/src/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +7 -7
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +14 -14
- package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +29 -29
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +8 -5
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +362 -227
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +1 -1
- package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
- package/dist/_dts/blocks/src/system/icons/generatedAssets.d.ts +28 -0
- package/dist/_dts/blocks/src/system/icons/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/icons/value.d.ts +3 -6
- package/dist/_dts/blocks/src/system/inlineText.d.ts +2 -2
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +417 -177
- package/dist/_dts/blocks/src/system/node/schema.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/feature-card-icon.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +7 -7
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -1
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +2 -0
- package/dist/_dts/content-editor/src/ui/stores/generatedIconAssetsStore.d.ts +9 -0
- package/dist/_dts/content-model/src/content-types/schema.d.ts +8 -8
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +344 -0
- package/dist/_dts/db/src/schemas/forms.d.ts +15 -15
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +7 -0
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +4 -4
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +2 -3
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +4 -4
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +4 -4
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +2 -3
- package/dist/_dts/editor-blocks/src/block-editor/blockHeaderActionPlan.d.ts +1 -5
- package/dist/_dts/editor-blocks/src/block-editor/featureCardIconActions.d.ts +25 -19
- package/dist/_dts/editor-blocks/src/block-editor/generatedIconApplyCoordination.d.ts +32 -0
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/GeneratedIconLibraryContext.d.ts +28 -0
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/index.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/loaders.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/CustomizeBackgroundControlRows.d.ts +15 -0
- package/dist/_dts/preview-next/src/client/preview/CustomizeColorTokenPicker.d.ts +27 -0
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +13 -6
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +5 -4
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +44 -18
- package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +16 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +4 -5
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorApplyPayload.d.ts +22 -1
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +12 -4
- package/dist/_dts/sdk/src/client/management/types.d.ts +3 -0
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/page.d.ts +2 -0
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +0 -1
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +10 -10
- package/dist/_dts/sdk/src/next/revalidate.d.ts +14 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +9 -6
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -1
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +3 -2
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +3 -4
- package/dist/_dts/sdk/src/rendering/hooks/useContent.d.ts +1 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +19 -19
- package/dist/_dts/theme-core/src/accordions/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/buttons/types.d.ts +7 -7
- package/dist/_dts/theme-core/src/cards/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +156 -150
- package/dist/_dts/theme-core/src/navigation/types.d.ts +8 -6
- package/dist/_dts/theme-core/src/palette/colors.d.ts +84 -0
- package/dist/_dts/theme-core/src/palette/{variants → curated}/brand-led.d.ts +12 -24
- package/dist/_dts/theme-core/src/palette/{variants → curated}/high-contrast.d.ts +9 -18
- package/dist/_dts/theme-core/src/palette/{variants → curated}/index.d.ts +67 -119
- package/dist/_dts/theme-core/src/palette/{variants → curated}/soft-natural.d.ts +12 -24
- package/dist/_dts/theme-core/src/palette/{variants → curated}/types.d.ts +52 -62
- package/dist/_dts/theme-core/src/palette/{variants → curated}/warm-dark.d.ts +6 -12
- package/dist/_dts/theme-core/src/palette/{variants → curated}/warm-neutral.d.ts +12 -24
- package/dist/_dts/theme-core/src/palette/editorState.d.ts +45 -0
- package/dist/_dts/theme-core/src/palette/index.d.ts +25 -14
- package/dist/_dts/theme-core/src/palette/legacyRuntimeProjection.d.ts +38 -0
- package/dist/_dts/theme-core/src/palette/legacySelection.d.ts +34 -0
- package/dist/_dts/theme-core/src/palette/libraryModel.d.ts +58 -0
- package/dist/_dts/theme-core/src/palette/paletteCompatibilityTransition.d.ts +241 -0
- package/dist/_dts/theme-core/src/palette/persistenceReadSource.d.ts +118 -0
- package/dist/_dts/theme-core/src/palette/resolveSelection.d.ts +50 -0
- package/dist/_dts/theme-core/src/palette/selection.d.ts +72 -0
- package/dist/_dts/theme-core/src/palette/sitePalettePersistence.d.ts +34 -0
- package/dist/_dts/theme-core/src/palette/themePaletteCompatibility.d.ts +58 -0
- package/dist/_dts/theme-core/src/schema.d.ts +208 -169
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +2 -1
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +22 -22
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +24 -24
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +35 -11
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +48 -17
- package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +77 -0
- package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +45 -0
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/themeParity.d.ts +21 -0
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +3 -3
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button.d.ts +1 -1
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/_dts/ui/src/palette/PaletteTokenEditor.d.ts +2 -1
- package/dist/_dts/ui/src/toggle.d.ts +2 -2
- package/dist/cli/index.mjs +7815 -7445
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +9 -1
- package/dist/client/{DiscountCodeDisclosure-ChVZwVtS.mjs → DiscountCodeDisclosure-Dit2aItR.mjs} +1 -1
- package/dist/client/{EventCombined.client-PZtXbH6R.mjs → EventCombined.client-BnREyCjf.mjs} +3 -3
- package/dist/client/{EventListing.client-C4AMTXec.mjs → EventListing.client-0uHld51x.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-B0w8_i0u.mjs → LeafletStaticMap-DJcvSfmj.mjs} +1 -1
- package/dist/client/{MagicLinkForm-DF0ZGhIu.mjs → MagicLinkForm-EAsIktfw.mjs} +2 -2
- package/dist/client/{StepIndicator-PccQ89Ct.mjs → StepIndicator-CRR17tYI.mjs} +2 -2
- package/dist/client/{accordion-CTNWT1lk.mjs → accordion-B47HIuuH.mjs} +1 -1
- package/dist/client/{bookingForm-DYixwPqP.mjs → bookingForm-I1E-8F9P.mjs} +6 -6
- package/dist/client/{buttons-CySQwlFs.mjs → buttons-BbPn8OKA.mjs} +1 -1
- package/dist/client/{carousel-W75iYR0M.mjs → carousel-OlM7SyBs.mjs} +1 -1
- package/dist/client/{cart-Ca_DGWQq.mjs → cart-BKpG5jz6.mjs} +3 -3
- package/dist/client/{checkout-STgKTsNh.mjs → checkout-Dmmr6qoU.mjs} +3 -3
- package/dist/client/client.mjs +9000 -8353
- package/dist/client/{courseRegistration-DQI1cu1u.mjs → courseRegistration-CflZiqGk.mjs} +7 -7
- package/dist/client/{eventCalendar-BJrHpofg.mjs → eventCalendar-BvoLWcp-.mjs} +5 -5
- package/dist/client/{eventCombined-DPtqBHaH.mjs → eventCombined-DsrO8t_t.mjs} +2 -2
- package/dist/client/{eventDetails-Brt31CDo.mjs → eventDetails-C3hxgcJm.mjs} +3 -3
- package/dist/client/{eventListing-BrClHJOq.mjs → eventListing-C-hb237X.mjs} +2 -2
- package/dist/client/{eventRegistration-DxlNlVUC.mjs → eventRegistration-B0gyzDGi.mjs} +7 -7
- package/dist/client/{form-Vp5cGzDF.mjs → form-C_RUi6oJ.mjs} +2 -2
- package/dist/client/{headerSection-DL2xjRgW.mjs → headerSection-IKQiD2U0.mjs} +3 -3
- package/dist/client/hooks.mjs +4792 -4606
- package/dist/client/{locationMap-B0EjoXQS.mjs → locationMap-8ZBrMzRJ.mjs} +2 -2
- package/dist/client/{newsletterForm-BlV9VRlq.mjs → newsletterForm-CYk3ucwj.mjs} +2 -2
- package/dist/client/{pricing-DmRD7Tjx.mjs → pricing-B5GmvfIH.mjs} +1 -1
- package/dist/client/{productDetail-BLTQsY2f.mjs → productDetail-BjS2Dqzo.mjs} +3 -3
- package/dist/client/{productList-R8lsMpRs.mjs → productList-BOHvC8My.mjs} +3 -3
- package/dist/client/{propsDecoder-DgAshF92.mjs → propsDecoder-WS6UEJwZ.mjs} +7 -0
- package/dist/client/rendering/client.mjs +3565 -3218
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +8919 -8279
- package/dist/client/{shop-DWjyje1s.mjs → shop-CON03-wN.mjs} +6 -6
- package/dist/client/{shop-commerce-CSKCR87d.mjs → shop-commerce-DlqrFgH8.mjs} +5 -5
- package/dist/client/{shop-commerce-store-DxPnE-iN.mjs → shop-commerce-store-l74-Kne6.mjs} +1 -1
- package/dist/client/{shopShared-OOeAkFq7.mjs → shopShared-CQheEXSg.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-Bp6X7XgG.mjs → useDiscountCodeUi-v6OluyWl.mjs} +1 -1
- package/dist/client/{useEventFilters-B489x9TO.mjs → useEventFilters-BqSTcNOf.mjs} +3 -3
- package/dist/client/{usePolling-BKP66stL.mjs → usePolling-DMfADjIF.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +10 -3
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +10 -3
- package/dist/{previewAuthStore-ByPPZqmp.mjs → previewAuthStore-CfquDtTh.mjs} +10 -3
- package/dist/{sdk-runtime-K8Oqj97H.mjs → sdk-runtime-DWb08Xaz.mjs} +2 -2
- package/dist/{separator-CRoP34pT.mjs → separator--6yjc914.mjs} +1 -1
- package/dist/server/components.mjs +10183 -9621
- package/dist/server/config-validation.mjs +4871 -4686
- package/dist/server/config.mjs +4871 -4686
- package/dist/server/data.mjs +4848 -4663
- package/dist/server/index.mjs +11 -4
- package/dist/server/next/revalidate.mjs +31 -1
- package/dist/server/next.mjs +9894 -9322
- package/dist/server/page-converter.mjs +4758 -4573
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +10099 -9619
- package/dist/server/rendering.mjs +10195 -9631
- package/dist/server/routing.mjs +4985 -4701
- package/dist/server/server.mjs +4823 -4629
- package/dist/server/theme-bridge.mjs +360 -146
- package/dist/server/theme.mjs +94 -91
- package/dist/styles/index.css +143 -30
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const eventPresetSchema: z.ZodEnum<{
|
|
3
|
+
event: "event";
|
|
4
|
+
performance: "performance";
|
|
3
5
|
class: "class";
|
|
4
6
|
workshop: "workshop";
|
|
5
7
|
retreat: "retreat";
|
|
6
|
-
performance: "performance";
|
|
7
|
-
event: "event";
|
|
8
8
|
}>;
|
|
9
9
|
export declare const eventScheduleScopeSchema: z.ZodEnum<{
|
|
10
10
|
recurring: "recurring";
|
|
@@ -193,8 +193,8 @@ export declare const publicEventTicketTypeSchema: z.ZodObject<{
|
|
|
193
193
|
}>;
|
|
194
194
|
capacityLimit: z.ZodNullable<z.ZodNumber>;
|
|
195
195
|
attendanceScope: z.ZodOptional<z.ZodEnum<{
|
|
196
|
-
both: "both";
|
|
197
196
|
in_person: "in_person";
|
|
197
|
+
both: "both";
|
|
198
198
|
online: "online";
|
|
199
199
|
}>>;
|
|
200
200
|
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -257,8 +257,8 @@ export declare const publicEventPricingSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
257
257
|
}>;
|
|
258
258
|
capacityLimit: z.ZodNullable<z.ZodNumber>;
|
|
259
259
|
attendanceScope: z.ZodOptional<z.ZodEnum<{
|
|
260
|
-
both: "both";
|
|
261
260
|
in_person: "in_person";
|
|
261
|
+
both: "both";
|
|
262
262
|
online: "online";
|
|
263
263
|
}>>;
|
|
264
264
|
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -360,11 +360,11 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
360
360
|
course_session: "course_session";
|
|
361
361
|
}>>;
|
|
362
362
|
eventPreset: z.ZodOptional<z.ZodEnum<{
|
|
363
|
+
event: "event";
|
|
364
|
+
performance: "performance";
|
|
363
365
|
class: "class";
|
|
364
366
|
workshop: "workshop";
|
|
365
367
|
retreat: "retreat";
|
|
366
|
-
performance: "performance";
|
|
367
|
-
event: "event";
|
|
368
368
|
}>>;
|
|
369
369
|
eventDestinationMode: z.ZodOptional<z.ZodEnum<{
|
|
370
370
|
"cms-managed": "cms-managed";
|
|
@@ -752,8 +752,8 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
752
752
|
}>;
|
|
753
753
|
capacityLimit: z.ZodNullable<z.ZodNumber>;
|
|
754
754
|
attendanceScope: z.ZodOptional<z.ZodEnum<{
|
|
755
|
-
both: "both";
|
|
756
755
|
in_person: "in_person";
|
|
756
|
+
both: "both";
|
|
757
757
|
online: "online";
|
|
758
758
|
}>>;
|
|
759
759
|
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -913,8 +913,8 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
913
913
|
id: z.ZodString;
|
|
914
914
|
pricing: z.ZodOptional<z.ZodObject<{
|
|
915
915
|
bookingRequirement: z.ZodEnum<{
|
|
916
|
-
none: "none";
|
|
917
916
|
required: "required";
|
|
917
|
+
none: "none";
|
|
918
918
|
}>;
|
|
919
919
|
pricingStrategy: z.ZodEnum<{
|
|
920
920
|
single: "single";
|
|
@@ -1000,8 +1000,8 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
1000
1000
|
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
1001
1001
|
saleEndsAt: z.ZodNullable<z.ZodString>;
|
|
1002
1002
|
attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1003
|
-
both: "both";
|
|
1004
1003
|
in_person: "in_person";
|
|
1004
|
+
both: "both";
|
|
1005
1005
|
online: "online";
|
|
1006
1006
|
}>>>;
|
|
1007
1007
|
}, z.core.$strip>>;
|
|
@@ -1020,11 +1020,11 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
1020
1020
|
course_session: "course_session";
|
|
1021
1021
|
}>>;
|
|
1022
1022
|
eventPreset: z.ZodOptional<z.ZodEnum<{
|
|
1023
|
+
event: "event";
|
|
1024
|
+
performance: "performance";
|
|
1023
1025
|
class: "class";
|
|
1024
1026
|
workshop: "workshop";
|
|
1025
1027
|
retreat: "retreat";
|
|
1026
|
-
performance: "performance";
|
|
1027
|
-
event: "event";
|
|
1028
1028
|
}>>;
|
|
1029
1029
|
eventDestinationMode: z.ZodOptional<z.ZodEnum<{
|
|
1030
1030
|
"cms-managed": "cms-managed";
|
|
@@ -1412,8 +1412,8 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
1412
1412
|
}>;
|
|
1413
1413
|
capacityLimit: z.ZodNullable<z.ZodNumber>;
|
|
1414
1414
|
attendanceScope: z.ZodOptional<z.ZodEnum<{
|
|
1415
|
-
both: "both";
|
|
1416
1415
|
in_person: "in_person";
|
|
1416
|
+
both: "both";
|
|
1417
1417
|
online: "online";
|
|
1418
1418
|
}>>;
|
|
1419
1419
|
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -1573,8 +1573,8 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
1573
1573
|
id: z.ZodString;
|
|
1574
1574
|
pricing: z.ZodOptional<z.ZodObject<{
|
|
1575
1575
|
bookingRequirement: z.ZodEnum<{
|
|
1576
|
-
none: "none";
|
|
1577
1576
|
required: "required";
|
|
1577
|
+
none: "none";
|
|
1578
1578
|
}>;
|
|
1579
1579
|
pricingStrategy: z.ZodEnum<{
|
|
1580
1580
|
single: "single";
|
|
@@ -1660,8 +1660,8 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
1660
1660
|
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
1661
1661
|
saleEndsAt: z.ZodNullable<z.ZodString>;
|
|
1662
1662
|
attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1663
|
-
both: "both";
|
|
1664
1663
|
in_person: "in_person";
|
|
1664
|
+
both: "both";
|
|
1665
1665
|
online: "online";
|
|
1666
1666
|
}>>>;
|
|
1667
1667
|
}, z.core.$strip>>;
|
|
@@ -1,8 +1,37 @@
|
|
|
1
1
|
import type { TipTapNode } from '../manifest/richTextSchema';
|
|
2
|
+
import { type Brand, type Result } from '../../../../core/src/index';
|
|
2
3
|
import type { SemanticIconId } from '../icons/semantic';
|
|
3
4
|
import { type BlockIconValue } from '../icons/value';
|
|
4
5
|
export declare const FEATURE_CARD_ICON_TREATMENTS: readonly ["plain", "soft-badge", "utility-badge"];
|
|
5
6
|
export type FeatureCardIconTreatment = (typeof FEATURE_CARD_ICON_TREATMENTS)[number];
|
|
7
|
+
export declare const FEATURE_CARD_GENERATED_ICON_SIZE_PX: {
|
|
8
|
+
readonly min: 40;
|
|
9
|
+
readonly max: 400;
|
|
10
|
+
readonly step: 5;
|
|
11
|
+
readonly default: 75;
|
|
12
|
+
};
|
|
13
|
+
export type FeatureCardGeneratedIconSizePx = Brand<number, 'FeatureCardGeneratedIconSizePx'>;
|
|
14
|
+
export type FeatureCardGeneratedIconSizeError = Readonly<{
|
|
15
|
+
tag: 'not_number';
|
|
16
|
+
}> | Readonly<{
|
|
17
|
+
tag: 'not_finite';
|
|
18
|
+
value: number;
|
|
19
|
+
}> | Readonly<{
|
|
20
|
+
tag: 'not_integer';
|
|
21
|
+
value: number;
|
|
22
|
+
}> | Readonly<{
|
|
23
|
+
tag: 'out_of_range';
|
|
24
|
+
value: number;
|
|
25
|
+
min: number;
|
|
26
|
+
max: number;
|
|
27
|
+
}> | Readonly<{
|
|
28
|
+
tag: 'off_step';
|
|
29
|
+
value: number;
|
|
30
|
+
min: number;
|
|
31
|
+
step: number;
|
|
32
|
+
}>;
|
|
33
|
+
export declare function parseFeatureCardGeneratedIconSizePx(value: unknown): Result<FeatureCardGeneratedIconSizePx, FeatureCardGeneratedIconSizeError>;
|
|
34
|
+
export declare function resolveFeatureCardGeneratedIconSizePx(value: unknown): FeatureCardGeneratedIconSizePx;
|
|
6
35
|
export type FeatureCardIconContent = {
|
|
7
36
|
title?: string | null;
|
|
8
37
|
body?: TipTapNode | null;
|
|
@@ -17,41 +46,12 @@ export type FeatureCardIconSuggestionInput = {
|
|
|
17
46
|
bodyText: string;
|
|
18
47
|
icon: BlockIconValue;
|
|
19
48
|
};
|
|
20
|
-
export type FeatureCardIconSuggestion = {
|
|
21
|
-
cardKey: string;
|
|
22
|
-
iconId: string;
|
|
23
|
-
};
|
|
24
|
-
export type ValidatedFeatureCardIconSuggestion = {
|
|
25
|
-
cardKey: string;
|
|
26
|
-
iconId: SemanticIconId;
|
|
27
|
-
};
|
|
28
49
|
export type FeatureCardIconCompletion = {
|
|
29
50
|
totalCards: number;
|
|
30
51
|
cardsWithIcons: number;
|
|
31
52
|
};
|
|
32
|
-
export type FeatureCardIconSuggestionPlan = {
|
|
33
|
-
kind: 'applied';
|
|
34
|
-
appliedSuggestions: readonly ValidatedFeatureCardIconSuggestion[];
|
|
35
|
-
} | {
|
|
36
|
-
kind: 'duplicate_card_key';
|
|
37
|
-
cardKey: string;
|
|
38
|
-
} | {
|
|
39
|
-
kind: 'duplicate_suggestion_card_key';
|
|
40
|
-
cardKey: string;
|
|
41
|
-
} | {
|
|
42
|
-
kind: 'missing_suggestion_card_key';
|
|
43
|
-
cardKey: string;
|
|
44
|
-
} | {
|
|
45
|
-
kind: 'unknown_card_key';
|
|
46
|
-
cardKey: string;
|
|
47
|
-
} | {
|
|
48
|
-
kind: 'invalid_semantic_icon';
|
|
49
|
-
iconId: string;
|
|
50
|
-
};
|
|
51
53
|
export declare function createFeatureCardIconKey(card: FeatureCardIconInputContent, index: number): string;
|
|
52
54
|
export declare function getFeatureCardIconCompletion(cards: readonly FeatureCardIconInputContent[] | null | undefined): FeatureCardIconCompletion;
|
|
53
55
|
export declare function shouldReserveFeatureCardIconZone(cards: readonly FeatureCardIconInputContent[] | null | undefined): boolean;
|
|
54
56
|
export declare function toFeatureCardIconSuggestionInputs(cards: readonly FeatureCardIconInputContent[] | null | undefined): readonly FeatureCardIconSuggestionInput[];
|
|
55
57
|
export declare function suggestSemanticIconForFeatureCard(card: FeatureCardIconSuggestionInput): SemanticIconId;
|
|
56
|
-
export declare function suggestFeatureCardSemanticIcons(cards: readonly FeatureCardIconInputContent[] | null | undefined): readonly FeatureCardIconSuggestion[];
|
|
57
|
-
export declare function applyFeatureCardIconSuggestions(cards: readonly FeatureCardIconInputContent[], suggestions: readonly FeatureCardIconSuggestion[]): FeatureCardIconSuggestionPlan;
|
|
@@ -25,6 +25,7 @@ export type FeatureCardsContent = {
|
|
|
25
25
|
columns?: FeatureCardsColumns | null;
|
|
26
26
|
cardMarker?: FeatureCardsCardMarker | null;
|
|
27
27
|
_iconTreatment?: FeatureCardIconTreatment | null;
|
|
28
|
+
_generatedIconSizePx?: number | null;
|
|
28
29
|
cards?: FeatureCard[] | null;
|
|
29
30
|
};
|
|
30
31
|
export declare const featureCardsBlockDefinition: SystemBlockDefinition<FeatureCardsContent>;
|
|
@@ -46,8 +46,8 @@ export declare const locationMapManifest: import("..").DefinedBlockManifest<{
|
|
|
46
46
|
max: number;
|
|
47
47
|
} | undefined;
|
|
48
48
|
showSlugPreview?: boolean | undefined;
|
|
49
|
-
variant?: "full" | "
|
|
50
|
-
richTextVariant?: "full" | "
|
|
49
|
+
variant?: "full" | "media" | "limited" | "inline" | "notes" | undefined;
|
|
50
|
+
richTextVariant?: "full" | "media" | "limited" | "inline" | "notes" | undefined;
|
|
51
51
|
cropEditorMode?: "inline" | "dialog" | undefined;
|
|
52
52
|
cropEditorAutoOpen?: boolean | undefined;
|
|
53
53
|
mediaPickerAutoOpen?: boolean | undefined;
|
|
@@ -76,13 +76,16 @@ export declare const locationMapManifest: import("..").DefinedBlockManifest<{
|
|
|
76
76
|
max?: number | undefined;
|
|
77
77
|
step?: number | undefined;
|
|
78
78
|
showValue?: boolean | undefined;
|
|
79
|
+
valueUnit?: "percent" | "pixels" | "unitless" | undefined;
|
|
80
|
+
unsetValue?: "max" | "field-default" | undefined;
|
|
81
|
+
allowDirectInput?: boolean | undefined;
|
|
79
82
|
pattern?: string | undefined;
|
|
80
83
|
placeholder?: string | undefined;
|
|
81
84
|
visibleWhen?: import("..").FieldVisibleWhen | undefined;
|
|
82
85
|
modalConfig?: {
|
|
83
86
|
buttonLabel?: string | undefined;
|
|
84
87
|
description?: string | undefined;
|
|
85
|
-
buttonVariant?: "
|
|
88
|
+
buttonVariant?: "default" | "outline" | undefined;
|
|
86
89
|
showCustomizedIndicator?: boolean | undefined;
|
|
87
90
|
maxWidth?: string | undefined;
|
|
88
91
|
} | undefined;
|
|
@@ -90,7 +93,7 @@ export declare const locationMapManifest: import("..").DefinedBlockManifest<{
|
|
|
90
93
|
fullWidth?: boolean | undefined;
|
|
91
94
|
row?: string | undefined;
|
|
92
95
|
colSpan?: number | undefined;
|
|
93
|
-
layout?: "
|
|
96
|
+
layout?: "stack" | "grid" | undefined;
|
|
94
97
|
columns?: number | undefined;
|
|
95
98
|
gridColsPreset?: "simple2" | "simple3" | "simple4" | "buttonCtaRow" | undefined;
|
|
96
99
|
gridColumns?: {
|
|
@@ -121,7 +124,7 @@ export declare const locationMapManifest: import("..").DefinedBlockManifest<{
|
|
|
121
124
|
iconPickerPreset?: "cta" | "feature" | undefined;
|
|
122
125
|
contentTypeField?: string | undefined;
|
|
123
126
|
fixedContentType?: string | undefined;
|
|
124
|
-
valueFrom?: "id" | "
|
|
127
|
+
valueFrom?: "id" | "slug" | "identifier" | undefined;
|
|
125
128
|
siteOptionSource?: "venues" | "eventCategories" | "staffMembers" | undefined;
|
|
126
129
|
searchThreshold?: number | undefined;
|
|
127
130
|
renderInHeader?: boolean | undefined;
|