-
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 'staging/charmander' into docs/card-headings
- Loading branch information
Showing
159 changed files
with
6,555 additions
and
562 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,11 @@ | ||
--- | ||
"@rhds/elements": minor | ||
--- | ||
|
||
✨ Added <rh-health-index> | ||
|
||
Health index grades the health or security level of something. | ||
|
||
```html | ||
<rh-health-index grade="A">A</rh-health-index> | ||
``` |
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,5 @@ | ||
--- | ||
"@rhds/elements": patch | ||
--- | ||
|
||
`<rh-tile>`: corrected border color token |
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,4 @@ | ||
--- | ||
"@rhds/elements": patch | ||
--- | ||
`<rh-cta>`: lazy-load the icon component dependency |
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,5 @@ | ||
--- | ||
"@rhds/elements": patch | ||
--- | ||
|
||
`<rh-tag>`: update green border color |
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,5 @@ | ||
--- | ||
"@rhds/elements": minor | ||
--- | ||
|
||
`<rh-cta>`: Changed focus states to mimic hover states + an additonal outline. |
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,4 @@ | ||
--- | ||
"@rhds/elements": major | ||
--- | ||
`<rh-cta>`: Removed previously-deprecated `color-palette` attribute |
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,5 @@ | ||
--- | ||
"@rhds/elements": major | ||
--- | ||
`<rh-cta>`: Deprecated `rhCta.cta` public property. This will be removed in the | ||
next major version. |
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,5 @@ | ||
--- | ||
"@rhds/elements": minor | ||
--- | ||
|
||
`<rh-pagination>`: Added dark color palette |
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,5 @@ | ||
--- | ||
"@rhds/elements": minor | ||
--- | ||
|
||
`<rh-cta>`: Added `rh-cta-lightdom-shim.css` as an optional file to help reduce layout shift before element is defined, where declarative shadow DOM is not an option. |
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,17 @@ | ||
--- | ||
"@rhds/elements": minor | ||
--- | ||
`<rh-cta>`: added `href` attribute. When set, do not slot an anchor or button, | ||
instead, slot in the link text. | ||
|
||
These two are equivalent: | ||
|
||
```html | ||
<rh-cta> | ||
<a href="/elements">Elements</a> | ||
</rh-cta> | ||
``` | ||
|
||
```html | ||
<rh-cta href="/elements">Elements</rh-cta> | ||
``` |
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,8 @@ | ||
--- | ||
"@rhds/elements": minor | ||
--- | ||
`<rh-card>`: Added CSS custom properties for card headings: | ||
|
||
- `--rh-card-heading-font-family` | ||
- `--rh-card-heading-font-size` | ||
- `--rh-card-heading-font-weight` |
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,5 @@ | ||
--- | ||
"@rhds/elements": patch | ||
--- | ||
|
||
Fixed the headline, title, body text, and footer font-sizes to match the Tile specs for both the default and compact variants |
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,8 @@ | ||
--- | ||
"@rhds/elements": minor | ||
--- | ||
`<rh-cta>`: added `icon-set` attribute to better control icon loading | ||
|
||
```html | ||
<rh-cta icon="success" icon-set="custom">...</rh-cta> | ||
``` |
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,15 @@ | ||
--- | ||
"@rhds/elements": minor | ||
--- | ||
|
||
✨ Added `<rh-switch>` | ||
|
||
A switch toggles the state of a setting (between on and off). Switches and checkboxes can often be used interchangeably, but the switch provides a more explicit, visible representation on a setting. | ||
|
||
html``` | ||
<rh-switch id="a" checked></rh-switch> | ||
<label for="a"> | ||
<span data-state="on">Message when on</span> | ||
<span data-state="off" hidden>Message when off</span> | ||
</label> | ||
``` |
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,68 @@ | ||
{%- set extraPageClasses = bodyClasses or "" -%} | ||
{%- if title -%} | ||
{% set extraPageClasses = extraPageClasses + ' page-' + title | slug -%} | ||
{%- endif -%} | ||
<!doctype html> | ||
<html class="no-js" lang=""> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="x-ua-compatible" content="ie=edge"> | ||
<title>{{ data.title or title }} | Red Hat design system</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="shortcut icon" type="image/svg+xml" sizes="any" href="{{ '/assets/logo-red-hat.svg' | url }}"> | ||
|
||
<meta property="og:title" content="Red Hat design system"> | ||
<meta property="og:site_name" content="Red Hat design system"> | ||
<meta property="og:url" content="ux.redhat.com"> | ||
<meta property="og:description" content="This is Red Hat's design system. Using Red Hat brand standards and PatternFly as our foundational design language, we enable designers and developers to concurrently build branded experiences across redhat.com, Red Hat Customer Portal, and beyond."> | ||
<meta property="og:type" content="website"> | ||
<meta property="og:image" content="https://ux.redhat.com/assets/opengraph.png"> | ||
|
||
<meta name="pfe-auto-reveal" content="true"> | ||
|
||
<link rel="stylesheet" href="{{ '/assets/redhat/redhat-theme/4/advanced-theme.css' | url }}"> | ||
<link rel="stylesheet" href="{{ '/assets/redhat/redhat-font/2/webfonts/red-hat-font.css' | url }}" media="all"> | ||
|
||
<link rel="stylesheet" href="{{ '/assets/prism.css' | url }}" > | ||
<link rel="stylesheet" href="{{ '/assets/rhds.min.css' | url }}"> | ||
<link rel="stylesheet" href="{{ '/assets/packages/@rhds/elements/elements/rh-footer/rh-footer-lightdom.css' | url }}"> | ||
<link rel="stylesheet" href="{{ '/assets/packages/@rhds/elements/elements/rh-cta/rh-cta-lightdom-shim.css' | url }}"> | ||
<link rel="stylesheet" href="{{ '/assets/packages/@rhds/elements/elements/rh-subnav/rh-subnav-lightdom.css' | url }}"> | ||
|
||
{% sassFile false %} | ||
{% for stylesheet in stylesheets %} | ||
<link rel="stylesheet" href="{{ stylesheet | url }}"> | ||
{% endfor %} | ||
|
||
<noscript> | ||
<link type="text/css" href="{{ '/assets/pfe--noscript.min.css' | url }}"> | ||
</noscript> | ||
|
||
<script type="importmap">{{ importMap | dump | safe }}</script> | ||
<script async src="https://ga.jspm.io/npm:[email protected]/dist/es-module-shims.js"></script> | ||
{% for tag in importElements %} | ||
<script type="module"> | ||
import '@rhds/elements/{{tag}}/{{tag}}.js'; | ||
</script> | ||
{% endfor %} | ||
<script type="module"> | ||
// As soon as the DOM is ready, toggle JS class | ||
document.documentElement.classList.remove('no-js'); | ||
document.documentElement.classList.add('js'); | ||
</script> | ||
<script type="module" src="{{ '/assets/copy-permalink.js' | url }}"></script> | ||
<script type="module"> | ||
import { PfIcon } from '@patternfly/elements/pf-icon/pf-icon.js'; | ||
PfIcon.getIconUrl = (set, icon) => | ||
new URL(`/assets/packages/@patternfly/elements/pf-icon/icons/${set}/${icon}.js`, location.origin); | ||
</script> | ||
<script type="module"> | ||
if (!('shadowRootMode' in HTMLTemplateElement.prototype)) { import('/assets/dsd-polyfill.js'); } | ||
</script> | ||
</head> | ||
<body id="top" class="page {{ extraPageClasses }}" unresolved> | ||
<div class="body-inner"> | ||
{{ content | safe }} | ||
</div> | ||
</body> | ||
</html> |
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 @@ | ||
- [SC 1.1.1 Non-text content](https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html) (Level A) |
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.