-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix/ONSDESYS-229/accessibility-browser-font-…
…size
- Loading branch information
Showing
8 changed files
with
458 additions
and
367 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @ONSdigital/design-team-devs |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
export const EXAMPLE_DOCUMENT_LIST_BASIC = { | ||
title: { | ||
text: 'Crime and justice', | ||
url: '#0', | ||
}, | ||
description: 'Some description', | ||
}; | ||
|
||
export const EXAMPLE_DOCUMENT_LIST_WITH_THUMBNAIL = { | ||
...EXAMPLE_DOCUMENT_LIST_BASIC, | ||
thumbnail: { | ||
smallSrc: '/example-small.png', | ||
largeSrc: '/example-large.png', | ||
}, | ||
}; | ||
|
||
export const EXAMPLE_DOCUMENT_LIST_WITH_METADATA_FILE = { | ||
...EXAMPLE_DOCUMENT_LIST_BASIC, | ||
metadata: { | ||
file: { | ||
fileType: 'PDF', | ||
fileSize: '499KB', | ||
filePages: '1 page', | ||
}, | ||
}, | ||
}; | ||
|
||
export const EXAMPLE_DOCUMENT_LIST_WITH_METADATA_OBJECT = { | ||
...EXAMPLE_DOCUMENT_LIST_BASIC, | ||
metadata: { | ||
object: { | ||
text: 'Poster', | ||
url: '#0', | ||
ref: 'some ref', | ||
}, | ||
}, | ||
}; | ||
|
||
export const EXAMPLE_DOCUMENT_LIST_WITH_METADATA_DATE = { | ||
...EXAMPLE_DOCUMENT_LIST_BASIC, | ||
metadata: { | ||
date: { | ||
iso: '2022-01-01', | ||
short: '1 January 2022', | ||
}, | ||
}, | ||
}; | ||
|
||
export const EXAMPLE_DOCUMENT_LIST_WITH_MULTIPLE = { | ||
...EXAMPLE_DOCUMENT_LIST_BASIC, | ||
id: 'some-id', | ||
thumbnail: { | ||
smallSrc: '/example-small.png', | ||
largeSrc: '/example-large.png', | ||
}, | ||
metadata: { | ||
object: { | ||
text: 'Poster', | ||
url: '#0', | ||
ref: 'some ref', | ||
}, | ||
file: { | ||
fileType: 'PDF', | ||
fileSize: '499KB', | ||
filePages: '1 page', | ||
}, | ||
date: { | ||
iso: '2022-01-01', | ||
short: '1 January 2022', | ||
showPrefix: true, | ||
prefix: 'Released', | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters