diff --git a/src/layouts/component-test/component-test.vue b/src/layouts/component-test/component-test.vue index 6c3af4720..a63fc9610 100644 --- a/src/layouts/component-test/component-test.vue +++ b/src/layouts/component-test/component-test.vue @@ -54,14 +54,15 @@
- List Card Demo + Functioning as Checkbox
@@ -70,13 +71,66 @@
Functioning as Radio Button
- List Card Demo + Functioning as Radio Button +
+
+
+
+
+
Horizontal as Checkbox
+
+ Horizontal Checkbox + +
+
+
+
+
+
Horizontal as Radio Button
+
+ Horizontal Radio Button + +
+
+
+
+
+
With error
+
+ Radio button with error state +
@@ -105,6 +159,8 @@ loaderPosition="right" sizeInRem="1" screenReaderOnlyText="(opens new window)" + hasError + errorMessage="Error" /> {{buttonLabelSubCopy}} {{screenReaderOnlyText}} -

{{errorMessage}}

@@ -17,7 +16,6 @@ {{screenReaderOnlyText}} -

{{errorMessage}}

@@ -40,7 +38,6 @@ export default { }, data() { return { - isError: false, isLoaderDisplayed: false, }; }, diff --git a/src/ux-components/list-card/list-card.vue b/src/ux-components/list-card/list-card.vue index 806efffe5..7594a44ea 100644 --- a/src/ux-components/list-card/list-card.vue +++ b/src/ux-components/list-card/list-card.vue @@ -1,16 +1,38 @@ @@ -24,21 +46,28 @@ export default { altText: String,//Leave empty. Screen readers read the buttonLabel text. If alt has content, it will repeat unnecessarily. buttonID: String, groupName: String, - isMultiSelect: Boolean + isMultiSelect: Boolean, + isRadio: Boolean, + isMultiSelectHorizontal: Boolean, + isRadioHorizontal: Boolean, + buttonLabelSubCopy: String, + hasError: Boolean } };