From fcfb26164207b40a74d9bd13eea3042d007f0a07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kry=C5=A1p=C3=ADn?= Date: Tue, 15 Aug 2023 17:25:21 +0200 Subject: [PATCH] Fix(web): Remove unused data attribute in Accordion #DS-883 --- .../src/Resources/components/Accordion/Accordion.twig | 1 - ...otTest__test with data set accordionDefault.twig__1.html | 2 +- ...tTest__test with data set accordionStayOpen.twig__1.html | 2 +- packages/web/src/js/__tests__/Collapse.test.ts | 1 - packages/web/src/scss/components/Accordion/README.md | 6 +++--- packages/web/src/scss/components/Accordion/index.html | 3 +-- 6 files changed, 6 insertions(+), 9 deletions(-) diff --git a/packages/web-twig/src/Resources/components/Accordion/Accordion.twig b/packages/web-twig/src/Resources/components/Accordion/Accordion.twig index cb4ede681e..d3c1282951 100644 --- a/packages/web-twig/src/Resources/components/Accordion/Accordion.twig +++ b/packages/web-twig/src/Resources/components/Accordion/Accordion.twig @@ -19,7 +19,6 @@ {{ styleProp(_styleProps) }} {{ _idAttr | raw }} {{ classProp(_classNames) }} - data-spirit-toggle="accordion" > {% block content %}{% endblock %} diff --git a/packages/web-twig/tests/__snapshots__/ComponentsSnapshotTest__test with data set accordionDefault.twig__1.html b/packages/web-twig/tests/__snapshots__/ComponentsSnapshotTest__test with data set accordionDefault.twig__1.html index 04252d78f8..a2615c20d5 100644 --- a/packages/web-twig/tests/__snapshots__/ComponentsSnapshotTest__test with data set accordionDefault.twig__1.html +++ b/packages/web-twig/tests/__snapshots__/ComponentsSnapshotTest__test with data set accordionDefault.twig__1.html @@ -5,7 +5,7 @@ -
+