From be2ff758663998bdb517f91fa48932065e9dce4f Mon Sep 17 00:00:00 2001 From: Ans Date: Wed, 27 Mar 2024 14:28:00 -0400 Subject: [PATCH] Update BEM names --- .../jinja2/agreements/_need_help.html | 2 +- .../agreements/jinja2/agreements/archive.html | 4 +- cfgov/agreements/jinja2/agreements/index.html | 4 +- .../agreements/jinja2/agreements/search.html | 36 +- .../ask_cfpb/jinja2/ask-cfpb/_disclaimer.html | 2 +- .../ask_cfpb/jinja2/ask-cfpb/answer-page.html | 16 +- .../ask-cfpb/answer-search-results.html | 4 +- .../jinja2/ask-cfpb/landing-page.html | 6 +- cfgov/ask_cfpb/jinja2/ask-cfpb/see-all.html | 2 +- .../jinja2/diversity_inclusion/_sidebar.html | 6 +- .../diversity_inclusion/form-submitted.html | 10 +- .../jinja2/diversity_inclusion/privacy.html | 4 +- .../voluntary-assessment-form.html | 32 +- .../filing_instruction_guide/data_points.html | 4 +- .../filing_instruction_guide/index.html | 6 +- .../filing_instruction_guide/layout-fig.html | 12 +- .../form-explainer/blocks/explainer.html | 12 +- .../jinja2/form-explainer/index.html | 4 +- .../jinja2/hmda/hmda-explorer-controls.html | 30 +- cfgov/hmda/jinja2/hmda/hmda-explorer.html | 4 +- .../jinja2/housing_counselor/index.html | 48 +- cfgov/jinja2/ccdb-complaint/ccdb-search.html | 4 +- .../govdelivery-subscribe/error/index.html | 2 +- .../server-error/index.html | 2 +- .../govdelivery-subscribe/success/index.html | 2 +- .../know-before-you-owe/compare/index.html | 34 +- cfgov/jinja2/know-before-you-owe/index.html | 240 ++++---- .../know-before-you-owe/timeline/index.html | 62 +- .../_templates/brand-footer.html | 2 +- .../_templates/brand-header.html | 2 +- .../owning-a-home/_templates/no_js.html | 4 +- .../owning-a-home/explore-rates/index.html | 44 +- .../_templates/expandable.html | 12 +- .../_templates/no_js.html | 4 +- cfgov/jinja2/rural-or-underserved/index.html | 126 ++-- .../index.html | 2 +- .../jinja2/jobmanager/job_listing_list.html | 6 +- .../jinja2/jobmanager/job_listing_page.html | 42 +- .../mega_menu/jinja2/mega_menu/mega-menu.html | 4 +- cfgov/mega_menu/jinja2/mega_menu/preview.html | 4 +- .../paying-for-college/_templates/no_js.html | 4 +- .../college-cost-blocks/0-intro.html | 12 +- .../college-cost-blocks/01-school-search.html | 28 +- .../13-school-results.html | 10 +- .../college-cost-blocks/14-summary.html | 2 +- .../16-save-and-finish.html | 12 +- .../college-cost-blocks/copy-link-form.html | 2 +- .../macros/secondary-nav.html | 28 +- .../college-cost-blocks/nav.html | 2 +- .../paying-for-college/college-costs.html | 4 +- .../jinja2/paying-for-college/disclosure.html | 114 ++-- .../disclosure_technote.html | 164 +++--- .../jinja2/prepaid_agreements/detail.html | 20 +- .../jinja2/prepaid_agreements/index.html | 6 +- .../search_result_item.html | 4 +- .../prepaid_agreements/search_results.html | 12 +- .../privacy/disclosure-consent-form.html | 66 +-- .../jinja2/privacy/form-submitted.html | 10 +- .../jinja2/privacy/privacy-styles.html | 4 +- .../jinja2/privacy/records-access-form.html | 62 +- .../regulations3k/browse-regulation.html | 40 +- .../jinja2/regulations3k/inline_interps.html | 12 +- .../jinja2/regulations3k/landing-page.html | 8 +- .../jinja2/regulations3k/recent-notices.html | 6 +- .../regulations3k-search-bar.html | 6 +- .../regulations3k-secondary-nav.html | 16 +- .../regulations3k/regulations3k-side-nav.html | 12 +- .../regulations3k/search-regulations.html | 20 +- .../retirement_api/_templates/no_js.html | 4 +- .../jinja2/retirement_api/about.html | 4 +- .../jinja2/retirement_api/claiming-es.html | 2 +- .../jinja2/retirement_api/claiming.html | 86 +-- cfgov/tccp/jinja2/tccp/card.html | 8 +- cfgov/tccp/jinja2/tccp/cards.html | 6 +- .../jinja2/tccp/includes/filter_form.html | 18 +- cfgov/tccp/jinja2/tccp/includes/sidebar.html | 2 +- cfgov/tccp/jinja2/tccp/landing_page.html | 32 +- .../tccp/situations/select/avoid-fees.html | 2 +- .../tccp/situations/select/build-credit.html | 2 +- .../tccp/situations/select/earn-rewards.html | 2 +- .../select/make-a-big-purchase.html | 10 +- .../situations/select/pay-less-interest.html | 2 +- .../situations/select/transfer-a-balance.html | 2 +- .../widgets/situation_checkbox_option.html | 2 +- .../activity_index_page.html | 12 +- .../activity_page.html | 20 +- .../activity_search_facets_and_results.html | 8 +- .../activity_search_result.html | 2 +- .../tdp_expandable.html | 14 +- .../accessibility-interactions-listeners.js | 2 +- .../apps/analytics-gtm/js/bah-explainers.js | 4 +- .../apps/ccdb-search/css/main.less | 6 +- .../filing-instruction-guide/css/main.less | 14 +- .../js/fig-sidenav-utils.js | 8 +- .../js/fig-sidenav.js | 6 +- .../apps/financial-well-being/css/main.less | 18 +- .../find-a-housing-counselor/css/hud.less | 2 +- .../form-explainer/css/form-explainer.less | 16 +- .../apps/form-explainer/js/FormExplainer.js | 6 +- cfgov/unprocessed/apps/homepage/css/main.less | 2 +- .../css/cf-enhancements.less | 2 +- .../css/cf-theme-overrides.less | 8 +- .../css/college-costs/college-costs.less | 6 +- .../css/college-costs/financial-item.less | 2 +- .../css/college-costs/nav.less | 16 +- .../paying-for-college/css/disclosures.less | 8 +- .../js/college-costs/views/app-view.js | 2 +- .../js/college-costs/views/navigation-view.js | 6 +- .../js/disclosures/views/question-view.js | 2 +- .../apps/prepaid-agreements/css/main.less | 8 +- .../apps/prepaid-agreements/css/search.less | 14 +- .../regulations3k/css/reg-navigation.less | 14 +- .../apps/regulations3k/css/reg-search.less | 14 +- .../apps/regulations3k/js/analytics.js | 4 +- .../apps/regulations3k/js/index.js | 2 +- .../apps/regulations3k/js/permalinks-utils.js | 2 +- .../apps/regulations3k/js/recent-notices.js | 2 +- .../apps/retirement/css/claiming.less | 30 +- .../apps/retirement/js/views/graph-view.js | 2 +- .../rural-or-underserved-tool/css/main.less | 2 +- .../rural-or-underserved-tool/css/no-js.less | 2 +- cfgov/unprocessed/apps/tccp/css/main.less | 18 +- .../css/organisms/expandable.less | 24 +- .../css/pages/activity-search.less | 16 +- .../js/Expandable.js | 10 +- .../js/ExpandableTransition.js | 8 +- .../js/expandable-facets.js | 2 +- .../js/expandable-mobile.js | 2 +- .../teachers-digital-platform/js/search.js | 2 +- .../js/tdp-analytics.js | 16 +- cfgov/unprocessed/css/breadcrumbs.less | 2 +- .../css/enhancements/layout-1-3.less | 6 +- .../css/enhancements/layout-2-1.less | 2 +- .../css/enhancements/layout-base.less | 8 +- .../unprocessed/css/enhancements/layout.less | 6 +- .../css/enhancements/typography.less | 2 +- cfgov/unprocessed/css/images.less | 4 +- .../css/molecules/autocomplete.less | 4 +- .../css/molecules/global-eyebrow.less | 18 +- .../css/molecules/global-search.less | 8 +- .../unprocessed/css/molecules/info-unit.less | 6 +- .../css/molecules/related-metadata.less | 14 +- .../css/molecules/related-posts.less | 16 +- .../css/molecules/social-media.less | 8 +- cfgov/unprocessed/css/molecules/tags.less | 8 +- cfgov/unprocessed/css/on-demand/ask.less | 10 +- .../css/on-demand/car-buying-guide.less | 4 +- cfgov/unprocessed/css/on-demand/error.less | 2 +- .../css/on-demand/job_listing_list.less | 6 +- .../mortgage-performance-trends.less | 2 +- .../unprocessed/css/organisms/ask-search.less | 2 +- .../organisms/filterable-list-controls.less | 2 +- cfgov/unprocessed/css/organisms/footer.less | 36 +- cfgov/unprocessed/css/organisms/header.less | 2 +- .../css/organisms/info-unit-group.less | 22 +- .../unprocessed/css/organisms/mega-menu.less | 28 +- .../css/organisms/secondary-nav.less | 14 +- .../css/organisms/sidebar-breakout.less | 18 +- .../css/organisms/video-player.less | 64 +-- cfgov/unprocessed/css/print.less | 44 +- .../unprocessed/js/molecules/Autocomplete.js | 4 +- .../unprocessed/js/molecules/GlobalSearch.js | 2 +- .../unprocessed/js/molecules/Notification.js | 4 +- .../js/organisms/MegaMenuMobile.js | 4 +- cfgov/v1/jinja2/v1/activity-log/index.html | 2 +- cfgov/v1/jinja2/v1/blog/blog_page.html | 4 +- cfgov/v1/jinja2/v1/browse-basic/index.html | 2 +- .../v1/jinja2/v1/browse-filterable/index.html | 2 +- cfgov/v1/jinja2/v1/document-detail/index.html | 4 +- .../jinja2/v1/enforcement-action/index.html | 4 +- cfgov/v1/jinja2/v1/events/_macros.html | 10 +- cfgov/v1/jinja2/v1/events/event.html | 4 +- cfgov/v1/jinja2/v1/home_page/home_page.html | 44 +- .../jinja2/v1/home_page/home_page_legacy.html | 6 +- .../jinja2/v1/includes/atoms/hyperlink.html | 2 +- .../v1/jinja2/v1/includes/atoms/tagline.html | 2 +- .../v1/includes/blocks/email-signup.html | 6 +- .../v1/includes/molecules/call-to-action.html | 4 +- .../v1/jinja2/v1/includes/molecules/card.html | 10 +- .../v1/includes/molecules/content-image.html | 10 +- .../v1/includes/molecules/feature-card.html | 8 +- .../v1/includes/molecules/global-eyebrow.html | 22 +- .../v1/includes/molecules/global-search.html | 20 +- .../v1/jinja2/v1/includes/molecules/hero.html | 22 +- .../v1/includes/molecules/info-unit-2.html | 18 +- .../v1/includes/molecules/info-unit.html | 16 +- .../v1/includes/molecules/notification.html | 10 +- .../v1/includes/molecules/pagination.html | 26 +- .../jinja2/v1/includes/molecules/quote.html | 4 +- .../includes/molecules/related-content.html | 6 +- .../related-metadata-enforcement-action.html | 32 +- .../includes/molecules/related-metadata.html | 12 +- .../v1/includes/molecules/related-posts.html | 12 +- .../v1/includes/molecules/related-topics.html | 6 +- .../v1/includes/molecules/rss-feed.html | 2 +- .../v1/includes/molecules/social-media.html | 16 +- .../includes/molecules/text-introduction.html | 4 +- .../v1/includes/organisms/ask-search.html | 10 +- .../v1/includes/organisms/card-group.html | 2 +- .../v1/includes/organisms/data_snapshot.html | 8 +- .../v1/includes/organisms/expandable.html | 12 +- .../v1/includes/organisms/feature-cards.html | 8 +- .../includes/organisms/featured-content.html | 10 +- .../organisms/filterable-list-controls.html | 42 +- .../jinja2/v1/includes/organisms/footer.html | 126 ++-- .../jinja2/v1/includes/organisms/header.html | 10 +- .../includes/organisms/info-unit-group-2.html | 8 +- .../includes/organisms/info-unit-group.html | 4 +- .../includes/organisms/item-introduction.html | 2 +- .../v1/includes/organisms/mortgage-chart.html | 4 +- .../v1/includes/organisms/mortgage-map.html | 14 +- .../v1/includes/organisms/post-preview.html | 24 +- .../includes/organisms/secondary-nav-fig.html | 28 +- .../v1/includes/organisms/secondary-nav.html | 26 +- .../includes/organisms/sidebar-breakout.html | 32 +- .../organisms/sidebar-contact-info.html | 2 +- .../v1/includes/organisms/tables/base.html | 4 +- .../v1/includes/organisms/video-player.html | 34 +- .../v1/includes/snippets/reusable_text.html | 2 +- cfgov/v1/jinja2/v1/includes/tags.html | 12 +- .../includes/templates/upcoming-events.html | 2 +- cfgov/v1/jinja2/v1/landing-page/index.html | 6 +- cfgov/v1/jinja2/v1/layouts/404.html | 10 +- cfgov/v1/jinja2/v1/layouts/500.html | 10 +- cfgov/v1/jinja2/v1/layouts/_breadcrumbs.html | 2 +- cfgov/v1/jinja2/v1/layouts/base.html | 2 +- cfgov/v1/jinja2/v1/layouts/layout-1-3.html | 12 +- cfgov/v1/jinja2/v1/layouts/layout-2-1.html | 14 +- cfgov/v1/jinja2/v1/layouts/layout-full.html | 12 +- cfgov/v1/jinja2/v1/learn-page/index.html | 4 +- cfgov/v1/jinja2/v1/newsroom/index.html | 8 +- .../v1/jinja2/v1/newsroom/newsroom-page.html | 2 +- cfgov/v1/jinja2/v1/story_page.html | 4 +- .../jinja2/v1/sublanding-page/filterable.html | 2 +- cfgov/v1/jinja2/v1/sublanding-page/index.html | 6 +- cfgov/v1/jinja2/v1/template_debug.html | 4 +- .../jinja2/wellbeing/_disclaimer.html | 2 +- .../jinja2/wellbeing/_templates/no_js.html | 4 +- cfgov/wellbeing/jinja2/wellbeing/about.html | 12 +- cfgov/wellbeing/jinja2/wellbeing/error.html | 2 +- cfgov/wellbeing/jinja2/wellbeing/home.html | 70 +-- cfgov/wellbeing/jinja2/wellbeing/results.html | 68 +-- .../youth_employment/yes-checklist-items.html | 2 +- .../youth_employment/yes-checklist.html | 6 +- docs/atomic-structure.md | 8 +- docs/editing-components.md | 6 +- docs/functional-testing.md | 2 +- docs/javascript-unit-tests.md | 4 +- docs/wagtail-pages.md | 4 +- .../filing-instruction-guide-helpers.cy.js | 8 +- .../filing-instruction-guide.cy.js | 20 +- .../email-signup/email-signup-helpers.cy.js | 2 +- .../filterable-lists/filter-helpers.cy.js | 4 +- .../filterable-list-control-helpers.cy.js | 32 +- .../filterable-lists-helpers.cy.js | 2 +- .../components/footer/footer-helpers.cy.js | 10 +- .../components/header/header-helpers.cy.js | 4 +- .../multiselect/multiselect-helpers.cy.js | 2 +- .../pagination/pagination-helpers.cy.js | 10 +- .../ask-cfpb/answer-helpers.cy.js | 4 +- .../consumer-tools/ask-cfpb/ask-cfpb.cy.js | 16 +- .../ask-cfpb/search-helpers.cy.js | 2 +- .../credit-cards/explore-cards-helpers.cy.js | 2 +- .../obtener-respuestas-helpers.cy.js | 2 +- .../prepaid-agreements-search-helpers.cy.js | 2 +- .../fixtures/sample-fig-page.js | 390 ++++++------- .../js/fig-sidenav-utils-spec.js | 12 +- .../js/fwb-questions-spec.js | 8 +- .../js/fwb-results-spec.js | 16 +- .../disclosures/fixtures/overview.js | 142 ++--- .../regulations3k/js/permalinks-utils-spec.js | 4 +- .../regulations3k/js/recent-notices-spec.js | 4 +- .../js/ClearableInput-spec.js | 14 +- .../js/expandable-mobile-spec.js | 22 +- .../js/search-spec.js | 32 +- .../js/tdp-analytics-spec.js | 56 +- .../js/modules/footer-button-spec.js | 6 +- .../js/molecules/Notification-spec.js | 12 +- .../organisms/FilterableListControls-spec.js | 60 +- test/unit_tests/js/organisms/MegaMenu-spec.js | 10 +- .../js/organisms/MegaMenuDesktop-spec.js | 12 +- .../js/organisms/MegaMenuMobile-spec.js | 22 +- test/unit_tests/mocks/emailSignupSnippet.js | 8 +- test/unit_tests/mocks/megaMenuSnippet.js | 538 +++++++++--------- 284 files changed, 2520 insertions(+), 2520 deletions(-) diff --git a/cfgov/agreements/jinja2/agreements/_need_help.html b/cfgov/agreements/jinja2/agreements/_need_help.html index 88d01bdef08..5edb06a9168 100755 --- a/cfgov/agreements/jinja2/agreements/_need_help.html +++ b/cfgov/agreements/jinja2/agreements/_need_help.html @@ -1,6 +1,6 @@