Skip to content

Commit

Permalink
Merge branch 'main' into chore/ci/feat-to-staging
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers authored May 8, 2024
2 parents 8b03ec1 + b858eb8 commit 875cc0a
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 24 deletions.
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>

11 changes: 7 additions & 4 deletions docs/_plugins/shortcodes/repoStatus.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,13 @@ function repoStatusTable() {
return /* html */`
<tr>
<td data-label="Name">
<a href="/elements/${listItem.name}">${listItem.name}</a>
${listItem.overallStatus !== 'Available' ? `<rh-tag color="${STATUS_LEGEND[listItem.overallStatus].color}" variant="${STATUS_LEGEND[listItem.overallStatus].variant}">
${listItem.overallStatus}${STATUS_LEGEND[listItem.overallStatus].icon}
</rh-tag>` : ''}
<span>
<a href="/elements/${listItem.name}">${listItem.name}</a>
${listItem.overallStatus !== 'Available' ?
`<rh-tag color="${STATUS_LEGEND[listItem.overallStatus].color}" variant="${STATUS_LEGEND[listItem.overallStatus].variant}">
${listItem.overallStatus}${STATUS_LEGEND[listItem.overallStatus].icon}
</rh-tag>` : ''}
</span>
</td>
${listItem.libraries.map(lib => {
return /* html */`
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 875cc0a

Please sign in to comment.