From ecccd9960092969d1b311a1eb33f37af5ce6736e Mon Sep 17 00:00:00 2001 From: Mark Dumay <61946753+markdumay@users.noreply.github.com> Date: Tue, 28 Jul 2026 11:22:51 +0200 Subject: [PATCH] fix: declare label and url attributes on the elements item type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Components render element.label and element.url — mod-blocks' cards component uses label as the card's button label, and downstream themes use label/url for element links — but the shared elements item type does not declare them. The v6 validation engine therefore logs warn-invalid-arguments ('unsupported attribute') on every render of content that legitimately uses these attributes. Both attributes have global definitions in _arguments.yml (label via the messages type, url via links), so the members compile without further changes. Co-Authored-By: Claude Fable 5 --- data/structures/_types.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/structures/_types.yml b/data/structures/_types.yml index 44ffedd..d31d8c3 100644 --- a/data/structures/_types.yml +++ b/data/structures/_types.yml @@ -70,6 +70,8 @@ types: mode: content: link: + label: + url: links: - title: url: