diff --git a/src/common-components/funnel-footer/funnel-footer.spec.js b/src/common-components/funnel-footer/funnel-footer.spec.js index 791cd0961..a4c127a3e 100644 --- a/src/common-components/funnel-footer/funnel-footer.spec.js +++ b/src/common-components/funnel-footer/funnel-footer.spec.js @@ -14,18 +14,17 @@ describe("funnel-footer.vue", () => { remove: jest.fn() }, }; + global.document.getElementById = jest.fn().mockImplementation(()=> { return r; }); const wrapper = mount(funnelFooter, { - propsData: { - footer: true - }, }); // Assert const link = wrapper.find("a"); + console.log(wrapper.html()); // Expect expect(link.attributes('class')).toContain("footer-link"); diff --git a/src/common-components/funnel-footer/funnel-footer.vue b/src/common-components/funnel-footer/funnel-footer.vue index 302936c47..37879d2cf 100644 --- a/src/common-components/funnel-footer/funnel-footer.vue +++ b/src/common-components/funnel-footer/funnel-footer.vue @@ -1,104 +1,82 @@ diff --git a/src/layouts/address-poc/address-poc.vue b/src/layouts/address-poc/address-poc.vue index 1c10e927d..fff528604 100644 --- a/src/layouts/address-poc/address-poc.vue +++ b/src/layouts/address-poc/address-poc.vue @@ -7,18 +7,79 @@
- - + +
+
+
+ + +
+
+
+
+ + +
+
+ + +
+
+ +
+
+ An accurate match may not have have been located. Please verify your address before continuing +
+
+
+
+ An accurate match could not be located. Please re-enter your street address before continuing +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+ diff --git a/src/layouts/component-test/component-test.vue b/src/layouts/component-test/component-test.vue index 0e28d345a..fdb92ab23 100644 --- a/src/layouts/component-test/component-test.vue +++ b/src/layouts/component-test/component-test.vue @@ -48,18 +48,19 @@






diff --git a/src/ux-components/list-button/list-button.vue b/src/ux-components/list-button/list-button.vue index d56f02d44..3256906e3 100644 --- a/src/ux-components/list-button/list-button.vue +++ b/src/ux-components/list-button/list-button.vue @@ -133,21 +133,22 @@ export default { position: static; //override bootstrap height: 0; opacity: 0; - } - &:focus-visible + label { - box-shadow: 0 0 0 2.5px $blue inset; - } - &:focus + label { - box-shadow: 0 0 0 2.5px $blue inset; - } - &:checked + label { - color: $black; - font-weight: 500; - background: $blue-100; - box-shadow: 0 0 0 1px $blue; - } - &:checked + label p:first-child { - font-weight: 500; + + &:focus-visible + label { + box-shadow: 0 0 0 2.5px $blue inset; + } + &:focus + label { + box-shadow: 0 0 0 2.5px $blue inset; + } + &:checked + label { + color: $black; + font-weight: 500; + background: $blue-100; + box-shadow: 0 0 0 1px $blue; + } + &:checked + label p:first-child { + font-weight: 500; + } } } label { diff --git a/src/ux-components/text-link/text-link.spec.js b/src/ux-components/text-link/text-link.spec.js index 87e9dec77..de414fd05 100644 --- a/src/ux-components/text-link/text-link.spec.js +++ b/src/ux-components/text-link/text-link.spec.js @@ -3,11 +3,12 @@ import textLink from "./text-link"; import { nextTick } from "vue"; describe("text-link.vue", () => { - it("Should return text-link type is navigation if prop navigation is true", async () => { + + it("Should return class navigation-link", async () => { // Act const wrapper = shallowMount(textLink, { propsData: { - navigation: true, + linkType: "navigation", }, }); @@ -18,11 +19,11 @@ describe("text-link.vue", () => { expect(paragraph.attributes("class")).toContain("navigation-link"); }); - it("Should return text-link type is footer if prop footer is true", async () => { + it("Should return class footer", async () => { // Act const wrapper = shallowMount(textLink, { propsData: { - footer: true, + linkType: "footer", }, }); @@ -30,14 +31,14 @@ describe("text-link.vue", () => { const paragraph = wrapper.find("a"); // Expect - expect(paragraph.attributes("class")).toContain("footer-link"); + expect(paragraph.attributes("class")).toContain("footer"); }); - it("Should return text-link type is textSmall if prop textSmall is true", async () => { + it("Should return class text-small", async () => { // Act const wrapper = shallowMount(textLink, { propsData: { - textSmall: true, + linkType: "textSmall", }, }); @@ -48,18 +49,4 @@ describe("text-link.vue", () => { expect(paragraph.attributes("class")).toContain("small"); }); - it("Should return text for href", async () => { - // Act - const wrapper = shallowMount(textLink, { - propsData: { - text: "This is link text", - }, - }); - - // Assert - const paragraph = wrapper.find("a"); - - // Expect - expect(paragraph.text()).toEqual("This is link text"); - }); }); diff --git a/src/ux-components/text-link/text-link.vue b/src/ux-components/text-link/text-link.vue index abd12a2c6..2297b9c71 100644 --- a/src/ux-components/text-link/text-link.vue +++ b/src/ux-components/text-link/text-link.vue @@ -1,17 +1,15 @@