Skip to content

Release v2.4.1

Choose a tag to compare

@github-actions github-actions released this 13 Oct 08:27
· 89 commits to main since this release

Release v2.4.1

Changelog

Added

  • dashboard.ui.header_action_variants (map, default {}): per-action button variant for the page header actions (block dashboard_header_actions), so a host can paint e.g. "Edit menu" as a secondary / ghost button while "Add item" stays primary, without string-replacing the rendered HTML. Keys: export_all, import, new_menu (index) and export, copy, edit_menu, edit_config, reindex_positions, check_parent_cycles, add_item (show / reorder). Values: primary | secondary | ghost | danger | link; a variant resolves to class-map key button_<variant>, else UiKit ui.btn(variant). Unknown keys / variants are rejected at config load. Exposed in the nowo_dashboard_menu_ui Twig global (header_action_variants).
  • dashboard.ui.classes.button_ghost class-map key (default null = ui.btn('ghost')), used by header_action_variants entries set to ghost.

Default output is byte-identical: unset actions keep their bundle variant (button_primary for New menu / Edit menu / Add item, button_secondary for the rest).

Full Changelog: v2.4.0...v2.4.1