@elementor/editor-audits 4.3.2 → 4.3.3

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.mjs CHANGED
@@ -1038,7 +1038,12 @@ function ViolationRow({ audit: audit23, skipReason, violations }) {
1038
1038
  },
1039
1039
  /* @__PURE__ */ React11.createElement(ViolationIcon, { violation, widgetIcon }),
1040
1040
  /* @__PURE__ */ React11.createElement(Box7, { sx: { flex: 1 } }, /* @__PURE__ */ React11.createElement(Typography6, { variant: "caption" }, rowLabel), violation.detail && /* @__PURE__ */ React11.createElement(Typography6, { variant: "caption", color: "text.secondary" }, violation.detail)),
1041
- violation.angieFix && /* @__PURE__ */ React11.createElement(FixViolationWithAngie, { prompt: buildAngiePrompt(rowLabel) }),
1041
+ violation.angieFix && /* @__PURE__ */ React11.createElement(
1042
+ FixViolationWithAngie,
1043
+ {
1044
+ prompt: violation.angiePrompt ?? buildAngiePrompt(rowLabel)
1045
+ }
1046
+ ),
1042
1047
  violation.ctaLabel && violation.externalUrl ? /* @__PURE__ */ React11.createElement(
1043
1048
  ViolationCtaButton,
1044
1049
  {
@@ -2560,7 +2565,11 @@ var audit14 = {
2560
2565
  auditId: audit14.id,
2561
2566
  label: __38("Page has no title.", "elementor"),
2562
2567
  targetHint: "page-settings",
2563
- angieFix: true
2568
+ angieFix: true,
2569
+ angiePrompt: __38(
2570
+ "Based on this page's contents, generate a title for this page.",
2571
+ "elementor"
2572
+ )
2564
2573
  }
2565
2574
  ]
2566
2575
  };