@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
|
@@ -16,8 +16,8 @@ import { z } from 'zod';
|
|
|
16
16
|
*/
|
|
17
17
|
export declare const componentBorderSchema: z.ZodObject<{
|
|
18
18
|
width: z.ZodDefault<z.ZodEnum<{
|
|
19
|
-
none: "none";
|
|
20
19
|
medium: "medium";
|
|
20
|
+
none: "none";
|
|
21
21
|
thin: "thin";
|
|
22
22
|
thick: "thick";
|
|
23
23
|
hairline: "hairline";
|
|
@@ -36,10 +36,10 @@ export type ComponentBorder = z.infer<typeof componentBorderSchema>;
|
|
|
36
36
|
export declare const componentShadowSchema: z.ZodObject<{
|
|
37
37
|
elevation: z.ZodDefault<z.ZodEnum<{
|
|
38
38
|
none: "none";
|
|
39
|
+
sm: "sm";
|
|
39
40
|
md: "md";
|
|
40
41
|
lg: "lg";
|
|
41
42
|
xl: "xl";
|
|
42
|
-
sm: "sm";
|
|
43
43
|
"2xl": "2xl";
|
|
44
44
|
}>>;
|
|
45
45
|
}, z.core.$strip>;
|
|
@@ -267,7 +267,7 @@ export declare const appearancePresets: readonly [{
|
|
|
267
267
|
readonly sectionSurface: "muted-band";
|
|
268
268
|
readonly contentFrame: Readonly<{
|
|
269
269
|
kind: "flush-panel";
|
|
270
|
-
treatment: import("
|
|
270
|
+
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
271
271
|
bleed: "start";
|
|
272
272
|
}>;
|
|
273
273
|
readonly itemSurface: "none";
|
|
@@ -266,7 +266,7 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
266
266
|
readonly sectionSurface: "muted-band";
|
|
267
267
|
readonly contentFrame: Readonly<{
|
|
268
268
|
kind: "flush-panel";
|
|
269
|
-
treatment: import("
|
|
269
|
+
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
270
270
|
bleed: "start";
|
|
271
271
|
}>;
|
|
272
272
|
readonly itemSurface: "none";
|
|
@@ -139,8 +139,8 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
|
|
|
139
139
|
}, z.core.$strict>], "kind">;
|
|
140
140
|
itemSurface: z.ZodEnum<{
|
|
141
141
|
flat: "flat";
|
|
142
|
-
default: "default";
|
|
143
142
|
none: "none";
|
|
143
|
+
default: "default";
|
|
144
144
|
editorial: "editorial";
|
|
145
145
|
raised: "raised";
|
|
146
146
|
outlined: "outlined";
|
|
@@ -154,9 +154,9 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
|
|
|
154
154
|
"angle-edge": "angle-edge";
|
|
155
155
|
}>;
|
|
156
156
|
emphasis: z.ZodEnum<{
|
|
157
|
+
medium: "medium";
|
|
157
158
|
low: "low";
|
|
158
159
|
high: "high";
|
|
159
|
-
medium: "medium";
|
|
160
160
|
}>;
|
|
161
161
|
sectionHeight: z.ZodOptional<z.ZodEnum<{
|
|
162
162
|
default: "default";
|
|
@@ -179,9 +179,9 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
|
|
|
179
179
|
accent: "accent";
|
|
180
180
|
}>;
|
|
181
181
|
intensity: z.ZodOptional<z.ZodEnum<{
|
|
182
|
-
balanced: "balanced";
|
|
183
|
-
soft: "soft";
|
|
184
182
|
strong: "strong";
|
|
183
|
+
soft: "soft";
|
|
184
|
+
balanced: "balanced";
|
|
185
185
|
}>>;
|
|
186
186
|
}, z.core.$strict>, z.ZodObject<{
|
|
187
187
|
kind: z.ZodLiteral<"brand-wash">;
|
|
@@ -191,30 +191,30 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
|
|
|
191
191
|
accent: "accent";
|
|
192
192
|
}>;
|
|
193
193
|
intensity: z.ZodOptional<z.ZodEnum<{
|
|
194
|
-
balanced: "balanced";
|
|
195
|
-
soft: "soft";
|
|
196
194
|
strong: "strong";
|
|
195
|
+
soft: "soft";
|
|
196
|
+
balanced: "balanced";
|
|
197
197
|
}>>;
|
|
198
198
|
}, z.core.$strict>, z.ZodObject<{
|
|
199
199
|
kind: z.ZodLiteral<"neutral-scrim">;
|
|
200
200
|
intensity: z.ZodOptional<z.ZodEnum<{
|
|
201
|
-
balanced: "balanced";
|
|
202
|
-
soft: "soft";
|
|
203
201
|
strong: "strong";
|
|
202
|
+
soft: "soft";
|
|
203
|
+
balanced: "balanced";
|
|
204
204
|
}>>;
|
|
205
205
|
}, z.core.$strict>, z.ZodObject<{
|
|
206
206
|
kind: z.ZodLiteral<"neutral-wash">;
|
|
207
207
|
intensity: z.ZodOptional<z.ZodEnum<{
|
|
208
|
-
balanced: "balanced";
|
|
209
|
-
soft: "soft";
|
|
210
208
|
strong: "strong";
|
|
209
|
+
soft: "soft";
|
|
210
|
+
balanced: "balanced";
|
|
211
211
|
}>>;
|
|
212
212
|
}, z.core.$strict>, z.ZodObject<{
|
|
213
213
|
kind: z.ZodLiteral<"solid-panel">;
|
|
214
214
|
intensity: z.ZodOptional<z.ZodEnum<{
|
|
215
|
-
balanced: "balanced";
|
|
216
|
-
soft: "soft";
|
|
217
215
|
strong: "strong";
|
|
216
|
+
soft: "soft";
|
|
217
|
+
balanced: "balanced";
|
|
218
218
|
}>>;
|
|
219
219
|
}, z.core.$strict>], "kind">>;
|
|
220
220
|
imageSurfaceMotion: z.ZodOptional<z.ZodEnum<{
|
|
@@ -241,10 +241,10 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
|
|
|
241
241
|
export declare const styleAuthoritySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
242
242
|
kind: z.ZodLiteral<"theme-v2">;
|
|
243
243
|
source: z.ZodEnum<{
|
|
244
|
-
user: "user";
|
|
245
244
|
admin: "admin";
|
|
246
|
-
sdk: "sdk";
|
|
247
245
|
generated: "generated";
|
|
246
|
+
user: "user";
|
|
247
|
+
sdk: "sdk";
|
|
248
248
|
}>;
|
|
249
249
|
siteStyleId: z.ZodPipe<z.ZodString, z.ZodTransform<SiteStyleId, string>>;
|
|
250
250
|
templateId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignSystemTemplateId, string>>;
|
|
@@ -264,19 +264,19 @@ export declare const blockRuntimeStyleAuthoritySchema: z.ZodObject<{
|
|
|
264
264
|
unit: z.ZodLiteral<"block-runtime-fields">;
|
|
265
265
|
blockId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignBlockId, string>>;
|
|
266
266
|
fields: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
267
|
-
styleGroup: "styleGroup";
|
|
268
267
|
_sectionStyles: "_sectionStyles";
|
|
269
268
|
_containerStyles: "_containerStyles";
|
|
270
269
|
_frameStyles: "_frameStyles";
|
|
271
270
|
_cardStyles: "_cardStyles";
|
|
272
|
-
|
|
271
|
+
styleGroup: "styleGroup";
|
|
272
|
+
}>>, z.ZodTransform<NonEmptyRuntimeStyleFieldNames, ("_sectionStyles" | "_containerStyles" | "_frameStyles" | "_cardStyles" | "styleGroup")[]>>;
|
|
273
273
|
authority: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
274
274
|
kind: z.ZodLiteral<"theme-v2">;
|
|
275
275
|
source: z.ZodEnum<{
|
|
276
|
-
user: "user";
|
|
277
276
|
admin: "admin";
|
|
278
|
-
sdk: "sdk";
|
|
279
277
|
generated: "generated";
|
|
278
|
+
user: "user";
|
|
279
|
+
sdk: "sdk";
|
|
280
280
|
}>;
|
|
281
281
|
siteStyleId: z.ZodPipe<z.ZodString, z.ZodTransform<SiteStyleId, string>>;
|
|
282
282
|
templateId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignSystemTemplateId, string>>;
|
|
@@ -333,8 +333,8 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
|
|
|
333
333
|
}, z.core.$strict>], "kind">;
|
|
334
334
|
itemSurface: z.ZodEnum<{
|
|
335
335
|
flat: "flat";
|
|
336
|
-
default: "default";
|
|
337
336
|
none: "none";
|
|
337
|
+
default: "default";
|
|
338
338
|
editorial: "editorial";
|
|
339
339
|
raised: "raised";
|
|
340
340
|
outlined: "outlined";
|
|
@@ -348,9 +348,9 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
|
|
|
348
348
|
"angle-edge": "angle-edge";
|
|
349
349
|
}>;
|
|
350
350
|
emphasis: z.ZodEnum<{
|
|
351
|
+
medium: "medium";
|
|
351
352
|
low: "low";
|
|
352
353
|
high: "high";
|
|
353
|
-
medium: "medium";
|
|
354
354
|
}>;
|
|
355
355
|
sectionHeight: z.ZodOptional<z.ZodEnum<{
|
|
356
356
|
default: "default";
|
|
@@ -373,9 +373,9 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
|
|
|
373
373
|
accent: "accent";
|
|
374
374
|
}>;
|
|
375
375
|
intensity: z.ZodOptional<z.ZodEnum<{
|
|
376
|
-
balanced: "balanced";
|
|
377
|
-
soft: "soft";
|
|
378
376
|
strong: "strong";
|
|
377
|
+
soft: "soft";
|
|
378
|
+
balanced: "balanced";
|
|
379
379
|
}>>;
|
|
380
380
|
}, z.core.$strict>, z.ZodObject<{
|
|
381
381
|
kind: z.ZodLiteral<"brand-wash">;
|
|
@@ -385,30 +385,30 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
|
|
|
385
385
|
accent: "accent";
|
|
386
386
|
}>;
|
|
387
387
|
intensity: z.ZodOptional<z.ZodEnum<{
|
|
388
|
-
balanced: "balanced";
|
|
389
|
-
soft: "soft";
|
|
390
388
|
strong: "strong";
|
|
389
|
+
soft: "soft";
|
|
390
|
+
balanced: "balanced";
|
|
391
391
|
}>>;
|
|
392
392
|
}, z.core.$strict>, z.ZodObject<{
|
|
393
393
|
kind: z.ZodLiteral<"neutral-scrim">;
|
|
394
394
|
intensity: z.ZodOptional<z.ZodEnum<{
|
|
395
|
-
balanced: "balanced";
|
|
396
|
-
soft: "soft";
|
|
397
395
|
strong: "strong";
|
|
396
|
+
soft: "soft";
|
|
397
|
+
balanced: "balanced";
|
|
398
398
|
}>>;
|
|
399
399
|
}, z.core.$strict>, z.ZodObject<{
|
|
400
400
|
kind: z.ZodLiteral<"neutral-wash">;
|
|
401
401
|
intensity: z.ZodOptional<z.ZodEnum<{
|
|
402
|
-
balanced: "balanced";
|
|
403
|
-
soft: "soft";
|
|
404
402
|
strong: "strong";
|
|
403
|
+
soft: "soft";
|
|
404
|
+
balanced: "balanced";
|
|
405
405
|
}>>;
|
|
406
406
|
}, z.core.$strict>, z.ZodObject<{
|
|
407
407
|
kind: z.ZodLiteral<"solid-panel">;
|
|
408
408
|
intensity: z.ZodOptional<z.ZodEnum<{
|
|
409
|
-
balanced: "balanced";
|
|
410
|
-
soft: "soft";
|
|
411
409
|
strong: "strong";
|
|
410
|
+
soft: "soft";
|
|
411
|
+
balanced: "balanced";
|
|
412
412
|
}>>;
|
|
413
413
|
}, z.core.$strict>], "kind">>;
|
|
414
414
|
imageSurfaceMotion: z.ZodOptional<z.ZodEnum<{
|
|
@@ -436,19 +436,19 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
|
|
|
436
436
|
unit: z.ZodLiteral<"block-runtime-fields">;
|
|
437
437
|
blockId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignBlockId, string>>;
|
|
438
438
|
fields: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
439
|
-
styleGroup: "styleGroup";
|
|
440
439
|
_sectionStyles: "_sectionStyles";
|
|
441
440
|
_containerStyles: "_containerStyles";
|
|
442
441
|
_frameStyles: "_frameStyles";
|
|
443
442
|
_cardStyles: "_cardStyles";
|
|
444
|
-
|
|
443
|
+
styleGroup: "styleGroup";
|
|
444
|
+
}>>, z.ZodTransform<NonEmptyRuntimeStyleFieldNames, ("_sectionStyles" | "_containerStyles" | "_frameStyles" | "_cardStyles" | "styleGroup")[]>>;
|
|
445
445
|
authority: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
446
446
|
kind: z.ZodLiteral<"theme-v2">;
|
|
447
447
|
source: z.ZodEnum<{
|
|
448
|
-
user: "user";
|
|
449
448
|
admin: "admin";
|
|
450
|
-
sdk: "sdk";
|
|
451
449
|
generated: "generated";
|
|
450
|
+
user: "user";
|
|
451
|
+
sdk: "sdk";
|
|
452
452
|
}>;
|
|
453
453
|
siteStyleId: z.ZodPipe<z.ZodString, z.ZodTransform<SiteStyleId, string>>;
|
|
454
454
|
templateId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignSystemTemplateId, string>>;
|
|
@@ -78,8 +78,8 @@ export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
|
|
|
78
78
|
kind: z.ZodLiteral<"explicit">;
|
|
79
79
|
value: z.ZodEnum<{
|
|
80
80
|
flat: "flat";
|
|
81
|
-
default: "default";
|
|
82
81
|
none: "none";
|
|
82
|
+
default: "default";
|
|
83
83
|
raised: "raised";
|
|
84
84
|
outlined: "outlined";
|
|
85
85
|
}>;
|
|
@@ -103,9 +103,9 @@ export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
|
|
|
103
103
|
source: z.ZodLiteral<"generated">;
|
|
104
104
|
kind: z.ZodLiteral<"explicit">;
|
|
105
105
|
value: z.ZodEnum<{
|
|
106
|
+
medium: "medium";
|
|
106
107
|
low: "low";
|
|
107
108
|
high: "high";
|
|
108
|
-
medium: "medium";
|
|
109
109
|
}>;
|
|
110
110
|
}, z.core.$strict>], "kind">;
|
|
111
111
|
}, z.core.$strict>;
|
|
@@ -224,8 +224,8 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
|
|
|
224
224
|
kind: z.ZodLiteral<"explicit">;
|
|
225
225
|
value: z.ZodEnum<{
|
|
226
226
|
flat: "flat";
|
|
227
|
-
default: "default";
|
|
228
227
|
none: "none";
|
|
228
|
+
default: "default";
|
|
229
229
|
raised: "raised";
|
|
230
230
|
outlined: "outlined";
|
|
231
231
|
}>;
|
|
@@ -249,9 +249,9 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
|
|
|
249
249
|
source: z.ZodLiteral<"generated">;
|
|
250
250
|
kind: z.ZodLiteral<"explicit">;
|
|
251
251
|
value: z.ZodEnum<{
|
|
252
|
+
medium: "medium";
|
|
252
253
|
low: "low";
|
|
253
254
|
high: "high";
|
|
254
|
-
medium: "medium";
|
|
255
255
|
}>;
|
|
256
256
|
}, z.core.$strict>], "kind">;
|
|
257
257
|
}, z.core.$strict>;
|
|
@@ -247,7 +247,7 @@ export declare const contentVersionOwnerSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
247
247
|
blockId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignBlockId, string>>;
|
|
248
248
|
}, z.core.$strict>, z.ZodObject<{
|
|
249
249
|
kind: z.ZodLiteral<"entry">;
|
|
250
|
-
entryId: z.ZodPipe<z.ZodString, z.ZodTransform<import("
|
|
250
|
+
entryId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").DesignEntryId, string>>;
|
|
251
251
|
}, z.core.$strict>, z.ZodObject<{
|
|
252
252
|
kind: z.ZodLiteral<"page">;
|
|
253
253
|
pageId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignPageId, string>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BlockLayoutDesignProfile } from './blockFlow';
|
|
2
2
|
import { autoDesignChoice, type PageDesignBlockDescriptor, type PageDesignIntent, type PageDesignUserPinnedChoice } from './pageDesignIntent';
|
|
3
3
|
import { type AppearancePresetId, type BoundaryOptionId, type DesignBlockId, type LayoutVariantKey, type SiteStyleId } from './types';
|
|
4
|
-
export declare const defaultPolicyPageFlowPresetId: import("
|
|
4
|
+
export declare const defaultPolicyPageFlowPresetId: import("../../../blocks/src/index").PageFlowPresetId;
|
|
5
5
|
export type OpenSiteStyleBlockPolicy = Readonly<{
|
|
6
6
|
kind: 'open';
|
|
7
7
|
}>;
|
|
@@ -32,7 +32,7 @@ export declare const generatedDesignOptionCatalog: {
|
|
|
32
32
|
treatment: "raised";
|
|
33
33
|
}>, Readonly<{
|
|
34
34
|
kind: "flush-panel";
|
|
35
|
-
treatment: import("
|
|
35
|
+
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
36
36
|
bleed: "start";
|
|
37
37
|
}>];
|
|
38
38
|
readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised"];
|
|
@@ -53,18 +53,18 @@ export declare const userDesignOptionCatalog: {
|
|
|
53
53
|
treatment: "raised";
|
|
54
54
|
}>, Readonly<{
|
|
55
55
|
kind: "flush-panel";
|
|
56
|
-
treatment: import("
|
|
56
|
+
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
57
57
|
bleed: "start";
|
|
58
58
|
}>, Readonly<{
|
|
59
59
|
kind: "panel";
|
|
60
60
|
treatment: "editorial";
|
|
61
61
|
}>, Readonly<{
|
|
62
62
|
kind: "flush-panel";
|
|
63
|
-
treatment: import("
|
|
63
|
+
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
64
64
|
bleed: "end";
|
|
65
65
|
}>, Readonly<{
|
|
66
66
|
kind: "flush-panel";
|
|
67
|
-
treatment: import("
|
|
67
|
+
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
68
68
|
bleed: "both";
|
|
69
69
|
}>];
|
|
70
70
|
readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised", "inset", "editorial"];
|
|
@@ -85,18 +85,18 @@ export declare const advancedDesignOptionCatalog: {
|
|
|
85
85
|
treatment: "raised";
|
|
86
86
|
}>, Readonly<{
|
|
87
87
|
kind: "flush-panel";
|
|
88
|
-
treatment: import("
|
|
88
|
+
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
89
89
|
bleed: "start";
|
|
90
90
|
}>, Readonly<{
|
|
91
91
|
kind: "panel";
|
|
92
92
|
treatment: "editorial";
|
|
93
93
|
}>, Readonly<{
|
|
94
94
|
kind: "flush-panel";
|
|
95
|
-
treatment: import("
|
|
95
|
+
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
96
96
|
bleed: "end";
|
|
97
97
|
}>, Readonly<{
|
|
98
98
|
kind: "flush-panel";
|
|
99
|
-
treatment: import("
|
|
99
|
+
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
100
100
|
bleed: "both";
|
|
101
101
|
}>];
|
|
102
102
|
readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised", "inset", "editorial"];
|
|
@@ -118,7 +118,7 @@ export declare const designOptionCatalogs: {
|
|
|
118
118
|
treatment: "raised";
|
|
119
119
|
}>, Readonly<{
|
|
120
120
|
kind: "flush-panel";
|
|
121
|
-
treatment: import("
|
|
121
|
+
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
122
122
|
bleed: "start";
|
|
123
123
|
}>];
|
|
124
124
|
readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised"];
|
|
@@ -139,18 +139,18 @@ export declare const designOptionCatalogs: {
|
|
|
139
139
|
treatment: "raised";
|
|
140
140
|
}>, Readonly<{
|
|
141
141
|
kind: "flush-panel";
|
|
142
|
-
treatment: import("
|
|
142
|
+
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
143
143
|
bleed: "start";
|
|
144
144
|
}>, Readonly<{
|
|
145
145
|
kind: "panel";
|
|
146
146
|
treatment: "editorial";
|
|
147
147
|
}>, Readonly<{
|
|
148
148
|
kind: "flush-panel";
|
|
149
|
-
treatment: import("
|
|
149
|
+
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
150
150
|
bleed: "end";
|
|
151
151
|
}>, Readonly<{
|
|
152
152
|
kind: "flush-panel";
|
|
153
|
-
treatment: import("
|
|
153
|
+
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
154
154
|
bleed: "both";
|
|
155
155
|
}>];
|
|
156
156
|
readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised", "inset", "editorial"];
|
|
@@ -171,18 +171,18 @@ export declare const designOptionCatalogs: {
|
|
|
171
171
|
treatment: "raised";
|
|
172
172
|
}>, Readonly<{
|
|
173
173
|
kind: "flush-panel";
|
|
174
|
-
treatment: import("
|
|
174
|
+
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
175
175
|
bleed: "start";
|
|
176
176
|
}>, Readonly<{
|
|
177
177
|
kind: "panel";
|
|
178
178
|
treatment: "editorial";
|
|
179
179
|
}>, Readonly<{
|
|
180
180
|
kind: "flush-panel";
|
|
181
|
-
treatment: import("
|
|
181
|
+
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
182
182
|
bleed: "end";
|
|
183
183
|
}>, Readonly<{
|
|
184
184
|
kind: "flush-panel";
|
|
185
|
-
treatment: import("
|
|
185
|
+
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
186
186
|
bleed: "both";
|
|
187
187
|
}>];
|
|
188
188
|
readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised", "inset", "editorial"];
|
|
@@ -12,9 +12,9 @@ export declare const STYLE_AXIS_VALUES: {
|
|
|
12
12
|
};
|
|
13
13
|
export declare const styleTagsSchema: z.ZodObject<{
|
|
14
14
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
classic: "classic";
|
|
15
16
|
bold: "bold";
|
|
16
17
|
minimal: "minimal";
|
|
17
|
-
classic: "classic";
|
|
18
18
|
}>>;
|
|
19
19
|
energy: z.ZodOptional<z.ZodEnum<{
|
|
20
20
|
calm: "calm";
|
|
@@ -18,14 +18,14 @@ export declare const themeTokenRecipesSchema: z.ZodObject<{
|
|
|
18
18
|
}>;
|
|
19
19
|
contrast: z.ZodEnum<{
|
|
20
20
|
standard: "standard";
|
|
21
|
-
maximum: "maximum";
|
|
22
21
|
strong: "strong";
|
|
22
|
+
maximum: "maximum";
|
|
23
23
|
}>;
|
|
24
24
|
radius: z.ZodEnum<{
|
|
25
|
-
soft: "soft";
|
|
26
|
-
square: "square";
|
|
27
25
|
rounded: "rounded";
|
|
26
|
+
square: "square";
|
|
28
27
|
pill: "pill";
|
|
28
|
+
soft: "soft";
|
|
29
29
|
}>;
|
|
30
30
|
shadow: z.ZodEnum<{
|
|
31
31
|
none: "none";
|
|
@@ -39,9 +39,9 @@ export declare const themeTokenRecipesSchema: z.ZodObject<{
|
|
|
39
39
|
"friendly-sans": "friendly-sans";
|
|
40
40
|
}>;
|
|
41
41
|
spacing: z.ZodEnum<{
|
|
42
|
+
compact: "compact";
|
|
42
43
|
airy: "airy";
|
|
43
44
|
regular: "regular";
|
|
44
|
-
compact: "compact";
|
|
45
45
|
}>;
|
|
46
46
|
motion: z.ZodEnum<{
|
|
47
47
|
none: "none";
|
|
@@ -5,9 +5,10 @@
|
|
|
5
5
|
* Uses theme colors via --tb-* CSS variables.
|
|
6
6
|
*/
|
|
7
7
|
import type { Theme } from '../schema';
|
|
8
|
+
export type StatusGeneratorTheme = Pick<Theme, 'corners'>;
|
|
8
9
|
export interface GenerateStatusCssParams {
|
|
9
10
|
themeId: string;
|
|
10
|
-
theme:
|
|
11
|
+
theme: StatusGeneratorTheme;
|
|
11
12
|
}
|
|
12
13
|
/**
|
|
13
14
|
* Generate status and alert CSS from theme settings.
|
|
@@ -9,15 +9,15 @@ export type PaletteTokenName = (typeof PALETTE_TOKEN_NAMES)[number];
|
|
|
9
9
|
export declare const paletteTokenNameSchema: z.ZodEnum<{
|
|
10
10
|
success: "success";
|
|
11
11
|
text: "text";
|
|
12
|
-
surface: "surface";
|
|
13
|
-
warning: "warning";
|
|
14
|
-
border: "border";
|
|
15
|
-
background: "background";
|
|
16
12
|
primary: "primary";
|
|
17
13
|
secondary: "secondary";
|
|
18
|
-
|
|
14
|
+
background: "background";
|
|
15
|
+
surface: "surface";
|
|
16
|
+
border: "border";
|
|
19
17
|
accent: "accent";
|
|
18
|
+
warning: "warning";
|
|
20
19
|
destructive: "destructive";
|
|
20
|
+
primaryForeground: "primaryForeground";
|
|
21
21
|
surfaceAlt: "surfaceAlt";
|
|
22
22
|
muted: "muted";
|
|
23
23
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { type VariantProps } from "class-variance-authority";
|
|
3
3
|
declare const badgeVariants: (props?: ({
|
|
4
|
-
variant?: "success" | "
|
|
4
|
+
variant?: "success" | "secondary" | "outline" | "default" | "warning" | "destructive" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "link" | "
|
|
5
|
-
size?: "default" | "
|
|
4
|
+
variant?: "link" | "secondary" | "outline" | "default" | "destructive" | "ghost" | "onDark" | "onDarkOutline" | "heroGlass" | null | undefined;
|
|
5
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
8
|
asChild?: boolean;
|
|
@@ -4,7 +4,7 @@ import { surfaceVariants } from './surface';
|
|
|
4
4
|
export type CardVariant = VariantProps<typeof surfaceVariants>['variant'];
|
|
5
5
|
export type CardRadius = VariantProps<typeof surfaceVariants>['radius'];
|
|
6
6
|
declare const cardLayoutVariants: (props?: ({
|
|
7
|
-
size?: "
|
|
7
|
+
size?: "none" | "compact" | "default" | "responsive" | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
9
|
export type CardSize = VariantProps<typeof cardLayoutVariants>['size'];
|
|
10
10
|
export type CardProps = React.ComponentProps<'div'> & {
|
|
@@ -5,5 +5,5 @@ interface ColorPickerProps {
|
|
|
5
5
|
onBlur?: () => void;
|
|
6
6
|
label?: string;
|
|
7
7
|
}
|
|
8
|
-
declare const ColorPicker: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "value" | "
|
|
8
|
+
declare const ColorPicker: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "value" | "onBlur" | "onChange"> & ColorPickerProps & ButtonProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
9
9
|
export { ColorPicker };
|
|
@@ -2,8 +2,8 @@ import * as React from 'react';
|
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
export declare const surfaceVariants: (props?: ({
|
|
4
4
|
variant?: "default" | "background" | null | undefined;
|
|
5
|
-
radius?: "none" | "
|
|
6
|
-
padding?: "none" | "
|
|
5
|
+
radius?: "none" | "sm" | "md" | "lg" | "xl" | "flushMobile" | null | undefined;
|
|
6
|
+
padding?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export type SurfaceProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof surfaceVariants>;
|
|
9
9
|
export declare function Surface({ className, variant, radius, padding, ...props }: SurfaceProps): React.ReactElement;
|
|
@@ -2,11 +2,11 @@ import * as React from "react";
|
|
|
2
2
|
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
3
3
|
import { type VariantProps } from "class-variance-authority";
|
|
4
4
|
declare const toggleVariants: (props?: ({
|
|
5
|
-
variant?: "
|
|
6
|
-
size?: "default" | "
|
|
5
|
+
variant?: "outline" | "default" | null | undefined;
|
|
6
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
9
|
-
variant?: "
|
|
10
|
-
size?: "default" | "
|
|
9
|
+
variant?: "outline" | "default" | null | undefined;
|
|
10
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
11
11
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
export { Toggle, toggleVariants };
|