-
Notifications
You must be signed in to change notification settings - Fork 20
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 docs/cdn-import-maps
- Loading branch information
Showing
130 changed files
with
31,841 additions
and
9,296 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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,21 @@ | ||
--- | ||
"@rhds/elements": minor | ||
--- | ||
|
||
`rh-card`: `header` slot now displays items vertically instead of stacked, allowing for more than one item to display in the header. | ||
|
||
Example: | ||
|
||
```html | ||
<rh-card> | ||
<img slot="header" src="kitten-400x250.jpeg"></img> | ||
<h2 slot="header">Headline, sm</h2> | ||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. | ||
Nullam eleifend elit sed est egestas, a sollicitudin mauris | ||
tincidunt. Pellentesque vel dapibus risus. Nullam aliquam | ||
felis orci, eget cursus mi lacinia quis. Vivamus at felis sem.</p> | ||
<rh-cta priority="primary" slot="footer"> | ||
<a href="#">Call to action</a> | ||
</rh-cta> | ||
</rh-card> | ||
``` |
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,11 @@ | ||
--- | ||
"@rhds/elements": minor | ||
--- | ||
|
||
✨ Added `<rh-timestamp>`. | ||
|
||
Provides consistent formats for displaying date and time values. | ||
|
||
```html | ||
<rh-timestamp date="Tue Aug 09 2006 14:57:00 GMT-0400">Tue Aug 09 2006 14:57:00 GMT-0400</rh-timestamp> | ||
``` |
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 was deleted.
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 |
---|---|---|
@@ -1,28 +1,15 @@ | ||
{% set searchName = doc.tagName if doc.tagName else (title | slug) %} | ||
{% set related = searchName | relatedItems %} | ||
<div class="multi-column--min-300-wide section section--palette-default container feedback"> | ||
{% section %} | ||
{% if related.length %} | ||
<h2>Related elements or patterns</h2> | ||
<ul id="related-items-list">{% for item in related %} | ||
<li> | ||
<a href="{{ item.url}}">{{ item.text }}</a> | ||
</li>{% endfor %} | ||
</ul> | ||
{% elseif title === 'Patterns' %} | ||
<h2>Elements</h2> | ||
<p>To learn how to use our elements in your designs, visit the <a href="{{ '/elements/' | url }}">Elements</a> section.</p> | ||
{% else %} | ||
<h2>Patterns</h2> | ||
<p>To learn how to use our patterns in your designs, visit the <a href="{{ '/patterns/' | url }}">Patterns</a> section.</p> | ||
{% endif %} | ||
{% endsection %} | ||
{% set related = (doc.tagName if doc.tagName else (title | slug)) | relatedItems %} | ||
|
||
{% section %} | ||
<h2>Feedback</h2> | ||
<p> | ||
To give feedback about anything on this page, | ||
<a href="https://github.com/RedHat-UX/red-hat-design-system/discussions">contact us</a>. | ||
</p> | ||
{% endsection %} | ||
</div> | ||
{% feedback %} | ||
{% if related.length %} | ||
<h2>Related elements or patterns</h2> | ||
<ul id="related-items-list">{% for item in related %} | ||
<li> | ||
<a href="{{ item.url}}">{{ item.text }}</a> | ||
</li>{% endfor %} | ||
</ul> | ||
{% else %} | ||
<h2>Other libraries</h2> | ||
<p>To learn more about our other libraries, visit <a href="/get-started/">this page</a>.</p> | ||
{% endif %} | ||
{% endfeedback %} |
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
Oops, something went wrong.