From 927e439064e1e865ba176b8b9a01f740eec51fb7 Mon Sep 17 00:00:00 2001 From: Andreas Reinhold / reini Date: Mon, 14 Sep 2026 06:32:15 +0200 Subject: [PATCH] Lead a list item with M3's video slot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plan step 23, containment.md § Missing ("Lists: leading video slot"). `` (or ``) draws M3's leading media in its landscape sizes: 100×56px in a two-line item, 114×64px in a three-line one (ListTokens' LeadingVideoSmall 56×100dp and LeadingVideoLarge 64×114dp), with the small corner the leading image takes. The tallest element sets an item's height, so a video lifts the item to at least the 72px two-line row — 56 + 2×8 is 72 exactly, and 64 + 2×12 is 88. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01Qwx5USif3wFFmxtHg5U1g9 --- .../livewire-material-development/SKILL.md | 4 +- .../views/components/list-item.blade.php | 40 +++++++++++++++++-- .../showcase/sections/containment.blade.php | 18 +++++++++ tests/Feature/Components/ListTest.php | 17 ++++++++ 4 files changed, 75 insertions(+), 4 deletions(-) diff --git a/resources/boost/skills/livewire-material-development/SKILL.md b/resources/boost/skills/livewire-material-development/SKILL.md index c2d05436..375e67c7 100644 --- a/resources/boost/skills/livewire-material-development/SKILL.md +++ b/resources/boost/skills/livewire-material-development/SKILL.md @@ -436,7 +436,9 @@ That is M3's *non-actionable card with actionable elements*: Tab walks the contr ### ``, `` -``: `label`, `dividers`, `segmented` (M3 Expressive: separate tiles 2px apart). ``: `title` (or slot), `overline`, `description`, leading `icon` / `avatar` (image URL or initials) / `image` / `leading` slot, trailing `trailing` text / `icon-right` / `end` slot, `link` (the whole item becomes a row that opens it), `selected`, `disabled`. One-, two- and three-line heights follow from the content, and a three-line item top-aligns as M3 asks. Its icons are 24px, 20px in a `segmented` list. +``: `label`, `dividers`, `segmented` (M3 Expressive: separate tiles 2px apart). ``: `title` (or slot), `overline`, `description`, leading `icon` / `avatar` (image URL or initials) / `image` / `video` / `leading` slot, trailing `trailing` text / `icon-right` / `end` slot, `link` (the whole item becomes a row that opens it), `selected`, `disabled`. One-, two- and three-line heights follow from the content, and a three-line item top-aligns as M3 asks. Its icons are 24px, 20px in a `segmented` list. + +`video` is M3's leading media in landscape: a poster URL, or `` for a `