Skip to content

Releases: giorgiopogliani/twig-components

0.4.4

06 Jul 15:35
Compare
Choose a tag to compare

Fix get attribute value. This now works, no need to return a SlotBag because the attributes class is already marked as safe and you probably want the actual value and not a wrapped thing.

 {% set value = attributes.get('param') %}

0.4.3

29 Jun 23:11
Compare
Choose a tag to compare

Add except method to AttributesBag

0.4.2

29 Jun 13:09
Compare
Choose a tag to compare

Fix type error when no default value for attribute key given. @nevmn

0.4.1

10 Jun 14:12
Compare
Choose a tag to compare

Added new setup class

0.3.2

15 Apr 09:14
Compare
Choose a tag to compare
Add PHP 8.0

0.3.1

08 Apr 16:53
Compare
Choose a tag to compare

Add x-tags syntax

0.2.1

08 Mar 09:38
Compare
Choose a tag to compare
Add attributes.has('key')

0.2.0

07 Mar 09:53
Compare
Choose a tag to compare

Add named slots

0.1.1

04 Mar 15:56
Compare
Choose a tag to compare
Fix twig compatibilty

0.1.0

23 Nov 15:14
Compare
Choose a tag to compare
  • new syntax to support folders/namespace (thanks @sjelfull)