Releases: PackageFactory/atomic-fusion-afx
Support Neos 4.0
Render default-keys of children as string `item_x` starting with `x=1` instead of pure numbers
That way defining also children with @key will be rendered in the original order.
Implement AFX as Fusion-DSL for Neos 3.2+
v4.0.0 Merge pull request #14 from PackageFactory/task/useFusionDslExtension…
TASK: Remove special handling of `content` attribute in html-tags
The special rule for-content attributes in html-tags is removed. The only supported way to define content of html-tags is creating children that can be a single expression or a list of nodes or expressions.
Background. The special handling of the content-attributes always was was a bit strange and since the latest changes allow child-content to be defined as a single expression instead of an array aswell it is
no longer needed.
Handle empty nodeLists properly
If a node only contained children that were ignored the returned fusion code was invalid.
This case is fixed by creating an empty string for NodeLists that do not contain meaningful items.
Remove special handling of `content` attribute in html-tags
The special rule for-content attributes in html-tags is removed. The only supported way to define content of html-tags is creating children that can be a single expression or a list of nodes or expressions.
Background. The special handling of the content
-attributes for html always was was a bit strange and since the latest changes allow child-content to be defined as a single expression instead of an array aswell it isn no longer needed.
Handle empty nodeLists properly
If a node only contained children that were ignored the returned fusion code was invalid.
This case is fixed by creating an empty string for NodeLists that do not contain meaningful items.
Allow multiple elements on topLevel and avoid array-elements for single child-nodes
AFX now allows to use multiple elements on the top level of an aft-block. If multiple elements are used on the top-level of an aft-block an Neos.Fusion:Array is created.
At the same time the rendering of single child-nodes inside AFX-tags is altered. If an element contains only a single child then the child is rendered directly into the content-attribute without wrapping in an Array.
Handle @children correctly together with other props
v1.0.2 BUGFIX: Handle @children property correctly if multiple props exist
Protect meta-attributes of html-tags from prefixing
v1.0.1 Merge pull request #10 from mficzel/task/protectMetaPropertiesOnHtmlT…