@elementor/editor-app-bar 4.1.0-828 → 4.1.0-830
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.js
CHANGED
|
@@ -480,7 +480,7 @@ function SendFeedbackPopupLocation() {
|
|
|
480
480
|
feedback_text: feedbackContent
|
|
481
481
|
});
|
|
482
482
|
};
|
|
483
|
-
const
|
|
483
|
+
const handleStartAnother = () => {
|
|
484
484
|
setFeedbackContent("");
|
|
485
485
|
setFeedbackResult(null);
|
|
486
486
|
};
|
|
@@ -535,7 +535,7 @@ function SendFeedbackPopupLocation() {
|
|
|
535
535
|
onChange: (event) => setFeedbackContent(event.target.value),
|
|
536
536
|
value: feedbackContent
|
|
537
537
|
}
|
|
538
|
-
), /* @__PURE__ */ React17.createElement(import_ui10.Stack, { direction: "row", justifyContent: "flex-end", alignItems: "center", gap: 2 }, feedbackResult && /* @__PURE__ */ React17.createElement(React17.Fragment, null, feedbackResult.success ? /* @__PURE__ */ React17.createElement(import_icons4.CheckIcon, { color: "success" }) : /* @__PURE__ */ React17.createElement(import_icons4.AlertCircleIcon, { color: "error" }), feedbackResult.message), feedbackResult?.success ? /* @__PURE__ */ React17.createElement(import_ui10.Button, { variant: "text", onClick: () =>
|
|
538
|
+
), /* @__PURE__ */ React17.createElement(import_ui10.Stack, { direction: "row", justifyContent: "flex-end", alignItems: "center", gap: 2 }, feedbackResult && /* @__PURE__ */ React17.createElement(React17.Fragment, null, feedbackResult.success ? /* @__PURE__ */ React17.createElement(import_icons4.CheckIcon, { color: "success" }) : /* @__PURE__ */ React17.createElement(import_icons4.AlertCircleIcon, { color: "error" }), feedbackResult.message), feedbackResult?.success ? /* @__PURE__ */ React17.createElement(import_ui10.Button, { variant: "text", onClick: () => handleStartAnother() }, (0, import_i18n4.__)("Submit Another Feedback", "elementor")) : /* @__PURE__ */ React17.createElement(
|
|
539
539
|
import_ui10.Button,
|
|
540
540
|
{
|
|
541
541
|
disabled: submitDisabled,
|