diff --git a/src/layouts/component-test/component-test.vue b/src/layouts/component-test/component-test.vue index 624469e8a..d33833eb6 100644 --- a/src/layouts/component-test/component-test.vue +++ b/src/layouts/component-test/component-test.vue @@ -58,20 +58,18 @@

List Button - Single-Line

+
Functioning as Checkboxes
-
+

Select Vehicle Year

+
+ + +

List Button - Multi-Line

+
Functioning as Checkboxes
-
+
-

- Select Vehicle Year -

+

Select Vehicle Year

+
+ +
Functioning as Radio Buttons
+
+ +

Select Vehicle Year

+ + + +
+

List Button - Multi-Line Centered

+
Functioning as Checkboxes
-
+
-

- Multi-Line Centered -

+

Multi-Line Centered

+
+ +
Functioning as Radio Buttons
+
+ +

Multi-Line Centered

+ + + +
+

List Button Horizontal

+
Functioning as Checkboxes
-
+

Select Vehicle Year

+
+ +
Functioning as Radio Buttons
+
+ +

+ Select Vehicle Year +

+ + + +
+

Text Link

diff --git a/src/styles/common-list-styles.scss b/src/styles/common-list-styles.scss index 4eb174a02..0d74a4258 100644 --- a/src/styles/common-list-styles.scss +++ b/src/styles/common-list-styles.scss @@ -1,6 +1,7 @@ .list-group { &.list-button { - input[type="radio"] { + input[type="radio"], + input[type="checkbox"] { opacity: 0; position: fixed; width: 0; diff --git a/src/ux-components/list-button-horizontal/list-button-horizontal.spec.js b/src/ux-components/list-button-horizontal/list-button-horizontal.spec.js index ac8dc3202..b7ae7ef49 100644 --- a/src/ux-components/list-button-horizontal/list-button-horizontal.spec.js +++ b/src/ux-components/list-button-horizontal/list-button-horizontal.spec.js @@ -31,7 +31,6 @@ describe("list-button.vue", () => { }); expect(label.attributes()).toEqual({ - role: "radio", tabindex: "-1", for: "2023", class: "d-flex flex-column justify-content-center py-3 px-4 last-item", @@ -42,6 +41,6 @@ describe("list-button.vue", () => { expect(paragraph.text()).toEqual("2023"); - expect(wrapper.vm.display).toBe(true); + expect(wrapper.vm.isLoaderDisplayed).toBe(true); }); }); 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 315a18995..b267f2bbb 100644 --- a/src/ux-components/list-button-horizontal/list-button-horizontal.vue +++ b/src/ux-components/list-button-horizontal/list-button-horizontal.vue @@ -1,13 +1,22 @@