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>
139 lines
2.6 KiB
YAML
139 lines
2.6 KiB
YAML
name: vitec/herosection
|
|
group: vitec_custom_components
|
|
prefixFields: true
|
|
prefixType: vendor
|
|
|
|
fields:
|
|
- identifier: eyebrow
|
|
type: Text
|
|
max: 50
|
|
|
|
- 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: cta
|
|
type: Link
|
|
allowedTypes:
|
|
- page
|
|
- url
|
|
- file
|
|
- email
|
|
|
|
- identifier: cta_label
|
|
type: Text
|
|
default: 'Learn more'
|
|
max: 30
|
|
|
|
- identifier: Vitec/ButtonStyle
|
|
type: Basic
|
|
|
|
# --- Image ---
|
|
- identifier: hero_bgimage
|
|
type: File
|
|
minitems: 0
|
|
maxitems: 1
|
|
allowed: common-image-types
|
|
extendedPalette: true
|
|
|
|
- identifier: hero_image
|
|
type: File
|
|
minitems: 0
|
|
maxitems: 1
|
|
allowed: common-image-types
|
|
extendedPalette: true
|
|
|
|
- identifier: hero_image_alignment
|
|
type: Select
|
|
renderType: selectSingle
|
|
default: center
|
|
items:
|
|
- label: Left
|
|
value: left
|
|
- label: Center
|
|
value: center
|
|
- label: Right
|
|
value: right
|
|
- label: Fullwidth
|
|
value: fullwidth
|
|
|
|
# --- Video ---
|
|
- identifier: hero_video
|
|
type: File
|
|
minitems: 0
|
|
maxitems: 1
|
|
allowed: mp4,webm,ogv,mov,m4v
|
|
|
|
- identifier: hero_video_alignment
|
|
type: Select
|
|
renderType: selectSingle
|
|
default: center
|
|
items:
|
|
- label: Left
|
|
value: left
|
|
- label: Center
|
|
value: center
|
|
- label: Right
|
|
value: right
|
|
- label: Fullwidth
|
|
value: fullwidth
|
|
|
|
- identifier: hero_video_autoplay
|
|
type: Checkbox
|
|
default: 0
|
|
|
|
- identifier: hero_video_loop
|
|
type: Checkbox
|
|
default: 0
|
|
|
|
- identifier: hero_video_muted
|
|
type: Checkbox
|
|
default: 1
|
|
|
|
- identifier: hero_layout_variant
|
|
type: Select
|
|
renderType: selectSingle
|
|
default: fullscreen
|
|
items:
|
|
- label: Fullscreen
|
|
value: fullscreen
|
|
- label: Medium
|
|
value: md
|
|
- label: Small
|
|
value: sm
|
|
- label: Extra Small
|
|
value: xs
|
|
|
|
- identifier: show_logo_wall
|
|
type: Checkbox
|
|
default: 0
|
|
|
|
- identifier: debug
|
|
type: Checkbox
|
|
default: 0
|