From c80a8bdf885c488882806ad7a8e908d6bc7508c9 Mon Sep 17 00:00:00 2001 From: julianamincey Date: Thu, 21 Mar 2024 15:59:24 -0400 Subject: [PATCH 01/26] EPAD8-2261 [BED] Wide content layout options 2/3/4 columns --- ...r.page_variant.dashboard_overview-block_display-0.yml | 2 ++ ...agraphs.paragraphs_type.applicants_or_respondents.yml | 9 +++++++-- .../config/sync/paragraphs.paragraphs_type.author.yml | 9 +++++++-- .../config/sync/paragraphs.paragraphs_type.banner.yml | 9 +++++++-- .../sync/paragraphs.paragraphs_type.banner_slide.yml | 9 +++++++-- ...aphs.paragraphs_type.before_after_swipe_component.yml | 9 +++++++-- .../config/sync/paragraphs.paragraphs_type.box.yml | 9 +++++++-- .../config/sync/paragraphs.paragraphs_type.card.yml | 9 +++++++-- .../sync/paragraphs.paragraphs_type.card_group.yml | 9 +++++++-- .../config/sync/paragraphs.paragraphs_type.cfr.yml | 9 +++++++-- .../config/sync/paragraphs.paragraphs_type.docket.yml | 9 +++++++-- .../sync/paragraphs.paragraphs_type.dynamic_list.yml | 9 +++++++-- .../config/sync/paragraphs.paragraphs_type.frc.yml | 9 +++++++-- .../sync/paragraphs.paragraphs_type.from_library.yml | 9 +++++++-- .../sync/paragraphs.paragraphs_type.graphic_list.yml | 9 +++++++-- .../config/sync/paragraphs.paragraphs_type.header.yml | 9 +++++++-- .../config/sync/paragraphs.paragraphs_type.html.yml | 9 +++++++-- .../paragraphs.paragraphs_type.legal_authorities.yml | 9 +++++++-- .../config/sync/paragraphs.paragraphs_type.link_list.yml | 9 +++++++-- ...agraphs.paragraphs_type.locations_of_prop_actions.yml | 9 +++++++-- .../sync/paragraphs.paragraphs_type.media_block.yml | 9 +++++++-- .../sync/paragraphs.paragraphs_type.press_officers.yml | 9 +++++++-- .../config/sync/paragraphs.paragraphs_type.section.yml | 3 +++ .../config/sync/paragraphs.paragraphs_type.slide.yml | 9 +++++++-- .../config/sync/paragraphs.paragraphs_type.slideshow.yml | 9 +++++++-- .../config/sync/paragraphs.paragraphs_type.tagline.yml | 9 +++++++-- 26 files changed, 173 insertions(+), 48 deletions(-) diff --git a/services/drupal/config/sync/page_manager.page_variant.dashboard_overview-block_display-0.yml b/services/drupal/config/sync/page_manager.page_variant.dashboard_overview-block_display-0.yml index 06f740a4eb..745ffad079 100644 --- a/services/drupal/config/sync/page_manager.page_variant.dashboard_overview-block_display-0.yml +++ b/services/drupal/config/sync/page_manager.page_variant.dashboard_overview-block_display-0.yml @@ -26,6 +26,7 @@ variant_settings: context_mapping: { } views_label: '' items_per_page: none + exposed: { } region: top weight: 0 uuid: 6f7a550c-463c-4be8-9593-c9c2145e42f9 @@ -37,6 +38,7 @@ variant_settings: context_mapping: { } views_label: '' items_per_page: none + exposed: { } region: bottom weight: 0 uuid: 4fb74c60-de0a-422f-82c1-b6027e4bd4df diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.applicants_or_respondents.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.applicants_or_respondents.yml index b1d660e7b4..893bc1722e 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.applicants_or_respondents.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.applicants_or_respondents.yml @@ -1,10 +1,15 @@ uuid: 0ec5867f-63df-4a02-b3f0-b3988ccd9405 langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: applicants_or_respondents label: 'Applicants or Respondents' icon_uuid: null icon_default: null description: '' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.author.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.author.yml index 92073300db..887b6daf5c 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.author.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.author.yml @@ -1,10 +1,15 @@ uuid: 8ae99bdc-ef9b-436d-9430-4b075ddbda32 langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: author label: Person icon_uuid: null icon_default: null description: 'Stores info about a person for Perspectives (Author) and Speeches and Remarks (Speaker or Presenter).' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.banner.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.banner.yml index 9718a966cc..2b4adf6d3e 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.banner.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.banner.yml @@ -1,10 +1,15 @@ uuid: 6adfa837-594d-4921-9efb-b6dcb910be64 langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: banner label: Banner icon_uuid: null icon_default: null description: 'Slideshow/banner used only at the top of web area homepages.' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.banner_slide.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.banner_slide.yml index f6d85f9842..38faede45d 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.banner_slide.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.banner_slide.yml @@ -1,10 +1,15 @@ uuid: 5fe58e39-4ad7-44ce-a385-09b5d1252b4f langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: banner_slide label: 'Banner Slide' icon_uuid: null icon_default: null description: 'Slide for banner slideshows used at the top of web area homepages.' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.before_after_swipe_component.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.before_after_swipe_component.yml index e481aa1dbb..8cc0f03362 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.before_after_swipe_component.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.before_after_swipe_component.yml @@ -1,10 +1,15 @@ uuid: ef9f847a-adfb-45c7-a192-9fb8250514fe langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: before_after_swipe_component label: 'Before/After Swipe' icon_uuid: null icon_default: null description: 'Two images with a slider that allows the user to swipe between them.' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.box.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.box.yml index b64254c22c..ccbe227454 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.box.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.box.yml @@ -1,10 +1,15 @@ uuid: 3bd253e5-ace8-437a-8e26-2aef20642415 langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: box label: 'Summary Box' icon_uuid: null icon_default: null description: '' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.card.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.card.yml index 812686429d..650bca2f07 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.card.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.card.yml @@ -1,10 +1,15 @@ uuid: f8971b2e-2933-49d2-8e71-1f55398514cc langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: card label: Card icon_uuid: null icon_default: null description: 'A individual card component based on the USWDS Card component.' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.card_group.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.card_group.yml index 01bbe3b581..862edb3ae4 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.card_group.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.card_group.yml @@ -1,10 +1,15 @@ uuid: 319ab1d5-f8da-4494-8630-8e943be9d969 langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: card_group label: 'Card Group' icon_uuid: null icon_default: null description: 'A Card Group provides a wrapping element to allow for the display of multiple Card paragraphs.' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.cfr.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.cfr.yml index 8c89c948dc..cbe90caeb4 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.cfr.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.cfr.yml @@ -1,10 +1,15 @@ uuid: 28f03764-726d-4f60-8f8e-cc6e7a3abea5 langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: cfr label: 'Code of Federal Regulations Citations' icon_uuid: null icon_default: null description: '' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.docket.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.docket.yml index 44ec8dbda3..33796d559e 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.docket.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.docket.yml @@ -1,10 +1,15 @@ uuid: 6abf3ad1-9373-48bb-8b71-db3f2c0dafcf langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: docket label: 'Docket Numbers' icon_uuid: null icon_default: null description: '' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.dynamic_list.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.dynamic_list.yml index 06dde64e3d..b7f571c201 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.dynamic_list.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.dynamic_list.yml @@ -1,10 +1,15 @@ uuid: 2b6af5da-b92d-4146-8f2b-7bf2d73b98ff langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: dynamic_list label: 'Dynamic List' icon_uuid: null icon_default: null description: '' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.frc.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.frc.yml index 596e53fe66..cdaeec927c 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.frc.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.frc.yml @@ -1,10 +1,15 @@ uuid: de613b04-d02e-419a-a52e-3d9eee58bd27 langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: frc label: 'Federal Register Citations' icon_uuid: null icon_default: null description: '' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.from_library.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.from_library.yml index 673418bbd6..fe21099739 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.from_library.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.from_library.yml @@ -1,7 +1,9 @@ uuid: 80c73aa4-5e41-4d35-a3ae-c5efd5212a84 langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs _core: default_config_hash: OJUwL6xTTiHbXZy10swc5Fckkr7qhSm4b0nK3326LO8 id: from_library @@ -9,4 +11,7 @@ label: 'From library' icon_uuid: null icon_default: null description: null -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.graphic_list.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.graphic_list.yml index c1659a4462..84761c256a 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.graphic_list.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.graphic_list.yml @@ -1,10 +1,15 @@ uuid: c1ffb8ca-dab1-49a3-9d2c-3e83442dedf1 langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: graphic_list label: 'Graphic List' icon_uuid: null icon_default: null description: '' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.header.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.header.yml index 62f085c1e6..9d52848aff 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.header.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.header.yml @@ -1,10 +1,15 @@ uuid: 830d01d0-12b5-43ed-afbc-0ca5f9a9b074 langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: header label: Header icon_uuid: null icon_default: null description: '' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.html.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.html.yml index 4946b43611..4bad0b0568 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.html.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.html.yml @@ -1,10 +1,15 @@ uuid: 7b2853d6-063e-43c8-8d8e-37474f250dfd langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: html label: HTML icon_uuid: null icon_default: null description: '' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.legal_authorities.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.legal_authorities.yml index 03a98a1084..562620afc0 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.legal_authorities.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.legal_authorities.yml @@ -1,10 +1,15 @@ uuid: 0152f82e-35aa-46fc-84cf-cde75cdf70d5 langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: legal_authorities label: 'Legal Authorities' icon_uuid: null icon_default: null description: '' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.link_list.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.link_list.yml index 2f1acb50b0..a40f99d43b 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.link_list.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.link_list.yml @@ -1,10 +1,15 @@ uuid: a7d199c1-9f47-49cc-b01d-a824b127876e langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: link_list label: 'Link List' icon_uuid: null icon_default: null description: '' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.locations_of_prop_actions.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.locations_of_prop_actions.yml index 5124e896d2..7ee964286c 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.locations_of_prop_actions.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.locations_of_prop_actions.yml @@ -1,10 +1,15 @@ uuid: 86854a2f-88d2-4e0a-a05a-287047d7f095 langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: locations_of_prop_actions label: 'Locations of Proposed Actions' icon_uuid: null icon_default: null description: '' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.media_block.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.media_block.yml index c51ec91dcb..305f7576e7 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.media_block.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.media_block.yml @@ -1,10 +1,15 @@ uuid: 3ebc9cfe-6bb7-44a5-94f7-fae0143418e8 langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: media_block label: 'Media Block' icon_uuid: null icon_default: null description: '' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.press_officers.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.press_officers.yml index 8ad5a42130..9311d4fd58 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.press_officers.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.press_officers.yml @@ -1,10 +1,15 @@ uuid: 7362978a-f224-4f96-8e8c-ec93a401aaeb langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: press_officers label: 'Press Officers' icon_uuid: null icon_default: null description: '' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.section.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.section.yml index f541dd4611..fa850886bc 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.section.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.section.yml @@ -13,4 +13,7 @@ behavior_plugins: layout_paragraphs: enabled: true available_layouts: + epa_four_column: 'Four column' epa_section: Section + epa_three_column: 'Three column' + epa_two_column: 'Two column' diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.slide.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.slide.yml index e7322ff421..78c011a90f 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.slide.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.slide.yml @@ -1,10 +1,15 @@ uuid: c5bcd32a-8da7-404f-bf33-b8cca3232e97 langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: slide label: Slide icon_uuid: null icon_default: null description: 'Slideshow slide' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.slideshow.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.slideshow.yml index febcaac1d6..c92375ec6d 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.slideshow.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.slideshow.yml @@ -1,10 +1,15 @@ uuid: 015d4039-a5c7-4d60-8f21-546afd491321 langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: slideshow label: Slideshow icon_uuid: null icon_default: null description: 'Used to embed a slideshow/image gallery in arbitrary pages.' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } diff --git a/services/drupal/config/sync/paragraphs.paragraphs_type.tagline.yml b/services/drupal/config/sync/paragraphs.paragraphs_type.tagline.yml index 59c716b578..7812ba42ba 100644 --- a/services/drupal/config/sync/paragraphs.paragraphs_type.tagline.yml +++ b/services/drupal/config/sync/paragraphs.paragraphs_type.tagline.yml @@ -1,10 +1,15 @@ uuid: 1cf8994f-553e-4a55-95ab-0a61896c3a0a langcode: en status: true -dependencies: { } +dependencies: + module: + - layout_paragraphs id: tagline label: Tagline icon_uuid: null icon_default: null description: '' -behavior_plugins: { } +behavior_plugins: + layout_paragraphs: + enabled: false + available_layouts: { } From 0e59a6ff274b84b2ea724f8b5fcde8520922ed27 Mon Sep 17 00:00:00 2001 From: Carson Oldson Date: Mon, 17 Jun 2024 09:19:38 -0500 Subject: [PATCH 02/26] [EPAD8-2406] Removing field_subjects for content array so it's no rendered. --- .../templates/content/node--news-release--full.html.twig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/services/drupal/web/themes/epa_theme/templates/content/node--news-release--full.html.twig b/services/drupal/web/themes/epa_theme/templates/content/node--news-release--full.html.twig index b3b8c6581a..5cf120b363 100644 --- a/services/drupal/web/themes/epa_theme/templates/content/node--news-release--full.html.twig +++ b/services/drupal/web/themes/epa_theme/templates/content/node--news-release--full.html.twig @@ -34,7 +34,7 @@ {% if more_link %} {% endif %} - + {% endset %} {% endif %} @@ -90,7 +90,8 @@ {{ content|without( 'epa_content_moderation_info_box', 'field_press_office', - 'field_secondary_headline' + 'field_secondary_headline', + 'field_subjects' ) }} {% endset %} From 46a5c84065b74d51d4ca78828d0522a59880493c Mon Sep 17 00:00:00 2001 From: Carson Oldson Date: Mon, 17 Jun 2024 13:16:36 -0500 Subject: [PATCH 03/26] [EPAD8-2261] Modifying layout template markup to add additional markup that will ensure components have the constraint div. --- .../templates/epa-column-layout.twig | 36 ++++++++++--------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/services/drupal/web/modules/custom/epa_layouts/templates/epa-column-layout.twig b/services/drupal/web/modules/custom/epa_layouts/templates/epa-column-layout.twig index b3e9695d51..3ce07b388b 100644 --- a/services/drupal/web/modules/custom/epa_layouts/templates/epa-column-layout.twig +++ b/services/drupal/web/modules/custom/epa_layouts/templates/epa-column-layout.twig @@ -24,22 +24,26 @@ 'l-column-layout' ] %} - - {% if content.first %} - {{ content.first }} - {% endif %} - - {% if content.second %} - {{ content.second }} - {% endif %} - - {% if content.third %} - {{ content.third }} - {% endif %} - - {% if content.fourth %} - {{ content.fourth }} - {% endif %} +
+
+ + {% if content.first %} + {{ content.first }}
+ {% endif %} + + {% if content.second %} + {{ content.second }}
+ {% endif %} + + {% if content.third %} + {{ content.third }} + {% endif %} + + {% if content.fourth %} + {{ content.fourth }} + {% endif %} + + {% else %} {{ content.first }} From 1157ac581e787189c43ee50604e2d8fc1dd8a74a Mon Sep 17 00:00:00 2001 From: Dan Mouyard Date: Fri, 26 Jul 2024 15:20:04 -0400 Subject: [PATCH 04/26] EPAD8-2422: Set color for search box label to pass accessibility checkers --- .../05-components/search/search--epa/_search--epa.scss | 5 +++++ .../05-components/search/search--epa/search--epa.twig | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/services/drupal/web/themes/epa_theme/source/_patterns/05-components/search/search--epa/_search--epa.scss b/services/drupal/web/themes/epa_theme/source/_patterns/05-components/search/search--epa/_search--epa.scss index bb8bf96ce6..e5380e7a79 100644 --- a/services/drupal/web/themes/epa_theme/source/_patterns/05-components/search/search--epa/_search--epa.scss +++ b/services/drupal/web/themes/epa_theme/source/_patterns/05-components/search/search--epa/_search--epa.scss @@ -73,3 +73,8 @@ } } } + +// To pass accessibility checkers that don’t realize this element is hidden. +.usa-search__label { + color: gesso-grayscale(white); +} diff --git a/services/drupal/web/themes/epa_theme/source/_patterns/05-components/search/search--epa/search--epa.twig b/services/drupal/web/themes/epa_theme/source/_patterns/05-components/search/search--epa/search--epa.twig index cd25952f43..3c0ca8855f 100644 --- a/services/drupal/web/themes/epa_theme/source/_patterns/05-components/search/search--epa/search--epa.twig +++ b/services/drupal/web/themes/epa_theme/source/_patterns/05-components/search/search--epa/search--epa.twig @@ -7,7 +7,7 @@
- +