@asantemedia-org/edwardsvacuum-design-system 1.6.47 → 1.6.48

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 CHANGED
@@ -560,8 +560,10 @@ var Button = function (_a) {
560
560
  href = _a.href,
561
561
  target = _a.target,
562
562
  rel = _a.rel,
563
+ _c = _a.type,
564
+ type = _c === void 0 ? 'button' : _c,
563
565
  dataTargetSelector = _a["data-target-selector"],
564
- props = __rest(_a, ["className", "buttonStyle", "label", "element", "onClick", "href", "target", "rel", 'data-target-selector']);
566
+ props = __rest(_a, ["className", "buttonStyle", "label", "element", "onClick", "href", "target", "rel", "type", 'data-target-selector']);
565
567
  var mode = buttonStyle ? getStyle("cmp-button--style-".concat(buttonStyle)) : '';
566
568
  var baseClass = getStyle('cmp-button');
567
569
  // Add js-modal class if data-target-selector is present
@@ -579,7 +581,7 @@ var Button = function (_a) {
579
581
  }
580
582
  return /*#__PURE__*/React.createElement("button", _extends({
581
583
  className: conditionalClasses,
582
- type: "button",
584
+ type: type,
583
585
  onClick: onClick
584
586
  }, props), label);
585
587
  };
@@ -1128,20 +1130,23 @@ var QrForm = function (props) {
1128
1130
  selected: true,
1129
1131
  disabled: true
1130
1132
  }, {
1131
- label: i18n.label_customerSupport,
1132
- value: "customer support"
1133
+ label: i18n.label_warrantyClaim,
1134
+ value: "warranty claim"
1133
1135
  }, {
1134
- label: i18n.label_technicalSupport,
1135
- value: "technical support"
1136
+ label: i18n.label_serviceRequest,
1137
+ value: "service request"
1136
1138
  }, {
1137
- label: i18n.label_ProductDetails,
1138
- value: "product details"
1139
+ label: i18n.label_oilAndSpares,
1140
+ value: "oil and spares"
1141
+ }, {
1142
+ label: i18n.label_other,
1143
+ value: "other"
1139
1144
  }]
1140
1145
  }, {
1141
1146
  type: "textarea",
1142
1147
  name: "tell_us_more",
1143
- placeholder: i18n.label_tellUsMore,
1144
- label: i18n.label_tellUsMore
1148
+ placeholder: i18n.label_tellUsMoreOptional,
1149
+ label: i18n.label_tellUsMoreOptional
1145
1150
  }], false), /*page 2*/
1146
1151
  [{
1147
1152
  type: "text",
@@ -1341,9 +1346,12 @@ var QrForm = function (props) {
1341
1346
  onClick: formNavigate,
1342
1347
  "data-page_target": pageIndex + 1,
1343
1348
  buttonStyle: "primary"
1344
- }) : /*#__PURE__*/React.createElement("input", {
1345
- type: "submit",
1346
- value: i18n === null || i18n === void 0 ? void 0 : i18n.submit
1349
+ }) : /*#__PURE__*/React.createElement(Button, {
1350
+ label: i18n === null || i18n === void 0 ? void 0 : i18n.submit,
1351
+ onClick: handleSubmit,
1352
+ buttonStyle: "primary",
1353
+ element: "button",
1354
+ type: "submit"
1347
1355
  }));
1348
1356
  if (isPartial) {
1349
1357
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {