@riverbankcms/sdk 0.67.0 → 0.70.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 +21 -11
- package/dist/_dts/api/src/accessAdmin.d.ts +3 -3
- package/dist/_dts/api/src/admin/types.d.ts +1 -1
- package/dist/_dts/api/src/aiPlayground.d.ts +13 -39
- package/dist/_dts/api/src/appointmentSetup.d.ts +4 -0
- package/dist/_dts/api/src/billing.d.ts +7 -40
- package/dist/_dts/api/src/bookingConfig.d.ts +2 -2
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +4 -1
- package/dist/_dts/api/src/bookingOperations.d.ts +32 -1
- package/dist/_dts/api/src/bookingRecords.d.ts +1 -1
- package/dist/_dts/api/src/bookings.d.ts +1 -1
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/communications.d.ts +1 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +2 -2
- package/dist/_dts/api/src/contentTypes.d.ts +1 -1
- package/dist/_dts/api/src/endpoints.d.ts +7 -0
- package/dist/_dts/api/src/navigation/contracts.d.ts +9 -9
- package/dist/_dts/api/src/navigation/linkValue.d.ts +1 -1
- package/dist/_dts/api/src/navigation/types.d.ts +1 -1
- package/dist/_dts/api/src/public/index.d.ts +2 -2
- package/dist/_dts/api/src/public/types.d.ts +3 -3
- package/dist/_dts/api/src/sdkConfig/contracts.d.ts +1 -2
- package/dist/_dts/api/src/sdkContracts.d.ts +1 -1
- package/dist/_dts/api/src/siteBanner.d.ts +9 -9
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -2
- package/dist/_dts/api/src/siteOnboarding.d.ts +1 -1
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +5 -5
- package/dist/_dts/api/src/siteSettings.d.ts +3 -3
- package/dist/_dts/api/src/teamMembers.d.ts +1 -1
- package/dist/_dts/api/src/types.d.ts +1 -1
- package/dist/_dts/api/src/url.d.ts +1 -1
- package/dist/_dts/billing/src/components/index.d.ts +484 -0
- package/dist/_dts/block-form/src/backend/store-backend.d.ts +1 -1
- package/dist/_dts/block-form/src/backend/types.d.ts +2 -2
- package/dist/_dts/block-form/src/blockDraftSaveability.d.ts +2 -2
- package/dist/_dts/block-form/src/context/ImageResolveContext.d.ts +1 -1
- package/dist/_dts/block-form/src/fields/types.d.ts +1 -1
- package/dist/_dts/block-form/src/manifest/ManifestForm.d.ts +1 -1
- package/dist/_dts/block-form/src/manifest/canonicalValidation.d.ts +1 -1
- package/dist/_dts/block-form/src/manifest/manifestFormAdapter.d.ts +1 -1
- package/dist/_dts/block-form/src/manifest/mergeManifestWithSdkOptions.d.ts +1 -1
- package/dist/_dts/block-form/src/sdk-config/SdkConfigContext.d.ts +1 -1
- package/dist/_dts/block-form/src/shared/disclosure.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterLayoutGrid.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/layoutGridDomain.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useRepeaterPointerDragCapability.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterDndDomain.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterPresentation.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/resolveThumbnail.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RichTextField/richTextFieldSchema.d.ts +4 -4
- package/dist/_dts/block-form/src/widgets/constants.d.ts +1 -1
- package/dist/_dts/blocks/src/PageRenderer.d.ts +5 -1
- package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
- package/dist/_dts/blocks/src/client.d.ts +11 -3
- package/dist/_dts/blocks/src/index.d.ts +28 -27
- package/dist/_dts/blocks/src/portal/types.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/components/Button.d.ts +1 -1
- package/dist/_dts/blocks/src/rendering/server.d.ts +1 -1
- package/dist/_dts/blocks/src/server.d.ts +1 -1
- package/dist/_dts/blocks/src/structure/schema.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +1666 -1666
- package/dist/_dts/blocks/src/system/blocks/blog-post.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +1666 -1666
- package/dist/_dts/blocks/src/system/blocks/columns.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/pricing.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +42 -42
- package/dist/_dts/blocks/src/system/blocks/cta-full.d.ts +1761 -1761
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +1764 -1764
- package/dist/_dts/blocks/src/system/blocks/events/shared/filtering.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +44 -44
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +9 -9
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +139 -139
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/shared/bookingPaymentTerms.d.ts +19 -19
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/video-grid.d.ts +1 -1
- package/dist/_dts/blocks/src/system/componentFactory.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 +5 -5
- package/dist/_dts/blocks/src/system/designCapabilities.d.ts +1 -1
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +1 -1
- package/dist/_dts/blocks/src/system/fragments/library/card.d.ts +1761 -1761
- package/dist/_dts/blocks/src/system/fragments/library/ctaRow.d.ts +1761 -1761
- package/dist/_dts/blocks/src/system/fragments/library/feedbackCallout.d.ts +1761 -1761
- package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +1761 -1761
- package/dist/_dts/blocks/src/system/fragments/library/sectionState.d.ts +1761 -1761
- package/dist/_dts/blocks/src/system/frame/frameStyles.d.ts +3 -3
- package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +2 -2
- package/dist/_dts/blocks/src/system/manifest/augmentManifest.d.ts +1 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +201 -201
- package/dist/_dts/blocks/src/system/media/constrainedVideoMedia.d.ts +1 -1
- package/dist/_dts/blocks/src/system/media/slotContracts.d.ts +1 -1
- package/dist/_dts/blocks/src/system/node/fragments/ctaButton.d.ts +1 -1
- package/dist/_dts/blocks/src/system/node/fragments/typography.d.ts +1 -1
- package/dist/_dts/blocks/src/system/node/schema.d.ts +5 -5
- package/dist/_dts/blocks/src/system/registry.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/api/types.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/header/shared.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableDates.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableSlots.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +140 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.state.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useVisibleTabPolling.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/accordion.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/accordion.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.default-ui.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +500 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.reserved-fields.d.ts +27 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +15 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/timetableModel.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.shared.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/LeafletStaticMap.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/shared/bookingPaymentOptionCopy.d.ts +1 -1
- package/dist/_dts/blocks/src/system/theme/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/registry/ui.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +3 -3
- package/dist/_dts/blocks/src/system/types/link.d.ts +3 -3
- package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +3 -3
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +3 -3
- package/dist/_dts/content-editor/src/controller/buildBlockPublishedBaselines.d.ts +2 -2
- package/dist/_dts/content-editor/src/controller/buildPublishSuccessTransition.d.ts +2 -2
- package/dist/_dts/content-editor/src/controller/deriveRecoveryConflict.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/invalidBlockRecovery.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/useBlocksList.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/useEntrySyncHelpers.d.ts +3 -3
- package/dist/_dts/content-editor/src/controller/useInvalidBlockRecovery.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/blockedPublishPlan.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/useEntryActions.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/useEntryMutations.d.ts +2 -2
- package/dist/_dts/content-editor/src/hooks/useStoreAutosave.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/validateBlocksForPublish.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/PreviewTextEditor.d.ts +1 -1
- package/dist/_dts/content-editor/src/registry.d.ts +1 -1
- package/dist/_dts/content-editor/src/services/contentEntryServices.d.ts +2 -2
- package/dist/_dts/content-editor/src/types.d.ts +2 -2
- package/dist/_dts/content-editor/src/ui/blockValidationView.d.ts +3 -3
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +1 -1
- package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -1
- package/dist/_dts/content-editor/src/ui/stores/utils.d.ts +1 -1
- package/dist/_dts/content-model/src/content-types/schema.d.ts +8 -8
- package/dist/_dts/core/src/branded.d.ts +2 -0
- package/dist/_dts/core/src/index.d.ts +2 -0
- package/dist/_dts/core/src/planner.d.ts +64 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +17 -18
- package/dist/_dts/db/src/schemas/forms.d.ts +62 -62
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +5 -5
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +5 -5
- package/dist/_dts/editor-blocks/src/FormProvider.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +6 -6
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockListContext.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockSettingsModal.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockThumbnail.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockTile.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/EnhancedBlockPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/block-editor/blockDiscovery.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/buildInsertBlockHistoryCommand.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockBaselineSync.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockReorder.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useDraftContent.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/preparedManifest.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/sdkBlockMerger.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/block-editor/settingsIntent.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-form/debug.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/blockPayload.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/index.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +6 -6
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonVariantField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/index.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeSelectField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/index.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/loaders.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/types.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkSummary.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidgetContext.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/link/loaders.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/widgets/link/types.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/link/utils.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/reference/dynamicAdapters.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/reference/loaders.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/widgets/reference/types.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/ensureRichTextImageAssetIdentifier.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/richTextImageHydration.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/shared/Combobox.d.ts +1 -1
- package/dist/_dts/media-core/src/fileAssetCompatibility.d.ts +1 -1
- package/dist/_dts/media-core/src/fileAssetDeletion.d.ts +1 -1
- package/dist/_dts/media-core/src/fileDomain.d.ts +1 -1
- package/dist/_dts/media-core/src/fileDownloadResolution.d.ts +1 -1
- package/dist/_dts/media-core/src/filePersistence.d.ts +1 -1
- package/dist/_dts/media-core/src/fileStorage.d.ts +1 -1
- package/dist/_dts/media-core/src/fileUploadAssetBuilder.d.ts +1 -1
- package/dist/_dts/media-core/src/fileUploadCleanup.d.ts +1 -1
- package/dist/_dts/media-core/src/fileUploadCompletion.d.ts +1 -1
- package/dist/_dts/media-core/src/fileUploadDurableFinalization.d.ts +1 -1
- package/dist/_dts/media-core/src/fileUploadFinalization.d.ts +1 -1
- package/dist/_dts/media-core/src/fileUploadSessionCreation.d.ts +1 -1
- package/dist/_dts/media-core/src/types.d.ts +2 -2
- package/dist/_dts/media-core/src/url.d.ts +1 -1
- package/dist/_dts/media-core/src/videoPrep.d.ts +1 -1
- package/dist/_dts/media-editor/src/CropDialog.d.ts +1 -1
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +2 -2
- package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +1 -1
- package/dist/_dts/media-editor/src/context.d.ts +3 -3
- package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -1
- package/dist/_dts/media-editor/src/cropEditorSource.d.ts +1 -1
- package/dist/_dts/media-editor/src/debug.d.ts +1 -1
- package/dist/_dts/media-editor/src/provider.d.ts +3 -3
- package/dist/_dts/media-editor/src/runtimeMediaAssetState.d.ts +1 -1
- package/dist/_dts/media-editor/src/transformModel.d.ts +1 -1
- package/dist/_dts/media-editor/src/types.d.ts +2 -2
- package/dist/_dts/media-editor/src/utils.d.ts +1 -1
- package/dist/_dts/media-react/src/components/ImageCropper.d.ts +1 -1
- package/dist/_dts/media-react/src/components/cropDraftModel.d.ts +1 -1
- package/dist/_dts/media-react/src/components/cropGeometry.d.ts +1 -1
- package/dist/_dts/media-react/src/components/cropSessionState.d.ts +1 -1
- package/dist/_dts/media-react/src/components/useImageCropperController.d.ts +1 -1
- package/dist/_dts/media-react/src/ffmpegLoader.d.ts +1 -1
- package/dist/_dts/media-react/src/hooks/internal/classification.d.ts +1 -1
- package/dist/_dts/media-react/src/hooks/mediaAssetResponseMapper.d.ts +1 -1
- package/dist/_dts/media-react/src/hooks/useApiMediaUploader.d.ts +4 -4
- package/dist/_dts/media-react/src/utils/rotation.d.ts +1 -1
- package/dist/_dts/media-react/src/videoFrameExtraction.d.ts +1 -1
- package/dist/_dts/media-react/src/videoPrepBrowser.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/composePageFromBlocks.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/blocks/customizeFacetControls.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/editorRegistry.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/aiProposalProjection.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/applyPreviewProjections.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +5 -5
- package/dist/_dts/preview-next/src/client/preview/OnboardingThemeSwitcher.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +5 -5
- package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewAuthBanner.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +9 -9
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorUI.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +8 -8
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +8 -8
- package/dist/_dts/preview-next/src/client/preview/PreviewViewportControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewZoomControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +5 -5
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +5 -5
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/pageSchema.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/previewChromeSurface.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/previewChromeSurfacePolicy.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeRuntimePatch.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/previewSurface.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/subrouteNotice.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/themeOverlay.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/widgets/PreviewMediaField.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/widgets/widgetAdapters.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +3 -3
- package/dist/_dts/sdk/src/bookings/index.d.ts +6 -2
- package/dist/_dts/sdk/src/bookings/types.d.ts +16 -8
- package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +32 -0
- package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +5 -1
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/env.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/push-config.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/site-commands/commandKeys.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +43 -13
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntimeCompat.d.ts +21 -0
- package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +27 -0
- package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +56 -0
- package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +5 -3
- package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +9 -3
- package/dist/_dts/sdk/src/cli/site-commands/formCommands.d.ts +6 -10
- package/dist/_dts/sdk/src/cli/site-commands/index.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +6 -10
- package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +6 -10
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +14 -68
- package/dist/_dts/sdk/src/cli/site-commands/pushExecutionPlan.d.ts +8 -0
- package/dist/_dts/sdk/src/cli/site-commands/pushExecutionTypes.d.ts +97 -0
- package/dist/_dts/sdk/src/cli/site-commands/residualSettingsTrimming.d.ts +15 -0
- package/dist/_dts/sdk/src/cli/sync/index.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/sync/syncResultAggregation.d.ts +4 -0
- package/dist/_dts/sdk/src/config/validation.d.ts +37 -43
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +1 -1
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +19 -19
- package/dist/_dts/sdk/src/portal/config.d.ts +1 -1
- package/dist/_dts/sdk/src/portal/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/constants.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/cookies.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/middleware.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/session.d.ts +1 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +18 -4
- package/dist/_dts/sdk/src/rendering/islands/blocksContracts.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +3 -3
- package/dist/_dts/sdk/src/rendering/overrides.d.ts +2 -0
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +3 -3
- package/dist/_dts/sdk/src/theme-bridge/ThemeBridgeProvider.d.ts +6 -6
- package/dist/_dts/sdk/src/theme-bridge/generateCssVars.d.ts +4 -12
- package/dist/_dts/sdk/src/theme-bridge/index.d.ts +1 -1
- package/dist/_dts/sdk/src/theme-bridge/types.d.ts +17 -9
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/adapter.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +292 -34
- package/dist/_dts/site-commands/src/domain.d.ts +3 -3
- package/dist/_dts/site-commands/src/exposure.d.ts +3 -3
- package/dist/_dts/site-commands/src/index.d.ts +1 -0
- package/dist/_dts/site-commands/src/metadata.d.ts +79 -1
- package/dist/_dts/site-commands/src/planner.d.ts +1 -1
- package/dist/_dts/site-commands/src/refContributions.d.ts +1 -0
- package/dist/_dts/site-commands/src/refs.d.ts +8 -2
- package/dist/_dts/{sdk/src/cli/merge-remote → site-commands/src}/stableJson.d.ts +2 -0
- package/dist/_dts/theme-core/src/accordions/types.d.ts +9 -9
- package/dist/_dts/theme-core/src/blocks/index.d.ts +2 -2
- package/dist/_dts/theme-core/src/blocks/types.d.ts +3 -2
- package/dist/_dts/theme-core/src/buttons/personalities/brushed-wash.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/confident-chip.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/editorial-link.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +35 -35
- package/dist/_dts/theme-core/src/buttons/personalities/ink-stamp.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/pebble.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/showtime-pill.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/soft-pill.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +7 -7
- package/dist/_dts/theme-core/src/buttons/types.d.ts +18 -18
- package/dist/_dts/theme-core/src/cards/types.d.ts +17 -17
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +13 -13
- package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +351 -351
- package/dist/_dts/theme-core/src/navigation/types.d.ts +15 -15
- package/dist/_dts/theme-core/src/palette/recipes/allRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/variants/brand-led.d.ts +24 -24
- package/dist/_dts/theme-core/src/palette/variants/high-contrast.d.ts +18 -18
- package/dist/_dts/theme-core/src/palette/variants/index.d.ts +65 -65
- package/dist/_dts/theme-core/src/palette/variants/soft-natural.d.ts +18 -18
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +7 -7
- package/dist/_dts/theme-core/src/palette/variants/warm-neutral.d.ts +18 -18
- package/dist/_dts/theme-core/src/progress/generateProgressCss.d.ts +2 -1
- package/dist/_dts/theme-core/src/recommend/generateThemes.d.ts +1 -1
- package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +32 -21
- package/dist/_dts/theme-core/src/schema.d.ts +568 -568
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +34 -34
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/pageDesignAuthority.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/siteStyleBlockPolicies.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +14 -14
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +4 -4
- package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +2 -1
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +5 -5
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button.d.ts +2 -2
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/_dts/ui/src/color-picker.d.ts +1 -1
- package/dist/_dts/ui/src/surface.d.ts +2 -2
- package/dist/_dts/ui/src/toggle.d.ts +4 -4
- package/dist/cli/index.mjs +5910 -4824
- package/dist/client/bookings.mjs +5149 -3320
- package/dist/client/client.mjs +11643 -11031
- package/dist/client/hooks.mjs +5764 -3868
- package/dist/client/rendering/client.mjs +4317 -3724
- package/dist/client/rendering/islands.mjs +4087 -3494
- package/dist/client/rendering.mjs +4499 -3885
- package/dist/preview-next/before-render.mjs +14 -0
- package/dist/preview-next/client/runtime.mjs +2927 -2292
- package/dist/preview-next/middleware.mjs +14 -0
- package/dist/server/components.mjs +536 -368
- package/dist/server/config-validation.mjs +6886 -4910
- package/dist/server/config.mjs +6876 -4909
- package/dist/server/data.mjs +5764 -3868
- package/dist/server/index.mjs +174 -1762
- package/dist/server/next.mjs +6393 -5024
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +540 -370
- package/dist/server/rendering.mjs +540 -370
- package/dist/server/routing.mjs +10389 -6835
- package/dist/server/server.mjs +5701 -3805
- package/dist/server/theme-bridge.mjs +1558 -4902
- package/dist/styles/index.css +38 -38
- package/package.json +1 -3
- package/dist/_dts/blocks/src/system/runtime/components/booking/DateTimeSelectionStep.d.ts +0 -18
- package/dist/_dts/blocks/src/system/runtime/components/booking/PaymentOptionSelectionStep.d.ts +0 -9
- package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceResourceSelector.d.ts +0 -44
- package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceResourceSelector.state.d.ts +0 -23
- package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceSelectionStep.d.ts +0 -18
- package/dist/_dts/blocks/src/system/runtime/components/booking/slotDisplay.d.ts +0 -2
- package/dist/_dts/blocks/src/system/runtime/components/multi-step/MultiStepForm.d.ts +0 -21
- package/dist/_dts/blocks/src/system/runtime/components/multi-step/useMultiStep.d.ts +0 -15
- package/dist/_dts/blocks/src/system/runtime/components/multi-step/useMultiStep.state.d.ts +0 -51
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingSteps.d.ts +0 -22
package/dist/styles/index.css
CHANGED
|
@@ -5593,32 +5593,32 @@
|
|
|
5593
5593
|
}
|
|
5594
5594
|
|
|
5595
5595
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-text--muted {
|
|
5596
|
-
opacity: var(--ab-text-muted-opacity);
|
|
5596
|
+
opacity: var(--ab-text-muted-opacity, 0.6);
|
|
5597
5597
|
}
|
|
5598
5598
|
|
|
5599
5599
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-text--faint {
|
|
5600
|
-
opacity: var(--ab-text-faint-opacity);
|
|
5600
|
+
opacity: var(--ab-text-faint-opacity, 0.4);
|
|
5601
5601
|
}
|
|
5602
5602
|
|
|
5603
5603
|
/* Selection cards (service, resource, time slot) */
|
|
5604
5604
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-card {
|
|
5605
5605
|
position: relative;
|
|
5606
5606
|
padding: 1rem;
|
|
5607
|
-
border: 2px solid var(--ab-card-border);
|
|
5608
|
-
border-radius: var(--rb-block-radius);
|
|
5607
|
+
border: 2px solid var(--ab-card-border, rgb(var(--tb-border, 226 232 240)));
|
|
5608
|
+
border-radius: var(--ab-card-radius, var(--rb-block-radius, 1rem));
|
|
5609
5609
|
text-align: left;
|
|
5610
5610
|
background: transparent;
|
|
5611
5611
|
cursor: pointer;
|
|
5612
|
-
transition: border-color var(--rb-block-transition) ease, background-color var(--rb-block-transition) ease;
|
|
5612
|
+
transition: border-color var(--rb-block-transition, 150ms) ease, background-color var(--rb-block-transition, 150ms) ease;
|
|
5613
5613
|
}
|
|
5614
5614
|
|
|
5615
5615
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-card:hover {
|
|
5616
|
-
border-color: var(--ab-card-border-hover);
|
|
5616
|
+
border-color: var(--ab-card-border-hover, rgba(var(--tb-primary, 17 24 39), 0.5));
|
|
5617
5617
|
}
|
|
5618
5618
|
|
|
5619
5619
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-card--selected {
|
|
5620
|
-
border-color: var(--ab-card-border-selected);
|
|
5621
|
-
background-color: var(--ab-card-bg-selected);
|
|
5620
|
+
border-color: var(--ab-card-border-selected, rgb(var(--tb-primary, 17 24 39)));
|
|
5621
|
+
background-color: var(--ab-card-bg-selected, rgba(var(--tb-primary, 17 24 39), 0.05));
|
|
5622
5622
|
}
|
|
5623
5623
|
|
|
5624
5624
|
/* Checkmark indicator */
|
|
@@ -5627,7 +5627,7 @@
|
|
|
5627
5627
|
width: 1.25rem;
|
|
5628
5628
|
height: 1.25rem;
|
|
5629
5629
|
border-radius: 50%;
|
|
5630
|
-
background-color: var(--ab-check-bg);
|
|
5630
|
+
background-color: var(--ab-check-bg, rgb(var(--tb-primary, 17 24 39)));
|
|
5631
5631
|
display: flex;
|
|
5632
5632
|
align-items: center;
|
|
5633
5633
|
justify-content: center;
|
|
@@ -5636,42 +5636,42 @@
|
|
|
5636
5636
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-check svg {
|
|
5637
5637
|
width: 0.75rem;
|
|
5638
5638
|
height: 0.75rem;
|
|
5639
|
-
color: var(--ab-check-text);
|
|
5639
|
+
color: var(--ab-check-text, rgb(var(--tb-background, 255 255 255)));
|
|
5640
5640
|
}
|
|
5641
5641
|
|
|
5642
5642
|
/* Info box (service summary) */
|
|
5643
5643
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-info-box {
|
|
5644
5644
|
padding: 1rem;
|
|
5645
|
-
border: 1px solid var(--ab-card-border);
|
|
5646
|
-
border-radius: var(--rb-block-radius);
|
|
5647
|
-
background-color: var(--ab-muted-bg);
|
|
5645
|
+
border: 1px solid var(--ab-card-border, rgb(var(--tb-border, 226 232 240)));
|
|
5646
|
+
border-radius: var(--ab-card-radius, var(--rb-block-radius, 1rem));
|
|
5647
|
+
background-color: var(--ab-muted-bg, rgba(var(--tb-foreground, var(--tb-text, 15 23 42)), 0.05));
|
|
5648
5648
|
}
|
|
5649
5649
|
|
|
5650
5650
|
/* Alert states */
|
|
5651
5651
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-alert {
|
|
5652
5652
|
padding: 0.75rem 1rem;
|
|
5653
|
-
border-radius: var(--rb-block-radius);
|
|
5653
|
+
border-radius: var(--ab-card-radius, var(--rb-block-radius, 1rem));
|
|
5654
5654
|
font-size: 0.875rem;
|
|
5655
5655
|
}
|
|
5656
5656
|
|
|
5657
5657
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-alert--success {
|
|
5658
|
-
background-color: var(--ab-success-bg);
|
|
5659
|
-
color: var(--ab-success-text);
|
|
5658
|
+
background-color: var(--ab-success-bg, rgba(var(--tb-success, 22 163 74), 0.1));
|
|
5659
|
+
color: var(--ab-success-text, rgb(var(--tb-success, 22 163 74)));
|
|
5660
5660
|
}
|
|
5661
5661
|
|
|
5662
5662
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-alert--error {
|
|
5663
|
-
background-color: var(--ab-error-bg);
|
|
5664
|
-
color: var(--ab-error-text);
|
|
5663
|
+
background-color: var(--ab-error-bg, rgba(var(--tb-destructive, 220 38 38), 0.1));
|
|
5664
|
+
color: var(--ab-error-text, rgb(var(--tb-destructive, 220 38 38)));
|
|
5665
5665
|
}
|
|
5666
5666
|
|
|
5667
5667
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-alert--warning {
|
|
5668
|
-
background-color: var(--ab-warning-bg);
|
|
5669
|
-
color: var(--ab-warning-text);
|
|
5668
|
+
background-color: var(--ab-warning-bg, rgba(var(--tb-warning, 245 158 11), 0.1));
|
|
5669
|
+
color: var(--ab-warning-text, rgb(var(--tb-warning, 245 158 11)));
|
|
5670
5670
|
}
|
|
5671
5671
|
|
|
5672
5672
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-alert--info {
|
|
5673
|
-
background-color: var(--ab-info-bg);
|
|
5674
|
-
color: var(--ab-info-text);
|
|
5673
|
+
background-color: var(--ab-info-bg, rgba(var(--tb-info, 14 165 233), 0.1));
|
|
5674
|
+
color: var(--ab-info-text, rgb(var(--tb-info, 14 165 233)));
|
|
5675
5675
|
}
|
|
5676
5676
|
|
|
5677
5677
|
/* Form elements */
|
|
@@ -5683,7 +5683,7 @@
|
|
|
5683
5683
|
}
|
|
5684
5684
|
|
|
5685
5685
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-required {
|
|
5686
|
-
color: var(--ab-error-text);
|
|
5686
|
+
color: var(--ab-error-text, rgb(var(--tb-destructive, 220 38 38)));
|
|
5687
5687
|
margin-left: 0.125rem;
|
|
5688
5688
|
}
|
|
5689
5689
|
|
|
@@ -5692,19 +5692,19 @@
|
|
|
5692
5692
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-textarea {
|
|
5693
5693
|
width: 100%;
|
|
5694
5694
|
padding: 0.5rem 0.75rem;
|
|
5695
|
-
border: 1px solid var(--ab-input-border);
|
|
5696
|
-
border-radius: var(--rb-block-radius);
|
|
5695
|
+
border: 1px solid var(--ab-input-border, rgb(var(--tb-border, 226 232 240)));
|
|
5696
|
+
border-radius: var(--ab-input-radius, var(--radius-control, var(--rb-block-radius, 1rem)));
|
|
5697
5697
|
background: transparent;
|
|
5698
5698
|
font-size: 0.875rem;
|
|
5699
|
-
transition: border-color var(--rb-block-transition) ease, box-shadow var(--rb-block-transition) ease;
|
|
5699
|
+
transition: border-color var(--rb-block-transition, 150ms) ease, box-shadow var(--rb-block-transition, 150ms) ease;
|
|
5700
5700
|
}
|
|
5701
5701
|
|
|
5702
5702
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-input:focus,
|
|
5703
5703
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-select:focus,
|
|
5704
5704
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-textarea:focus {
|
|
5705
5705
|
outline: none;
|
|
5706
|
-
border-color: var(--ab-card-border-selected);
|
|
5707
|
-
box-shadow: 0 0 0 3px var(--ab-input-focus-ring);
|
|
5706
|
+
border-color: var(--ab-card-border-selected, rgb(var(--tb-primary, 17 24 39)));
|
|
5707
|
+
box-shadow: 0 0 0 3px var(--ab-input-focus-ring, rgba(var(--tb-primary, 17 24 39), 0.3));
|
|
5708
5708
|
}
|
|
5709
5709
|
|
|
5710
5710
|
/* Buttons */
|
|
@@ -5713,31 +5713,31 @@
|
|
|
5713
5713
|
align-items: center;
|
|
5714
5714
|
justify-content: center;
|
|
5715
5715
|
padding: 0.5rem 1.5rem;
|
|
5716
|
-
border-radius: var(--rb-block-radius);
|
|
5716
|
+
border-radius: var(--ab-button-radius, var(--rb-button-radius, var(--rb-block-radius, 1rem)));
|
|
5717
5717
|
font-size: 0.875rem;
|
|
5718
5718
|
font-weight: 500;
|
|
5719
5719
|
cursor: pointer;
|
|
5720
|
-
transition: background-color var(--rb-block-transition) ease, border-color var(--rb-block-transition) ease;
|
|
5720
|
+
transition: background-color var(--rb-block-transition, 150ms) ease, border-color var(--rb-block-transition, 150ms) ease;
|
|
5721
5721
|
}
|
|
5722
5722
|
|
|
5723
5723
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-btn--primary {
|
|
5724
5724
|
flex: 1;
|
|
5725
|
-
background-color: var(--ab-btn-primary-bg);
|
|
5726
|
-
color: var(--ab-btn-primary-text);
|
|
5725
|
+
background-color: var(--ab-btn-primary-bg, rgb(var(--tb-primary, 17 24 39)));
|
|
5726
|
+
color: var(--ab-btn-primary-text, rgb(var(--tb-primaryForeground, 255 255 255)));
|
|
5727
5727
|
border: none;
|
|
5728
5728
|
}
|
|
5729
5729
|
|
|
5730
5730
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-btn--primary:hover:not(:disabled) {
|
|
5731
|
-
background-color: var(--ab-btn-primary-hover);
|
|
5731
|
+
background-color: var(--ab-btn-primary-hover, rgba(var(--tb-primary, 17 24 39), 0.9));
|
|
5732
5732
|
}
|
|
5733
5733
|
|
|
5734
5734
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-btn--secondary {
|
|
5735
5735
|
background: transparent;
|
|
5736
|
-
border: 1px solid var(--ab-btn-secondary-border);
|
|
5736
|
+
border: 1px solid var(--ab-btn-secondary-border, rgb(var(--tb-border, 226 232 240)));
|
|
5737
5737
|
}
|
|
5738
5738
|
|
|
5739
5739
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-btn--secondary:hover:not(:disabled) {
|
|
5740
|
-
background-color: var(--ab-btn-secondary-hover);
|
|
5740
|
+
background-color: var(--ab-btn-secondary-hover, rgba(var(--tb-foreground, var(--tb-text, 15 23 42)), 0.05));
|
|
5741
5741
|
}
|
|
5742
5742
|
|
|
5743
5743
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-btn--link {
|
|
@@ -5767,8 +5767,8 @@
|
|
|
5767
5767
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-skeleton {
|
|
5768
5768
|
height: 2.5rem;
|
|
5769
5769
|
width: 100%;
|
|
5770
|
-
background-color: var(--ab-muted-bg);
|
|
5771
|
-
border-radius: var(--rb-block-radius);
|
|
5770
|
+
background-color: var(--ab-muted-bg, rgba(var(--tb-foreground, var(--tb-text, 15 23 42)), 0.05));
|
|
5771
|
+
border-radius: var(--ab-card-radius, var(--rb-block-radius, 1rem));
|
|
5772
5772
|
animation: ab-pulse 1.5s ease-in-out infinite;
|
|
5773
5773
|
}
|
|
5774
5774
|
|
|
@@ -5797,7 +5797,7 @@
|
|
|
5797
5797
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-link {
|
|
5798
5798
|
display: inline;
|
|
5799
5799
|
margin-left: 0.5rem;
|
|
5800
|
-
color: rgb(var(--tb-primary));
|
|
5800
|
+
color: rgb(var(--tb-primary, 17 24 39));
|
|
5801
5801
|
background: none;
|
|
5802
5802
|
border: none;
|
|
5803
5803
|
padding: 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riverbankcms/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.70.0",
|
|
4
4
|
"description": "Riverbank CMS SDK for headless content consumption",
|
|
5
5
|
"main": "./dist/server/index.mjs",
|
|
6
6
|
"module": "./dist/server/index.mjs",
|
|
@@ -230,8 +230,6 @@
|
|
|
230
230
|
},
|
|
231
231
|
"dependencies": {
|
|
232
232
|
"@tanstack/react-query": "^5.90.20",
|
|
233
|
-
"@riverbankcms/content-model": "workspace:*",
|
|
234
|
-
"@riverbankcms/site-commands": "workspace:*",
|
|
235
233
|
"commander": "^12.1.0",
|
|
236
234
|
"dotenv": "^16.4.5",
|
|
237
235
|
"fast-deep-equal": "^3.1.3",
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { BookingFormService } from '../../nodes/booking-form.state';
|
|
3
|
-
interface DateTimeSelectionStepProps {
|
|
4
|
-
siteId: string;
|
|
5
|
-
preSelectedServiceId?: string;
|
|
6
|
-
preSelectedResourceId?: string;
|
|
7
|
-
/** When there's only one service, pass it here to display info and auto-select */
|
|
8
|
-
singleService?: BookingFormService;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* DateTimeSelectionStep Component
|
|
12
|
-
*
|
|
13
|
-
* Step 2: Date and time slot selection
|
|
14
|
-
* Integrates with multi-step context and fetches available slots.
|
|
15
|
-
* Prefetches available dates to filter the date picker.
|
|
16
|
-
*/
|
|
17
|
-
export declare function DateTimeSelectionStep({ siteId, preSelectedServiceId, preSelectedResourceId, singleService, }: DateTimeSelectionStepProps): React.ReactElement;
|
|
18
|
-
export {};
|
package/dist/_dts/blocks/src/system/runtime/components/booking/PaymentOptionSelectionStep.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type BookingFormService } from '../../nodes/booking-form.state';
|
|
3
|
-
type PaymentOptionSelectionStepProps = Readonly<{
|
|
4
|
-
services: readonly BookingFormService[];
|
|
5
|
-
defaultServiceId?: string;
|
|
6
|
-
enableAppointmentPackages?: boolean;
|
|
7
|
-
}>;
|
|
8
|
-
export declare function PaymentOptionSelectionStep({ services, defaultServiceId, enableAppointmentPackages, }: PaymentOptionSelectionStepProps): React.ReactElement;
|
|
9
|
-
export {};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export interface Service {
|
|
2
|
-
id: string;
|
|
3
|
-
title: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
durationMinutes?: number;
|
|
6
|
-
}
|
|
7
|
-
export interface Resource {
|
|
8
|
-
id: string;
|
|
9
|
-
displayName: string;
|
|
10
|
-
title?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface ServiceResourceSelectorProps {
|
|
13
|
-
/** @deprecated Site ID is now provided by BlockApiProvider context */
|
|
14
|
-
siteId?: string;
|
|
15
|
-
services: readonly Service[];
|
|
16
|
-
selectedServiceId?: string;
|
|
17
|
-
selectedResourceId?: string;
|
|
18
|
-
preSelectedServiceId?: string;
|
|
19
|
-
preSelectedResourceId?: string;
|
|
20
|
-
forceServiceSelection?: boolean;
|
|
21
|
-
shouldAutoSelectSingleResource?: boolean;
|
|
22
|
-
onSelect: (selection: {
|
|
23
|
-
serviceId: string;
|
|
24
|
-
resourceId?: string;
|
|
25
|
-
}) => void;
|
|
26
|
-
onBack?: () => void;
|
|
27
|
-
heading?: string;
|
|
28
|
-
description?: string;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* ServiceResourceSelector Component
|
|
32
|
-
*
|
|
33
|
-
* Handles Step 1 of the booking flow: service and resource selection.
|
|
34
|
-
* Only shown when the booking form allows multiple services or when
|
|
35
|
-
* resource selection is needed.
|
|
36
|
-
*
|
|
37
|
-
* Features:
|
|
38
|
-
* - Service selection (if multiple services available)
|
|
39
|
-
* - Resource selection (if multiple resources available for selected service)
|
|
40
|
-
* - Auto-skips if only one option available
|
|
41
|
-
* - Fetches resources dynamically when service is selected
|
|
42
|
-
*/
|
|
43
|
-
export declare function ServiceResourceSelector({ siteId: _siteId, // Deprecated: siteId now comes from BlockApiProvider context
|
|
44
|
-
services, selectedServiceId: controlledSelectedServiceId, selectedResourceId: controlledSelectedResourceId, preSelectedServiceId, preSelectedResourceId, forceServiceSelection, shouldAutoSelectSingleResource, onSelect, onBack, heading, description, }: ServiceResourceSelectorProps): React.ReactElement;
|
package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceResourceSelector.state.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { Resource, Service } from "./ServiceResourceSelector";
|
|
2
|
-
export type InitialServiceSelection = Readonly<{
|
|
3
|
-
serviceId: string;
|
|
4
|
-
preserveResourceId?: string;
|
|
5
|
-
}>;
|
|
6
|
-
export declare function shouldShowServiceSelection(input: Readonly<{
|
|
7
|
-
services: readonly Service[];
|
|
8
|
-
forceServiceSelection: boolean;
|
|
9
|
-
}>): boolean;
|
|
10
|
-
export declare function resolveInitialServiceSelection(input: Readonly<{
|
|
11
|
-
services: readonly Service[];
|
|
12
|
-
selectedServiceId?: string;
|
|
13
|
-
preSelectedServiceId?: string;
|
|
14
|
-
preSelectedResourceId?: string;
|
|
15
|
-
shouldAutoSelectSingleService?: boolean;
|
|
16
|
-
hasLoadedInitialService: boolean;
|
|
17
|
-
}>): InitialServiceSelection | null;
|
|
18
|
-
export declare function resolveAutoSelectedResourceId(input: Readonly<{
|
|
19
|
-
resources: readonly Resource[];
|
|
20
|
-
preSelectedResourceId?: string;
|
|
21
|
-
selectedResourceId?: string;
|
|
22
|
-
shouldAutoSelectSingleResource: boolean;
|
|
23
|
-
}>): string | null;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type BookingFormService } from "../../nodes/booking-form.state";
|
|
3
|
-
interface ServiceSelectionStepProps {
|
|
4
|
-
siteId: string;
|
|
5
|
-
services: readonly BookingFormService[];
|
|
6
|
-
preSelectedServiceId?: string;
|
|
7
|
-
preSelectedResourceId?: string;
|
|
8
|
-
forceServiceSelection?: boolean;
|
|
9
|
-
shouldAutoSelectSingleResource?: boolean;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* ServiceSelectionStep Component
|
|
13
|
-
*
|
|
14
|
-
* Step 1: Service and optionally resource selection
|
|
15
|
-
* Uses multi-step context to update booking data
|
|
16
|
-
*/
|
|
17
|
-
export declare function ServiceSelectionStep({ siteId, services, preSelectedServiceId, preSelectedResourceId, forceServiceSelection, shouldAutoSelectSingleResource, }: ServiceSelectionStepProps): React.ReactElement;
|
|
18
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { MultiStepFormProps } from "./types";
|
|
3
|
-
/**
|
|
4
|
-
* MultiStepForm Component
|
|
5
|
-
*
|
|
6
|
-
* Generic orchestrator for multi-step forms. Handles step navigation,
|
|
7
|
-
* data accumulation, validation, and progress indication.
|
|
8
|
-
*
|
|
9
|
-
* Usage:
|
|
10
|
-
* ```tsx
|
|
11
|
-
* <MultiStepForm
|
|
12
|
-
* steps={[
|
|
13
|
-
* { id: 'step1', title: 'Step 1', component: <Step1 /> },
|
|
14
|
-
* { id: 'step2', title: 'Step 2', component: <Step2 /> },
|
|
15
|
-
* ]}
|
|
16
|
-
* onComplete={(data) => console.log('Done!', data)}
|
|
17
|
-
* progressStyle="dots"
|
|
18
|
-
* />
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
export declare function MultiStepForm<TData = unknown>({ steps, initialData, onComplete, onStepChange, onDataChange, progressStyle, className, persistToUrl, allowSkip, }: MultiStepFormProps<TData>): React.ReactElement;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Step, MultiStepContextValue } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Core hook for multi-step form logic
|
|
4
|
-
*
|
|
5
|
-
* Manages step navigation, data accumulation, and validation.
|
|
6
|
-
* This is the engine that powers the MultiStepForm component.
|
|
7
|
-
*/
|
|
8
|
-
export declare function useMultiStep<TData = unknown>({ steps, initialData, onStepChange, onDataChange, onComplete, persistToUrl, }: {
|
|
9
|
-
steps: Step<TData>[];
|
|
10
|
-
initialData?: Partial<TData>;
|
|
11
|
-
onStepChange?: (stepId: string, stepIndex: number) => void;
|
|
12
|
-
onDataChange?: (data: Partial<TData>) => void;
|
|
13
|
-
onComplete?: (data: TData) => void | Promise<void>;
|
|
14
|
-
persistToUrl?: boolean;
|
|
15
|
-
}): MultiStepContextValue<TData>;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import type { Step } from './types';
|
|
2
|
-
export type MultiStepWorkflowStatus = {
|
|
3
|
-
tag: 'idle';
|
|
4
|
-
} | {
|
|
5
|
-
tag: 'validating';
|
|
6
|
-
} | {
|
|
7
|
-
tag: 'submitting';
|
|
8
|
-
};
|
|
9
|
-
export type MultiStepState<TData = unknown> = {
|
|
10
|
-
data: Partial<TData>;
|
|
11
|
-
currentStepIndex: number;
|
|
12
|
-
errors: Record<string, string>;
|
|
13
|
-
status: MultiStepWorkflowStatus;
|
|
14
|
-
};
|
|
15
|
-
export type MultiStepAction<TData = unknown> = {
|
|
16
|
-
type: 'data-updated';
|
|
17
|
-
updates: Partial<TData>;
|
|
18
|
-
} | {
|
|
19
|
-
type: 'step-changed';
|
|
20
|
-
stepIndex: number;
|
|
21
|
-
} | {
|
|
22
|
-
type: 'validation-started';
|
|
23
|
-
} | {
|
|
24
|
-
type: 'validation-succeeded';
|
|
25
|
-
} | {
|
|
26
|
-
type: 'validation-failed';
|
|
27
|
-
errors: Record<string, string>;
|
|
28
|
-
} | {
|
|
29
|
-
type: 'submission-started';
|
|
30
|
-
} | {
|
|
31
|
-
type: 'submission-succeeded';
|
|
32
|
-
} | {
|
|
33
|
-
type: 'submission-failed';
|
|
34
|
-
message: string;
|
|
35
|
-
} | {
|
|
36
|
-
type: 'reset';
|
|
37
|
-
initialData: Partial<TData>;
|
|
38
|
-
};
|
|
39
|
-
export declare function createInitialMultiStepState<TData = unknown>(initialData: Partial<TData>): MultiStepState<TData>;
|
|
40
|
-
export declare function multiStepReducer<TData = unknown>(state: MultiStepState<TData>, action: MultiStepAction<TData>): MultiStepState<TData>;
|
|
41
|
-
export declare function getVisibleSteps<TData = unknown>(steps: Step<TData>[], data: Partial<TData>): Step<TData>[];
|
|
42
|
-
export declare function findStepIndexById<TData = unknown>(visibleSteps: Step<TData>[], stepId: string): number;
|
|
43
|
-
export declare function getNextStepIndex(state: MultiStepState, visibleStepCount: number): number;
|
|
44
|
-
export declare function getPreviousStepIndex(state: MultiStepState): number;
|
|
45
|
-
export declare function getNavigableStepIndex(stepIndex: number, visibleStepCount: number): number | null;
|
|
46
|
-
export declare function selectIsValidating(state: MultiStepState): boolean;
|
|
47
|
-
export declare function selectIsSubmitting(state: MultiStepState): boolean;
|
|
48
|
-
export declare function selectCanGoNext(state: MultiStepState): boolean;
|
|
49
|
-
export declare function selectCanGoBack(state: MultiStepState): boolean;
|
|
50
|
-
export declare function selectIsFirstStep(state: MultiStepState): boolean;
|
|
51
|
-
export declare function selectIsLastStep(state: MultiStepState, visibleStepCount: number): boolean;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hook to build multi-step booking flow
|
|
3
|
-
*/
|
|
4
|
-
import type { Step } from "../components/multi-step/types";
|
|
5
|
-
import { type BookingFormConfig, type BookingFormData, type BookingFormService } from "../nodes/booking-form.state";
|
|
6
|
-
export type { BookingFormData };
|
|
7
|
-
/**
|
|
8
|
-
* Build the array of steps for the booking flow
|
|
9
|
-
*
|
|
10
|
-
* Steps are conditionally included based on form configuration:
|
|
11
|
-
* - Service selection: Only if multiple services available
|
|
12
|
-
* - Date/time selection: Always included
|
|
13
|
-
* - Custom fields: Only if form has fields defined
|
|
14
|
-
*/
|
|
15
|
-
export declare function useBookingSteps(siteId: string, formConfig: BookingFormConfig | null, services: readonly BookingFormService[], options?: Readonly<{
|
|
16
|
-
serviceId?: string;
|
|
17
|
-
resourceId?: string;
|
|
18
|
-
requiresServiceSelection?: boolean;
|
|
19
|
-
requiresResourceSelection?: boolean;
|
|
20
|
-
shouldAutoSelectSingleResource?: boolean;
|
|
21
|
-
enableAppointmentPackages?: boolean;
|
|
22
|
-
}>): Step<BookingFormData>[];
|