@riverbankcms/sdk 0.60.12 → 0.60.14

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 (91) hide show
  1. package/README.md +10 -7
  2. package/dist/_dts/api/src/bookingConfig.d.ts +31 -1
  3. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +38 -1
  4. package/dist/_dts/api/src/bookingOperations.d.ts +3 -0
  5. package/dist/_dts/api/src/bookingRecords.d.ts +45 -0
  6. package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +4 -4
  7. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -5
  8. package/dist/_dts/api/src/communications.d.ts +1 -1
  9. package/dist/_dts/api/src/contentRuntime.d.ts +1 -1
  10. package/dist/_dts/api/src/endpoints.d.ts +89 -9
  11. package/dist/_dts/api/src/index.d.ts +2 -1
  12. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +1 -0
  13. package/dist/_dts/api/src/seoEndpoints.d.ts +2 -0
  14. package/dist/_dts/api/src/siteAssets.d.ts +0 -10
  15. package/dist/_dts/api/src/types.d.ts +1 -1
  16. package/dist/_dts/blocks/src/PageRenderer.d.ts +1 -0
  17. package/dist/_dts/blocks/src/index.d.ts +1 -0
  18. package/dist/_dts/blocks/src/portal/types.d.ts +1 -1
  19. package/dist/_dts/blocks/src/server.d.ts +1 -0
  20. package/dist/_dts/blocks/src/subroutes/fold.d.ts +40 -0
  21. package/dist/_dts/blocks/src/subroutes/formatDate.d.ts +12 -0
  22. package/dist/_dts/blocks/src/subroutes/index.d.ts +3 -0
  23. package/dist/_dts/blocks/src/subroutes/kinds.d.ts +32 -0
  24. package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +3 -1
  25. package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +2 -0
  26. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +1 -0
  27. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +1 -0
  28. package/dist/_dts/blocks/src/system/spacing.d.ts +2 -1
  29. package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +5 -0
  30. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +5 -1
  31. package/dist/_dts/core/src/booking-refunds.d.ts +8 -0
  32. package/dist/_dts/core/src/participant-identity.d.ts +1 -73
  33. package/dist/_dts/core/src/participants.d.ts +19 -7
  34. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +188 -36
  35. package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +3 -3
  36. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +3 -3
  37. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +3 -3
  38. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +3 -3
  39. package/dist/_dts/preview-next/src/client/preview/SubrouteNoticePanel.d.ts +13 -0
  40. package/dist/_dts/preview-next/src/client/preview/subrouteNotice.d.ts +26 -0
  41. package/dist/_dts/sdk/src/contracts/page.d.ts +1 -0
  42. package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -0
  43. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -0
  44. package/dist/_dts/sdk/src/routing/resolvePageContent.d.ts +4 -5
  45. package/dist/_dts/sdk/src/version.d.ts +1 -1
  46. package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
  47. package/dist/_dts/theme-core/src/buttons/personalities/showtime-pill.d.ts +17 -0
  48. package/dist/_dts/theme-core/src/buttons/types.d.ts +1 -1
  49. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  50. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +66 -30
  51. package/dist/_dts/theme-core/src/palette/variants/brand-led.d.ts +16 -0
  52. package/dist/_dts/theme-core/src/palette/variants/index.d.ts +15 -0
  53. package/dist/_dts/theme-core/src/palette/variants/types.d.ts +3 -3
  54. package/dist/_dts/theme-core/src/schema.d.ts +174 -6
  55. package/dist/_dts/theme-core/src/site-styles/appearancePresets.d.ts +328 -15
  56. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +54 -2
  57. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +124 -0
  58. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
  59. package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -0
  60. package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +21 -0
  61. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +2 -1
  62. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
  63. package/dist/_dts/theme-core/src/site-styles/types.d.ts +135 -2
  64. package/dist/_dts/ui/src/badge.d.ts +1 -1
  65. package/dist/_dts/ui/src/button.d.ts +1 -1
  66. package/dist/cli/index.mjs +744 -176
  67. package/dist/client/bookings.mjs +115 -63
  68. package/dist/client/client.mjs +848 -227
  69. package/dist/client/hooks.mjs +737 -173
  70. package/dist/client/rendering/client.mjs +179 -100
  71. package/dist/client/rendering/islands.mjs +179 -99
  72. package/dist/client/rendering.mjs +847 -226
  73. package/dist/preview-next/before-render.mjs +103 -16
  74. package/dist/preview-next/client/runtime.mjs +1615 -319
  75. package/dist/preview-next/middleware.mjs +103 -16
  76. package/dist/server/components.mjs +838 -227
  77. package/dist/server/config-validation.mjs +737 -173
  78. package/dist/server/config.mjs +737 -173
  79. package/dist/server/data.mjs +737 -173
  80. package/dist/server/index.mjs +106 -79
  81. package/dist/server/next.mjs +841 -229
  82. package/dist/server/page-converter.mjs +589 -144
  83. package/dist/server/prebuild.mjs +1 -1
  84. package/dist/server/rendering/server.mjs +838 -227
  85. package/dist/server/rendering.mjs +838 -227
  86. package/dist/server/routing.mjs +771 -178
  87. package/dist/server/server.mjs +738 -174
  88. package/dist/server/theme-bridge.mjs +216 -39
  89. package/dist/server/theme.mjs +139 -37
  90. package/dist/styles/index.css +44 -2
  91. package/package.json +1 -1
@@ -3457,6 +3457,111 @@ var pebble = defineButtonPersonality({
3457
3457
  }
3458
3458
  });
3459
3459
 
3460
+ // ../theme-core/src/buttons/personalities/showtime-pill.ts
3461
+ var showtimePill = defineButtonPersonality({
3462
+ id: "showtime-pill",
3463
+ name: "Showtime Pill",
3464
+ description: "Bold pill buttons with uppercase labels, generous padding, and a playful pop.",
3465
+ tags: { tone: "bold", energy: "vibrant", motion: "expressive", era: "modern" },
3466
+ buttonSystem: {
3467
+ global: {
3468
+ cornerStyle: "pill",
3469
+ shadow: "low",
3470
+ textTransform: "uppercase",
3471
+ fontWeight: 700,
3472
+ borderWidth: 2,
3473
+ hoverTransform: "lift",
3474
+ hoverColor: "darken",
3475
+ typography: "body",
3476
+ paddingPreset: "spacious",
3477
+ italic: false
3478
+ },
3479
+ sizes: {
3480
+ sm: { padding: "0.625rem 1.25rem", fontSize: "0.875rem" },
3481
+ md: { padding: "0.875rem 1.75rem", fontSize: "1rem" },
3482
+ lg: { padding: "1.125rem 2.25rem", fontSize: "1.125rem" },
3483
+ xl: { padding: "1.125rem 2.25rem", fontSize: "1.125rem" }
3484
+ },
3485
+ variants: [
3486
+ {
3487
+ id: "primary",
3488
+ name: "Primary",
3489
+ enabled: true,
3490
+ priority: 1,
3491
+ background: { type: "solid", colorToken: "primary" },
3492
+ textColorToken: "background",
3493
+ borderRadius: "rounded-full",
3494
+ effects: {
3495
+ hover: [{ effectId: "pop" }]
3496
+ }
3497
+ },
3498
+ {
3499
+ id: "secondary",
3500
+ name: "Secondary",
3501
+ enabled: true,
3502
+ priority: 2,
3503
+ background: { type: "transparent" },
3504
+ textColorToken: "primary",
3505
+ borderRadius: "rounded-full",
3506
+ border: { widthClass: "border-2", colorToken: "primary" },
3507
+ effects: {
3508
+ hover: [{ effectId: "pop" }]
3509
+ }
3510
+ },
3511
+ {
3512
+ id: "hero",
3513
+ name: "Hero",
3514
+ enabled: true,
3515
+ priority: 1,
3516
+ background: { type: "solid", colorToken: "secondary" },
3517
+ textColorToken: "primary",
3518
+ borderRadius: "rounded-full",
3519
+ effects: {
3520
+ hover: [{ effectId: "pop" }]
3521
+ }
3522
+ },
3523
+ {
3524
+ id: "header",
3525
+ name: "Header",
3526
+ enabled: true,
3527
+ priority: 2,
3528
+ background: { type: "solid", colorToken: "background" },
3529
+ textColorToken: "primary",
3530
+ borderRadius: "rounded-full",
3531
+ border: { widthClass: "border-2", colorToken: "primary" },
3532
+ effects: {
3533
+ hover: [{ effectId: "background-on-hover", options: { colorToken: "surface" } }]
3534
+ }
3535
+ },
3536
+ {
3537
+ id: "outline",
3538
+ name: "Outline",
3539
+ enabled: true,
3540
+ priority: 3,
3541
+ background: { type: "transparent" },
3542
+ textColorToken: "primary",
3543
+ borderRadius: "rounded-full",
3544
+ border: { widthClass: "border-2", colorToken: "primary" },
3545
+ effects: {
3546
+ hover: [{ effectId: "background-on-hover", options: { colorToken: "background" } }]
3547
+ }
3548
+ },
3549
+ {
3550
+ id: "ghost",
3551
+ name: "Ghost",
3552
+ enabled: true,
3553
+ priority: 3,
3554
+ background: { type: "transparent" },
3555
+ textColorToken: "primary",
3556
+ borderRadius: "rounded-full",
3557
+ effects: {
3558
+ hover: [{ effectId: "background-on-hover", options: { colorToken: "surface" } }]
3559
+ }
3560
+ }
3561
+ ]
3562
+ }
3563
+ });
3564
+
3460
3565
  // ../theme-core/src/buttons/personalities/soft-pill.ts
3461
3566
  var softPill = defineButtonPersonality({
3462
3567
  id: "soft-pill",
@@ -3537,7 +3642,8 @@ var buttonPersonalities = [
3537
3642
  editorialLink,
3538
3643
  pebble,
3539
3644
  inkStamp,
3540
- brushedWash
3645
+ brushedWash,
3646
+ showtimePill
3541
3647
  ];
3542
3648
  var personalitiesById = new Map(
3543
3649
  buttonPersonalities.map((p) => [p.id, p])
@@ -3752,68 +3858,6 @@ function addLocalScheduleDays(date, days) {
3752
3858
  };
3753
3859
  }
3754
3860
 
3755
- // ../core/src/participant-identity.ts
3756
- var PARTICIPANT_PARTICIPATION_IDENTITY_FIELD_CLASSIFICATION_BY_FIELD = {
3757
- participant_id: {
3758
- field: "participant_id",
3759
- role: "canonical_link",
3760
- canonicalSource: "booking_participants.id",
3761
- contractAction: "tighten_in_839",
3762
- notes: "Canonical person-subject link for a participation. #839 should enforce this once preflight is clean."
3763
- },
3764
- display_name: {
3765
- field: "display_name",
3766
- role: "contextual_snapshot",
3767
- canonicalSource: "booking_participants.display_name for live identity",
3768
- contractAction: "retain_as_snapshot",
3769
- notes: "Participation-time display context. Readers must not treat it as mutable live participant identity."
3770
- },
3771
- email: {
3772
- field: "email",
3773
- role: "contextual_snapshot",
3774
- canonicalSource: "booking_participants.email_normalized for live email identity",
3775
- contractAction: "retain_as_snapshot",
3776
- notes: "Participation-time contact snapshot used for notifications/context. Live identity belongs to the participant row."
3777
- },
3778
- email_normalized: {
3779
- field: "email_normalized",
3780
- role: "contextual_snapshot",
3781
- canonicalSource: "booking_participants.email_normalized for live email identity",
3782
- contractAction: "retain_as_snapshot",
3783
- notes: "Normalized snapshot/dedupe helper for the participation slot, not live person authority."
3784
- },
3785
- phone: {
3786
- field: "phone",
3787
- role: "contextual_snapshot",
3788
- canonicalSource: "booking_participants.phone for live phone identity",
3789
- contractAction: "retain_as_snapshot",
3790
- notes: "Participation-time phone context. Live identity belongs to the participant row."
3791
- },
3792
- identity_state: {
3793
- field: "identity_state",
3794
- role: "materialization_state",
3795
- canonicalSource: "booking_participants.identity_state for subject state",
3796
- contractAction: "review_for_later_contract_cleanup",
3797
- notes: "Slot materialization state: booker_supplied, contactable, portal_claimed, or staff_verified."
3798
- },
3799
- event_attendee_guest_id: {
3800
- field: "event_attendee_guest_id",
3801
- role: "compatibility_projection",
3802
- canonicalSource: "canonical participant slot plus #838 event guest compatibility projection",
3803
- contractAction: "retain_as_projection",
3804
- notes: "Compatibility FK for event guest read models. It is not person identity authority."
3805
- }
3806
- };
3807
- var PARTICIPANT_PARTICIPATION_IDENTITY_FIELD_CLASSIFICATIONS = [
3808
- PARTICIPANT_PARTICIPATION_IDENTITY_FIELD_CLASSIFICATION_BY_FIELD.participant_id,
3809
- PARTICIPANT_PARTICIPATION_IDENTITY_FIELD_CLASSIFICATION_BY_FIELD.display_name,
3810
- PARTICIPANT_PARTICIPATION_IDENTITY_FIELD_CLASSIFICATION_BY_FIELD.email,
3811
- PARTICIPANT_PARTICIPATION_IDENTITY_FIELD_CLASSIFICATION_BY_FIELD.email_normalized,
3812
- PARTICIPANT_PARTICIPATION_IDENTITY_FIELD_CLASSIFICATION_BY_FIELD.phone,
3813
- PARTICIPANT_PARTICIPATION_IDENTITY_FIELD_CLASSIFICATION_BY_FIELD.identity_state,
3814
- PARTICIPANT_PARTICIPATION_IDENTITY_FIELD_CLASSIFICATION_BY_FIELD.event_attendee_guest_id
3815
- ];
3816
-
3817
3861
  // ../theme-core/src/accordions/types.ts
3818
3862
  import { z as z4 } from "zod";
3819
3863
  var accordionIconSchema = z4.enum([
@@ -7658,6 +7702,14 @@ var componentShadowSchema = z9.object({
7658
7702
  elevation: z9.enum(["none", "sm", "md", "lg", "xl", "2xl"]).default("sm")
7659
7703
  });
7660
7704
 
7705
+ // ../theme-core/src/layout/generateLayoutCss.ts
7706
+ var waveTransitionMask = svgDataUrl(
7707
+ "<svg viewBox='0 0 1440 72' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><path d='M0 72V46C130 55 260 24 420 30C590 36 690 62 860 42C1035 21 1160 47 1305 36C1365 31 1415 33 1440 38V72H0Z' fill='white'/></svg>"
7708
+ );
7709
+ function svgDataUrl(svg) {
7710
+ return `data:image/svg+xml,${encodeURIComponent(svg)}`;
7711
+ }
7712
+
7661
7713
  // ../theme-core/src/blocks/vars/event-registration.ts
7662
7714
  function generateEventRegistrationVars({
7663
7715
  themeId