Repository navigation
Release v2.4.1
Release v2.4.1
Changelog
Added
dashboard.ui.header_action_variants(map, default{}): per-action button variant for the page header actions (blockdashboard_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) andexport,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 keybutton_<variant>, else UiKitui.btn(variant). Unknown keys / variants are rejected at config load. Exposed in thenowo_dashboard_menu_uiTwig global (header_action_variants).dashboard.ui.classes.button_ghostclass-map key (defaultnull=ui.btn('ghost')), used byheader_action_variantsentries set toghost.
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