From 3436243f4134d0cc1465a3d2541827e2fb09ca39 Mon Sep 17 00:00:00 2001 From: Precious Onyenaucheya Date: Wed, 10 Jul 2024 14:22:19 +0100 Subject: [PATCH 1/6] update logic in related-content macro --- src/components/related-content/_macro-options.md | 1 + src/components/related-content/_macro.njk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/related-content/_macro-options.md b/src/components/related-content/_macro-options.md index 4e95507fee..d861e4c7bf 100644 --- a/src/components/related-content/_macro-options.md +++ b/src/components/related-content/_macro-options.md @@ -14,3 +14,4 @@ | iconType | string | false | Adds an icon to all the list items when set to the name of one of the [available icons](/foundations/icons#a-to-z). Requires `iconPosition` to be set. | | iconPosition | string | false | Sets the position of the icon to “before” or “after” each list item in the row | | iconSize | string | false | Icon size can be set to match the size of the list item text as detailed in the [typography type scale](/foundations/typography/#type-scale). | +| variants | array or string | false | An array of values or single value (string) to adjust the list items using available variants: “bare”, “dashed”, “inline”, “social”, and “languages” | diff --git a/src/components/related-content/_macro.njk b/src/components/related-content/_macro.njk index c18509ab3e..323c78bc1b 100644 --- a/src/components/related-content/_macro.njk +++ b/src/components/related-content/_macro.njk @@ -16,7 +16,7 @@