@riverbankcms/sdk 0.139.0 → 0.141.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 +1 -1
- package/dist/{PreviewEditorSidebar-BDeenhi3.mjs → PreviewEditorSidebar-Q-fy9GYw.mjs} +4 -4
- package/dist/{PreviewEditorUI-DSRhgjF5.mjs → PreviewEditorUI-LYGzgk85.mjs} +3 -3
- package/dist/{PreviewQueryProvider-D2K8GLUG.mjs → PreviewQueryProvider-CN0ewic5.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-CL7wSnYu.mjs → SdkPreviewModeRuntime-CoPYI5Jq.mjs} +90 -50
- package/dist/{SiteChromeCustomizeContext-BhDn-5ir.mjs → SiteChromeCustomizeContext-D8LePX8x.mjs} +2731 -1303
- package/dist/_dts/ai/src/contracts/proposals.d.ts +165 -165
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +212 -212
- package/dist/_dts/api/src/accessAdmin.d.ts +74 -104
- package/dist/_dts/api/src/aiEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/authSubmission.d.ts +46 -0
- package/dist/_dts/api/src/billing.d.ts +8 -4
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +23 -0
- package/dist/_dts/api/src/billingEndpointTypes.d.ts +26 -0
- package/dist/_dts/api/src/blocks.d.ts +2 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +1 -2
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +8 -1
- package/dist/_dts/api/src/communications.d.ts +0 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +17 -31
- package/dist/_dts/api/src/domainConnection.d.ts +4 -0
- package/dist/_dts/api/src/endpoints.d.ts +93 -64
- package/dist/_dts/api/src/event-destination-policy.d.ts +2 -1
- package/dist/_dts/api/src/footerCompositionContracts.d.ts +25 -0
- package/dist/_dts/api/src/footerSettings.d.ts +9 -6
- package/dist/_dts/api/src/index.d.ts +6 -7
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/launchReadiness.d.ts +1 -0
- package/dist/_dts/api/src/mailingListIntegration.d.ts +8 -2
- package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +1 -1
- package/dist/_dts/api/src/navigation/dashboardSiteNav.d.ts +2 -1
- package/dist/_dts/api/src/navigation/types.d.ts +1 -1
- package/dist/_dts/api/src/onboarding/confirmationResend.d.ts +25 -0
- package/dist/_dts/api/src/onboarding/surfaceData.d.ts +32 -32
- package/dist/_dts/api/src/publicBookingAvailabilityEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +1 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +11 -3
- package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +3 -29
- package/dist/_dts/api/src/publicOnboardingAttemptEndpointDefinitions.d.ts +65 -0
- package/dist/_dts/api/src/saveOutcome.d.ts +20 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +3 -22
- package/dist/_dts/api/src/sdkPushContracts.d.ts +18 -0
- package/dist/_dts/api/src/sdkThemeWire.d.ts +44 -44
- package/dist/_dts/api/src/settings/permissions.d.ts +12 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +10 -29
- package/dist/_dts/api/src/siteOnboarding.d.ts +9 -9
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +2 -4
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -1
- package/dist/_dts/api/src/siteSettings.d.ts +20 -7
- package/dist/_dts/api/src/types.d.ts +77 -77
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -37
- package/dist/_dts/billing/src/membership/index.d.ts +3 -0
- package/dist/_dts/billing/src/plans/types.d.ts +3 -0
- package/dist/_dts/billing/src/site-arrangements.d.ts +23 -3
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +20 -4
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +2 -0
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +7 -0
- package/dist/_dts/blocks/src/portal/types.d.ts +2 -4
- package/dist/_dts/blocks/src/portal/waitlist-types.d.ts +35 -0
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +122 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/calendarWindow.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/eventSelection.d.ts +11 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +42 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +4 -0
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -47
- package/dist/_dts/blocks/src/system/data/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/prefetchBlockData.d.ts +7 -1
- package/dist/_dts/blocks/src/system/data/types.d.ts +9 -0
- package/dist/_dts/blocks/src/system/data/utils.d.ts +1 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +27 -1
- package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +0 -28
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +7 -3
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/waitlist-claims.d.ts +7 -2
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +42 -186
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +21 -93
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +48 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +1 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/TicketSelectionStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/checkoutRecovery.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventSourceRecovery.d.ts +56 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.state.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +6 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useCheckoutRecovery.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useDiscountCodeUi.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useDiscountCodeUi.state.d.ts +10 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventCheckoutHandoffRestore.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +8 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +14 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventSourceRecovery.d.ts +18 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useSettledCommerceView.d.ts +37 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.client.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +24 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +4 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +11 -101
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +7 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/listOptions.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -6
- package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/eventCalendar.d.ts +12 -0
- package/dist/_dts/commerce/src/purchase/bookingInstalmentSchedule.d.ts +4 -0
- package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +4 -0
- package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +27 -4
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +2 -1
- package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +3 -1
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +3 -0
- package/dist/_dts/core/src/branded.d.ts +0 -8
- package/dist/_dts/core/src/index.d.ts +1 -0
- package/dist/_dts/core/src/mailing-list-setup-parser.d.ts +1 -1
- package/dist/_dts/core/src/mailing-list-setup.d.ts +14 -1
- package/dist/_dts/core/src/mailing-list-submission.d.ts +7 -27
- package/dist/_dts/core/src/participants.d.ts +2 -29
- package/dist/_dts/core/src/public-experience.d.ts +4 -0
- package/dist/_dts/core/src/public-profile.d.ts +27 -1
- package/dist/_dts/core/src/site-route-target.d.ts +9 -2
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +296 -606
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListGlobalSettingsSummary.d.ts +10 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListTargetingField.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/context.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/loaders.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/targetingState.d.ts +19 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +27 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +14 -20
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +7 -1
- package/dist/_dts/sdk/src/rendering/helpers/templateContent.d.ts +1 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +17 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/buttons/affordanceSuppression.d.ts +17 -0
- package/dist/_dts/theme-core/src/buttons/buttonColourContract.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/classNames.d.ts +16 -0
- package/dist/_dts/theme-core/src/buttons/generateButtonCss.d.ts +0 -6
- package/dist/_dts/theme-core/src/buttons/resolvedButtonCss.d.ts +4 -4
- package/dist/_dts/theme-core/src/cards/types.d.ts +21 -21
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/interactionPalette.d.ts +8 -2
- package/dist/_dts/theme-core/src/header/legacyHeaderVariant.d.ts +2 -2
- package/dist/_dts/theme-core/src/hosted-booking-appearance.d.ts +54 -12
- package/dist/_dts/theme-core/src/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +54 -54
- package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +1 -4
- package/dist/_dts/theme-core/src/schema.d.ts +84 -84
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/surfaces/foregroundInteraction.d.ts +77 -0
- package/dist/_dts/theme-core/src/surfaces/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/typography/generateTypographyCss.d.ts +2 -2
- package/dist/_dts/ui/src/lib/use-delayed-flag.d.ts +9 -0
- package/dist/_dts/ui/src/pending-button.d.ts +10 -0
- package/dist/client/{BookingConsentAgreement-CZvTDtsK.mjs → BookingConsentAgreement-xJeYNdnb.mjs} +4 -4
- package/dist/client/{DiscountCodeDisclosure-D-DsLCMU.mjs → DiscountCodeDisclosure-DdT6uzl9.mjs} +1 -1
- package/dist/client/{EventCombined.client-dWqgd5ZO.mjs → EventCombined.client-Cp28uYuM.mjs} +12 -16
- package/dist/client/{EventListing.client-BMRa9IYp.mjs → EventListing.client-CD6AJsMr.mjs} +4 -17
- package/dist/client/{LeafletStaticMap-D21W9kBZ.mjs → LeafletStaticMap-DBsAi9-e.mjs} +1 -1
- package/dist/client/{accordion-FxF_ta47.mjs → accordion-6dwbOKYR.mjs} +1 -1
- package/dist/client/{bookingForm-YnwW4TGw.mjs → bookingForm-CZE9_qPQ.mjs} +7 -7
- package/dist/client/bookings.mjs +500 -233
- package/dist/client/{carousel-vng7fFT5.mjs → carousel-7VHGQARz.mjs} +2 -2
- package/dist/client/{carousel.client-59G_WMr4.mjs → carousel.client-DQTjCVQT.mjs} +1 -1
- package/dist/client/{cart-DEPDsjNk.mjs → cart-Qg_mvQhh.mjs} +3 -3
- package/dist/client/{checkout-CZRWu9rW.mjs → checkout-D84rpgdr.mjs} +3 -3
- package/dist/client/{checkoutUrls-BuseL0dw.mjs → checkoutUrls-FL6lRkrt.mjs} +1 -1
- package/dist/client/client.mjs +2315 -1017
- package/dist/client/{colorStyles-CrxJrPjJ.mjs → colorStyles-3013aRAY.mjs} +3 -1
- package/dist/client/{context-DvU_WUmd.mjs → context-Ctp3T0Wr.mjs} +6 -19
- package/dist/client/{dates-wnPMiRl5.mjs → dates-DJKFcI_N.mjs} +2 -2
- package/dist/client/{eventCalendar-BA3Q5L15.mjs → eventCalendar-CK31z3vs.mjs} +12 -8
- package/dist/client/{eventCombined-51wgR-1R.mjs → eventCombined-DiXd-ewn.mjs} +3 -3
- package/dist/client/{eventDetails-modaetpm.mjs → eventDetails-CTRgt2DK.mjs} +4 -4
- package/dist/client/{eventListing-D8t2J3Kv.mjs → eventListing-Dy9vi_j_.mjs} +3 -3
- package/dist/client/{eventRegistration-CYqtkCE_.mjs → eventRegistration-CnalYMr2.mjs} +618 -177
- package/dist/client/{form-CBKXN5In.mjs → form-eUiMveTT.mjs} +3 -3
- package/dist/client/{headerSection-DylDqNrs.mjs → headerSection-Dy9kQpB1.mjs} +2 -2
- package/dist/client/hooks.mjs +692 -212
- package/dist/client/{locationMap-CvWrG0vZ.mjs → locationMap-DalCmWU0.mjs} +3 -3
- package/dist/client/{media-BOHuueS5.mjs → media-DHpfFwd3.mjs} +1 -1
- package/dist/client/{newsletterForm-Btwk70zw.mjs → newsletterForm-SDDPvhS0.mjs} +150 -94
- package/dist/client/{pricing-Uzw-GQ6Y.mjs → pricing-OcMz4SnX.mjs} +1 -1
- package/dist/client/{productDetail-JLcUYKnd.mjs → productDetail-BQrgHElM.mjs} +3 -3
- package/dist/client/{productList-FM0cbUzj.mjs → productList-OnPn_UJj.mjs} +3 -3
- package/dist/client/{propsDecoder-DYzafZb2.mjs → propsDecoder-zBdsnS-N.mjs} +168 -32
- package/dist/client/rendering/client.mjs +1355 -519
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +2294 -953
- package/dist/client/{scrollToBlock-CvXszexS.mjs → scrollToBlock-BNM4Ob2Y.mjs} +28 -11
- package/dist/client/{shop-BIcjvy5a.mjs → shop-Bv1fPTwQ.mjs} +6 -6
- package/dist/client/{shop-commerce-BZQsy7xw.mjs → shop-commerce-D4KNGaW8.mjs} +7 -7
- package/dist/client/{shop-commerce-store-D5V7XAb5.mjs → shop-commerce-store-2N5EV0Rc.mjs} +1 -1
- package/dist/client/{shopShared-DowkXevB.mjs → shopShared-DvJGdHTV.mjs} +4 -4
- package/dist/client/{useEventFilters-oMoTw_JE.mjs → useEventFilters-BBBvGDHQ.mjs} +19 -13
- package/dist/preview-next/before-render.mjs +119 -64
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/editor-chrome.css +4 -8
- package/dist/preview-next/keepAlive.mjs +119 -64
- package/dist/preview-next/middleware.mjs +119 -64
- package/dist/{previewAuthStore-COUyAKaX.mjs → previewAuthStore-Gjb6r6vz.mjs} +119 -64
- package/dist/{sdk-runtime-D4k2LSGF.mjs → sdk-runtime-Defnbfzw.mjs} +2 -2
- package/dist/{separator-UGtpag4Z.mjs → separator-CZXO3Sb0.mjs} +1 -1
- package/dist/server/components.mjs +1170 -384
- package/dist/server/config-validation.mjs +560 -105
- package/dist/server/config.mjs +564 -109
- package/dist/server/data.mjs +688 -212
- package/dist/server/index.mjs +126 -66
- package/dist/server/next.mjs +1429 -662
- package/dist/server/page-converter.mjs +372 -99
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1624 -817
- package/dist/server/rendering.mjs +1200 -391
- package/dist/server/routing.mjs +767 -247
- package/dist/server/server.mjs +715 -276
- package/dist/server/theme-bridge.mjs +475 -110
- package/dist/server/theme.mjs +9 -3
- package/dist/styles/index.css +265 -45
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionCompactRow.d.ts +0 -29
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionList.d.ts +0 -13
package/dist/server/theme.mjs
CHANGED
|
@@ -1335,7 +1335,7 @@ const BUTTON_CONTRAST_POLICY = {
|
|
|
1335
1335
|
nonTextMinimumRatio: 3,
|
|
1336
1336
|
gradientSamplesPerSegment: 20,
|
|
1337
1337
|
alphaBackgrounds: "reject-without-known-surface",
|
|
1338
|
-
disabled: "
|
|
1338
|
+
disabled: "validated-colour-pair-with-muted-control-opacity"
|
|
1339
1339
|
};
|
|
1340
1340
|
function validateButtonSurfaceContrast(input) {
|
|
1341
1341
|
const ratio = contrastRatio(input.buttonPaint, input.surfaceHex);
|
|
@@ -4866,8 +4866,14 @@ const headerInteractionPillPaletteValues = [
|
|
|
4866
4866
|
"accent"
|
|
4867
4867
|
];
|
|
4868
4868
|
/**
|
|
4869
|
-
* "No pill":
|
|
4870
|
-
*
|
|
4869
|
+
* "No pill": a colour change on hover rather than a filled background.
|
|
4870
|
+
*
|
|
4871
|
+
* The palette step writes nothing (#1318 Phase 4c decision 2), but on a
|
|
4872
|
+
* foreground-adaptive style that is not the end of the story: the hover colour
|
|
4873
|
+
* is derived from the resolved opening foreground at render time, paired with
|
|
4874
|
+
* the resting colour, so `quiet` resolves to a definite colour rather than to
|
|
4875
|
+
* whatever brand token the recipe happened to name. See
|
|
4876
|
+
* `applyOpeningForeground`.
|
|
4871
4877
|
*
|
|
4872
4878
|
* It exists because "a colour change on hover, no filled background" was not
|
|
4873
4879
|
* expressible in the vocabulary, and it is what
|
package/dist/styles/index.css
CHANGED
|
@@ -792,10 +792,19 @@
|
|
|
792
792
|
padding-top: 2.5rem;
|
|
793
793
|
padding-bottom: 2.5rem;
|
|
794
794
|
}
|
|
795
|
+
/* Clearance for a surface that is not an authored block page.
|
|
796
|
+
An authored page gets this through its opening block's container (see the
|
|
797
|
+
overlay-clearance rule in styles.css). A reserved surface or a system
|
|
798
|
+
destination page has no such block, so it consumes the same variable here.
|
|
799
|
+
Marked with one class rather than per-surface selectors, because the last
|
|
800
|
+
two additions to this family were both missed and shipped overlapping. */
|
|
795
801
|
:where(.theme-scope)
|
|
796
802
|
[data-site-document-layout-mode="header-overlay"]
|
|
797
|
-
|
|
798
|
-
padding-top: calc(
|
|
803
|
+
.rb-overlay-clearance-surface {
|
|
804
|
+
padding-top: calc(
|
|
805
|
+
var(--site-overlay-header-clearance, 5.5rem) +
|
|
806
|
+
var(--site-overlay-opening-content-extra-pad, clamp(1rem, 2vw, 1.75rem))
|
|
807
|
+
);
|
|
799
808
|
}
|
|
800
809
|
.rb-preview-editor-offset {
|
|
801
810
|
padding-bottom: calc(
|
|
@@ -9693,7 +9702,6 @@
|
|
|
9693
9702
|
}
|
|
9694
9703
|
|
|
9695
9704
|
|
|
9696
|
-
|
|
9697
9705
|
/* =============================================================================
|
|
9698
9706
|
* Block: Customer Portal
|
|
9699
9707
|
* Uses --cp-* CSS variables (Tier 3)
|
|
@@ -9741,7 +9749,9 @@
|
|
|
9741
9749
|
text-align: left;
|
|
9742
9750
|
}
|
|
9743
9751
|
|
|
9744
|
-
:where(.theme-scope)
|
|
9752
|
+
:where(.theme-scope)
|
|
9753
|
+
:where([data-block="customer-portal"])
|
|
9754
|
+
.cp-login__subtitle {
|
|
9745
9755
|
color: var(--cp-muted);
|
|
9746
9756
|
font-size: 0.9375rem;
|
|
9747
9757
|
text-align: left;
|
|
@@ -9768,7 +9778,9 @@
|
|
|
9768
9778
|
text-align: left;
|
|
9769
9779
|
}
|
|
9770
9780
|
|
|
9771
|
-
:where(.theme-scope)
|
|
9781
|
+
:where(.theme-scope)
|
|
9782
|
+
:where([data-block="customer-portal"])
|
|
9783
|
+
.cp-login__reset-link {
|
|
9772
9784
|
appearance: none;
|
|
9773
9785
|
background: none;
|
|
9774
9786
|
border: 0;
|
|
@@ -9782,11 +9794,15 @@
|
|
|
9782
9794
|
text-underline-offset: 0.15em;
|
|
9783
9795
|
}
|
|
9784
9796
|
|
|
9785
|
-
:where(.theme-scope)
|
|
9797
|
+
:where(.theme-scope)
|
|
9798
|
+
:where([data-block="customer-portal"])
|
|
9799
|
+
.cp-login__reset-link:hover {
|
|
9786
9800
|
color: var(--cp-text);
|
|
9787
9801
|
}
|
|
9788
9802
|
|
|
9789
|
-
:where(.theme-scope)
|
|
9803
|
+
:where(.theme-scope)
|
|
9804
|
+
:where([data-block="customer-portal"])
|
|
9805
|
+
.cp-login__reset-link:focus-visible {
|
|
9790
9806
|
outline: 2px solid currentColor;
|
|
9791
9807
|
outline-offset: 3px;
|
|
9792
9808
|
}
|
|
@@ -9831,7 +9847,9 @@
|
|
|
9831
9847
|
border-bottom: none;
|
|
9832
9848
|
}
|
|
9833
9849
|
|
|
9834
|
-
:where(.theme-scope)
|
|
9850
|
+
:where(.theme-scope)
|
|
9851
|
+
:where([data-block="customer-portal"])
|
|
9852
|
+
.cp-header__welcome {
|
|
9835
9853
|
font-size: 1.125rem;
|
|
9836
9854
|
font-weight: 500;
|
|
9837
9855
|
}
|
|
@@ -9847,8 +9865,14 @@
|
|
|
9847
9865
|
}
|
|
9848
9866
|
|
|
9849
9867
|
@keyframes cp-fade-in {
|
|
9850
|
-
from {
|
|
9851
|
-
|
|
9868
|
+
from {
|
|
9869
|
+
opacity: 0;
|
|
9870
|
+
transform: translateY(4px);
|
|
9871
|
+
}
|
|
9872
|
+
to {
|
|
9873
|
+
opacity: 1;
|
|
9874
|
+
transform: translateY(0);
|
|
9875
|
+
}
|
|
9852
9876
|
}
|
|
9853
9877
|
|
|
9854
9878
|
/* Empty state */
|
|
@@ -9937,6 +9961,75 @@
|
|
|
9937
9961
|
margin-top: 1rem;
|
|
9938
9962
|
}
|
|
9939
9963
|
|
|
9964
|
+
/* Event waitlists */
|
|
9965
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-waitlist-list {
|
|
9966
|
+
display: grid;
|
|
9967
|
+
gap: 1rem;
|
|
9968
|
+
}
|
|
9969
|
+
|
|
9970
|
+
:where(.theme-scope)
|
|
9971
|
+
:where([data-block="customer-portal"])
|
|
9972
|
+
.cp-waitlists
|
|
9973
|
+
> .cp-alert {
|
|
9974
|
+
margin-bottom: 1rem;
|
|
9975
|
+
}
|
|
9976
|
+
|
|
9977
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-waitlist-card {
|
|
9978
|
+
transition:
|
|
9979
|
+
border-color 180ms ease,
|
|
9980
|
+
box-shadow 180ms ease;
|
|
9981
|
+
}
|
|
9982
|
+
|
|
9983
|
+
:where(.theme-scope)
|
|
9984
|
+
:where([data-block="customer-portal"])
|
|
9985
|
+
.cp-waitlist-card--focused {
|
|
9986
|
+
border-color: var(--cp-primary);
|
|
9987
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--cp-primary) 22%, transparent);
|
|
9988
|
+
}
|
|
9989
|
+
|
|
9990
|
+
:where(.theme-scope)
|
|
9991
|
+
:where([data-block="customer-portal"])
|
|
9992
|
+
.cp-waitlist-card__summary,
|
|
9993
|
+
:where(.theme-scope)
|
|
9994
|
+
:where([data-block="customer-portal"])
|
|
9995
|
+
.cp-waitlist-card__position {
|
|
9996
|
+
font-weight: 600;
|
|
9997
|
+
}
|
|
9998
|
+
|
|
9999
|
+
:where(.theme-scope)
|
|
10000
|
+
:where([data-block="customer-portal"])
|
|
10001
|
+
.cp-waitlist-card
|
|
10002
|
+
.cp-card-body
|
|
10003
|
+
p {
|
|
10004
|
+
margin: 0.4rem 0;
|
|
10005
|
+
}
|
|
10006
|
+
|
|
10007
|
+
@media (max-width: 640px) {
|
|
10008
|
+
:where(.theme-scope)
|
|
10009
|
+
:where([data-block="customer-portal"])
|
|
10010
|
+
.cp-waitlist-card
|
|
10011
|
+
.cp-card-header {
|
|
10012
|
+
flex-direction: column-reverse;
|
|
10013
|
+
}
|
|
10014
|
+
|
|
10015
|
+
:where(.theme-scope)
|
|
10016
|
+
:where([data-block="customer-portal"])
|
|
10017
|
+
.cp-waitlist-card
|
|
10018
|
+
.cp-card-actions {
|
|
10019
|
+
align-items: stretch;
|
|
10020
|
+
flex-direction: column;
|
|
10021
|
+
}
|
|
10022
|
+
|
|
10023
|
+
:where(.theme-scope)
|
|
10024
|
+
:where([data-block="customer-portal"])
|
|
10025
|
+
.cp-waitlist-card
|
|
10026
|
+
.cp-card-actions
|
|
10027
|
+
> * {
|
|
10028
|
+
justify-content: center;
|
|
10029
|
+
text-align: center;
|
|
10030
|
+
}
|
|
10031
|
+
}
|
|
10032
|
+
|
|
9940
10033
|
/* Badge */
|
|
9941
10034
|
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-badge {
|
|
9942
10035
|
display: inline-flex;
|
|
@@ -10073,11 +10166,18 @@
|
|
|
10073
10166
|
background: rgba(var(--tb-border), 0.2);
|
|
10074
10167
|
}
|
|
10075
10168
|
|
|
10076
|
-
:where(.theme-scope)
|
|
10169
|
+
:where(.theme-scope)
|
|
10170
|
+
:where([data-block="customer-portal"])
|
|
10171
|
+
.cp-table
|
|
10172
|
+
tbody
|
|
10173
|
+
tr:last-child
|
|
10174
|
+
td {
|
|
10077
10175
|
border-bottom: none;
|
|
10078
10176
|
}
|
|
10079
10177
|
|
|
10080
|
-
:where(.theme-scope)
|
|
10178
|
+
:where(.theme-scope)
|
|
10179
|
+
:where([data-block="customer-portal"])
|
|
10180
|
+
:is(.cp-row--past, .cp-row--muted) {
|
|
10081
10181
|
opacity: 0.65;
|
|
10082
10182
|
}
|
|
10083
10183
|
|
|
@@ -10090,7 +10190,9 @@
|
|
|
10090
10190
|
line-height: 1.2;
|
|
10091
10191
|
}
|
|
10092
10192
|
|
|
10093
|
-
:where(.theme-scope)
|
|
10193
|
+
:where(.theme-scope)
|
|
10194
|
+
:where([data-block="customer-portal"])
|
|
10195
|
+
.cp-row-title__badges {
|
|
10094
10196
|
margin-left: auto;
|
|
10095
10197
|
display: flex;
|
|
10096
10198
|
flex-wrap: wrap;
|
|
@@ -10098,7 +10200,9 @@
|
|
|
10098
10200
|
gap: 0.375rem;
|
|
10099
10201
|
}
|
|
10100
10202
|
|
|
10101
|
-
:where(.theme-scope)
|
|
10203
|
+
:where(.theme-scope)
|
|
10204
|
+
:where([data-block="customer-portal"])
|
|
10205
|
+
.cp-row-title__text {
|
|
10102
10206
|
min-width: 0;
|
|
10103
10207
|
}
|
|
10104
10208
|
|
|
@@ -10118,12 +10222,16 @@
|
|
|
10118
10222
|
line-height: 1.35;
|
|
10119
10223
|
}
|
|
10120
10224
|
|
|
10121
|
-
:where(.theme-scope)
|
|
10225
|
+
:where(.theme-scope)
|
|
10226
|
+
:where([data-block="customer-portal"])
|
|
10227
|
+
.cp-row-note--success {
|
|
10122
10228
|
border-left-color: rgb(var(--tb-success));
|
|
10123
10229
|
color: rgb(var(--tb-success));
|
|
10124
10230
|
}
|
|
10125
10231
|
|
|
10126
|
-
:where(.theme-scope)
|
|
10232
|
+
:where(.theme-scope)
|
|
10233
|
+
:where([data-block="customer-portal"])
|
|
10234
|
+
.cp-row-note--error {
|
|
10127
10235
|
border-left-color: rgb(var(--tb-destructive));
|
|
10128
10236
|
color: rgb(var(--tb-destructive));
|
|
10129
10237
|
}
|
|
@@ -10142,16 +10250,23 @@
|
|
|
10142
10250
|
white-space: nowrap;
|
|
10143
10251
|
}
|
|
10144
10252
|
|
|
10145
|
-
:where(.theme-scope)
|
|
10253
|
+
:where(.theme-scope)
|
|
10254
|
+
:where([data-block="customer-portal"])
|
|
10255
|
+
.cp-col-actions
|
|
10256
|
+
.btn-sm {
|
|
10146
10257
|
white-space: nowrap;
|
|
10147
10258
|
}
|
|
10148
10259
|
|
|
10149
|
-
:where(.theme-scope)
|
|
10260
|
+
:where(.theme-scope)
|
|
10261
|
+
:where([data-block="customer-portal"])
|
|
10262
|
+
.cp-row-title__link {
|
|
10150
10263
|
color: inherit;
|
|
10151
10264
|
text-decoration: none;
|
|
10152
10265
|
}
|
|
10153
10266
|
|
|
10154
|
-
:where(.theme-scope)
|
|
10267
|
+
:where(.theme-scope)
|
|
10268
|
+
:where([data-block="customer-portal"])
|
|
10269
|
+
.cp-row-title__link:hover {
|
|
10155
10270
|
text-decoration: underline;
|
|
10156
10271
|
text-decoration-thickness: 2px;
|
|
10157
10272
|
text-underline-offset: 2px;
|
|
@@ -10173,7 +10288,9 @@
|
|
|
10173
10288
|
}
|
|
10174
10289
|
|
|
10175
10290
|
/* Profile actions */
|
|
10176
|
-
:where(.theme-scope)
|
|
10291
|
+
:where(.theme-scope)
|
|
10292
|
+
:where([data-block="customer-portal"])
|
|
10293
|
+
.cp-profile__actions {
|
|
10177
10294
|
display: flex;
|
|
10178
10295
|
gap: 0.75rem;
|
|
10179
10296
|
margin-top: 1rem;
|
|
@@ -10240,28 +10357,39 @@
|
|
|
10240
10357
|
gap: 0.375rem;
|
|
10241
10358
|
}
|
|
10242
10359
|
|
|
10243
|
-
:where(.theme-scope)
|
|
10360
|
+
:where(.theme-scope)
|
|
10361
|
+
:where([data-block="customer-portal"])
|
|
10362
|
+
.cp-guest-edit-row__index {
|
|
10244
10363
|
font-size: 0.75rem;
|
|
10245
10364
|
font-weight: 500;
|
|
10246
10365
|
color: var(--cp-muted);
|
|
10247
10366
|
}
|
|
10248
10367
|
|
|
10249
|
-
:where(.theme-scope)
|
|
10368
|
+
:where(.theme-scope)
|
|
10369
|
+
:where([data-block="customer-portal"])
|
|
10370
|
+
.cp-guest-edit-row__fields {
|
|
10250
10371
|
display: flex;
|
|
10251
10372
|
gap: 0.5rem;
|
|
10252
10373
|
}
|
|
10253
10374
|
|
|
10254
|
-
:where(.theme-scope)
|
|
10375
|
+
:where(.theme-scope)
|
|
10376
|
+
:where([data-block="customer-portal"])
|
|
10377
|
+
.cp-guest-edit-row__fields
|
|
10378
|
+
input {
|
|
10255
10379
|
flex: 1;
|
|
10256
10380
|
min-width: 0;
|
|
10257
10381
|
}
|
|
10258
10382
|
|
|
10259
|
-
:where(.theme-scope)
|
|
10383
|
+
:where(.theme-scope)
|
|
10384
|
+
:where([data-block="customer-portal"])
|
|
10385
|
+
.cp-guest-edit-row__error {
|
|
10260
10386
|
font-size: 0.75rem;
|
|
10261
10387
|
color: var(--cp-error);
|
|
10262
10388
|
}
|
|
10263
10389
|
|
|
10264
|
-
:where(.theme-scope)
|
|
10390
|
+
:where(.theme-scope)
|
|
10391
|
+
:where([data-block="customer-portal"])
|
|
10392
|
+
.cp-guests__actions {
|
|
10265
10393
|
display: flex;
|
|
10266
10394
|
gap: 0.5rem;
|
|
10267
10395
|
margin-top: 0.5rem;
|
|
@@ -10275,13 +10403,18 @@
|
|
|
10275
10403
|
}
|
|
10276
10404
|
|
|
10277
10405
|
/* In the actions modal, tiles sit on a surface modal, so use "background" for contrast. */
|
|
10278
|
-
:where(.theme-scope)
|
|
10406
|
+
:where(.theme-scope)
|
|
10407
|
+
:where([data-block="customer-portal"])
|
|
10408
|
+
.cp-actions-list
|
|
10409
|
+
:where(.rb-tile) {
|
|
10279
10410
|
--rb-event-tile-bg: rgb(var(--tb-background));
|
|
10280
10411
|
--rb-event-tile-border: rgb(var(--tb-border));
|
|
10281
10412
|
}
|
|
10282
10413
|
|
|
10283
10414
|
/* Actions trigger: icon-only kebab button */
|
|
10284
|
-
:where(.theme-scope)
|
|
10415
|
+
:where(.theme-scope)
|
|
10416
|
+
:where([data-block="customer-portal"])
|
|
10417
|
+
.cp-actions-trigger.btn-sm {
|
|
10285
10418
|
padding: 0.35rem !important;
|
|
10286
10419
|
line-height: 1 !important;
|
|
10287
10420
|
min-width: 32px;
|
|
@@ -10305,17 +10438,24 @@
|
|
|
10305
10438
|
gap: 0.25rem;
|
|
10306
10439
|
}
|
|
10307
10440
|
|
|
10308
|
-
:where(.theme-scope)
|
|
10441
|
+
:where(.theme-scope)
|
|
10442
|
+
:where([data-block="customer-portal"])
|
|
10443
|
+
.cp-action-tile__title {
|
|
10309
10444
|
font-weight: 600;
|
|
10310
10445
|
font-size: 0.9375rem;
|
|
10311
10446
|
}
|
|
10312
10447
|
|
|
10313
|
-
:where(.theme-scope)
|
|
10448
|
+
:where(.theme-scope)
|
|
10449
|
+
:where([data-block="customer-portal"])
|
|
10450
|
+
.cp-action-tile__desc {
|
|
10314
10451
|
font-size: 0.875rem;
|
|
10315
10452
|
line-height: 1.35;
|
|
10316
10453
|
}
|
|
10317
10454
|
|
|
10318
|
-
:where(.theme-scope)
|
|
10455
|
+
:where(.theme-scope)
|
|
10456
|
+
:where([data-block="customer-portal"])
|
|
10457
|
+
.cp-action-tile--danger
|
|
10458
|
+
.cp-action-tile__title {
|
|
10319
10459
|
color: rgb(var(--tb-destructive));
|
|
10320
10460
|
}
|
|
10321
10461
|
|
|
@@ -10337,7 +10477,9 @@
|
|
|
10337
10477
|
text-decoration: underline;
|
|
10338
10478
|
}
|
|
10339
10479
|
|
|
10340
|
-
:where(.theme-scope)
|
|
10480
|
+
:where(.theme-scope)
|
|
10481
|
+
:where([data-block="customer-portal"])
|
|
10482
|
+
.cp-btn--link:hover {
|
|
10341
10483
|
color: var(--cp-primary-hover);
|
|
10342
10484
|
}
|
|
10343
10485
|
|
|
@@ -10376,34 +10518,48 @@
|
|
|
10376
10518
|
margin-top: 0.75rem;
|
|
10377
10519
|
}
|
|
10378
10520
|
|
|
10379
|
-
:where(.theme-scope)
|
|
10521
|
+
:where(.theme-scope)
|
|
10522
|
+
:where([data-block="customer-portal"])
|
|
10523
|
+
.cp-cancel-confirm__title {
|
|
10380
10524
|
font-weight: 600;
|
|
10381
10525
|
margin-bottom: 0.5rem;
|
|
10382
10526
|
}
|
|
10383
10527
|
|
|
10384
|
-
:where(.theme-scope)
|
|
10528
|
+
:where(.theme-scope)
|
|
10529
|
+
:where([data-block="customer-portal"])
|
|
10530
|
+
.cp-cancel-confirm__message {
|
|
10385
10531
|
margin-bottom: 0.25rem;
|
|
10386
10532
|
}
|
|
10387
10533
|
|
|
10388
|
-
:where(.theme-scope)
|
|
10534
|
+
:where(.theme-scope)
|
|
10535
|
+
:where([data-block="customer-portal"])
|
|
10536
|
+
.cp-cancel-confirm__warning {
|
|
10389
10537
|
margin-bottom: 0.75rem;
|
|
10390
10538
|
}
|
|
10391
10539
|
|
|
10392
|
-
:where(.theme-scope)
|
|
10540
|
+
:where(.theme-scope)
|
|
10541
|
+
:where([data-block="customer-portal"])
|
|
10542
|
+
.cp-cancel-confirm__actions {
|
|
10393
10543
|
display: flex;
|
|
10394
10544
|
gap: 0.75rem;
|
|
10395
10545
|
}
|
|
10396
10546
|
|
|
10397
10547
|
/* Membership actions */
|
|
10398
|
-
:where(.theme-scope)
|
|
10548
|
+
:where(.theme-scope)
|
|
10549
|
+
:where([data-block="customer-portal"])
|
|
10550
|
+
.cp-membership-actions {
|
|
10399
10551
|
margin-top: 0.75rem;
|
|
10400
10552
|
}
|
|
10401
10553
|
|
|
10402
|
-
:where(.theme-scope)
|
|
10554
|
+
:where(.theme-scope)
|
|
10555
|
+
:where([data-block="customer-portal"])
|
|
10556
|
+
.cp-section-actions {
|
|
10403
10557
|
margin-top: 1rem;
|
|
10404
10558
|
}
|
|
10405
10559
|
|
|
10406
|
-
:where(.theme-scope)
|
|
10560
|
+
:where(.theme-scope)
|
|
10561
|
+
:where([data-block="customer-portal"])
|
|
10562
|
+
.cp-card-subtitle--spaced {
|
|
10407
10563
|
margin-top: 0.75rem;
|
|
10408
10564
|
}
|
|
10409
10565
|
|
|
@@ -10426,9 +10582,18 @@
|
|
|
10426
10582
|
display: none;
|
|
10427
10583
|
}
|
|
10428
10584
|
|
|
10429
|
-
:where(.theme-scope)
|
|
10430
|
-
|
|
10431
|
-
|
|
10585
|
+
:where(.theme-scope)
|
|
10586
|
+
:where([data-block="customer-portal"])
|
|
10587
|
+
.cp-table
|
|
10588
|
+
:is(th, td).cp-col-guests,
|
|
10589
|
+
:where(.theme-scope)
|
|
10590
|
+
:where([data-block="customer-portal"])
|
|
10591
|
+
.cp-table
|
|
10592
|
+
:is(th, td).cp-col-tickets,
|
|
10593
|
+
:where(.theme-scope)
|
|
10594
|
+
:where([data-block="customer-portal"])
|
|
10595
|
+
.cp-table
|
|
10596
|
+
:is(th, td).cp-col-actions {
|
|
10432
10597
|
display: none;
|
|
10433
10598
|
}
|
|
10434
10599
|
|
|
@@ -10437,24 +10602,34 @@
|
|
|
10437
10602
|
}
|
|
10438
10603
|
|
|
10439
10604
|
/* Make the cell a positioning context for the kebab */
|
|
10440
|
-
:where(.theme-scope)
|
|
10605
|
+
:where(.theme-scope)
|
|
10606
|
+
:where([data-block="customer-portal"])
|
|
10607
|
+
.cp-row
|
|
10608
|
+
> td:first-child {
|
|
10441
10609
|
position: relative;
|
|
10442
10610
|
padding-right: 2.5rem;
|
|
10443
10611
|
}
|
|
10444
10612
|
|
|
10445
10613
|
/* Position kebab in top-right of the cell */
|
|
10446
|
-
:where(.theme-scope)
|
|
10614
|
+
:where(.theme-scope)
|
|
10615
|
+
:where([data-block="customer-portal"])
|
|
10616
|
+
.cp-row-mobile-actions {
|
|
10447
10617
|
position: absolute;
|
|
10448
10618
|
top: 0.5rem;
|
|
10449
10619
|
right: 0.5rem;
|
|
10450
10620
|
margin-top: 0;
|
|
10451
10621
|
}
|
|
10452
10622
|
|
|
10453
|
-
:where(.theme-scope)
|
|
10623
|
+
:where(.theme-scope)
|
|
10624
|
+
:where([data-block="customer-portal"])
|
|
10625
|
+
.cp-row-mobile-actions
|
|
10626
|
+
.btn-sm {
|
|
10454
10627
|
width: auto;
|
|
10455
10628
|
}
|
|
10456
10629
|
|
|
10457
|
-
:where(.theme-scope)
|
|
10630
|
+
:where(.theme-scope)
|
|
10631
|
+
:where([data-block="customer-portal"])
|
|
10632
|
+
.cp-profile__edit {
|
|
10458
10633
|
align-self: stretch;
|
|
10459
10634
|
}
|
|
10460
10635
|
}
|
|
@@ -10904,6 +11079,47 @@
|
|
|
10904
11079
|
gap: 0.25rem;
|
|
10905
11080
|
}
|
|
10906
11081
|
|
|
11082
|
+
/* Topic choices (visitor picks what to hear about). Same treatment as the
|
|
11083
|
+
form block's .fb-fieldset / .fb-inline, defined here because the newsletter
|
|
11084
|
+
form also renders inside contact-newsletter and the site footer. */
|
|
11085
|
+
:where(.theme-scope) .newsletter-topics {
|
|
11086
|
+
display: flex;
|
|
11087
|
+
flex-direction: column;
|
|
11088
|
+
gap: 0.5rem;
|
|
11089
|
+
border: none;
|
|
11090
|
+
padding: 0;
|
|
11091
|
+
margin: 0;
|
|
11092
|
+
min-width: 0;
|
|
11093
|
+
}
|
|
11094
|
+
|
|
11095
|
+
:where(.theme-scope) .newsletter-topics > legend {
|
|
11096
|
+
padding: 0;
|
|
11097
|
+
margin-bottom: 0.25rem;
|
|
11098
|
+
}
|
|
11099
|
+
|
|
11100
|
+
:where(.theme-scope) .newsletter-topic-choice {
|
|
11101
|
+
display: flex;
|
|
11102
|
+
align-items: center;
|
|
11103
|
+
gap: 0.5rem;
|
|
11104
|
+
}
|
|
11105
|
+
|
|
11106
|
+
/* Error panel and field notes. The form block scopes these to its own
|
|
11107
|
+
data-block, so the newsletter form (which also renders in the footer)
|
|
11108
|
+
needs its own copy of the treatment. */
|
|
11109
|
+
:where(.theme-scope) .newsletter-form .fb-error:not([data-field-validation-message]) {
|
|
11110
|
+
background-color: var(--fb-error-bg);
|
|
11111
|
+
color: var(--fb-error-text);
|
|
11112
|
+
border: 1px solid var(--fb-error-border);
|
|
11113
|
+
border-radius: var(--rb-block-radius);
|
|
11114
|
+
padding: 1rem;
|
|
11115
|
+
font-size: 0.875rem;
|
|
11116
|
+
}
|
|
11117
|
+
|
|
11118
|
+
:where(.theme-scope) .newsletter-form [data-field-validation-message] {
|
|
11119
|
+
font-size: 0.875rem;
|
|
11120
|
+
color: var(--fb-error-text);
|
|
11121
|
+
}
|
|
11122
|
+
|
|
10907
11123
|
/* Required indicator */
|
|
10908
11124
|
:where(.theme-scope) .newsletter-required {
|
|
10909
11125
|
color: rgb(var(--tb-primary));
|
|
@@ -10953,6 +11169,10 @@
|
|
|
10953
11169
|
flex-shrink: 0;
|
|
10954
11170
|
}
|
|
10955
11171
|
|
|
11172
|
+
:where(.theme-scope) .newsletter-inline .newsletter-topics {
|
|
11173
|
+
flex-basis: 100%;
|
|
11174
|
+
}
|
|
11175
|
+
|
|
10956
11176
|
/* Mobile fallback for inline variant */
|
|
10957
11177
|
@media (max-width: 640px) {
|
|
10958
11178
|
:where(.theme-scope) .newsletter-inline .newsletter-form-fields {
|
package/package.json
CHANGED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type ThemeButtonVariantId } from '../../../../../../theme-core/src/buttons/index';
|
|
3
|
-
export type BookingOptionMetaItem = Readonly<{
|
|
4
|
-
id?: string;
|
|
5
|
-
label: string;
|
|
6
|
-
icon?: React.ReactNode;
|
|
7
|
-
className?: string;
|
|
8
|
-
}>;
|
|
9
|
-
export type BookingOptionCompactRowAction = Readonly<{
|
|
10
|
-
kind: 'action';
|
|
11
|
-
label: string;
|
|
12
|
-
href: string;
|
|
13
|
-
}> | Readonly<{
|
|
14
|
-
kind: 'status';
|
|
15
|
-
label: string;
|
|
16
|
-
}>;
|
|
17
|
-
export type BookingOptionCompactRowViewModel = Readonly<{
|
|
18
|
-
id: string;
|
|
19
|
-
title: string;
|
|
20
|
-
primaryMeta?: readonly string[];
|
|
21
|
-
secondaryMeta?: readonly BookingOptionMetaItem[];
|
|
22
|
-
priceLabel?: string | null;
|
|
23
|
-
action: BookingOptionCompactRowAction;
|
|
24
|
-
}>;
|
|
25
|
-
export type BookingOptionCompactRowProps = Readonly<{
|
|
26
|
-
option: BookingOptionCompactRowViewModel;
|
|
27
|
-
buttonVariant?: ThemeButtonVariantId;
|
|
28
|
-
}>;
|
|
29
|
-
export declare function BookingOptionCompactRow({ option, buttonVariant, }: BookingOptionCompactRowProps): React.ReactElement;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { ThemeButtonVariantId } from '../../../../../../theme-core/src/buttons/index';
|
|
3
|
-
import { type BookingOptionCompactRowViewModel } from './BookingOptionCompactRow';
|
|
4
|
-
export type BookingOptionGroupViewModel = Readonly<{
|
|
5
|
-
id: string;
|
|
6
|
-
title: string;
|
|
7
|
-
options: readonly BookingOptionCompactRowViewModel[];
|
|
8
|
-
}>;
|
|
9
|
-
export type BookingOptionListProps = Readonly<{
|
|
10
|
-
groups: readonly BookingOptionGroupViewModel[];
|
|
11
|
-
buttonVariant?: ThemeButtonVariantId;
|
|
12
|
-
}>;
|
|
13
|
-
export declare function BookingOptionList({ groups, buttonVariant, }: BookingOptionListProps): React.ReactElement;
|