By grimreaper on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
8.x-1.x
Introduced in version:
8.x-1.20
Issue links:
Description:
When using an SDC as section in Layout Builder, with UI Patterns 2 for example, the regions styles does not work.
Because:
- there is no mechanism to obtain automatically attributes per slots (see #3504637: [2.0.x] Grid row layouts miss attributes), it is up to each component to declare additional attributes props, which are then unrelated to UI Styles Layout Builder mechanisms.
- even with such mechanism, SDC templates may not have wrappers around slots to display such attributes.
That's why to avoid to provide configuration options not working, on component used as section, the section configuration form will no more have styles per regions.
Therefore when saving the section form, if previous region styles configuration existed, it will be deleted!
The section styles still works but it can be handled by the default attributes prop present on each component, so indicating that section styles is deprecated.
Impacts:
Site builders, administrators, editors
Site templates, recipes and distribution developers