Skip to content

Commit

Permalink
Merge branch 'staging/charmander' into feat/health-index
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjohnson authored May 9, 2024
2 parents 4bb5592 + 8553546 commit e4bc33a
Show file tree
Hide file tree
Showing 12 changed files with 57 additions and 46 deletions.
5 changes: 5 additions & 0 deletions .changeset/forty-seals-develop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rhds/elements": patch
---

`<rh-tag>`: update green border color
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @rhds/elements

## 1.4.1

### Patch Changes

- 862380b: corrected `@patternfly/elements` dependency to be included with the package

## 1.4.0

### Minor Changes
Expand Down
11 changes: 0 additions & 11 deletions docs/_includes/component/header.njk
Original file line number Diff line number Diff line change
Expand Up @@ -204,14 +204,3 @@
</nav>
</div>
</header>

<script type="module">
window.onUsersnapCXLoad = function(api) {
api.init();
}
var script = document.createElement('script');
script.async = 1;
script.src = 'https://widget.usersnap.com/load/64471a95-72fe-4239-b16d-ebcf8b1219f7?onload=onUsersnapCXLoad';
document.head.appendChild(script);
</script>

6 changes: 3 additions & 3 deletions elements/rh-cta/demo/color-context.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<rh-context-demo>
<rh-cta><a href="#default">Default</a></rh-cta>
<rh-cta icon="circle-play"><a href="#default-video">Default Video</a></rh-cta>
<rh-cta icon="play-circle"><a href="#default-video">Default Video</a></rh-cta>
<rh-cta variant="primary"><a href="#primary">Primary</a></rh-cta>
<rh-cta variant="primary" icon="circle-play"><a href="#primary-video">Video</a></rh-cta>
<rh-cta variant="primary" icon="play-circle"><a href="#primary-video">Video</a></rh-cta>
<rh-cta variant="secondary"><a href="#secondary">Secondary</a></rh-cta>
<rh-cta variant="brick"><a href="#brick">Brick</a></rh-cta>
<rh-cta variant="brick" icon="circle-play"><a href="#brick-video">Brick Video</a></rh-cta>
<rh-cta variant="brick" icon="play-circle"><a href="#brick-video">Brick Video</a></rh-cta>
</rh-context-demo>

<script type="module">
Expand Down
24 changes: 12 additions & 12 deletions elements/rh-cta/demo/no-javascript-customization.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,34 @@
<section id="variants">
<h2>Variants</h2>
<rh-cta><a href="#default">Default</a></rh-cta>
<rh-cta icon="circle-play"><a href="#default-video">Default Video</a></rh-cta>
<rh-cta icon="play-circle"><a href="#default-video">Default Video</a></rh-cta>
<rh-cta variant="primary"><a href="#primary">Primary</a></rh-cta>
<rh-cta variant="primary" icon="circle-play"><a href="#primary-video">Video</a></rh-cta>
<rh-cta variant="primary" icon="play-circle"><a href="#primary-video">Video</a></rh-cta>
<rh-cta variant="secondary"><a href="#secondary">Secondary</a></rh-cta>
<rh-cta variant="brick"><a href="#brick">Brick</a></rh-cta>
<rh-cta variant="brick" icon="circle-play"><a href="#brick-video">Brick Video</a></rh-cta>
<rh-cta variant="brick" icon="play-circle"><a href="#brick-video">Brick Video</a></rh-cta>
</section>

<rh-context-provider id="dark" color-palette="darkest">
<h2>Dark Colour Context</h2>
<rh-cta><a href="#default">Default</a></rh-cta>
<rh-cta icon="circle-play"><a href="#default-video">Default Video</a></rh-cta>
<rh-cta icon="play-circle"><a href="#default-video">Default Video</a></rh-cta>
<rh-cta variant="primary"><a href="#primary">Primary</a></rh-cta>
<rh-cta variant="primary" icon="circle-play"><a href="#primary-video">Video</a></rh-cta>
<rh-cta variant="primary" icon="play-circle"><a href="#primary-video">Video</a></rh-cta>
<rh-cta variant="secondary"><a href="#secondary">Secondary</a></rh-cta>
<rh-cta variant="brick"><a href="#brick">Brick</a></rh-cta>
<rh-cta variant="brick" icon="circle-play"><a href="#brick-video">Brick Video</a></rh-cta>
<rh-cta variant="brick" icon="play-circle"><a href="#brick-video">Brick Video</a></rh-cta>
</rh-context-provider>

<section dir="rtl">
<h2>Right-to-Left Languages</h2>
<rh-cta><a href="#default">ברירת מחדל</a></rh-cta>
<rh-cta icon="circle-play"><a href="#default-video">ברירת מחדל - וידאו</a></rh-cta>
<rh-cta icon="play-circle"><a href="#default-video">ברירת מחדל - וידאו</a></rh-cta>
<rh-cta variant="primary"><a href="#primary">ראשי</a></rh-cta>
<rh-cta variant="primary" icon="circle-play"><a href="#primary-video">ראשי - וידאו</a></rh-cta>
<rh-cta variant="primary" icon="play-circle"><a href="#primary-video">ראשי - וידאו</a></rh-cta>
<rh-cta variant="secondary"><a href="#secondary">משני</a></rh-cta>
<rh-cta variant="brick"><a href="#brick">לבנה</a></rh-cta>
<rh-cta variant="brick" icon="circle-play"><a href="#brick-video">לבנה - וידאו</a></rh-cta>
<rh-cta variant="brick" icon="play-circle"><a href="#brick-video">לבנה - וידאו</a></rh-cta>
</section>

<section dir="rtl">
Expand All @@ -39,12 +39,12 @@ <h2>Deep Shadow RTL</h2>
<template shadowrootmode="open">
<style>:host{display: flex; flex-flow: row wrap; gap: 16px;}</style>
<rh-cta id="deep"><a href="#default">ברירת מחדל</a></rh-cta>
<rh-cta icon="circle-play"><a href="#default-video">ברירת מחדל - וידאו</a></rh-cta>
<rh-cta icon="play-circle"><a href="#default-video">ברירת מחדל - וידאו</a></rh-cta>
<rh-cta variant="primary"><a href="#primary">ראשי</a></rh-cta>
<rh-cta variant="primary" icon="circle-play"><a href="#primary-video">ראשי - וידאו</a></rh-cta>
<rh-cta variant="primary" icon="play-circle"><a href="#primary-video">ראשי - וידאו</a></rh-cta>
<rh-cta variant="secondary"><a href="#secondary">משני</a></rh-cta>
<rh-cta variant="brick"><a href="#brick">לבנה</a></rh-cta>
<rh-cta variant="brick" icon="circle-play"><a href="#brick-video">לבנה - וידאו</a></rh-cta>
<rh-cta variant="brick" icon="play-circle"><a href="#brick-video">לבנה - וידאו</a></rh-cta>
</template>
</section>

Expand Down
8 changes: 4 additions & 4 deletions elements/rh-cta/demo/resizing.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</div>

<div>
<rh-cta icon="circle-play">
<rh-cta icon="play-circle">
<a href="#default-video">Get product details</a>
</rh-cta>
</div>
Expand All @@ -18,7 +18,7 @@
</div>

<div>
<rh-cta variant="primary" icon="circle-play">
<rh-cta variant="primary" icon="play-circle">
<a href="#primary-video">Get product details</a>
</rh-cta>
</div>
Expand Down Expand Up @@ -62,7 +62,7 @@
</div>

<div>
<rh-cta icon="circle-play">
<rh-cta icon="play-circle">
<a href="#default-video">Supercalifragilisticexpialidocious</a>
</rh-cta>
</div>
Expand All @@ -74,7 +74,7 @@
</div>

<div>
<rh-cta variant="primary" icon="circle-play">
<rh-cta variant="primary" icon="play-circle">
<a href="#primary-video">Supercalifragilisticexpialidocious</a>
</rh-cta>
</div>
Expand Down
8 changes: 4 additions & 4 deletions elements/rh-cta/demo/right-to-left.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ <h2>Right-to-Left Languages</h2>
<a href="#default">ברירת מחדל</a>
</rh-cta>

<rh-cta icon="circle-play">
<rh-cta icon="play-circle">
<a href="#default-video">ברירת מחדל - וידאו</a>
</rh-cta>

<rh-cta variant="primary">
<a href="#primary">ראשי</a>
</rh-cta>

<rh-cta variant="primary" icon="circle-play">
<rh-cta variant="primary" icon="play-circle">
<a href="#primary-video">ראשי - וידאו</a>
</rh-cta>

Expand Down Expand Up @@ -62,15 +62,15 @@ <h2>Deep Shadow RTL</h2>
<a href="#default">ברירת מחדל</a>
</rh-cta>

<rh-cta icon="circle-play">
<rh-cta icon="play-circle">
<a href="#default-video">ברירת מחדל - וידאו</a>
</rh-cta>

<rh-cta variant="primary">
<a href="#primary">ראשי</a>
</rh-cta>

<rh-cta variant="primary" icon="circle-play">
<rh-cta variant="primary" icon="play-circle">
<a href="#primary-video">ראשי - וידאו</a>
</rh-cta>

Expand Down
4 changes: 2 additions & 2 deletions elements/rh-cta/demo/variants.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<a href="#default">Default</a>
</rh-cta>

<rh-cta icon="circle-play">
<rh-cta icon="play-circle">
<a href="#default-video">Default Video</a>
</rh-cta>

<rh-cta variant="primary">
<a href="#primary">Primary</a>
</rh-cta>

<rh-cta variant="primary" icon="circle-play">
<rh-cta variant="primary" icon="play-circle">
<a href="#primary-video">Video</a>
</rh-cta>

Expand Down
2 changes: 1 addition & 1 deletion elements/rh-tag/rh-tag.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
.green {
--_content-color: var(--rh-color-green-70, #204d00);
--_background-color: var(--rh-color-green-10, #e9f7df);
--_before-border-color: var(--rh-color-green-20, #d1f1bb);
--_before-border-color: var(--rh-color-green-30, #afdc8f);
--_icon-color: var(--rh-color-green-60, #3d7317);
}

Expand Down
4 changes: 4 additions & 0 deletions eleventy.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ module.exports = function(eleventyConfig) {
'@rhds/tokens/media.js',
'@rhds/tokens/meta.js',
'@patternfly/elements',
'@patternfly/icons/far/',
'@patternfly/icons/fas/',
'@patternfly/icons/fab/',
'@patternfly/icons/patternfly/',
'@patternfly/pfe-core',
// Vendor
'lit',
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rhds/elements",
"version": "1.4.0",
"version": "1.4.1",
"description": "Red Hat Design System Elements",
"type": "module",
"license": "MIT",
Expand Down Expand Up @@ -116,10 +116,17 @@
"docs"
]
},
"build:test": {
"dependencies": [
"patch",
"analyze",
"compile"
]
},
"test": {
"command": "wtr --group default",
"dependencies": [
"build"
"build:test"
]
},
"compile": {
Expand Down Expand Up @@ -237,6 +244,7 @@
},
"dependencies": {
"@lit/context": "^1.1.1",
"@patternfly/elements": "^3.0.1",
"@patternfly/icons": "^1.0.2",
"@patternfly/pfe-core": "^3.0.0",
"@rhds/tokens": "^2.0.1",
Expand All @@ -253,7 +261,6 @@
"@lit/reactive-element": "^2.0.4",
"@parse5/tools": "^0.3.0",
"@patternfly/create-element": "^1.0.2",
"@patternfly/elements": "^3.0.0",
"@patternfly/eslint-config-elements": "^3.0.0",
"@patternfly/eslint-plugin-elements": "^2.0.0",
"@patternfly/pfe-tools": "^2.0.1",
Expand Down

0 comments on commit e4bc33a

Please sign in to comment.