Restore point before Stufe 3 (central resolver-service refactoring). Includes this session's work: - Success Story (usecase) rebuild: new fields/tabs, UsecaseSerializer, thin List/Show renderers, MM relations, inline content elements. - vitec_columns content block (two-column layout with per-item content) incl. unified header section; special-cased JSON resolution. - Container per-column flex (items[].config align/justify) + gap on parent. - Unified header section across CEs/plugins/containers; header fields in JSON. - ISO-style architecture spec: Documentation/Headless-JSON-Architecture.md. - Cleanup: removed local scratch + verified .bak backups. - Fixes: B-6 (undefined thumbnail variable in Downloadcardcollection image resolver), B-7 (unsatisfiable legacy CType OR branch in Downloadcard/Datasheets). Rollback: git reset --hard snapshot-2026-07-09-pre-stufe3 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
97 lines
2.0 KiB
YAML
97 lines
2.0 KiB
YAML
name: vitec/cta-banner
|
|
group: vitec_custom_components
|
|
prefixFields: true
|
|
prefixType: vendor
|
|
|
|
fields:
|
|
- identifier: header_section
|
|
type: Palette
|
|
label: Header
|
|
fields:
|
|
- identifier: header
|
|
useExistingField: true
|
|
required: true
|
|
- type: Linebreak
|
|
- identifier: header_layout
|
|
useExistingField: true
|
|
- identifier: header_position
|
|
useExistingField: true
|
|
- identifier: date
|
|
useExistingField: true
|
|
- type: Linebreak
|
|
- identifier: header_link
|
|
useExistingField: true
|
|
- type: Linebreak
|
|
- identifier: subheader
|
|
useExistingField: true
|
|
|
|
- identifier: bodytext
|
|
useExistingField: true
|
|
enableRichtext: true
|
|
|
|
- identifier: primary_cta
|
|
type: Link
|
|
required: true
|
|
allowedTypes:
|
|
- page
|
|
- url
|
|
- file
|
|
- email
|
|
|
|
- identifier: primary_cta_label
|
|
type: Text
|
|
required: true
|
|
default: 'Get in touch'
|
|
max: 30
|
|
|
|
- identifier: secondary_cta
|
|
type: Link
|
|
allowedTypes:
|
|
- page
|
|
- url
|
|
- file
|
|
- email
|
|
|
|
- identifier: secondary_cta_label
|
|
type: Text
|
|
max: 30
|
|
|
|
- identifier: Vitec/ButtonStyle
|
|
type: Basic
|
|
|
|
- identifier: Vitec/SecondaryButtonStyle
|
|
type: Basic
|
|
|
|
- identifier: layout_variant
|
|
type: Select
|
|
renderType: selectSingle
|
|
default: centered
|
|
items:
|
|
- label: Centered (text over background)
|
|
value: centered
|
|
- label: Split (text left, CTAs right)
|
|
value: split
|
|
- label: Stacked (text top, CTAs below)
|
|
value: stacked
|
|
|
|
- identifier: background_variant
|
|
type: Select
|
|
renderType: selectSingle
|
|
default: orange
|
|
items:
|
|
- label: Orange
|
|
value: orange
|
|
- label: Blue
|
|
value: blue
|
|
- label: Graphite
|
|
value: graphite
|
|
- label: Midnight
|
|
value: midnight
|
|
- label: Light (neutral)
|
|
value: light
|
|
|
|
- identifier: background_image
|
|
type: File
|
|
minitems: 0
|
|
maxitems: 1
|
|
allowed: common-image-types |