diff --git a/package.json b/package.json index 58b8837dd..50a9b5760 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "core-js": "^3.6.5", "http-status-codes": "^2.1.4", "jest-junit": "^13.0.0", + "vee-validate": "^4.5.7", "vue": "^3.0.0", "vue-router": "^4.0.11", "vuex": "^4.0.2", diff --git a/src/layouts/form-test/form-test.vue b/src/layouts/form-test/form-test.vue new file mode 100644 index 000000000..96bc9bd33 --- /dev/null +++ b/src/layouts/form-test/form-test.vue @@ -0,0 +1,162 @@ + + + + + How many chips are we repairing? + + + + How many chips are we repairing? + + + + + + + + + + + + + Which windshield part needs fixed? + + Which windshield part needs fixed? + + + + + + + + + + + + Get your estimate + Values + {{ values }} + + + + + + diff --git a/src/router/index.js b/src/router/index.js index c135d60c1..2f4f0daad 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3,6 +3,7 @@ import { storeActions } from "@/constants/store-actions.js"; import { lazyLoadComponent } from "@/router/dynamic-routing/component-loader.js"; import { routingTable } from "@/router/router-constants/routing-table.js"; import ComponentTest from "@/layouts/component-test/component-test.vue"; +import FormTest from "@/layouts/form-test/form-test.vue"; import NotFound from "@/layouts/not-found/not-found.vue"; import store from "@/store"; @@ -17,6 +18,11 @@ const routes = [ name: "ComponentTest", component: ComponentTest, }, + { + path: "/form-test", // This is a temporary route for testing. + name: "FormTest", + component: FormTest, + }, { path: "/", beforeEnter(to, from, next) { diff --git a/src/ux-components/list-button-horizontal/list-button-horizontal.vue b/src/ux-components/list-button-horizontal/list-button-horizontal.vue index 97642d2c1..ef5632b5a 100644 --- a/src/ux-components/list-button-horizontal/list-button-horizontal.vue +++ b/src/ux-components/list-button-horizontal/list-button-horizontal.vue @@ -2,16 +2,46 @@ - - + + {{buttonID}} {{buttonLabelSubCopy}} {{screenReaderOnlyText}} - - + + {{buttonID}} {{buttonLabelSubCopy}} {{screenReaderOnlyText}} @@ -21,6 +51,8 @@ diff --git a/src/ux-components/list-card/list-card.vue b/src/ux-components/list-card/list-card.vue index 68b1c80b0..6d06651f4 100644 --- a/src/ux-components/list-card/list-card.vue +++ b/src/ux-components/list-card/list-card.vue @@ -1,24 +1,61 @@ - - + + {{buttonLabel}} {{buttonLabelSubCopy}} - - + + {{buttonLabel}} {{buttonLabelSubCopy}} - - + + {{buttonLabel}} @@ -27,8 +64,21 @@ - - + + {{buttonLabel}} @@ -39,6 +89,9 @@
Values
{{ values }}
{{buttonLabel}}
{{buttonLabelSubCopy}}