Skip to content

Commit 30e661d

Browse files
add deprecation notice on Logo block component
1 parent 019e990 commit 30e661d

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

releases.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
url: /docs/patterns/logo-section
55
status: Updated
66
notes: Added <code>scope</code> parameter. Updated <code>padding</code> and <code>top_rule_variant</code> parameters.
7+
- component: Logo block
8+
url: /docs/patterns/logo-block
9+
status: Deprecated
10+
notes: Logo block is now deprecated in favor of the [block level Logo section](/docs/patterns/logo-section#logo-section-at-a-block-level)
711
- version: 4.39.0
812
features:
913
- component: CTA section
@@ -635,7 +639,7 @@
635639
- component: Divided lists
636640
url: /docs/patterns/lists#bulleted-with-horizontal-divider
637641
status: Updated
638-
notes: 'We removed the line above the first list item in the bulleted list with horizontal divider.'
642+
notes: "We removed the line above the first list item in the bulleted list with horizontal divider."
639643
- version: 3.13.0
640644
features:
641645
- component: Brochure site layout

templates/docs/patterns/logo-block/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ context:
77
{% from "docs/macros/notice.jinja" import documentation_notice %}
88

99
{{- documentation_notice(
10-
icon_class="p-notification--information",
11-
message_text="Please use this component if you would like to simply display logos within another section, as it should be treated as a building block that can be inserted into other patterns, without needing to include a title. If you would instead like to use a designated logo section with an accompanying heading and optional description, please use the <a href='/docs/patterns/logo-section'>Logo section</a> pattern."
10+
icon_class="p-notification--negative",
11+
message_text="Logo block is now deprecated in favor of the new <a href='/docs/patterns/logo-section'>Logo section</a> pattern."
1212
) }}
1313

1414
The logo block can be used to showcase a group of related images, such as a group of customer or partner logos.

templates/docs/patterns/logo-section/index.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ context:
99

1010
{{- pattern_wip_notice() }}
1111

12-
{{- documentation_notice(
13-
icon_class="p-notification--information",
14-
message_text="Please use this pattern if you would like to use a designated logo section with an accompanying heading and optional description. If you would instead like to simply display logos within another section, please use the <a href='/docs/patterns/logo-block'>Logo block component</a>, which should be treated as a building block that can be inserted into other patterns without needing to include a title."
15-
) }}
16-
1712
The logo section is a pattern where the logo block serves as the main content, combined with a muted heading, optional description, and a CTA block.
1813

1914
It is composed of the following elements:

0 commit comments

Comments
 (0)