From b848667096bed9a28d86e5ab511dbd64eae57f03 Mon Sep 17 00:00:00 2001 From: Mark Dumay <61946753+markdumay@users.noreply.github.com> Date: Wed, 5 Aug 2026 14:51:01 +0200 Subject: [PATCH] feat(arguments): add heading-level and heading-class Both arguments were introduced inline by hinode v3.19.0 and repeated in every consuming component sidecar. Define them once here so consumers can reference them by bare key, as they already do for use-title. Neither carries a default: consuming partials distinguish an unset level (inherit or fall back to the legacy use-title boolean) from an explicit 0 (render a div), so a default would collapse that distinction. Co-Authored-By: Claude Opus 5 (1M context) --- data/structures/_arguments.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/data/structures/_arguments.yml b/data/structures/_arguments.yml index c354947..84f9ed6 100644 --- a/data/structures/_arguments.yml +++ b/data/structures/_arguments.yml @@ -648,6 +648,22 @@ arguments: optional: true comment: >- Heading of the content block, including a preheading and content element. + heading-class: + type: string + optional: true + comment: >- + Class attributes of the heading element, applied only when a heading level + renders one. Replaces the margin reset that otherwise keeps a title raised + by heading-level aligned with the div it succeeds. Pass an empty string to + leave the element on its own styling. + heading-level: + type: int + optional: true + comment: >- + Heading level of the title, from 1 (h1) to 6 (h6). Set 0 to render a div + instead of a heading. Content blocks receive a level from the page that + renders them, so the first titled block of a page without a page header + becomes its h1. heading-style: type: select optional: true