-
v0.16.0 Stable
released this
2026-09-15 23:35:38 +00:00 | 135 commits to main since this releaseBreaking
RecordLayoutis retired, one release after it shipped: with the page
container providing the main column and the newPageAsidetaking the
sidebar's place on the right, nothing of it was left but a gap.Panel
stays. Migration: drop theRecordLayoutwrapper and itssidebarslot,
render the main column'sTabsandPanels directly inRecordForm's
fieldsslot, and move the sidebarPanel's children into
<PageAside :title="…">inRecordForm's newasideslot (the title
comes from the panel;sidebar-labelledbyandtitle-idgo, the aside
names itself). The./components/RecordLayout.vueexport is gone.
Changed
- The page container no longer stacks the aside below the main row under
56em.PageAsideowns that breakpoint: the column becomes a rail at the
right edge and the toggle opens the content as a drawer. The aside track is
nowautoand the component sets its own width, so a consumer-written
<aside class="pui-page__aside">without the component gets no size; use
PageAside. RecordDetailsstacks each label over its value when its own container is
narrower than 24rem, so it reads in aPageAsideor any other narrow
column without the consumer overriding its grid.
Added
PageAside, the right band of a CMS page: filters beside a module index,
settings beside a record form.title(required; heads the column and
names the landmark),description, a default slot,toggle(default on)
withtoggle-label, andv-model:open(default open). Open, it is the
sticky, self-scrolling aside column with a flat header and a left rule;
closed, a rail one toggle wide in the same column, its contenthidden
but mounted so fields in the band still submit; below 56em the rail stays
and the toggle opens a drawer from the right with the Sidebar drawer's
mechanics (backdrop, focus trap, Escape, the same toggle closing it). The
toggle keeps thesidebar-righticon in both states and carries the state
inaria-expandedand its name, "Hide {title}" / "Show {title}".Formhas anasideslot rendered as a direct child of<form>, between
the body and the actions row, andRecordFormforwards it. APageAside
in it becomes the page's aside column through the form'sdisplay: contentswhile its fields keep their form owner. The page's:has()
switch matches that path too.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads