@riverbankcms/sdk 0.104.1 → 0.104.3

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 (120) hide show
  1. package/dist/{PreviewEditorSidebar-CmaPXdKu.mjs → PreviewEditorSidebar-CBMhU9p_.mjs} +3 -3
  2. package/dist/{PreviewEditorUI-C5xRTh2b.mjs → PreviewEditorUI-C5KEw4M8.mjs} +2 -2
  3. package/dist/{SdkPreviewModeRuntime-Eks51NcN.mjs → SdkPreviewModeRuntime-Iq12HjL7.mjs} +1142 -177
  4. package/dist/{SiteChromeCustomizeContext-Bt8zb3qu.mjs → SiteChromeCustomizeContext-Cx0NMdyv.mjs} +1640 -877
  5. package/dist/_dts/ai/src/contracts/proposals.d.ts +10 -0
  6. package/dist/_dts/blocks/src/primitives/layout/Grid.d.ts +12 -8
  7. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +3 -0
  8. package/dist/_dts/blocks/src/system/blocks/events/shared/layout.d.ts +11 -1
  9. package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +7 -1
  10. package/dist/_dts/blocks/src/system/constants/events.d.ts +1 -1
  11. package/dist/_dts/blocks/src/system/fragments/library/testimonialsCarousel.d.ts +12 -0
  12. package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +2 -2
  13. package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +14 -0
  14. package/dist/_dts/blocks/src/system/runtime/nodes/buttonAffordance.d.ts +33 -0
  15. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekBoardView.d.ts +28 -0
  16. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCapacity.d.ts +32 -0
  17. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +1 -0
  18. package/dist/_dts/blocks/src/system/runtime/nodes/svg.d.ts +77 -0
  19. package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +2 -0
  20. package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +3 -40
  21. package/dist/_dts/blocks/src/system/transforms/registry/formatting.d.ts +14 -0
  22. package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +11 -0
  23. package/dist/_dts/core/src/branded.d.ts +5 -0
  24. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +18 -0
  25. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +2 -2
  26. package/dist/_dts/sdk/src/version.d.ts +1 -1
  27. package/dist/_dts/theme-core/src/ThemeScope.d.ts +1 -1
  28. package/dist/_dts/theme-core/src/buttons/affordanceIcons.d.ts +29 -0
  29. package/dist/_dts/theme-core/src/buttons/generateButtonCss.d.ts +6 -0
  30. package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -0
  31. package/dist/_dts/theme-core/src/buttons/personalities/flat-ink.d.ts +20 -0
  32. package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
  33. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +4 -0
  34. package/dist/_dts/theme-core/src/buttons/types.d.ts +34 -0
  35. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  36. package/dist/_dts/theme-core/src/gradients/types.d.ts +27 -3
  37. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +51 -15
  38. package/dist/_dts/theme-core/src/palette/curated/brand-led.d.ts +13 -0
  39. package/dist/_dts/theme-core/src/palette/curated/index.d.ts +12 -0
  40. package/dist/_dts/theme-core/src/palette/historicalThemePalette.d.ts +44 -0
  41. package/dist/_dts/theme-core/src/palette/index.d.ts +1 -0
  42. package/dist/_dts/theme-core/src/palette/legacySelection.d.ts +13 -2
  43. package/dist/_dts/theme-core/src/palette/persistenceReadSource.d.ts +17 -2
  44. package/dist/_dts/theme-core/src/palette/themePaletteCompatibility.d.ts +3 -4
  45. package/dist/_dts/theme-core/src/runtime/themeCssVarNames.d.ts +1 -0
  46. package/dist/_dts/theme-core/src/schema.d.ts +108 -26
  47. package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +2 -1
  48. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +50 -1
  49. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +2 -2
  50. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
  51. package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +56 -1
  52. package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +16 -1
  53. package/dist/_dts/theme-core/src/status/index.d.ts +0 -1
  54. package/dist/_dts/theme-core/src/surfaces/foregroundContract.d.ts +19 -0
  55. package/dist/_dts/theme-core/src/surfaces/foregroundRoles.d.ts +9 -0
  56. package/dist/_dts/theme-core/src/surfaces/index.d.ts +2 -0
  57. package/dist/_dts/ui/src/button.d.ts +1 -1
  58. package/dist/cli/index.mjs +1558 -468
  59. package/dist/client/{DiscountCodeDisclosure-Dit2aItR.mjs → DiscountCodeDisclosure-BXM73_E5.mjs} +1 -1
  60. package/dist/client/{EventCombined.client-BnREyCjf.mjs → EventCombined.client-DT5elP7j.mjs} +4 -4
  61. package/dist/client/{EventListing.client-0uHld51x.mjs → EventListing.client-pTYGfV9C.mjs} +2 -2
  62. package/dist/client/{LeafletStaticMap-DJcvSfmj.mjs → LeafletStaticMap-dQrhlUe3.mjs} +1 -1
  63. package/dist/client/{MagicLinkForm-EAsIktfw.mjs → MagicLinkForm-u6Dul4j5.mjs} +2 -2
  64. package/dist/client/{StepIndicator-CRR17tYI.mjs → StepIndicator-nWqineJ2.mjs} +2 -2
  65. package/dist/client/{accordion-B47HIuuH.mjs → accordion-CSJcTUyH.mjs} +1 -1
  66. package/dist/client/{bookingForm-I1E-8F9P.mjs → bookingForm-C73wOuVa.mjs} +6 -6
  67. package/dist/client/bookings.mjs +137 -1
  68. package/dist/client/{buttons-BbPn8OKA.mjs → buttons-DfYyqt8C.mjs} +138 -2
  69. package/dist/client/{carousel-OlM7SyBs.mjs → carousel-fMBb0JSc.mjs} +1 -1
  70. package/dist/client/{cart-BKpG5jz6.mjs → cart-BtaCwT3S.mjs} +3 -3
  71. package/dist/client/{checkout-Dmmr6qoU.mjs → checkout-DkTwZSnh.mjs} +3 -3
  72. package/dist/client/client.mjs +2327 -542
  73. package/dist/client/{colorStyles-DuW4Fjqd.mjs → colorStyles-Wyl6JujD.mjs} +45 -4
  74. package/dist/client/{courseRegistration-CflZiqGk.mjs → courseRegistration-DnLmapJu.mjs} +7 -7
  75. package/dist/client/{eventCalendar-BvoLWcp-.mjs → eventCalendar-BvLOc9KY.mjs} +165 -5
  76. package/dist/client/{eventCombined-DsrO8t_t.mjs → eventCombined-kShgJPQr.mjs} +2 -2
  77. package/dist/client/{eventDetails-C3hxgcJm.mjs → eventDetails-C5NTM0Vo.mjs} +3 -3
  78. package/dist/client/{eventListing-C-hb237X.mjs → eventListing-B82ZdKP6.mjs} +2 -2
  79. package/dist/client/{eventRegistration-B0gyzDGi.mjs → eventRegistration-qJVFqBWo.mjs} +7 -7
  80. package/dist/client/{form-C_RUi6oJ.mjs → form-BvAcKiuu.mjs} +2 -2
  81. package/dist/client/{headerSection-IKQiD2U0.mjs → headerSection-NvAiEHAg.mjs} +3 -3
  82. package/dist/client/hooks.mjs +1034 -356
  83. package/dist/client/{locationMap-8ZBrMzRJ.mjs → locationMap-D0j52xfI.mjs} +3 -3
  84. package/dist/client/{media-CZJKL7fi.mjs → media-BCW_g2cQ.mjs} +1 -1
  85. package/dist/client/{newsletterForm-CYk3ucwj.mjs → newsletterForm-B8_i93qH.mjs} +2 -2
  86. package/dist/client/{pricing-B5GmvfIH.mjs → pricing-DIYnyHOk.mjs} +1 -1
  87. package/dist/client/{productDetail-BjS2Dqzo.mjs → productDetail-w0eAHkuQ.mjs} +3 -3
  88. package/dist/client/{productList-BOHvC8My.mjs → productList-Vsguq5Xt.mjs} +3 -3
  89. package/dist/client/{propsDecoder-WS6UEJwZ.mjs → propsDecoder-CD2pJ1WB.mjs} +37 -2
  90. package/dist/client/rendering/client.mjs +1722 -760
  91. package/dist/client/rendering/islands.mjs +19 -19
  92. package/dist/client/rendering.mjs +2303 -518
  93. package/dist/client/{shop-CON03-wN.mjs → shop-Dgxs-Q8F.mjs} +6 -6
  94. package/dist/client/{shop-commerce-DlqrFgH8.mjs → shop-commerce-DJAhsTaT.mjs} +6 -6
  95. package/dist/client/{shop-commerce-store-l74-Kne6.mjs → shop-commerce-store-CfCXltXW.mjs} +1 -1
  96. package/dist/client/{shopShared-CQheEXSg.mjs → shopShared-CmDcPXUt.mjs} +2 -2
  97. package/dist/client/{useDiscountCodeUi-v6OluyWl.mjs → useDiscountCodeUi-CirrT2bM.mjs} +1 -1
  98. package/dist/client/{useEventFilters-BqSTcNOf.mjs → useEventFilters-CNZxlCcO.mjs} +5 -5
  99. package/dist/client/{usePolling-DMfADjIF.mjs → usePolling-Baks_iBI.mjs} +2 -2
  100. package/dist/preview-next/client/runtime.mjs +3 -3
  101. package/dist/{sdk-runtime-BUmJ0DaT.mjs → sdk-runtime-BfNiFeNJ.mjs} +1 -1
  102. package/dist/{separator-Dd-JYok7.mjs → separator-BhAR_Xmf.mjs} +1 -1
  103. package/dist/server/components.mjs +2293 -531
  104. package/dist/server/config-validation.mjs +1040 -357
  105. package/dist/server/config.mjs +1040 -357
  106. package/dist/server/data.mjs +1034 -356
  107. package/dist/server/index.mjs +1 -1
  108. package/dist/server/next.mjs +2296 -534
  109. package/dist/server/page-converter.mjs +1018 -324
  110. package/dist/server/prebuild.mjs +1 -1
  111. package/dist/server/rendering/server.mjs +2278 -521
  112. package/dist/server/rendering.mjs +2293 -531
  113. package/dist/server/routing.mjs +1092 -338
  114. package/dist/server/server.mjs +1016 -338
  115. package/dist/server/theme-bridge.mjs +1240 -77
  116. package/dist/server/theme.mjs +165 -5
  117. package/dist/styles/index.css +617 -34
  118. package/package.json +1 -1
  119. package/dist/_dts/blocks/src/system/transforms/registry/_utils/sectionForegroundStyles.d.ts +0 -2
  120. package/dist/_dts/theme-core/src/status/contextualColors.d.ts +0 -6
@@ -400,6 +400,10 @@ const buttonBorderSchema = z$1.object({
400
400
  widthClass: z$1.string(),
401
401
  colorToken: themeColorTokenSchema
402
402
  });
403
+ const buttonVariantAffordanceSchema = z$1.object({
404
+ iconId: z$1.string().min(1),
405
+ colorToken: themeColorTokenSchema.optional()
406
+ });
403
407
  const variantShadowSchema = z$1.object({
404
408
  elevation: z$1.enum([
405
409
  "none",
@@ -453,7 +457,8 @@ const buttonVariantSchema = z$1.object({
453
457
  border: buttonBorderSchema.optional(),
454
458
  hoverBackgroundToken: z$1.string().optional(),
455
459
  effects: variantEffectsSchema.optional(),
456
- sizes: variantSizeOverridesSchema.optional()
460
+ sizes: variantSizeOverridesSchema.optional(),
461
+ affordance: buttonVariantAffordanceSchema.optional()
457
462
  });
458
463
  const buttonSystemSchema = z$1.object({
459
464
  global: buttonGlobalSettingsSchema,
@@ -998,6 +1003,136 @@ const editorialLink = defineButtonPersonality({
998
1003
  }
999
1004
  });
1000
1005
  //#endregion
1006
+ //#region ../theme-core/src/buttons/personalities/flat-ink.ts
1007
+ /**
1008
+ * Flat Ink — a solid ink primary, a hairline ghost secondary, and a single
1009
+ * amber accent climax, all completely flat (no drop shadow) with a modest
1010
+ * radius. Reads as grounded, editorial and clinician-precise: the Fulcrum
1011
+ * physiotherapy voice. The primary shifts to the secondary (moss) on hover and
1012
+ * every variant lifts 2px; the amber accent is meant to be used sparingly as
1013
+ * the page's one conversion climax.
1014
+ */
1015
+ const flatInk = defineButtonPersonality({
1016
+ id: "flat-ink",
1017
+ name: "Flat Ink",
1018
+ description: "Flat solid-ink primary, hairline ghost secondary, and a single amber accent climax — modest radius, no shadow.",
1019
+ tags: {
1020
+ tone: "classic",
1021
+ energy: "calm",
1022
+ motion: "subtle",
1023
+ era: "editorial"
1024
+ },
1025
+ buttonSystem: {
1026
+ global: {
1027
+ cornerStyle: "rounded",
1028
+ shadow: "low",
1029
+ textTransform: "none",
1030
+ fontWeight: 600,
1031
+ borderWidth: 1,
1032
+ typography: "body",
1033
+ letterSpacing: "tight",
1034
+ paddingPreset: "default",
1035
+ hoverTransform: "lift",
1036
+ hoverColor: "none"
1037
+ },
1038
+ sizes: {
1039
+ sm: {
1040
+ padding: "0.625rem 1.125rem",
1041
+ fontSize: "text-sm"
1042
+ },
1043
+ md: { padding: "0.8125rem 1.375rem" },
1044
+ lg: {
1045
+ padding: "0.9375rem 1.625rem",
1046
+ fontSize: "text-lg"
1047
+ },
1048
+ xl: {
1049
+ padding: "1.0625rem 2rem",
1050
+ fontSize: "text-xl"
1051
+ }
1052
+ },
1053
+ variants: [
1054
+ {
1055
+ id: "primary",
1056
+ name: "Primary",
1057
+ enabled: true,
1058
+ priority: 1,
1059
+ background: {
1060
+ type: "solid",
1061
+ colorToken: "primary"
1062
+ },
1063
+ textColorToken: "primaryForeground",
1064
+ borderRadius: "rounded-lg",
1065
+ affordance: {
1066
+ iconId: "ArrowRight",
1067
+ colorToken: "accent"
1068
+ },
1069
+ shadow: {
1070
+ elevation: "none",
1071
+ softness: null,
1072
+ position: "bottom"
1073
+ },
1074
+ effects: { hover: [{
1075
+ effectId: "lift",
1076
+ options: { translateY: "-2px" }
1077
+ }, {
1078
+ effectId: "background-on-hover",
1079
+ options: { colorToken: "secondary" }
1080
+ }] }
1081
+ },
1082
+ {
1083
+ id: "secondary",
1084
+ name: "Secondary",
1085
+ enabled: true,
1086
+ priority: 2,
1087
+ background: { type: "transparent" },
1088
+ textColorToken: "primary",
1089
+ borderRadius: "rounded-lg",
1090
+ border: {
1091
+ widthClass: "border",
1092
+ colorToken: "border"
1093
+ },
1094
+ shadow: {
1095
+ elevation: "none",
1096
+ softness: null,
1097
+ position: "bottom"
1098
+ },
1099
+ effects: { hover: [{
1100
+ effectId: "lift",
1101
+ options: { translateY: "-2px" }
1102
+ }, {
1103
+ effectId: "background-on-hover",
1104
+ options: { colorToken: "surfaceAlt" }
1105
+ }] }
1106
+ },
1107
+ {
1108
+ id: "accent",
1109
+ name: "Accent",
1110
+ enabled: true,
1111
+ priority: 3,
1112
+ background: {
1113
+ type: "solid",
1114
+ colorToken: "accent"
1115
+ },
1116
+ textColorToken: "accentForeground",
1117
+ borderRadius: "rounded-lg",
1118
+ shadow: {
1119
+ elevation: "none",
1120
+ softness: null,
1121
+ position: "bottom"
1122
+ },
1123
+ affordance: {
1124
+ iconId: "ArrowRight",
1125
+ colorToken: "accentForeground"
1126
+ },
1127
+ effects: { hover: [{
1128
+ effectId: "lift",
1129
+ options: { translateY: "-2px" }
1130
+ }] }
1131
+ }
1132
+ ]
1133
+ }
1134
+ });
1135
+ //#endregion
1001
1136
  //#region ../theme-core/src/buttons/personalities/ink-stamp.ts
1002
1137
  /**
1003
1138
  * Ink Stamp — solid earthy fills with a bordered, hand-stamped block-print
@@ -1768,6 +1903,7 @@ const buttonPersonalities = [
1768
1903
  editorialLink,
1769
1904
  pebble,
1770
1905
  inkStamp,
1906
+ flatInk,
1771
1907
  brushedWash,
1772
1908
  showtimePill,
1773
1909
  joyStamp,
@@ -2109,11 +2245,31 @@ const gradientStopSchema = z$1.object({
2109
2245
  position: z$1.number().min(0).max(100)
2110
2246
  });
2111
2247
  /**
2112
- * Gradient configuration
2248
+ * Radial gradient shape. Optional; defaults to `circle` (the historical shape)
2249
+ * so existing radial gradients are byte-identical.
2250
+ *
2251
+ * Named `RadialGradientShape` to avoid clashing with `styles/gradients.ts`'s
2252
+ * `GradientShape` (which names the gradient *kind*: linear/radial/conic).
2253
+ */
2254
+ const radialGradientShapeSchema = z$1.enum(["circle", "ellipse"]);
2255
+ /**
2256
+ * Gradient configuration.
2257
+ *
2258
+ * `type` is optional and defaults to `'linear'` so gradients persisted without a
2259
+ * type (or with an explicit `'linear'`) render exactly as before. `'radial'` and
2260
+ * `'conic'` are additive kinds:
2261
+ * - linear: `angle` (degrees)
2262
+ * - radial: optional `shape` (circle/ellipse) + `position`
2263
+ * - conic: optional `angle` (from-angle, degrees) + `position`
2113
2264
  */
2114
2265
  const gradientConfigSchema = z$1.object({
2115
- type: z$1.enum(["linear", "radial"]),
2266
+ type: z$1.enum([
2267
+ "linear",
2268
+ "radial",
2269
+ "conic"
2270
+ ]).default("linear"),
2116
2271
  angle: z$1.number().min(0).max(360).optional(),
2272
+ shape: radialGradientShapeSchema.optional(),
2117
2273
  position: z$1.string().optional(),
2118
2274
  stops: z$1.array(gradientStopSchema).min(2)
2119
2275
  });
@@ -2944,6 +3100,7 @@ const typographyScaleSchema = z$1.enum([
2944
3100
  "majorThird",
2945
3101
  "perfectFourth"
2946
3102
  ]);
3103
+ const eyebrowTypographyStyleSchema = z$1.object({ family: z$1.string().min(1) });
2947
3104
  const typographySchema = z$1.object({
2948
3105
  body: bodyTypographyStyleSchema,
2949
3106
  headings: z$1.object({
@@ -2956,7 +3113,8 @@ const typographySchema = z$1.object({
2956
3113
  h6: headingTypographyOverridesSchema.optional()
2957
3114
  }),
2958
3115
  scale: typographyScaleSchema,
2959
- proseLinkStyle: proseLinkStyleSchema.optional()
3116
+ proseLinkStyle: proseLinkStyleSchema.optional(),
3117
+ eyebrow: eyebrowTypographyStyleSchema.optional()
2960
3118
  });
2961
3119
  const spaceSchema = z$1.enum([
2962
3120
  "comfortable",
@@ -2981,7 +3139,8 @@ const shadow = z$1.object({
2981
3139
  "soft",
2982
3140
  "hard"
2983
3141
  ]).nullable(),
2984
- position: z$1.enum(["bottom", "bottom-right"]).default("bottom")
3142
+ position: z$1.enum(["bottom", "bottom-right"]).default("bottom"),
3143
+ colorToken: themeColorTokenSchema.optional()
2985
3144
  });
2986
3145
  const border = z$1.object({
2987
3146
  width: z$1.enum([
@@ -3226,6 +3385,7 @@ const headerSchema = z$1.object({
3226
3385
  navWeight: navFontWeight.default("medium"),
3227
3386
  navTypography: z$1.enum(["body", "heading"]).optional(),
3228
3387
  navTextSize: navLinkStyleSchema.shape.textSize,
3388
+ navPlacement: z$1.enum(["end", "center"]).optional(),
3229
3389
  container: headerContainerSchema,
3230
3390
  border: headerBorderSchema,
3231
3391
  shadow: componentShadowSchema.optional(),