diff --git a/resources/css/showcase.css b/resources/css/showcase.css index 36520739..3fcc4196 100644 --- a/resources/css/showcase.css +++ b/resources/css/showcase.css @@ -383,4 +383,11 @@ [data-md-showcase-illustration='on-accent'] { fill: var(--md-sys-color-on-tertiary); } + + /* Progress: one circular indicator drawn larger than its 48px default, to show the ring + scales with its box. */ + [data-md-showcase-progress-lg] { + width: 96px; + height: 96px; + } } diff --git a/resources/views/showcase/sections/progress.blade.php b/resources/views/showcase/sections/progress.blade.php index f3cc3eb3..343a90ad 100644 --- a/resources/views/showcase/sections/progress.blade.php +++ b/resources/views/showcase/sections/progress.blade.php @@ -1,57 +1,60 @@ @php $examples = [ - 'Linear: determinate and indeterminate' => [<<<'BLADE' + 'Linear: determinate and indeterminate' => <<<'BLADE' - BLADE, true], - 'Linear wavy' => [<<<'BLADE' + BLADE, + 'Linear wavy' => <<<'BLADE' - BLADE, true], - 'Thick' => [<<<'BLADE' + BLADE, + 'Thick' => <<<'BLADE' - BLADE, true], - 'Circular' => [<<<'BLADE' + BLADE, + 'Circular' => <<<'BLADE' - - BLADE, false], - 'Colours' => [<<<'BLADE' + + BLADE, + 'Colours' => <<<'BLADE' - BLADE, true], - 'Following a value in the browser (bind)' => [<<<'BLADE' -
+ BLADE, + 'Following a value in the browser (bind)' => <<<'BLADE' + -
+ -
-
- BLADE, false], + + + BLADE, ]; + + // Every example stacks except Circular, which lays several indicators side by side in a row. + $rows = ['Circular']; @endphp -
-

Progress

+ +

Progress

-

+

<x-progress>: M3 Expressive's linear and circular progress indicators, flat or wavy, determinate or indeterminate.

- @foreach ($examples as $title => [$code, $stack]) - + @foreach ($examples as $title => $code) + @endforeach -
+