diff --git a/src/common-components/button-question/button-question.vue b/src/common-components/button-question/button-question.vue
index 9ab1e68b4..3a2442c61 100644
--- a/src/common-components/button-question/button-question.vue
+++ b/src/common-components/button-question/button-question.vue
@@ -6,29 +6,33 @@
}}
-
@@ -72,7 +76,10 @@ export default {
isRequired: Boolean,
isVehicleQuestion: Boolean,
isHorizontal: Boolean,
+ isColumn: Boolean,
+ isRow: Boolean,
buttonImage: String,
+ buttonImageId: String,
buttonLabel: String,
altText: String,
buttonLabelSubCopy: String,
@@ -80,7 +87,7 @@ export default {
data() {
return {
vehicleQuestionClasses: 'container-fluid overflow-scroll position-absolute px-5 pt-1 py-0',
- horizontalClasses: 'd-flex flex-row p-0'
+ columnClasses: 'd-flex flex-row p-0'
};
},
methods: {
diff --git a/src/layouts/component-test/component-test.vue b/src/layouts/component-test/component-test.vue
index 0d2c2f65f..94c3b68e9 100644
--- a/src/layouts/component-test/component-test.vue
+++ b/src/layouts/component-test/component-test.vue
@@ -53,39 +53,33 @@
@@ -778,7 +772,7 @@
:answers="horizontalCheckboxAnswers"
buttonType="listButtonHorizontal"
:isMultiSelect="true"
- :isHorizontal="true"
+ isColumn
ariaLabelBy="checkbox"
groupName="checkbox-list-horizontal"
questionText="List Button Horizontal as checkbox"
@@ -786,12 +780,70 @@
+
+
+
+
+
+
+
@@ -829,6 +881,66 @@ export default {
radioAnswers: ['Radio Answer 1', 'Radio Answer 2', 'Radio Answer 3'],
horizontalCheckboxAnswers: ['HCB Answer 1', 'HCB Answer 2', 'HCB Answer 3'],
horizontalRadioAnswers: ['HR Answer 1', 'HR Answer 2', 'HR Answer 3'],
+ listCardCheckBox: [{
+ Name: 'List-Card-CB',
+ Text: "List Card CB",
+ SubText: "checkbox",
+ ImageId: '53343ce4-5b6a-46aa-a80a-f948c1723955',
+ AnswerImageUrl: "side-window-damage-right-all.svg"
+ }],
+ listCardRadio: [{
+ Name: 'List-Card-R',
+ Text: "List Card R",
+ SubText: "Radio",
+ ImageId: '53343ce4-5b6a-46aa-a80a-f948c1723955',
+ AnswerImageUrl: "side-window-damage-right-all.svg"
+ }],
+ listCardCheckBoxHorizontalSubText: [{
+ Name: 'List-Card-CBHst',
+ Text: "List Card CBHst",
+ SubText: "With Subtext",
+ ImageId: '53343ce4-5b6a-46aa-a80a-f948c1723955',
+ AnswerImageUrl: "side-window-damage-right-all.svg"
+ }],
+ listCardCheckBoxHorizontal: [{
+ Name: 'List-Card-CBH',
+ Text: "List Card CBH",
+ ImageId: '53343ce4-5b6a-46aa-a80a-f948c1723955',
+ AnswerImageUrl: "side-window-damage-right-all.svg"
+ }],
+ listRadioHorizontalSubText: [{
+ Name: 'List-Card-RHst',
+ Text: "List Card RHst",
+ SubText: "With Subtext",
+ ImageId: '53343ce4-5b6a-46aa-a80a-f948c1723955',
+ AnswerImageUrl: "side-window-damage-right-all.svg"
+ }],
+ listRadioHorizontal: [{
+ Name: 'List-Card-RH',
+ Text: "List Card RH",
+ ImageId: '53343ce4-5b6a-46aa-a80a-f948c1723955',
+ AnswerImageUrl: "side-window-damage-right-all.svg"
+ }],
+ listCardGroup: [{
+ Name: 'Side-Window-1',
+ Text: "Side Window",
+ SubText: "With Subtext",
+ ImageId: '53343ce4-5b6a-46aa-a80a-f948c1723955',
+ AnswerImageUrl: "side-window-damage-right-all.svg"
+ },
+ {
+ Name: 'Side-Window-2',
+ Text: "Side Window",
+ SubText: "With Subtext that is more than one line",
+ ImageId: '53343ce4-5b6a-46aa-a80a-f948c1723955',
+ AnswerImageUrl: "side-window-damage-right-all.svg"
+ },
+ {
+ Name: 'Side-Window-3',
+ Text: "Side Window",
+ ImageId: '53343ce4-5b6a-46aa-a80a-f948c1723955',
+ AnswerImageUrl: "side-window-damage-right-all.svg"
+ }],
};
},
};
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 9a0703d0a..9bdeee4b8 100644
--- a/src/ux-components/list-button-horizontal/list-button-horizontal.vue
+++ b/src/ux-components/list-button-horizontal/list-button-horizontal.vue
@@ -2,7 +2,8 @@