-
Notifications
You must be signed in to change notification settings - Fork 5
feat(accordion): add accordion 2 - INNO-1548 #100
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed on slack, we will provide the new accordion in a new package
…opa/ecl-twig into feat/accordion2-INNO-1548
size: "m" | ||
}, | ||
extra_classes: 'ecl-accordion2__toggle-icon', | ||
extra_attributes: [{ name: "data-ecl-accordion2-icon", value: "true" }] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it would be great if we didn't have to pass a value
to extra attributes (unnecessary), but this change of logic would need to be applied to every components... unless we create some global macros
what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually, it does seems to work by putting only a name (without changing the logic). I'll update it
PR description
Add second version of accordion (ECL >= 2.6.0)