From 859b9603a7e7e4aabba9a827e9a2ad5b85723aca Mon Sep 17 00:00:00 2001 From: Julie Muzina Date: Tue, 10 Sep 2024 15:52:59 -0400 Subject: [PATCH] Rename `flipped` param to `is_flipped` --- templates/_macros/vf_rich-vertical-list.jinja | 6 +++--- .../patterns/rich-list/vertical/bulleted-flipped.html | 2 +- .../docs/examples/patterns/rich-list/vertical/flipped.html | 2 +- .../patterns/rich-list/vertical/ordered-flipped.html | 2 +- .../patterns/rich-list/vertical/ticked-flipped.html | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/_macros/vf_rich-vertical-list.jinja b/templates/_macros/vf_rich-vertical-list.jinja index c1ab061d0..e0189f855 100644 --- a/templates/_macros/vf_rich-vertical-list.jinja +++ b/templates/_macros/vf_rich-vertical-list.jinja @@ -1,7 +1,7 @@ # Params # title_text (string) (required): Title of the rich vertical list # list_item_tick_style (string) (optional): Type of list item tick styling. Options are "bullet", "tick", "number". -# flipped (boolean) (optional): Whether the list items are flipped so image is on the left and the text is on the right. Defaults to false. +# is_flipped (boolean) (optional): Whether the list items are flipped so image is on the left and the text is on the right. Defaults to false. # Slots # description: Paragraph-style description content # logo_section Logo section block @@ -10,7 +10,7 @@ {% macro vf_rich_vertical_list( title_text, list_item_tick_style="", - flipped=false + is_flipped=false ) -%} {% set description_content = caller('description') %} {% set has_description = description_content|trim|length > 0 %} @@ -104,7 +104,7 @@
- {% if not flipped -%} + {% if not is_flipped -%}
{{- _text_column_contents(list_items) -}}
diff --git a/templates/docs/examples/patterns/rich-list/vertical/bulleted-flipped.html b/templates/docs/examples/patterns/rich-list/vertical/bulleted-flipped.html index 1f93741ea..f3197be85 100644 --- a/templates/docs/examples/patterns/rich-list/vertical/bulleted-flipped.html +++ b/templates/docs/examples/patterns/rich-list/vertical/bulleted-flipped.html @@ -7,7 +7,7 @@ {% call(slot) vf_rich_vertical_list( title_text='H2 - this can take up to two lines, but best to stick to one line.', list_item_tick_style="bullet", - flipped=true + is_flipped=true ) -%} {%- if slot == 'description' -%}

diff --git a/templates/docs/examples/patterns/rich-list/vertical/flipped.html b/templates/docs/examples/patterns/rich-list/vertical/flipped.html index 2d2329070..f6f326344 100644 --- a/templates/docs/examples/patterns/rich-list/vertical/flipped.html +++ b/templates/docs/examples/patterns/rich-list/vertical/flipped.html @@ -6,7 +6,7 @@ {% block content %} {% call(slot) vf_rich_vertical_list( title_text='H2 - this can take up to two lines, but best to stick to one line.', - flipped=true + is_flipped=true ) -%} {%- if slot == 'description' -%}

diff --git a/templates/docs/examples/patterns/rich-list/vertical/ordered-flipped.html b/templates/docs/examples/patterns/rich-list/vertical/ordered-flipped.html index dab25d1de..3588fc04e 100644 --- a/templates/docs/examples/patterns/rich-list/vertical/ordered-flipped.html +++ b/templates/docs/examples/patterns/rich-list/vertical/ordered-flipped.html @@ -7,7 +7,7 @@ {% call(slot) vf_rich_vertical_list( title_text='H2 - this can take up to two lines, but best to stick to one line.', list_item_tick_style="number", - flipped=true + is_flipped=true ) -%} {%- if slot == 'description' -%}

diff --git a/templates/docs/examples/patterns/rich-list/vertical/ticked-flipped.html b/templates/docs/examples/patterns/rich-list/vertical/ticked-flipped.html index 6cce01b8f..573657a2a 100644 --- a/templates/docs/examples/patterns/rich-list/vertical/ticked-flipped.html +++ b/templates/docs/examples/patterns/rich-list/vertical/ticked-flipped.html @@ -7,7 +7,7 @@ {% call(slot) vf_rich_vertical_list( title_text='H2 - this can take up to two lines, but best to stick to one line.', list_item_tick_style="tick", - flipped=true + is_flipped=true ) -%} {%- if slot == 'description' -%}