Post-release patches
Changes from V3:
Changes from V4:
Attribute for customizing stylesdiv so that it will be the last-child, which will get rid of the bottom margin.Headings now live in Nri.Ui.Heading.V2. Here's a mapping to help with upgrades:
| Nri.Ui.Text.V3 | Nri.Ui.Heading.V2 |
|===================|===================|
| Text.heading | Heading.h1 |
| Text.tagline | Heading.h2 |
| Text.subHeading | Heading.h3 |
| Text.smallHeading | Heading.h4 |If you look at your new code and go "hmm, those shouldn't be at this level of heading" then you can customize the tag apart from the style using the new API. See the Nri.Ui.Heading.V2 docs for details.
This is some medium body copy.
mediumBody, but with a lighter gray color than the default.
This is some small body copy but it's gray.
User-generated text.
User-generated text.
Add some custom CSS to the text. If you find yourself using this a lot, please add a stricter attribute to noredink-ui!
Eliminate widows (single words on their own line caused by wrapping) by inserting a non-breaking space if there are at least two words.
This is a little note or caption.