@elementor/editor-audits 4.3.4 → 4.3.5
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.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +789 -1098
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +731 -1040
- package/dist/index.mjs.map +1 -1
- package/package.json +17 -17
- package/src/audits/accessibility-statement.ts +2 -2
- package/src/audits/cookie-policy.ts +1 -0
- package/src/audits/images-alt-text.ts +6 -4
- package/src/audits/images-inefficient-format.ts +8 -9
- package/src/audits/images-too-large.ts +8 -9
- package/src/audits/nested-boxed-containers.ts +5 -0
- package/src/components/audit-feedback.tsx +4 -1
- package/src/components/audit-panel.tsx +13 -13
- package/src/components/audit-toggle-icon.tsx +22 -0
- package/src/components/fix-violation-with-angie.tsx +18 -7
- package/src/components/pages/category-page.tsx +27 -3
- package/src/components/pages/overview-page.tsx +24 -29
- package/src/components/report-shell.tsx +10 -91
- package/src/components/rescan-button.tsx +38 -0
- package/src/components/severity-icons.tsx +5 -1
- package/src/components/severity-summary-cards.tsx +52 -0
- package/src/components/violation-cta-button.tsx +10 -2
- package/src/components/violation-icons.tsx +2 -2
- package/src/components/violation-row.tsx +118 -69
- package/src/hooks/use-audit-report.ts +5 -4
- package/src/hooks/use-audit-toggle-props.ts +2 -2
- package/src/hooks/use-single-expanded-card.ts +11 -0
- package/src/init.ts +2 -0
- package/src/register-audits.ts +0 -2
- package/src/register-promotions.ts +0 -23
- package/src/runner.ts +6 -2
- package/src/store/selectors.ts +4 -0
- package/src/store/slice.ts +10 -1
- package/src/sync-report-staleness.ts +14 -0
- package/src/types.ts +2 -0
- package/src/utils/all-image-sources.ts +17 -0
- package/src/utils/alt-text-image-sources.ts +24 -0
- package/src/utils/atomic-image-sources.ts +8 -4
- package/src/utils/audit-status-summary.ts +0 -57
- package/src/utils/image-like-sources.ts +0 -12
- package/src/utils/page-attachments.ts +3 -11
- package/src/audits/too-many-widgets.ts +0 -53
- package/src/components/audit-statuses-section.tsx +0 -65
- package/src/components/count-summary-circle.tsx +0 -66
- package/src/components/pages/all-audits-page.tsx +0 -65
- package/src/components/pages/issues-page.tsx +0 -65
- package/src/components/score-bar.tsx +0 -56
- package/src/components/score-circle.tsx +0 -60
- package/src/components/severity-filter-chips.tsx +0 -57
- package/src/utils/score-thresholds.ts +0 -23
package/dist/index.d.mts
CHANGED
|
@@ -69,6 +69,7 @@ type PageContextResponse = {
|
|
|
69
69
|
ally_accessibility_statement_created: boolean;
|
|
70
70
|
ally_accessibility_statement_url: string;
|
|
71
71
|
ally_widget_settings_url: string;
|
|
72
|
+
ally_scan_url: string;
|
|
72
73
|
cookiez_plugin_active: boolean;
|
|
73
74
|
cookiez_plugin_url: string;
|
|
74
75
|
cookiez_plugin_installed: boolean;
|
|
@@ -77,6 +78,7 @@ type PageContextResponse = {
|
|
|
77
78
|
cookiez_consent_mode_settings_url: string;
|
|
78
79
|
image_optimization_plugin_active: boolean;
|
|
79
80
|
image_optimization_plugin_url: string;
|
|
81
|
+
image_optimization_settings_url: string;
|
|
80
82
|
frontend_url: string | null;
|
|
81
83
|
site_identity: {
|
|
82
84
|
site_name_set: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -69,6 +69,7 @@ type PageContextResponse = {
|
|
|
69
69
|
ally_accessibility_statement_created: boolean;
|
|
70
70
|
ally_accessibility_statement_url: string;
|
|
71
71
|
ally_widget_settings_url: string;
|
|
72
|
+
ally_scan_url: string;
|
|
72
73
|
cookiez_plugin_active: boolean;
|
|
73
74
|
cookiez_plugin_url: string;
|
|
74
75
|
cookiez_plugin_installed: boolean;
|
|
@@ -77,6 +78,7 @@ type PageContextResponse = {
|
|
|
77
78
|
cookiez_consent_mode_settings_url: string;
|
|
78
79
|
image_optimization_plugin_active: boolean;
|
|
79
80
|
image_optimization_plugin_url: string;
|
|
81
|
+
image_optimization_settings_url: string;
|
|
80
82
|
frontend_url: string | null;
|
|
81
83
|
site_identity: {
|
|
82
84
|
site_name_set: boolean;
|