@asantemedia-org/edwardsvacuum-design-system 1.6.18 → 1.6.19
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/index.esm.js +3 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +28 -36
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -925,7 +925,6 @@ var QrForm = function (props) {
|
|
|
925
925
|
return __generator(this, function (_a) {
|
|
926
926
|
ev.preventDefault();
|
|
927
927
|
setShowErrors(true); // Attempting to submit, so show errors
|
|
928
|
-
debugger;
|
|
929
928
|
if (validatePage(currentPage)) {
|
|
930
929
|
if (props.onSubmit) {
|
|
931
930
|
props.onSubmit(formValues);
|
|
@@ -1037,8 +1036,7 @@ var QrForm = function (props) {
|
|
|
1037
1036
|
};
|
|
1038
1037
|
return /*#__PURE__*/React.createElement("div", {
|
|
1039
1038
|
className: "qr-journey-form-wrapper"
|
|
1040
|
-
}, props.formHeader && /*#__PURE__*/React.createElement("h1", null, props.formHeader), "Show thank you:", props.showThankYou, /*#__PURE__*/React.createElement("form", {
|
|
1041
|
-
hidden: props.showThankYou,
|
|
1039
|
+
}, props.formHeader && /*#__PURE__*/React.createElement("h1", null, props.formHeader), "Show thank you:", props.showThankYou, !props.showThankYou ? /*#__PURE__*/React.createElement("form", {
|
|
1042
1040
|
action: "".concat(props.formAction, "/").concat(props.hubspotAppId, "/").concat(props.hubspotId),
|
|
1043
1041
|
onSubmit: handleSubmit
|
|
1044
1042
|
}, currentPage === 0 && /*#__PURE__*/React.createElement("section", {
|
|
@@ -1066,9 +1064,8 @@ var QrForm = function (props) {
|
|
|
1066
1064
|
}), renderFormSection({
|
|
1067
1065
|
pageIndex: 3,
|
|
1068
1066
|
sectionTitle: "Form consent"
|
|
1069
|
-
}))
|
|
1070
|
-
className: "qr-form-thank-you-page"
|
|
1071
|
-
hidden: !props.showThankYou
|
|
1067
|
+
})) : /*#__PURE__*/React.createElement("div", {
|
|
1068
|
+
className: "qr-form-thank-you-page"
|
|
1072
1069
|
}, /*#__PURE__*/React.createElement("h2", null, props.thankYouTitle), /*#__PURE__*/React.createElement("p", null, props.thankYouText), /*#__PURE__*/React.createElement(Button, {
|
|
1073
1070
|
label: buttonProps.buttonText,
|
|
1074
1071
|
href: buttonProps.url,
|