-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #367 from MetadataWorks/main
Updated PR for merge from MetaDataWorks to main standard registry
- Loading branch information
Showing
50 changed files
with
2,833 additions
and
370 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 |
---|---|---|
|
@@ -56,6 +56,7 @@ typings/ | |
|
||
# dotenv environment variables file | ||
.env | ||
.env.local | ||
|
||
# OSX | ||
.DS_Store | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import styles from './style.module.scss'; | ||
|
||
const ActionLink = ({ link = false, title = '' }) => { | ||
return !link ? ( | ||
'Not available' | ||
) : ( | ||
<> | ||
<div className="nhsuk-action-link"> | ||
<a | ||
className="nhsuk-action-link__link" | ||
href={link} | ||
rel="noreferrer" | ||
target="_blank" | ||
title={`Documentation for ${title}`} | ||
> | ||
<svg | ||
className="nhsuk-icon nhsuk-icon__arrow-right-circle" | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 24 24" | ||
aria-hidden="true" | ||
width="36" | ||
height="36" | ||
> | ||
<path d="M0 0h24v24H0z" fill="none"></path> | ||
<path d="M12 2a10 10 0 0 0-9.95 9h11.64L9.74 7.05a1 1 0 0 1 1.41-1.41l5.66 5.65a1 1 0 0 1 0 1.42l-5.66 5.65a1 1 0 0 1-1.41 0 1 1 0 0 1 0-1.41L13.69 13H2.05A10 10 0 1 0 12 2z"></path> | ||
</svg> | ||
<span className={`nhsuk-action-link__text ${styles.linkText}`}> | ||
View documentation for this standard | ||
</span> | ||
</a> | ||
</div> | ||
<div> | ||
<span className="nhsuk-u-visually-hidden">opens in a new tab</span> | ||
<br /> | ||
(opens in new tab) | ||
</div> | ||
</> | ||
); | ||
}; | ||
|
||
export default ActionLink; |
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,3 @@ | ||
.linkText { | ||
font-size: 1.2em; | ||
} |
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
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,16 @@ | ||
import styles from './FilterSummary.module.scss'; | ||
|
||
function FilterWidget({ children, onClick }) { | ||
return ( | ||
<button | ||
type="button" | ||
aria-label={`X, click to remove ${children}`} | ||
onClick={onClick} | ||
className={styles.widget} | ||
> | ||
X {children} | ||
</button> | ||
); | ||
} | ||
|
||
export default FilterWidget; |
Oops, something went wrong.