Skip to content

Commit

Permalink
Merge branch 'main' into feat/dialog/use-native-dialog-element-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjohnson authored Dec 13, 2024
2 parents fb242b0 + af13796 commit 1399bee
Show file tree
Hide file tree
Showing 54 changed files with 37 additions and 249 deletions.
5 changes: 5 additions & 0 deletions .changeset/purple-drinks-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rhds/elements": patch
---

`<rh-accordion>`: corrected accordion header text font weight
12 changes: 10 additions & 2 deletions docs/elements/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ summaries:
rh-tile h3 {
margin: 0 !important;
}
rh-tile p {
margin-block: 0 0 !important;
}
uxdot-example {
height: 216px;
display: flex;
justify-content: center;
}
</style>

{# NOTE: all images in this view need to be 340 by 200 px in order to maintain same ratio. #}
Expand All @@ -49,7 +57,7 @@ summaries:
{%- set summary = summaries[slug] -%}
{% endif %}
{% if not hiddenComponent %}
<rh-tile compact bleed {% if comingSoon %}disabled{% endif %}>
<rh-tile id="tile-{{ tagName }}" compact bleed {% if comingSoon %}disabled{% endif %}>
<uxdot-example slot="image" no-border transparent><img src="{{ doc.screenshotPath }}" alt="{{ title }}"></uxdot-example>
<h3 slot="headline"><a href="{{ doc.overviewHref | url }}">{{ title }}</a></h3>
<p>{{ summary }}</p>
Expand All @@ -62,7 +70,7 @@ summaries:

<section aria-labelledby="aria__heading-make-a-request">
<h2 id="aria__heading-make-a-request">Make a request</h2>
To request a new element or if updates need to be made to an existing element, <a href="https://github.com/RedHat-UX/red-hat-design-system/issues/new/choose" target="_blank">create a GitHub issue</a>.
<p>To request a new element or if updates need to be made to an existing element, <a href="https://github.com/RedHat-UX/red-hat-design-system/issues/new/choose">create a GitHub issue</a> or <a href="/support">contact us</a>.</p>
</section>

<uxdot-feedback>
Expand Down
Binary file modified elements/rh-accordion/docs/screenshot.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions elements/rh-accordion/rh-accordion-header.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
margin: 0;
color: var(--rh-color-text-primary);
background-color: var(--rh-color-surface);
font-weight: var(--rh-font-weight-heading-medium, 500);
font-weight: var(--rh-font-weight-body-text-medium, 500);
}

button,
Expand Down Expand Up @@ -126,7 +126,7 @@ span {
}

#header-text {
font-weight: var(--rh-font-weight-heading-bold, 700);
font-weight: var(--rh-font-weight-body-text-medium, 500);
}

[part='accents'] {
Expand Down
Binary file modified elements/rh-alert/docs/screenshot.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified elements/rh-audio-player/docs/screenshot.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 0 additions & 35 deletions elements/rh-audio-player/docs/screenshot.svg

This file was deleted.

Binary file modified elements/rh-avatar/docs/screenshot.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 0 additions & 9 deletions elements/rh-avatar/docs/screenshot.svg

This file was deleted.

Binary file modified elements/rh-back-to-top/docs/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified elements/rh-badge/docs/screenshot.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 0 additions & 29 deletions elements/rh-badge/docs/screenshot.svg

This file was deleted.

Binary file modified elements/rh-blockquote/docs/screenshot.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified elements/rh-breadcrumb/docs/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified elements/rh-button/docs/screenshot.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 0 additions & 20 deletions elements/rh-button/docs/screenshot.svg

This file was deleted.

Binary file modified elements/rh-card/docs/screenshot.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified elements/rh-code-block/docs/screenshot.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified elements/rh-cta/docs/screenshot.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1399bee

Please sign in to comment.