Skip to content

Commit

Permalink
Merge pull request #4537 from neos/task/removeDeprecatedFusionPrototypes
Browse files Browse the repository at this point in the history
TASK: Remove deprecated Fusion prototypes
  • Loading branch information
mhsdesign authored Oct 9, 2023
2 parents 08c3b5a + 300ca7b commit e76f05d
Show file tree
Hide file tree
Showing 31 changed files with 97 additions and 904 deletions.
14 changes: 7 additions & 7 deletions Neos.Fusion.Afx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,10 +354,10 @@ Neos.Fusion:Join {

## Examples

### Rendering of Collections with `Neos.Fusion:Collection`
### Rendering of Collections with `Neos.Fusion:Loop`

For rendering of lists or menus a presentational-component usually will recieve arrays of
preprocessed data as prop. To iterate over such an array the `Neos.Fusion:Collection`
preprocessed data as prop. To iterate over such an array the `Neos.Fusion:Loop`
can be used in afx.

```
Expand All @@ -368,11 +368,11 @@ prototype(Vendor.Site:IterationExample) < prototype(Neos.Fusion:Component) {
renderer = afx`
<ul @if.has={props.items ? true : false}>
<Neos.Fusion:Collection collection={props.items} itemName="item">
<li @path='itemRenderer'>
<Neos.Fusion:Loop items={props.items} itemName="item">
<li>
<Vendor.Site:LinkExample {...item} />
</li>
</Neos.Fusion:Collection>
</Neos.Fusion:Loop>
</ul>
`
}
Expand All @@ -389,11 +389,11 @@ prototype(PackageFactory.AtomicFusion.AFX:SliderExample) < prototype(Packagefact
images = ${[]}
renderer = afx`
<div class="slider">
<Neos.Fusion:Collection collection={props.images} itemName="image" iterationName="iteration" @children="itemRenderer">
<Neos.Fusion:Loop items={props.images} itemName="image" iterationName="iteration">
<Neos.Fusion:Augmenter class="slider__slide" data-index={iteration.index}>
<Vendor.Site:ImageExample {...image} />
</Neos.Fusion:Augmenter>
</Neos.Fusion:Collection>
</Neos.Fusion:Loop>
</div>
`
}
Expand Down

This file was deleted.

30 changes: 0 additions & 30 deletions Neos.Fusion/Classes/FusionObjects/ArrayImplementation.php

This file was deleted.

64 changes: 0 additions & 64 deletions Neos.Fusion/Classes/FusionObjects/AttributesImplementation.php

This file was deleted.

43 changes: 0 additions & 43 deletions Neos.Fusion/Classes/FusionObjects/CollectionImplementation.php

This file was deleted.

21 changes: 0 additions & 21 deletions Neos.Fusion/Classes/FusionObjects/RawArrayImplementation.php

This file was deleted.

33 changes: 0 additions & 33 deletions Neos.Fusion/Classes/FusionObjects/RawCollectionImplementation.php

This file was deleted.

5 changes: 0 additions & 5 deletions Neos.Fusion/Resources/Private/Fusion/Deprecated/Array.fusion

This file was deleted.

15 changes: 0 additions & 15 deletions Neos.Fusion/Resources/Private/Fusion/Deprecated/Attributes.fusion

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit e76f05d

Please sign in to comment.