@riverbankcms/sdk 0.154.0 → 0.155.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 +2 -0
- package/dist/{EventEmbeddedCheckoutStep-ba9npQtb.mjs → EventEmbeddedCheckoutStep-DALtAjqG.mjs} +1 -1
- package/dist/{PreviewEditorSidebar-C7FiaxlF.mjs → PreviewEditorSidebar-CbSbqmz3.mjs} +29 -20
- package/dist/{PreviewEditorUI-DFst50q1.mjs → PreviewEditorUI-CKKnAw11.mjs} +9 -17
- package/dist/{SdkPreviewModeRuntime-BUNV_YHZ.mjs → SdkPreviewModeRuntime-wLkXrWy9.mjs} +132 -56
- package/dist/{SiteChromeCustomizeContext-DEj7qppF.mjs → SiteChromeCustomizeContext-BQ8vvKb-.mjs} +6324 -3566
- package/dist/{ThemedButton-C8kzu0hY.mjs → ThemedButton-Bi0rgijy.mjs} +83 -5
- package/dist/_dts/ai/src/contracts/proposals.d.ts +42213 -16421
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +3322 -258
- package/dist/_dts/api/src/bookingConfig.d.ts +4 -12
- package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +2 -2
- package/dist/_dts/api/src/bookingOperations.d.ts +4 -0
- package/dist/_dts/api/src/bookingPeople.d.ts +1 -1
- package/dist/_dts/api/src/bookingRecords.d.ts +1 -0
- package/dist/_dts/api/src/bookings.d.ts +8 -1
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/common/envelope.d.ts +2 -2
- package/dist/_dts/api/src/contentRuntime.d.ts +4 -3
- package/dist/_dts/api/src/endpoints.d.ts +1 -1
- package/dist/_dts/api/src/eventManagementContracts.d.ts +20 -11
- package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +1 -1
- package/dist/_dts/api/src/index.d.ts +5 -2
- package/dist/_dts/api/src/privacyPolicy.d.ts +20 -2
- package/dist/_dts/api/src/public/types.d.ts +1 -0
- package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +1 -0
- package/dist/_dts/api/src/publicBookingService.d.ts +1 -0
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +4 -0
- package/dist/_dts/api/src/sdk-event-management.d.ts +1 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +22 -7
- package/dist/_dts/api/src/sdkContracts.d.ts +2 -0
- package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +5 -3
- package/dist/_dts/api/src/sdkPullEventContracts.d.ts +15 -4
- package/dist/_dts/api/src/sdkThemeWire.d.ts +10 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -2
- package/dist/_dts/api/src/siteTerms.d.ts +100 -0
- package/dist/_dts/api/src/types.d.ts +2 -1
- package/dist/_dts/api/src/webhooks.d.ts +9 -9
- package/dist/_dts/block-form/src/client/index.d.ts +2 -1
- package/dist/_dts/block-form/src/widgets/DateField/DateField.d.ts +3 -1
- package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +3 -1
- package/dist/_dts/block-form/src/widgets/DateTimeField/DateTimeField.d.ts +3 -1
- package/dist/_dts/blocks/src/client/carousel.d.ts +1 -0
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +12 -33
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +22 -22
- package/dist/_dts/blocks/src/index.d.ts +2 -2
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +1 -0
- package/dist/_dts/blocks/src/pageRenderPlan.d.ts +8 -1
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +1 -0
- package/dist/_dts/blocks/src/rendering/server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +9 -5
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/catalogue.d.ts +7 -1
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +14 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/itemData.d.ts +12 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +56 -6
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/photoCount.d.ts +3 -12
- package/dist/_dts/blocks/src/system/blocks/shared/siteTerms.d.ts +17 -0
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +44 -0
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +2 -1
- package/dist/_dts/blocks/src/system/manifest/validation.d.ts +3 -1
- package/dist/_dts/blocks/src/system/node/fragments/backgroundLayer.d.ts +6 -0
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +22 -3
- package/dist/_dts/blocks/src/system/node/fragments/styledSection.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +33 -0
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +12 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFlowController.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingSubmission.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.state.d.ts +42 -0
- package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +6 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.client.d.ts +5 -30
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.server.d.ts +3 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.shared.d.ts +71 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/AttendeeDetailsStep.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/CalendarAction.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SuccessStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/bookingCalendar.d.ts +16 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/finishedBooking.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +42 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CardListItem.d.ts +26 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventItem.d.ts +17 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCardListContent.d.ts +9 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +20 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/gifting.interactive.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-catalogue.d.ts +5 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-content.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/CheckboxChoice.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/SiteTermsAgreementField.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/shared/siteTermsAgreement.d.ts +81 -0
- package/dist/_dts/blocks/src/system/runtime/shared/siteTermsCheckoutApi.d.ts +14 -0
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +2 -0
- package/dist/_dts/blocks/src/system/types/link.d.ts +2 -0
- package/dist/_dts/calendar/src/icsRenderer.d.ts +23 -0
- package/dist/_dts/calendar/src/index.d.ts +2 -0
- package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/types.d.ts +5 -0
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +3 -1
- package/dist/_dts/content-editor/src/controller/publicationDate.d.ts +5 -0
- package/dist/_dts/content-model/src/content-types/entryValidation.d.ts +6 -5
- package/dist/_dts/content-model/src/content-types/schema.d.ts +4 -0
- package/dist/_dts/content-model/src/contentManifest.d.ts +10 -2
- package/dist/_dts/content-model/src/definitions/shared.d.ts +2 -0
- package/dist/_dts/core/src/booking-date-time.d.ts +5 -0
- package/dist/_dts/core/src/booking-refunds.d.ts +43 -2
- package/dist/_dts/core/src/branded.d.ts +6 -0
- package/dist/_dts/core/src/date-display.d.ts +7 -2
- package/dist/_dts/core/src/index.d.ts +3 -2
- package/dist/_dts/core/src/site-terms.d.ts +94 -0
- package/dist/_dts/core/src/whole-series-run-schedule.d.ts +2 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +306 -0
- package/dist/_dts/db/src/schemas/forms.d.ts +16 -16
- package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +2 -2
- package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +3 -2
- package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/link/LinkContentList.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/link/draft.d.ts +6 -1
- package/dist/_dts/editor-blocks/src/widgets/link/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/blocks/arrangementControlsModel.d.ts +8 -1
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +2 -0
- package/dist/_dts/sdk/src/config/typed-entry-links.test-d.d.ts +1 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +3 -2
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +3 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +7 -4
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +3 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +1 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +12 -8
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +12 -8
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +12 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/containerSchema.d.ts +1 -0
- package/dist/_dts/theme-core/src/header/generateHeaderCss.d.ts +3 -0
- package/dist/_dts/theme-core/src/inputs/checkable.d.ts +6 -0
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +15 -0
- package/dist/_dts/theme-core/src/schema.d.ts +21 -0
- package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +3 -2
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +56 -1
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
- package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/headerStyleRecipe.d.ts +13 -1
- package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +5 -0
- package/dist/_dts/theme-core/src/site-styles/siteStyleTypography.d.ts +46 -0
- package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +4 -1
- package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +2 -0
- package/dist/_dts/theme-core/src/typography/schema.d.ts +9 -0
- package/dist/_dts/ui/src/calendar.d.ts +6 -1
- package/dist/_dts/ui/src/index.d.ts +1 -1
- package/dist/client/{BookingMailingListNote-CNoSqFtf.mjs → BookingMailingListNote-CiW1dsz7.mjs} +3 -3
- package/dist/client/{CardListItem-BkTkqBkh.mjs → CardListItem-DVYTlYpS.mjs} +70 -13
- package/dist/client/CheckboxChoice-CUnPrBlC.mjs +44 -0
- package/dist/client/DemoBookingPortalAccess-DEsn5F2C.mjs +770 -0
- package/dist/client/{EventCombined.client-BgeYMjHJ.mjs → EventCombined.client-BdctbwnV.mjs} +5 -5
- package/dist/client/{EventEmbeddedCheckoutStep-BTc_lTkM.mjs → EventEmbeddedCheckoutStep-DAhQs6Jb.mjs} +2 -5
- package/dist/client/{EventListing.client-ChRs9Hl2.mjs → EventListing.client-BviZXfAE.mjs} +2 -2
- package/dist/client/{mailingListSignupCopy-DZSHZrm6.mjs → FieldValidationMessage-AYanWFb-.mjs} +1 -14
- package/dist/client/{LeafletStaticMap-C_dNQgd0.mjs → LeafletStaticMap-BLTECfjU.mjs} +1 -1
- package/dist/client/{RichText-BI9bzbjo.mjs → RichText-D3oE1_pw.mjs} +4 -4
- package/dist/client/ThemedButton-Ckj0Rfr_.mjs +1256 -0
- package/dist/client/{accordion-6Yz8Wd83.mjs → accordion-yBx6d4O2.mjs} +1 -1
- package/dist/client/{bookingForm-i_pKIGiY.mjs → bookingForm-CPDEsQci.mjs} +64 -35
- package/dist/client/bookings.mjs +6572 -3274
- package/dist/client/carousel-DCqjwd2s.mjs +71 -0
- package/dist/client/{carousel.client-BUgjPbb6.mjs → carousel.client-Bx7XMF8-.mjs} +114 -39
- package/dist/client/{cart-D8OBHuF4.mjs → cart-DWJXrQxs.mjs} +3 -3
- package/dist/client/{checkout-F3-9IGLU.mjs → checkout-CH4ypSLS.mjs} +3 -3
- package/dist/client/client.mjs +7379 -2504
- package/dist/client/{context-Dg4ZrxDD.mjs → context-BOs0m_iw.mjs} +16 -12
- package/dist/client/{eventCalendar-BUc7YIBM.mjs → eventCalendar-CRylMllc.mjs} +8 -319
- package/dist/client/{eventCombined-BwfShk2a.mjs → eventCombined-DohTS3kp.mjs} +4 -4
- package/dist/client/{eventDetails-BMOVC3go.mjs → eventDetails-qf-u9zcF.mjs} +108 -36
- package/dist/client/{eventListing-BwE9PM-t.mjs → eventListing-Cg__X2vy.mjs} +4 -4
- package/dist/client/{eventRegistration-CCWPYDc7.mjs → eventRegistration-CybWxswy.mjs} +215 -237
- package/dist/client/{form-CXFr0Gd5.mjs → form-C-SGk6nq.mjs} +4 -4
- package/dist/client/{headerSection-BX8qw8kH.mjs → headerSection-BdzPaHqo.mjs} +3 -3
- package/dist/client/hooks.mjs +1283 -213
- package/dist/client/{locationMap-B3La71m0.mjs → locationMap-CEwIKmMb.mjs} +3 -3
- package/dist/client/mailingListSignupCopy-DS-_ePzG.mjs +14 -0
- package/dist/client/{media-B1Cbv721.mjs → media-V_ShXXru.mjs} +3 -3
- package/dist/client/{mediaContext-CwbbimYB.mjs → mediaContext-D-0tNVxE.mjs} +1 -1
- package/dist/client/{newsletterForm-DnGyR0x7.mjs → newsletterForm-CmwTltoS.mjs} +5 -4
- package/dist/client/{productDetail-BVgTqvkb.mjs → productDetail-DjIzUwg3.mjs} +3 -3
- package/dist/client/{productList-CcO7kUQw.mjs → productList-D6JGFnMF.mjs} +3 -3
- package/dist/client/{propsDecoder-B1OeWavE.mjs → propsDecoder-BRKz13eg.mjs} +5110 -2504
- package/dist/client/{renderableMediaAssetAdmission-CHkXYDC_.mjs → renderableMediaAssetAdmission-Cd3JSw2H.mjs} +3 -1
- package/dist/client/rendering/client.mjs +6176 -2738
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +7656 -2726
- package/dist/client/{routeIslandApiConfig-Dl4vglJm.mjs → routeIslandApiConfig-slAAILQ5.mjs} +1 -1
- package/dist/client/{shop-P72nX5Fs.mjs → shop-C45K96_0.mjs} +178 -157
- package/dist/client/{shop-commerce-Bt7uraDx.mjs → shop-commerce-oGBiKT5d.mjs} +23 -10
- package/dist/client/{shop-commerce-store-C1-mxSye.mjs → shop-commerce-store-H_HFPFZ8.mjs} +1 -1
- package/dist/client/{shopShared-Db-cRGu3.mjs → shopShared-D54T_LAV.mjs} +5 -5
- package/dist/client/{useDiscountCodeUi-jvAiUoUX.mjs → useDiscountCodeUi-Dm2EUa03.mjs} +1 -1
- package/dist/client/{useEventPagination-BdWpCniq.mjs → useEventPagination-0l_A8CxG.mjs} +62 -24
- package/dist/preview-next/before-render.mjs +1 -0
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/keepAlive.mjs +1 -0
- package/dist/preview-next/middleware.mjs +1 -0
- package/dist/{sdk-runtime-DLhjF2Nw.mjs → sdk-runtime-CjTM32Ah.mjs} +1 -1
- package/dist/server/components.mjs +4514 -1408
- package/dist/server/config-validation.mjs +1181 -179
- package/dist/server/config.mjs +1147 -177
- package/dist/server/data.mjs +1204 -180
- package/dist/server/date-time.mjs +18 -7
- package/dist/server/index.mjs +4 -1
- package/dist/server/next.mjs +4533 -1429
- package/dist/server/page-converter.mjs +1054 -173
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +3775 -1015
- package/dist/server/rendering.mjs +4540 -1425
- package/dist/server/routing.mjs +1321 -247
- package/dist/server/server.mjs +1296 -215
- package/dist/server/theme-bridge.mjs +1864 -73
- package/dist/server/theme.mjs +74 -3
- package/dist/{spinner-MTooKfck.mjs → spinner-KVVZh8jd.mjs} +1 -1
- package/dist/src-BgmWy3P1.mjs +1667 -0
- package/dist/styles/index.css +942 -1
- package/package.json +1 -1
- package/dist/client/CheckboxChoice-CHJpsty4.mjs +0 -24
- package/dist/client/DemoBookingPortalAccess-C7KQKFNt.mjs +0 -344
- package/dist/client/ThemedButton-wl3Z3wkH.mjs +0 -411
- package/dist/client/carousel-DNqd_PjC.mjs +0 -38
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type RoutableContentItem } from '../../../../api/src/navigation';
|
|
2
2
|
import type { SiteId } from '../../../../core/src/index';
|
|
3
3
|
import type { LinkValue } from '../../../../blocks/src/index';
|
|
4
|
+
import { type LinkPickerConstraints } from './draft';
|
|
4
5
|
import type { RoutableContentResource } from './types';
|
|
5
6
|
import type { LinkWidgetAdapters } from './types';
|
|
6
7
|
export type LinkPickerProps = {
|
|
@@ -13,6 +14,8 @@ export type LinkPickerProps = {
|
|
|
13
14
|
adapters?: LinkWidgetAdapters;
|
|
14
15
|
content?: RoutableContentResource;
|
|
15
16
|
onCancel?: () => void;
|
|
17
|
+
constraints?: LinkPickerConstraints;
|
|
18
|
+
pickerDescription?: string;
|
|
16
19
|
actionLabel?: string;
|
|
17
20
|
};
|
|
18
21
|
export declare function LinkPicker(props: LinkPickerProps): import("react").JSX.Element;
|
|
@@ -5,6 +5,6 @@ type LinkPickerDialogProps = {
|
|
|
5
5
|
onOpenChange: (open: boolean) => void;
|
|
6
6
|
value: LinkValue | null;
|
|
7
7
|
onSave: (value: LinkValue | null) => void;
|
|
8
|
-
} & Pick<LinkPickerProps, 'siteId' | 'disabled' | 'initialItems' | 'adapters' | 'content'>;
|
|
8
|
+
} & Pick<LinkPickerProps, 'siteId' | 'disabled' | 'initialItems' | 'adapters' | 'content' | 'constraints' | 'pickerDescription'>;
|
|
9
9
|
export declare function LinkPickerDialog({ open, onOpenChange, value, onSave, ...options }: LinkPickerDialogProps): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -2,6 +2,7 @@ import { type ReactNode } from 'react';
|
|
|
2
2
|
import type { LinkValue } from '../../../../blocks/src/index';
|
|
3
3
|
import type { RoutableContentItem } from '../../../../api/src/navigation';
|
|
4
4
|
import type { SiteId } from '../../../../core/src/index';
|
|
5
|
+
import type { LinkPickerConstraints } from './draft';
|
|
5
6
|
import type { LinkWidgetAdapters, RoutableContentResource } from './types';
|
|
6
7
|
export type LinkWidgetProps = {
|
|
7
8
|
siteId?: SiteId;
|
|
@@ -14,6 +15,8 @@ export type LinkWidgetProps = {
|
|
|
14
15
|
label?: ReactNode;
|
|
15
16
|
description?: ReactNode;
|
|
16
17
|
fieldPath?: string;
|
|
18
|
+
constraints?: LinkPickerConstraints;
|
|
19
|
+
pickerDescription?: string;
|
|
17
20
|
mode?: 'inline' | 'dialog';
|
|
18
21
|
};
|
|
19
22
|
export declare function LinkWidget({ value, onChange, label, description, fieldPath, mode, content: supplied, ...options }: LinkWidgetProps): import("react").JSX.Element;
|
|
@@ -4,6 +4,11 @@ export type InternalReference = Extract<LinkValue, {
|
|
|
4
4
|
kind: 'internal' | 'page' | 'entry';
|
|
5
5
|
}>;
|
|
6
6
|
export type LinkTab = 'internal' | 'external' | 'custom';
|
|
7
|
+
export type LinkPickerConstraints = Readonly<{
|
|
8
|
+
tabs: readonly LinkTab[];
|
|
9
|
+
kinds: readonly LinkValue['kind'][];
|
|
10
|
+
externalProtocols: readonly string[];
|
|
11
|
+
}>;
|
|
7
12
|
type EditingLinkDraft = Readonly<{
|
|
8
13
|
kind: 'editing';
|
|
9
14
|
tab: LinkTab;
|
|
@@ -39,6 +44,6 @@ export type LinkDraftDecision = {
|
|
|
39
44
|
};
|
|
40
45
|
export declare function createLinkDraft(value: LinkValue | null): EditingLinkDraft;
|
|
41
46
|
export declare function reduceLinkDraft(draft: LinkDraft, event: LinkDraftEvent): LinkDraft;
|
|
42
|
-
export declare function decideLinkDraft(draft: LinkDraft, content: RoutableContentState): LinkDraftDecision;
|
|
47
|
+
export declare function decideLinkDraft(draft: LinkDraft, content: RoutableContentState, constraints?: LinkPickerConstraints): LinkDraftDecision;
|
|
43
48
|
export declare function isLinkTab(value: string): value is LinkTab;
|
|
44
49
|
export {};
|
|
@@ -7,3 +7,4 @@ export type { LinkWidgetAdapters } from './types';
|
|
|
7
7
|
export { LinkField } from './LinkField';
|
|
8
8
|
export { LinkWidgetProvider, useLinkWidgetContext } from './LinkWidgetContext';
|
|
9
9
|
export type { LinkWidgetContextValue } from './LinkWidgetContext';
|
|
10
|
+
export type { LinkPickerConstraints } from './draft';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type HeadlineLength } from '../../../../blocks/src/index';
|
|
2
2
|
import { type SystemCustomizeFacetId, type SystemCustomizeFacetStoredValue } from '../../../../blocks/src/system/customize/facets';
|
|
3
3
|
import { type BackgroundColorToken } from '../../../../blocks/src/system/customize/backgrounds';
|
|
4
|
-
import { type AppearancePresetId } from '../../../../theme-core/src/site-styles/index';
|
|
4
|
+
import { type AppearancePresetId, type ArrangementBlockAppearancePreset } from '../../../../theme-core/src/site-styles/index';
|
|
5
5
|
import { resolveEditorArrangementLook, type PageDesignEditorBlock } from '../../../../theme-core/src/site-styles/previewCompiler';
|
|
6
6
|
/**
|
|
7
7
|
* What the Look control shows for a block on an arrangement-Look style. The
|
|
@@ -86,6 +86,13 @@ export declare function arrangementBlockControlsFor(input: Readonly<{
|
|
|
86
86
|
export declare function arrangementOwnedFieldIds(block: PageDesignEditorBlock | null): readonly string[];
|
|
87
87
|
/** How the block's pin resolves under its style, for arrangement-Look styles only. */
|
|
88
88
|
export declare function arrangementLookResolution(block: PageDesignEditorBlock): ReturnType<typeof resolveEditorArrangementLook> | null;
|
|
89
|
+
/** Visibility reads the existing editor decision, never a persisted Look field. */
|
|
90
|
+
export type ArrangementVisibility = Readonly<{
|
|
91
|
+
lookId: ArrangementBlockAppearancePreset['id'];
|
|
92
|
+
arrangementField: string;
|
|
93
|
+
arrangement: string;
|
|
94
|
+
}>;
|
|
95
|
+
export declare function arrangementVisibilityValues(block: PageDesignEditorBlock | null): ArrangementVisibility | null;
|
|
89
96
|
/** The next pin for an arrow press, skipping a stop that would look the same. */
|
|
90
97
|
export declare function nextArrangementLookPin(controls: ArrangementBlockControls, block: PageDesignEditorBlock, direction: 'prev' | 'next'): AppearancePresetId | null | undefined;
|
|
91
98
|
export type ArrangementSurfaceOption = Readonly<{
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ArrangementVisibility } from './arrangementControlsModel';
|
|
1
2
|
import type { FieldConfig, FieldIntent } from '../../../../block-form/src/index';
|
|
2
3
|
export type PreviewCustomizeControl = Readonly<{
|
|
3
4
|
kind: 'manifest-field';
|
|
@@ -17,8 +18,10 @@ export type PreviewCustomizeHiddenControl = Readonly<{
|
|
|
17
18
|
export type CreatePreviewCustomizeControlPlanInput = Readonly<{
|
|
18
19
|
fields: readonly FieldConfig[];
|
|
19
20
|
content: Readonly<Record<string, unknown>>;
|
|
21
|
+
/** Compiler-owned appearance values affect visibility, never editable values. */
|
|
22
|
+
visibilityValues?: ArrangementVisibility | null;
|
|
20
23
|
quickFieldPriority?: readonly string[];
|
|
21
24
|
maxQuickFields?: number;
|
|
22
25
|
}>;
|
|
23
|
-
export declare function createPreviewCustomizeControlPlan({ fields, content, quickFieldPriority, maxQuickFields, }: CreatePreviewCustomizeControlPlanInput): PreviewCustomizeControlPlan;
|
|
26
|
+
export declare function createPreviewCustomizeControlPlan({ fields, content, visibilityValues, quickFieldPriority, maxQuickFields, }: CreatePreviewCustomizeControlPlanInput): PreviewCustomizeControlPlan;
|
|
24
27
|
export declare function isRawThemeV2CustomizeFieldPath(fieldPath: string): boolean;
|
|
@@ -4,6 +4,7 @@ import React, { type ReactNode } from 'react';
|
|
|
4
4
|
import type { ApiClient } from '../../../../api/src/request';
|
|
5
5
|
import { type ContentTypeSchema } from '../../../../content-model/src/index';
|
|
6
6
|
import type { ServerBlockItem } from '../../../../editor-blocks/src/index';
|
|
7
|
+
import { type BookingTimeZone } from '../../../../core/src/index';
|
|
7
8
|
export type PreviewPageMetadata = {
|
|
8
9
|
draftUpdatedAt?: string | null;
|
|
9
10
|
draftTitle: string;
|
|
@@ -40,6 +41,7 @@ export type PreviewContentEntryData = {
|
|
|
40
41
|
};
|
|
41
42
|
type PreviewEntryControllerProviderProps = {
|
|
42
43
|
children: ReactNode;
|
|
44
|
+
businessTimeZone: BookingTimeZone;
|
|
43
45
|
siteId: string;
|
|
44
46
|
pageId: string | null;
|
|
45
47
|
pageNodeType?: 'page' | 'page_surface';
|
|
@@ -64,5 +66,5 @@ export type PreviewLiveDrafts = Readonly<{
|
|
|
64
66
|
client: LiveDraftsClient;
|
|
65
67
|
refreshBaselines: () => void;
|
|
66
68
|
}>;
|
|
67
|
-
export declare function PreviewEntryControllerProvider({ children, siteId, pageId, pageNodeType, routeId: providedRouteId, entryData, contentTypeSchema, initialStatus, initialBlocks, blockFieldExtensions, pageMetadata, apiClient, subscribeToLeaseChanges, onLeaseGranted, liveDrafts, }: PreviewEntryControllerProviderProps): React.JSX.Element;
|
|
69
|
+
export declare function PreviewEntryControllerProvider({ children, businessTimeZone, siteId, pageId, pageNodeType, routeId: providedRouteId, entryData, contentTypeSchema, initialStatus, initialBlocks, blockFieldExtensions, pageMetadata, apiClient, subscribeToLeaseChanges, onLeaseGranted, liveDrafts, }: PreviewEntryControllerProviderProps): React.JSX.Element;
|
|
68
70
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BookingTimeZone } from '../../../../core/src/index';
|
|
1
2
|
import type { EditLeaseChangeSubscription } from '../../../../content-editor/src/index';
|
|
2
3
|
import React, { type ComponentProps, type ReactNode } from 'react';
|
|
3
4
|
import { BlockApiProvider } from '../../../../blocks/src/client';
|
|
@@ -26,6 +27,7 @@ type PreviewShellCommonProps = {
|
|
|
26
27
|
children: ReactNode;
|
|
27
28
|
apiBaseUrl: string;
|
|
28
29
|
blockApiConfig: ComponentProps<typeof BlockApiProvider>['config'];
|
|
30
|
+
businessTimeZone: BookingTimeZone;
|
|
29
31
|
siteId: string;
|
|
30
32
|
siteSlug: string;
|
|
31
33
|
editableId: string | null;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import type { BookingTimeZone } from '../../../../core/src/index';
|
|
1
2
|
import type { EditorRenderablePageOutline, MediaAssetIndexItem } from '../../../../blocks/src/index';
|
|
2
3
|
import type { SurfaceId } from '../../../../surfaces/src/index';
|
|
3
4
|
import type { PreviewRuntimeSession } from '../../auth-contract';
|
|
4
5
|
import type { PreviewRenderingMode, PreviewThemeRuntime } from '../preview/themeRuntime';
|
|
5
6
|
export { SdkPreviewModeRuntime as SdkPreviewMode } from './SdkPreviewModeRuntime';
|
|
6
7
|
export type SdkPreviewModeContent = {
|
|
8
|
+
bookingTimeZone: BookingTimeZone;
|
|
7
9
|
page: EditorRenderablePageOutline;
|
|
8
10
|
pageId: string;
|
|
9
11
|
routeId: string | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AddressedLocationValue, BusinessAddress } from '../../../core/src/index';
|
|
1
|
+
import type { BookingTimeZone, AddressedLocationValue, BusinessAddress } from '../../../core/src/index';
|
|
2
2
|
import type { ResolvedInternalLinkEntityType } from '../../../blocks/src/index';
|
|
3
3
|
import type { APIEndpoints, ApiErrorCode as SharedApiErrorCode, PublicBookingService as ApiPublicBookingService, PublicBookingServiceCatalogueItem as ApiPublicBookingServiceCatalogueItem, PublicBookingServicesResponse as ApiPublicBookingServicesResponse, PublicServiceCategorySummary as ApiPublicServiceCategorySummary, RoutableContentItem as ApiRoutableContentItem, SdkRuntimePageSurfaceSubject as ApiSdkRuntimePageSurfaceSubject, SdkRuntimePageSurfaceContentSource as ApiSdkRuntimePageSurfaceContentSource, SdkRuntimePageSurface as ApiSdkRuntimePageSurface, SdkRuntimeEntry as ApiSdkRuntimeEntry, SiteBySlugResponse as ApiSiteBySlugResponse, SiteBookingOfferingPresetSummary as ApiSiteBookingOfferingPresetSummary, SdkBlockContentAdmission } from '../../../api/src/index';
|
|
4
4
|
import type { MediaAssetIndexItem, SiteFooterContent, SiteHeaderContent } from '../contracts';
|
|
@@ -325,8 +325,9 @@ export type SiteResponse = SiteSelectionResponse & {
|
|
|
325
325
|
commerceEnabled?: boolean;
|
|
326
326
|
bookingOfferingPresets?: readonly SiteBookingOfferingPresetSummary[];
|
|
327
327
|
mailingList?: import('../../../core/src/index').MailingListRuntimeContext;
|
|
328
|
-
bookingTimeZone
|
|
328
|
+
bookingTimeZone: BookingTimeZone;
|
|
329
329
|
analytics?: SiteAnalyticsSettingsPayload;
|
|
330
|
+
siteTerms?: import('../../../api/src/index').SiteRuntimeSiteTerms;
|
|
330
331
|
privacyPolicy?: SiteRuntimePrivacyPolicy;
|
|
331
332
|
businessDetails?: SiteRuntimeBusinessDetails;
|
|
332
333
|
routes: Record<string, SiteRouteRecord>;
|
|
@@ -28,6 +28,7 @@ export type PageRendererDataContext = {
|
|
|
28
28
|
resolvedData?: Record<string, Record<string, unknown>>;
|
|
29
29
|
loaderFailures?: BlockLoaderFailures;
|
|
30
30
|
bookingOfferingPresets?: readonly SiteBookingOfferingPresetSummary[];
|
|
31
|
+
siteTerms?: import('../../../blocks/src/system/blocks/shared/siteTerms').BlockSiteTerms;
|
|
31
32
|
mailingList?: import('../../../core/src/index').MailingListRuntimeContext;
|
|
32
33
|
bookingTimeZone?: string;
|
|
33
34
|
previewStage: 'published' | 'preview';
|
|
@@ -3,7 +3,7 @@ import type { EntrySubrouteContextData, MediaAssetIndexItem, OccurrenceContextDa
|
|
|
3
3
|
import type { ResolvedBlockData } from '../../data';
|
|
4
4
|
import type { SiteBookingOfferingPresetSummary } from '../../public-api/contracts';
|
|
5
5
|
import type { RuntimeSdkConfig } from '../helpers/loadPage';
|
|
6
|
-
import { type ComponentRegistry, type RenderablePageOutline } from '../blocks-page-renderer';
|
|
6
|
+
import { type ComponentRegistry, type RenderablePageOutline, type PageRendererDataContext } from '../blocks-page-renderer';
|
|
7
7
|
import { type SdkThemeRuntime } from '../themeRuntime';
|
|
8
8
|
import type { BlockOverrides } from '../overrides';
|
|
9
9
|
import type { SdkCustomBlock } from '../../config/types';
|
|
@@ -14,6 +14,7 @@ type PageCommonProps = {
|
|
|
14
14
|
siteId: string;
|
|
15
15
|
resolvedData?: ResolvedBlockData;
|
|
16
16
|
bookingOfferingPresets?: readonly SiteBookingOfferingPresetSummary[];
|
|
17
|
+
siteTerms?: PageRendererDataContext['siteTerms'];
|
|
17
18
|
mailingList?: import('../../../../core/src/index').MailingListRuntimeContext;
|
|
18
19
|
bookingTimeZone?: string;
|
|
19
20
|
routeMap?: RouteMap;
|
|
@@ -65,6 +66,7 @@ type PageCommonProps = {
|
|
|
65
66
|
demoEmailSuppressed?: boolean;
|
|
66
67
|
siteName?: string;
|
|
67
68
|
/** Mailing-list runtime projected for the placements on this page. */
|
|
69
|
+
siteTerms?: PageRendererDataContext['siteTerms'];
|
|
68
70
|
mailingList?: import('../../../../core/src/index').MailingListRuntimeContext;
|
|
69
71
|
/** Occurrence context for event pages (from URL like /events/yoga/2025-01-15) */
|
|
70
72
|
occurrenceContext?: OccurrenceContextData | null;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import type { MediaAssetIndexItem, RouteMap, Theme } from '../../contracts';
|
|
8
8
|
import type { RiverbankClient, PageResponse, SiteResponse } from '../../client/types';
|
|
9
9
|
import type { SdkRuntimePageSurfaceSubject } from '../../public-api/contracts';
|
|
10
|
-
import type { MailingListRuntimeContext } from '../../../../core/src/index';
|
|
10
|
+
import type { BookingTimeZone, MailingListRuntimeContext } from '../../../../core/src/index';
|
|
11
11
|
import type { PageProps } from '../components/Page';
|
|
12
12
|
import type { ResolvedBlockData } from '../../data/prefetchBlockData';
|
|
13
13
|
import { type ResolveBlockDataDeps } from '../../data/resolveBlockData';
|
|
@@ -115,8 +115,9 @@ export type PageContentResult = {
|
|
|
115
115
|
resolvedData: ResolvedBlockData;
|
|
116
116
|
/** Selected booking offering presets exposed to SSR blocks. */
|
|
117
117
|
bookingOfferingPresets?: PageProps['bookingOfferingPresets'];
|
|
118
|
+
siteTerms?: import('../../../../api/src/index').SiteRuntimeSiteTerms;
|
|
118
119
|
mailingList?: MailingListRuntimeContext;
|
|
119
|
-
bookingTimeZone
|
|
120
|
+
bookingTimeZone: BookingTimeZone;
|
|
120
121
|
/** Site data for metadata generation */
|
|
121
122
|
site: SiteData;
|
|
122
123
|
/**
|
|
@@ -152,8 +153,9 @@ export type EntryContentResult = {
|
|
|
152
153
|
resolvedData: ResolvedBlockData;
|
|
153
154
|
/** Selected booking offering presets exposed to SSR blocks. */
|
|
154
155
|
bookingOfferingPresets?: PageProps['bookingOfferingPresets'];
|
|
156
|
+
siteTerms?: import('../../../../api/src/index').SiteRuntimeSiteTerms;
|
|
155
157
|
mailingList?: MailingListRuntimeContext;
|
|
156
|
-
bookingTimeZone
|
|
158
|
+
bookingTimeZone: BookingTimeZone;
|
|
157
159
|
/** Data context for template blocks (includes entry content for bindings) */
|
|
158
160
|
dataContext: {
|
|
159
161
|
previewStage: DataLoaderPreviewStage;
|
|
@@ -218,8 +220,9 @@ export type PageSurfaceContentResult = {
|
|
|
218
220
|
templatePage: PageProps['page'] | null;
|
|
219
221
|
resolvedData: ResolvedBlockData;
|
|
220
222
|
bookingOfferingPresets?: PageProps['bookingOfferingPresets'];
|
|
223
|
+
siteTerms?: import('../../../../api/src/index').SiteRuntimeSiteTerms;
|
|
221
224
|
mailingList?: MailingListRuntimeContext;
|
|
222
|
-
bookingTimeZone
|
|
225
|
+
bookingTimeZone: BookingTimeZone;
|
|
223
226
|
dataContext: {
|
|
224
227
|
previewStage: DataLoaderPreviewStage;
|
|
225
228
|
pageSurface: Record<string, unknown>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type BookingTimeZone } from '../../../../core/src/index';
|
|
1
2
|
import type { MediaAssetIndexItem, PageOutline, RouteMap, Theme } from '../../contracts';
|
|
2
3
|
import type { SiteBookingOfferingPresetSummary } from '../../public-api/contracts';
|
|
3
4
|
import type { SiteResponse } from '../../client/types';
|
|
@@ -11,8 +12,9 @@ export type SiteRenderSupport = Readonly<{
|
|
|
11
12
|
site: SiteData;
|
|
12
13
|
sdkConfig: RuntimeSdkConfig | null;
|
|
13
14
|
bookingOfferingPresets: readonly SiteBookingOfferingPresetSummary[];
|
|
15
|
+
siteTerms?: import('../../../../api/src/index').SiteRuntimeSiteTerms;
|
|
14
16
|
mailingList?: import('../../../../core/src/index').MailingListRuntimeContext;
|
|
15
|
-
bookingTimeZone:
|
|
17
|
+
bookingTimeZone: BookingTimeZone;
|
|
16
18
|
customBlocks?: SdkCustomBlock[];
|
|
17
19
|
supabaseUrl?: string;
|
|
18
20
|
routeMap?: RouteMap;
|
|
@@ -20,6 +20,7 @@ type FontLoadingWeight = Readonly<{
|
|
|
20
20
|
type FontLoadingTypography = Readonly<{
|
|
21
21
|
body: FontLoadingStyle;
|
|
22
22
|
eyebrow?: FontLoadingStyle;
|
|
23
|
+
smallHeading?: FontLoadingStyle;
|
|
23
24
|
headings: Readonly<{
|
|
24
25
|
default: FontLoadingStyle;
|
|
25
26
|
}> & Partial<Record<'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6', FontLoadingWeight>>;
|
|
@@ -9,23 +9,27 @@ export declare const quietArrowRecipe: Readonly<{
|
|
|
9
9
|
}>>>;
|
|
10
10
|
parameterSchema: import("zod").ZodType<{
|
|
11
11
|
secondaryTreatment: "outlined" | "solid-accent";
|
|
12
|
+
size?: "comfortable" | undefined;
|
|
13
|
+
hoverTreatment?: "deep-and-sheet" | undefined;
|
|
12
14
|
}, unknown, import("zod/v4/core").$ZodTypeInternals<{
|
|
13
15
|
secondaryTreatment: "outlined" | "solid-accent";
|
|
16
|
+
size?: "comfortable" | undefined;
|
|
17
|
+
hoverTreatment?: "deep-and-sheet" | undefined;
|
|
14
18
|
}, unknown>>;
|
|
15
19
|
defaultParameters: {
|
|
16
20
|
secondaryTreatment: "outlined" | "solid-accent";
|
|
21
|
+
size?: "comfortable" | undefined;
|
|
22
|
+
hoverTreatment?: "deep-and-sheet" | undefined;
|
|
17
23
|
};
|
|
18
|
-
controls: readonly
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
options: readonly Readonly<{
|
|
23
|
-
value: "outlined" | "solid-accent";
|
|
24
|
-
label: string;
|
|
25
|
-
}>[];
|
|
24
|
+
controls: readonly import("..").ButtonStyleControl<{
|
|
25
|
+
secondaryTreatment: "outlined" | "solid-accent";
|
|
26
|
+
size?: "comfortable" | undefined;
|
|
27
|
+
hoverTreatment?: "deep-and-sheet" | undefined;
|
|
26
28
|
}>[];
|
|
27
29
|
defineSystem: (parameters: {
|
|
28
30
|
secondaryTreatment: "outlined" | "solid-accent";
|
|
31
|
+
size?: "comfortable" | undefined;
|
|
32
|
+
hoverTreatment?: "deep-and-sheet" | undefined;
|
|
29
33
|
}) => Readonly<{
|
|
30
34
|
roles: Readonly<Record<"primary" | "secondary" | "accent" | "outline" | "ghost", Readonly<{
|
|
31
35
|
states: import("../..").ButtonVisualAppearances;
|
|
@@ -267,23 +267,27 @@ export declare const buttonStyleRecipes: readonly [Readonly<{
|
|
|
267
267
|
}>>>;
|
|
268
268
|
parameterSchema: import("zod").ZodType<{
|
|
269
269
|
secondaryTreatment: "outlined" | "solid-accent";
|
|
270
|
+
size?: "comfortable" | undefined;
|
|
271
|
+
hoverTreatment?: "deep-and-sheet" | undefined;
|
|
270
272
|
}, unknown, import("zod/v4/core").$ZodTypeInternals<{
|
|
271
273
|
secondaryTreatment: "outlined" | "solid-accent";
|
|
274
|
+
size?: "comfortable" | undefined;
|
|
275
|
+
hoverTreatment?: "deep-and-sheet" | undefined;
|
|
272
276
|
}, unknown>>;
|
|
273
277
|
defaultParameters: {
|
|
274
278
|
secondaryTreatment: "outlined" | "solid-accent";
|
|
279
|
+
size?: "comfortable" | undefined;
|
|
280
|
+
hoverTreatment?: "deep-and-sheet" | undefined;
|
|
275
281
|
};
|
|
276
|
-
controls: readonly
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
options: readonly Readonly<{
|
|
281
|
-
value: "outlined" | "solid-accent";
|
|
282
|
-
label: string;
|
|
283
|
-
}>[];
|
|
282
|
+
controls: readonly import("./domain").ButtonStyleControl<{
|
|
283
|
+
secondaryTreatment: "outlined" | "solid-accent";
|
|
284
|
+
size?: "comfortable" | undefined;
|
|
285
|
+
hoverTreatment?: "deep-and-sheet" | undefined;
|
|
284
286
|
}>[];
|
|
285
287
|
defineSystem: (parameters: {
|
|
286
288
|
secondaryTreatment: "outlined" | "solid-accent";
|
|
289
|
+
size?: "comfortable" | undefined;
|
|
290
|
+
hoverTreatment?: "deep-and-sheet" | undefined;
|
|
287
291
|
}) => Readonly<{
|
|
288
292
|
roles: Readonly<Record<"primary" | "secondary" | "accent" | "outline" | "ghost", Readonly<{
|
|
289
293
|
states: import("..").ButtonVisualAppearances;
|
|
@@ -7,6 +7,12 @@ export declare const quietArrowParametersSchema: z.ZodObject<{
|
|
|
7
7
|
outlined: "outlined";
|
|
8
8
|
"solid-accent": "solid-accent";
|
|
9
9
|
}>;
|
|
10
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
11
|
+
comfortable: "comfortable";
|
|
12
|
+
}>>;
|
|
13
|
+
hoverTreatment: z.ZodOptional<z.ZodEnum<{
|
|
14
|
+
"deep-and-sheet": "deep-and-sheet";
|
|
15
|
+
}>>;
|
|
10
16
|
}, z.core.$strict>;
|
|
11
17
|
export type QuietArrowParameters = z.infer<typeof quietArrowParametersSchema>;
|
|
12
18
|
export declare const FLAT_INK_HOVER_TREATMENT_VALUES: readonly ["contextual", "secondary", "accent"];
|
|
@@ -95,6 +101,12 @@ export declare const buttonStyleSelectionSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
95
101
|
outlined: "outlined";
|
|
96
102
|
"solid-accent": "solid-accent";
|
|
97
103
|
}>;
|
|
104
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
105
|
+
comfortable: "comfortable";
|
|
106
|
+
}>>;
|
|
107
|
+
hoverTreatment: z.ZodOptional<z.ZodEnum<{
|
|
108
|
+
"deep-and-sheet": "deep-and-sheet";
|
|
109
|
+
}>>;
|
|
98
110
|
}, z.core.$strict>;
|
|
99
111
|
}, z.core.$strict>, z.ZodObject<{
|
|
100
112
|
styleId: z.ZodLiteral<"offset-block">;
|