@bigbinary/neeto-molecules 3.16.49 → 3.16.51
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/cjs/ProductEmbed.js
CHANGED
|
@@ -369,7 +369,7 @@ var ElementPopup$1 = function ElementPopup(_ref) {
|
|
|
369
369
|
helpText: t("neetoMolecules.productEmbed.elementPopup.callout"),
|
|
370
370
|
label: t("neetoMolecules.productEmbed.elementPopup.elementId"),
|
|
371
371
|
value: elementSelector,
|
|
372
|
-
error: !elementSelector && t("neetoMolecules.productEmbed.elementPopup.
|
|
372
|
+
error: !elementSelector && t("neetoMolecules.productEmbed.elementPopup.elementIdError"),
|
|
373
373
|
onChange: function onChange(e) {
|
|
374
374
|
return updateCustomization({
|
|
375
375
|
elementSelector: e.target.value
|
|
@@ -414,6 +414,7 @@ var FloatingPopup$1 = function FloatingPopup(_ref) {
|
|
|
414
414
|
"data-testid": "button-text-input-field",
|
|
415
415
|
label: t("neetoMolecules.productEmbed.floatingPopup.button.text"),
|
|
416
416
|
value: btnText,
|
|
417
|
+
error: !btnText && t("neetoMolecules.productEmbed.floatingPopup.button.textError"),
|
|
417
418
|
onChange: function onChange(e) {
|
|
418
419
|
return updateCustomization({
|
|
419
420
|
btnText: e.target.value
|
|
@@ -551,6 +552,7 @@ var Inline$1 = function Inline(_ref) {
|
|
|
551
552
|
"data-cy": "inline-element-id-input-field",
|
|
552
553
|
"data-testid": "inline-element-id-input-field",
|
|
553
554
|
value: elementSelector,
|
|
555
|
+
error: !elementSelector && t("neetoMolecules.productEmbed.inline.elementIdError"),
|
|
554
556
|
onChange: function onChange(e) {
|
|
555
557
|
return handleInputChange(e, "elementSelector");
|
|
556
558
|
}
|