You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository is currently being migrated. It's locked while the migration is in progress.
Copy file name to clipboardExpand all lines: src/_components/card/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -183,7 +183,7 @@ A radio button tile has a title and description within the label and a Card-like
183
183
184
184
### A list of services or tools
185
185
186
-
{% include component-example.html alt="A set of information—designed to be shown within a list—that contains a header, a bright call to action, a Status Tag, four sets of data formatted as 'Label: Value' pairs, and a link." file="/images/components/service-list-item/annotated-service-list-item-component.png" %}
186
+
{% include storybook-preview.html story="components-va-service-list-item--maximal-base" link_text="va-service-list-item maximal example" height="400px" %}
187
187
188
188
When you want to show benefits or tools the user is currently enrolled in or has access to, use the [Service list item]({{ site.baseurl }}/components/service-list-item) component instead of the Card component.
Copy file name to clipboardExpand all lines: src/_components/service-list-item.md
+6-9Lines changed: 6 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,27 +58,24 @@ anchors:
58
58
59
59
### Anatomy or layout details
60
60
61
-
{% include component-example.html alt="An annotated Service List Item, calling out the header, Critical Action, status, details, and link." file="/images/components/service-list-item/annotated-service-list-item-component.png" %}
62
-
63
61
A Service List Item can have:
64
62
63
+
***Status (required)**
64
+
* Status must be represented by a [Tag - Status]({{ site.baseurl }}/components/tag/tag-status/) component.
65
+
* Every benefit or tool in a list has a set of internal states, which are used to track the progress of enrolling in that benefit or using that tool. A status is the way to communicate the item's state to the user (such as Active, Pending, etc).
66
+
* Statuses do not have to mirror internal states in a one-to-one manner. (They can, but they are not required to.) Every state change does not necessarily warrant a status change.
65
67
***Header (required)**
66
68
* The header consists of an icon (optional), header text, and chevron. These elements combine to create a link to a page with more details about the benefit or tool. All Service List Items must link to a details page from the header.
67
69
* The icon should only be used when listing VA benefits. The icons should include the [standard icons](https://www.figma.com/design/afurtw4iqQe6y4gXfNfkkk/VADS-Component-Library?node-id=293-6211&t=h01Z6dAbcelp997f-1) for VA benefits, placed within a circle using the [color]({{ site.baseurl }}/foundation/color-palette#semantic-color-tokens) associated with each benefit.
68
70
* Headers should be visually consistent in each list item within the list. For example, if some list item headers have icons, all list items in the list should have icons.
69
71
* The header has a default, hover, active, focus, and visited state. See details in the [Header states section](#header-states) below.
70
-
***Status (required)**
71
-
* Status must be represented by a gray Tag component.
72
-
* Every benefit or tool in a list has a set of internal states, which are used to track the progress of enrolling in that benefit or using that tool. A status is the way to communicate the item's state to the user (such as Active, Pending, etc).
73
-
* Statuses do not have to mirror internal states in a one-to-one manner. (They can, but they are not required to.) Every state change does not necessarily warrant a status change.
74
72
***Critical Action**
75
73
* The [Critical Action]({{ site.baseurl }}/components/critical-action) component is still under development. It navigates the user to the most direct path to take action on the critical action. Future updates will include adjustments to color contrast, focus states, and more.
76
74
***Details (required)**
77
75
* The details provide users with helpful information, formatted in a “Label: Value” structure (for example, “Approved on: May 5, 2011”).
78
76
* There can be anywhere from one to five lines of “Label: Value” pairs.
79
77
***Link (optional)**
80
-
* Some Service List Items might require an additional link, in addition to the details page linked to from the header and the actionable link offered in the [Critical Action]({{ site.baseurl }}/components/critical-action) component. In these cases, one additional link may be displayed at the bottom of the Service List Item.
81
-
The link should use the standard default, hover, focus, active, and visited link states.
78
+
* Some Service List Items might require an additional link, in addition to the details page linked to from the header and the actionable link offered in the [Critical Action]({{ site.baseurl }}/components/critical-action) component. In these cases, one additional link may be displayed at the bottom of the Service List Item. The link should use the standard default, hover, focus, active, and visited link states.
82
79
83
80
### Header states
84
81
***Default**: The link and chevron are the standard vads-color-link.
@@ -113,4 +110,4 @@ The below components are nested within the Service List Item component:
113
110
*[Tag]({{ site.baseurl }}/components/tag)
114
111
*[Link]({{ site.baseurl }}/components/link/)
115
112
116
-
{% include _component-checklist.html component_name="va-service-list-item" %}
113
+
{% include _component-checklist.html component_name="va-service-list-item" %}
<va-tag-statusstatus="info" text="Submission in progress"></va-tag-status>
18
+
<h3class="vads-u-margin-top--1">Application for authorization to release medical information</h3>
19
+
<span>VA Form 21-4142</span>
20
+
<pclass="vads-u-margin-top--1">Next step: We'll prepare your form for review. This may take up to 30 days.</p>
21
+
<p>If you have questions, call us at <va-telephonecontact="8773459876"></va-telephone> (TTY: <va-telephonecontact="711"></va-telephone>). We're here Monday through Friday, 8:00 a.m. to 9:00 p.m. ET.</p>
<h3class="vads-u-margin-top--1">Application for authorization to release medical information</h3>
29
+
<span>VA Form 21-4142</span>
30
+
<pclass="vads-u-margin-top--1">
31
+
<va-linkdownloadfiletype="PDF" href="https://www.va.gov" pages="5" text="Download your completed form" />
32
+
</p>
33
+
<p>Submitted on: [Month Day, 20XX] <br/>
34
+
Received on: [Month Day, 20XX] <br/>
35
+
Download available until: [Month Day, 20XX]
36
+
</p>
37
+
<p>Next step: We'll review your form. If we need more information, we'll contact you.</p>
38
+
<p>If you have questions, call us at <va-telephonecontact="8773459876"></va-telephone> (TTY: <va-telephonecontact="711"></va-telephone>). We're here Monday through Friday, 8:00 a.m. to 9:00 p.m. ET.</p>
<pclass="vads-u-margin-y--0">We're sorry. There was a problem with our system. We couldn't process this form. Call us at <va-telephonecontact="8773459876"></va-telephone> (TTY: <va-telephonecontact="711"></va-telephone>). We're here Monday through Friday, 8:00 a.m. to 9:00 p.m. ET.</p>
Copy file name to clipboardExpand all lines: src/_patterns/help-users-to/check-personal-information.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,26 @@ The on this page component should start with a link to the list itself, and then
69
69
#### Integrating contextual questions in the cards
70
70
Overall questions should be in a content area accessed by the "on this page" component, but more contextual questions can be "additional info" components on the cards themselves. Example provided.
<p class="vads-u-margin-y--0">An item in the claim needs your attention</p>
86
+
</va-alert>
87
+
88
+
89
+
<va-link class="vads-u-margin-top--2" href="/disability/view-claim-status/" active text="Details" />
90
+
</va-card>
91
+
</div>
73
92
74
93
#### Items on the card and optional card elements
75
94
Make sure to not overload elements on the cards. If you're finding you need to let the user know about a fair amount of information about a single card, link to a details page with more detail.
Copy file name to clipboardExpand all lines: src/_patterns/help-users-to/keep-a-record-of-submitted-information.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,22 @@ Note that breadcrumbs should be excluded from the print preview/final printout,
40
40
41
41
### My VA card with download link
42
42
43
-
{% include component-example.html alt="An example My VA status card with download link" file="/images/patterns/help-users-to/stay-informed-of-their-application-status/myva-status-cards.png" width="75%" %}
<h3 class="vads-u-margin-top--1">Application for authorization to release medical information</h3>
47
+
<span>VA Form 21-4142</span>
48
+
<p class="vads-u-margin-top--1">
49
+
<va-link download filetype="PDF" href="https://www.va.gov" pages="5" text="Download your completed form" />
50
+
</p>
51
+
<p>Submitted on: [Month Day, 20XX] <br />
52
+
Received on: [Month Day, 20XX] <br />
53
+
Download available until: [Month Day, 20XX]
54
+
</p>
55
+
<p>Next step: We'll review your form. If we need more information, we'll contact you.</p>
56
+
<p>If you have questions, call us at <va-telephone contact="8773459876"></va-telephone> (TTY: <va-telephone contact="711"></va-telephone>). We're here Monday through Friday, 8:00 a.m. to 9:00 p.m. ET.</p>
57
+
</va-card>
58
+
</div>
44
59
45
60
Note that the download link includes the expiration date for the file download (60 days from submission, as described in the research findings below).
Copy file name to clipboardExpand all lines: src/_patterns/help-users-to/manage-benefits-and-tools.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ Below are some potential benefits a Veteran or family member may enroll in, whic
82
82
* Pension
83
83
* Vocational rehabilitation (VRE)
84
84
85
-
{% include component-example.html alt="A list of benefits a Veteran is currently enrolled in. Two of the benefits have Critical Action components shown, linking the user to a page where they can take important actions." file="/images/patterns/help-users-to/manage-benefits-and-tools/service-list-example.png" caption="An example of how this pattern can be applied to help users navigate and learn about their benefits." class="x2" %}
85
+
{% include storybook-preview.html story="components-va-service-list-item--service-list-with-multiple-service-list-items" link_text="Service List showing multiple benefits" height="600px" %}
Copy file name to clipboardExpand all lines: src/_patterns/help-users-to/stay-informed-of-their-application-status.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,9 @@ anchors:
27
27
28
28
### Form submission status in My VA
29
29
30
-
{% include component-example.html alt="Screenshots of 4 My VA status cards." file="/images/patterns/help-users-to/stay-informed-of-their-application-status/myva-status-cards.png" caption="Four Card component variations used to show the status of someone's form or application submission in My VA." reverse="true" %}
0 commit comments