diff --git a/src/iss-components/shop-list-button/shop-list-button.vue b/src/iss-components/shop-list-button/shop-list-button.vue index 44812a90..42b89ba3 100644 --- a/src/iss-components/shop-list-button/shop-list-button.vue +++ b/src/iss-components/shop-list-button/shop-list-button.vue @@ -10,6 +10,7 @@ :aria-label="buttonLabel" class="button-content list-button-content d-flex flex-column justify-content-center py-3 px-4">
+
{{ buttonLabelSubCopy }} -
+
+ v-if="displayAvailabilityIndicators" + id="availabilityIndicatorBlock" + class="availability-indicator rounded-pill" + :class="availabilityRatingClass">
+ id="availabilityIndicator" + class="d-flex align-items-center"> +
+
+ {{ badgeText }}
- {{ badgeText }}
@@ -157,11 +160,23 @@ $heritage-checked-border-color: #0070d1; border-left: 1px solid $heritage-border-color; } + .availability-indicator-spacer { + width: 8rem; + margin-right: auto; + } + + .availability-indicator-container { + display: flex; + align-items: center; + justify-content: flex-end; + margin-left: auto; + width: 8rem; + } + .availability-indicator { background-repeat: no-repeat; display: flex; align-items: center; - margin-left: auto; padding: 0.125rem 0.5rem; .availability-badge { @@ -179,6 +194,11 @@ $heritage-checked-border-color: #0070d1; &.orange { background-image: url($svg-shop-list-button-orange-availability); } + + &.gray { + background-image: url(~@/assets/img/heritage-loader-blue.gif); + background-size: contain; + } } .button-auxillary-copy { box-sizing: border-box; diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index b7b5fcee..92f3ea7e 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -79,7 +79,7 @@ v-model="selectedProvider" :serviceZipcode="zipCode" :isDisplayed="isInshop" - :selectAppointmentType="selectedAppointmentType" + :selectedAppointmentType="selectedAppointmentType" modalWidgetName="ChangeLocationModalWidget" cmsWidgetName="ShopAddressWidget" />