@riverbankcms/sdk 0.107.0 → 0.108.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.
Files changed (159) hide show
  1. package/dist/{PreviewEditorSidebar-DpAbAl08.mjs → PreviewEditorSidebar-BBT-kZAM.mjs} +46 -11
  2. package/dist/{PreviewEditorUI-O7cn6Xxv.mjs → PreviewEditorUI-D69xNKT2.mjs} +10 -9
  3. package/dist/{PreviewQueryProvider-D0tnKl0t.mjs → PreviewQueryProvider-RRu7wyQ5.mjs} +1 -1
  4. package/dist/{SdkPreviewModeRuntime-CVB7urtl.mjs → SdkPreviewModeRuntime-CuDjXH6o.mjs} +426 -72
  5. package/dist/{SiteChromeCustomizeContext-C_sizso-.mjs → SiteChromeCustomizeContext-BQUY2dEk.mjs} +3865 -544
  6. package/dist/_dts/ai/src/contracts/proposals.d.ts +3712 -220
  7. package/dist/_dts/api/src/blocks.d.ts +41 -7
  8. package/dist/_dts/api/src/bookingRecords.d.ts +180 -115
  9. package/dist/_dts/api/src/cache-tags.d.ts +3 -0
  10. package/dist/_dts/api/src/contentRuntime.d.ts +19 -1
  11. package/dist/_dts/api/src/endpoints.d.ts +99 -0
  12. package/dist/_dts/api/src/footer-settings.d.ts +1 -0
  13. package/dist/_dts/api/src/footerSettings.d.ts +8 -0
  14. package/dist/_dts/api/src/index.d.ts +5 -2
  15. package/dist/_dts/api/src/navigation/contracts.d.ts +3 -3
  16. package/dist/_dts/api/src/previewContentContract.d.ts +4 -0
  17. package/dist/_dts/api/src/sdkContracts.d.ts +62 -0
  18. package/dist/_dts/api/src/siteBanner.d.ts +2 -2
  19. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +143 -55
  20. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +7 -1
  21. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +41 -1
  22. package/dist/_dts/blocks/src/primitives/layout/Section.d.ts +0 -1
  23. package/dist/_dts/blocks/src/rendering/server.d.ts +1 -0
  24. package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +50 -0
  25. package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +9 -48
  26. package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
  27. package/dist/_dts/blocks/src/system/icons/registry.d.ts +2 -1
  28. package/dist/_dts/blocks/src/system/icons/social.d.ts +5 -0
  29. package/dist/_dts/blocks/src/system/icons/svg.d.ts +1 -0
  30. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +2 -2
  31. package/dist/_dts/blocks/src/system/node/fragments/backgroundLayer.d.ts +13 -0
  32. package/dist/_dts/blocks/src/system/node/fragments/footerNav.d.ts +2 -0
  33. package/dist/_dts/blocks/src/system/node/fragments/styledContainer.d.ts +4 -4
  34. package/dist/_dts/blocks/src/system/node/fragments/styledSection.d.ts +3 -12
  35. package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
  36. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +1 -1
  37. package/dist/_dts/blocks/src/system/types/link.d.ts +3 -3
  38. package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +14 -0
  39. package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +27 -8
  40. package/dist/_dts/content-editor/src/footerComposer.d.ts +56 -0
  41. package/dist/_dts/content-editor/src/hooks/useEntryActions.d.ts +1 -1
  42. package/dist/_dts/content-editor/src/hooks/useEntryMutations.d.ts +5 -5
  43. package/dist/_dts/content-editor/src/index.d.ts +2 -0
  44. package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +3 -1
  45. package/dist/_dts/content-editor/src/services/contentEntryServices.d.ts +20 -36
  46. package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +5 -1
  47. package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +11 -0
  48. package/dist/_dts/content-model/src/content-types/schema.d.ts +1 -1
  49. package/dist/_dts/content-model/src/definitions/shared.d.ts +3 -0
  50. package/dist/_dts/core/src/branded.d.ts +3 -0
  51. package/dist/_dts/core/src/editor-state.d.ts +4 -0
  52. package/dist/_dts/core/src/footer-composition.d.ts +143 -0
  53. package/dist/_dts/core/src/index.d.ts +2 -0
  54. package/dist/_dts/core/src/public-profile.d.ts +73 -0
  55. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +3043 -2941
  56. package/dist/_dts/db/src/schemas/forms.d.ts +10 -10
  57. package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +5 -0
  58. package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +1 -0
  59. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +2 -1
  60. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +2 -1
  61. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockReorder.d.ts +2 -1
  62. package/dist/_dts/editor-blocks/src/block-editor/owner.d.ts +10 -0
  63. package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -0
  64. package/dist/_dts/path-utils/src/index.d.ts +5 -0
  65. package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +5 -0
  66. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +2 -1
  67. package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +1 -0
  68. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +2 -1
  69. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +2 -1
  70. package/dist/_dts/preview-next/src/client/preview/previewErrorMessages.d.ts +4 -0
  71. package/dist/_dts/sdk/src/cli/content/reader.d.ts +1 -0
  72. package/dist/_dts/sdk/src/client/management/blocks.d.ts +14 -1
  73. package/dist/_dts/sdk/src/client/management/index.d.ts +1 -0
  74. package/dist/_dts/sdk/src/client/management/types.d.ts +15 -1
  75. package/dist/_dts/sdk/src/config/content-types.d.ts +2 -0
  76. package/dist/_dts/sdk/src/config/content-validation.d.ts +4 -0
  77. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -0
  78. package/dist/_dts/sdk/src/public-api/contracts.d.ts +3 -2
  79. package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +2 -1
  80. package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +1 -1
  81. package/dist/_dts/sdk/src/version.d.ts +1 -1
  82. package/dist/_dts/site-commands/src/commands.d.ts +13 -10
  83. package/dist/_dts/theme-core/src/accordions/types.d.ts +2 -2
  84. package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
  85. package/dist/_dts/theme-core/src/buttons/personalities/two-tone-pill.d.ts +17 -0
  86. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +1 -1
  87. package/dist/_dts/theme-core/src/buttons/types.d.ts +3 -3
  88. package/dist/_dts/theme-core/src/cards/types.d.ts +3 -3
  89. package/dist/_dts/theme-core/src/footer/mode.d.ts +15 -0
  90. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  91. package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
  92. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +36 -30
  93. package/dist/_dts/theme-core/src/navigation/types.d.ts +1 -1
  94. package/dist/_dts/theme-core/src/schema.d.ts +1186 -34
  95. package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +12 -1
  96. package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +15 -0
  97. package/dist/cli/index.mjs +760 -374
  98. package/dist/client/{DiscountCodeDisclosure-BwGkvmVH.mjs → DiscountCodeDisclosure-D6TOf6Hi.mjs} +1 -1
  99. package/dist/client/{EventCombined.client-JnWE6Hzc.mjs → EventCombined.client-Dao3zxRk.mjs} +3 -3
  100. package/dist/client/{EventListing.client-DQewc_kg.mjs → EventListing.client-B2NNt4y1.mjs} +2 -2
  101. package/dist/client/{LeafletStaticMap-DPAU3SFt.mjs → LeafletStaticMap-BhwFo16w.mjs} +1 -1
  102. package/dist/client/{MagicLinkForm-D4kpWCbW.mjs → MagicLinkForm-BWnB7cMR.mjs} +2 -2
  103. package/dist/client/{StepIndicator-CBlkb4rA.mjs → StepIndicator-TzRiQ0BY.mjs} +2 -2
  104. package/dist/client/{accordion-DAIBVpTS.mjs → accordion-BPy-AJ4_.mjs} +1 -1
  105. package/dist/client/{bookingForm-DZ-4l5_1.mjs → bookingForm-BL4PGZds.mjs} +6 -6
  106. package/dist/client/bookings.mjs +143 -94
  107. package/dist/client/{buttons-DJgynGHQ.mjs → buttons-EBjyslaX.mjs} +144 -95
  108. package/dist/client/{carousel-D-SLfX8r.mjs → carousel-C2b7Cn9-.mjs} +1 -1
  109. package/dist/client/{cart-CEgbgJhX.mjs → cart-BQcbXIVD.mjs} +3 -3
  110. package/dist/client/{checkout-CXWrCRAA.mjs → checkout-DEmpGRJu.mjs} +3 -3
  111. package/dist/client/client.mjs +827 -434
  112. package/dist/client/{courseRegistration-DVmLrRVz.mjs → courseRegistration-BqRZPmsq.mjs} +7 -7
  113. package/dist/client/{eventCalendar-DCuyPY_c.mjs → eventCalendar-B8N_tSl5.mjs} +5 -5
  114. package/dist/client/{eventCombined-kP2CA2D4.mjs → eventCombined-Gjn6gtq7.mjs} +2 -2
  115. package/dist/client/{eventDetails-DU0LeF5e.mjs → eventDetails-M-VCxA-r.mjs} +3 -3
  116. package/dist/client/{eventListing-CcHF87BI.mjs → eventListing-DR19hqYi.mjs} +2 -2
  117. package/dist/client/{eventRegistration-DJnR0yFH.mjs → eventRegistration-BR02a0k3.mjs} +7 -7
  118. package/dist/client/{form-CH1lCusH.mjs → form-LY2xIbwg.mjs} +2 -2
  119. package/dist/client/{headerSection-CBPFZoku.mjs → headerSection-CYwwXJfh.mjs} +3 -3
  120. package/dist/client/hooks.mjs +377 -362
  121. package/dist/client/{locationMap-Cx1hBg5n.mjs → locationMap-DWnBXrFq.mjs} +2 -2
  122. package/dist/client/{newsletterForm-1ZL_ti9u.mjs → newsletterForm-D9s-fQ2P.mjs} +2 -2
  123. package/dist/client/{pricing-BIbzmV0G.mjs → pricing-DDq80oYc.mjs} +1 -1
  124. package/dist/client/{productDetail-BTh5gHBV.mjs → productDetail-B0SbWd45.mjs} +3 -3
  125. package/dist/client/{productList-Cc7OMrqN.mjs → productList-PwYlZn0y.mjs} +3 -3
  126. package/dist/client/{propsDecoder-oR-M-ISN.mjs → propsDecoder-BRWBiH7i.mjs} +33 -9
  127. package/dist/client/rendering/client.mjs +247 -40
  128. package/dist/client/rendering/islands.mjs +18 -18
  129. package/dist/client/rendering.mjs +478 -270
  130. package/dist/client/{shop-CQ_YbCnn.mjs → shop-CMwZPYME.mjs} +6 -6
  131. package/dist/client/{shop-commerce-BM-AoD3M.mjs → shop-commerce-BuxsFate.mjs} +5 -5
  132. package/dist/client/{shop-commerce-store-DFMQhU5p.mjs → shop-commerce-store-boYlEJ91.mjs} +1 -1
  133. package/dist/client/{shopShared-D0SKO2Cu.mjs → shopShared-D2naaOes.mjs} +2 -2
  134. package/dist/client/{useDiscountCodeUi-CrG4_ARt.mjs → useDiscountCodeUi-D9RHpVoj.mjs} +1 -1
  135. package/dist/client/{useEventFilters-CxK8Fekl.mjs → useEventFilters-igGiK1re.mjs} +3 -3
  136. package/dist/client/{usePolling-jcVryNgZ.mjs → usePolling-CI7MbsFB.mjs} +2 -2
  137. package/dist/preview-next/before-render.mjs +178 -0
  138. package/dist/preview-next/client/runtime.mjs +4 -4
  139. package/dist/preview-next/middleware.mjs +178 -0
  140. package/dist/{previewAuthStore-BPcJPzdz.mjs → previewAuthStore-a_cBD28m.mjs} +178 -0
  141. package/dist/{sdk-runtime-C39Rsk-x.mjs → sdk-runtime-MBzD-GmP.mjs} +2 -2
  142. package/dist/{separator-BoMSQnsP.mjs → separator-5ahRBC85.mjs} +1 -1
  143. package/dist/server/components.mjs +556 -366
  144. package/dist/server/config-validation.mjs +384 -363
  145. package/dist/server/config.mjs +384 -364
  146. package/dist/server/data.mjs +377 -362
  147. package/dist/server/index.mjs +179 -1
  148. package/dist/server/navigation.mjs +9 -3
  149. package/dist/server/next.mjs +1384 -995
  150. package/dist/server/page-converter.mjs +368 -355
  151. package/dist/server/prebuild.mjs +1 -1
  152. package/dist/server/rendering/server.mjs +539 -360
  153. package/dist/server/rendering.mjs +556 -366
  154. package/dist/server/routing.mjs +613 -543
  155. package/dist/server/server.mjs +554 -361
  156. package/dist/server/theme-bridge.mjs +189 -98
  157. package/dist/server/theme.mjs +161 -95
  158. package/dist/styles/index.css +7 -1
  159. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as themeButtonClassName } from "./buttons-DJgynGHQ.mjs";
2
+ import { t as themeButtonClassName } from "./buttons-EBjyslaX.mjs";
3
3
  import { useId } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/api/types.ts
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { t as clsx } from "./clsx-DgIEfj3H.mjs";
3
- import { A as formatDate, E as getEventRuntimeFiltersKey, F as formatEventTeacherLine, I as formatTime, L as getCardOrientation, N as formatEventPrice, R as getContainerClass, T as buildEventRuntimeFilters, U as getEventAvailability, V as resolveEventLinkProps, _t as assertNever, z as groupEventsByDate } from "./propsDecoder-oR-M-ISN.mjs";
4
- import { a as EventCardClient, i as EventPaginatedListView, n as useEventPagination, o as EventFilters, r as toError, t as useEventFilters } from "./useEventFilters-CxK8Fekl.mjs";
3
+ import { A as formatDate, E as getEventRuntimeFiltersKey, F as formatEventTeacherLine, I as formatTime, L as getCardOrientation, N as formatEventPrice, R as getContainerClass, T as buildEventRuntimeFilters, U as getEventAvailability, V as resolveEventLinkProps, _t as assertNever, z as groupEventsByDate } from "./propsDecoder-BRWBiH7i.mjs";
4
+ import { a as EventCardClient, i as EventPaginatedListView, n as useEventPagination, o as EventFilters, r as toError, t as useEventFilters } from "./useEventFilters-igGiK1re.mjs";
5
5
  import { n as useBlockApi } from "./context-BGZNlGXB.mjs";
6
- import { t as themeButtonClassName } from "./buttons-DJgynGHQ.mjs";
6
+ import { t as themeButtonClassName } from "./buttons-EBjyslaX.mjs";
7
7
  import { t as createBodyThemePortalRoot } from "./themePortalRoot-AGs4cE7t.mjs";
8
8
  import { t as ModalShell } from "./ModalShell-CqkBvBIC.mjs";
9
9
  import React, { createContext, useCallback, useContext, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { T as buildEventRuntimeFilters } from "./propsDecoder-oR-M-ISN.mjs";
3
- import { i as EventPaginatedListView, n as useEventPagination, o as EventFilters, t as useEventFilters } from "./useEventFilters-CxK8Fekl.mjs";
2
+ import { T as buildEventRuntimeFilters } from "./propsDecoder-BRWBiH7i.mjs";
3
+ import { i as EventPaginatedListView, n as useEventPagination, o as EventFilters, t as useEventFilters } from "./useEventFilters-igGiK1re.mjs";
4
4
  import { useId, useMemo } from "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region ../blocks/src/system/runtime/nodes/events/EventListing.client.tsx
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { X as isRecord } from "./propsDecoder-oR-M-ISN.mjs";
2
+ import { X as isRecord } from "./propsDecoder-BRWBiH7i.mjs";
3
3
  import { useEffect, useRef, useState } from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/shared/LeafletStaticMap.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { _t as assertNever } from "./propsDecoder-oR-M-ISN.mjs";
2
+ import { _t as assertNever } from "./propsDecoder-BRWBiH7i.mjs";
3
3
  import { n as useBlockApi } from "./context-BGZNlGXB.mjs";
4
- import { t as themeButtonClassName } from "./buttons-DJgynGHQ.mjs";
4
+ import { t as themeButtonClassName } from "./buttons-EBjyslaX.mjs";
5
5
  import { useEffect, useReducer, useState, useSyncExternalStore } from "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region ../blocks/src/system/runtime/shared/components/ClockIcon.tsx
@@ -1,6 +1,6 @@
1
1
  import { t as clsx } from "./clsx-DgIEfj3H.mjs";
2
- import { Ht as formatCurrencyAmount } from "./propsDecoder-oR-M-ISN.mjs";
3
- import { i as CheckIcon } from "./useDiscountCodeUi-CrG4_ARt.mjs";
2
+ import { Ht as formatCurrencyAmount } from "./propsDecoder-BRWBiH7i.mjs";
3
+ import { i as CheckIcon } from "./useDiscountCodeUi-D9RHpVoj.mjs";
4
4
  import "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region ../blocks/src/system/runtime/shared/utils/formatting.ts
@@ -1,4 +1,4 @@
1
- import { t as defineIslandPropsDecoder } from "./propsDecoder-oR-M-ISN.mjs";
1
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BRWBiH7i.mjs";
2
2
  //#region src/rendering/islands/enhancers/accordion.ts
3
3
  const decode = defineIslandPropsDecoder("accordion");
4
4
  function parseDefaultValues(value) {
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import { c as unsafeAsAppointmentServiceId, f as unsafeAsPassId, l as unsafeAsCustomerPassId, s as unsafeAsAppointmentResourceId, u as unsafeAsFormId } from "./colorTokenParts-CMugwvX_.mjs";
3
- import { n as buildBookingPaymentSelectionViewModel, t as usePolling } from "./usePolling-jcVryNgZ.mjs";
4
- import { Ct as reportWorkflowSuccess, Dt as formatBookingInstant, Ht as formatCurrencyAmount, Mt as resolveBookingTimeZoneId, St as reportWorkflowError, _t as assertNever, at as getBookingRedirectStateFromLocation, ct as isBookingServiceSlidingAmountInRange, dt as resolveAppointmentCheckoutVerificationState, ft as resolveBookingPaymentStep, gt as BOOKING_FORM_DATA_RESERVED_KEYS, ht as toSelectedCollectionOptionKind, it as formatBookingSubmissionPreparationError, jt as parseBookingLocalDate, kt as formatLocalScheduleDate, lt as parseBookingCurrencyInputToCents, mt as resolveDefaultBookingServiceId, nt as deriveBookingFormViewState, ot as getBookingServiceSlidingScale, pt as resolveBookingSiteId, rt as formatBookingCentsAsCurrencyInput, st as getBookingSuccessMessage, t as defineIslandPropsDecoder, tt as logger, ut as prepareBookingSubmission, vt as clearWorkflowFeedback, wt as addLocalScheduleDays, xt as okWith, yt as err } from "./propsDecoder-oR-M-ISN.mjs";
3
+ import { n as buildBookingPaymentSelectionViewModel, t as usePolling } from "./usePolling-CI7MbsFB.mjs";
4
+ import { Ct as reportWorkflowSuccess, Dt as formatBookingInstant, Ht as formatCurrencyAmount, Mt as resolveBookingTimeZoneId, St as reportWorkflowError, _t as assertNever, at as getBookingRedirectStateFromLocation, ct as isBookingServiceSlidingAmountInRange, dt as resolveAppointmentCheckoutVerificationState, ft as resolveBookingPaymentStep, gt as BOOKING_FORM_DATA_RESERVED_KEYS, ht as toSelectedCollectionOptionKind, it as formatBookingSubmissionPreparationError, jt as parseBookingLocalDate, kt as formatLocalScheduleDate, lt as parseBookingCurrencyInputToCents, mt as resolveDefaultBookingServiceId, nt as deriveBookingFormViewState, ot as getBookingServiceSlidingScale, pt as resolveBookingSiteId, rt as formatBookingCentsAsCurrencyInput, st as getBookingSuccessMessage, t as defineIslandPropsDecoder, tt as logger, ut as prepareBookingSubmission, vt as clearWorkflowFeedback, wt as addLocalScheduleDays, xt as okWith, yt as err } from "./propsDecoder-BRWBiH7i.mjs";
5
5
  import { n as useBlockApi, t as BlockApiProvider } from "./context-BGZNlGXB.mjs";
6
6
  import { n as isSpamProtectionEnabled, r as AltchaWidget, t as getChallengeUrl } from "./src-B833rYRr.mjs";
7
- import { i as CheckIcon, n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-CrG4_ARt.mjs";
8
- import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-BwGkvmVH.mjs";
9
- import { n as SpinnerNode, t as StepIndicator } from "./StepIndicator-CBlkb4rA.mjs";
10
- import { t as themeButtonClassName } from "./buttons-DJgynGHQ.mjs";
7
+ import { i as CheckIcon, n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-D9RHpVoj.mjs";
8
+ import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-D6TOf6Hi.mjs";
9
+ import { n as SpinnerNode, t as StepIndicator } from "./StepIndicator-TzRiQ0BY.mjs";
10
+ import { t as themeButtonClassName } from "./buttons-EBjyslaX.mjs";
11
11
  import { t as FeedbackMessage } from "./FeedbackMessage-ByMrs3cr.mjs";
12
12
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-AYanWFb-.mjs";
13
13
  import { t as buildCheckoutReturnUrls } from "./checkoutUrls-Ct8Mxna3.mjs";
@@ -9107,104 +9107,153 @@ const showtimePill = defineButtonPersonality({
9107
9107
  }
9108
9108
  });
9109
9109
  //#endregion
9110
- //#region ../theme-core/src/buttons/personalities/index.ts
9111
- const buttonPersonalities = [
9112
- defineButtonPersonality({
9113
- id: "soft-pill",
9114
- name: "Soft Pill",
9115
- description: "Rounded pills with a gentle lift on hover. Quietly modern.",
9116
- tags: {
9117
- tone: "classic",
9118
- energy: "calm",
9119
- motion: "subtle",
9120
- era: "organic"
9110
+ //#region ../theme-core/src/buttons/personalities/soft-pill.ts
9111
+ /**
9112
+ * Soft Pill — rounded-full pill buttons with a hover lift. The default for
9113
+ * Calm Studio and Modern Wellness; reads as quietly modern and welcoming.
9114
+ */
9115
+ const softPill = defineButtonPersonality({
9116
+ id: "soft-pill",
9117
+ name: "Soft Pill",
9118
+ description: "Rounded pills with a gentle lift on hover. Quietly modern.",
9119
+ tags: {
9120
+ tone: "classic",
9121
+ energy: "calm",
9122
+ motion: "subtle",
9123
+ era: "organic"
9124
+ },
9125
+ buttonSystem: {
9126
+ global: {
9127
+ cornerStyle: "pill",
9128
+ shadow: "low",
9129
+ textTransform: "none",
9130
+ fontWeight: 500,
9131
+ borderWidth: 2,
9132
+ hoverTransform: "lift",
9133
+ hoverColor: "none"
9121
9134
  },
9122
- buttonSystem: {
9123
- global: {
9124
- cornerStyle: "pill",
9125
- shadow: "low",
9126
- textTransform: "none",
9127
- fontWeight: 500,
9128
- borderWidth: 2,
9129
- hoverTransform: "lift",
9130
- hoverColor: "none"
9131
- },
9132
- variants: [
9133
- {
9134
- id: "primary",
9135
- name: "Primary",
9136
- enabled: true,
9137
- priority: 1,
9138
- background: {
9139
- type: "solid",
9140
- colorToken: "primary"
9141
- },
9142
- textColorToken: "primaryForeground",
9143
- borderRadius: "rounded-full",
9144
- shadow: {
9145
- elevation: "low",
9146
- softness: "soft",
9147
- position: "bottom"
9148
- },
9149
- effects: {
9150
- hover: [{
9151
- effectId: "lift",
9152
- options: { translateY: "-1px" }
9153
- }],
9154
- active: [{
9155
- effectId: "scale-down",
9156
- options: { scale: "0.98" }
9157
- }]
9158
- }
9159
- },
9160
- {
9161
- id: "secondary",
9162
- name: "Secondary",
9163
- enabled: true,
9164
- priority: 2,
9165
- background: { type: "transparent" },
9166
- textColorToken: "primary",
9167
- borderRadius: "rounded-full",
9168
- border: {
9169
- widthClass: "border-2",
9170
- colorToken: "primary"
9171
- },
9172
- effects: { hover: [{
9173
- effectId: "background-on-hover",
9174
- options: { colorToken: "surface" }
9175
- }] }
9135
+ variants: [
9136
+ {
9137
+ id: "primary",
9138
+ name: "Primary",
9139
+ enabled: true,
9140
+ priority: 1,
9141
+ background: {
9142
+ type: "solid",
9143
+ colorToken: "primary"
9176
9144
  },
9177
- {
9178
- id: "outline",
9179
- name: "Outline",
9180
- enabled: true,
9181
- priority: 3,
9182
- background: { type: "transparent" },
9183
- textColorToken: "text",
9184
- borderRadius: "rounded-full",
9185
- border: {
9186
- widthClass: "border",
9187
- colorToken: "border"
9188
- },
9189
- effects: { hover: [{
9190
- effectId: "background-on-hover",
9191
- options: { colorToken: "surface" }
9192
- }] }
9145
+ textColorToken: "primaryForeground",
9146
+ borderRadius: "rounded-full",
9147
+ shadow: {
9148
+ elevation: "low",
9149
+ softness: "soft",
9150
+ position: "bottom"
9193
9151
  },
9194
- {
9195
- id: "ghost",
9196
- name: "Ghost",
9197
- enabled: true,
9198
- priority: 3,
9199
- background: { type: "transparent" },
9200
- textColorToken: "text",
9201
- borderRadius: "rounded-full",
9202
- effects: { hover: [{
9203
- effectId: "background-on-hover",
9204
- options: { colorToken: "surface" }
9205
- }] }
9152
+ effects: {
9153
+ hover: [{
9154
+ effectId: "lift",
9155
+ options: { translateY: "-1px" }
9156
+ }],
9157
+ active: [{
9158
+ effectId: "scale-down",
9159
+ options: { scale: "0.98" }
9160
+ }]
9206
9161
  }
9207
- ]
9162
+ },
9163
+ {
9164
+ id: "secondary",
9165
+ name: "Secondary",
9166
+ enabled: true,
9167
+ priority: 2,
9168
+ background: { type: "transparent" },
9169
+ textColorToken: "primary",
9170
+ borderRadius: "rounded-full",
9171
+ border: {
9172
+ widthClass: "border-2",
9173
+ colorToken: "primary"
9174
+ },
9175
+ effects: { hover: [{
9176
+ effectId: "background-on-hover",
9177
+ options: { colorToken: "surface" }
9178
+ }] }
9179
+ },
9180
+ {
9181
+ id: "outline",
9182
+ name: "Outline",
9183
+ enabled: true,
9184
+ priority: 3,
9185
+ background: { type: "transparent" },
9186
+ textColorToken: "text",
9187
+ borderRadius: "rounded-full",
9188
+ border: {
9189
+ widthClass: "border",
9190
+ colorToken: "border"
9191
+ },
9192
+ effects: { hover: [{
9193
+ effectId: "background-on-hover",
9194
+ options: { colorToken: "surface" }
9195
+ }] }
9196
+ },
9197
+ {
9198
+ id: "ghost",
9199
+ name: "Ghost",
9200
+ enabled: true,
9201
+ priority: 3,
9202
+ background: { type: "transparent" },
9203
+ textColorToken: "text",
9204
+ borderRadius: "rounded-full",
9205
+ effects: { hover: [{
9206
+ effectId: "background-on-hover",
9207
+ options: { colorToken: "surface" }
9208
+ }] }
9209
+ }
9210
+ ]
9211
+ }
9212
+ });
9213
+ //#endregion
9214
+ //#region ../theme-core/src/buttons/personalities/two-tone-pill.ts
9215
+ const solidSecondary = {
9216
+ id: "secondary",
9217
+ name: "Secondary",
9218
+ enabled: true,
9219
+ priority: 2,
9220
+ background: {
9221
+ type: "solid",
9222
+ colorToken: "secondary"
9223
+ },
9224
+ textColorToken: "onSecondary",
9225
+ borderRadius: "rounded-full",
9226
+ shadow: {
9227
+ elevation: "none",
9228
+ softness: null,
9229
+ position: "bottom"
9230
+ },
9231
+ effects: {
9232
+ hover: [{
9233
+ effectId: "background-on-hover-alpha",
9234
+ options: {
9235
+ colorToken: "secondary",
9236
+ opacity: 88
9237
+ }
9238
+ }],
9239
+ active: [{
9240
+ effectId: "scale-down",
9241
+ options: { scale: "0.98" }
9242
+ }]
9243
+ }
9244
+ };
9245
+ //#endregion
9246
+ //#region ../theme-core/src/buttons/personalities/index.ts
9247
+ const buttonPersonalities = [
9248
+ softPill,
9249
+ defineButtonPersonality({
9250
+ id: "two-tone-pill",
9251
+ name: "Two-tone Pill",
9252
+ description: "Rounded pills with distinct solid primary and secondary brand colours.",
9253
+ tags: softPill.tags,
9254
+ buttonSystem: {
9255
+ ...softPill.buttonSystem,
9256
+ variants: softPill.buttonSystem.variants.map((variant) => variant.id === "secondary" ? solidSecondary : variant)
9208
9257
  }
9209
9258
  }),
9210
9259
  earthPill,
@@ -1,4 +1,4 @@
1
- import { $ as themeColorTokenSchema } from "./propsDecoder-oR-M-ISN.mjs";
1
+ import { $ as themeColorTokenSchema } from "./propsDecoder-BRWBiH7i.mjs";
2
2
  import { z as z$1 } from "zod";
3
3
  //#region ../theme-core/src/buttons/types.ts
4
4
  /**
@@ -1686,104 +1686,153 @@ const showtimePill = defineButtonPersonality({
1686
1686
  }
1687
1687
  });
1688
1688
  //#endregion
1689
- //#region ../theme-core/src/buttons/personalities/index.ts
1690
- const buttonPersonalities = [
1691
- defineButtonPersonality({
1692
- id: "soft-pill",
1693
- name: "Soft Pill",
1694
- description: "Rounded pills with a gentle lift on hover. Quietly modern.",
1695
- tags: {
1696
- tone: "classic",
1697
- energy: "calm",
1698
- motion: "subtle",
1699
- era: "organic"
1689
+ //#region ../theme-core/src/buttons/personalities/soft-pill.ts
1690
+ /**
1691
+ * Soft Pill — rounded-full pill buttons with a hover lift. The default for
1692
+ * Calm Studio and Modern Wellness; reads as quietly modern and welcoming.
1693
+ */
1694
+ const softPill = defineButtonPersonality({
1695
+ id: "soft-pill",
1696
+ name: "Soft Pill",
1697
+ description: "Rounded pills with a gentle lift on hover. Quietly modern.",
1698
+ tags: {
1699
+ tone: "classic",
1700
+ energy: "calm",
1701
+ motion: "subtle",
1702
+ era: "organic"
1703
+ },
1704
+ buttonSystem: {
1705
+ global: {
1706
+ cornerStyle: "pill",
1707
+ shadow: "low",
1708
+ textTransform: "none",
1709
+ fontWeight: 500,
1710
+ borderWidth: 2,
1711
+ hoverTransform: "lift",
1712
+ hoverColor: "none"
1700
1713
  },
1701
- buttonSystem: {
1702
- global: {
1703
- cornerStyle: "pill",
1704
- shadow: "low",
1705
- textTransform: "none",
1706
- fontWeight: 500,
1707
- borderWidth: 2,
1708
- hoverTransform: "lift",
1709
- hoverColor: "none"
1710
- },
1711
- variants: [
1712
- {
1713
- id: "primary",
1714
- name: "Primary",
1715
- enabled: true,
1716
- priority: 1,
1717
- background: {
1718
- type: "solid",
1719
- colorToken: "primary"
1720
- },
1721
- textColorToken: "primaryForeground",
1722
- borderRadius: "rounded-full",
1723
- shadow: {
1724
- elevation: "low",
1725
- softness: "soft",
1726
- position: "bottom"
1727
- },
1728
- effects: {
1729
- hover: [{
1730
- effectId: "lift",
1731
- options: { translateY: "-1px" }
1732
- }],
1733
- active: [{
1734
- effectId: "scale-down",
1735
- options: { scale: "0.98" }
1736
- }]
1737
- }
1738
- },
1739
- {
1740
- id: "secondary",
1741
- name: "Secondary",
1742
- enabled: true,
1743
- priority: 2,
1744
- background: { type: "transparent" },
1745
- textColorToken: "primary",
1746
- borderRadius: "rounded-full",
1747
- border: {
1748
- widthClass: "border-2",
1749
- colorToken: "primary"
1750
- },
1751
- effects: { hover: [{
1752
- effectId: "background-on-hover",
1753
- options: { colorToken: "surface" }
1754
- }] }
1714
+ variants: [
1715
+ {
1716
+ id: "primary",
1717
+ name: "Primary",
1718
+ enabled: true,
1719
+ priority: 1,
1720
+ background: {
1721
+ type: "solid",
1722
+ colorToken: "primary"
1755
1723
  },
1756
- {
1757
- id: "outline",
1758
- name: "Outline",
1759
- enabled: true,
1760
- priority: 3,
1761
- background: { type: "transparent" },
1762
- textColorToken: "text",
1763
- borderRadius: "rounded-full",
1764
- border: {
1765
- widthClass: "border",
1766
- colorToken: "border"
1767
- },
1768
- effects: { hover: [{
1769
- effectId: "background-on-hover",
1770
- options: { colorToken: "surface" }
1771
- }] }
1724
+ textColorToken: "primaryForeground",
1725
+ borderRadius: "rounded-full",
1726
+ shadow: {
1727
+ elevation: "low",
1728
+ softness: "soft",
1729
+ position: "bottom"
1772
1730
  },
1773
- {
1774
- id: "ghost",
1775
- name: "Ghost",
1776
- enabled: true,
1777
- priority: 3,
1778
- background: { type: "transparent" },
1779
- textColorToken: "text",
1780
- borderRadius: "rounded-full",
1781
- effects: { hover: [{
1782
- effectId: "background-on-hover",
1783
- options: { colorToken: "surface" }
1784
- }] }
1731
+ effects: {
1732
+ hover: [{
1733
+ effectId: "lift",
1734
+ options: { translateY: "-1px" }
1735
+ }],
1736
+ active: [{
1737
+ effectId: "scale-down",
1738
+ options: { scale: "0.98" }
1739
+ }]
1785
1740
  }
1786
- ]
1741
+ },
1742
+ {
1743
+ id: "secondary",
1744
+ name: "Secondary",
1745
+ enabled: true,
1746
+ priority: 2,
1747
+ background: { type: "transparent" },
1748
+ textColorToken: "primary",
1749
+ borderRadius: "rounded-full",
1750
+ border: {
1751
+ widthClass: "border-2",
1752
+ colorToken: "primary"
1753
+ },
1754
+ effects: { hover: [{
1755
+ effectId: "background-on-hover",
1756
+ options: { colorToken: "surface" }
1757
+ }] }
1758
+ },
1759
+ {
1760
+ id: "outline",
1761
+ name: "Outline",
1762
+ enabled: true,
1763
+ priority: 3,
1764
+ background: { type: "transparent" },
1765
+ textColorToken: "text",
1766
+ borderRadius: "rounded-full",
1767
+ border: {
1768
+ widthClass: "border",
1769
+ colorToken: "border"
1770
+ },
1771
+ effects: { hover: [{
1772
+ effectId: "background-on-hover",
1773
+ options: { colorToken: "surface" }
1774
+ }] }
1775
+ },
1776
+ {
1777
+ id: "ghost",
1778
+ name: "Ghost",
1779
+ enabled: true,
1780
+ priority: 3,
1781
+ background: { type: "transparent" },
1782
+ textColorToken: "text",
1783
+ borderRadius: "rounded-full",
1784
+ effects: { hover: [{
1785
+ effectId: "background-on-hover",
1786
+ options: { colorToken: "surface" }
1787
+ }] }
1788
+ }
1789
+ ]
1790
+ }
1791
+ });
1792
+ //#endregion
1793
+ //#region ../theme-core/src/buttons/personalities/two-tone-pill.ts
1794
+ const solidSecondary = {
1795
+ id: "secondary",
1796
+ name: "Secondary",
1797
+ enabled: true,
1798
+ priority: 2,
1799
+ background: {
1800
+ type: "solid",
1801
+ colorToken: "secondary"
1802
+ },
1803
+ textColorToken: "onSecondary",
1804
+ borderRadius: "rounded-full",
1805
+ shadow: {
1806
+ elevation: "none",
1807
+ softness: null,
1808
+ position: "bottom"
1809
+ },
1810
+ effects: {
1811
+ hover: [{
1812
+ effectId: "background-on-hover-alpha",
1813
+ options: {
1814
+ colorToken: "secondary",
1815
+ opacity: 88
1816
+ }
1817
+ }],
1818
+ active: [{
1819
+ effectId: "scale-down",
1820
+ options: { scale: "0.98" }
1821
+ }]
1822
+ }
1823
+ };
1824
+ //#endregion
1825
+ //#region ../theme-core/src/buttons/personalities/index.ts
1826
+ const buttonPersonalities = [
1827
+ softPill,
1828
+ defineButtonPersonality({
1829
+ id: "two-tone-pill",
1830
+ name: "Two-tone Pill",
1831
+ description: "Rounded pills with distinct solid primary and secondary brand colours.",
1832
+ tags: softPill.tags,
1833
+ buttonSystem: {
1834
+ ...softPill.buttonSystem,
1835
+ variants: softPill.buttonSystem.variants.map((variant) => variant.id === "secondary" ? solidSecondary : variant)
1787
1836
  }
1788
1837
  }),
1789
1838
  earthPill,
@@ -1,4 +1,4 @@
1
- import { t as defineIslandPropsDecoder } from "./propsDecoder-oR-M-ISN.mjs";
1
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BRWBiH7i.mjs";
2
2
  import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
3
3
  import { n as normalizeCarouselProps, t as CarouselNodeClient } from "./carousel.client-CpwTUhIo.mjs";
4
4
  import "react";
@@ -1,6 +1,6 @@
1
- import { t as defineIslandPropsDecoder } from "./propsDecoder-oR-M-ISN.mjs";
2
- import { t as CartController } from "./shop-commerce-BM-AoD3M.mjs";
3
- import { t as mountShopBlockIsland } from "./shopShared-D0SKO2Cu.mjs";
1
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BRWBiH7i.mjs";
2
+ import { t as CartController } from "./shop-commerce-BuxsFate.mjs";
3
+ import { t as mountShopBlockIsland } from "./shopShared-D2naaOes.mjs";
4
4
  import "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region ../blocks/src/system/runtime/nodes/cart.client.tsx
@@ -1,6 +1,6 @@
1
- import { t as defineIslandPropsDecoder } from "./propsDecoder-oR-M-ISN.mjs";
2
- import { n as CheckoutController } from "./shop-commerce-BM-AoD3M.mjs";
3
- import { t as mountShopBlockIsland } from "./shopShared-D0SKO2Cu.mjs";
1
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BRWBiH7i.mjs";
2
+ import { n as CheckoutController } from "./shop-commerce-BuxsFate.mjs";
3
+ import { t as mountShopBlockIsland } from "./shopShared-D2naaOes.mjs";
4
4
  import "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region ../blocks/src/system/runtime/nodes/checkout.client.tsx