@riverbankcms/sdk 0.81.0 → 0.84.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 +81 -3
- package/dist/{PreviewEditorSidebar-RDCMEXIJ.mjs → PreviewEditorSidebar-HML67UDA.mjs} +367 -507
- package/dist/{PreviewEditorSidebar-O4NDX5TP.css → PreviewEditorSidebar-JA4VIPSZ.css} +1 -1
- package/dist/{SdkPreviewModeRuntime-PBGALTMK.css → PreviewEditorUI-36T7QYV4.css} +1 -1
- package/dist/{PreviewEditorUI-NYGQ6K7B.mjs → PreviewEditorUI-I4BQUU6K.mjs} +4 -6
- package/dist/{PreviewEditorUI-4JVDBZBS.css → SdkPreviewModeRuntime-FXKI6XNL.css} +1 -1
- package/dist/SdkPreviewModeRuntime-MCKMVDTK.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +1038 -262
- package/dist/_dts/altcha/src/AltchaWidget.d.ts +1 -1
- package/dist/_dts/api/src/analytics.d.ts +1 -1
- package/dist/_dts/api/src/blocks.d.ts +36 -0
- package/dist/_dts/api/src/bookingConfig.d.ts +4 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +49 -3
- package/dist/_dts/api/src/courses.d.ts +1 -1
- package/dist/_dts/api/src/endpoints.d.ts +40 -0
- package/dist/_dts/api/src/event-destination-policy.d.ts +17 -0
- package/dist/_dts/api/src/index.d.ts +6 -2
- package/dist/_dts/api/src/navigation/boundaries.d.ts +64 -0
- package/dist/_dts/api/src/navigation.d.ts +2 -0
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +6 -54
- package/dist/_dts/api/src/sdk-event-pricing.d.ts +61 -0
- package/dist/_dts/api/src/sdk-event-schedule.d.ts +52 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +50 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +67 -33
- package/dist/_dts/api/src/shared-contracts.d.ts +13 -0
- package/dist/_dts/api/src/siteGeneration.d.ts +1 -1
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +29 -42
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +46 -1
- package/dist/_dts/api/src/types.d.ts +1 -1
- package/dist/_dts/block-form/src/backend/useBackendWatch.d.ts +6 -1
- package/dist/_dts/block-form/src/context/BlockContext.d.ts +1 -1
- package/dist/_dts/block-form/src/context/DisplayLabelResolverContext.d.ts +1 -1
- package/dist/_dts/block-form/src/context/FieldPreviewResolverContext.d.ts +2 -2
- package/dist/_dts/block-form/src/manifest/ManifestForm.d.ts +1 -1
- package/dist/_dts/block-form/src/palette/PaletteContext.d.ts +1 -1
- package/dist/_dts/block-form/src/sdk-config/SdkConfigContext.d.ts +1 -1
- package/dist/_dts/block-form/src/utils/evaluateVisibility.d.ts +3 -2
- package/dist/_dts/block-form/src/utils/visibleWhen.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/BackgroundColorWidget/BackgroundColorWidget.d.ts +2 -1
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/BooleanField/BooleanField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/Field.d.ts +2 -2
- package/dist/_dts/block-form/src/widgets/FieldFrame.d.ts +3 -3
- package/dist/_dts/block-form/src/widgets/NumberField/NumberField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/PresetOrCustomField/PresetOrCustomField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SdkSelectField/SdkSelectField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SelectField/SelectField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SelectWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SliderField/SliderField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/TextField/TextField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/TextInputWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/ToggleWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/stringDefaultValue.d.ts +1 -0
- package/dist/_dts/blocks/src/PageRenderer.d.ts +12 -1
- package/dist/_dts/blocks/src/bindings/index.d.ts +1 -1
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
- package/dist/_dts/blocks/src/client.d.ts +4 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +24 -20
- package/dist/_dts/blocks/src/index.d.ts +2 -2
- package/dist/_dts/blocks/src/portal/types.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/components/Button.d.ts +7 -7
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/content/components/Text.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +3 -0
- package/dist/_dts/blocks/src/primitives/layout/Grid.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/layout/Inline.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/layout/Stack.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/contact-newsletter.d.ts +171 -0
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +302 -151
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +6 -20
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/hero.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +4 -10
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +2608 -225
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +4 -2
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +28 -0
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +880 -2618
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +880 -2620
- package/dist/_dts/blocks/src/system/blocks/products/shared.d.ts +0 -4
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +36 -3
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +4 -4
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +3 -0
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +6 -2
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/linkedContentEntries.d.ts +38 -0
- package/dist/_dts/blocks/src/system/defineBlock.d.ts +3 -1
- package/dist/_dts/blocks/src/system/fields/aspectRatio.d.ts +4 -1
- package/dist/_dts/blocks/src/system/fields/imageShape.d.ts +30 -0
- package/dist/_dts/blocks/src/system/fragments/library/heroLayoutControls.d.ts +25 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +106 -217
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +36 -30
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +18 -15
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +33 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/ImageResolveContext.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.shared.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/cart.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/cart.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +1 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/view.d.ts +10 -13
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/view.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/BookingModeStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/CourseRegistrationWizard.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/ErrorStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/MembershipHero.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PaymentFailedStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PortalAuthSidebar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/StepIndicator.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/SuccessStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/VerifyingTimeoutStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/WaitlistStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/components.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.client.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/CoursePricingDisplay.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/view.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSummaryBar.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizard.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardContent.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventSelectionStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/OrderSummary.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PastOccurrenceNotice.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SelectableOptionCard.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/StepIndicator.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.state.d.ts +303 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationDerivations.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +1 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +20 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +4 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +38 -11
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.view.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/DateTimeTile.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/DayEventsModal.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/pricing.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/gifting.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/gifting.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.shared.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.view.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/product-detail.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/product-detail.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/product-list.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/product-list.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-add-feedback.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-commerce.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-commerce.server.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +0 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/spinner.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/ActionRow.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/CheckIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/ClockIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/CrossIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/FeedbackMessage.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/FieldValidationMessage.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/MembershipHero.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/StateIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/StepIndicator.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/TerminalPanel.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -1
- package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +1 -1
- package/dist/_dts/content-editor/src/components/EditableBlockProvider.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +2 -2
- package/dist/_dts/content-editor/src/controller/buildBlockPublishedBaselines.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/useInvalidBlockRecovery.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +7 -1
- package/dist/_dts/content-editor/src/primitives/PreviewTextEditor.d.ts +7 -1
- package/dist/_dts/content-editor/src/primitives/shared/activePreviewField.d.ts +2 -0
- package/dist/_dts/content-editor/src/primitives/shared/index.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/shared/storeBinding.d.ts +3 -1
- package/dist/_dts/content-editor/src/primitives/shared/types.d.ts +5 -0
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +7 -2
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +0 -40
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +0 -40
- package/dist/_dts/content-model/src/entry-slots/index.d.ts +1 -0
- package/dist/_dts/content-model/src/entry-slots/types.d.ts +356 -0
- package/dist/_dts/content-model/src/index.d.ts +1 -0
- package/dist/_dts/content-model/src/templates/defaults.d.ts +7 -1
- package/dist/_dts/core/src/event-pricing.d.ts +72 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +127 -7
- package/dist/_dts/db/src/schemas/forms.d.ts +4 -4
- package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +1 -1
- package/dist/_dts/editor/src/inline/InlineTextEditor.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/EditorPrimitivesProvider.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/InlineFieldContext.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/SaveContext.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/RichTextToolbar.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/BlockTypeDropdown.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/LinkPopover.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/ToolbarIconButton.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +6 -1
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/FormProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/AddBlockDivider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockListContext.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockThumbnail.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockTile.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/EmptyState.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/FeatureCardIconsPanel.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/HeaderActions.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockReorder.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/block-editor/owner.d.ts +27 -0
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -2
- 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/content-type-select/ContentTypeSelectField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeWidgetProvider.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/icon-picker/IconPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +1 -1
- 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 +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidgetContext.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewGroupOrderField.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewWidgetProvider.d.ts +10 -0
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/index.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/orderDomain.d.ts +29 -0
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/useImagePicker.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionWidgetProvider.d.ts +1 -1
- package/dist/_dts/media-core/src/assetsInUseSummary.d.ts +8 -0
- package/dist/_dts/media-core/src/mediaUsageProjection.d.ts +37 -3
- package/dist/_dts/media-editor/src/CropDialog.d.ts +1 -1
- package/dist/_dts/media-editor/src/CropDialogShell.d.ts +1 -1
- package/dist/_dts/media-editor/src/FileAssetPreview.d.ts +1 -1
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +1 -1
- package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +1 -1
- package/dist/_dts/media-editor/src/MediaPreview.d.ts +1 -1
- package/dist/_dts/media-editor/src/context.d.ts +1 -1
- package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -1
- package/dist/_dts/media-editor/src/provider.d.ts +1 -1
- package/dist/_dts/media-react/src/components/AuthenticatedImage.d.ts +1 -1
- package/dist/_dts/media-react/src/components/MediaLibrary.d.ts +1 -1
- package/dist/_dts/media-react/src/components/MediaPickerMini.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/PreviewShellSmoke.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +5 -3
- package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +4 -2
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.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/layout/PreviewLayoutContext.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +4 -2
- package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +19 -0
- package/dist/_dts/preview-next/src/client/preview/MaintenanceModeBadge.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/OnboardingThemeSwitcher.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewAuthBanner.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewAuthInit.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewBlockCustomizeSelectionContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewConfirmationDialog.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignCoordinatorContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignHistoryOrderContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorGuidanceCard.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewOpenEditorButton.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewQueryProvider.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewSidebarSection.d.ts +2 -2
- 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/SelectedBlockCustomizePanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeButton.d.ts +10 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +17 -3
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/SubrouteNoticePanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/linkedEntryEditEvents.d.ts +14 -1
- package/dist/_dts/preview-next/src/client/preview/previewChromePlacement.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeControls.d.ts +11 -10
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +10 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +29 -6
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/themeOverlay.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewModeRuntime.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +5 -3
- package/dist/_dts/sdk/src/__mocks__/next-cache.d.ts +4 -3
- package/dist/_dts/sdk/src/bookings/index.d.ts +5 -4
- package/dist/_dts/sdk/src/bookings/types.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +15 -22
- package/dist/_dts/sdk/src/cli/content/writer.d.ts +6 -1
- package/dist/_dts/sdk/src/cli/helpers.d.ts +10 -5
- package/dist/_dts/sdk/src/cli/merge-remote/entryLocal.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/merge-remote/entryMerge.d.ts +2 -1
- package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/site-commands/localBlockManifestResolver.d.ts +31 -0
- package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/sync/validation.d.ts +7 -7
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +40 -10
- package/dist/_dts/sdk/src/client/types.d.ts +36 -4
- package/dist/_dts/sdk/src/client.d.ts +1 -1
- package/dist/_dts/sdk/src/config/content-types.d.ts +3 -14
- package/dist/_dts/sdk/src/config/content-validation.d.ts +9 -214
- package/dist/_dts/sdk/src/config/field-definitions.d.ts +13 -7
- package/dist/_dts/sdk/src/config/types.d.ts +9 -0
- package/dist/_dts/sdk/src/config/validation.d.ts +21 -21
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +28 -5
- package/dist/_dts/sdk/src/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +6 -6
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +4 -3
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +42 -37
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/components/Block.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Block.server.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Page.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Page.server.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/PageHydrationBootstrap.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +6 -1
- package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +10 -9
- package/dist/_dts/sdk/src/rendering/islands/enhancers/routeIslandApiConfig.d.ts +9 -0
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +6 -57
- package/dist/_dts/sdk/src/rendering/overrides.d.ts +6 -1
- package/dist/_dts/sdk/src/rendering/primitives/RichText.d.ts +2 -1
- package/dist/_dts/sdk/src/server.d.ts +1 -1
- package/dist/_dts/sdk/src/theme-bridge/ThemeBridgeProvider.d.ts +1 -1
- package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +84 -21
- package/dist/_dts/theme-core/src/ClientThemeScope.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +3 -2
- package/dist/_dts/theme-core/src/ThemeScope.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeScopeCore.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
- package/dist/_dts/theme-core/src/buttons/personalities/ornate-ritual.d.ts +16 -0
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +8 -8
- package/dist/_dts/theme-core/src/buttons/types.d.ts +20 -20
- package/dist/_dts/theme-core/src/cards/types.d.ts +20 -20
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +234 -225
- package/dist/_dts/theme-core/src/mock-themes/components/PaletteCard.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/components/swatch.d.ts +1 -1
- package/dist/_dts/theme-core/src/navigation/presets.d.ts +1 -1
- package/dist/_dts/theme-core/src/navigation/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/variants/index.d.ts +15 -0
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/palette/variants/warm-dark.d.ts +16 -0
- package/dist/_dts/theme-core/src/schema.d.ts +263 -248
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +27 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +141 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +16 -14
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +110 -5
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +11 -9
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +5 -1
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +30 -0
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +3 -1
- package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +16 -1
- package/dist/_dts/theme-core/src/siteChromePlanning.d.ts +1 -0
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +3 -3
- package/dist/_dts/theme-core/src/utils/colorStyles.d.ts +6 -6
- package/dist/_dts/ui/src/async-boundary.d.ts +1 -1
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button-group.d.ts +3 -3
- package/dist/_dts/ui/src/calendar.d.ts +2 -2
- package/dist/_dts/ui/src/card.d.ts +6 -6
- package/dist/_dts/ui/src/combobox.d.ts +1 -1
- package/dist/_dts/ui/src/command-multi-select.d.ts +1 -1
- package/dist/_dts/ui/src/content-spinner.d.ts +1 -1
- package/dist/_dts/ui/src/delayed-spinner.d.ts +1 -1
- package/dist/_dts/ui/src/dev-toolbar.d.ts +1 -1
- package/dist/_dts/ui/src/dialog.d.ts +10 -10
- package/dist/_dts/ui/src/dropdown-menu.d.ts +1 -1
- package/dist/_dts/ui/src/editor-drawer.d.ts +1 -1
- package/dist/_dts/ui/src/empty-state.d.ts +1 -1
- package/dist/_dts/ui/src/filter-button-group.d.ts +1 -1
- package/dist/_dts/ui/src/fixed-bottom-surface.d.ts +1 -1
- package/dist/_dts/ui/src/form.d.ts +7 -7
- package/dist/_dts/ui/src/label.d.ts +1 -1
- package/dist/_dts/ui/src/menubar.d.ts +16 -16
- package/dist/_dts/ui/src/navigation-tabs.d.ts +2 -2
- package/dist/_dts/ui/src/number-input.d.ts +1 -1
- package/dist/_dts/ui/src/palette/ColorChooserDialog.d.ts +1 -1
- package/dist/_dts/ui/src/palette/ColorSlotButton.d.ts +1 -1
- package/dist/_dts/ui/src/palette/ColorSwatchButton.d.ts +1 -1
- package/dist/_dts/ui/src/palette/PaletteTokenEditor.d.ts +1 -1
- package/dist/_dts/ui/src/resizable-split-pane.d.ts +1 -1
- package/dist/_dts/ui/src/select.d.ts +10 -10
- package/dist/_dts/ui/src/separator.d.ts +1 -1
- package/dist/_dts/ui/src/sheet.d.ts +9 -9
- package/dist/_dts/ui/src/spinner.d.ts +1 -1
- package/dist/_dts/ui/src/tooltip.d.ts +4 -4
- package/dist/{chunk-4T5JIPWY.mjs → chunk-3LXFQS7T.mjs} +1 -1
- package/dist/{chunk-3QWQ2MUQ.mjs → chunk-5E33VO6J.mjs} +3128 -2300
- package/dist/{chunk-3VT7LZY2.mjs → chunk-6X2OVO3S.mjs} +2 -2
- package/dist/{chunk-3PTVPAT4.mjs → chunk-HFMGVJCE.mjs} +388 -56
- package/dist/{chunk-E3NZYEKF.mjs → chunk-LBBPD2IW.mjs} +53 -2
- package/dist/{chunk-WUHKQBB6.mjs → chunk-MSHZO4SL.mjs} +23773 -18556
- package/dist/cli/index.mjs +6062 -3246
- package/dist/cli/init-docs/content/getting-started.md +2 -0
- package/dist/cli/init-docs/content/workflow-custom-block.md +5 -0
- package/dist/cli/init-docs/content/workflow-templates.md +93 -2
- package/dist/client/{accordion-SFIIZWNH.mjs → accordion-ESY65T56.mjs} +2 -2
- package/dist/client/{bookingForm-CFKZVWGA.mjs → bookingForm-JRFNZUHD.mjs} +12 -12
- package/dist/client/bookings.mjs +3568 -299
- package/dist/client/{carousel-ELXWSBLA.mjs → carousel-CPR5VWIP.mjs} +3 -3
- package/dist/client/{cart-6SSCPYY5.mjs → cart-ZUX5BA7O.mjs} +8 -7
- package/dist/client/{checkout-UFQ34HPV.mjs → checkout-RULGBADZ.mjs} +8 -7
- package/dist/client/{chunk-PA2LJH2M.mjs → chunk-52I7BGEK.mjs} +5 -4
- package/dist/client/{chunk-IUEDYLFJ.mjs → chunk-5ZEAZ33K.mjs} +1 -1
- package/dist/client/{chunk-V6XI4M2Q.mjs → chunk-BT6AEIKN.mjs} +1 -1
- package/dist/client/{chunk-3PEDD5KJ.mjs → chunk-DVNUDUVT.mjs} +1 -1
- package/dist/client/{chunk-YLMKMCSJ.mjs → chunk-GFSQNTRW.mjs} +1 -3
- package/dist/client/{chunk-NX6X3GRF.mjs → chunk-HXPWP5EN.mjs} +492 -201
- package/dist/client/{chunk-G56BSZAM.mjs → chunk-JWEYB4V6.mjs} +3 -3
- package/dist/client/chunk-L4J5Y62O.mjs +18 -0
- package/dist/client/{chunk-76JUETXQ.mjs → chunk-RDJFCPY3.mjs} +358 -157
- package/dist/client/{chunk-RMWMT3ZD.mjs → chunk-SYIJ5JO2.mjs} +1 -1
- package/dist/client/{chunk-NP47RHIX.mjs → chunk-URQCZD5W.mjs} +17 -34
- package/dist/client/{chunk-TCJS3NY5.mjs → chunk-Z5OBQ5I4.mjs} +1 -1
- package/dist/client/{chunk-7BXX7WXH.mjs → chunk-ZE5G642V.mjs} +60 -2
- package/dist/client/client.mjs +75121 -72133
- package/dist/client/{courseRegistration-HJIISAAG.mjs → courseRegistration-QTUDC35T.mjs} +13 -12
- package/dist/client/{eventCalendar-F6YVUCZR.mjs → eventCalendar-Q7NS4XLD.mjs} +14 -14
- package/dist/client/{eventCombined-B5DSTIOK.mjs → eventCombined-QAO7VUO5.mjs} +14 -14
- package/dist/client/{eventDetails-SEJDDHQC.mjs → eventDetails-WTNNU6Q3.mjs} +9 -9
- package/dist/client/{eventListing-TPMWIIBO.mjs → eventListing-5TA2ELDT.mjs} +14 -14
- package/dist/client/{eventRegistration-QU6W2PV6.mjs → eventRegistration-M6USZGRF.mjs} +17 -15
- package/dist/client/{form-LVTYNTDE.mjs → form-DGVGXLMH.mjs} +3 -3
- package/dist/client/{headerSection-SO3MFC4U.mjs → headerSection-O2AGMPCU.mjs} +4 -4
- package/dist/client/hooks.mjs +7289 -5663
- package/dist/client/{locationMap-5E5FLAKO.mjs → locationMap-EJRNRIKJ.mjs} +2 -2
- package/dist/client/{newsletterForm-GN32JEBQ.mjs → newsletterForm-7NTC2DTR.mjs} +3 -3
- package/dist/client/{productDetail-Q346KSVR.mjs → productDetail-HH4LP53D.mjs} +8 -7
- package/dist/client/{productList-DTDMQYGZ.mjs → productList-YVHYM2AF.mjs} +8 -7
- package/dist/client/rendering/client.mjs +3818 -2234
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +17370 -14360
- package/dist/client/{shop-OFUW7KPN.mjs → shop-UIFX7XRK.mjs} +8 -7
- package/dist/client/spam-protection.mjs +3 -5
- package/dist/preview-next/before-render.mjs +40 -0
- package/dist/preview-next/client/runtime.css +1 -1
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/middleware.mjs +40 -0
- package/dist/{sdk-runtime-EEMNSB7J.css → sdk-runtime-JD4A6SU6.css} +1 -1
- package/dist/{sdk-runtime-2GIX6I7X.mjs → sdk-runtime-ZENAOYMN.mjs} +6 -6
- package/dist/server/components.mjs +13473 -11321
- package/dist/server/config-validation.mjs +7017 -5489
- package/dist/server/config.mjs +7017 -5489
- package/dist/server/data.mjs +7295 -5669
- package/dist/server/index.mjs +149 -56
- package/dist/server/next.mjs +14431 -12060
- package/dist/server/page-converter.mjs +8062 -5399
- package/dist/server/prebuild.mjs +2 -1
- package/dist/server/rendering/server.mjs +13510 -11263
- package/dist/server/rendering.mjs +13613 -11293
- package/dist/server/routing.mjs +30919 -29206
- package/dist/server/server.mjs +27669 -25919
- package/dist/server/theme-bridge.mjs +1288 -146
- package/dist/server/theme.mjs +221 -131
- package/dist/styles/index.css +416 -96
- package/package.json +16 -16
- package/dist/SdkPreviewModeRuntime-AKCSCZEC.mjs +0 -8
|
@@ -5,8 +5,8 @@ export declare const generatedContentFrameIntentSchema: z.ZodDiscriminatedUnion<
|
|
|
5
5
|
}, z.core.$strict>, z.ZodObject<{
|
|
6
6
|
kind: z.ZodLiteral<"panel">;
|
|
7
7
|
treatment: z.ZodEnum<{
|
|
8
|
-
inset: "inset";
|
|
9
8
|
raised: "raised";
|
|
9
|
+
inset: "inset";
|
|
10
10
|
}>;
|
|
11
11
|
}, z.core.$strict>, z.ZodObject<{
|
|
12
12
|
kind: z.ZodLiteral<"flush-panel">;
|
|
@@ -32,8 +32,9 @@ export declare const generatedSiteStyleIdSchema: z.ZodPipe<z.ZodEnum<{
|
|
|
32
32
|
"site-style:clarity-zen-blue": "site-style:clarity-zen-blue";
|
|
33
33
|
"site-style:bold-launch": "site-style:bold-launch";
|
|
34
34
|
"site-style:south-west-twerk-school": "site-style:south-west-twerk-school";
|
|
35
|
+
"site-style:kirtan-ornate": "site-style:kirtan-ornate";
|
|
35
36
|
"site-style:original-joy": "site-style:original-joy";
|
|
36
|
-
}>, z.ZodTransform<SiteStyleId, "site-style:soft-earth" | "site-style:calm-studio" | "site-style:clear-professional" | "site-style:warm-editorial" | "site-style:bright-community" | "site-style:quiet-luxury" | "site-style:practical-services" | "site-style:quiet-practice" | "site-style:personal-retreat-journal" | "site-style:tactile-workshop" | "site-style:modern-wellness" | "site-style:clarity-zen-blue" | "site-style:bold-launch" | "site-style:south-west-twerk-school" | "site-style:original-joy">>;
|
|
37
|
+
}>, z.ZodTransform<SiteStyleId, "site-style:soft-earth" | "site-style:calm-studio" | "site-style:clear-professional" | "site-style:warm-editorial" | "site-style:bright-community" | "site-style:quiet-luxury" | "site-style:practical-services" | "site-style:quiet-practice" | "site-style:personal-retreat-journal" | "site-style:tactile-workshop" | "site-style:modern-wellness" | "site-style:clarity-zen-blue" | "site-style:bold-launch" | "site-style:south-west-twerk-school" | "site-style:kirtan-ornate" | "site-style:original-joy">>;
|
|
37
38
|
export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
|
|
38
39
|
sectionSurface: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39
40
|
source: z.ZodLiteral<"generated">;
|
|
@@ -60,8 +61,8 @@ export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
|
|
|
60
61
|
}, z.core.$strict>, z.ZodObject<{
|
|
61
62
|
kind: z.ZodLiteral<"panel">;
|
|
62
63
|
treatment: z.ZodEnum<{
|
|
63
|
-
inset: "inset";
|
|
64
64
|
raised: "raised";
|
|
65
|
+
inset: "inset";
|
|
65
66
|
}>;
|
|
66
67
|
}, z.core.$strict>, z.ZodObject<{
|
|
67
68
|
kind: z.ZodLiteral<"flush-panel">;
|
|
@@ -83,11 +84,11 @@ export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
|
|
|
83
84
|
flat: "flat";
|
|
84
85
|
none: "none";
|
|
85
86
|
default: "default";
|
|
86
|
-
inset: "inset";
|
|
87
87
|
editorial: "editorial";
|
|
88
88
|
raised: "raised";
|
|
89
89
|
"color-blocked": "color-blocked";
|
|
90
90
|
outlined: "outlined";
|
|
91
|
+
inset: "inset";
|
|
91
92
|
}>;
|
|
92
93
|
}, z.core.$strict>], "kind">;
|
|
93
94
|
transitionAfter: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -110,8 +111,8 @@ export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
|
|
|
110
111
|
kind: z.ZodLiteral<"explicit">;
|
|
111
112
|
value: z.ZodEnum<{
|
|
112
113
|
medium: "medium";
|
|
113
|
-
high: "high";
|
|
114
114
|
low: "low";
|
|
115
|
+
high: "high";
|
|
115
116
|
}>;
|
|
116
117
|
}, z.core.$strict>], "kind">;
|
|
117
118
|
}, z.core.$strict>;
|
|
@@ -180,8 +181,9 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
|
|
|
180
181
|
"site-style:clarity-zen-blue": "site-style:clarity-zen-blue";
|
|
181
182
|
"site-style:bold-launch": "site-style:bold-launch";
|
|
182
183
|
"site-style:south-west-twerk-school": "site-style:south-west-twerk-school";
|
|
184
|
+
"site-style:kirtan-ornate": "site-style:kirtan-ornate";
|
|
183
185
|
"site-style:original-joy": "site-style:original-joy";
|
|
184
|
-
}>, z.ZodTransform<SiteStyleId, "site-style:soft-earth" | "site-style:calm-studio" | "site-style:clear-professional" | "site-style:warm-editorial" | "site-style:bright-community" | "site-style:quiet-luxury" | "site-style:practical-services" | "site-style:quiet-practice" | "site-style:personal-retreat-journal" | "site-style:tactile-workshop" | "site-style:modern-wellness" | "site-style:clarity-zen-blue" | "site-style:bold-launch" | "site-style:south-west-twerk-school" | "site-style:original-joy">>;
|
|
186
|
+
}>, z.ZodTransform<SiteStyleId, "site-style:soft-earth" | "site-style:calm-studio" | "site-style:clear-professional" | "site-style:warm-editorial" | "site-style:bright-community" | "site-style:quiet-luxury" | "site-style:practical-services" | "site-style:quiet-practice" | "site-style:personal-retreat-journal" | "site-style:tactile-workshop" | "site-style:modern-wellness" | "site-style:clarity-zen-blue" | "site-style:bold-launch" | "site-style:south-west-twerk-school" | "site-style:kirtan-ornate" | "site-style:original-joy">>;
|
|
185
187
|
blocks: z.ZodArray<z.ZodObject<{
|
|
186
188
|
blockId: z.ZodString;
|
|
187
189
|
blockKind: z.ZodString;
|
|
@@ -212,8 +214,8 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
|
|
|
212
214
|
}, z.core.$strict>, z.ZodObject<{
|
|
213
215
|
kind: z.ZodLiteral<"panel">;
|
|
214
216
|
treatment: z.ZodEnum<{
|
|
215
|
-
inset: "inset";
|
|
216
217
|
raised: "raised";
|
|
218
|
+
inset: "inset";
|
|
217
219
|
}>;
|
|
218
220
|
}, z.core.$strict>, z.ZodObject<{
|
|
219
221
|
kind: z.ZodLiteral<"flush-panel">;
|
|
@@ -235,11 +237,11 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
|
|
|
235
237
|
flat: "flat";
|
|
236
238
|
none: "none";
|
|
237
239
|
default: "default";
|
|
238
|
-
inset: "inset";
|
|
239
240
|
editorial: "editorial";
|
|
240
241
|
raised: "raised";
|
|
241
242
|
"color-blocked": "color-blocked";
|
|
242
243
|
outlined: "outlined";
|
|
244
|
+
inset: "inset";
|
|
243
245
|
}>;
|
|
244
246
|
}, z.core.$strict>], "kind">;
|
|
245
247
|
transitionAfter: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -262,8 +264,8 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
|
|
|
262
264
|
kind: z.ZodLiteral<"explicit">;
|
|
263
265
|
value: z.ZodEnum<{
|
|
264
266
|
medium: "medium";
|
|
265
|
-
high: "high";
|
|
266
267
|
low: "low";
|
|
268
|
+
high: "high";
|
|
267
269
|
}>;
|
|
268
270
|
}, z.core.$strict>], "kind">;
|
|
269
271
|
}, z.core.$strict>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './accessibleSurfaces';
|
|
2
2
|
export * from './appearancePresets';
|
|
3
3
|
export * from './blockFlow';
|
|
4
|
+
export * from './backgroundAppearance';
|
|
4
5
|
export * from './compositionBudget';
|
|
5
6
|
export * from './contentTemplateDesignIntent';
|
|
6
7
|
export * from './contentTemplateRuntimeCompiler';
|
|
@@ -26,6 +27,7 @@ export * from './records';
|
|
|
26
27
|
export * from './resolver';
|
|
27
28
|
export * from './runtimeCompiler';
|
|
28
29
|
export * from './sectionTransitions';
|
|
30
|
+
export * from './siteChromeBackgrounds';
|
|
29
31
|
export * from './siteStyleThemeCompiler';
|
|
30
32
|
export * from './siteStyleBlockPolicies';
|
|
31
33
|
export * from './sourceCatalogs';
|
|
@@ -42,16 +42,16 @@ export declare const logoContainsTextSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
42
42
|
kind: z.ZodLiteral<"contains-text">;
|
|
43
43
|
confidence: z.ZodEnum<{
|
|
44
44
|
medium: "medium";
|
|
45
|
-
high: "high";
|
|
46
45
|
low: "low";
|
|
46
|
+
high: "high";
|
|
47
47
|
}>;
|
|
48
48
|
text: z.ZodOptional<z.ZodString>;
|
|
49
49
|
}, z.core.$strip>, z.ZodObject<{
|
|
50
50
|
kind: z.ZodLiteral<"no-text">;
|
|
51
51
|
confidence: z.ZodEnum<{
|
|
52
52
|
medium: "medium";
|
|
53
|
-
high: "high";
|
|
54
53
|
low: "low";
|
|
54
|
+
high: "high";
|
|
55
55
|
}>;
|
|
56
56
|
}, z.core.$strip>, z.ZodObject<{
|
|
57
57
|
kind: z.ZodLiteral<"unknown">;
|
|
@@ -88,16 +88,16 @@ export declare const logoFactsSchema: z.ZodObject<{
|
|
|
88
88
|
kind: z.ZodLiteral<"contains-text">;
|
|
89
89
|
confidence: z.ZodEnum<{
|
|
90
90
|
medium: "medium";
|
|
91
|
-
high: "high";
|
|
92
91
|
low: "low";
|
|
92
|
+
high: "high";
|
|
93
93
|
}>;
|
|
94
94
|
text: z.ZodOptional<z.ZodString>;
|
|
95
95
|
}, z.core.$strip>, z.ZodObject<{
|
|
96
96
|
kind: z.ZodLiteral<"no-text">;
|
|
97
97
|
confidence: z.ZodEnum<{
|
|
98
98
|
medium: "medium";
|
|
99
|
-
high: "high";
|
|
100
99
|
low: "low";
|
|
100
|
+
high: "high";
|
|
101
101
|
}>;
|
|
102
102
|
}, z.core.$strip>, z.ZodObject<{
|
|
103
103
|
kind: z.ZodLiteral<"unknown">;
|
|
@@ -7,7 +7,7 @@ import { type CompiledTypographySelection, type KnownTypographyPresetId, type Ty
|
|
|
7
7
|
import { type FooterLookId, type FooterSelectionContext, type FooterSelectionResult } from './footerLooks';
|
|
8
8
|
import { type HeaderLayoutId, type HeaderSelectionContext, type HeaderLookId, type HeaderSelectionResult, type HeaderStyleId } from './headerLooks';
|
|
9
9
|
import { type CompiledBlockRuntimeFields, type CompiledPageRuntime, type ComponentRuntimeRules, type DesignRuntimeRules, type SemanticSpacing, type SurfaceResolutionContext } from './runtimeCompiler';
|
|
10
|
-
import type
|
|
10
|
+
import { type AppearancePresetId, type DesignBlockId, type SiteStyleId } from './types';
|
|
11
11
|
import { type CuratedSiteStyleTheme } from './siteStyleThemeCompiler';
|
|
12
12
|
export type { CuratedSiteStyleTheme } from './siteStyleThemeCompiler';
|
|
13
13
|
/**
|
|
@@ -8,5 +8,7 @@ export declare const themeV2NormalEditorRawStyleFieldNames: readonly ["_frameSty
|
|
|
8
8
|
export declare const themeV2CompilerOwnedFieldNames: readonly ["_frameStyles", "_sectionStyles", "_containerStyles", "_cardStyles", "styleGroup", "_contentCardStyles", "_heroLayoutStyles", "_textCardStyles"];
|
|
9
9
|
export declare const pageDesignEditorBackgroundOverrideOwner: "page-design-editor";
|
|
10
10
|
export type PageDesignEditorBackgroundOverrideOwner = typeof pageDesignEditorBackgroundOverrideOwner;
|
|
11
|
+
export declare const siteChromeBackgroundOverrideOwner: "site-chrome-editor";
|
|
12
|
+
export type SiteChromeBackgroundOverrideOwner = typeof siteChromeBackgroundOverrideOwner;
|
|
11
13
|
export declare function isThemeV2NormalEditorRawStyleFieldName(fieldName: string): boolean;
|
|
12
14
|
export declare function isThemeV2NormalEditorRawStylePath(fieldPath: string): boolean;
|
|
@@ -3,14 +3,17 @@ import { type ExpandedPalette } from '../palette/expandPalette';
|
|
|
3
3
|
import { type ButtonPersonalityId } from '../buttons/personalities';
|
|
4
4
|
import { type PaletteOverrides, type PaletteVariantId } from '../palette/variants';
|
|
5
5
|
import { type RuntimeStyleWriteResultForFields, type StyleAuthority } from './designState';
|
|
6
|
-
import { type ContentFrameIntent, type FlushFrameTreatment, type PanelFrameTreatment, type ResolvedBlockDesignPlan, type ResolvedPageDesignPlan, type SiteStyleItemSurfaceIntent, type SiteStyleSectionTransitionIntent, type SiteStyleSurfaceIntent, type ThemeTokenRecipes } from './types';
|
|
6
|
+
import { type ContentFrameIntent, type EyebrowTreatment, type FlushFrameTreatment, type PanelFrameTreatment, type ResolvedBlockDesignPlan, type ResolvedPageDesignPlan, type SiteStyleItemSurfaceIntent, type SiteStyleSectionTransitionIntent, type SiteStyleSurfaceIntent, type ThemeTokenRecipes } from './types';
|
|
7
7
|
export type SemanticSpacing = 'none' | 'compact' | 'cozy' | 'medium' | 'comfortable' | 'spacious';
|
|
8
8
|
export type SectionPaddingX = 'normal' | 'none';
|
|
9
|
+
type SectionForegroundRuntimeTokens = Pick<NonNullable<SectionSurfaceRuntimeRule['background']>, 'textColor' | 'headingColor' | 'linkColor' | 'supportingColor'>;
|
|
9
10
|
export type SectionSurfaceRuntimeRule = Readonly<{
|
|
10
11
|
background?: NonNullable<SectionStylesOverride['background']>;
|
|
12
|
+
foreground?: Partial<SectionForegroundRuntimeTokens>;
|
|
11
13
|
}>;
|
|
12
14
|
export type DesignRuntimeRules = Readonly<{
|
|
13
15
|
sectionSurfaces: Readonly<Record<SiteStyleSurfaceIntent, SectionSurfaceRuntimeRule>>;
|
|
16
|
+
defaultEyebrowTreatment?: EyebrowTreatment;
|
|
14
17
|
heroLegibility: Readonly<Record<Exclude<NonNullable<ResolvedBlockDesignPlan['appliedHeroLegibility']>, 'none'>, NonNullable<NonNullable<SectionStylesOverride['background']>['overlay']>>>;
|
|
15
18
|
transitionClassName: (transition: SiteStyleSectionTransitionIntent, fromSurface: SiteStyleSurfaceIntent, toSurface: SiteStyleSurfaceIntent) => string | null;
|
|
16
19
|
}>;
|
|
@@ -286,3 +289,4 @@ export type CompileTokenRecipesOptions = Readonly<{
|
|
|
286
289
|
* palette lookup and leaves `theme.buttons` as the mock-theme default.
|
|
287
290
|
*/
|
|
288
291
|
export declare function compileTokenRecipes(recipes: ThemeTokenRecipes, options?: CompileTokenRecipesOptions): Theme;
|
|
292
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Theme } from '../schema';
|
|
2
|
+
import type { ThemeColorToken } from '../tokens';
|
|
3
|
+
export type SiteChromeSurface = 'header' | 'footer';
|
|
4
|
+
export type SiteChromeBackgroundColorToken = ThemeColorToken & {
|
|
5
|
+
readonly __siteChromeBackgroundColorToken: true;
|
|
6
|
+
};
|
|
7
|
+
export type SiteChromeBackgroundOverride = Readonly<{
|
|
8
|
+
kind: 'default';
|
|
9
|
+
}> | Readonly<{
|
|
10
|
+
kind: 'color';
|
|
11
|
+
token: SiteChromeBackgroundColorToken;
|
|
12
|
+
}>;
|
|
13
|
+
export type SiteChromeBackgroundPreferences = Readonly<{
|
|
14
|
+
header: SiteChromeBackgroundOverride;
|
|
15
|
+
footer: SiteChromeBackgroundOverride;
|
|
16
|
+
}>;
|
|
17
|
+
export type SiteChromeBackgroundCycleDirection = 'prev' | 'next';
|
|
18
|
+
export declare const siteChromeBackgroundColorTokens: readonly SiteChromeBackgroundColorToken[];
|
|
19
|
+
export declare const quickSiteChromeBackgroundColorTokens: readonly SiteChromeBackgroundColorToken[];
|
|
20
|
+
export declare const advancedSiteChromeBackgroundColorTokens: SiteChromeBackgroundColorToken[];
|
|
21
|
+
export declare const defaultSiteChromeBackgroundOverride: SiteChromeBackgroundOverride;
|
|
22
|
+
export declare function defaultSiteChromeBackgroundPreferences(): SiteChromeBackgroundPreferences;
|
|
23
|
+
export declare function parseSiteChromeBackgroundColorToken(value: unknown): SiteChromeBackgroundColorToken | null;
|
|
24
|
+
export declare function siteChromeBackgroundPreferencesFromTheme(theme: Theme | null | undefined): SiteChromeBackgroundPreferences;
|
|
25
|
+
export declare function applySiteChromeBackgroundPreferences(theme: Theme, preferences: SiteChromeBackgroundPreferences): Theme;
|
|
26
|
+
export declare function canCustomizeSiteChromeBackground(theme: Theme | null | undefined, surface: SiteChromeSurface): boolean;
|
|
27
|
+
export declare function siteChromeBackgroundOverrideLabel(override: SiteChromeBackgroundOverride): string;
|
|
28
|
+
export declare function formatSiteChromeBackgroundTokenLabel(token: SiteChromeBackgroundColorToken): string;
|
|
29
|
+
export declare function siteChromeBackgroundOverrideEquals(left: SiteChromeBackgroundOverride, right: SiteChromeBackgroundOverride): boolean;
|
|
30
|
+
export declare function cycleSiteChromeBackgroundOverride(current: SiteChromeBackgroundOverride, direction: SiteChromeBackgroundCycleDirection): SiteChromeBackgroundOverride;
|
|
@@ -22,8 +22,8 @@ export declare const styleTagsSchema: z.ZodObject<{
|
|
|
22
22
|
}>>;
|
|
23
23
|
motion: z.ZodOptional<z.ZodEnum<{
|
|
24
24
|
standard: "standard";
|
|
25
|
-
expressive: "expressive";
|
|
26
25
|
subtle: "subtle";
|
|
26
|
+
expressive: "expressive";
|
|
27
27
|
}>>;
|
|
28
28
|
era: z.ZodOptional<z.ZodEnum<{
|
|
29
29
|
editorial: "editorial";
|
|
@@ -22,8 +22,8 @@ export declare const themeTokenRecipesSchema: z.ZodObject<{
|
|
|
22
22
|
maximum: "maximum";
|
|
23
23
|
}>;
|
|
24
24
|
radius: z.ZodEnum<{
|
|
25
|
-
rounded: "rounded";
|
|
26
25
|
square: "square";
|
|
26
|
+
rounded: "rounded";
|
|
27
27
|
pill: "pill";
|
|
28
28
|
soft: "soft";
|
|
29
29
|
}>;
|
|
@@ -45,8 +45,8 @@ export declare const themeTokenRecipesSchema: z.ZodObject<{
|
|
|
45
45
|
}>;
|
|
46
46
|
motion: z.ZodEnum<{
|
|
47
47
|
none: "none";
|
|
48
|
-
expressive: "expressive";
|
|
49
48
|
subtle: "subtle";
|
|
49
|
+
expressive: "expressive";
|
|
50
50
|
}>;
|
|
51
51
|
}, z.core.$strip>;
|
|
52
52
|
export declare const defaultThemeTokenRecipes: {
|
|
@@ -205,7 +205,7 @@ export declare const tileTreatmentValues: readonly ["default", "quiet", "brand-d
|
|
|
205
205
|
export type TileTreatment = (typeof tileTreatmentValues)[number];
|
|
206
206
|
export declare const eventListTreatmentValues: readonly ["plain", "lined-panel"];
|
|
207
207
|
export type EventListTreatment = (typeof eventListTreatmentValues)[number];
|
|
208
|
-
export declare const eyebrowTreatmentValues: readonly ["plain", "pill", "accent-pill", "pill-bounce", "accent-pill-bounce"];
|
|
208
|
+
export declare const eyebrowTreatmentValues: readonly ["plain", "accent", "pill", "accent-pill", "pill-bounce", "accent-pill-bounce"];
|
|
209
209
|
export type EyebrowTreatment = (typeof eyebrowTreatmentValues)[number];
|
|
210
210
|
export declare const headingDecorationFamilyValues: readonly ["none", "organic-squiggle", "short-center-rule"];
|
|
211
211
|
export type HeadingDecorationFamily = (typeof headingDecorationFamilyValues)[number];
|
|
@@ -439,6 +439,7 @@ export type DesignedBlockDesignCapabilityInput = Readonly<{
|
|
|
439
439
|
tileTreatments?: NonEmptyReadonlyArray<TileTreatment>;
|
|
440
440
|
eventListTreatments?: NonEmptyReadonlyArray<EventListTreatment>;
|
|
441
441
|
eyebrowTreatments?: NonEmptyReadonlyArray<EyebrowTreatment>;
|
|
442
|
+
headingDecorations?: NonEmptyReadonlyArray<HeadingDecorationFamily>;
|
|
442
443
|
accordionIconSets?: NonEmptyReadonlyArray<AccordionIconSet>;
|
|
443
444
|
headingDecorationCapability?: HeadingDecorationCapability;
|
|
444
445
|
}>;
|
|
@@ -454,6 +455,7 @@ export type DesignedBlockDesignCapability = Readonly<{
|
|
|
454
455
|
tileTreatments: NonEmptyReadonlyArray<TileTreatment>;
|
|
455
456
|
eventListTreatments: NonEmptyReadonlyArray<EventListTreatment>;
|
|
456
457
|
eyebrowTreatments: NonEmptyReadonlyArray<EyebrowTreatment>;
|
|
458
|
+
headingDecorations?: NonEmptyReadonlyArray<HeadingDecorationFamily>;
|
|
457
459
|
accordionIconSets?: NonEmptyReadonlyArray<AccordionIconSet>;
|
|
458
460
|
headingDecorationCapability: HeadingDecorationCapability;
|
|
459
461
|
}>;
|
|
@@ -2,7 +2,7 @@ import type { Theme } from '../schema';
|
|
|
2
2
|
import type { Brand, NonEmptyReadonlyArray } from './types';
|
|
3
3
|
import type { PersistedIdParseResult } from './persistedIdParseResult';
|
|
4
4
|
export type TypographyPresetId = Brand<string, 'TypographyPresetId'>;
|
|
5
|
-
export declare const typographyPresetIdValues: readonly ["typography-preset:modern-sans", "typography-preset:warm-rounded", "typography-preset:editorial-serif", "typography-preset:classic-serif", "typography-preset:luxe-contrast", "typography-preset:bold-display", "typography-preset:original-joy"];
|
|
5
|
+
export declare const typographyPresetIdValues: readonly ["typography-preset:modern-sans", "typography-preset:warm-rounded", "typography-preset:editorial-serif", "typography-preset:classic-serif", "typography-preset:luxe-contrast", "typography-preset:kirtan-ornate", "typography-preset:bold-display", "typography-preset:original-joy"];
|
|
6
6
|
export type KnownTypographyPresetIdValue = typeof typographyPresetIdValues[number];
|
|
7
7
|
export type KnownTypographyPresetId = TypographyPresetId & KnownTypographyPresetIdValue;
|
|
8
8
|
export type TypographyFontSlot = 'body' | 'heading';
|
|
@@ -189,6 +189,21 @@ export declare const typographyPresets: readonly [Readonly<{
|
|
|
189
189
|
slotPolicies: Readonly<Record<TypographyFontSlot, TypographyFontSlotPolicy>>;
|
|
190
190
|
typography: Theme["typography"];
|
|
191
191
|
heroTypography?: NonNullable<NonNullable<Theme["hero"]>["typography"]>;
|
|
192
|
+
}>, Readonly<{
|
|
193
|
+
id: KnownTypographyPresetId;
|
|
194
|
+
name: string;
|
|
195
|
+
description: string;
|
|
196
|
+
defaultFonts: Readonly<{
|
|
197
|
+
body: string;
|
|
198
|
+
heading: string;
|
|
199
|
+
}>;
|
|
200
|
+
recommendedFonts: Readonly<{
|
|
201
|
+
body: NonEmptyReadonlyArray<string>;
|
|
202
|
+
heading: NonEmptyReadonlyArray<string>;
|
|
203
|
+
}>;
|
|
204
|
+
slotPolicies: Readonly<Record<TypographyFontSlot, TypographyFontSlotPolicy>>;
|
|
205
|
+
typography: Theme["typography"];
|
|
206
|
+
heroTypography?: NonNullable<NonNullable<Theme["hero"]>["typography"]>;
|
|
192
207
|
}>];
|
|
193
208
|
export declare function findTypographyPreset(id: TypographyPresetId): TypographyPreset | undefined;
|
|
194
209
|
export declare function parsePersistedTypographyPresetId(value: string | null | undefined): PersistedIdParseResult<KnownTypographyPresetId>;
|
|
@@ -26,6 +26,7 @@ export type SiteDocumentPlanInput = Readonly<{
|
|
|
26
26
|
headerPositioning: HeaderPositioning;
|
|
27
27
|
headerVariant?: Theme["header"]["variant"] | null;
|
|
28
28
|
hasVisibleBanner: boolean;
|
|
29
|
+
hasVisibleHeader?: boolean;
|
|
29
30
|
}>;
|
|
30
31
|
export declare function getStandaloneHeaderShellClassName(theme: Theme): string | null;
|
|
31
32
|
export declare function planSiteDocument(input: SiteDocumentPlanInput): SiteDocumentPlan;
|
|
@@ -13,13 +13,13 @@ export declare const paletteTokenNameSchema: z.ZodEnum<{
|
|
|
13
13
|
primary: "primary";
|
|
14
14
|
secondary: "secondary";
|
|
15
15
|
warning: "warning";
|
|
16
|
-
border: "border";
|
|
17
16
|
background: "background";
|
|
18
|
-
muted: "muted";
|
|
19
17
|
accent: "accent";
|
|
18
|
+
muted: "muted";
|
|
19
|
+
border: "border";
|
|
20
20
|
destructive: "destructive";
|
|
21
|
-
primaryForeground: "primaryForeground";
|
|
22
21
|
surfaceAlt: "surfaceAlt";
|
|
22
|
+
primaryForeground: "primaryForeground";
|
|
23
23
|
}>;
|
|
24
24
|
export declare const themeColorBaseTokenNames: readonly ["primary", "primaryForeground", "secondary", "accent", "success", "warning", "destructive", "background", "surface", "surfaceAlt", "muted", "text", "border", "text", "heading", "mutedText", "surface", "background", "foreground", "border", "primary", "secondary", "accent", "success", "warning", "info", "error", "destructive", "scrim", "shadow", "onPrimary", "onSecondary", "onAccent", "onSuccess", "onWarning", "onInfo", "onError", "onDestructive", "onSurface", "white", "neutral", "primaryText", "secondaryForeground", "accentForeground"];
|
|
25
25
|
export declare const themeColorShadeSteps: readonly ["50", "100", "200", "300", "400", "500", "600", "700", "800", "900", "950"];
|
|
@@ -7,7 +7,7 @@ import type { CSSProperties } from 'react';
|
|
|
7
7
|
*
|
|
8
8
|
* 2. Tokens with opacity: 'surface/95', 'primary/50', 'border/20'
|
|
9
9
|
* Format: `{token}/{opacity%}`
|
|
10
|
-
* These resolve to
|
|
10
|
+
* These resolve to CSS Color 4 alpha syntax (e.g., `rgb(var(--tb-surface) / 0.95)`)
|
|
11
11
|
*
|
|
12
12
|
* 3. Raw CSS values: 'raw:transparent', 'raw:#ffffff', 'raw:rgba(255, 0, 0, 0.5)'
|
|
13
13
|
* Format: `raw:{css-value}`
|
|
@@ -19,7 +19,7 @@ import type { CSSProperties } from 'react';
|
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* // Token with opacity
|
|
22
|
-
* rgbColorValue('surface/95') // => '
|
|
22
|
+
* rgbColorValue('surface/95') // => 'rgb(var(--tb-surface) / 0.95)'
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* // Raw value
|
|
@@ -27,15 +27,15 @@ import type { CSSProperties } from 'react';
|
|
|
27
27
|
*/
|
|
28
28
|
type ThemeColorToken = string;
|
|
29
29
|
/**
|
|
30
|
-
* Converts a theme color token to a CSS rgb
|
|
30
|
+
* Converts a theme color token to a CSS rgb value.
|
|
31
31
|
* This is the primary function for applying theme colors to CSS properties.
|
|
32
32
|
*
|
|
33
33
|
* @param token - Theme color token (semantic, with opacity, or raw)
|
|
34
|
-
* @returns CSS color value (rgb
|
|
34
|
+
* @returns CSS color value (rgb with optional alpha, or raw CSS value)
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* rgbColorValue('primary') // => 'rgb(var(--tb-primary))'
|
|
38
|
-
* rgbColorValue('surface/95') // => '
|
|
38
|
+
* rgbColorValue('surface/95') // => 'rgb(var(--tb-surface) / 0.95)'
|
|
39
39
|
* rgbColorValue('raw:transparent') // => 'transparent'
|
|
40
40
|
*/
|
|
41
41
|
export declare function rgbColorValue(token: ThemeColorToken): string;
|
|
@@ -85,7 +85,7 @@ export declare function borderColorStyle(token: ThemeColorToken): CSSProperties;
|
|
|
85
85
|
*
|
|
86
86
|
* @example
|
|
87
87
|
* gradientBackgroundStyle(['primary/80', 'secondary/60'], '45deg')
|
|
88
|
-
* // => { backgroundImage: 'linear-gradient(45deg,
|
|
88
|
+
* // => { backgroundImage: 'linear-gradient(45deg, rgb(var(--tb-primary) / 0.8), rgb(var(--tb-secondary) / 0.6))' }
|
|
89
89
|
*/
|
|
90
90
|
export declare function gradientBackgroundStyle(tokens: ThemeColorToken[], direction?: string): CSSProperties;
|
|
91
91
|
/**
|
|
@@ -10,5 +10,5 @@ export interface AsyncBoundaryProps {
|
|
|
10
10
|
resetKeys?: unknown[];
|
|
11
11
|
onReset?: () => void;
|
|
12
12
|
}
|
|
13
|
-
export declare function AsyncBoundary({ children, fallback, errorFallback, resetKeys, onReset, }: AsyncBoundaryProps): import("react
|
|
13
|
+
export declare function AsyncBoundary({ children, fallback, errorFallback, resetKeys, onReset, }: AsyncBoundaryProps): import("react").JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -5,5 +5,5 @@ declare const badgeVariants: (props?: ({
|
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
7
7
|
}
|
|
8
|
-
declare function Badge({ className, variant, ...props }: BadgeProps):
|
|
8
|
+
declare function Badge({ className, variant, ...props }: BadgeProps): React.JSX.Element;
|
|
9
9
|
export { Badge, badgeVariants };
|
|
@@ -4,9 +4,9 @@ import { Separator } from './separator';
|
|
|
4
4
|
declare const buttonGroupVariants: (props?: ({
|
|
5
5
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
-
declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>):
|
|
7
|
+
declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): React.JSX.Element;
|
|
8
8
|
declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<'div'> & {
|
|
9
9
|
asChild?: boolean;
|
|
10
|
-
}):
|
|
11
|
-
declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>):
|
|
10
|
+
}): React.JSX.Element;
|
|
11
|
+
declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): React.JSX.Element;
|
|
12
12
|
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants, };
|
|
@@ -4,6 +4,6 @@ import type { DayButtonProps } from "react-day-picker";
|
|
|
4
4
|
import { Button } from "./button";
|
|
5
5
|
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
|
|
6
6
|
buttonVariant?: React.ComponentProps<typeof Button>["variant"];
|
|
7
|
-
}):
|
|
8
|
-
declare function CalendarDayButton({ className, day, modifiers, ...props }: DayButtonProps):
|
|
7
|
+
}): React.JSX.Element;
|
|
8
|
+
declare function CalendarDayButton({ className, day, modifiers, ...props }: DayButtonProps): React.JSX.Element;
|
|
9
9
|
export { Calendar, CalendarDayButton };
|
|
@@ -13,10 +13,10 @@ export type CardProps = React.ComponentProps<'div'> & {
|
|
|
13
13
|
radius?: CardRadius;
|
|
14
14
|
};
|
|
15
15
|
declare function Card({ className, variant, size, radius, ...props }: CardProps): React.ReactElement;
|
|
16
|
-
declare function CardHeader({ className, ...props }: React.ComponentProps<'div'>):
|
|
17
|
-
declare function CardTitle({ className, ...props }: React.ComponentProps<'div'>):
|
|
18
|
-
declare function CardDescription({ className, ...props }: React.ComponentProps<'div'>):
|
|
19
|
-
declare function CardAction({ className, ...props }: React.ComponentProps<'div'>):
|
|
20
|
-
declare function CardContent({ className, ...props }: React.ComponentProps<'div'>):
|
|
21
|
-
declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>):
|
|
16
|
+
declare function CardHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
17
|
+
declare function CardTitle({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
18
|
+
declare function CardDescription({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
19
|
+
declare function CardAction({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
20
|
+
declare function CardContent({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
21
|
+
declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
22
22
|
export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };
|
|
@@ -21,4 +21,4 @@ export type ComboboxProps<T = unknown> = Readonly<{
|
|
|
21
21
|
renderItem?: (entry: ComboboxItem<T>, selected: boolean) => ReactNode;
|
|
22
22
|
showClear?: boolean;
|
|
23
23
|
}>;
|
|
24
|
-
export declare function Combobox<T = unknown>({ items, value, onSelect, id, 'aria-describedby': ariaDescribedby, searchInputAriaLabel, placeholder, emptyMessage, clearLabel, search, className, disabled, renderItem, showClear, }: ComboboxProps<T>): import("react
|
|
24
|
+
export declare function Combobox<T = unknown>({ items, value, onSelect, id, 'aria-describedby': ariaDescribedby, searchInputAriaLabel, placeholder, emptyMessage, clearLabel, search, className, disabled, renderItem, showClear, }: ComboboxProps<T>): import("react").JSX.Element;
|
|
@@ -25,4 +25,4 @@ export type CommandMultiSelectProps = Readonly<{
|
|
|
25
25
|
searchPlaceholder?: string;
|
|
26
26
|
searchInputAriaLabel?: string;
|
|
27
27
|
}>;
|
|
28
|
-
export declare function CommandMultiSelect({ items, values, onValuesChange, placeholder, "aria-describedby": ariaDescribedBy, disabled, emptyLabel, isLoading, loadingLabel, error, emptySelectionLabel, selectedSummary, showBadges, helpText, className, triggerClassName, popoverContentClassName, showSearch, searchPlaceholder, searchInputAriaLabel, }: CommandMultiSelectProps): import("react
|
|
28
|
+
export declare function CommandMultiSelect({ items, values, onValuesChange, placeholder, "aria-describedby": ariaDescribedBy, disabled, emptyLabel, isLoading, loadingLabel, error, emptySelectionLabel, selectedSummary, showBadges, helpText, className, triggerClassName, popoverContentClassName, showSearch, searchPlaceholder, searchInputAriaLabel, }: CommandMultiSelectProps): import("react").JSX.Element;
|
|
@@ -10,4 +10,4 @@ export interface ContentSpinnerProps {
|
|
|
10
10
|
* the server. `loading.tsx` files are shown during SSR streaming — a
|
|
11
11
|
* `DelayedSpinner` would render nothing until hydration + delay.
|
|
12
12
|
*/
|
|
13
|
-
export declare function ContentSpinner({ className, size }: ContentSpinnerProps): import("react
|
|
13
|
+
export declare function ContentSpinner({ className, size }: ContentSpinnerProps): import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ export interface DelayedSpinnerProps extends SpinnerProps {
|
|
|
4
4
|
delay?: number;
|
|
5
5
|
keepMounted?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare function DelayedSpinner({ active, delay, keepMounted, className, ...props }: DelayedSpinnerProps): import("react
|
|
7
|
+
export declare function DelayedSpinner({ active, delay, keepMounted, className, ...props }: DelayedSpinnerProps): import("react").JSX.Element | null;
|
|
@@ -14,4 +14,4 @@ export interface DevToolbarShellProps {
|
|
|
14
14
|
onOpenChange?: (open: boolean) => void;
|
|
15
15
|
buttonStyle?: CSSProperties;
|
|
16
16
|
}
|
|
17
|
-
export declare function DevToolbarShell({ triggerLabel, triggerIcon, badge, header, children, footer, side, offsetCssVar, buttonClassName, sheetContentClassName, defaultOpen, onOpenChange, buttonStyle, }: DevToolbarShellProps): import("react
|
|
17
|
+
export declare function DevToolbarShell({ triggerLabel, triggerIcon, badge, header, children, footer, side, offsetCssVar, buttonClassName, sheetContentClassName, defaultOpen, onOpenChange, buttonStyle, }: DevToolbarShellProps): import("react").JSX.Element | null;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
3
|
-
declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>):
|
|
4
|
-
declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>):
|
|
5
|
-
declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>):
|
|
6
|
-
declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>):
|
|
7
|
-
declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>):
|
|
3
|
+
declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): React.JSX.Element;
|
|
4
|
+
declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): React.JSX.Element;
|
|
5
|
+
declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): React.JSX.Element;
|
|
6
|
+
declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): React.JSX.Element;
|
|
7
|
+
declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): React.JSX.Element;
|
|
8
8
|
declare function DialogContent({ className, children, showCloseButton, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
9
9
|
showCloseButton?: boolean;
|
|
10
|
-
}):
|
|
11
|
-
declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">):
|
|
12
|
-
declare function DialogFooter({ className, ...props }: React.ComponentProps<"div">):
|
|
13
|
-
declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>):
|
|
14
|
-
declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>):
|
|
10
|
+
}): React.JSX.Element;
|
|
11
|
+
declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
12
|
+
declare function DialogFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
13
|
+
declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): React.JSX.Element;
|
|
14
|
+
declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): React.JSX.Element;
|
|
15
15
|
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
|
|
@@ -25,7 +25,7 @@ declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMe
|
|
|
25
25
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
26
26
|
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
27
27
|
declare const DropdownMenuShortcut: {
|
|
28
|
-
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>):
|
|
28
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
|
|
29
29
|
displayName: string;
|
|
30
30
|
};
|
|
31
31
|
export { menuHoverInteractionClassName, menuItemInteractionClassName, menuTriggerInteractionClassName, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
|
|
@@ -18,4 +18,4 @@ export type EditorDrawerProps = {
|
|
|
18
18
|
className?: string;
|
|
19
19
|
style?: CSSProperties;
|
|
20
20
|
};
|
|
21
|
-
export declare function EditorDrawer({ open, onOpenChange, sections, headerSlot, footerSlot, activeSectionId, onActiveSectionChange, className, style, }: EditorDrawerProps):
|
|
21
|
+
export declare function EditorDrawer({ open, onOpenChange, sections, headerSlot, footerSlot, activeSectionId, onActiveSectionChange, className, style, }: EditorDrawerProps): React.JSX.Element;
|
|
@@ -18,4 +18,4 @@ export type EmptyStateProps = {
|
|
|
18
18
|
/**
|
|
19
19
|
* EmptyState component for consistent no-results and empty data displays.
|
|
20
20
|
*/
|
|
21
|
-
export declare function EmptyState({ title, description, icon: Icon, action, className, variant, }: EmptyStateProps): import("react
|
|
21
|
+
export declare function EmptyState({ title, description, icon: Icon, action, className, variant, }: EmptyStateProps): import("react").JSX.Element;
|
|
@@ -12,4 +12,4 @@ export type FilterButtonGroupProps<TValue extends string> = {
|
|
|
12
12
|
options: Array<FilterButtonGroupOption<TValue>>;
|
|
13
13
|
className?: string;
|
|
14
14
|
};
|
|
15
|
-
export declare function FilterButtonGroup<TValue extends string>({ value, onValueChange, options, className, ...props }: FilterButtonGroupProps<TValue>):
|
|
15
|
+
export declare function FilterButtonGroup<TValue extends string>({ value, onValueChange, options, className, ...props }: FilterButtonGroupProps<TValue>): React.JSX.Element;
|
|
@@ -9,5 +9,5 @@ export type FixedBottomSurfaceProps = PropsWithChildren<{
|
|
|
9
9
|
offsetCssVar?: string | null;
|
|
10
10
|
reserveOffsetCssVar?: string | null;
|
|
11
11
|
}>;
|
|
12
|
-
export declare function FixedBottomSurface({ children, className, contentClassName, variant, width, offsetCssVar, reserveOffsetCssVar, }: FixedBottomSurfaceProps): import("react
|
|
12
|
+
export declare function FixedBottomSurface({ children, className, contentClassName, variant, width, offsetCssVar, reserveOffsetCssVar, }: FixedBottomSurfaceProps): import("react").JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -2,8 +2,8 @@ import * as React from "react";
|
|
|
2
2
|
import type { LabelProps } from "@radix-ui/react-label";
|
|
3
3
|
import { Slot } from "@radix-ui/react-slot";
|
|
4
4
|
import { type ControllerProps, type FieldPath, type FieldValues } from "react-hook-form";
|
|
5
|
-
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(
|
|
6
|
-
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) =>
|
|
5
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, handleSubmit, unregister, control, register, setFocus, subscribe, }: import("react-hook-form").FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
6
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React.JSX.Element;
|
|
7
7
|
declare const useFormField: () => {
|
|
8
8
|
invalid: boolean;
|
|
9
9
|
isDirty: boolean;
|
|
@@ -16,9 +16,9 @@ declare const useFormField: () => {
|
|
|
16
16
|
formDescriptionId: string;
|
|
17
17
|
formMessageId: string;
|
|
18
18
|
};
|
|
19
|
-
declare function FormItem({ className, ...props }: React.ComponentProps<"div">):
|
|
20
|
-
declare function FormLabel({ className, ...props }: LabelProps):
|
|
21
|
-
declare function FormControl({ ...props }: React.ComponentProps<typeof Slot>):
|
|
22
|
-
declare function FormDescription({ className, ...props }: React.ComponentProps<"p">):
|
|
23
|
-
declare function FormMessage({ className, ...props }: React.ComponentProps<"p">):
|
|
19
|
+
declare function FormItem({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
20
|
+
declare function FormLabel({ className, ...props }: LabelProps): React.JSX.Element;
|
|
21
|
+
declare function FormControl({ ...props }: React.ComponentProps<typeof Slot>): React.JSX.Element;
|
|
22
|
+
declare function FormDescription({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
|
|
23
|
+
declare function FormMessage({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element | null;
|
|
24
24
|
export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
3
|
-
declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>):
|
|
3
|
+
declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): React.JSX.Element;
|
|
4
4
|
export { Label };
|