From 4236b197a5cf9ee933146835a7937002c985f3a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8Curda?= Date: Fri, 2 Aug 2024 11:38:50 +0200 Subject: [PATCH] fixup! Feat(web-twig): Add spacing property to Tabs component #DS-1315 --- .../__fixtures__/tabsWithCustomSpacing.twig | 2 +- ...absWithCustomSpacingForEachBreakpoint.twig | 23 ++++++++++++++ .../tabsWithCustomSpacing.twig.snap.html | 2 +- ...tomSpacingForEachBreakpoint.twig.snap.html | 30 +++++++++++++++++++ 4 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 packages/web-twig/src/Resources/components/Tabs/__tests__/__fixtures__/tabsWithCustomSpacingForEachBreakpoint.twig create mode 100644 packages/web-twig/src/Resources/components/Tabs/__tests__/__snapshots__/tabsWithCustomSpacingForEachBreakpoint.twig.snap.html diff --git a/packages/web-twig/src/Resources/components/Tabs/__tests__/__fixtures__/tabsWithCustomSpacing.twig b/packages/web-twig/src/Resources/components/Tabs/__tests__/__fixtures__/tabsWithCustomSpacing.twig index 5ed21d7cdc..0a44276034 100644 --- a/packages/web-twig/src/Resources/components/Tabs/__tests__/__fixtures__/tabsWithCustomSpacing.twig +++ b/packages/web-twig/src/Resources/components/Tabs/__tests__/__fixtures__/tabsWithCustomSpacing.twig @@ -1,4 +1,4 @@ - + Item selected diff --git a/packages/web-twig/src/Resources/components/Tabs/__tests__/__fixtures__/tabsWithCustomSpacingForEachBreakpoint.twig b/packages/web-twig/src/Resources/components/Tabs/__tests__/__fixtures__/tabsWithCustomSpacingForEachBreakpoint.twig new file mode 100644 index 0000000000..5ed21d7cdc --- /dev/null +++ b/packages/web-twig/src/Resources/components/Tabs/__tests__/__fixtures__/tabsWithCustomSpacingForEachBreakpoint.twig @@ -0,0 +1,23 @@ + + + + Item selected + + + + + Item + + + + + Item link + + + + + Pane 1 + + + Pane 2 + diff --git a/packages/web-twig/src/Resources/components/Tabs/__tests__/__snapshots__/tabsWithCustomSpacing.twig.snap.html b/packages/web-twig/src/Resources/components/Tabs/__tests__/__snapshots__/tabsWithCustomSpacing.twig.snap.html index 09dc1aaa68..c3e8633b59 100644 --- a/packages/web-twig/src/Resources/components/Tabs/__tests__/__snapshots__/tabsWithCustomSpacing.twig.snap.html +++ b/packages/web-twig/src/Resources/components/Tabs/__tests__/__snapshots__/tabsWithCustomSpacing.twig.snap.html @@ -5,7 +5,7 @@ -
    +
    • diff --git a/packages/web-twig/src/Resources/components/Tabs/__tests__/__snapshots__/tabsWithCustomSpacingForEachBreakpoint.twig.snap.html b/packages/web-twig/src/Resources/components/Tabs/__tests__/__snapshots__/tabsWithCustomSpacingForEachBreakpoint.twig.snap.html new file mode 100644 index 0000000000..09dc1aaa68 --- /dev/null +++ b/packages/web-twig/src/Resources/components/Tabs/__tests__/__snapshots__/tabsWithCustomSpacingForEachBreakpoint.twig.snap.html @@ -0,0 +1,30 @@ + + + + + + + +
        +
      • + +
      • + +
      • + +
      • + +
      • + Item link +
      • +
      + +
      + Pane 1 +
      + +
      + Pane 2 +
      + +