From 3fb0a404db30149814cee89c3f1a21c79c0443b5 Mon Sep 17 00:00:00 2001 From: Andreas Reinhold / reini Date: Tue, 15 Sep 2026 06:11:08 +0200 Subject: [PATCH] Write the showcase examples' layout tags as an application does Plan step 38 review: nine sections' examples wrapped their components in , ::row and ::grid (148 tags) beside an unprefixed , while bars, containment and the layout pages wrote . The code sample is what an application copies, and the example component rewrites only unprefixed tags to a configured prefix, so the namespaced ones taught a second form and escaped it. Every example now writes , and ; a test rejects a namespaced tag inside an example heredoc. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01Qwx5USif3wFFmxtHg5U1g9 --- .../views/showcase/sections/buttons.blade.php | 12 +- .../views/showcase/sections/chips.blade.php | 12 +- .../showcase/sections/communication.blade.php | 28 ++--- .../views/showcase/sections/data.blade.php | 4 +- .../views/showcase/sections/fields.blade.php | 112 +++++++++--------- .../views/showcase/sections/pickers.blade.php | 64 +++++----- .../showcase/sections/progress.blade.php | 8 +- .../views/showcase/sections/sliders.blade.php | 32 ++--- .../showcase/sections/timepickers.blade.php | 24 ++-- tests/Feature/ShowcaseTest.php | 19 +++ 10 files changed, 167 insertions(+), 148 deletions(-) diff --git a/resources/views/showcase/sections/buttons.blade.php b/resources/views/showcase/sections/buttons.blade.php index caa95008..89c91b13 100644 --- a/resources/views/showcase/sections/buttons.blade.php +++ b/resources/views/showcase/sections/buttons.blade.php @@ -77,7 +77,7 @@ BLADE, 'A connected group that owns its selection' => <<<'BLADE' - + @@ -94,7 +94,7 @@ View: · marks: . The shape follows at once; the colours come from each button's own :selected, which a Livewire render brings back.

-
+
BLADE, 'Square groups (hold a button down)' => <<<'BLADE' @@ -109,16 +109,16 @@ - + - +
BLADE, 'A choice as a connected group' => <<<'BLADE' - + - + BLADE, 'Split buttons' => <<<'BLADE' diff --git a/resources/views/showcase/sections/chips.blade.php b/resources/views/showcase/sections/chips.blade.php index 2cddedbd..6255fd36 100644 --- a/resources/views/showcase/sections/chips.blade.php +++ b/resources/views/showcase/sections/chips.blade.php @@ -1,17 +1,17 @@ @php $examples = [ 'Assist chips' => <<<'BLADE' - + - + BLADE, 'Filter chips' => <<<'BLADE' - + @@ -25,10 +25,10 @@ - + BLADE, 'Input chips' => <<<'BLADE' - +