From ce3becea310258381313e3752b9fbc55d4d5a4f3 Mon Sep 17 00:00:00 2001 From: Timo Date: Wed, 17 Jun 2026 09:31:40 +0200 Subject: [PATCH 1/2] feat(space-between): Add `stretch` option to space between's `alignItems` property --- .../alignment.permutations.page.tsx | 2 +- pages/space-between/styles.scss | 2 ++ .../__tests__/space-between.test.tsx | 23 +++++++++++++++++++ src/space-between/interfaces.ts | 2 +- src/space-between/styles.scss | 4 ++++ 5 files changed, 31 insertions(+), 2 deletions(-) diff --git a/pages/space-between/alignment.permutations.page.tsx b/pages/space-between/alignment.permutations.page.tsx index 0d5b71ad7c..287add1515 100644 --- a/pages/space-between/alignment.permutations.page.tsx +++ b/pages/space-between/alignment.permutations.page.tsx @@ -49,7 +49,7 @@ const permutations = createPermutations { expect(content[0].getElement()).toHaveAttribute('id', 'button-one'); expect(content[1].getElement()).toHaveAttribute('id', 'button-two'); }); + + it.each(['center', 'start', 'end', 'stretch'] as const)('applies align-%s class', alignItems => { + const { container } = render( + +