@empline/preflight 1.1.11 → 1.1.13
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/checks/consolidated/auth-storage-state.d.ts +3 -0
- package/dist/checks/consolidated/auth-storage-state.d.ts.map +1 -0
- package/dist/checks/consolidated/auth-storage-state.js +146 -0
- package/dist/checks/consolidated/auth-storage-state.js.map +1 -0
- package/dist/checks/consolidated/business.d.ts +50 -0
- package/dist/checks/consolidated/business.d.ts.map +1 -0
- package/dist/checks/consolidated/business.js +252 -0
- package/dist/checks/consolidated/business.js.map +1 -0
- package/dist/checks/consolidated/caching-strategy.d.ts +104 -0
- package/dist/checks/consolidated/caching-strategy.d.ts.map +1 -0
- package/dist/checks/consolidated/caching-strategy.js +725 -0
- package/dist/checks/consolidated/caching-strategy.js.map +1 -0
- package/dist/checks/consolidated/code-quality.d.ts +83 -0
- package/dist/checks/consolidated/code-quality.d.ts.map +1 -0
- package/dist/checks/consolidated/code-quality.js +445 -0
- package/dist/checks/consolidated/code-quality.js.map +1 -0
- package/dist/checks/consolidated/console-statements.d.ts +32 -0
- package/dist/checks/consolidated/console-statements.d.ts.map +1 -0
- package/dist/checks/consolidated/console-statements.js +304 -0
- package/dist/checks/consolidated/console-statements.js.map +1 -0
- package/dist/checks/consolidated/css-advanced-validation.d.ts +24 -0
- package/dist/checks/consolidated/css-advanced-validation.d.ts.map +1 -0
- package/dist/checks/consolidated/css-advanced-validation.js +415 -0
- package/dist/checks/consolidated/css-advanced-validation.js.map +1 -0
- package/dist/checks/consolidated/css-organization.d.ts +14 -0
- package/dist/checks/consolidated/css-organization.d.ts.map +1 -0
- package/dist/checks/consolidated/css-organization.js +432 -0
- package/dist/checks/consolidated/css-organization.js.map +1 -0
- package/dist/checks/consolidated/css-runtime-validation.d.ts +22 -0
- package/dist/checks/consolidated/css-runtime-validation.d.ts.map +1 -0
- package/dist/checks/consolidated/css-runtime-validation.js +330 -0
- package/dist/checks/consolidated/css-runtime-validation.js.map +1 -0
- package/dist/checks/consolidated/css-variable-validation.d.ts +17 -0
- package/dist/checks/consolidated/css-variable-validation.d.ts.map +1 -0
- package/dist/checks/consolidated/css-variable-validation.js +412 -0
- package/dist/checks/consolidated/css-variable-validation.js.map +1 -0
- package/dist/checks/consolidated/dark-mode-consistency.d.ts +23 -0
- package/dist/checks/consolidated/dark-mode-consistency.d.ts.map +1 -0
- package/dist/checks/consolidated/dark-mode-consistency.js +291 -0
- package/dist/checks/consolidated/dark-mode-consistency.js.map +1 -0
- package/dist/checks/consolidated/database.d.ts +95 -0
- package/dist/checks/consolidated/database.d.ts.map +1 -0
- package/dist/checks/consolidated/database.js +427 -0
- package/dist/checks/consolidated/database.js.map +1 -0
- package/dist/checks/consolidated/e2e-checks.d.ts +52 -0
- package/dist/checks/consolidated/e2e-checks.d.ts.map +1 -0
- package/dist/checks/consolidated/e2e-checks.js +157 -0
- package/dist/checks/consolidated/e2e-checks.js.map +1 -0
- package/dist/checks/consolidated/e2e-regression-coverage.d.ts +14 -0
- package/dist/checks/consolidated/e2e-regression-coverage.d.ts.map +1 -0
- package/dist/checks/consolidated/e2e-regression-coverage.js +151 -0
- package/dist/checks/consolidated/e2e-regression-coverage.js.map +1 -0
- package/dist/checks/consolidated/e2e-validation.d.ts +137 -0
- package/dist/checks/consolidated/e2e-validation.d.ts.map +1 -0
- package/dist/checks/consolidated/e2e-validation.js +1001 -0
- package/dist/checks/consolidated/e2e-validation.js.map +1 -0
- package/dist/checks/consolidated/enterprise-baseline.d.ts +9 -0
- package/dist/checks/consolidated/enterprise-baseline.d.ts.map +1 -0
- package/dist/checks/consolidated/enterprise-baseline.js +277 -0
- package/dist/checks/consolidated/enterprise-baseline.js.map +1 -0
- package/dist/checks/consolidated/generate-pageload-config.d.ts +6 -0
- package/dist/checks/consolidated/generate-pageload-config.d.ts.map +1 -0
- package/dist/checks/consolidated/generate-pageload-config.js +161 -0
- package/dist/checks/consolidated/generate-pageload-config.js.map +1 -0
- package/dist/checks/consolidated/hardened-checks.d.ts +276 -0
- package/dist/checks/consolidated/hardened-checks.d.ts.map +1 -0
- package/dist/checks/consolidated/hardened-checks.js +3056 -0
- package/dist/checks/consolidated/hardened-checks.js.map +1 -0
- package/dist/checks/consolidated/homepage-ux.d.ts +12 -0
- package/dist/checks/consolidated/homepage-ux.d.ts.map +1 -0
- package/dist/checks/consolidated/homepage-ux.js +242 -0
- package/dist/checks/consolidated/homepage-ux.js.map +1 -0
- package/dist/checks/consolidated/images.d.ts +76 -0
- package/dist/checks/consolidated/images.d.ts.map +1 -0
- package/dist/checks/consolidated/images.js +311 -0
- package/dist/checks/consolidated/images.js.map +1 -0
- package/dist/checks/consolidated/import-cycles.d.ts +63 -0
- package/dist/checks/consolidated/import-cycles.d.ts.map +1 -0
- package/dist/checks/consolidated/import-cycles.js +291 -0
- package/dist/checks/consolidated/import-cycles.js.map +1 -0
- package/dist/checks/consolidated/imports.d.ts +112 -0
- package/dist/checks/consolidated/imports.d.ts.map +1 -0
- package/dist/checks/consolidated/imports.js +977 -0
- package/dist/checks/consolidated/imports.js.map +1 -0
- package/dist/checks/consolidated/inline-style-conflicts.d.ts +21 -0
- package/dist/checks/consolidated/inline-style-conflicts.d.ts.map +1 -0
- package/dist/checks/consolidated/inline-style-conflicts.js +300 -0
- package/dist/checks/consolidated/inline-style-conflicts.js.map +1 -0
- package/dist/checks/consolidated/lib-organization.d.ts +12 -0
- package/dist/checks/consolidated/lib-organization.d.ts.map +1 -0
- package/dist/checks/consolidated/lib-organization.js +419 -0
- package/dist/checks/consolidated/lib-organization.js.map +1 -0
- package/dist/checks/consolidated/n-plus-one.d.ts +63 -0
- package/dist/checks/consolidated/n-plus-one.d.ts.map +1 -0
- package/dist/checks/consolidated/n-plus-one.js +331 -0
- package/dist/checks/consolidated/n-plus-one.js.map +1 -0
- package/dist/checks/consolidated/nextjs.d.ts +51 -0
- package/dist/checks/consolidated/nextjs.d.ts.map +1 -0
- package/dist/checks/consolidated/nextjs.js +205 -0
- package/dist/checks/consolidated/nextjs.js.map +1 -0
- package/dist/checks/consolidated/organization.d.ts +54 -0
- package/dist/checks/consolidated/organization.d.ts.map +1 -0
- package/dist/checks/consolidated/organization.js +158 -0
- package/dist/checks/consolidated/organization.js.map +1 -0
- package/dist/checks/consolidated/pageload.d.ts +12 -0
- package/dist/checks/consolidated/pageload.d.ts.map +1 -0
- package/dist/checks/consolidated/pageload.js +138 -0
- package/dist/checks/consolidated/pageload.js.map +1 -0
- package/dist/checks/consolidated/performance.d.ts +112 -0
- package/dist/checks/consolidated/performance.d.ts.map +1 -0
- package/dist/checks/consolidated/performance.js +1546 -0
- package/dist/checks/consolidated/performance.js.map +1 -0
- package/dist/checks/consolidated/quality.d.ts +52 -0
- package/dist/checks/consolidated/quality.d.ts.map +1 -0
- package/dist/checks/consolidated/quality.js +253 -0
- package/dist/checks/consolidated/quality.js.map +1 -0
- package/dist/checks/consolidated/react.d.ts +48 -0
- package/dist/checks/consolidated/react.d.ts.map +1 -0
- package/dist/checks/consolidated/react.js +203 -0
- package/dist/checks/consolidated/react.js.map +1 -0
- package/dist/checks/consolidated/regression-hygiene.d.ts +17 -0
- package/dist/checks/consolidated/regression-hygiene.d.ts.map +1 -0
- package/dist/checks/consolidated/regression-hygiene.js +242 -0
- package/dist/checks/consolidated/regression-hygiene.js.map +1 -0
- package/dist/checks/consolidated/regression.d.ts +20 -0
- package/dist/checks/consolidated/regression.d.ts.map +1 -0
- package/dist/checks/consolidated/regression.js +121 -0
- package/dist/checks/consolidated/regression.js.map +1 -0
- package/dist/checks/consolidated/runtime.d.ts +53 -0
- package/dist/checks/consolidated/runtime.d.ts.map +1 -0
- package/dist/checks/consolidated/runtime.js +160 -0
- package/dist/checks/consolidated/runtime.js.map +1 -0
- package/dist/checks/consolidated/script-performance.d.ts +17 -0
- package/dist/checks/consolidated/script-performance.d.ts.map +1 -0
- package/dist/checks/consolidated/script-performance.js +137 -0
- package/dist/checks/consolidated/script-performance.js.map +1 -0
- package/dist/checks/consolidated/security.d.ts +78 -0
- package/dist/checks/consolidated/security.d.ts.map +1 -0
- package/dist/checks/consolidated/security.js +404 -0
- package/dist/checks/consolidated/security.js.map +1 -0
- package/dist/checks/consolidated/seo.d.ts +31 -0
- package/dist/checks/consolidated/seo.d.ts.map +1 -0
- package/dist/checks/consolidated/seo.js +1438 -0
- package/dist/checks/consolidated/seo.js.map +1 -0
- package/dist/checks/consolidated/sx-prop-deprecation.d.ts +22 -0
- package/dist/checks/consolidated/sx-prop-deprecation.d.ts.map +1 -0
- package/dist/checks/consolidated/sx-prop-deprecation.js +280 -0
- package/dist/checks/consolidated/sx-prop-deprecation.js.map +1 -0
- package/dist/checks/consolidated/tailwind-class-validation.d.ts +25 -0
- package/dist/checks/consolidated/tailwind-class-validation.d.ts.map +1 -0
- package/dist/checks/consolidated/tailwind-class-validation.js +533 -0
- package/dist/checks/consolidated/tailwind-class-validation.js.map +1 -0
- package/dist/checks/consolidated/testing.d.ts +54 -0
- package/dist/checks/consolidated/testing.d.ts.map +1 -0
- package/dist/checks/consolidated/testing.js +163 -0
- package/dist/checks/consolidated/testing.js.map +1 -0
- package/dist/checks/consolidated/typescript.d.ts +3 -0
- package/dist/checks/consolidated/typescript.d.ts.map +1 -0
- package/dist/checks/consolidated/typescript.js +31 -0
- package/dist/checks/consolidated/typescript.js.map +1 -0
- package/dist/checks/consolidated/ui-accessibility-advanced.d.ts +104 -0
- package/dist/checks/consolidated/ui-accessibility-advanced.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-accessibility-advanced.js +689 -0
- package/dist/checks/consolidated/ui-accessibility-advanced.js.map +1 -0
- package/dist/checks/consolidated/ui-accessibility.d.ts +121 -0
- package/dist/checks/consolidated/ui-accessibility.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-accessibility.js +776 -0
- package/dist/checks/consolidated/ui-accessibility.js.map +1 -0
- package/dist/checks/consolidated/ui-advanced-spacing.d.ts +142 -0
- package/dist/checks/consolidated/ui-advanced-spacing.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-advanced-spacing.js +1220 -0
- package/dist/checks/consolidated/ui-advanced-spacing.js.map +1 -0
- package/dist/checks/consolidated/ui-animation-duration.d.ts +108 -0
- package/dist/checks/consolidated/ui-animation-duration.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-animation-duration.js +531 -0
- package/dist/checks/consolidated/ui-animation-duration.js.map +1 -0
- package/dist/checks/consolidated/ui-border-radius.d.ts +90 -0
- package/dist/checks/consolidated/ui-border-radius.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-border-radius.js +519 -0
- package/dist/checks/consolidated/ui-border-radius.js.map +1 -0
- package/dist/checks/consolidated/ui-buttons.d.ts +32 -0
- package/dist/checks/consolidated/ui-buttons.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-buttons.js +481 -0
- package/dist/checks/consolidated/ui-buttons.js.map +1 -0
- package/dist/checks/consolidated/ui-cards.d.ts +29 -0
- package/dist/checks/consolidated/ui-cards.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-cards.js +504 -0
- package/dist/checks/consolidated/ui-cards.js.map +1 -0
- package/dist/checks/consolidated/ui-checks.d.ts +48 -0
- package/dist/checks/consolidated/ui-checks.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-checks.js +264 -0
- package/dist/checks/consolidated/ui-checks.js.map +1 -0
- package/dist/checks/consolidated/ui-cleanup.d.ts +81 -0
- package/dist/checks/consolidated/ui-cleanup.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-cleanup.js +650 -0
- package/dist/checks/consolidated/ui-cleanup.js.map +1 -0
- package/dist/checks/consolidated/ui-components.d.ts +255 -0
- package/dist/checks/consolidated/ui-components.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-components.js +2008 -0
- package/dist/checks/consolidated/ui-components.js.map +1 -0
- package/dist/checks/consolidated/ui-consistency-advanced.d.ts +130 -0
- package/dist/checks/consolidated/ui-consistency-advanced.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-consistency-advanced.js +982 -0
- package/dist/checks/consolidated/ui-consistency-advanced.js.map +1 -0
- package/dist/checks/consolidated/ui-consistency-comprehensive.d.ts +30 -0
- package/dist/checks/consolidated/ui-consistency-comprehensive.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-consistency-comprehensive.js +1018 -0
- package/dist/checks/consolidated/ui-consistency-comprehensive.js.map +1 -0
- package/dist/checks/consolidated/ui-consistency-extended.d.ts +26 -0
- package/dist/checks/consolidated/ui-consistency-extended.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-consistency-extended.js +606 -0
- package/dist/checks/consolidated/ui-consistency-extended.js.map +1 -0
- package/dist/checks/consolidated/ui-data-display.d.ts +103 -0
- package/dist/checks/consolidated/ui-data-display.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-data-display.js +740 -0
- package/dist/checks/consolidated/ui-data-display.js.map +1 -0
- package/dist/checks/consolidated/ui-deprecated.d.ts +22 -0
- package/dist/checks/consolidated/ui-deprecated.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-deprecated.js +336 -0
- package/dist/checks/consolidated/ui-deprecated.js.map +1 -0
- package/dist/checks/consolidated/ui-empty-null-states.d.ts +90 -0
- package/dist/checks/consolidated/ui-empty-null-states.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-empty-null-states.js +511 -0
- package/dist/checks/consolidated/ui-empty-null-states.js.map +1 -0
- package/dist/checks/consolidated/ui-error-states.d.ts +99 -0
- package/dist/checks/consolidated/ui-error-states.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-error-states.js +694 -0
- package/dist/checks/consolidated/ui-error-states.js.map +1 -0
- package/dist/checks/consolidated/ui-feedback-confirmations.d.ts +90 -0
- package/dist/checks/consolidated/ui-feedback-confirmations.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-feedback-confirmations.js +596 -0
- package/dist/checks/consolidated/ui-feedback-confirmations.js.map +1 -0
- package/dist/checks/consolidated/ui-forms.d.ts +32 -0
- package/dist/checks/consolidated/ui-forms.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-forms.js +568 -0
- package/dist/checks/consolidated/ui-forms.js.map +1 -0
- package/dist/checks/consolidated/ui-gradient-shadow.d.ts +90 -0
- package/dist/checks/consolidated/ui-gradient-shadow.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-gradient-shadow.js +568 -0
- package/dist/checks/consolidated/ui-gradient-shadow.js.map +1 -0
- package/dist/checks/consolidated/ui-grid-responsive.d.ts +27 -0
- package/dist/checks/consolidated/ui-grid-responsive.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-grid-responsive.js +441 -0
- package/dist/checks/consolidated/ui-grid-responsive.js.map +1 -0
- package/dist/checks/consolidated/ui-icon-size-tokens.d.ts +104 -0
- package/dist/checks/consolidated/ui-icon-size-tokens.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-icon-size-tokens.js +514 -0
- package/dist/checks/consolidated/ui-icon-size-tokens.js.map +1 -0
- package/dist/checks/consolidated/ui-iconography.d.ts +90 -0
- package/dist/checks/consolidated/ui-iconography.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-iconography.js +565 -0
- package/dist/checks/consolidated/ui-iconography.js.map +1 -0
- package/dist/checks/consolidated/ui-interactive-states.d.ts +240 -0
- package/dist/checks/consolidated/ui-interactive-states.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-interactive-states.js +2474 -0
- package/dist/checks/consolidated/ui-interactive-states.js.map +1 -0
- package/dist/checks/consolidated/ui-layout.d.ts +256 -0
- package/dist/checks/consolidated/ui-layout.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-layout.js +1371 -0
- package/dist/checks/consolidated/ui-layout.js.map +1 -0
- package/dist/checks/consolidated/ui-loading-skeletons.d.ts +11 -0
- package/dist/checks/consolidated/ui-loading-skeletons.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-loading-skeletons.js +145 -0
- package/dist/checks/consolidated/ui-loading-skeletons.js.map +1 -0
- package/dist/checks/consolidated/ui-loading-state-skeletons.d.ts +9 -0
- package/dist/checks/consolidated/ui-loading-state-skeletons.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-loading-state-skeletons.js +125 -0
- package/dist/checks/consolidated/ui-loading-state-skeletons.js.map +1 -0
- package/dist/checks/consolidated/ui-media.d.ts +74 -0
- package/dist/checks/consolidated/ui-media.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-media.js +408 -0
- package/dist/checks/consolidated/ui-media.js.map +1 -0
- package/dist/checks/consolidated/ui-micro-interactions.d.ts +107 -0
- package/dist/checks/consolidated/ui-micro-interactions.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-micro-interactions.js +825 -0
- package/dist/checks/consolidated/ui-micro-interactions.js.map +1 -0
- package/dist/checks/consolidated/ui-microcopy-consistency.d.ts +114 -0
- package/dist/checks/consolidated/ui-microcopy-consistency.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-microcopy-consistency.js +566 -0
- package/dist/checks/consolidated/ui-microcopy-consistency.js.map +1 -0
- package/dist/checks/consolidated/ui-mobile-ux.d.ts +251 -0
- package/dist/checks/consolidated/ui-mobile-ux.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-mobile-ux.js +2212 -0
- package/dist/checks/consolidated/ui-mobile-ux.js.map +1 -0
- package/dist/checks/consolidated/ui-motion-accessibility.d.ts +93 -0
- package/dist/checks/consolidated/ui-motion-accessibility.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-motion-accessibility.js +450 -0
- package/dist/checks/consolidated/ui-motion-accessibility.js.map +1 -0
- package/dist/checks/consolidated/ui-navigation.d.ts +85 -0
- package/dist/checks/consolidated/ui-navigation.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-navigation.js +673 -0
- package/dist/checks/consolidated/ui-navigation.js.map +1 -0
- package/dist/checks/consolidated/ui-patterns.d.ts +174 -0
- package/dist/checks/consolidated/ui-patterns.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-patterns.js +1532 -0
- package/dist/checks/consolidated/ui-patterns.js.map +1 -0
- package/dist/checks/consolidated/ui-responsive.d.ts +89 -0
- package/dist/checks/consolidated/ui-responsive.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-responsive.js +588 -0
- package/dist/checks/consolidated/ui-responsive.js.map +1 -0
- package/dist/checks/consolidated/ui-spacing-standards.d.ts +43 -0
- package/dist/checks/consolidated/ui-spacing-standards.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-spacing-standards.js +874 -0
- package/dist/checks/consolidated/ui-spacing-standards.js.map +1 -0
- package/dist/checks/consolidated/ui-spacing.d.ts +751 -0
- package/dist/checks/consolidated/ui-spacing.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-spacing.js +4996 -0
- package/dist/checks/consolidated/ui-spacing.js.map +1 -0
- package/dist/checks/consolidated/ui-standards-auto-fixer.d.ts +70 -0
- package/dist/checks/consolidated/ui-standards-auto-fixer.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-standards-auto-fixer.js +429 -0
- package/dist/checks/consolidated/ui-standards-auto-fixer.js.map +1 -0
- package/dist/checks/consolidated/ui-standards-enforcement.d.ts +100 -0
- package/dist/checks/consolidated/ui-standards-enforcement.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-standards-enforcement.js +935 -0
- package/dist/checks/consolidated/ui-standards-enforcement.js.map +1 -0
- package/dist/checks/consolidated/ui-state-consistency.d.ts +90 -0
- package/dist/checks/consolidated/ui-state-consistency.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-state-consistency.js +659 -0
- package/dist/checks/consolidated/ui-state-consistency.js.map +1 -0
- package/dist/checks/consolidated/ui-style-validation.d.ts +74 -0
- package/dist/checks/consolidated/ui-style-validation.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-style-validation.js +403 -0
- package/dist/checks/consolidated/ui-style-validation.js.map +1 -0
- package/dist/checks/consolidated/ui-tokens.d.ts +110 -0
- package/dist/checks/consolidated/ui-tokens.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-tokens.js +990 -0
- package/dist/checks/consolidated/ui-tokens.js.map +1 -0
- package/dist/checks/consolidated/ui-typography.d.ts +77 -0
- package/dist/checks/consolidated/ui-typography.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-typography.js +416 -0
- package/dist/checks/consolidated/ui-typography.js.map +1 -0
- package/dist/checks/consolidated/ui-visual-hierarchy.d.ts +90 -0
- package/dist/checks/consolidated/ui-visual-hierarchy.d.ts.map +1 -0
- package/dist/checks/consolidated/ui-visual-hierarchy.js +562 -0
- package/dist/checks/consolidated/ui-visual-hierarchy.js.map +1 -0
- package/dist/checks/consolidated/woocommerce.d.ts +50 -0
- package/dist/checks/consolidated/woocommerce.d.ts.map +1 -0
- package/dist/checks/consolidated/woocommerce.js +198 -0
- package/dist/checks/consolidated/woocommerce.js.map +1 -0
- package/dist/checks/core/api-route-protection.d.ts +2 -0
- package/dist/checks/core/api-route-protection.d.ts.map +1 -0
- package/dist/checks/core/api-route-protection.js +101 -0
- package/dist/checks/core/api-route-protection.js.map +1 -0
- package/dist/checks/core/critical.d.ts +8 -0
- package/dist/checks/core/critical.d.ts.map +1 -0
- package/dist/checks/core/critical.js +200 -0
- package/dist/checks/core/critical.js.map +1 -0
- package/dist/checks/core/database.d.ts +8 -0
- package/dist/checks/core/database.d.ts.map +1 -0
- package/dist/checks/core/database.js +699 -0
- package/dist/checks/core/database.js.map +1 -0
- package/dist/checks/core/development.d.ts +8 -0
- package/dist/checks/core/development.d.ts.map +1 -0
- package/dist/checks/core/development.js +417 -0
- package/dist/checks/core/development.js.map +1 -0
- package/dist/checks/core/hydration-mismatch-check.d.ts +38 -0
- package/dist/checks/core/hydration-mismatch-check.d.ts.map +1 -0
- package/dist/checks/core/hydration-mismatch-check.js +411 -0
- package/dist/checks/core/hydration-mismatch-check.js.map +1 -0
- package/dist/checks/core/performance.d.ts +8 -0
- package/dist/checks/core/performance.d.ts.map +1 -0
- package/dist/checks/core/performance.js +474 -0
- package/dist/checks/core/performance.js.map +1 -0
- package/dist/checks/core/security.d.ts +8 -0
- package/dist/checks/core/security.d.ts.map +1 -0
- package/dist/checks/core/security.js +275 -0
- package/dist/checks/core/security.js.map +1 -0
- package/dist/checks/core/standardized-error-handling.d.ts +43 -0
- package/dist/checks/core/standardized-error-handling.d.ts.map +1 -0
- package/dist/checks/core/standardized-error-handling.js +384 -0
- package/dist/checks/core/standardized-error-handling.js.map +1 -0
- package/dist/checks/core/supercatch.d.ts +8 -0
- package/dist/checks/core/supercatch.d.ts.map +1 -0
- package/dist/checks/core/supercatch.js +750 -0
- package/dist/checks/core/supercatch.js.map +1 -0
- package/dist/checks/core/suppression-check.d.ts +2 -0
- package/dist/checks/core/suppression-check.d.ts.map +1 -0
- package/dist/checks/core/suppression-check.js +129 -0
- package/dist/checks/core/suppression-check.js.map +1 -0
- package/dist/checks/core/ui-quality.d.ts +8 -0
- package/dist/checks/core/ui-quality.d.ts.map +1 -0
- package/dist/checks/core/ui-quality.js +1736 -0
- package/dist/checks/core/ui-quality.js.map +1 -0
- package/dist/checks/core/unused-assets-check.d.ts +2 -0
- package/dist/checks/core/unused-assets-check.d.ts.map +1 -0
- package/dist/checks/core/unused-assets-check.js +112 -0
- package/dist/checks/core/unused-assets-check.js.map +1 -0
- package/dist/checks/core/use-status-ssr-safety.d.ts +34 -0
- package/dist/checks/core/use-status-ssr-safety.d.ts.map +1 -0
- package/dist/checks/core/use-status-ssr-safety.js +283 -0
- package/dist/checks/core/use-status-ssr-safety.js.map +1 -0
- package/dist/checks/email/email-flow-validation.d.ts +23 -0
- package/dist/checks/email/email-flow-validation.d.ts.map +1 -0
- package/dist/checks/email/email-flow-validation.js +468 -0
- package/dist/checks/email/email-flow-validation.js.map +1 -0
- package/dist/checks/email/email-template-db-verification.d.ts +20 -0
- package/dist/checks/email/email-template-db-verification.d.ts.map +1 -0
- package/dist/checks/email/email-template-db-verification.js +46 -0
- package/dist/checks/email/email-template-db-verification.js.map +1 -0
- package/dist/checks/email/email-template-validation.d.ts +24 -0
- package/dist/checks/email/email-template-validation.d.ts.map +1 -0
- package/dist/checks/email/email-template-validation.js +688 -0
- package/dist/checks/email/email-template-validation.js.map +1 -0
- package/dist/checks/jsx/comment-placement.d.ts +45 -0
- package/dist/checks/jsx/comment-placement.d.ts.map +1 -0
- package/dist/checks/jsx/comment-placement.js +316 -0
- package/dist/checks/jsx/comment-placement.js.map +1 -0
- package/dist/checks/specialized/admin-layout-check.d.ts +19 -0
- package/dist/checks/specialized/admin-layout-check.d.ts.map +1 -0
- package/dist/checks/specialized/admin-layout-check.js +166 -0
- package/dist/checks/specialized/admin-layout-check.js.map +1 -0
- package/dist/checks/specialized/client-server-separation.d.ts +14 -0
- package/dist/checks/specialized/client-server-separation.d.ts.map +1 -0
- package/dist/checks/specialized/client-server-separation.js +197 -0
- package/dist/checks/specialized/client-server-separation.js.map +1 -0
- package/dist/checks/specialized/cost-optimization.d.ts +18 -0
- package/dist/checks/specialized/cost-optimization.d.ts.map +1 -0
- package/dist/checks/specialized/cost-optimization.js +78 -0
- package/dist/checks/specialized/cost-optimization.js.map +1 -0
- package/dist/checks/specialized/database-migration-sync.d.ts +21 -0
- package/dist/checks/specialized/database-migration-sync.d.ts.map +1 -0
- package/dist/checks/specialized/database-migration-sync.js +150 -0
- package/dist/checks/specialized/database-migration-sync.js.map +1 -0
- package/dist/checks/specialized/database-model-validation.d.ts +15 -0
- package/dist/checks/specialized/database-model-validation.d.ts.map +1 -0
- package/dist/checks/specialized/database-model-validation.js +35 -0
- package/dist/checks/specialized/database-model-validation.js.map +1 -0
- package/dist/checks/specialized/database-schema-migrations-diff.d.ts +27 -0
- package/dist/checks/specialized/database-schema-migrations-diff.d.ts.map +1 -0
- package/dist/checks/specialized/database-schema-migrations-diff.js +177 -0
- package/dist/checks/specialized/database-schema-migrations-diff.js.map +1 -0
- package/dist/checks/specialized/database-schema-sync.d.ts +23 -0
- package/dist/checks/specialized/database-schema-sync.d.ts.map +1 -0
- package/dist/checks/specialized/database-schema-sync.js +77 -0
- package/dist/checks/specialized/database-schema-sync.js.map +1 -0
- package/dist/checks/specialized/decimal-serialization.d.ts +24 -0
- package/dist/checks/specialized/decimal-serialization.d.ts.map +1 -0
- package/dist/checks/specialized/decimal-serialization.js +400 -0
- package/dist/checks/specialized/decimal-serialization.js.map +1 -0
- package/dist/checks/specialized/detect-router-issues.d.ts +14 -0
- package/dist/checks/specialized/detect-router-issues.d.ts.map +1 -0
- package/dist/checks/specialized/detect-router-issues.js +96 -0
- package/dist/checks/specialized/detect-router-issues.js.map +1 -0
- package/dist/checks/specialized/enum-validation.d.ts +15 -0
- package/dist/checks/specialized/enum-validation.d.ts.map +1 -0
- package/dist/checks/specialized/enum-validation.js +35 -0
- package/dist/checks/specialized/enum-validation.js.map +1 -0
- package/dist/checks/specialized/hash-collision.d.ts +18 -0
- package/dist/checks/specialized/hash-collision.d.ts.map +1 -0
- package/dist/checks/specialized/hash-collision.js +78 -0
- package/dist/checks/specialized/hash-collision.js.map +1 -0
- package/dist/checks/specialized/id-generation-enforcement.d.ts +16 -0
- package/dist/checks/specialized/id-generation-enforcement.d.ts.map +1 -0
- package/dist/checks/specialized/id-generation-enforcement.js +307 -0
- package/dist/checks/specialized/id-generation-enforcement.js.map +1 -0
- package/dist/checks/specialized/image-data-integrity.d.ts +15 -0
- package/dist/checks/specialized/image-data-integrity.d.ts.map +1 -0
- package/dist/checks/specialized/image-data-integrity.js +79 -0
- package/dist/checks/specialized/image-data-integrity.js.map +1 -0
- package/dist/checks/specialized/image-health.d.ts +14 -0
- package/dist/checks/specialized/image-health.d.ts.map +1 -0
- package/dist/checks/specialized/image-health.js +122 -0
- package/dist/checks/specialized/image-health.js.map +1 -0
- package/dist/checks/specialized/image-metadata-validation.d.ts +14 -0
- package/dist/checks/specialized/image-metadata-validation.d.ts.map +1 -0
- package/dist/checks/specialized/image-metadata-validation.js +95 -0
- package/dist/checks/specialized/image-metadata-validation.js.map +1 -0
- package/dist/checks/specialized/image-optimization.d.ts +16 -0
- package/dist/checks/specialized/image-optimization.d.ts.map +1 -0
- package/dist/checks/specialized/image-optimization.js +86 -0
- package/dist/checks/specialized/image-optimization.js.map +1 -0
- package/dist/checks/specialized/invalid-module-imports.d.ts +24 -0
- package/dist/checks/specialized/invalid-module-imports.d.ts.map +1 -0
- package/dist/checks/specialized/invalid-module-imports.js +209 -0
- package/dist/checks/specialized/invalid-module-imports.js.map +1 -0
- package/dist/checks/specialized/lint-validation.d.ts +26 -0
- package/dist/checks/specialized/lint-validation.d.ts.map +1 -0
- package/dist/checks/specialized/lint-validation.js +193 -0
- package/dist/checks/specialized/lint-validation.js.map +1 -0
- package/dist/checks/specialized/listing-workflow.d.ts +19 -0
- package/dist/checks/specialized/listing-workflow.d.ts.map +1 -0
- package/dist/checks/specialized/listing-workflow.js +89 -0
- package/dist/checks/specialized/listing-workflow.js.map +1 -0
- package/dist/checks/specialized/mui-imports-validation.d.ts +18 -0
- package/dist/checks/specialized/mui-imports-validation.d.ts.map +1 -0
- package/dist/checks/specialized/mui-imports-validation.js +134 -0
- package/dist/checks/specialized/mui-imports-validation.js.map +1 -0
- package/dist/checks/specialized/nextauth-v5-compliance.d.ts +16 -0
- package/dist/checks/specialized/nextauth-v5-compliance.d.ts.map +1 -0
- package/dist/checks/specialized/nextauth-v5-compliance.js +164 -0
- package/dist/checks/specialized/nextauth-v5-compliance.js.map +1 -0
- package/dist/checks/specialized/nextjs-params-check.d.ts +14 -0
- package/dist/checks/specialized/nextjs-params-check.d.ts.map +1 -0
- package/dist/checks/specialized/nextjs-params-check.js +140 -0
- package/dist/checks/specialized/nextjs-params-check.js.map +1 -0
- package/dist/checks/specialized/no-legacy-catalog-aliases-validation.d.ts +16 -0
- package/dist/checks/specialized/no-legacy-catalog-aliases-validation.d.ts.map +1 -0
- package/dist/checks/specialized/no-legacy-catalog-aliases-validation.js +36 -0
- package/dist/checks/specialized/no-legacy-catalog-aliases-validation.js.map +1 -0
- package/dist/checks/specialized/no-wata-cardgraded-validation.d.ts +22 -0
- package/dist/checks/specialized/no-wata-cardgraded-validation.d.ts.map +1 -0
- package/dist/checks/specialized/no-wata-cardgraded-validation.js +97 -0
- package/dist/checks/specialized/no-wata-cardgraded-validation.js.map +1 -0
- package/dist/checks/specialized/parameter-consistency-check.d.ts +20 -0
- package/dist/checks/specialized/parameter-consistency-check.d.ts.map +1 -0
- package/dist/checks/specialized/parameter-consistency-check.js +115 -0
- package/dist/checks/specialized/parameter-consistency-check.js.map +1 -0
- package/dist/checks/specialized/prisma-field-names-validation.d.ts +15 -0
- package/dist/checks/specialized/prisma-field-names-validation.d.ts.map +1 -0
- package/dist/checks/specialized/prisma-field-names-validation.js +35 -0
- package/dist/checks/specialized/prisma-field-names-validation.js.map +1 -0
- package/dist/checks/specialized/prisma-null-syntax.d.ts +34 -0
- package/dist/checks/specialized/prisma-null-syntax.d.ts.map +1 -0
- package/dist/checks/specialized/prisma-null-syntax.js +330 -0
- package/dist/checks/specialized/prisma-null-syntax.js.map +1 -0
- package/dist/checks/specialized/prisma-query-validation.d.ts +15 -0
- package/dist/checks/specialized/prisma-query-validation.d.ts.map +1 -0
- package/dist/checks/specialized/prisma-query-validation.js +35 -0
- package/dist/checks/specialized/prisma-query-validation.js.map +1 -0
- package/dist/checks/specialized/product-type-validation.d.ts +17 -0
- package/dist/checks/specialized/product-type-validation.d.ts.map +1 -0
- package/dist/checks/specialized/product-type-validation.js +129 -0
- package/dist/checks/specialized/product-type-validation.js.map +1 -0
- package/dist/checks/specialized/responsive-image-validation.d.ts +14 -0
- package/dist/checks/specialized/responsive-image-validation.d.ts.map +1 -0
- package/dist/checks/specialized/responsive-image-validation.js +101 -0
- package/dist/checks/specialized/responsive-image-validation.js.map +1 -0
- package/dist/checks/specialized/root-cleanliness.d.ts +21 -0
- package/dist/checks/specialized/root-cleanliness.d.ts.map +1 -0
- package/dist/checks/specialized/root-cleanliness.js +251 -0
- package/dist/checks/specialized/root-cleanliness.js.map +1 -0
- package/dist/checks/specialized/rotation-detection-validation.d.ts +16 -0
- package/dist/checks/specialized/rotation-detection-validation.d.ts.map +1 -0
- package/dist/checks/specialized/rotation-detection-validation.js +113 -0
- package/dist/checks/specialized/rotation-detection-validation.js.map +1 -0
- package/dist/checks/specialized/script-organization.d.ts +17 -0
- package/dist/checks/specialized/script-organization.d.ts.map +1 -0
- package/dist/checks/specialized/script-organization.js +487 -0
- package/dist/checks/specialized/script-organization.js.map +1 -0
- package/dist/checks/specialized/shared-components-migration.d.ts +137 -0
- package/dist/checks/specialized/shared-components-migration.d.ts.map +1 -0
- package/dist/checks/specialized/shared-components-migration.js +1288 -0
- package/dist/checks/specialized/shared-components-migration.js.map +1 -0
- package/dist/checks/specialized/store-specialties-normalization.d.ts +10 -0
- package/dist/checks/specialized/store-specialties-normalization.d.ts.map +1 -0
- package/dist/checks/specialized/store-specialties-normalization.js +126 -0
- package/dist/checks/specialized/store-specialties-normalization.js.map +1 -0
- package/dist/checks/specialized/two-stage-trim-validation.d.ts +16 -0
- package/dist/checks/specialized/two-stage-trim-validation.d.ts.map +1 -0
- package/dist/checks/specialized/two-stage-trim-validation.js +115 -0
- package/dist/checks/specialized/two-stage-trim-validation.js.map +1 -0
- package/dist/checks/specialized/underscore-variable-audit.d.ts +26 -0
- package/dist/checks/specialized/underscore-variable-audit.d.ts.map +1 -0
- package/dist/checks/specialized/underscore-variable-audit.js +219 -0
- package/dist/checks/specialized/underscore-variable-audit.js.map +1 -0
- package/dist/checks/specialized/unified-badge-consistency.d.ts +16 -0
- package/dist/checks/specialized/unified-badge-consistency.d.ts.map +1 -0
- package/dist/checks/specialized/unified-badge-consistency.js +284 -0
- package/dist/checks/specialized/unified-badge-consistency.js.map +1 -0
- package/dist/checks/specialized/validate-integration-enums.d.ts +15 -0
- package/dist/checks/specialized/validate-integration-enums.d.ts.map +1 -0
- package/dist/checks/specialized/validate-integration-enums.js +131 -0
- package/dist/checks/specialized/validate-integration-enums.js.map +1 -0
- package/dist/checks/testing/action-regression.d.ts +23 -0
- package/dist/checks/testing/action-regression.d.ts.map +1 -0
- package/dist/checks/testing/action-regression.js +192 -0
- package/dist/checks/testing/action-regression.js.map +1 -0
- package/dist/checks/testing/critical-api-coverage.d.ts +21 -0
- package/dist/checks/testing/critical-api-coverage.d.ts.map +1 -0
- package/dist/checks/testing/critical-api-coverage.js +158 -0
- package/dist/checks/testing/critical-api-coverage.js.map +1 -0
- package/dist/checks/testing/data-entry-regression-required.d.ts +24 -0
- package/dist/checks/testing/data-entry-regression-required.d.ts.map +1 -0
- package/dist/checks/testing/data-entry-regression-required.js +378 -0
- package/dist/checks/testing/data-entry-regression-required.js.map +1 -0
- package/dist/checks/testing/e2e-best-practices.d.ts +24 -0
- package/dist/checks/testing/e2e-best-practices.d.ts.map +1 -0
- package/dist/checks/testing/e2e-best-practices.js +791 -0
- package/dist/checks/testing/e2e-best-practices.js.map +1 -0
- package/dist/checks/testing/e2e-flake-patterns.d.ts +26 -0
- package/dist/checks/testing/e2e-flake-patterns.d.ts.map +1 -0
- package/dist/checks/testing/e2e-flake-patterns.js +305 -0
- package/dist/checks/testing/e2e-flake-patterns.js.map +1 -0
- package/dist/checks/testing/e2e-redundant-visibility-checks.d.ts +25 -0
- package/dist/checks/testing/e2e-redundant-visibility-checks.d.ts.map +1 -0
- package/dist/checks/testing/e2e-redundant-visibility-checks.js +613 -0
- package/dist/checks/testing/e2e-redundant-visibility-checks.js.map +1 -0
- package/dist/checks/testing/e2e-slow-tests.d.ts +9 -0
- package/dist/checks/testing/e2e-slow-tests.d.ts.map +1 -0
- package/dist/checks/testing/e2e-slow-tests.js +142 -0
- package/dist/checks/testing/e2e-slow-tests.js.map +1 -0
- package/dist/checks/testing/e2e-timeouts.d.ts +9 -0
- package/dist/checks/testing/e2e-timeouts.d.ts.map +1 -0
- package/dist/checks/testing/e2e-timeouts.js +82 -0
- package/dist/checks/testing/e2e-timeouts.js.map +1 -0
- package/dist/checks/testing/integration-e2e-depth.d.ts +20 -0
- package/dist/checks/testing/integration-e2e-depth.d.ts.map +1 -0
- package/dist/checks/testing/integration-e2e-depth.js +575 -0
- package/dist/checks/testing/integration-e2e-depth.js.map +1 -0
- package/dist/checks/testing/playwright-feature-coverage-gaps.d.ts +31 -0
- package/dist/checks/testing/playwright-feature-coverage-gaps.d.ts.map +1 -0
- package/dist/checks/testing/playwright-feature-coverage-gaps.js +1582 -0
- package/dist/checks/testing/playwright-feature-coverage-gaps.js.map +1 -0
- package/dist/checks/testing/playwright-mock-inventory.d.ts +24 -0
- package/dist/checks/testing/playwright-mock-inventory.d.ts.map +1 -0
- package/dist/checks/testing/playwright-mock-inventory.js +380 -0
- package/dist/checks/testing/playwright-mock-inventory.js.map +1 -0
- package/dist/checks/testing/test-coverage-threshold.d.ts +25 -0
- package/dist/checks/testing/test-coverage-threshold.d.ts.map +1 -0
- package/dist/checks/testing/test-coverage-threshold.js +166 -0
- package/dist/checks/testing/test-coverage-threshold.js.map +1 -0
- package/dist/checks/testing/test-flakiness-score.d.ts +27 -0
- package/dist/checks/testing/test-flakiness-score.d.ts.map +1 -0
- package/dist/checks/testing/test-flakiness-score.js +358 -0
- package/dist/checks/testing/test-flakiness-score.js.map +1 -0
- package/dist/checks/testing/test-patterns.d.ts +16 -0
- package/dist/checks/testing/test-patterns.d.ts.map +1 -0
- package/dist/checks/testing/test-patterns.js +156 -0
- package/dist/checks/testing/test-patterns.js.map +1 -0
- package/dist/checks/workflows/a-plus-rating-validation.d.ts +42 -0
- package/dist/checks/workflows/a-plus-rating-validation.d.ts.map +1 -0
- package/dist/checks/workflows/a-plus-rating-validation.js +527 -0
- package/dist/checks/workflows/a-plus-rating-validation.js.map +1 -0
- package/dist/checks/workflows/affected.d.ts +14 -0
- package/dist/checks/workflows/affected.d.ts.map +1 -0
- package/dist/checks/workflows/affected.js +126 -0
- package/dist/checks/workflows/affected.js.map +1 -0
- package/dist/checks/workflows/ai.d.ts +6 -0
- package/dist/checks/workflows/ai.d.ts.map +1 -0
- package/dist/checks/workflows/ai.js +42 -0
- package/dist/checks/workflows/ai.js.map +1 -0
- package/dist/checks/workflows/all.d.ts +31 -0
- package/dist/checks/workflows/all.d.ts.map +1 -0
- package/dist/checks/workflows/all.js +2688 -0
- package/dist/checks/workflows/all.js.map +1 -0
- package/dist/checks/workflows/commit.d.ts +19 -0
- package/dist/checks/workflows/commit.d.ts.map +1 -0
- package/dist/checks/workflows/commit.js +207 -0
- package/dist/checks/workflows/commit.js.map +1 -0
- package/dist/checks/workflows/critical.d.ts +9 -0
- package/dist/checks/workflows/critical.d.ts.map +1 -0
- package/dist/checks/workflows/critical.js +213 -0
- package/dist/checks/workflows/critical.js.map +1 -0
- package/dist/checks/workflows/database-id-validation.d.ts +9 -0
- package/dist/checks/workflows/database-id-validation.d.ts.map +1 -0
- package/dist/checks/workflows/database-id-validation.js +13 -0
- package/dist/checks/workflows/database-id-validation.js.map +1 -0
- package/dist/checks/workflows/deploy.d.ts +20 -0
- package/dist/checks/workflows/deploy.d.ts.map +1 -0
- package/dist/checks/workflows/deploy.js +107 -0
- package/dist/checks/workflows/deploy.js.map +1 -0
- package/dist/checks/workflows/deployment-readiness.d.ts +12 -0
- package/dist/checks/workflows/deployment-readiness.d.ts.map +1 -0
- package/dist/checks/workflows/deployment-readiness.js +403 -0
- package/dist/checks/workflows/deployment-readiness.js.map +1 -0
- package/dist/checks/workflows/dev.d.ts +19 -0
- package/dist/checks/workflows/dev.d.ts.map +1 -0
- package/dist/checks/workflows/dev.js +88 -0
- package/dist/checks/workflows/dev.js.map +1 -0
- package/dist/checks/workflows/development.d.ts +9 -0
- package/dist/checks/workflows/development.d.ts.map +1 -0
- package/dist/checks/workflows/development.js +65 -0
- package/dist/checks/workflows/development.js.map +1 -0
- package/dist/checks/workflows/enterprise.d.ts +10 -0
- package/dist/checks/workflows/enterprise.d.ts.map +1 -0
- package/dist/checks/workflows/enterprise.js +359 -0
- package/dist/checks/workflows/enterprise.js.map +1 -0
- package/dist/checks/workflows/images.d.ts +6 -0
- package/dist/checks/workflows/images.d.ts.map +1 -0
- package/dist/checks/workflows/images.js +58 -0
- package/dist/checks/workflows/images.js.map +1 -0
- package/dist/checks/workflows/naming.d.ts +19 -0
- package/dist/checks/workflows/naming.d.ts.map +1 -0
- package/dist/checks/workflows/naming.js +42 -0
- package/dist/checks/workflows/naming.js.map +1 -0
- package/dist/checks/workflows/performance.d.ts +8 -0
- package/dist/checks/workflows/performance.d.ts.map +1 -0
- package/dist/checks/workflows/performance.js +77 -0
- package/dist/checks/workflows/performance.js.map +1 -0
- package/dist/checks/workflows/pre-deploy.d.ts +6 -0
- package/dist/checks/workflows/pre-deploy.d.ts.map +1 -0
- package/dist/checks/workflows/pre-deploy.js +41 -0
- package/dist/checks/workflows/pre-deploy.js.map +1 -0
- package/dist/checks/workflows/security.d.ts +8 -0
- package/dist/checks/workflows/security.d.ts.map +1 -0
- package/dist/checks/workflows/security.js +71 -0
- package/dist/checks/workflows/security.js.map +1 -0
- package/dist/checks/workflows/supercatch.d.ts +8 -0
- package/dist/checks/workflows/supercatch.d.ts.map +1 -0
- package/dist/checks/workflows/supercatch.js +127 -0
- package/dist/checks/workflows/supercatch.js.map +1 -0
- package/dist/checks/workflows/ui-quality.d.ts +9 -0
- package/dist/checks/workflows/ui-quality.d.ts.map +1 -0
- package/dist/checks/workflows/ui-quality.js +264 -0
- package/dist/checks/workflows/ui-quality.js.map +1 -0
- package/dist/checks/workflows/ui-uniformity.d.ts +18 -0
- package/dist/checks/workflows/ui-uniformity.d.ts.map +1 -0
- package/dist/checks/workflows/ui-uniformity.js +265 -0
- package/dist/checks/workflows/ui-uniformity.js.map +1 -0
- package/dist/checks/workflows/vercel.d.ts +16 -0
- package/dist/checks/workflows/vercel.d.ts.map +1 -0
- package/dist/checks/workflows/vercel.js +173 -0
- package/dist/checks/workflows/vercel.js.map +1 -0
- package/dist/utils/validation-helpers.d.ts +43 -0
- package/dist/utils/validation-helpers.d.ts.map +1 -0
- package/dist/utils/validation-helpers.js +370 -0
- package/dist/utils/validation-helpers.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,751 @@
|
|
|
1
|
+
#!/usr/bin/env tsx
|
|
2
|
+
/**
|
|
3
|
+
* Consolidated UI Spacing Preflight
|
|
4
|
+
*
|
|
5
|
+
* Combines spacing checks into one comprehensive module:
|
|
6
|
+
* - card-content-padding (Card padding)
|
|
7
|
+
* - component-padding-validation (general padding)
|
|
8
|
+
* - footer-spacing-validation (footer margins)
|
|
9
|
+
* - header-spacing-consistency (header margins)
|
|
10
|
+
* - header-to-content-spacing (content after page headers)
|
|
11
|
+
* - action-button-spacing (buttons after cards)
|
|
12
|
+
* - section-to-section-spacing (KPIs, filters, tables spacing consistency)
|
|
13
|
+
* - cta-section-spacing (newsletter/CTA sections need top margin)
|
|
14
|
+
* - hero-section-spacing (hero/intro sections need vertical padding)
|
|
15
|
+
* - header-section-to-content-spacing (header sections need bottom margin before content)
|
|
16
|
+
* - breadcrumb-to-content-spacing (content after breadcrumbs needs top padding)
|
|
17
|
+
* - section-heading-spacing (h3-h6 headings need margins from surrounding content)
|
|
18
|
+
* - button-group-spacing (buttons need consistent spacing from preceding text)
|
|
19
|
+
* - stacked-padding (detects redundant padding in nested elements)
|
|
20
|
+
* - cta-card-spacing (CTA/promotional cards need mt-8 after visual content)
|
|
21
|
+
* - sibling-element-spacing (siblings need explicit spacing when not in Stack/flex with gap)
|
|
22
|
+
* - card-internal-spacing (Cards should have consistent internal structure)
|
|
23
|
+
* - visual-hierarchy-spacing (section-to-section spacing should be mt-8 minimum)
|
|
24
|
+
* - image-content-spacing (content after images/galleries needs proper spacing)
|
|
25
|
+
* - card-to-card-spacing (Cards following Cards need mt-8 minimum)
|
|
26
|
+
* - section-component-spacing (Section components need consistent margins)
|
|
27
|
+
* - typography-header-spacing (Typography headers need margin-bottom)
|
|
28
|
+
* - consistent-section-margins (Detect inconsistent margins in same file)
|
|
29
|
+
* - card-container-gap-consistency (STRICT: Card containers MUST use gap-6)
|
|
30
|
+
* - card-margin-consistency (Cards must not mix gap with margin)
|
|
31
|
+
*
|
|
32
|
+
* Usage:
|
|
33
|
+
* pnpm preflight:ui-spacing # All spacing checks
|
|
34
|
+
* pnpm preflight:ui-spacing cards # Card padding only
|
|
35
|
+
* pnpm preflight:ui-spacing components # Component padding only
|
|
36
|
+
* pnpm preflight:ui-spacing footer # Footer spacing only
|
|
37
|
+
* pnpm preflight:ui-spacing header # Header spacing only
|
|
38
|
+
* pnpm preflight:ui-spacing sections # Section-to-section spacing only
|
|
39
|
+
* pnpm preflight:ui-spacing toolbar-gap # DataTableToolbar → UnifiedEmptyState gap
|
|
40
|
+
* pnpm preflight:ui-spacing cta # CTA/Newsletter section spacing only
|
|
41
|
+
* pnpm preflight:ui-spacing hero # Hero/intro section spacing only
|
|
42
|
+
* pnpm preflight:ui-spacing header-section # Header section to content spacing only
|
|
43
|
+
* pnpm preflight:ui-spacing breadcrumb # Breadcrumb-to-content spacing only
|
|
44
|
+
* pnpm preflight:ui-spacing headings # Section heading spacing only
|
|
45
|
+
* pnpm preflight:ui-spacing buttons # Button group spacing only
|
|
46
|
+
* pnpm preflight:ui-spacing stacked # Stacked padding detection only
|
|
47
|
+
* pnpm preflight:ui-spacing cta-card # CTA card spacing after visual content
|
|
48
|
+
* pnpm preflight:ui-spacing siblings # Sibling element spacing
|
|
49
|
+
* pnpm preflight:ui-spacing card-internal # Card internal structure spacing
|
|
50
|
+
* pnpm preflight:ui-spacing hierarchy # Visual hierarchy spacing
|
|
51
|
+
* pnpm preflight:ui-spacing image-content # Image to content spacing
|
|
52
|
+
* pnpm preflight:ui-spacing card-to-card # Card-to-Card minimum spacing
|
|
53
|
+
* pnpm preflight:ui-spacing section-component # Section component spacing
|
|
54
|
+
* pnpm preflight:ui-spacing typography-header # Typography header margin-bottom
|
|
55
|
+
* pnpm preflight:ui-spacing consistent-margins # Consistent section margins
|
|
56
|
+
* pnpm preflight:ui-spacing card-gap # Card container gap consistency (STRICT)
|
|
57
|
+
* pnpm preflight:ui-spacing card-margin # Card margin consistency
|
|
58
|
+
*/
|
|
59
|
+
interface Issue {
|
|
60
|
+
file: string;
|
|
61
|
+
line?: number;
|
|
62
|
+
type: string;
|
|
63
|
+
severity: "error" | "warning" | "info";
|
|
64
|
+
message: string;
|
|
65
|
+
suggestion?: string;
|
|
66
|
+
snippet?: string;
|
|
67
|
+
}
|
|
68
|
+
interface CheckResult {
|
|
69
|
+
name: string;
|
|
70
|
+
passed: boolean;
|
|
71
|
+
blocking: boolean;
|
|
72
|
+
issues: Issue[];
|
|
73
|
+
duration: number;
|
|
74
|
+
}
|
|
75
|
+
interface ModuleResult {
|
|
76
|
+
module: string;
|
|
77
|
+
passed: boolean;
|
|
78
|
+
totalDuration: number;
|
|
79
|
+
checks: CheckResult[];
|
|
80
|
+
summary: {
|
|
81
|
+
total: number;
|
|
82
|
+
passed: number;
|
|
83
|
+
failed: number;
|
|
84
|
+
errors: number;
|
|
85
|
+
warnings: number;
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
declare class UISpacingModule {
|
|
89
|
+
private verbose;
|
|
90
|
+
private parallel;
|
|
91
|
+
constructor(options?: {
|
|
92
|
+
verbose?: boolean;
|
|
93
|
+
parallel?: boolean;
|
|
94
|
+
});
|
|
95
|
+
/**
|
|
96
|
+
* Card Content Padding - ensures Cards use CardContent for proper padding
|
|
97
|
+
*
|
|
98
|
+
* Valid patterns:
|
|
99
|
+
* - Card with CardContent, CardHeader, or CardMedia children
|
|
100
|
+
* - Card with direct padding via sx={{ p: "var(--spacing-*)" }} or className="p-*"
|
|
101
|
+
*/
|
|
102
|
+
checkCardPadding(): Promise<CheckResult>;
|
|
103
|
+
/**
|
|
104
|
+
* Component Padding Validation - checks for missing padding/gap
|
|
105
|
+
*
|
|
106
|
+
* NOTE: Many patterns are valid:
|
|
107
|
+
* - Tailwind gap-X classes
|
|
108
|
+
* - CSS-in-JS with design tokens
|
|
109
|
+
* - Flex/Grid with space-between (no gap needed)
|
|
110
|
+
* - Components that inherit spacing from parent
|
|
111
|
+
*/
|
|
112
|
+
checkComponentPadding(): Promise<CheckResult>;
|
|
113
|
+
/**
|
|
114
|
+
* Footer Spacing Validation - ensures NO explicit bottom padding before Footer
|
|
115
|
+
*
|
|
116
|
+
* NEW CONVENTION: The Footer component now includes a spacer (h-16) at the top.
|
|
117
|
+
* Pages should NOT have paddingBottom on the main content container to avoid
|
|
118
|
+
* double spacing.
|
|
119
|
+
*
|
|
120
|
+
* Invalid patterns:
|
|
121
|
+
* - paddingBottom: "var(--spacing-*)" on main/content container
|
|
122
|
+
* - pb: "var(--spacing-*)" on main/content container
|
|
123
|
+
* - mb: "var(--spacing-*)" on last content element before Footer
|
|
124
|
+
* - Tailwind pb-* or mb-* classes
|
|
125
|
+
*
|
|
126
|
+
* Valid patterns:
|
|
127
|
+
* - No bottom spacing on the main container
|
|
128
|
+
*/
|
|
129
|
+
checkFooterSpacing(): Promise<CheckResult>;
|
|
130
|
+
/**
|
|
131
|
+
* Header Spacing Consistency - checks UnifiedHeader margins
|
|
132
|
+
*
|
|
133
|
+
* The page header variant uses a Card with:
|
|
134
|
+
* - marginTop: 0 (layout provides top spacing)
|
|
135
|
+
* - marginBottom: 0 (layout provides bottom spacing via Stack/gap)
|
|
136
|
+
*
|
|
137
|
+
* This check validates these values are correct.
|
|
138
|
+
*/
|
|
139
|
+
checkHeaderSpacing(): Promise<CheckResult>;
|
|
140
|
+
/**
|
|
141
|
+
* Header-to-Content Spacing - ensures content after page headers doesn't have doubled spacing
|
|
142
|
+
*
|
|
143
|
+
* UnifiedHeader variant="page" already has marginBottom: "var(--spacing-3)" (12px).
|
|
144
|
+
* Content after it should NOT add marginTop, as this creates doubled spacing.
|
|
145
|
+
*
|
|
146
|
+
* WRONG: UnifiedHeader (mb: 12px) + Stack (mt: 24px) = 36px gap (too much!)
|
|
147
|
+
* RIGHT: UnifiedHeader (mb: 12px) + Stack (no mt) = 12px gap (correct)
|
|
148
|
+
*
|
|
149
|
+
* Detects:
|
|
150
|
+
* - Stack/Box/div with marginTop or mt after UnifiedHeader variant="page"
|
|
151
|
+
* - style={{ marginTop: "var(--spacing-*)" }} patterns
|
|
152
|
+
* - sx={{ mt: "var(--spacing-*)" }} patterns
|
|
153
|
+
*/
|
|
154
|
+
checkHeaderToContentSpacing(): Promise<CheckResult>;
|
|
155
|
+
/**
|
|
156
|
+
* Action Button Spacing - ensures buttons after cards/content have proper spacing
|
|
157
|
+
* Standard: Action buttons (Save, Submit, etc.) should have pt/mt spacing from preceding content
|
|
158
|
+
*/
|
|
159
|
+
checkActionButtonSpacing(): Promise<CheckResult>;
|
|
160
|
+
/**
|
|
161
|
+
* Section-to-Section Spacing - ensures consistent spacing between major page sections
|
|
162
|
+
* Standard: Use --spacing-4 (16px) between adjacent sections (KPIs, filters, tables, etc.)
|
|
163
|
+
*
|
|
164
|
+
* Detects:
|
|
165
|
+
* - StatCardGrid/KPI sections with inconsistent margin-bottom
|
|
166
|
+
* - Filter cards with inconsistent margin-bottom
|
|
167
|
+
* - Doubled spacing (both mb on section A and mt on section B)
|
|
168
|
+
*/
|
|
169
|
+
checkSectionSpacing(): Promise<CheckResult>;
|
|
170
|
+
/**
|
|
171
|
+
* Sibling Cards Gap Check - ensures containers with multiple Card children use gap
|
|
172
|
+
*
|
|
173
|
+
* Pattern to detect:
|
|
174
|
+
* - div/Box/Container containing multiple <Card> elements
|
|
175
|
+
* - Parent uses className="mb-4" on individual cards instead of gap on container
|
|
176
|
+
* - Parent has no gap property
|
|
177
|
+
* - Multiple sibling <Card> elements without gap on parent (even without mb-* classes)
|
|
178
|
+
* - Cards using mb-* where some cards have it and some don't (inconsistent spacing)
|
|
179
|
+
*
|
|
180
|
+
* Correct pattern:
|
|
181
|
+
* - Parent container should use style={{ display: "flex", flexDirection: "column", gap: "var(--spacing-4)" }}
|
|
182
|
+
* - Individual cards should NOT need mb-4 classes
|
|
183
|
+
*/
|
|
184
|
+
checkSiblingCardsGap(): Promise<CheckResult>;
|
|
185
|
+
/**
|
|
186
|
+
* KPI to Content Spacing - ensures proper spacing after StatCardGrid/KPI sections
|
|
187
|
+
*
|
|
188
|
+
* Pattern to detect:
|
|
189
|
+
* - <StatCardGrid> or wrapper Box containing it, followed by <Card> without spacing
|
|
190
|
+
* - KPI sections immediately followed by content cards without gap
|
|
191
|
+
*
|
|
192
|
+
* Correct patterns (in order of preference):
|
|
193
|
+
* 1. Wrapper Box with style={{ marginBottom: "var(--spacing-8)" }} (PREFERRED)
|
|
194
|
+
* 2. Parent container with gap
|
|
195
|
+
* 3. Tailwind mb-* class (legacy, still accepted)
|
|
196
|
+
*/
|
|
197
|
+
checkKpiToContentSpacing(): Promise<CheckResult>;
|
|
198
|
+
/**
|
|
199
|
+
* CTA Section Spacing - ensures proper spacing before newsletter/CTA sections
|
|
200
|
+
*
|
|
201
|
+
* Pattern to detect:
|
|
202
|
+
* - PaperCard/Card containing CTA text (Subscribe, Newsletter, Stay Updated, etc.)
|
|
203
|
+
* - Wrapper Box without proper top margin (mt-8, mt-12, mt-16)
|
|
204
|
+
* - CTA section immediately following content grid/list without gap
|
|
205
|
+
*
|
|
206
|
+
* Correct patterns:
|
|
207
|
+
* - CTA wrapper Box with className="mt-16" or similar large margin
|
|
208
|
+
* - Parent Stack with spacing that includes CTA
|
|
209
|
+
* - Explicit gap on parent container
|
|
210
|
+
*/
|
|
211
|
+
checkCtaSectionSpacing(): Promise<CheckResult>;
|
|
212
|
+
/**
|
|
213
|
+
* Hero Section Spacing - ensures hero/intro sections have proper padding
|
|
214
|
+
*
|
|
215
|
+
* Pattern to detect:
|
|
216
|
+
* - Box/div with flex-col and centered text (hero layout)
|
|
217
|
+
* - Contains heading (h2, h3) + description Typography
|
|
218
|
+
* - Missing vertical padding (py-*) on the container
|
|
219
|
+
*
|
|
220
|
+
* Correct patterns:
|
|
221
|
+
* - Hero wrapper Box with className="py-6" or "py-8"
|
|
222
|
+
* - Box with padding: "var(--spacing-6) 0" or similar
|
|
223
|
+
*
|
|
224
|
+
* Hero patterns this catches:
|
|
225
|
+
* - "Help Center" + description + search box
|
|
226
|
+
* - Page intro sections with title + subtitle
|
|
227
|
+
* - Landing sections with centered headings
|
|
228
|
+
*/
|
|
229
|
+
checkHeroSectionSpacing(): Promise<CheckResult>;
|
|
230
|
+
/**
|
|
231
|
+
* Header Section to Content Spacing - ensures proper margin after header sections
|
|
232
|
+
*
|
|
233
|
+
* Pattern to detect:
|
|
234
|
+
* - Box containing heading (h3, h4) + subtitle (h6, body1) followed by content grid/cards
|
|
235
|
+
* - Header section wrapper Box without marginBottom before content
|
|
236
|
+
* - Common in login pages, feature sections, dashboard headers
|
|
237
|
+
*
|
|
238
|
+
* Example of issue (LoginPerksSection):
|
|
239
|
+
* <Box> <!-- Header section wrapper - NEEDS marginBottom -->
|
|
240
|
+
* <Typography variant="h3">Welcome to SuperCatch</Typography>
|
|
241
|
+
* <Typography variant="h6">The premier marketplace...</Typography>
|
|
242
|
+
* </Box>
|
|
243
|
+
* <div style={{ display: "grid" }}> <!-- Content grid immediately follows -->
|
|
244
|
+
*
|
|
245
|
+
* Correct patterns:
|
|
246
|
+
* - Header Box with style={{ marginBottom: "var(--spacing-6)" }}
|
|
247
|
+
* - Header Box with className="mb-6" or "mb-8"
|
|
248
|
+
* - Parent container with gap that includes both header and content
|
|
249
|
+
*/
|
|
250
|
+
checkHeaderSectionToContentSpacing(): Promise<CheckResult>;
|
|
251
|
+
/**
|
|
252
|
+
* Breadcrumb-to-Content Spacing - ensures content after UnifiedBreadcrumbs has proper top padding
|
|
253
|
+
*
|
|
254
|
+
* Pattern to detect:
|
|
255
|
+
* - UnifiedBreadcrumbs followed by content without paddingTop: "var(--spacing-3)"
|
|
256
|
+
* - Content areas that don't use DashboardPageLayout (which provides spacing automatically)
|
|
257
|
+
*
|
|
258
|
+
* Correct patterns:
|
|
259
|
+
* - DashboardPageLayout (provides paddingTop: spacing-3 automatically)
|
|
260
|
+
* - Box with paddingTop: "var(--spacing-3)" after breadcrumbs
|
|
261
|
+
* - Content with pt-3 class
|
|
262
|
+
* - Parent container with pt-3 that contains both breadcrumbs and content
|
|
263
|
+
*
|
|
264
|
+
* Why this matters:
|
|
265
|
+
* - Without top padding, content appears too close to breadcrumbs
|
|
266
|
+
* - Creates inconsistent spacing across pages
|
|
267
|
+
* - Standard is 12px (spacing-3) between breadcrumbs and content
|
|
268
|
+
*/
|
|
269
|
+
checkBreadcrumbToContentSpacing(): Promise<CheckResult>;
|
|
270
|
+
/**
|
|
271
|
+
* Section Heading Spacing - ensures proper spacing around section headings
|
|
272
|
+
*
|
|
273
|
+
* COMPREHENSIVE CHECK for:
|
|
274
|
+
* 1. Section headings (h3, h4, h5, h6 Typography) need top margin from content above
|
|
275
|
+
* 2. Section headings need bottom margin before content below
|
|
276
|
+
* 3. Content grids/cards followed by headings without gap
|
|
277
|
+
* 4. Headings after Dividers need spacing
|
|
278
|
+
* 5. Box/Stack wrappers around headings without margin
|
|
279
|
+
*
|
|
280
|
+
* Standard spacing:
|
|
281
|
+
* - Major section headings (h3): mt-8 or mt-12 (32-48px) from content above
|
|
282
|
+
* - Sub-section headings (h4, h5, h6): mt-6 or mt-8 (24-32px) from content above
|
|
283
|
+
* - Bottom margin: mb-4 or mb-6 (16-24px) before content
|
|
284
|
+
*
|
|
285
|
+
* Exceptions (don't flag):
|
|
286
|
+
* - First heading after page header (UnifiedHeader handles spacing)
|
|
287
|
+
* - Headings inside Cards (Card padding provides spacing)
|
|
288
|
+
* - Headings with parent Stack spacing >= 3
|
|
289
|
+
*/
|
|
290
|
+
checkSectionHeadingSpacing(): Promise<CheckResult>;
|
|
291
|
+
/**
|
|
292
|
+
* HTML Heading After Card Spacing - ensures HTML headings (h1-h6) have proper top margin after Card components
|
|
293
|
+
*
|
|
294
|
+
* Pattern to detect:
|
|
295
|
+
* - HTML heading elements (h1, h2, h3, h4, h5, h6) with mt-8 or less after a Card component
|
|
296
|
+
* - Section headings that need mt-12 (48px) minimum for proper visual separation
|
|
297
|
+
*
|
|
298
|
+
* Example of BAD pattern:
|
|
299
|
+
* <Card>...</Card>
|
|
300
|
+
* <div className="mt-8"> <- mt-8 (32px) is too little after a Card
|
|
301
|
+
* <h5>Similar Items</h5>
|
|
302
|
+
* </div>
|
|
303
|
+
*
|
|
304
|
+
* Correct patterns:
|
|
305
|
+
* - Use mt-12 (48px) or mt-16 (64px) for section headings after Cards
|
|
306
|
+
* - Use spacing-12 or spacing-16 CSS variables
|
|
307
|
+
*/
|
|
308
|
+
checkHtmlHeadingAfterCardSpacing(): Promise<CheckResult>;
|
|
309
|
+
/**
|
|
310
|
+
* Section Container Spacing - ensures section heading containers have proper spacing
|
|
311
|
+
*
|
|
312
|
+
* Pattern to detect:
|
|
313
|
+
* - Box/div containing a section heading (h3-h6) that closes
|
|
314
|
+
* - Followed by sibling content (Card, Box, etc.) without gap
|
|
315
|
+
* - The heading's wrapper Box has no bottom margin
|
|
316
|
+
*
|
|
317
|
+
* Example of BAD pattern:
|
|
318
|
+
* <Box className="mt-8"> <- has top margin, good
|
|
319
|
+
* <Stack className="mb-4"> <- inner margin doesn't help
|
|
320
|
+
* <Typography variant="h3">FAQ</Typography>
|
|
321
|
+
* </Stack>
|
|
322
|
+
* </Box> <- Box closes with no bottom margin
|
|
323
|
+
* <Card>...</Card> <- Card starts immediately - NO GAP!
|
|
324
|
+
*
|
|
325
|
+
* Correct patterns:
|
|
326
|
+
* - Box wrapper has mb-4 or mb-6 className
|
|
327
|
+
* - Parent container has gap property
|
|
328
|
+
* - Card has mt-4 or mt-6 className
|
|
329
|
+
*/
|
|
330
|
+
checkSectionContainerSpacing(): Promise<CheckResult>;
|
|
331
|
+
/**
|
|
332
|
+
* Button Group Spacing - ensures buttons have consistent spacing from preceding text
|
|
333
|
+
*
|
|
334
|
+
* Pattern to detect:
|
|
335
|
+
* - Stack/Box containing Button(s) after Typography paragraph text
|
|
336
|
+
* - CardContent with text followed by buttons without top margin on button container
|
|
337
|
+
* - Buttons get bottom padding from CardContent but no top spacing from text above
|
|
338
|
+
*
|
|
339
|
+
* Correct patterns:
|
|
340
|
+
* - Stack with spacing prop that includes both text and buttons
|
|
341
|
+
* - Button container with mt-4 or marginTop: "var(--spacing-4)"
|
|
342
|
+
* - Parent flex container with gap
|
|
343
|
+
*
|
|
344
|
+
* Standard: Buttons should have at least 16px (--spacing-4) margin from preceding text
|
|
345
|
+
*/
|
|
346
|
+
checkButtonGroupSpacing(): Promise<CheckResult>;
|
|
347
|
+
/**
|
|
348
|
+
* Upload Progress Stepper Stats Spacing
|
|
349
|
+
* Ensures the approved/pending/total summary has bottom padding so it doesn't
|
|
350
|
+
* visually collide with the next section.
|
|
351
|
+
*/
|
|
352
|
+
checkUploadProgressStepperStatsSpacing(): Promise<CheckResult>;
|
|
353
|
+
/**
|
|
354
|
+
* UnifiedFileInterface Dropzone Padding
|
|
355
|
+
*
|
|
356
|
+
* Ensures the expanded empty-state drop zone uses design-token padding and stays
|
|
357
|
+
* within a reasonable range so it visually aligns with surrounding Cards.
|
|
358
|
+
*/
|
|
359
|
+
checkUnifiedFileInterfaceDropzonePadding(): Promise<CheckResult>;
|
|
360
|
+
/**
|
|
361
|
+
* CTA Card Spacing - ensures promotional/CTA cards have adequate spacing from surrounding content
|
|
362
|
+
*
|
|
363
|
+
* CTA cards (gradient backgrounds, promotional content) need more visual separation
|
|
364
|
+
* than regular content to stand out and not feel cramped.
|
|
365
|
+
*
|
|
366
|
+
* BAD patterns:
|
|
367
|
+
* - CTA card with mt-4 or mt-6 after image gallery (needs mt-8 minimum)
|
|
368
|
+
* - CTA card with no top margin after content
|
|
369
|
+
* - Promotional box touching image/gallery above
|
|
370
|
+
*
|
|
371
|
+
* GOOD patterns:
|
|
372
|
+
* - CTA card with mt-8 or mt-12 after images/galleries
|
|
373
|
+
* - CTA card inside its own section with proper spacing
|
|
374
|
+
*/
|
|
375
|
+
checkCtaCardSpacing(): Promise<CheckResult>;
|
|
376
|
+
/**
|
|
377
|
+
* Sibling Element Spacing - ensures sibling elements have consistent spacing
|
|
378
|
+
*
|
|
379
|
+
* When elements are siblings (not in a Stack/flex with gap), they need explicit margins.
|
|
380
|
+
* This check finds cases where sibling elements have inconsistent or missing spacing.
|
|
381
|
+
*
|
|
382
|
+
* BAD patterns:
|
|
383
|
+
* - Component followed by Box with no margin
|
|
384
|
+
* - Card followed by Card with only mt-4 (should be mt-6 or mt-8)
|
|
385
|
+
* - Image/Gallery followed by content with insufficient margin
|
|
386
|
+
*
|
|
387
|
+
* GOOD patterns:
|
|
388
|
+
* - Siblings in Stack with spacing prop
|
|
389
|
+
* - Siblings in flex container with gap
|
|
390
|
+
* - Explicit mt-6 or mt-8 between major sections
|
|
391
|
+
*
|
|
392
|
+
* Context-aware exclusions:
|
|
393
|
+
* - Stack with className (flex column by default)
|
|
394
|
+
* - Loading/skeleton files (layout handled by skeleton structure)
|
|
395
|
+
* - Card internal structure (Box after CardContent is card footer)
|
|
396
|
+
* - Tab content (Box after List in TabPanel is intentional)
|
|
397
|
+
* - Hero/section components (internal layout is self-contained)
|
|
398
|
+
* - Error pages (centered content doesn't need top margin)
|
|
399
|
+
* - Elements with flex-1 (flex children handle their own spacing)
|
|
400
|
+
* - Elements with padding (py-*, pt-*, p-*) already have spacing
|
|
401
|
+
*/
|
|
402
|
+
checkSiblingElementSpacing(): Promise<CheckResult>;
|
|
403
|
+
/**
|
|
404
|
+
* Card Internal Spacing Consistency - ensures Cards have consistent internal spacing
|
|
405
|
+
*
|
|
406
|
+
* Cards should have consistent padding and internal element spacing.
|
|
407
|
+
* This check finds Cards with ACTUAL inconsistent internal structure.
|
|
408
|
+
*
|
|
409
|
+
* BAD patterns (actual issues):
|
|
410
|
+
* - Card with p-4 containing CardContent with p-4 (DOUBLE padding)
|
|
411
|
+
* - Card with NO padding AND no CardContent (content touches edges)
|
|
412
|
+
*
|
|
413
|
+
* VALID patterns (not flagged):
|
|
414
|
+
* - Card with className="p-*" (Tailwind padding is valid)
|
|
415
|
+
* - Card with style={{ padding: "var(--spacing-*)" }} (inline padding is valid)
|
|
416
|
+
* - Card > CardContent (standard MUI pattern)
|
|
417
|
+
* - Card > CardMedia (image cards don't need padding)
|
|
418
|
+
* - Card > CardHeader (header provides its own padding)
|
|
419
|
+
* - Clickable/interactive cards (often intentionally edge-to-edge)
|
|
420
|
+
* - Nested Cards (each Card manages its own padding)
|
|
421
|
+
*/
|
|
422
|
+
checkCardInternalSpacing(): Promise<CheckResult>;
|
|
423
|
+
/**
|
|
424
|
+
* Dashboard Layout Double Padding - prevents padding being applied both by DashboardPageLayout
|
|
425
|
+
* (which already sets paddingTop + paddingLeft/right) and by the page's immediate child wrapper.
|
|
426
|
+
*
|
|
427
|
+
* Why:
|
|
428
|
+
* - Creates inconsistent outer-edge spacing vs internal grid gaps (e.g. gap-4)
|
|
429
|
+
* - Regressions are easy to introduce when wrapping content in <Stack> / <Box>
|
|
430
|
+
*
|
|
431
|
+
* Enforcement:
|
|
432
|
+
* - If a file uses DashboardPageLayout / SellerPageLayout / AccountPageLayout / AdminPageLayout,
|
|
433
|
+
* then any DIRECT child wrapper element (<Stack>, <Box>, <div>, <main>, <section>) must NOT
|
|
434
|
+
* apply padding via Tailwind (p-*, px-*, py-*, pt-*, etc.) or inline style (padding*).
|
|
435
|
+
*
|
|
436
|
+
* NOTE: This check uses a simplified approach - it only flags the FIRST wrapper element
|
|
437
|
+
* directly after the layout opening tag, not nested elements.
|
|
438
|
+
*/
|
|
439
|
+
checkDashboardLayoutDoublePadding(): Promise<CheckResult>;
|
|
440
|
+
/**
|
|
441
|
+
* Visual Hierarchy Spacing - ensures proper spacing based on visual hierarchy
|
|
442
|
+
*
|
|
443
|
+
* Different types of content need different amounts of spacing:
|
|
444
|
+
* - Major sections: mt-12 or mt-16
|
|
445
|
+
* - Sub-sections: mt-8
|
|
446
|
+
* - Related content: mt-4 or mt-6
|
|
447
|
+
* - Inline elements: mt-2
|
|
448
|
+
*
|
|
449
|
+
* This check identifies spacing that doesn't match the visual hierarchy.
|
|
450
|
+
*/
|
|
451
|
+
checkVisualHierarchySpacing(): Promise<CheckResult>;
|
|
452
|
+
/**
|
|
453
|
+
* Image-to-Content Spacing - ensures proper spacing after images and galleries
|
|
454
|
+
*
|
|
455
|
+
* Images and galleries need adequate spacing from content below them.
|
|
456
|
+
* This is especially important for:
|
|
457
|
+
* - Product images followed by CTAs
|
|
458
|
+
* - Gallery thumbnails followed by descriptions
|
|
459
|
+
* - Hero images followed by content
|
|
460
|
+
*/
|
|
461
|
+
checkImageToContentSpacing(): Promise<CheckResult>;
|
|
462
|
+
/**
|
|
463
|
+
* Card-to-Card Minimum Spacing - ensures Cards have proper separation
|
|
464
|
+
*
|
|
465
|
+
* When Card components follow other Cards, they need mt-8 minimum (32px)
|
|
466
|
+
* for proper visual separation. mt-4 or mt-6 makes Cards feel cramped.
|
|
467
|
+
*
|
|
468
|
+
* BAD patterns:
|
|
469
|
+
* - <Card className="mt-4"> after another Card
|
|
470
|
+
* - <Card className="mt-6"> after another Card (borderline)
|
|
471
|
+
* - <Card> with no margin after another Card
|
|
472
|
+
*
|
|
473
|
+
* GOOD patterns:
|
|
474
|
+
* - <Card className="mt-8"> after another Card
|
|
475
|
+
* - <Card className="mt-10"> or mt-12 for major section breaks
|
|
476
|
+
* - Cards inside Stack with spacing={4} (32px)
|
|
477
|
+
* - Cards inside containers with gap-* or gap: var(--spacing-*)
|
|
478
|
+
* - Cards in different conditional branches (ternary, &&)
|
|
479
|
+
* - Cards in different return statements (early returns)
|
|
480
|
+
*/
|
|
481
|
+
checkCardToCardSpacing(): Promise<CheckResult>;
|
|
482
|
+
/**
|
|
483
|
+
* Section Component Spacing - ensures named section components have consistent margins
|
|
484
|
+
*
|
|
485
|
+
* Components with "Section" in their name (CardDetailsSection, SimilarItems, etc.)
|
|
486
|
+
* should have consistent top margins when used as page sections.
|
|
487
|
+
*
|
|
488
|
+
* Standard: Section components should have mt-8 to mt-12 for visual separation.
|
|
489
|
+
* Exception: Components inside containers with gap are already spaced.
|
|
490
|
+
*/
|
|
491
|
+
checkSectionComponentSpacing(): Promise<CheckResult>;
|
|
492
|
+
/**
|
|
493
|
+
* Typography Header Spacing - ensures headers have consistent margin-bottom
|
|
494
|
+
*
|
|
495
|
+
* Typography headers (h1-h6, variant="h*") should have consistent spacing
|
|
496
|
+
* before the content that follows them.
|
|
497
|
+
*
|
|
498
|
+
* Standard:
|
|
499
|
+
* - h1/h2: mb-6 or gutterBottom
|
|
500
|
+
* - h3/h4: mb-4 or gutterBottom
|
|
501
|
+
* - h5/h6: mb-2 or gutterBottom
|
|
502
|
+
*/
|
|
503
|
+
checkTypographyHeaderSpacing(): Promise<CheckResult>;
|
|
504
|
+
/**
|
|
505
|
+
* Consistent Page Section Margins - detects inconsistent margins in the same file
|
|
506
|
+
*
|
|
507
|
+
* Within a single page/component, section margins should be consistent.
|
|
508
|
+
* If one section uses mt-8, others should too (not a mix of mt-4, mt-6, mt-8, mt-12).
|
|
509
|
+
*/
|
|
510
|
+
checkConsistentSectionMargins(): Promise<CheckResult>;
|
|
511
|
+
/**
|
|
512
|
+
* Stacked Padding Detection - finds redundant padding in nested elements
|
|
513
|
+
*
|
|
514
|
+
* Detects patterns where parent and child both have padding, creating
|
|
515
|
+
* excessive spacing that should be consolidated.
|
|
516
|
+
*
|
|
517
|
+
* BAD patterns:
|
|
518
|
+
* - <Box className="p-2"><Box className="p-2"> (should be p-4 on one)
|
|
519
|
+
* - <CardContent className="p-4"><Box className="p-4"> (redundant)
|
|
520
|
+
* - <div className="p-3"><div className="p-3"> (should consolidate)
|
|
521
|
+
*
|
|
522
|
+
* GOOD patterns:
|
|
523
|
+
* - <Box className="p-4"><Box> (only parent has padding)
|
|
524
|
+
* - <CardContent><Box className="p-4"> (CardContent has default, child adds more intentionally)
|
|
525
|
+
* - <Box className="p-4"><Box className="mt-2"> (margin, not padding)
|
|
526
|
+
* - Table cells with p-2 (siblings, not nested)
|
|
527
|
+
*/
|
|
528
|
+
checkStackedPadding(): Promise<CheckResult>;
|
|
529
|
+
/**
|
|
530
|
+
* Card Container Gap Consistency - STRICT enforcement of gap-6 for card containers
|
|
531
|
+
*
|
|
532
|
+
* STANDARD: All containers holding multiple Cards MUST use gap-6 (24px).
|
|
533
|
+
* This ensures visual consistency across the entire application.
|
|
534
|
+
*
|
|
535
|
+
* VIOLATIONS:
|
|
536
|
+
* - gap-4 (16px) - too tight between cards
|
|
537
|
+
* - gap-8 (32px) - too loose, wastes space
|
|
538
|
+
* - mt-* on Cards inside containers with gap - double spacing!
|
|
539
|
+
* - Mixing gap with mt-* on children
|
|
540
|
+
*
|
|
541
|
+
* VALID:
|
|
542
|
+
* - gap-6 or gap: var(--spacing-6) on container
|
|
543
|
+
* - Stack spacing={6} for card containers
|
|
544
|
+
* - Grid with gap-6
|
|
545
|
+
*/
|
|
546
|
+
checkCardContainerGapConsistency(): Promise<CheckResult>;
|
|
547
|
+
/**
|
|
548
|
+
* Card Margin Consistency - ensures Cards don't mix gap with margin
|
|
549
|
+
*
|
|
550
|
+
* RULE: If a Card is inside a flex/grid container with gap, it should NOT have mt-*.
|
|
551
|
+
* If Cards are NOT in a gap container, they MUST have mt-6 between them.
|
|
552
|
+
*/
|
|
553
|
+
checkCardMarginConsistency(): Promise<CheckResult>;
|
|
554
|
+
/**
|
|
555
|
+
* CSS Style Tag Gap Check - catches gaps defined in <style> tags
|
|
556
|
+
*
|
|
557
|
+
* ISSUE: CSS Grid gaps defined in <style> tags using --spacing-3 (12px) are too small
|
|
558
|
+
* for card grids. The standard is --spacing-4 (16px) minimum.
|
|
559
|
+
*
|
|
560
|
+
* This check catches patterns like:
|
|
561
|
+
* - <style>{`.grid { gap: var(--spacing-3); }`}</style>
|
|
562
|
+
* - style={{ gap: "var(--spacing-3)" }}
|
|
563
|
+
*
|
|
564
|
+
* STANDARD: Card grids should use --spacing-4 (16px) minimum
|
|
565
|
+
* EXCEPTION: Product grids can use gap-3 for dense layouts
|
|
566
|
+
*/
|
|
567
|
+
checkStyleTagGapSize(): Promise<CheckResult>;
|
|
568
|
+
/**
|
|
569
|
+
* KPI Card Grid Gap - enforce tight KPI spacing
|
|
570
|
+
*
|
|
571
|
+
* Problem: Stat/KPI cards can feel overly spaced when the grid wraps ("stacked")
|
|
572
|
+
* on smaller desktop widths.
|
|
573
|
+
*
|
|
574
|
+
* Standard: StatCardGrid uses `gap: var(--spacing-3)`.
|
|
575
|
+
*/
|
|
576
|
+
checkKpiCardGridGap(): Promise<CheckResult>;
|
|
577
|
+
/**
|
|
578
|
+
* CardContent Minimum Padding Check - ensures cards have adequate internal padding
|
|
579
|
+
*
|
|
580
|
+
* ISSUE: CardContent with p-4 (16px) can make icons/content feel cramped at card edges.
|
|
581
|
+
* The standard is p-6 (24px) for stat cards and content-heavy cards.
|
|
582
|
+
*
|
|
583
|
+
* STANDARD:
|
|
584
|
+
* - StatCard, KPI cards: p-6 minimum
|
|
585
|
+
* - Dense data tables: p-4 acceptable
|
|
586
|
+
* - Simple cards with minimal content: p-4 acceptable
|
|
587
|
+
*/
|
|
588
|
+
checkCardContentMinimumPadding(): Promise<CheckResult>;
|
|
589
|
+
/**
|
|
590
|
+
* Toolbar-to-Content Spacing Consistency
|
|
591
|
+
*
|
|
592
|
+
* Goal: keep the gap between filter/search toolbars and the content they control
|
|
593
|
+
* consistent across the app.
|
|
594
|
+
*
|
|
595
|
+
* Regression pattern we want to catch broadly:
|
|
596
|
+
* - <DataTableToolbar ... />
|
|
597
|
+
* - Followed by primary content (UnifiedEmptyState, Card/table region, etc.)
|
|
598
|
+
* - Both are siblings inside a Stack with spacing={4}+ (16px+)
|
|
599
|
+
*
|
|
600
|
+
* Standard:
|
|
601
|
+
* - Toolbar ${chars.arrow} controlled content: Stack spacing={3} (12px)
|
|
602
|
+
* - Major section → major section remains handled by existing checks
|
|
603
|
+
*
|
|
604
|
+
* Heuristic (low-noise):
|
|
605
|
+
* - Find <DataTableToolbar ...>
|
|
606
|
+
* - Find the next “content start” within a short window
|
|
607
|
+
* - If there is no nested <Stack spacing={1|2|3}> between them
|
|
608
|
+
* - And nearest enclosing <Stack spacing={N}> has N >= 4, warn
|
|
609
|
+
*/
|
|
610
|
+
checkToolbarToContentSpacing(): Promise<CheckResult>;
|
|
611
|
+
/**
|
|
612
|
+
* KPI-to-Toolbar Spacing Consistency
|
|
613
|
+
*
|
|
614
|
+
* On seller/dashboard listing pages, the KPI grid (StatCardGrid / ListingStatisticsCards)
|
|
615
|
+
* is commonly followed by a filter/search toolbar. This relationship should be tight
|
|
616
|
+
* (spacing={3}) rather than a looser section spacing.
|
|
617
|
+
*
|
|
618
|
+
* Detects:
|
|
619
|
+
* - A KPI block (ListingStatisticsCards or StatCardGrid)
|
|
620
|
+
* - Followed shortly by a DataTableToolbar
|
|
621
|
+
* - Enclosed by a Stack spacing={4}+ without an intervening tighter Stack
|
|
622
|
+
*/
|
|
623
|
+
checkKpiToToolbarSpacing(): Promise<CheckResult>;
|
|
624
|
+
/**
|
|
625
|
+
* Nested Stack Same Spacing Detection
|
|
626
|
+
*
|
|
627
|
+
* Detects when a Stack with spacing={N} is directly nested inside another
|
|
628
|
+
* Stack with the same spacing value. This creates redundant/double gaps
|
|
629
|
+
* and is almost always a mistake.
|
|
630
|
+
*
|
|
631
|
+
* Example of issue (from /store/orders):
|
|
632
|
+
* <Stack spacing={6}>
|
|
633
|
+
* <OrderStatsCards />
|
|
634
|
+
* <Stack spacing={6}> <!-- REDUNDANT - creates double gap -->
|
|
635
|
+
* <DataTableToolbar />
|
|
636
|
+
* <Card>...</Card>
|
|
637
|
+
* </Stack>
|
|
638
|
+
* </Stack>
|
|
639
|
+
*
|
|
640
|
+
* Correct pattern:
|
|
641
|
+
* <Stack spacing={6}>
|
|
642
|
+
* <OrderStatsCards />
|
|
643
|
+
* <Stack spacing={3}> <!-- Different spacing for toolbar→content -->
|
|
644
|
+
* <DataTableToolbar />
|
|
645
|
+
* <Card>...</Card>
|
|
646
|
+
* </Stack>
|
|
647
|
+
* </Stack>
|
|
648
|
+
*
|
|
649
|
+
* Or flatten:
|
|
650
|
+
* <Stack spacing={6}>
|
|
651
|
+
* <OrderStatsCards />
|
|
652
|
+
* <DataTableToolbar />
|
|
653
|
+
* <Card>...</Card>
|
|
654
|
+
* </Stack>
|
|
655
|
+
*/
|
|
656
|
+
checkNestedStackSameSpacing(): Promise<CheckResult>;
|
|
657
|
+
/**
|
|
658
|
+
* Dashboard Gutter Consistency
|
|
659
|
+
*
|
|
660
|
+
* Ensures the seller/account/admin dashboard “outer gutter” is consistent:
|
|
661
|
+
* - DashboardPageLayout default paddingX is var(--spacing-3)
|
|
662
|
+
* - UnifiedBreadcrumbs default horizontal padding is var(--spacing-3)
|
|
663
|
+
* - UnifiedHeader (page variant) uses paddingLeft/right var(--spacing-3)
|
|
664
|
+
* and actions inset right var(--spacing-3)
|
|
665
|
+
*/
|
|
666
|
+
checkDashboardGutterConsistency(): Promise<CheckResult>;
|
|
667
|
+
/**
|
|
668
|
+
* Page Rhythm Utility Spacing (page-level only)
|
|
669
|
+
*
|
|
670
|
+
* Standard: Page-level vertical rhythm is controlled by Stack spacing tokens
|
|
671
|
+
* and component defaults (e.g., UnifiedHeader page mb is spacing-3).
|
|
672
|
+
*
|
|
673
|
+
* Rule: disallow Tailwind `mt-3` and `mt-6` in page-level layout files.
|
|
674
|
+
* We intentionally do NOT scan component libraries broadly to avoid false
|
|
675
|
+
* positives in dialogs/forms/prose components.
|
|
676
|
+
*
|
|
677
|
+
* Files scanned:
|
|
678
|
+
* - app/<any>/page.tsx
|
|
679
|
+
* - app/<any>PageClient.tsx
|
|
680
|
+
* - app/<any>Client.tsx that include a page layout wrapper
|
|
681
|
+
*/
|
|
682
|
+
checkPageRhythmUtilitySpacing(): Promise<CheckResult>;
|
|
683
|
+
/**
|
|
684
|
+
* CardContent First-Child Spacing Consistency
|
|
685
|
+
*
|
|
686
|
+
* Goal: Ensure consistent top padding inside CardContent by preventing
|
|
687
|
+
* margin-top classes on first child elements.
|
|
688
|
+
*
|
|
689
|
+
* Problem: When Typography or other elements inside CardContent have mt-* classes,
|
|
690
|
+
* it creates inconsistent spacing between sibling cards in the same grid.
|
|
691
|
+
* CardContent already provides consistent padding - adding margin-top to the
|
|
692
|
+
* first child creates uneven visual appearance.
|
|
693
|
+
*
|
|
694
|
+
* Standard:
|
|
695
|
+
* - First child of CardContent should NOT have mt-* classes
|
|
696
|
+
* - Let CardContent padding handle the top spacing
|
|
697
|
+
* - Use Stack spacing={} for internal element spacing
|
|
698
|
+
*
|
|
699
|
+
* Valid patterns:
|
|
700
|
+
* - <CardContent><Typography variant="h6">Title</Typography>
|
|
701
|
+
* - <CardContent className="p-4"><Box>...</Box>
|
|
702
|
+
*
|
|
703
|
+
* Invalid patterns:
|
|
704
|
+
* - <CardContent><Typography className="mt-3" variant="h6">Title</Typography>
|
|
705
|
+
* - <CardContent><Box className="mt-6">...</Box>
|
|
706
|
+
*/
|
|
707
|
+
checkCardContentFirstChildSpacing(): Promise<CheckResult>;
|
|
708
|
+
/**
|
|
709
|
+
* Subtitle to Content Spacing - ensures proper margin between section subtitles and following content
|
|
710
|
+
*
|
|
711
|
+
* PATTERNS DETECTED:
|
|
712
|
+
*
|
|
713
|
+
* 1. FORM PATTERN (BLOCKING):
|
|
714
|
+
* Typography h6 title ${chars.arrow} Typography body2 subtitle → Stack with form fields
|
|
715
|
+
* Without mb-4 on subtitle, TextField labels overlap with subtitle text
|
|
716
|
+
*
|
|
717
|
+
* 2. CARD CONTENT PATTERN (BLOCKING):
|
|
718
|
+
* Inside CardContent: Typography h6 → Typography body2 subtitle → Stack/Box content
|
|
719
|
+
* Without mb-4, content crowds the subtitle
|
|
720
|
+
*
|
|
721
|
+
* 3. DIALOG/MODAL PATTERN (BLOCKING):
|
|
722
|
+
* DialogContent: Typography title → Typography body2 description → form/content
|
|
723
|
+
* Common in confirmation dialogs, settings modals
|
|
724
|
+
*
|
|
725
|
+
* Example of issue:
|
|
726
|
+
* <Typography variant="h6">Account Settings</Typography>
|
|
727
|
+
* <Typography variant="body2" color="text.secondary">
|
|
728
|
+
* Manage your account preferences
|
|
729
|
+
* </Typography>
|
|
730
|
+
* <Stack spacing={3}> <!-- NO margin between subtitle and form! -->
|
|
731
|
+
* <TextField label="Email" />
|
|
732
|
+
*
|
|
733
|
+
* Correct pattern:
|
|
734
|
+
* <Typography variant="h6">Account Settings</Typography>
|
|
735
|
+
* <Typography variant="body2" color="text.secondary" className="mb-4">
|
|
736
|
+
* Manage your account preferences
|
|
737
|
+
* </Typography>
|
|
738
|
+
* <Stack spacing={3}>
|
|
739
|
+
* <TextField label="Email" />
|
|
740
|
+
*
|
|
741
|
+
* Why this matters:
|
|
742
|
+
* - Without margin, content overlaps or crowds the subtitle text
|
|
743
|
+
* - Creates visual confusion and poor UX
|
|
744
|
+
* - Standard is mb-4 (16px) between subtitle and content
|
|
745
|
+
*/
|
|
746
|
+
checkSubtitleToContentSpacing(): Promise<CheckResult>;
|
|
747
|
+
runAll(): Promise<ModuleResult>;
|
|
748
|
+
printResults(checks: CheckResult[], totalDuration: number, summary: any, hasBlockingFailure: boolean): void;
|
|
749
|
+
}
|
|
750
|
+
export { UISpacingModule };
|
|
751
|
+
//# sourceMappingURL=ui-spacing.d.ts.map
|