You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SortableListNestedDemo's outer kanban grid (`.board :deep(.rozie-sortable-list)`)
laid out columns side-by-side on the 5 light-DOM targets but rendered STACKED on
Lit: `:deep()` is a descendant selector and cannot pierce the child
<rozie-sortable-list>'s shadow root. Phase 17 shipped `::part()` as the
standards-track cross-shadow answer and even documented this exact
`SortableList::part(list)` pattern in sortable-list.md — but the producer was
never tagged `part="list"` and the demo never adopted the rule, so the documented
pattern was dead and the Lit column grid never applied.
- packages/ui/sortable-list/src/SortableList.rozie: tag the list element
`part="list"` (a no-op standard HTML attr on the 5 non-Lit targets; the
cross-shadow handle on Lit). Regenerates all 6 @rozie-ui leaves.
- examples/demos/SortableListNestedDemo.rozie: add `SortableList::part(list)`
alongside the existing `:deep()` (Phase 17 "coexist" — `:deep` for the 5
light-DOM targets, `::part` for Lit). Both carry identical grid declarations.
- tests/visual-regression: register SortableListNested as a matrix cell (settle
on 9 `.rozie-sortable-item` = 3 columns + 6 cards) + land the Linux-rendered
shared baseline. All 6 targets now diff byte-identically against
SortableListNested.png — Lit's column grid matches the other 5 (previously the
documented stacked divergence).
One cell now validates nested two-level drag, distinct SortableJS groups, slot
scope params, cross-component `cards-change` sync, and the Lit `::part`
cross-shadow grid.
Gates: turbo test 59/59, typecheck 70/70, VR matrix 6/6 vs new baseline (+ Solid
behavioral drag specs), solid-vite nested e2e. No dist-parity drift (SortableList
is sourced from packages/ui, not a dist-parity fixture).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments