@riverbankcms/sdk 0.60.3 → 0.60.6

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 (60) hide show
  1. package/dist/_dts/api/src/bookingVerticals.d.ts +1 -0
  2. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +3 -39
  3. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +2 -0
  4. package/dist/_dts/blocks/src/system/node/fragments/ctaButton.d.ts +2 -0
  5. package/dist/_dts/blocks/src/system/runtime/shared/themedButtonClass.d.ts +11 -0
  6. package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +10 -2
  7. package/dist/_dts/core/src/participants.d.ts +32 -1
  8. package/dist/_dts/core/src/rectification.d.ts +79 -0
  9. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +6 -6
  10. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +17 -15
  11. package/dist/_dts/sdk/src/client/types.d.ts +1 -0
  12. package/dist/_dts/sdk/src/version.d.ts +1 -1
  13. package/dist/_dts/theme-core/src/buttons/personalities/brushed-wash.d.ts +7 -2
  14. package/dist/_dts/theme-core/src/buttons/personalities/confident-chip.d.ts +7 -2
  15. package/dist/_dts/theme-core/src/buttons/personalities/editorial-link.d.ts +7 -2
  16. package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +86 -5
  17. package/dist/_dts/theme-core/src/buttons/personalities/ink-stamp.d.ts +7 -2
  18. package/dist/_dts/theme-core/src/buttons/personalities/pebble.d.ts +7 -2
  19. package/dist/_dts/theme-core/src/buttons/personalities/soft-pill.d.ts +7 -2
  20. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +10 -10
  21. package/dist/_dts/theme-core/src/palette/variants/brand-led.d.ts +33 -9
  22. package/dist/_dts/theme-core/src/palette/variants/high-contrast.d.ts +33 -9
  23. package/dist/_dts/theme-core/src/palette/variants/index.d.ts +200 -4
  24. package/dist/_dts/theme-core/src/palette/variants/soft-natural.d.ts +33 -9
  25. package/dist/_dts/theme-core/src/palette/variants/types.d.ts +10 -10
  26. package/dist/_dts/theme-core/src/palette/variants/warm-neutral.d.ts +33 -9
  27. package/dist/_dts/theme-core/src/site-styles/curatedChoices.d.ts +27 -0
  28. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +48 -194
  29. package/dist/_dts/theme-core/src/site-styles/index.d.ts +2 -1
  30. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +12 -14
  31. package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +46 -0
  32. package/dist/_dts/ui/src/palette/ColorChooserDialog.d.ts +47 -0
  33. package/dist/_dts/ui/src/palette/ColorSlotButton.d.ts +15 -0
  34. package/dist/_dts/ui/src/palette/ColorSwatchButton.d.ts +15 -0
  35. package/dist/_dts/ui/src/palette/PaletteTokenEditor.d.ts +50 -0
  36. package/dist/_dts/ui/src/palette/hex.d.ts +23 -0
  37. package/dist/_dts/ui/src/palette/index.d.ts +14 -0
  38. package/dist/cli/index.mjs +1023 -923
  39. package/dist/client/client.mjs +3410 -3221
  40. package/dist/client/hooks.mjs +1625 -1564
  41. package/dist/client/rendering/client.mjs +132 -37
  42. package/dist/client/rendering/islands.mjs +91 -30
  43. package/dist/client/rendering.mjs +1237 -1049
  44. package/dist/preview-next/client/runtime.mjs +3095 -2736
  45. package/dist/server/components.mjs +2381 -2255
  46. package/dist/server/config-validation.mjs +1625 -1564
  47. package/dist/server/config.mjs +1625 -1564
  48. package/dist/server/data.mjs +1625 -1564
  49. package/dist/server/index.mjs +4 -3
  50. package/dist/server/next.mjs +3233 -3106
  51. package/dist/server/page-converter.mjs +1625 -1564
  52. package/dist/server/prebuild.mjs +1 -1
  53. package/dist/server/rendering/server.mjs +2381 -2255
  54. package/dist/server/rendering.mjs +2381 -2255
  55. package/dist/server/routing.mjs +2340 -2271
  56. package/dist/server/server.mjs +1629 -1567
  57. package/dist/server/theme-bridge.mjs +130 -126
  58. package/dist/server/theme.mjs +131 -129
  59. package/package.json +1 -1
  60. package/dist/_dts/theme-core/src/site-styles/compatibility.d.ts +0 -109
@@ -1,12 +1,6 @@
1
1
  "use client";
2
2
  var __defProp = Object.defineProperty;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
5
- get: (a, b2) => (typeof require !== "undefined" ? require : a)[b2]
6
- }) : x)(function(x) {
7
- if (typeof require !== "undefined") return require.apply(this, arguments);
8
- throw Error('Dynamic require of "' + x + '" is not supported');
9
- });
10
4
  var __esm = (fn2, res) => function __init() {
11
5
  return fn2 && (res = (0, fn2[__getOwnPropNames(fn2)[0]])(fn2 = 0)), res;
12
6
  };
@@ -691,6 +685,7 @@ var init_assertNever = __esm({
691
685
  var init_participants = __esm({
692
686
  "../core/src/participants.ts"() {
693
687
  "use strict";
688
+ init_branded();
694
689
  init_result();
695
690
  }
696
691
  });
@@ -3966,7 +3961,7 @@ function getServerStorage() {
3966
3961
  _serverStorageChecked = true;
3967
3962
  try {
3968
3963
  const globalWithNonWebpackRequire = globalThis;
3969
- const nonWebpackRequire = typeof globalWithNonWebpackRequire.__non_webpack_require__ === "function" ? globalWithNonWebpackRequire.__non_webpack_require__ : __require;
3964
+ const nonWebpackRequire = typeof globalWithNonWebpackRequire.__non_webpack_require__ === "function" ? globalWithNonWebpackRequire.__non_webpack_require__ : new Function("id", "return require(id)");
3970
3965
  const asyncHooks = nonWebpackRequire("async_hooks");
3971
3966
  const AsyncLocalStorage = asyncHooks.AsyncLocalStorage;
3972
3967
  if (AsyncLocalStorage) {
@@ -4614,6 +4609,19 @@ var init_EventCardIcons = __esm({
4614
4609
  }
4615
4610
  });
4616
4611
 
4612
+ // ../blocks/src/system/runtime/shared/themedButtonClass.ts
4613
+ function themedButtonClass(spec) {
4614
+ const { variant, size, extraClassName } = spec;
4615
+ const normalizedVariant = variant.trim();
4616
+ const variantClasses = normalizedVariant ? [normalizedVariant, `button-${normalizedVariant}`] : [];
4617
+ return [...variantClasses, `btn-${size}`, extraClassName].filter(Boolean).join(" ");
4618
+ }
4619
+ var init_themedButtonClass = __esm({
4620
+ "../blocks/src/system/runtime/shared/themedButtonClass.ts"() {
4621
+ "use strict";
4622
+ }
4623
+ });
4624
+
4617
4625
  // ../blocks/src/system/runtime/nodes/events/shared/EventCard.tsx
4618
4626
  import { jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
4619
4627
  function formatCapacityText(event, options) {
@@ -4661,6 +4669,7 @@ var init_EventCard = __esm({
4661
4669
  init_EventCardIcons();
4662
4670
  init_eventCapacity();
4663
4671
  init_utils();
4672
+ init_themedButtonClass();
4664
4673
  EventCard = ({
4665
4674
  event,
4666
4675
  cardVariant = "default",
@@ -4686,7 +4695,7 @@ var init_EventCard = __esm({
4686
4695
  const isSoldOut = cta.hidden;
4687
4696
  const { available: spotsLeft } = getEventAvailability(event);
4688
4697
  const cardClass = `card-${cardVariant}`;
4689
- const buttonClass = `${buttonVariant} button-${buttonVariant}`;
4698
+ const buttonClass = themedButtonClass({ variant: buttonVariant, size: "md" });
4690
4699
  const title = event.title;
4691
4700
  const summary = event.presentation?.summary ?? event.description;
4692
4701
  const image = event.presentation?.image ?? null;
@@ -4768,6 +4777,7 @@ var init_EventCompactRow = __esm({
4768
4777
  "use strict";
4769
4778
  init_utils();
4770
4779
  init_EventCardIcons();
4780
+ init_themedButtonClass();
4771
4781
  EventCompactRow = ({
4772
4782
  event,
4773
4783
  buttonVariant = "primary",
@@ -4779,7 +4789,7 @@ var init_EventCompactRow = __esm({
4779
4789
  const price = formatEventPrice(event);
4780
4790
  const teacherLine = formatEventTeacherLine(event);
4781
4791
  const cta = resolveEventCta(event, buttonText);
4782
- const buttonClass = `${buttonVariant} button-${buttonVariant}`;
4792
+ const buttonClass = themedButtonClass({ variant: buttonVariant, size: "sm" });
4783
4793
  return /* @__PURE__ */ jsxs3("div", { className: "event-compact-row", children: [
4784
4794
  /* @__PURE__ */ jsxs3("div", { className: "event-compact-row-content", children: [
4785
4795
  /* @__PURE__ */ jsxs3("div", { className: "event-compact-row-top", children: [
@@ -7519,7 +7529,10 @@ function createBlockApi(config) {
7519
7529
  url = appendQuery(url, queryParams);
7520
7530
  }
7521
7531
  const authHeaders = getAuthHeaders(selectedAuth);
7522
- const headers = { ...authHeaders };
7532
+ const headers = {
7533
+ Accept: "application/json",
7534
+ ...authHeaders
7535
+ };
7523
7536
  if (body !== void 0) {
7524
7537
  headers["Content-Type"] = "application/json";
7525
7538
  }
@@ -8450,11 +8463,11 @@ var init_presets = __esm({
8450
8463
  }
8451
8464
  });
8452
8465
 
8453
- // ../theme-core/src/site-styles/compatibility.ts
8466
+ // ../theme-core/src/site-styles/styleTags.ts
8454
8467
  import { z as z22 } from "zod";
8455
8468
  var STYLE_AXIS_VALUES, styleTagsSchema;
8456
- var init_compatibility = __esm({
8457
- "../theme-core/src/site-styles/compatibility.ts"() {
8469
+ var init_styleTags = __esm({
8470
+ "../theme-core/src/site-styles/styleTags.ts"() {
8458
8471
  "use strict";
8459
8472
  STYLE_AXIS_VALUES = {
8460
8473
  tone: ["minimal", "classic", "bold"],
@@ -8493,7 +8506,7 @@ var init_types5 = __esm({
8493
8506
  "../theme-core/src/buttons/personalities/types.ts"() {
8494
8507
  "use strict";
8495
8508
  init_types4();
8496
- init_compatibility();
8509
+ init_styleTags();
8497
8510
  buttonPersonalityIdSchema = z23.string().min(1).transform((value) => asButtonPersonalityId(value));
8498
8511
  buttonPersonalitySchema = z23.object({
8499
8512
  id: buttonPersonalityIdSchema,
@@ -18714,6 +18727,7 @@ var init_PaymentSelectionStep = __esm({
18714
18727
  init_lucide_react();
18715
18728
  init_utils3();
18716
18729
  init_spinner();
18730
+ init_themedButtonClass();
18717
18731
  init_CheckIcon2();
18718
18732
  init_SelectableOptionCard();
18719
18733
  PaymentSelectionStep = ({
@@ -18814,7 +18828,7 @@ var init_PaymentSelectionStep = __esm({
18814
18828
  "button",
18815
18829
  {
18816
18830
  type: "button",
18817
- className: "primary button-primary",
18831
+ className: themedButtonClass({ variant: "primary", size: "md" }),
18818
18832
  disabled: !email.trim(),
18819
18833
  onClick: onRequestLogin,
18820
18834
  children: "Email me a login link"
@@ -20538,7 +20552,7 @@ function EventRegistrationWizard(props) {
20538
20552
  } = props;
20539
20553
  const maxTicketsNum = parseInt(maxTickets, 10) || 5;
20540
20554
  const showSpamProtection = spamProtectionEnabled ?? isSpamProtectionEnabled();
20541
- const buttonClass = `${buttonVariant} button-${buttonVariant}`;
20555
+ const buttonClass = themedButtonClass({ variant: buttonVariant, size: "md" });
20542
20556
  const wizard = useEventRegistrationWizard({
20543
20557
  anchorId: EVENT_REGISTRATION_ANCHOR_ID,
20544
20558
  occurrenceContext: occurrenceContext ?? null,
@@ -20675,6 +20689,7 @@ var init_EventRegistrationWizard = __esm({
20675
20689
  init_useEventRegistrationWizard();
20676
20690
  init_MagicLinkForm();
20677
20691
  init_spinner();
20692
+ init_themedButtonClass();
20678
20693
  init_event_registration();
20679
20694
  EVENT_REGISTRATION_ANCHOR_ID = "event-registration";
20680
20695
  EVENT_PORTAL_AUTH_COPY = {
@@ -21120,7 +21135,7 @@ function ErrorStep2({
21120
21135
  buttonVariant = "primary",
21121
21136
  onRetry
21122
21137
  }) {
21123
- const buttonClass = `${buttonVariant} button-${buttonVariant}`;
21138
+ const buttonClass = themedButtonClass({ variant: buttonVariant, size: "md" });
21124
21139
  return /* @__PURE__ */ jsxs49("div", { className: "cr-error", role: "alert", children: [
21125
21140
  /* @__PURE__ */ jsx65(StateIcon, { variant: "error", children: /* @__PURE__ */ jsx65(CrossIcon, {}) }),
21126
21141
  /* @__PURE__ */ jsx65("h3", { className: "cr-error__title", children: "Enrollment Failed" }),
@@ -21132,6 +21147,7 @@ var init_ErrorStep2 = __esm({
21132
21147
  "../blocks/src/system/runtime/nodes/course-registration/ErrorStep.tsx"() {
21133
21148
  "use strict";
21134
21149
  init_shared5();
21150
+ init_themedButtonClass();
21135
21151
  }
21136
21152
  });
21137
21153
 
@@ -21143,7 +21159,7 @@ function VerifyingTimeoutStep2({
21143
21159
  onCheckAgain,
21144
21160
  supportEmail
21145
21161
  }) {
21146
- const buttonClass = `${buttonVariant} button-${buttonVariant}`;
21162
+ const buttonClass = themedButtonClass({ variant: buttonVariant, size: "md" });
21147
21163
  return /* @__PURE__ */ jsxs50("div", { className: "cr-error", role: "alert", children: [
21148
21164
  /* @__PURE__ */ jsx66(StateIcon, { variant: "warning", children: /* @__PURE__ */ jsx66(ClockIcon, {}) }),
21149
21165
  /* @__PURE__ */ jsx66("h3", { className: "cr-error__title", children: "Payment Verification Taking Longer" }),
@@ -21160,6 +21176,7 @@ var init_VerifyingTimeoutStep2 = __esm({
21160
21176
  "../blocks/src/system/runtime/nodes/course-registration/VerifyingTimeoutStep.tsx"() {
21161
21177
  "use strict";
21162
21178
  init_shared5();
21179
+ init_themedButtonClass();
21163
21180
  }
21164
21181
  });
21165
21182
 
@@ -21171,7 +21188,7 @@ function PaymentFailedStep2({
21171
21188
  buttonVariant = "primary",
21172
21189
  onRetry
21173
21190
  }) {
21174
- const buttonClass = `${buttonVariant} button-${buttonVariant}`;
21191
+ const buttonClass = themedButtonClass({ variant: buttonVariant, size: "md" });
21175
21192
  return /* @__PURE__ */ jsxs51("div", { className: "cr-payment-failed", role: "alert", children: [
21176
21193
  /* @__PURE__ */ jsx67(StateIcon, { variant: "error", children: /* @__PURE__ */ jsx67(CrossIcon, {}) }),
21177
21194
  /* @__PURE__ */ jsx67("h3", { className: "cr-payment-failed__title", children: "Payment Failed" }),
@@ -21183,6 +21200,7 @@ var init_PaymentFailedStep2 = __esm({
21183
21200
  "../blocks/src/system/runtime/nodes/course-registration/PaymentFailedStep.tsx"() {
21184
21201
  "use strict";
21185
21202
  init_shared5();
21203
+ init_themedButtonClass();
21186
21204
  }
21187
21205
  });
21188
21206
 
@@ -22175,7 +22193,7 @@ function CourseRegistrationWizard(props) {
22175
22193
  handleRetry,
22176
22194
  handleBookingModeChange
22177
22195
  } = useCourseRegistrationWizard(props);
22178
- const buttonClass = `${buttonVariant} button-${buttonVariant}`;
22196
+ const buttonClass = themedButtonClass({ variant: buttonVariant, size: "md" });
22179
22197
  if (scopedCourses.length === 0) {
22180
22198
  return /* @__PURE__ */ jsx71(
22181
22199
  "div",
@@ -22585,6 +22603,7 @@ var init_CourseRegistrationWizard = __esm({
22585
22603
  init_PaymentFailedStep2();
22586
22604
  init_VerifyingTimeoutStep2();
22587
22605
  init_spinner();
22606
+ init_themedButtonClass();
22588
22607
  }
22589
22608
  });
22590
22609
 
@@ -26974,6 +26993,7 @@ var init_EventPaginatedListView_client = __esm({
26974
26993
  init_EventCompactRow();
26975
26994
  init_EmptyState();
26976
26995
  init_EventListing_view();
26996
+ init_themedButtonClass();
26977
26997
  EventPaginatedListView = ({
26978
26998
  filters,
26979
26999
  display,
@@ -27016,7 +27036,10 @@ var init_EventPaginatedListView_client = __esm({
27016
27036
  {
27017
27037
  type: "button",
27018
27038
  onClick: loadMore,
27019
- className: `${display.buttonVariant} button-${display.buttonVariant}`,
27039
+ className: themedButtonClass({
27040
+ variant: display.buttonVariant,
27041
+ size: "md"
27042
+ }),
27020
27043
  children: "Try again"
27021
27044
  }
27022
27045
  )
@@ -27027,11 +27050,25 @@ var init_EventPaginatedListView_client = __esm({
27027
27050
  type: "button",
27028
27051
  onClick: loadMore,
27029
27052
  disabled: loading,
27030
- className: `${display.buttonVariant} button-${display.buttonVariant} ${loading ? "rb-opacity-50 rb-cursor-wait" : ""}`,
27053
+ className: themedButtonClass({
27054
+ variant: display.buttonVariant,
27055
+ size: "md",
27056
+ extraClassName: loading ? "rb-opacity-50 rb-cursor-wait" : null
27057
+ }),
27031
27058
  children: loading ? "Loading..." : loadMoreText
27032
27059
  }
27033
27060
  ) }) : null,
27034
- paginationMode === "seeAllLink" && seeAllUrl && hasMore ? /* @__PURE__ */ jsx89("div", { className: "rb-mt-8 rb-text-center", children: /* @__PURE__ */ jsx89("a", { href: seeAllUrl, className: `${display.buttonVariant} button-${display.buttonVariant}`, children: loadMoreText }) }) : null
27061
+ paginationMode === "seeAllLink" && seeAllUrl && hasMore ? /* @__PURE__ */ jsx89("div", { className: "rb-mt-8 rb-text-center", children: /* @__PURE__ */ jsx89(
27062
+ "a",
27063
+ {
27064
+ href: seeAllUrl,
27065
+ className: themedButtonClass({
27066
+ variant: display.buttonVariant,
27067
+ size: "md"
27068
+ }),
27069
+ children: loadMoreText
27070
+ }
27071
+ ) }) : null
27035
27072
  ] }),
27036
27073
  renderEventCard: (event) => display.listLayout === "compact" ? /* @__PURE__ */ jsx89(
27037
27074
  EventCompactRow,
@@ -28375,6 +28412,7 @@ var init_EventCombined_client = __esm({
28375
28412
  init_EventModalContext();
28376
28413
  init_EventModals();
28377
28414
  init_utils();
28415
+ init_themedButtonClass();
28378
28416
  EventCombinedClient = ({
28379
28417
  events: initialEvents,
28380
28418
  siteId,
@@ -28700,7 +28738,7 @@ var init_EventCombined_client = __esm({
28700
28738
  {
28701
28739
  type: "button",
28702
28740
  onClick: goToToday,
28703
- className: `${buttonVariant} button-${buttonVariant} rb-px-3 rb-py-1`,
28741
+ className: themedButtonClass({ variant: buttonVariant, size: "sm" }),
28704
28742
  children: "Today"
28705
28743
  }
28706
28744
  )
@@ -29017,6 +29055,7 @@ var init_EventCalendar_client = __esm({
29017
29055
  init_EventModalContext();
29018
29056
  init_EventModals();
29019
29057
  init_WeekTimetableView();
29058
+ init_themedButtonClass();
29020
29059
  EventCalendarClient = ({
29021
29060
  render
29022
29061
  }) => {
@@ -29305,7 +29344,10 @@ var init_EventCalendar_client = __esm({
29305
29344
  {
29306
29345
  type: "button",
29307
29346
  onClick: onToday,
29308
- className: `${display.buttonVariant} button-${display.buttonVariant} rb-px-3 rb-py-1`,
29347
+ className: themedButtonClass({
29348
+ variant: display.buttonVariant,
29349
+ size: "sm"
29350
+ }),
29309
29351
  children: "Today"
29310
29352
  }
29311
29353
  )
@@ -29318,7 +29360,10 @@ var init_EventCalendar_client = __esm({
29318
29360
  {
29319
29361
  type: "button",
29320
29362
  onClick: onToday,
29321
- className: `${display.buttonVariant} button-${display.buttonVariant} rb-px-3 rb-py-1`,
29363
+ className: themedButtonClass({
29364
+ variant: display.buttonVariant,
29365
+ size: "sm"
29366
+ }),
29322
29367
  children: "Try again"
29323
29368
  }
29324
29369
  )
@@ -29413,6 +29458,7 @@ var init_form_client = __esm({
29413
29458
  init_client2();
29414
29459
  init_src3();
29415
29460
  init_useFormSubmission();
29461
+ init_themedButtonClass();
29416
29462
  FormNodeClient = ({
29417
29463
  render
29418
29464
  }) => {
@@ -29550,7 +29596,19 @@ var init_form_client = __esm({
29550
29596
  return renderField(group.field);
29551
29597
  }),
29552
29598
  showSpamProtection && /* @__PURE__ */ jsx102(AltchaWidget, { challengeUrl: getChallengeUrl(), onSolutionChange: setAltchaSolution }),
29553
- /* @__PURE__ */ jsx102("div", { className: "fb-actions", children: /* @__PURE__ */ jsx102("div", { className: "fb-actions-inner", children: /* @__PURE__ */ jsx102("button", { type: "submit", className: "primary button-primary rb-w-full rb-sm-w-auto", disabled: state.tag === "submitting", children: state.tag === "submitting" ? "Submitting..." : render.display.submitLabel }) }) })
29599
+ /* @__PURE__ */ jsx102("div", { className: "fb-actions", children: /* @__PURE__ */ jsx102("div", { className: "fb-actions-inner", children: /* @__PURE__ */ jsx102(
29600
+ "button",
29601
+ {
29602
+ type: "submit",
29603
+ className: themedButtonClass({
29604
+ variant: "primary",
29605
+ size: "md",
29606
+ extraClassName: "rb-w-full rb-sm-w-auto"
29607
+ }),
29608
+ disabled: state.tag === "submitting",
29609
+ children: state.tag === "submitting" ? "Submitting..." : render.display.submitLabel
29610
+ }
29611
+ ) }) })
29554
29612
  ] });
29555
29613
  };
29556
29614
  }
@@ -29669,7 +29727,7 @@ function NewsletterFormClient({
29669
29727
  "button",
29670
29728
  {
29671
29729
  type: "submit",
29672
- className: "primary button-primary",
29730
+ className: themedButtonClass({ variant: "primary", size: "md" }),
29673
29731
  disabled: isSubmitting,
29674
29732
  children: isSubmitting ? "Subscribing..." : render.display.buttonLabel
29675
29733
  }
@@ -29687,6 +29745,7 @@ var init_newsletter_form_client = __esm({
29687
29745
  init_client2();
29688
29746
  init_src3();
29689
29747
  init_api();
29748
+ init_themedButtonClass();
29690
29749
  }
29691
29750
  });
29692
29751
 
@@ -32120,6 +32179,10 @@ function brandNonEmptyString(value, label) {
32120
32179
  return value;
32121
32180
  }
32122
32181
 
32182
+ // ../theme-core/src/palette/variants/types.ts
32183
+ init_styleTags();
32184
+ import { z as z36 } from "zod";
32185
+
32123
32186
  // ../theme-core/src/schema.ts
32124
32187
  import { z as z35 } from "zod";
32125
32188
 
@@ -32725,8 +32788,6 @@ var themesTurnSchema = z35.object({
32725
32788
  });
32726
32789
 
32727
32790
  // ../theme-core/src/palette/variants/types.ts
32728
- init_compatibility();
32729
- import { z as z36 } from "zod";
32730
32791
  function asPaletteVariantId(value) {
32731
32792
  if (value.length === 0) {
32732
32793
  throw new Error("PaletteVariantId must be a non-empty string");