@hmcts/frontend
Advanced tools
Comparing version 0.0.9-alpha to 0.0.10-alpha
@@ -1,1 +0,85 @@ | ||
# Timeline | ||
# Timeline | ||
- [Guidance](https://hmcts-design-system.herokuapp.com/components/timeline) | ||
- [Preview](https://hmcts-frontend.herokuapp.com/components/timeline) | ||
## Arguments | ||
<table class="govuk-table"> | ||
<thead class="govuk-table__head"> | ||
<tr class="govuk-table__row"> | ||
<th class="govuk-table__header" scope="col">Name</th> | ||
<th class="govuk-table__header" scope="col">Type</th> | ||
<th class="govuk-table__header" scope="col">Required</th> | ||
<th class="govuk-table__header" scope="col">Description</th> | ||
</tr> | ||
</thead> | ||
<tbody class="govuk-table__body"> | ||
<tr class="govuk-table__row"> | ||
<th class="govuk-table__header" scope="row">headingLevel</th> | ||
<td class="govuk-table__cell">Number</td> | ||
<td class="govuk-table__cell">No</td> | ||
<td class="govuk-table__cell">Defines the heading level. Defaults to '2' so will generate an level 2 heading.</td> | ||
</tr> | ||
<tr class="govuk-table__row"> | ||
<th class="govuk-table__header" scope="row">classes</th> | ||
<td class="govuk-table__cell">String</td> | ||
<td class="govuk-table__cell">No</td> | ||
<td class="govuk-table__cell">Optional additional classes to add to timeline container</td> | ||
</tr> | ||
<tr class="govuk-table__row"> | ||
<th class="govuk-table__header" scope="row">events</th> | ||
<td class="govuk-table__cell">Array</td> | ||
<td class="govuk-table__cell">Yes</td> | ||
<td class="govuk-table__cell">Array of event item objects</td> | ||
</tr> | ||
<tr class="govuk-table__row"> | ||
<th class="govuk-table__header" scope="row">items.{}.title</th> | ||
<td class="govuk-table__cell">String</td> | ||
<td class="govuk-table__cell">Yes</td> | ||
<td class="govuk-table__cell">Title of the event</td> | ||
</tr> | ||
<tr class="govuk-table__row"> | ||
<th class="govuk-table__header" scope="row">items.{}.by</th> | ||
<td class="govuk-table__cell">String</td> | ||
<td class="govuk-table__cell">Yes</td> | ||
<td class="govuk-table__cell">Byline of the event. Who or what caused the event</td> | ||
</tr> | ||
<tr class="govuk-table__row"> | ||
<th class="govuk-table__header" scope="row">items.{}.dateUtc</th> | ||
<td class="govuk-table__cell">String</td> | ||
<td class="govuk-table__cell">Yes</td> | ||
<td class="govuk-table__cell">Date of the event in UTC format</td> | ||
</tr> | ||
<tr class="govuk-table__row"> | ||
<th class="govuk-table__header" scope="row">items.{}.date</th> | ||
<td class="govuk-table__cell">String</td> | ||
<td class="govuk-table__cell">Yes</td> | ||
<td class="govuk-table__cell">Date of the event. Should match GOV.UK styles: 11 November 2018</td> | ||
</tr> | ||
<tr class="govuk-table__row"> | ||
<th class="govuk-table__header" scope="row">items.{}.time</th> | ||
<td class="govuk-table__cell">String</td> | ||
<td class="govuk-table__cell">No</td> | ||
<td class="govuk-table__cell">Time of the event. Should match GOV.UK styles: 9am</td> | ||
</tr> | ||
<tr class="govuk-table__row"> | ||
<th class="govuk-table__header" scope="row">items.{}.documents</th> | ||
<td class="govuk-table__cell">Array</td> | ||
<td class="govuk-table__cell">No</td> | ||
<td class="govuk-table__cell">Array of document objects relating to the event</td> | ||
</tr> | ||
<tr class="govuk-table__row"> | ||
<th class="govuk-table__header" scope="row">items.{}.documents.{}.href</th> | ||
<td class="govuk-table__cell">String</td> | ||
<td class="govuk-table__cell">Yes</td> | ||
<td class="govuk-table__cell">Url for document, either page or file download</td> | ||
</tr> | ||
<tr class="govuk-table__row"> | ||
<th class="govuk-table__header" scope="row">items.{}.documents.{}.name</th> | ||
<td class="govuk-table__cell">String</td> | ||
<td class="govuk-table__cell">Yes</td> | ||
<td class="govuk-table__cell">Name of the document</td> | ||
</tr> | ||
</tbody> | ||
</table> |
{ | ||
"name": "@hmcts/frontend", | ||
"description": "HMCTS Frontend contains the code you need to start building a user interface for HMCTS.", | ||
"version": "0.0.9-alpha", | ||
"version": "0.0.10-alpha", | ||
"main": "all.js", | ||
@@ -6,0 +6,0 @@ "sass": "all.scss", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
403393
42