-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add inset text component #709
Conversation
f6aee96
to
b2de8f9
Compare
b2de8f9
to
ee745c9
Compare
Update:
From a code perspective is ready for review. |
src/components/inset-text/README.md
Outdated
@@ -0,0 +1,60 @@ | |||
<script>document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');</script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure we need this?
src/components/inset-text/README.md
Outdated
1. [GOV.UK Frontend](/) | ||
2. Inset text | ||
|
||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually none of the divs in the readme
ee745c9
to
784f0d8
Compare
@igloosi: good spot. was using the old |
|
||
{{ govukInsetText({ | ||
classes: '', | ||
content: 'It can take up to 8 weeks <a href="#">to register</a> a lasting power of attorney if there are no mistakes in the application.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is 'html' or 'text' right, not 'content'?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
784f0d8
to
a2c5029
Compare
oh, changelog |
a2c5029
to
d14d43b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spoke to Tim, we may rename this.
📛 Call-out (text) |
d14d43b
to
7c613c4
Compare
Inset text exists in GOV.UK Elements. We had originally decided not to reimplement it in GOV.UK Frontend as it was unclear that it was meeting user needs. However, during private beta it's become clear that inset text is needed.
Trello card