@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 +11 -3
- package/dist/index.esm.css +11 -3
- package/dist/index.esm.js +16 -12
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +30 -12
- package/dist/index.js.map +1 -1
- package/dist/index.scss +11 -3
- package/dist/stories/experiences/QRFormJourney/Qr-form/i18n.d.ts +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.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
|
-
|
|
1008
|
-
label_customerSupport: "Customer
|
|
1009
|
-
label_technicalSupport: "Technical
|
|
1010
|
-
label_ProductDetails: "Product
|
|
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
|
-
|
|
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.
|
|
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: "
|
|
1239
|
-
label: i18n.
|
|
1240
|
-
placeholder: i18n.
|
|
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) {
|
|
@@ -1474,3 +1478,17 @@ var QrForm = function (props) {
|
|
|
1474
1478
|
};
|
|
1475
1479
|
|
|
1476
1480
|
export { AccordionSection, AlgoliaDynamicSearchEdwards as AlgoliaDynamicSearch, AlgoliaDynamicSearchRaw, Card, ProductCard, ProductDetailsCard, QrForm };
|
|
1481
|
+
rl,
|
|
1482
|
+
target: buttonProps.newTab ? '_blank' : '',
|
|
1483
|
+
buttonStyle: "primary"
|
|
1484
|
+
})));
|
|
1485
|
+
};
|
|
1486
|
+
|
|
1487
|
+
exports.AccordionSection = AccordionSection;
|
|
1488
|
+
exports.AlgoliaDynamicSearch = AlgoliaDynamicSearchEdwards;
|
|
1489
|
+
exports.AlgoliaDynamicSearchRaw = AlgoliaDynamicSearchRaw;
|
|
1490
|
+
exports.Card = Card;
|
|
1491
|
+
exports.ProductCard = ProductCard;
|
|
1492
|
+
exports.ProductDetailsCard = ProductDetailsCard;
|
|
1493
|
+
exports.QrForm = QrForm;
|
|
1494
|
+
//# sourceMappingURL=index.js.map
|