@drawbridge/components 0.1.43 → 0.1.45

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.
@@ -88,7 +88,7 @@ const FormSubdomainHeader = ({
88
88
  reverse: true,
89
89
  variant: "link"
90
90
  },
91
- children: BACK
91
+ children: back.text || BACK
92
92
  }
93
93
  ),
94
94
  heading
@@ -54,7 +54,7 @@ const FormSubdomainHeader = ({
54
54
  reverse: true,
55
55
  variant: "link"
56
56
  },
57
- children: BACK
57
+ children: back.text || BACK
58
58
  }
59
59
  ),
60
60
  heading
@@ -1047,15 +1047,19 @@ const FormSubdomainSection = ({
1047
1047
  {
1048
1048
  ...{
1049
1049
  // Back keeps what this step holds so far, answered or not.
1050
+ // @story public-entry/order-step
1051
+ // The order step's arrow reads the step's title in place of "Back" ( Simon, 2026-11-23 ).
1050
1052
  ...back && {
1051
1053
  back: {
1052
- onClick: () => back(getValues())
1054
+ onClick: () => back(getValues()),
1055
+ ...(section == null ? void 0 : section.type) === "order" && { text: section == null ? void 0 : section.title }
1053
1056
  }
1054
1057
  },
1055
1058
  button,
1056
1059
  description: section == null ? void 0 : section.description,
1057
1060
  style,
1058
- title: section == null ? void 0 : section.title
1061
+ // The arrow already reads the order step's title; with no arrow the step keeps its heading.
1062
+ title: back && (section == null ? void 0 : section.type) === "order" ? void 0 : section == null ? void 0 : section.title
1059
1063
  }
1060
1064
  }
1061
1065
  )
@@ -1010,15 +1010,19 @@ const FormSubdomainSection = ({
1010
1010
  {
1011
1011
  ...{
1012
1012
  // Back keeps what this step holds so far, answered or not.
1013
+ // @story public-entry/order-step
1014
+ // The order step's arrow reads the step's title in place of "Back" ( Simon, 2026-11-23 ).
1013
1015
  ...back && {
1014
1016
  back: {
1015
- onClick: () => back(getValues())
1017
+ onClick: () => back(getValues()),
1018
+ ...(section == null ? void 0 : section.type) === "order" && { text: section == null ? void 0 : section.title }
1016
1019
  }
1017
1020
  },
1018
1021
  button,
1019
1022
  description: section == null ? void 0 : section.description,
1020
1023
  style,
1021
- title: section == null ? void 0 : section.title
1024
+ // The arrow already reads the order step's title; with no arrow the step keeps its heading.
1025
+ title: back && (section == null ? void 0 : section.type) === "order" ? void 0 : section == null ? void 0 : section.title
1022
1026
  }
1023
1027
  }
1024
1028
  )
@@ -560,6 +560,12 @@ const TemplateSocketOrganization = ({
560
560
  queryClient.invalidateQueries({
561
561
  queryKey: ["organization-contacts", params.organization]
562
562
  });
563
+ queryClient.invalidateQueries({
564
+ queryKey: ["organization-campaign-tests"]
565
+ });
566
+ queryClient.invalidateQueries({
567
+ queryKey: ["organization-campaign-test"]
568
+ });
563
569
  },
564
570
  // @story workflows/list
565
571
  // Sync emits this on every workflow status change, on delete, and when
@@ -525,6 +525,12 @@ const TemplateSocketOrganization = ({
525
525
  queryClient.invalidateQueries({
526
526
  queryKey: ["organization-contacts", params.organization]
527
527
  });
528
+ queryClient.invalidateQueries({
529
+ queryKey: ["organization-campaign-tests"]
530
+ });
531
+ queryClient.invalidateQueries({
532
+ queryKey: ["organization-campaign-test"]
533
+ });
528
534
  },
529
535
  // @story workflows/list
530
536
  // Sync emits this on every workflow status change, on delete, and when
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drawbridge/components",
3
- "version": "0.1.43",
3
+ "version": "0.1.45",
4
4
  "exports": {
5
5
  "./advertisement": {
6
6
  "types": "./types/advertisement.d.ts",