@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.
- package/dist/bridge/form-subdomain-header.js +1 -1
- package/dist/bridge/form-subdomain-header.mjs +1 -1
- package/dist/bridge/form-subdomain.js +6 -2
- package/dist/bridge/form-subdomain.mjs +6 -2
- package/dist/dashboard/template-socket.js +6 -0
- package/dist/dashboard/template-socket.mjs +6 -0
- package/package.json +1 -1
|
@@ -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
|
|
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
|
|
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
|