@asantemedia-org/edwardsvacuum-design-system 1.6.52 → 1.6.53

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.css CHANGED
@@ -458,13 +458,21 @@
458
458
  background: rgb(255, 255, 255);
459
459
  color: #2d363a;
460
460
  }
461
+ .Button-module__cmp-button--style-primary___hfLAd:focus-visible {
462
+ outline: 2px solid rgb(196, 38, 46);
463
+ outline-offset: 2px;
464
+ }
461
465
  .Button-module__cmp-button--style-secondary___3Dqvg {
462
466
  background: #2d363a;
463
467
  color: rgb(255, 255, 255);
464
468
  }
465
469
  .Button-module__cmp-button--style-secondary___3Dqvg:hover {
466
- background: linear-gradient(45deg, rgb(172, 174, 176), rgb(130, 134, 136));
467
- color: rgb(255, 255, 255);
470
+ background: rgb(255, 255, 255);
471
+ color: #2d363a;
472
+ }
473
+ .Button-module__cmp-button--style-secondary___3Dqvg:focus-visible {
474
+ outline: 2px solid #2d363a;
475
+ outline-offset: 2px;
468
476
  }
469
477
  .Button-module__cmp-button--style-tertiary___Akcep {
470
478
  background: rgb(255, 255, 255);
@@ -1609,7 +1617,7 @@
1609
1617
  }
1610
1618
  .qr-journey-form-wrapper .qr-form-filed-wrapper label select, .qr-journey-form-wrapper .qr-form-filed-wrapper label textarea {
1611
1619
  line-height: 1em;
1612
- padding: 10px 18px 10px 18px;
1620
+ padding: 1.5rem 1rem 0rem 1rem;
1613
1621
  box-sizing: content-box;
1614
1622
  }
1615
1623
  .qr-journey-form-wrapper .qr-form-filed-wrapper label select {
@@ -458,13 +458,21 @@
458
458
  background: rgb(255, 255, 255);
459
459
  color: #2d363a;
460
460
  }
461
+ .Button-module__cmp-button--style-primary___hfLAd:focus-visible {
462
+ outline: 2px solid rgb(196, 38, 46);
463
+ outline-offset: 2px;
464
+ }
461
465
  .Button-module__cmp-button--style-secondary___3Dqvg {
462
466
  background: #2d363a;
463
467
  color: rgb(255, 255, 255);
464
468
  }
465
469
  .Button-module__cmp-button--style-secondary___3Dqvg:hover {
466
- background: linear-gradient(45deg, rgb(172, 174, 176), rgb(130, 134, 136));
467
- color: rgb(255, 255, 255);
470
+ background: rgb(255, 255, 255);
471
+ color: #2d363a;
472
+ }
473
+ .Button-module__cmp-button--style-secondary___3Dqvg:focus-visible {
474
+ outline: 2px solid #2d363a;
475
+ outline-offset: 2px;
468
476
  }
469
477
  .Button-module__cmp-button--style-tertiary___Akcep {
470
478
  background: rgb(255, 255, 255);
@@ -1609,7 +1617,7 @@
1609
1617
  }
1610
1618
  .qr-journey-form-wrapper .qr-form-filed-wrapper label select, .qr-journey-form-wrapper .qr-form-filed-wrapper label textarea {
1611
1619
  line-height: 1em;
1612
- padding: 10px 18px 10px 18px;
1620
+ padding: 1.5rem 1rem 0rem 1rem;
1613
1621
  box-sizing: content-box;
1614
1622
  }
1615
1623
  .qr-journey-form-wrapper .qr-form-filed-wrapper label select {
package/dist/index.esm.js CHANGED
@@ -526,13 +526,14 @@ var ProductDetailsCard = function (_a) {
526
526
  className: getClassName("cmp-card--type-product_details__header__title")
527
527
  }, title), /*#__PURE__*/React.createElement("p", {
528
528
  className: getClassName("cmp-card--type-product_details__header__product-code")
529
- }, "Product:", hit === null || hit === void 0 ? void 0 : hit.code), /*#__PURE__*/React.createElement("img", {
529
+ }, "Product: ", hit === null || hit === void 0 ? void 0 : hit.code), /*#__PURE__*/React.createElement("img", {
530
530
  src: hit === null || hit === void 0 ? void 0 : hit.image,
531
531
  alt: imageAlt,
532
532
  className: getClassName("cmp-card--type-product_details__header__product-image")
533
533
  })), facets && /*#__PURE__*/React.createElement(AccordionSection, {
534
534
  title: "Specifications",
535
- className: getClassName("folding-specification-holder")
535
+ className: getClassName("folding-specification-holder"),
536
+ defaultOpen: true
536
537
  }, /*#__PURE__*/React.createElement("ul", {
537
538
  className: getClassName("folding-specification-list")
538
539
  }, facets && facets.map(function (facet) {
@@ -969,7 +970,7 @@ var QrFormField = function (props) {
969
970
  } : {}, props.type === "select" ? {
970
971
  options: props.options
971
972
  } : {}, {
972
- placeholder: props.placeholder,
973
+ placeholder: "".concat(props.placeholder, " ").concat(props.required ? "*" : ""),
973
974
  maxLength: props.maxLength
974
975
  }))), props.errorMessage && props.hasError && /*#__PURE__*/React.createElement("span", {
975
976
  className: "formfield-error"
@@ -1004,10 +1005,10 @@ var defaultQrFormTranslations = {
1004
1005
  pageTitle_aboutYou: "About you",
1005
1006
  pageTitle_contactDetails: "Your contact details",
1006
1007
  pageTitle_consents: "Consents",
1007
- label_howCanWeHelp: "How can we help?",
1008
- label_customerSupport: "Customer Support",
1009
- label_technicalSupport: "Technical Support",
1010
- label_ProductDetails: "Product Information",
1008
+ label_howMayWeHelpYou: "How may we help you?",
1009
+ label_customerSupport: "Customer support",
1010
+ label_technicalSupport: "Technical support",
1011
+ label_ProductDetails: "Product information",
1011
1012
  label_warrantyClaim: "Warranty claim",
1012
1013
  label_serviceRequest: "Service request",
1013
1014
  label_oilAndSpares: "Oil and spares",
@@ -1023,7 +1024,7 @@ var defaultQrFormTranslations = {
1023
1024
  label_email: "Email",
1024
1025
  label_phone: "Phone",
1025
1026
  label_city: "City",
1026
- label_zip: "ZIP / Postal code",
1027
+ label_postcodeOrZip: "Postcode or ZIP",
1027
1028
  consent_acceptPolicy: "I accept the policy",
1028
1029
  consent_default: "Consent",
1029
1030
  consent_requiredMessage: "Please acknowledge this consent"
@@ -1165,10 +1166,13 @@ var QrForm = function (props) {
1165
1166
  type: "select",
1166
1167
  name: "how_can_we_help",
1167
1168
  options: [{
1168
- label: i18n.label_howCanWeHelp,
1169
+ label: i18n.label_howMayWeHelpYou,
1169
1170
  value: "",
1170
1171
  selected: true,
1171
1172
  disabled: true
1173
+ }, {
1174
+ label: i18n.label_technicalSupport,
1175
+ value: "technical support"
1172
1176
  }, {
1173
1177
  label: i18n.label_warrantyClaim,
1174
1178
  value: "warranty claim"
@@ -1235,9 +1239,9 @@ var QrForm = function (props) {
1235
1239
  required: false
1236
1240
  }, {
1237
1241
  type: "text",
1238
- name: "zip",
1239
- label: i18n.label_zip,
1240
- placeholder: i18n.label_zip,
1242
+ name: "postcodeOrZip",
1243
+ label: i18n.label_postcodeOrZip,
1244
+ placeholder: i18n.label_postcodeOrZip,
1241
1245
  required: false
1242
1246
  }], __spreadArray([], consentFields, true)];
1243
1247
  var handleChange = function (name, value) {