@riverbankcms/sdk 0.155.0 → 0.156.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/dist/{PreviewEditorSidebar-CbSbqmz3.mjs → PreviewEditorSidebar-B4ESNPzL.mjs} +3 -3
- package/dist/{PreviewEditorUI-CKKnAw11.mjs → PreviewEditorUI-BdUVaGOh.mjs} +3 -3
- package/dist/{SdkPreviewModeRuntime-wLkXrWy9.mjs → SdkPreviewModeRuntime-C4V3BvxK.mjs} +1122 -1079
- package/dist/{SiteChromeCustomizeContext-BQ8vvKb-.mjs → SiteChromeCustomizeContext-3gmd26Mn.mjs} +1019 -517
- package/dist/_dts/ai/src/contracts/proposals.d.ts +624 -624
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +856 -856
- package/dist/_dts/api/src/accountApi.d.ts +5 -5
- package/dist/_dts/api/src/aiPlayground.d.ts +2 -2
- package/dist/_dts/api/src/bookingRecords.d.ts +2 -22
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +5 -2
- package/dist/_dts/api/src/footerCompositionContracts.d.ts +1 -1
- package/dist/_dts/api/src/navigation/linkValue.d.ts +1 -1
- package/dist/_dts/api/src/navigation/types.d.ts +1 -1
- package/dist/_dts/api/src/public/types.d.ts +2 -1
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +3 -3
- package/dist/_dts/api/src/publicExperience/siteEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/sdkBlockContentAdmission.d.ts +1 -1
- package/dist/_dts/api/src/sdkConfig/contracts.d.ts +2 -1
- package/dist/_dts/api/src/sdkContracts.d.ts +2 -1
- package/dist/_dts/api/src/sdkPageDesign.d.ts +9 -9
- package/dist/_dts/api/src/sdkThemeWire.d.ts +182 -182
- package/dist/_dts/api/src/siteOnboarding.d.ts +1 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -1
- package/dist/_dts/api/src/siteSettings.d.ts +2 -2
- package/dist/_dts/api/src/teamMembers.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useLayoutGridMoveAnimation.d.ts +13 -0
- package/dist/_dts/blocks/src/client/portal.d.ts +5 -0
- package/dist/_dts/blocks/src/contracts/event-registration.d.ts +141 -0
- package/dist/_dts/blocks/src/contracts/events.d.ts +21 -0
- package/dist/_dts/blocks/src/contracts/footer.d.ts +130 -0
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/site-chrome.d.ts +10 -0
- package/dist/_dts/blocks/src/customer-portal/client.d.ts +62 -0
- package/dist/_dts/blocks/src/customer-portal/components/PortalLoginForm.d.ts +16 -0
- package/dist/_dts/blocks/src/customer-portal/components/badge.d.ts +6 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/AppointmentBeforeYouComeTask.d.ts +29 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/BookingsSection.d.ts +22 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/BookingsTable.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/EventRow.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/EventSeriesRegistrationRow.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/EventSeriesRegistrationTableRow.d.ts +22 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/PortalAppointmentRescheduleFlow.d.ts +7 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/ScalarQuestionInput.d.ts +11 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/WaitlistCard.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/WaitlistsSection.d.ts +19 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/bookingsTypes.d.ts +11 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/eventGuestDrafts.d.ts +6 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/eventSeriesRegistrationPresentation.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/usePortalCancelFlow.d.ts +36 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/usePortalCancelFlow.state.d.ts +43 -0
- package/dist/_dts/blocks/src/customer-portal/components/orders/OrdersSection.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/orders/orderInteraction.d.ts +63 -0
- package/dist/_dts/blocks/src/customer-portal/components/portal-modal.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/portalDeepLink.d.ts +19 -0
- package/dist/_dts/blocks/src/customer-portal/components/useMembershipCancelFlow.d.ts +13 -0
- package/dist/_dts/blocks/src/customer-portal/components/useMembershipCancelFlow.state.d.ts +32 -0
- package/dist/_dts/blocks/src/customer-portal/pages/AccessState.d.ts +11 -0
- package/dist/_dts/blocks/src/customer-portal/pages/DigitalProductView.d.ts +4 -0
- package/dist/_dts/blocks/src/customer-portal/pages/PageChrome.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/pages/PrintButton.d.ts +1 -0
- package/dist/_dts/blocks/src/customer-portal/pages/TicketCode.d.ts +3 -0
- package/dist/_dts/blocks/src/customer-portal/pages/TicketView.d.ts +4 -0
- package/dist/_dts/blocks/src/customer-portal/route-client.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/shared/bookingRoute.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/shared/checkoutUrls.d.ts +4 -0
- package/dist/_dts/blocks/src/customer-portal/shared/signedUrlUpload.d.ts +1 -0
- package/dist/_dts/blocks/src/customer-portal/shared/urlParams.d.ts +30 -0
- package/dist/_dts/blocks/src/customer-portal/state.d.ts +196 -0
- package/dist/_dts/blocks/src/customer-portal/tabs.d.ts +17 -0
- package/dist/_dts/blocks/src/portal/dateFormatting.d.ts +13 -0
- package/dist/_dts/blocks/src/portal/types.d.ts +7 -14
- package/dist/_dts/blocks/src/system/blocks/event-details.d.ts +1 -25
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +1 -141
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +135 -135
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +3 -129
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +2 -5
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +2 -5
- package/dist/_dts/blocks/src/system/constants/events.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +82 -82
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +2 -2
- package/dist/_dts/blocks/src/system/node/schema.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +21 -2
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +87 -3
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/schemas/events.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +16 -27
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableDates.d.ts +2 -5
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableSlots.d.ts +2 -5
- package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +9 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +9 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +18 -18
- package/dist/_dts/blocks/src/system/runtime/nodes/form.interactive.d.ts +2 -10
- package/dist/_dts/blocks/src/system/runtime/nodes/form.types.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/AppointmentRescheduleSlotOptions.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/shared/useAppointmentRescheduleFlow.d.ts +73 -0
- package/dist/_dts/blocks/src/system/runtime/shared/useAppointmentRescheduleFlow.state.d.ts +62 -0
- package/dist/_dts/blocks/src/system/runtime/shared/utils/demoPortalMagicLink.d.ts +1 -4
- package/dist/_dts/commerce/src/moneyDateUtils.d.ts +7 -0
- package/dist/_dts/core/src/booking-date-time.d.ts +5 -1
- package/dist/_dts/core/src/date-display.d.ts +4 -0
- package/dist/_dts/core/src/navigation-portal-labels.d.ts +1 -1
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +13 -0
- package/dist/_dts/db/src/schemas/forms.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/PreviewEditingModeProvider.d.ts +7 -0
- package/dist/_dts/sdk/src/bookings/types.d.ts +0 -1
- package/dist/_dts/sdk/src/next/index.d.ts +1 -0
- package/dist/_dts/sdk/src/next/portal.d.ts +41 -0
- package/dist/_dts/sdk/src/next/resolveTheme.d.ts +4 -9
- package/dist/_dts/sdk/src/next/types.d.ts +8 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -0
- package/dist/_dts/sdk/src/portal/index.d.ts +4 -36
- package/dist/_dts/sdk/src/portal/token.d.ts +4 -20
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +4 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -28
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/buttons/types.d.ts +41 -41
- package/dist/_dts/theme-core/src/buttons/typography.d.ts +2 -2
- package/dist/_dts/theme-core/src/cards/types.d.ts +34 -34
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/containerSchema.d.ts +2 -2
- package/dist/_dts/theme-core/src/hosted-booking-appearance.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +255 -255
- package/dist/_dts/theme-core/src/navigation/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/palette/colors.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/schema.d.ts +294 -294
- 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/site-styles/compileFooterAgainstRow.d.ts +7 -7
- package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +12 -12
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +2 -2
- package/dist/_dts/theme-core/src/typography/schema.d.ts +27 -27
- package/dist/_dts/ui/src/button.d.ts +1 -1
- package/dist/_dts/ui/src/surface.d.ts +2 -2
- package/dist/_dts/ui/src/toggle.d.ts +2 -2
- package/dist/client/{BookingMailingListNote-CiW1dsz7.mjs → BookingMailingListNote-B9mP3Io9.mjs} +2 -2
- package/dist/client/{CardListItem-DVYTlYpS.mjs → CardListItem-D5rL2wPv.mjs} +3 -3
- package/dist/client/{CheckboxChoice-CUnPrBlC.mjs → CheckboxChoice-Bz6wLaBl.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-DEsn5F2C.mjs → DemoBookingPortalAccess-7BPVzfLU.mjs} +6 -10
- package/dist/client/{EventCombined.client-BdctbwnV.mjs → EventCombined.client-DZH5qHJl.mjs} +5 -5
- package/dist/client/{EventEmbeddedCheckoutStep-DAhQs6Jb.mjs → EventEmbeddedCheckoutStep-CV31Qvn2.mjs} +2 -2
- package/dist/client/{EventListing.client-BviZXfAE.mjs → EventListing.client-C19sjRGF.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BLTECfjU.mjs → LeafletStaticMap-DjUjYdzQ.mjs} +1 -1
- package/dist/client/{RichText-D3oE1_pw.mjs → RichText-DkKcVZwr.mjs} +2 -2
- package/dist/client/{ThemedButton-Ckj0Rfr_.mjs → ThemedButton-CTgpAXfL.mjs} +1 -1
- package/dist/client/{accordion-yBx6d4O2.mjs → accordion-R2-q5wo-.mjs} +1 -1
- package/dist/client/{bookingForm-CPDEsQci.mjs → bookingForm-VSU8nIdO.mjs} +12 -16
- package/dist/client/bookings.mjs +352 -64
- package/dist/client/{carousel-DCqjwd2s.mjs → carousel-BjPlY4ee.mjs} +2 -2
- package/dist/client/{carousel.client-Bx7XMF8-.mjs → carousel.client-Tnwvm0l1.mjs} +1 -1
- package/dist/client/{cart-DWJXrQxs.mjs → cart-DAPYTOP7.mjs} +3 -3
- package/dist/client/{checkout-CH4ypSLS.mjs → checkout-DGJTx4vB.mjs} +3 -3
- package/dist/client/client.mjs +61275 -61217
- package/dist/client/{context-BOs0m_iw.mjs → context-ByZBoKdq.mjs} +92 -209
- package/dist/client/{eventCalendar-CRylMllc.mjs → eventCalendar-CP5Z7iME.mjs} +8 -8
- package/dist/client/{eventCombined-DohTS3kp.mjs → eventCombined-D8nbUyxu.mjs} +4 -4
- package/dist/client/{eventDetails-qf-u9zcF.mjs → eventDetails-Bknq8k7E.mjs} +46 -44
- package/dist/client/{eventListing-Cg__X2vy.mjs → eventListing-BwMnPteX.mjs} +4 -4
- package/dist/client/{eventRegistration-CybWxswy.mjs → eventRegistration-COFk1mjw.mjs} +11 -11
- package/dist/client/{form-C-SGk6nq.mjs → form-BiWLd_me.mjs} +5 -5
- package/dist/client/{headerSection-BdzPaHqo.mjs → headerSection-BptDP4xF.mjs} +3 -3
- package/dist/client/hooks.mjs +22850 -22861
- package/dist/client/{locationMap-CEwIKmMb.mjs → locationMap-B-kPoqcK.mjs} +3 -3
- package/dist/client/{media-V_ShXXru.mjs → media-FjqQK4qS.mjs} +68 -1
- package/dist/client/{newsletterForm-CmwTltoS.mjs → newsletterForm-s_B8fCtT.mjs} +4 -4
- package/dist/client/portal/client.mjs +17419 -0
- package/dist/client/{productDetail-DjIzUwg3.mjs → productDetail-CS3GZMPi.mjs} +3 -3
- package/dist/client/{productList-D6JGFnMF.mjs → productList-Csc3WJDs.mjs} +3 -3
- package/dist/client/{propsDecoder-BRKz13eg.mjs → propsDecoder-Dn68GoQZ.mjs} +502 -2705
- package/dist/client/rendering/client.mjs +3303 -3612
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +46273 -46220
- package/dist/client/{routeIslandApiConfig-slAAILQ5.mjs → routeIslandApiConfig-DeBuevOO.mjs} +1 -1
- package/dist/client/{shop-C45K96_0.mjs → shop-B5EQbeUX.mjs} +7 -7
- package/dist/client/{shop-commerce-oGBiKT5d.mjs → shop-commerce-DYs7PdNL.mjs} +8 -8
- package/dist/client/{shop-commerce-store-H_HFPFZ8.mjs → shop-commerce-store-B2-DIPbg.mjs} +1 -1
- package/dist/client/{shopShared-D54T_LAV.mjs → shopShared-CE302Pfy.mjs} +4 -4
- package/dist/client/{useDiscountCodeUi-Dm2EUa03.mjs → useDiscountCodeUi-BZ02FBrV.mjs} +1 -1
- package/dist/client/{useEventPagination-0l_A8CxG.mjs → useEventPagination-VudQWKtG.mjs} +116 -6
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/{sdk-runtime-CjTM32Ah.mjs → sdk-runtime-C8Qh6r51.mjs} +1 -1
- package/dist/server/components.mjs +927 -262
- package/dist/server/config-template-validation.mjs +5 -3
- package/dist/server/config-validation.mjs +35200 -35211
- package/dist/server/config.mjs +35200 -35211
- package/dist/server/data.mjs +32783 -32794
- package/dist/server/date-time.mjs +14 -7
- package/dist/server/index.mjs +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +71470 -70677
- package/dist/server/page-converter.mjs +202 -213
- package/dist/server/portal.mjs +5 -51
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1180 -722
- package/dist/server/rendering.mjs +922 -262
- package/dist/server/routing.mjs +39382 -41704
- package/dist/server/server.mjs +203 -214
- package/dist/server/theme-bridge.mjs +262 -2
- package/dist/{spinner-KVVZh8jd.mjs → spinner-Bi68Z_0o.mjs} +1 -1
- package/dist/styles/index.css +258 -2
- package/package.json +9 -1
- package/dist/_dts/sdk/src/portal/config.d.ts +0 -67
|
@@ -31714,6 +31714,256 @@ const containerResponsiveThemeCss = `/*
|
|
|
31714
31714
|
/* Styles for SSR placeholder */
|
|
31715
31715
|
}
|
|
31716
31716
|
|
|
31717
|
+
/* Reserved portal ticket and digital-product pages.
|
|
31718
|
+
* These render without site chrome, so the page itself sits on the site
|
|
31719
|
+
* background (from the surrounding theme scope) and the card mirrors .cp-login. */
|
|
31720
|
+
:where(.theme-scope) :where([data-block="customer-portal"]).cp-page {
|
|
31721
|
+
box-sizing: border-box;
|
|
31722
|
+
min-height: 100vh;
|
|
31723
|
+
padding: 2.5rem 1rem;
|
|
31724
|
+
color: var(--cp-text);
|
|
31725
|
+
font-family: var(--font-body);
|
|
31726
|
+
font-size: var(--fs-body);
|
|
31727
|
+
}
|
|
31728
|
+
|
|
31729
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-card {
|
|
31730
|
+
box-sizing: border-box;
|
|
31731
|
+
width: 100%;
|
|
31732
|
+
max-width: 42rem;
|
|
31733
|
+
margin-inline: auto;
|
|
31734
|
+
padding: 2rem;
|
|
31735
|
+
border: 1px solid var(--cp-card-border);
|
|
31736
|
+
border-radius: var(--cp-card-radius);
|
|
31737
|
+
background: var(--cp-card-bg);
|
|
31738
|
+
color: var(--cp-text);
|
|
31739
|
+
--rb-surface-text-color: var(--cp-text);
|
|
31740
|
+
--rb-surface-heading-color: var(--cp-text);
|
|
31741
|
+
--rb-surface-link-color: var(--cp-primary);
|
|
31742
|
+
--rb-surface-link-hover-color: var(--rb-prose-link-hover-color, var(--cp-primary));
|
|
31743
|
+
--rb-surface-supporting-color: var(--cp-muted);
|
|
31744
|
+
}
|
|
31745
|
+
|
|
31746
|
+
:where(.theme-scope)
|
|
31747
|
+
:where([data-block="customer-portal"])
|
|
31748
|
+
.cp-page-card--compact {
|
|
31749
|
+
max-width: 480px;
|
|
31750
|
+
}
|
|
31751
|
+
|
|
31752
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket {
|
|
31753
|
+
max-width: 40rem;
|
|
31754
|
+
}
|
|
31755
|
+
|
|
31756
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-title {
|
|
31757
|
+
margin: 0;
|
|
31758
|
+
font-size: var(--fs-h3, 1.5rem);
|
|
31759
|
+
line-height: 1.2;
|
|
31760
|
+
}
|
|
31761
|
+
|
|
31762
|
+
/* The sign-in card's title is the page heading here, so it is an h1 sized like
|
|
31763
|
+
* the main portal's sign-in heading. */
|
|
31764
|
+
:where(.theme-scope)
|
|
31765
|
+
:where([data-block="customer-portal"]).cp-page
|
|
31766
|
+
.cp-login__title {
|
|
31767
|
+
font-size: var(--fs-h2, 2rem);
|
|
31768
|
+
line-height: 1.15;
|
|
31769
|
+
}
|
|
31770
|
+
|
|
31771
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-subtitle {
|
|
31772
|
+
margin: 0;
|
|
31773
|
+
font-size: 1.25rem;
|
|
31774
|
+
line-height: 1.3;
|
|
31775
|
+
}
|
|
31776
|
+
|
|
31777
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-copy {
|
|
31778
|
+
margin-top: 0.75rem;
|
|
31779
|
+
}
|
|
31780
|
+
|
|
31781
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-copy p {
|
|
31782
|
+
margin: 0;
|
|
31783
|
+
}
|
|
31784
|
+
|
|
31785
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-hint {
|
|
31786
|
+
margin: 0.25rem 0 0;
|
|
31787
|
+
color: var(--cp-muted);
|
|
31788
|
+
font-size: 0.875rem;
|
|
31789
|
+
}
|
|
31790
|
+
|
|
31791
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-stack,
|
|
31792
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-files,
|
|
31793
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-details {
|
|
31794
|
+
display: grid;
|
|
31795
|
+
gap: 0.75rem;
|
|
31796
|
+
}
|
|
31797
|
+
|
|
31798
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-details {
|
|
31799
|
+
gap: 0.25rem;
|
|
31800
|
+
font-size: 0.9375rem;
|
|
31801
|
+
}
|
|
31802
|
+
|
|
31803
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-emphasis {
|
|
31804
|
+
margin: 0;
|
|
31805
|
+
font-family: inherit;
|
|
31806
|
+
font-size: inherit;
|
|
31807
|
+
font-style: normal;
|
|
31808
|
+
font-weight: 600;
|
|
31809
|
+
letter-spacing: normal;
|
|
31810
|
+
text-transform: none;
|
|
31811
|
+
}
|
|
31812
|
+
|
|
31813
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket__heading,
|
|
31814
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-file {
|
|
31815
|
+
display: flex;
|
|
31816
|
+
align-items: flex-start;
|
|
31817
|
+
justify-content: space-between;
|
|
31818
|
+
gap: 1rem;
|
|
31819
|
+
}
|
|
31820
|
+
|
|
31821
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket__body {
|
|
31822
|
+
display: grid;
|
|
31823
|
+
gap: 1.5rem;
|
|
31824
|
+
margin-top: 1.5rem;
|
|
31825
|
+
}
|
|
31826
|
+
|
|
31827
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket__qr {
|
|
31828
|
+
align-self: start;
|
|
31829
|
+
padding: 1rem;
|
|
31830
|
+
border: 1px solid var(--cp-card-border);
|
|
31831
|
+
border-radius: var(--cp-control-radius);
|
|
31832
|
+
background: var(--cp-card-bg);
|
|
31833
|
+
}
|
|
31834
|
+
|
|
31835
|
+
:where(.theme-scope)
|
|
31836
|
+
:where([data-block="customer-portal"])
|
|
31837
|
+
.cp-ticket__qr-image {
|
|
31838
|
+
display: block;
|
|
31839
|
+
width: 176px;
|
|
31840
|
+
height: 176px;
|
|
31841
|
+
max-width: 100%;
|
|
31842
|
+
}
|
|
31843
|
+
|
|
31844
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket__code-row {
|
|
31845
|
+
display: flex;
|
|
31846
|
+
flex-wrap: wrap;
|
|
31847
|
+
align-items: center;
|
|
31848
|
+
gap: 0.5rem;
|
|
31849
|
+
}
|
|
31850
|
+
|
|
31851
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket__code {
|
|
31852
|
+
flex: 1 1 12rem;
|
|
31853
|
+
min-width: 0;
|
|
31854
|
+
padding: 0.5rem 0.75rem;
|
|
31855
|
+
border: 1px solid var(--cp-card-border);
|
|
31856
|
+
border-radius: var(--cp-control-radius);
|
|
31857
|
+
background: rgb(var(--tb-background));
|
|
31858
|
+
overflow-wrap: anywhere;
|
|
31859
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
31860
|
+
font-size: 0.75rem;
|
|
31861
|
+
}
|
|
31862
|
+
|
|
31863
|
+
/* Copy sits beside the code rather than under it: some site styles draw the
|
|
31864
|
+
* secondary button as text with inline padding, which would otherwise leave
|
|
31865
|
+
* its label visibly indented from the code box's left edge. */
|
|
31866
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket__copy {
|
|
31867
|
+
flex: none;
|
|
31868
|
+
}
|
|
31869
|
+
|
|
31870
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-code {
|
|
31871
|
+
margin-top: 0.5rem;
|
|
31872
|
+
}
|
|
31873
|
+
|
|
31874
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-file {
|
|
31875
|
+
align-items: center;
|
|
31876
|
+
padding: 0.75rem 1rem;
|
|
31877
|
+
border: 1px solid var(--cp-card-border);
|
|
31878
|
+
border-radius: var(--cp-control-radius);
|
|
31879
|
+
color: var(--cp-text);
|
|
31880
|
+
text-decoration: none;
|
|
31881
|
+
transition: border-color 0.15s ease;
|
|
31882
|
+
}
|
|
31883
|
+
|
|
31884
|
+
:where(.theme-scope)
|
|
31885
|
+
:where([data-block="customer-portal"])
|
|
31886
|
+
.cp-page-file:hover {
|
|
31887
|
+
border-color: var(--cp-primary);
|
|
31888
|
+
}
|
|
31889
|
+
|
|
31890
|
+
:where(.theme-scope)
|
|
31891
|
+
:where([data-block="customer-portal"])
|
|
31892
|
+
.cp-page-file:focus-visible {
|
|
31893
|
+
outline: 2px solid var(--cp-primary);
|
|
31894
|
+
outline-offset: 2px;
|
|
31895
|
+
}
|
|
31896
|
+
|
|
31897
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-file .cp-page-hint {
|
|
31898
|
+
margin: 0;
|
|
31899
|
+
overflow-wrap: anywhere;
|
|
31900
|
+
text-align: right;
|
|
31901
|
+
}
|
|
31902
|
+
|
|
31903
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-link {
|
|
31904
|
+
color: var(--cp-primary);
|
|
31905
|
+
text-decoration: underline;
|
|
31906
|
+
text-underline-offset: 0.15em;
|
|
31907
|
+
}
|
|
31908
|
+
|
|
31909
|
+
@container rb-site (max-width: 640px) {
|
|
31910
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
31911
|
+
:where(.theme-scope:is(*, :scope)) :where([data-block="customer-portal"]).cp-page {
|
|
31912
|
+
padding: 1.5rem 1rem;
|
|
31913
|
+
}
|
|
31914
|
+
|
|
31915
|
+
:where(.theme-scope:is(*, :scope)) :where([data-block="customer-portal"]) .cp-page-card {
|
|
31916
|
+
padding: 1.5rem;
|
|
31917
|
+
}
|
|
31918
|
+
|
|
31919
|
+
:where(.theme-scope:is(*, :scope)) :where([data-block="customer-portal"]) .cp-page-file {
|
|
31920
|
+
flex-direction: column;
|
|
31921
|
+
align-items: flex-start;
|
|
31922
|
+
gap: 0.25rem;
|
|
31923
|
+
}
|
|
31924
|
+
|
|
31925
|
+
:where(.theme-scope:is(*, :scope))
|
|
31926
|
+
:where([data-block="customer-portal"])
|
|
31927
|
+
.cp-page-file
|
|
31928
|
+
.cp-page-hint {
|
|
31929
|
+
text-align: left;
|
|
31930
|
+
}
|
|
31931
|
+
}
|
|
31932
|
+
}
|
|
31933
|
+
|
|
31934
|
+
@container rb-site (min-width: 48rem) {
|
|
31935
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
31936
|
+
:where(.theme-scope:is(*, :scope)) :where([data-block="customer-portal"]) .cp-ticket__body {
|
|
31937
|
+
grid-template-columns: 210px 1fr;
|
|
31938
|
+
}
|
|
31939
|
+
}
|
|
31940
|
+
}
|
|
31941
|
+
|
|
31942
|
+
@media print {
|
|
31943
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-print-hidden {
|
|
31944
|
+
display: none;
|
|
31945
|
+
}
|
|
31946
|
+
|
|
31947
|
+
:where(.theme-scope) :where([data-block="customer-portal"]).cp-page {
|
|
31948
|
+
min-height: 0;
|
|
31949
|
+
padding: 0;
|
|
31950
|
+
}
|
|
31951
|
+
|
|
31952
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket,
|
|
31953
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket__qr {
|
|
31954
|
+
max-width: none;
|
|
31955
|
+
padding: 0;
|
|
31956
|
+
border: 0;
|
|
31957
|
+
border-radius: 0;
|
|
31958
|
+
box-shadow: none;
|
|
31959
|
+
}
|
|
31960
|
+
}
|
|
31961
|
+
|
|
31962
|
+
/* Preserve line breaks in the before-you-come instructions. */
|
|
31963
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-before-you-come__body {
|
|
31964
|
+
white-space: pre-wrap;
|
|
31965
|
+
}
|
|
31966
|
+
|
|
31717
31967
|
/* =============================================================================
|
|
31718
31968
|
* Runtime: Header Navigation Dropdown (Tailwind-free)
|
|
31719
31969
|
*
|
|
@@ -33404,9 +33654,18 @@ const containerResponsiveThemeCss = `/*
|
|
|
33404
33654
|
border-radius: 9999px;
|
|
33405
33655
|
}
|
|
33406
33656
|
|
|
33657
|
+
/*
|
|
33658
|
+
* Statement, copy and media: at tablet widths the statement takes the whole
|
|
33659
|
+
* first row and copy sits beside the media underneath; at desktop all three
|
|
33660
|
+
* share one row. The grid item is the title itself, or the heading-decoration
|
|
33661
|
+
* wrapper around it when the site style decorates headings, so both are
|
|
33662
|
+
* targeted. Without the wrapper case the title took a column of its own and
|
|
33663
|
+
* the media dropped to a lonely third row.
|
|
33664
|
+
*/
|
|
33407
33665
|
@container rb-site (min-width: 768px) {
|
|
33408
33666
|
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
33409
|
-
:where(.theme-scope:is(*, :scope)) [data-block="intro"][data-block-variant="statement-media"] .rb-intro-statement-media-title
|
|
33667
|
+
:where(.theme-scope:is(*, :scope)) [data-block="intro"][data-block-variant="statement-media"] .rb-intro-statement-media > .rb-intro-statement-media-title,
|
|
33668
|
+
:where(.theme-scope:is(*, :scope)) [data-block="intro"][data-block-variant="statement-media"] .rb-intro-statement-media > :has(> .rb-intro-statement-media-title) {
|
|
33410
33669
|
grid-column: 1 / -1;
|
|
33411
33670
|
}
|
|
33412
33671
|
}
|
|
@@ -33414,7 +33673,8 @@ const containerResponsiveThemeCss = `/*
|
|
|
33414
33673
|
|
|
33415
33674
|
@container rb-site (min-width: 1024px) {
|
|
33416
33675
|
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
33417
|
-
:where(.theme-scope:is(*, :scope)) [data-block="intro"][data-block-variant="statement-media"] .rb-intro-statement-media-title
|
|
33676
|
+
:where(.theme-scope:is(*, :scope)) [data-block="intro"][data-block-variant="statement-media"] .rb-intro-statement-media > .rb-intro-statement-media-title,
|
|
33677
|
+
:where(.theme-scope:is(*, :scope)) [data-block="intro"][data-block-variant="statement-media"] .rb-intro-statement-media > :has(> .rb-intro-statement-media-title) {
|
|
33418
33678
|
grid-column: auto;
|
|
33419
33679
|
}
|
|
33420
33680
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Co as Primitive, Zo as cn, zo as LoaderCircle } from "./SiteChromeCustomizeContext-
|
|
2
|
+
import { Co as Primitive, Zo as cn, zo as LoaderCircle } from "./SiteChromeCustomizeContext-3gmd26Mn.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.2.3_@types+react@19.2.17__@types+r_adfab47c9055efb8b0c4b77a2b96b053/node_modules/@radix-ui/react-separator/dist/index.mjs
|
package/dist/styles/index.css
CHANGED
|
@@ -10984,6 +10984,252 @@
|
|
|
10984
10984
|
/* Styles for SSR placeholder */
|
|
10985
10985
|
}
|
|
10986
10986
|
|
|
10987
|
+
/* Reserved portal ticket and digital-product pages.
|
|
10988
|
+
* These render without site chrome, so the page itself sits on the site
|
|
10989
|
+
* background (from the surrounding theme scope) and the card mirrors .cp-login. */
|
|
10990
|
+
:where(.theme-scope) :where([data-block="customer-portal"]).cp-page {
|
|
10991
|
+
box-sizing: border-box;
|
|
10992
|
+
min-height: 100vh;
|
|
10993
|
+
padding: 2.5rem 1rem;
|
|
10994
|
+
color: var(--cp-text);
|
|
10995
|
+
font-family: var(--font-body);
|
|
10996
|
+
font-size: var(--fs-body);
|
|
10997
|
+
}
|
|
10998
|
+
|
|
10999
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-card {
|
|
11000
|
+
box-sizing: border-box;
|
|
11001
|
+
width: 100%;
|
|
11002
|
+
max-width: 42rem;
|
|
11003
|
+
margin-inline: auto;
|
|
11004
|
+
padding: 2rem;
|
|
11005
|
+
border: 1px solid var(--cp-card-border);
|
|
11006
|
+
border-radius: var(--cp-card-radius);
|
|
11007
|
+
background: var(--cp-card-bg);
|
|
11008
|
+
color: var(--cp-text);
|
|
11009
|
+
--rb-surface-text-color: var(--cp-text);
|
|
11010
|
+
--rb-surface-heading-color: var(--cp-text);
|
|
11011
|
+
--rb-surface-link-color: var(--cp-primary);
|
|
11012
|
+
--rb-surface-link-hover-color: var(--rb-prose-link-hover-color, var(--cp-primary));
|
|
11013
|
+
--rb-surface-supporting-color: var(--cp-muted);
|
|
11014
|
+
}
|
|
11015
|
+
|
|
11016
|
+
:where(.theme-scope)
|
|
11017
|
+
:where([data-block="customer-portal"])
|
|
11018
|
+
.cp-page-card--compact {
|
|
11019
|
+
max-width: 480px;
|
|
11020
|
+
}
|
|
11021
|
+
|
|
11022
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket {
|
|
11023
|
+
max-width: 40rem;
|
|
11024
|
+
}
|
|
11025
|
+
|
|
11026
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-title {
|
|
11027
|
+
margin: 0;
|
|
11028
|
+
font-size: var(--fs-h3, 1.5rem);
|
|
11029
|
+
line-height: 1.2;
|
|
11030
|
+
}
|
|
11031
|
+
|
|
11032
|
+
/* The sign-in card's title is the page heading here, so it is an h1 sized like
|
|
11033
|
+
* the main portal's sign-in heading. */
|
|
11034
|
+
:where(.theme-scope)
|
|
11035
|
+
:where([data-block="customer-portal"]).cp-page
|
|
11036
|
+
.cp-login__title {
|
|
11037
|
+
font-size: var(--fs-h2, 2rem);
|
|
11038
|
+
line-height: 1.15;
|
|
11039
|
+
}
|
|
11040
|
+
|
|
11041
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-subtitle {
|
|
11042
|
+
margin: 0;
|
|
11043
|
+
font-size: 1.25rem;
|
|
11044
|
+
line-height: 1.3;
|
|
11045
|
+
}
|
|
11046
|
+
|
|
11047
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-copy {
|
|
11048
|
+
margin-top: 0.75rem;
|
|
11049
|
+
}
|
|
11050
|
+
|
|
11051
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-copy p {
|
|
11052
|
+
margin: 0;
|
|
11053
|
+
}
|
|
11054
|
+
|
|
11055
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-hint {
|
|
11056
|
+
margin: 0.25rem 0 0;
|
|
11057
|
+
color: var(--cp-muted);
|
|
11058
|
+
font-size: 0.875rem;
|
|
11059
|
+
}
|
|
11060
|
+
|
|
11061
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-stack,
|
|
11062
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-files,
|
|
11063
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-details {
|
|
11064
|
+
display: grid;
|
|
11065
|
+
gap: 0.75rem;
|
|
11066
|
+
}
|
|
11067
|
+
|
|
11068
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-details {
|
|
11069
|
+
gap: 0.25rem;
|
|
11070
|
+
font-size: 0.9375rem;
|
|
11071
|
+
}
|
|
11072
|
+
|
|
11073
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-emphasis {
|
|
11074
|
+
margin: 0;
|
|
11075
|
+
font-family: inherit;
|
|
11076
|
+
font-size: inherit;
|
|
11077
|
+
font-style: normal;
|
|
11078
|
+
font-weight: 600;
|
|
11079
|
+
letter-spacing: normal;
|
|
11080
|
+
text-transform: none;
|
|
11081
|
+
}
|
|
11082
|
+
|
|
11083
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket__heading,
|
|
11084
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-file {
|
|
11085
|
+
display: flex;
|
|
11086
|
+
align-items: flex-start;
|
|
11087
|
+
justify-content: space-between;
|
|
11088
|
+
gap: 1rem;
|
|
11089
|
+
}
|
|
11090
|
+
|
|
11091
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket__body {
|
|
11092
|
+
display: grid;
|
|
11093
|
+
gap: 1.5rem;
|
|
11094
|
+
margin-top: 1.5rem;
|
|
11095
|
+
}
|
|
11096
|
+
|
|
11097
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket__qr {
|
|
11098
|
+
align-self: start;
|
|
11099
|
+
padding: 1rem;
|
|
11100
|
+
border: 1px solid var(--cp-card-border);
|
|
11101
|
+
border-radius: var(--cp-control-radius);
|
|
11102
|
+
background: var(--cp-card-bg);
|
|
11103
|
+
}
|
|
11104
|
+
|
|
11105
|
+
:where(.theme-scope)
|
|
11106
|
+
:where([data-block="customer-portal"])
|
|
11107
|
+
.cp-ticket__qr-image {
|
|
11108
|
+
display: block;
|
|
11109
|
+
width: 176px;
|
|
11110
|
+
height: 176px;
|
|
11111
|
+
max-width: 100%;
|
|
11112
|
+
}
|
|
11113
|
+
|
|
11114
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket__code-row {
|
|
11115
|
+
display: flex;
|
|
11116
|
+
flex-wrap: wrap;
|
|
11117
|
+
align-items: center;
|
|
11118
|
+
gap: 0.5rem;
|
|
11119
|
+
}
|
|
11120
|
+
|
|
11121
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket__code {
|
|
11122
|
+
flex: 1 1 12rem;
|
|
11123
|
+
min-width: 0;
|
|
11124
|
+
padding: 0.5rem 0.75rem;
|
|
11125
|
+
border: 1px solid var(--cp-card-border);
|
|
11126
|
+
border-radius: var(--cp-control-radius);
|
|
11127
|
+
background: rgb(var(--tb-background));
|
|
11128
|
+
overflow-wrap: anywhere;
|
|
11129
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
11130
|
+
font-size: 0.75rem;
|
|
11131
|
+
}
|
|
11132
|
+
|
|
11133
|
+
/* Copy sits beside the code rather than under it: some site styles draw the
|
|
11134
|
+
* secondary button as text with inline padding, which would otherwise leave
|
|
11135
|
+
* its label visibly indented from the code box's left edge. */
|
|
11136
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket__copy {
|
|
11137
|
+
flex: none;
|
|
11138
|
+
}
|
|
11139
|
+
|
|
11140
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-code {
|
|
11141
|
+
margin-top: 0.5rem;
|
|
11142
|
+
}
|
|
11143
|
+
|
|
11144
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-file {
|
|
11145
|
+
align-items: center;
|
|
11146
|
+
padding: 0.75rem 1rem;
|
|
11147
|
+
border: 1px solid var(--cp-card-border);
|
|
11148
|
+
border-radius: var(--cp-control-radius);
|
|
11149
|
+
color: var(--cp-text);
|
|
11150
|
+
text-decoration: none;
|
|
11151
|
+
transition: border-color 0.15s ease;
|
|
11152
|
+
}
|
|
11153
|
+
|
|
11154
|
+
:where(.theme-scope)
|
|
11155
|
+
:where([data-block="customer-portal"])
|
|
11156
|
+
.cp-page-file:hover {
|
|
11157
|
+
border-color: var(--cp-primary);
|
|
11158
|
+
}
|
|
11159
|
+
|
|
11160
|
+
:where(.theme-scope)
|
|
11161
|
+
:where([data-block="customer-portal"])
|
|
11162
|
+
.cp-page-file:focus-visible {
|
|
11163
|
+
outline: 2px solid var(--cp-primary);
|
|
11164
|
+
outline-offset: 2px;
|
|
11165
|
+
}
|
|
11166
|
+
|
|
11167
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-file .cp-page-hint {
|
|
11168
|
+
margin: 0;
|
|
11169
|
+
overflow-wrap: anywhere;
|
|
11170
|
+
text-align: right;
|
|
11171
|
+
}
|
|
11172
|
+
|
|
11173
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-link {
|
|
11174
|
+
color: var(--cp-primary);
|
|
11175
|
+
text-decoration: underline;
|
|
11176
|
+
text-underline-offset: 0.15em;
|
|
11177
|
+
}
|
|
11178
|
+
|
|
11179
|
+
@media (max-width: 640px) {
|
|
11180
|
+
:where(.theme-scope) :where([data-block="customer-portal"]).cp-page {
|
|
11181
|
+
padding: 1.5rem 1rem;
|
|
11182
|
+
}
|
|
11183
|
+
|
|
11184
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-card {
|
|
11185
|
+
padding: 1.5rem;
|
|
11186
|
+
}
|
|
11187
|
+
|
|
11188
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-page-file {
|
|
11189
|
+
flex-direction: column;
|
|
11190
|
+
align-items: flex-start;
|
|
11191
|
+
gap: 0.25rem;
|
|
11192
|
+
}
|
|
11193
|
+
|
|
11194
|
+
:where(.theme-scope)
|
|
11195
|
+
:where([data-block="customer-portal"])
|
|
11196
|
+
.cp-page-file
|
|
11197
|
+
.cp-page-hint {
|
|
11198
|
+
text-align: left;
|
|
11199
|
+
}
|
|
11200
|
+
}
|
|
11201
|
+
|
|
11202
|
+
@media (min-width: 48rem) {
|
|
11203
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket__body {
|
|
11204
|
+
grid-template-columns: 210px 1fr;
|
|
11205
|
+
}
|
|
11206
|
+
}
|
|
11207
|
+
|
|
11208
|
+
@media print {
|
|
11209
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-print-hidden {
|
|
11210
|
+
display: none;
|
|
11211
|
+
}
|
|
11212
|
+
|
|
11213
|
+
:where(.theme-scope) :where([data-block="customer-portal"]).cp-page {
|
|
11214
|
+
min-height: 0;
|
|
11215
|
+
padding: 0;
|
|
11216
|
+
}
|
|
11217
|
+
|
|
11218
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket,
|
|
11219
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-ticket__qr {
|
|
11220
|
+
max-width: none;
|
|
11221
|
+
padding: 0;
|
|
11222
|
+
border: 0;
|
|
11223
|
+
border-radius: 0;
|
|
11224
|
+
box-shadow: none;
|
|
11225
|
+
}
|
|
11226
|
+
}
|
|
11227
|
+
|
|
11228
|
+
/* Preserve line breaks in the before-you-come instructions. */
|
|
11229
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-before-you-come__body {
|
|
11230
|
+
white-space: pre-wrap;
|
|
11231
|
+
}
|
|
11232
|
+
|
|
10987
11233
|
|
|
10988
11234
|
|
|
10989
11235
|
/* =============================================================================
|
|
@@ -12679,14 +12925,24 @@
|
|
|
12679
12925
|
border-radius: 9999px;
|
|
12680
12926
|
}
|
|
12681
12927
|
|
|
12928
|
+
/*
|
|
12929
|
+
* Statement, copy and media: at tablet widths the statement takes the whole
|
|
12930
|
+
* first row and copy sits beside the media underneath; at desktop all three
|
|
12931
|
+
* share one row. The grid item is the title itself, or the heading-decoration
|
|
12932
|
+
* wrapper around it when the site style decorates headings, so both are
|
|
12933
|
+
* targeted. Without the wrapper case the title took a column of its own and
|
|
12934
|
+
* the media dropped to a lonely third row.
|
|
12935
|
+
*/
|
|
12682
12936
|
@media (min-width: 768px) {
|
|
12683
|
-
:where(.theme-scope) [data-block="intro"][data-block-variant="statement-media"] .rb-intro-statement-media-title
|
|
12937
|
+
:where(.theme-scope) [data-block="intro"][data-block-variant="statement-media"] .rb-intro-statement-media > .rb-intro-statement-media-title,
|
|
12938
|
+
:where(.theme-scope) [data-block="intro"][data-block-variant="statement-media"] .rb-intro-statement-media > :has(> .rb-intro-statement-media-title) {
|
|
12684
12939
|
grid-column: 1 / -1;
|
|
12685
12940
|
}
|
|
12686
12941
|
}
|
|
12687
12942
|
|
|
12688
12943
|
@media (min-width: 1024px) {
|
|
12689
|
-
:where(.theme-scope) [data-block="intro"][data-block-variant="statement-media"] .rb-intro-statement-media-title
|
|
12944
|
+
:where(.theme-scope) [data-block="intro"][data-block-variant="statement-media"] .rb-intro-statement-media > .rb-intro-statement-media-title,
|
|
12945
|
+
:where(.theme-scope) [data-block="intro"][data-block-variant="statement-media"] .rb-intro-statement-media > :has(> .rb-intro-statement-media-title) {
|
|
12690
12946
|
grid-column: auto;
|
|
12691
12947
|
}
|
|
12692
12948
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riverbankcms/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.156.0",
|
|
4
4
|
"description": "Riverbank CMS SDK for headless content consumption",
|
|
5
5
|
"main": "./dist/server/index.mjs",
|
|
6
6
|
"module": "./dist/server/index.mjs",
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
"#sdk-rendering-client": {
|
|
10
10
|
"types": "./dist/_dts/sdk/src/rendering/islands/client.d.ts",
|
|
11
11
|
"import": "./dist/client/rendering/islands.mjs"
|
|
12
|
+
},
|
|
13
|
+
"#sdk-portal-client": {
|
|
14
|
+
"types": "./dist/_dts/sdk/src/portal/client.d.ts",
|
|
15
|
+
"import": "./dist/client/portal/client.mjs"
|
|
12
16
|
}
|
|
13
17
|
},
|
|
14
18
|
"exports": {
|
|
@@ -223,6 +227,10 @@
|
|
|
223
227
|
"./manifest": {
|
|
224
228
|
"types": "./dist/_dts/sdk/src/manifest/index.d.ts",
|
|
225
229
|
"import": "./dist/server/manifest.mjs"
|
|
230
|
+
},
|
|
231
|
+
"./portal/client": {
|
|
232
|
+
"types": "./dist/_dts/sdk/src/portal/client.d.ts",
|
|
233
|
+
"import": "./dist/client/portal/client.mjs"
|
|
226
234
|
}
|
|
227
235
|
},
|
|
228
236
|
"files": [
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Portal API Configuration Utilities
|
|
3
|
-
*
|
|
4
|
-
* Provides functions for creating BlockApiConfig for the customer portal.
|
|
5
|
-
*
|
|
6
|
-
* Usage:
|
|
7
|
-
* ```ts
|
|
8
|
-
* import { createPortalApiConfig } from '@riverbankcms/sdk/portal';
|
|
9
|
-
* import { BlockApiProvider } from '../../../blocks/src/client';
|
|
10
|
-
*
|
|
11
|
-
* export default async function PortalPage() {
|
|
12
|
-
* const token = getPortalToken(await cookies());
|
|
13
|
-
* const config = createPortalApiConfig({
|
|
14
|
-
* token,
|
|
15
|
-
* siteId: 'your-site-id',
|
|
16
|
-
* dashboardUrl: 'https://app.riverbankcms.com',
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* return (
|
|
20
|
-
* <BlockApiProvider config={config}>
|
|
21
|
-
* <CustomerPortal />
|
|
22
|
-
* </BlockApiProvider>
|
|
23
|
-
* );
|
|
24
|
-
* }
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
/**
|
|
28
|
-
* Block API configuration for the portal
|
|
29
|
-
*/
|
|
30
|
-
export interface PortalApiConfig {
|
|
31
|
-
baseUrl: string;
|
|
32
|
-
auth: {
|
|
33
|
-
type: 'bearer';
|
|
34
|
-
token: string;
|
|
35
|
-
};
|
|
36
|
-
siteId: string;
|
|
37
|
-
}
|
|
38
|
-
export interface CreatePortalApiConfigOptions {
|
|
39
|
-
/**
|
|
40
|
-
* The portal session token (from cookie)
|
|
41
|
-
*/
|
|
42
|
-
token: string;
|
|
43
|
-
/**
|
|
44
|
-
* The site ID
|
|
45
|
-
*/
|
|
46
|
-
siteId: string;
|
|
47
|
-
/**
|
|
48
|
-
* The dashboard URL (e.g., 'https://app.riverbankcms.com')
|
|
49
|
-
*/
|
|
50
|
-
dashboardUrl: string;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Create a BlockApiConfig for the customer portal.
|
|
54
|
-
*
|
|
55
|
-
* @param options - Configuration options
|
|
56
|
-
* @returns BlockApiConfig for use with BlockApiProvider
|
|
57
|
-
*/
|
|
58
|
-
export declare function createPortalApiConfig(options: CreatePortalApiConfigOptions): PortalApiConfig;
|
|
59
|
-
/**
|
|
60
|
-
* Create a login URL for the portal.
|
|
61
|
-
*
|
|
62
|
-
* Use this to build the URL for the magic link login form action.
|
|
63
|
-
*
|
|
64
|
-
* @param dashboardUrl - The dashboard URL
|
|
65
|
-
* @returns The send-magic-link API endpoint URL
|
|
66
|
-
*/
|
|
67
|
-
export declare function getPortalLoginUrl(dashboardUrl: string): string;
|