From 9305212bab0cf885c04a2c7690b22736b00f0f5d Mon Sep 17 00:00:00 2001 From: Conor Wright Date: Thu, 17 Jan 2019 14:56:53 -0500 Subject: [PATCH 1/2] reworked subcomponents.Added replaceTitle&replaceDescription --- src/app/components/error/index.html | 55 ++++++++++++++++++++++------- 1 file changed, 42 insertions(+), 13 deletions(-) diff --git a/src/app/components/error/index.html b/src/app/components/error/index.html index 03d1e76e2..8c2d74c16 100644 --- a/src/app/components/error/index.html +++ b/src/app/components/error/index.html @@ -8,38 +8,67 @@ The error component displays a SKY UX-themed error message. It includes options to specify the image, title, description, and action. - + + An attribute to specify a set of pre-defined values for the image, title, and description. The valid options are broken, + notfound, construction, and security. + + + + + - Specifies an image to display in the error message. + Specifies an image to display in the error message. - Specifies a title to display in the error message. + Specifies a title to display in the error message. Properties are listed below. - Specifies a description to provide additional details in the error message. + Specifies a description to provide additional details in the error message. Properties are listed below. Specifies an action to include in the error message. For example, you can include a button to reload the page or to refresh data. + + + + + Whether to replace the default title. If false, this title will be appended to the default title. This property accepts boolean values. + + + + - An attribute to specify a set of pre-defined values for the image, title, and description. The valid options are broken, - notfound, construction, and security. + Whether to replace the default description. If false, this description will be appended to the default description. This property accepts boolean values. @@ -68,9 +97,9 @@ Specifies a label for the action button that closes the modal error message. + - From 2afefbb7c1cb0ae26df1bcfb46234a5886eacd60 Mon Sep 17 00:00:00 2001 From: blackbaud-johnly Date: Wed, 23 Jan 2019 11:10:48 -0500 Subject: [PATCH 2/2] Doc tweaks --- src/app/components/error/index.html | 40 +++++++++++++++-------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/src/app/components/error/index.html b/src/app/components/error/index.html index 8c2d74c16..19d8992ae 100644 --- a/src/app/components/error/index.html +++ b/src/app/components/error/index.html @@ -5,7 +5,7 @@ > - The error component displays a SKY UX-themed error message. It includes options to specify the image, title, description, and action. + The error component displays a SKY UX-themed error message. It includes options to specify an image, title, description, and action in the error message. - An attribute to specify a set of pre-defined values for the image, title, and description. The valid options are broken, - notfound, construction, and security. + Specifies an error type to use a set of pre-defined values for the image, title, and description. The valid options are broken, + construction, notfound, and security. This property accepts string values. @@ -24,29 +24,29 @@ sectionHeading="Error child components" > - Specifies an image to display in the error message. + Specifies an action to include in the error message. For example, you can include a button to reload the page or to refresh + data. - Specifies a title to display in the error message. Properties are listed below. + Specifies a description to provide additional details in the error message. Properties are listed below. - Specifies a description to provide additional details in the error message. Properties are listed below. + Specifies an image to display in the error message. - Specifies an action to include in the error message. For example, you can include a button to reload the page or to refresh - data. + Specifies a title to display in the error message. Properties are listed below. @@ -55,9 +55,10 @@ > - Whether to replace the default title. If false, this title will be appended to the default title. This property accepts boolean values. + Indicates whether to replace the default title. If false, this title is appended to the default title. This property accepts boolean values. @@ -66,9 +67,10 @@ > - Whether to replace the default description. If false, this description will be appended to the default description. This property accepts boolean values. + Indicates whether to replace the default description. If false, this description is appended to the default description. This property accepts boolean values. @@ -82,19 +84,19 @@ - Specifies a title to display in the modal error message. + Specifies a label for the action button that closes the modal error message. This property accepts string values. - Specifies a description to provide additional details in the modal error message. + Specifies a description to provide additional details in the modal error message. This property accepts string values. - Specifies a label for the action button that closes the modal error message. + Specifies a title to display in the modal error message. This property accepts string values.