Add fixtures and tests for DesignGuard::missingStylesheets()

Plan step 41(ii): exercises the tag-to-stylesheet mapping (plain, prefixed and
namespaced spellings), a package stylesheet's own imports counting toward its
dependents (split-button.css satisfies button.css and menu.css too),
->links() needing pagination.css, the always-required foundation.css, and a
package tag shadowed by the application's own anonymous or class component.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qwx5USif3wFFmxtHg5U1g9
This commit is contained in:
Andreas Reinhold / reini
2026-09-15 08:12:01 +02:00
co-authored by Claude Sonnet 5
parent 08f2ae9d76
commit b998683762
13 changed files with 121 additions and 0 deletions
@@ -0,0 +1 @@
@import '../../../../resources/css/all.css';
@@ -0,0 +1 @@
@import '../../../../resources/css/foundation.css';
@@ -0,0 +1 @@
@import '../../../../resources/css/components/button.css';
@@ -0,0 +1,2 @@
@import '../../../../resources/css/foundation.css';
@import '../../../../resources/css/components/split-button.css';
@@ -0,0 +1,3 @@
<x-button label="Save" />
<x-menu></x-menu>
<x-split-button label="Save" />
@@ -0,0 +1 @@
<x-livewire-material::button label="Save" />
@@ -0,0 +1 @@
{{ $items->links() }}
@@ -0,0 +1 @@
<div>Nothing package-specific here.</div>
@@ -0,0 +1 @@
<x-m::button label="Save" />
@@ -0,0 +1 @@
<x-card title="Report"></x-card>
@@ -0,0 +1 @@
<x-button label="Save" />
@@ -0,0 +1 @@
<x-split-button label="Save" />