diff --git a/src/common-components/funnel-footer/funnel-footer.vue b/src/common-components/funnel-footer/funnel-footer.vue
index 47dff7b5a..e61943761 100644
--- a/src/common-components/funnel-footer/funnel-footer.vue
+++ b/src/common-components/funnel-footer/funnel-footer.vue
@@ -20,7 +20,12 @@
Buttons
@@ -926,6 +950,7 @@ import vehicleBanner from "@/common-components/vehicle-banner/vehicle-banner";
import funnelHeader from "@/common-components/funnel-header/funnel-header";
import listButtonHorizontal from "@/ux-components/list-button-horizontal/list-button-horizontal";
import checkbox from "@/ux-components/checkbox/checkbox";
+import radio from "@/ux-components/radio/radio";
import textLink from "@/ux-components/text-link/text-link";
export default {
name: "App",
@@ -938,6 +963,7 @@ export default {
vehicleBanner,
listButtonHorizontal,
checkbox,
+ radio,
funnelHeader,
textLink
},
diff --git a/src/layouts/vehicle-damage/vehicle-damage.vue b/src/layouts/vehicle-damage/vehicle-damage.vue
index b59798e2e..c37924a2c 100644
--- a/src/layouts/vehicle-damage/vehicle-damage.vue
+++ b/src/layouts/vehicle-damage/vehicle-damage.vue
@@ -5,7 +5,7 @@
-
+
@@ -86,6 +86,14 @@ export default {
// Invokes
store.dispatch(storeActions.RESET_PARTS_AND_DEPS);
},
+ backButtonAction() {
+ console.log("vd linkClicked");
+ // route to move backwards
+ this.$router.navigate(
+ this.navigationScenarios.CLICKED_BACK,
+ this.$route
+ );
+ },
},
components: {
funnelHeader,
diff --git a/src/router/router-constants/routing-table.js b/src/router/router-constants/routing-table.js
index 17f05b304..88c47563c 100644
--- a/src/router/router-constants/routing-table.js
+++ b/src/router/router-constants/routing-table.js
@@ -50,6 +50,15 @@ const routingTable = [
},
],
},
+ {
+ fmgPageValue: fmgPageValues.VEHICLE_DAMAGE,
+ maps: [
+ {
+ scenario: navigationScenarios.CLICKED_BACK,
+ destinationFmgPageValue: fmgPageValues.VEHICLE_STYLE,
+ },
+ ],
+ },
];
export { routingTable };
diff --git a/src/ux-components/checkbox/checkbox.vue b/src/ux-components/checkbox/checkbox.vue
index dca64e689..5338085a0 100644
--- a/src/ux-components/checkbox/checkbox.vue
+++ b/src/ux-components/checkbox/checkbox.vue
@@ -44,6 +44,9 @@ export default {
+ label {
display: block;
position: relative;
+ &:hover {
+ cursor: pointer;
+ }
}
+ label::before {
content: "";
@@ -71,7 +74,7 @@ export default {
transform: rotate(-45deg);
}
&:hover + label::before {
- box-shadow: 0 0 0 4px $blue-100;
+ box-shadow: 0 0 0 4px $blue-300;
}
&:focus + label::before {
box-shadow: 0 0 0 2px $blue;
diff --git a/src/ux-components/radio/radio.spec.js b/src/ux-components/radio/radio.spec.js
new file mode 100644
index 000000000..3d0843e10
--- /dev/null
+++ b/src/ux-components/radio/radio.spec.js
@@ -0,0 +1 @@
+test.todo("some test to be written in the future");
diff --git a/src/ux-components/radio/radio.vue b/src/ux-components/radio/radio.vue
new file mode 100644
index 000000000..e2cd08669
--- /dev/null
+++ b/src/ux-components/radio/radio.vue
@@ -0,0 +1,94 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/ux-components/text-link/text-link.vue b/src/ux-components/text-link/text-link.vue
index 2297b9c71..7a67ccbfb 100644
--- a/src/ux-components/text-link/text-link.vue
+++ b/src/ux-components/text-link/text-link.vue
@@ -1,8 +1,8 @@
- {{text}}
-
- {{text}}
- {{text}}
+ {{text}}
+
+ {{text}}
+ {{text}}