| 开发者 | kimjiwoon |
|---|---|
| 更新时间 | 2026年8月1日 10:34 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPL-3.0-or-later |
| 版权网址: | 版权信息 |
axismundi/dialogs collection with Sheet and Dialog
child blocks. The collection controls alignment, orientation, justification,
wrapping, and spacing. Each child has an editable open button and renders a
native <dialog> host.
Sheets support side and bottom geometry, modal or standard presentation,
docked or detached modal side sheets, start/end edges, and body-only or whole-
sheet scrolling. Standard side sheets resize the site on larger screens and
fall back to a modal presentation on compact screens. Dialogs support basic,
list, and full-screen layouts.
The native dialog supplies the top layer, scrim, focus containment, and focus
restoration. The plugin adds animated open/close, Escape and backdrop dismissal,
modal scroll locking, responsive presentation, smooth standard-sheet page push,
and a single-open-dialog policy.
The sheet content is a Sheet template part, so the theme owns the header,
close button, title, and body layout — the same theme//slug contract the core
Navigation overlay uses. An axismundi/dialog-close block lets a part place its
dismiss control anywhere.
WordPress core reserves the template-part area vocabulary. The plugin therefore
does not register custom sheet or dialog areas: Axismundi Theme 0.1.12 or
later supplies the default parts in the supported Uncategorized area, where
they remain editable in the Site Editor. The picker distinguishes them by their
sheet- and dialog- slugs. This preserves the standard theme//slug
template-part contract while keeping behavior with the plugin.
No. Everything runs locally in WordPress with the native <dialog> element and
the WordPress Interactivity API.
Yes. The sheet renders with its own token fallbacks, but it needs at least one template part to show as content. With Axismundi Theme, use a Sheet or Dialog part from the Site Editor's Uncategorized area.
ax-icon-button, ax-menu, and ax-text-field exist only in the
Axismundi Lab, so every element carrying one was depending on styles that are
not part of any release; the components' own classes were already doing the
work. Rendering is unchanged.theme//slug template-part contract for Sheet and Dialog
content while using the core-supported General template-part area.sheet and dialog area registrations so the
Theme Directory does not categorize the parts as unsupported.<dialog> and Interactivity API runtime with animated dismissal,
backdrop and Escape handling, focus restoration, responsive modal fallback,
scroll lock, and smooth standard-sheet page push.