From be86421a7bbefdfbfb634ef514e9b589ecaa76dc Mon Sep 17 00:00:00 2001 From: Alex Humphries Date: Tue, 3 Mar 2026 14:04:50 -0500 Subject: [PATCH 1/2] INSR-8123: Update some more modals - Remove modalPosition related code now that all modals are centered - Allow parent components to set text of the close link - Updates styling for specific modals so that they match their Heritage counterparts --- src/constants/component-variants.js | 4 -- src/digital-components/modal/modal.vue | 44 ++++++------ .../contact-details-drawer.vue | 63 +++++++++++++++-- .../continue-modal/continue-modal.vue | 70 ++++++++++++++++++- .../loading-modal/loading-modal.vue | 8 +-- .../tpa-recal-modal/tpa-recal-modal.vue | 6 +- .../service-zip-modal-question.vue | 1 - .../shop-address/shop-address.vue | 38 +++++++++- src/layouts/tpa-submit/tpa-submit.vue | 46 ++++++++---- src/layouts/welcome-page/welcome-page.vue | 4 +- 10 files changed, 224 insertions(+), 60 deletions(-) diff --git a/src/constants/component-variants.js b/src/constants/component-variants.js index 7fd84311..d0253b6b 100644 --- a/src/constants/component-variants.js +++ b/src/constants/component-variants.js @@ -9,7 +9,3 @@ export const dropdownVariants = Object.freeze({ primary: 'primary', compact: 'compact' }); -export const modalPositions = Object.freeze({ - center: 'center', - edge: 'edge' -}); diff --git a/src/digital-components/modal/modal.vue b/src/digital-components/modal/modal.vue index 83e07ccb..edb60a81 100644 --- a/src/digital-components/modal/modal.vue +++ b/src/digital-components/modal/modal.vue @@ -11,10 +11,7 @@ 'hidden.bs.modal': onModalClosed, 'shown.bs.modal': onModalOpened }"> -