Skip to content

fix(footer): nojs min-height styles - #2541

Merged
bennypowers merged 5 commits into
staging/diglettfrom
fix/footer/nojs-styles
Jul 29, 2025
Merged

fix(footer): nojs min-height styles#2541
bennypowers merged 5 commits into
staging/diglettfrom
fix/footer/nojs-styles

Conversation

@zeroedin

Copy link
Copy Markdown
Collaborator

What I did

  1. Corrected the application of the no-js min-height styles. Should only load if scripting is unavailable (aka JS turned off).

Testing Instructions

Notes to Reviewers

There is a bigger problem likely here where rh-footer-universal loads rh-footer.css instead of its own CSS file, so it also loads the same :host rule.

On ux.redhat.com, we do not load the full footer, so we were incorrectly getting the 750px min-height set.

Because this value is also nojs, it is now wrapped in a scripting: none. https://developer.mozilla.org/en-US/docs/Web/CSS/@media/scripting

@bennypowers I noted that this rule was added in #2482 and wasn't caught in review. This isn't a new variable, as it already exists in the lightdom CSS. Could this potentially have been a mistake?

@changeset-bot

changeset-bot Bot commented Jul 29, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 1657305

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@rhds/elements Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify

netlify Bot commented Jul 29, 2025

Copy link
Copy Markdown

Deploy Preview for red-hat-design-system ready!

Name Link
🔨 Latest commit 1657305
🔍 Latest deploy log https://app.netlify.com/projects/red-hat-design-system/deploys/6888dac6b3d5610008554b82
😎 Deploy Preview https://deploy-preview-2541--red-hat-design-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@zeroedin
zeroedin requested a review from bennypowers July 29, 2025 14:17
@zeroedin zeroedin self-assigned this Jul 29, 2025
@zeroedin zeroedin added the bug Something isn't working label Jul 29, 2025
@zeroedin
zeroedin changed the base branch from main to staging/diglett July 29, 2025 14:17
@github-actions

github-actions Bot commented Jul 29, 2025

Copy link
Copy Markdown
Contributor

Size Change: +31 B (+0.01%)

Total Size: 234 kB

Filename Size Change
./elements/rh-footer/rh-footer-universal.js 4 kB +15 B (+0.38%)
./elements/rh-footer/rh-footer.js 4.67 kB +16 B (+0.34%)
ℹ️ View Unchanged
Filename Size
./elements.js 538 B
./elements/rh-accordion/context.js 162 B
./elements/rh-accordion/rh-accordion-header.js 2.67 kB
./elements/rh-accordion/rh-accordion-panel.js 1.27 kB
./elements/rh-accordion/rh-accordion.js 3.35 kB
./elements/rh-alert/rh-alert.js 5.05 kB
./elements/rh-announcement/rh-announcement.js 2.17 kB
./elements/rh-audio-player/rh-audio-player-about.js 1.83 kB
./elements/rh-audio-player/rh-audio-player-rate-stepper.js 1.76 kB
./elements/rh-audio-player/rh-audio-player-scrolling-text-overflow.js 1.47 kB
./elements/rh-audio-player/rh-audio-player-subscribe.js 1.41 kB
./elements/rh-audio-player/rh-audio-player.js 12.4 kB
./elements/rh-audio-player/rh-cue.js 1.95 kB
./elements/rh-audio-player/rh-transcript.js 2.68 kB
./elements/rh-avatar/random-pattern-controller.js 2.72 kB
./elements/rh-avatar/rh-avatar.js 2.61 kB
./elements/rh-back-to-top/rh-back-to-top.js 1.97 kB
./elements/rh-badge/rh-badge.js 1.63 kB
./elements/rh-blockquote/rh-blockquote.js 1.38 kB
./elements/rh-breadcrumb/rh-breadcrumb.js 1.87 kB
./elements/rh-button/rh-button.js 3.32 kB
./elements/rh-card/rh-card.js 3.12 kB
./elements/rh-chip/context.js 165 B
./elements/rh-chip/rh-chip-group.js 1.58 kB
./elements/rh-chip/rh-chip.js 2.06 kB
./elements/rh-code-block/prism.css.js 667 B
./elements/rh-code-block/prism.js 572 B
./elements/rh-code-block/rh-code-block.js 7.72 kB
./elements/rh-cta/rh-cta.js 3.67 kB
./elements/rh-dialog/rh-dialog.js 4.72 kB
./elements/rh-dialog/yt-api.js 617 B
./elements/rh-disclosure/rh-disclosure.js 2.25 kB
./elements/rh-footer/rh-footer-block.js 714 B
./elements/rh-footer/rh-footer-copyright.js 357 B
./elements/rh-footer/rh-footer-links.js 1.1 kB
./elements/rh-footer/rh-footer-social-link.js 1.04 kB
./elements/rh-health-index/rh-health-index.js 2.41 kB
./elements/rh-icon/rh-icon.js 2.49 kB
./elements/rh-icon/ssr.js 181 B
./elements/rh-jump-links/context.js 179 B
./elements/rh-jump-links/rh-jump-link.js 1.5 kB
./elements/rh-jump-links/rh-jump-links-list.js 1.17 kB
./elements/rh-jump-links/rh-jump-links.js 2.37 kB
./elements/rh-menu/rh-menu.js 1.22 kB
./elements/rh-navigation-primary/context.js 176 B
./elements/rh-navigation-primary/rh-navigation-primary-item-menu.js 1.03 kB
./elements/rh-navigation-primary/rh-navigation-primary-item.js 3.42 kB
./elements/rh-navigation-primary/rh-navigation-primary-overlay.js 534 B
./elements/rh-navigation-primary/rh-navigation-primary.js 7.24 kB
./elements/rh-navigation-secondary/rh-navigation-secondary-dropdown.js 2.57 kB
./elements/rh-navigation-secondary/rh-navigation-secondary-menu-section.js 1.31 kB
./elements/rh-navigation-secondary/rh-navigation-secondary-menu.js 1.68 kB
./elements/rh-navigation-secondary/rh-navigation-secondary-overlay.js 562 B
./elements/rh-navigation-secondary/rh-navigation-secondary.js 5.23 kB
./elements/rh-navigation-secondary/test/fixtures.js 769 B
./elements/rh-pagination/rh-pagination.js 5.53 kB
./elements/rh-site-status/rh-site-status.js 2.39 kB
./elements/rh-skip-link/rh-skip-link.js 1.33 kB
./elements/rh-spinner/rh-spinner.js 1.31 kB
./elements/rh-stat/rh-stat.js 2.05 kB
./elements/rh-subnav/rh-subnav.js 2.46 kB
./elements/rh-surface/rh-surface.js 911 B
./elements/rh-surface/test/elements.js 763 B
./elements/rh-switch/rh-switch.js 2.89 kB
./elements/rh-table/rh-sort-button.js 1.39 kB
./elements/rh-table/rh-table.js 2.81 kB
./elements/rh-tabs/context.js 226 B
./elements/rh-tabs/rh-tab-panel.js 1 kB
./elements/rh-tabs/rh-tab.js 2.85 kB
./elements/rh-tabs/rh-tabs.js 3.63 kB
./elements/rh-tag/rh-tag.js 2.95 kB
./elements/rh-tile/rh-tile-group.js 1.78 kB
./elements/rh-tile/rh-tile.js 4.59 kB
./elements/rh-timestamp/rh-timestamp.js 991 B
./elements/rh-tooltip/rh-tooltip.js 3.03 kB
./elements/rh-video-embed/rh-video-embed.js 4.64 kB
./lib/color-palettes.js 851 B
./lib/context/headings/consumer.js 593 B
./lib/context/headings/provider.js 1.2 kB
./lib/elements/rh-context-demo/rh-context-demo.js 1.16 kB
./lib/elements/rh-context-picker/rh-context-picker.js 2.18 kB
./lib/environment.js 194 B
./lib/functions.js 175 B
./lib/I18nController.js 1.37 kB
./lib/ScreenSizeController.js 876 B
./lib/ssr-controller.js 201 B
./lib/themable.js 549 B
./react/rh-accordion/rh-accordion-header.js 199 B
./react/rh-accordion/rh-accordion-panel.js 185 B
./react/rh-accordion/rh-accordion.js 202 B
./react/rh-alert/rh-alert.js 184 B
./react/rh-announcement/rh-announcement.js 189 B
./react/rh-audio-player/rh-audio-player-about.js 191 B
./react/rh-audio-player/rh-audio-player-rate-stepper.js 199 B
./react/rh-audio-player/rh-audio-player-scrolling-text-overflow.js 214 B
./react/rh-audio-player/rh-audio-player-subscribe.js 196 B
./react/rh-audio-player/rh-audio-player.js 183 B
./react/rh-audio-player/rh-cue.js 195 B
./react/rh-audio-player/rh-transcript.js 187 B
./react/rh-avatar/rh-avatar.js 173 B
./react/rh-back-to-top/rh-back-to-top.js 183 B
./react/rh-badge/rh-badge.js 174 B
./react/rh-blockquote/rh-blockquote.js 179 B
./react/rh-breadcrumb/rh-breadcrumb.js 179 B
./react/rh-button/rh-button.js 174 B
./react/rh-card/rh-card.js 172 B
./react/rh-chip/rh-chip-group.js 182 B
./react/rh-chip/rh-chip.js 187 B
./react/rh-code-block/rh-code-block.js 181 B
./react/rh-cta/rh-cta.js 170 B
./react/rh-dialog/rh-dialog.js 203 B
./react/rh-disclosure/rh-disclosure.js 192 B
./react/rh-footer/rh-footer-block.js 184 B
./react/rh-footer/rh-footer-copyright.js 187 B
./react/rh-footer/rh-footer-links.js 185 B
./react/rh-footer/rh-footer-social-link.js 193 B
./react/rh-footer/rh-footer-universal.js 188 B
./react/rh-footer/rh-footer.js 174 B
./react/rh-health-index/rh-health-index.js 184 B
./react/rh-icon/rh-icon.js 195 B
./react/rh-jump-links/rh-jump-link.js 183 B
./react/rh-jump-links/rh-jump-links-list.js 189 B
./react/rh-jump-links/rh-jump-links.js 195 B
./react/rh-menu/rh-menu.js 173 B
./react/rh-navigation-primary/rh-navigation-primary-item-menu.js 205 B
./react/rh-navigation-primary/rh-navigation-primary-item.js 198 B
./react/rh-navigation-primary/rh-navigation-primary-overlay.js 199 B
./react/rh-navigation-primary/rh-navigation-primary.js 189 B
./react/rh-navigation-secondary/rh-navigation-secondary-dropdown.js 217 B
./react/rh-navigation-secondary/rh-navigation-secondary-menu-section.js 205 B
./react/rh-navigation-secondary/rh-navigation-secondary-menu.js 199 B
./react/rh-navigation-secondary/rh-navigation-secondary-overlay.js 201 B
./react/rh-navigation-secondary/rh-navigation-secondary.js 213 B
./react/rh-pagination/rh-pagination.js 178 B
./react/rh-site-status/rh-site-status.js 181 B
./react/rh-skip-link/rh-skip-link.js 181 B
./react/rh-spinner/rh-spinner.js 175 B
./react/rh-stat/rh-stat.js 171 B
./react/rh-subnav/rh-subnav.js 175 B
./react/rh-surface/rh-surface.js 175 B
./react/rh-switch/rh-switch.js 174 B
./react/rh-table/rh-sort-button.js 200 B
./react/rh-table/rh-table.js 174 B
./react/rh-tabs/rh-tab-panel.js 181 B
./react/rh-tabs/rh-tab.js 187 B
./react/rh-tabs/rh-tabs.js 174 B
./react/rh-tag/rh-tag.js 182 B
./react/rh-tile/rh-tile-group.js 183 B
./react/rh-tile/rh-tile.js 181 B
./react/rh-timestamp/rh-timestamp.js 176 B
./react/rh-tooltip/rh-tooltip.js 175 B
./react/rh-video-embed/rh-video-embed.js 227 B
./uxdot/ssr-failure-recoverable.js 581 B
./uxdot/uxdot-best-practice.js 812 B
./uxdot/uxdot-color-scheme-picker.js 1.56 kB
./uxdot/uxdot-copy-button.js 1.24 kB
./uxdot/uxdot-copy-permalink.js 1.1 kB
./uxdot/uxdot-demo.js 2.74 kB
./uxdot/uxdot-example.js 1.14 kB
./uxdot/uxdot-feedback.js 882 B
./uxdot/uxdot-header.js 1.02 kB
./uxdot/uxdot-knob-attribute.js 3.53 kB
./uxdot/uxdot-masthead.js 1.36 kB
./uxdot/uxdot-pattern-ssr-controller-client.js 615 B
./uxdot/uxdot-pattern-ssr-controller-server.js 1.72 kB
./uxdot/uxdot-pattern-ssr-controller.js 213 B
./uxdot/uxdot-pattern.js 2.23 kB
./uxdot/uxdot-repo-status-checklist.js 1.16 kB
./uxdot/uxdot-repo-status-list.js 1.07 kB
./uxdot/uxdot-repo-status-table.js 782 B
./uxdot/uxdot-repo.js 1.17 kB
./uxdot/uxdot-search.js 2.39 kB
./uxdot/uxdot-sidenav.js 2.68 kB
./uxdot/uxdot-spacer-tokens-table.js 2.46 kB
./uxdot/uxdot-toc.js 1.8 kB

compressed-size-action

@bennypowers

Copy link
Copy Markdown
Member

good catch, @zeroedin . could have been a bad merge. I'm happy to revert those lines

@bennypowers
bennypowers merged commit 26b97c9 into staging/diglett Jul 29, 2025
8 checks passed
@bennypowers
bennypowers deleted the fix/footer/nojs-styles branch July 29, 2025 14:37
markcaron added a commit that referenced this pull request Aug 6, 2025
* fix:(tag): improve color contrast of gray tags on dark color schemes (#2325)

* fix(tag): improve color contrast on gray tags in dark schemes

* docs(tag): improve slotted SVG color contrast on dark schemes

* docs(tag): fix `grey` vs `gray` in alt text

* chore(tag): add changeset

* feat(breadcrumb): add truncation (#2357)

* feat(breadcrumb): add ability to truncate middle breadcrumb items

This code was developed with possible assistance by generative AI.

* chore(breadcrumb): add changeset

* fix(breadcrumb): only truncate when `truncate` attr is present

This code was developed with possible assistance by generative AI.

* test(breadcrumb): fix `handleEvent` uncaught TypeError

This code was developed with possible assistance by generative AI.

* docs(breadcrumb): update changeset prose

Co-authored-by: Benny Powers - עם ישראל חי! <bennypowers@users.noreply.github.com>

* refactor(breadcrumb): rename truncate lightdom classes

* refactor(breadcrumb): nest `[hidden]` under `rh-breadcrumb` selector

* fix(breadcrumb): implement `render()` method for `truncate` functionality

This code was developed with possible assistance by generative AI.

* refactor: nest lightdom css

* refactor: minor nitpicks

* fix(breadcrumb): add `type` attr to truncate button

* fix(breadcrumb): underline truncation button / ellipsis

* fix(breadcrumb): use logical properties

* lint(breadcrumb): css

* test(breadcrumb): add tests for `truncate`

This code was developed with possible assistance by generative AI.

* test(breadcrumb): unify test examples

* test(breadcrumb): add null guards

---------

Co-authored-by: Benny Powers - עם ישראל חי! <bennypowers@users.noreply.github.com>
Co-authored-by: Benny Powers <web@bennypowers.com>

* feat(code-block): hide line numbers (#2319)

* feat(code-block): add attribute/ability to hide line numbers

* chore(code-block): add changeset

* style(code-block): lint typescript and css

* fix(code-block): change attr to `line-numbers` in place of `hide-line-numbers`

* refactor(code-block): rename `lineNumbers` variable

* chore(code-block): update changeset example

* fix(code-block): prevent possible SSR mismatch errors

* docs(code-block): add `line-numbers="hidden"` docs

* fix(card): allow light(est/er) and dark(est/er) color palettes (#2329)

* fix(card): allow all six color palettes on card

* docs(card): allow all color palettes in nested color context demo

* docs(card): add terminology clarifying color palette usage vs backgrounds

* docs(card): use `darkest` color palette with Promo demo as docs instruct

* chore(card): add changeset

* style(card): lint css

* fix(card): correct `color-palette` / card background behavior ("Option 3")

* docs(card): color context prose

* style(card): lint css

* docs(card): move color palette docs to style page

* fix(card): use `--rh-color-surface` for both `.light` and `.dark`

* refactor(card): surface colors for card background when `color-palette` is set

* refactor(card): move `computedPalette` to `willUpdate()`

* refactor(card): move promo vars to render method

* perf(code-block): avoid unnecessarily computing line numbers (#2415)

* feat(code-block): reduce line numbers load

* feat(code-block): adding return to computeLineNumbers

* docs: changeset

---------

Co-authored-by: Benny Powers - עם ישראל חי! <bennypowers@users.noreply.github.com>

* fix(code-block): fix failing build (#2421)

* fix(code-block): fix syntax error breaking build

* chore(code-block): add changeset

* style: revert remove dom

This is kind of a six-of-one scenario. is it better to remove DOM?
or is it better to avoid thrashing the DOM when we add and remove on
changes?
In either case, I think It's more readable this way, even if there's
an empty, aria-hidden dom node

* chore: delete .changeset/shy-coins-fall.md

---------

Co-authored-by: Benny Powers <web@bennypowers.com>
Co-authored-by: Benny Powers - עם ישראל חי! <bennypowers@users.noreply.github.com>

* feat(tag): add interactive states (#2407)

* fix(tag): remove errant curly brace from demo

* fix(tag): use logical properties

* fix(tag): update interactive (link) tag styles

* style(tag): alphabetize CSS selectors

* fix(tag): make focus and active state include icon

* feat(tag): add functionality for disabled linked tags

* docs(tag): rename label 👉 tag in api docs

* docs(tag): remove docs for `close` nonexistent event

* docs(tag): rename demo to `links.html`

* feat(tag): add ability to make a tag a `<button>`

* feat(tag): FACE + click event for button tags

* docs(tag): rename buttons demo

* docs(tag): add changeset

* docs(tag): update bi-modal `overview.svg`

* docs(tag): update Style page

* docs(tag): update guidelines page

* docs(tag): update a11y page images

* fix(tag): remove button variant

See #2407 (comment) for more info.

* fix(tag): allow clicks to pass through active state

* fix(tag): keep `cursor: pointer;` for the active state on linked tags

* docs(tag): remove button tag info from docs

* fix(tag): remove button callback and event

Co-authored-by: Benny Powers - עם ישראל חי! <bennypowers@users.noreply.github.com>

* chore(tag): update changeset

* fix(tag): prevent disabled linked tags from navigating to a URL

---------

Co-authored-by: marionnegp <mapatel@redhat.com>
Co-authored-by: Benny Powers - עם ישראל חי! <bennypowers@users.noreply.github.com>

* fix(footer): remove console warnings (#2468)

* fix(footer): remove logger warnings, use ifDefined

* chore(footer): add changeset

* feat(navigation-primary): bimodal logo (#2463)

* fix(navigation-primary): add bimodal svg, logo-url and logo-text-hide-at attributes

* chore(navigation-primary): add changeset

* docs(navigation-primary): add logo attributes demo

* fix(navigation-primary): change name of logo-url to logo-href to closer match other apis

* fix(navigation-primary): allow xs breakpoint

* fix(navigation-primary): set default to xl for logo-text-hide-at

* fix(accordion): remove accidental style commit

* chore(navigation-primary): update changeset

* fix(navigation-primary): remove configureable attribute for breakpoint of logo text

* fix(navigation-primary): remove href property

* docs: update changeset, demos

---------

Co-authored-by: Benny Powers <web@bennypowers.com>
Co-authored-by: Benny Powers - עם ישראל חי! <bennypowers@users.noreply.github.com>

* feat: update inline link underline styles (#2418)

* feat: remove underline from rh-breadcrumbs, remove link underline styles from avatar and table css

* feat: add dashed underline style to skip link and pagination

* feat: updated link styles for footer and tile

* feat(pagination): update underline style for focus state

* fix(breadcrumbs): fix after merge

* fix(footer): fix order of css for footer links

* fix(uxdot-feedback): use correct blues for link

* fix(uxdot-feedback): fixed css line length

* feat: add changeset

* fix(breadcrumb): fix stylelint problem

* feat(footer): update text decoration and transition properties

* feat(pagination, skip link): fix transition and text-decoration thickness

* feat: fix text decoration properties for tile and add variable fallback for footer, pagination, skip link

* docs(links): update the example CSS for inline links' underlines

* docs(avatar): update link styles in images

* docs(avatar, breadcrumbs): update link style in images

* fix(footer): replace broken token

* feat(breadcrumb): add dashed underline to hover states

* docs(avatar, breadcrumbs): replace images in docs

* docs: update footer images and add .avif to 11ty's list of files

* docs(pagination): update images

* feat(skip link): update hover and active styles

* fix(skip link): fix broken docs image

* docs(table): update inline link styles in images

* docs(pagination): update overview.svg

* Update .changeset/red-parks-drop.md

Co-authored-by: Adam Johnson <adjohnso@redhat.com>

* docs(footer): document link font size in JS file

---------

Co-authored-by: Adam Johnson <adjohnso@redhat.com>
Co-authored-by: Adam Johnson <adam.b.johnson1@gmail.com>

* chore(inline-links): change minor to patch changeset

* test(cta): add regression tests for missing arrow icon (#2473)

* chore(cta): add `PfeDemoPage.js` to `package.json` exports via `patch-package`

* test(cta): add e2e tests for CTA icons, update existing tests to pass

* chore: delete patches/@patternfly+pfe-tools+4.0.3.patch

* fix(cta): remove optional chaining operator from element in e2e tests

---------

Co-authored-by: Benny Powers - עם ישראל חי! <bennypowers@users.noreply.github.com>

* chore: revert line from merge

* style: lint

* fix(footer): nojs min-height styles (#2541)

* fix(footer): correct application of nojs min-height styles

* chore(footer): add changeset

* chore: remove local dotfile

* style: lint

---------

Co-authored-by: Benny Powers <web@bennypowers.com>
Co-authored-by: Benny Powers - עם ישראל חי! <bennypowers@users.noreply.github.com>

* docs: add Patterns > Tag page (#2431)

* docs(tag pattern): start drafting content for new patterns > tag page

* fix: fix order of pattern pages and font size of code in alerts

* docs(tag pattern): add images for interactive states

* docs(tag pattern): add example

* Change border-width of rh-tag pattern on hover

Co-authored-by: Adam Johnson <adjohnso@redhat.com>

* docs(tag pattern): fix indentation

* docs(tag pattern): remove button without tag inside

* docs: fix patterns' page order

* docs(tag pattern): fix interactive state images and update focus style

* docs(tag pattern): remove unnecessary imports

Co-authored-by: Adam Johnson <adjohnso@redhat.com>

* docs(tag pattern): remove line break in <uxdot-pattern>

Co-authored-by: Adam Johnson <adjohnso@redhat.com>

* docs(tag pattern): reformat to match other <style> tags in element docs

Co-authored-by: Adam Johnson <adjohnso@redhat.com>

---------

Co-authored-by: Adam Johnson <adjohnso@redhat.com>

* docs: patch pfe-tools demo helpers

* docs: passthrough global css from tokens to dev server

cc @adamjohnson

* feat(skeleton): add `<rh-skeleton>` (#2430)

* feat(skeleton): add `<rh-skeleton>`

* docs(skeleton): add prose to readme

* docs(skeleton): move `overview.svg` to `/docs`

* fix(skeleton): remove `aria-busy`

Only to be used in live regions.

* test(skeleton): add a11y tests

* docs(skeleton): add content to Overview page

* docs(skeleton): add content to Style page

* docs(skeleton): add content to Guidelines page

* docs(skeleton): update Accessibility page content

* docs(skeleton): add `screenshot.png` for localhost previews

* fix(skeleton): change `<p>` to `<span>` in shadowdom

* fix(skeleton): update background gradient opacities

* fix(skeleton): square skeleton default border radius

* fix(skeleton): sizing of various `size`'s

* docs(skeleton): update docs for bennypowers/cem

* fix(skeleton): scope `size` attr to not apply to shape skeletons

* docs(skeleton): update content

* fix(skeleton): update skeleton types to include `heading`/`body-copy` + updated size tokens

* docs(skeleton): update size info for shape skeletons

* docs(skeleton): delete overview.svg

---------

Co-authored-by: marionnegp <mapatel@redhat.com>
Co-authored-by: Benny Powers <web@bennypowers.com>

* feat(scheme-toggle): added `<rh-scheme-toggle>` (#2448)

* initial commit for scheme-toggle, need to refactor css to use class attached to fieldset

* added styes for ststem default

* added the reset of the styles to add system default

* refactored css to rely on theme tokens

* chore(scheme-toggle): linting

* fix(scheme-toggle): cleaning up unused code

* fix(scheme-toggle): clean up commments and made css revisions

* test(scheme-toggle): added tests

* test:(rh-scheme-toggle) updated tests to use accessibility tree

* fix(scheme-toggle): removed connected callback and firstUpdated, now handled with default settings

* fix(scheme-togg): fixed linting errors

* chore: removed color-palette attribute from web-dev-server

Co-authored-by: Benny Powers - עם ישראל חי! <bennypowers@users.noreply.github.com>

* chore: adjusted tests so it statments are only related to outcomes

* chore: added css fallbacks

* fix(scheme-toggle): added server checks, added lifecyle firstUpdated

* fix(scheme-toggle): corrected CSS styling for light and dark states

* fix(scheme-toggle): Added recommended fallback values.

Co-authored-by: Adam Johnson <adjohnso@redhat.com>

* chore(scheme-toggle): added summary and description, refactored schemeCheck

* fix(scheme-toggle): removed style that was breaking light mode

* chore(scheme-toggle): added changeset

* chore(scheme-toggl): fix verbiage

Co-authored-by: Adam Johnson <adjohnso@redhat.com>

* chore(scheme-toggle): update repostatus

* chore(scheme-toggle): updated readme

* Update elements/rh-scheme-toggle/rh-scheme-toggle.ts

Co-authored-by: Benny Powers - עם ישראל חי! <bennypowers@users.noreply.github.com>

* docs: inline docs

* refactor: we little css refactor

* fix(scheme-toggle): remove margin from fieldset, host display block

* docs: implement rh-scheme-toggle

* refactor: move state setup to connectedCallback

* docs(scheme-toggle): draft docs

These should be revised (cc @coreyvickery) shortly after release

---------

Co-authored-by: Chase Gatyas <cgatyas@redhat.com>
Co-authored-by: Benny Powers - עם ישראל חי! <bennypowers@users.noreply.github.com>
Co-authored-by: Adam Johnson <adjohnso@redhat.com>
Co-authored-by: Benny Powers <web@bennypowers.com>
Co-authored-by: Steven Spriggs <steven.spriggs@gmail.com>

* chore: changesets formatting, typos

* feat(progress-stepper): add <rh-progress-stepper> element (#2449)

* Progress Stepper Redux

* Fix Lint Errors

* Addressing feedback

* feat(progress-step): adjusting active to inactive step-line-color

* Update demos, slots, and styles

* Address latest feedback

* Pushing latest changes

* Fix lint errors and status

* docs(progress-stepper): inline docs

* docs(progress-stepper): readme

* feat(progress-stepper): CSS cleanup and vertical fixes

* feat(progress-stepper): fixing thumbnail and adding themable to element

* feat(progress-stepper): fixing demos to be simpler and adding color-context and label-attribute demos

* docs(progress-stepper): tag aliases

* feat(progress-stepper): adding new demos, improving API on compact, fixing linked labels, and more

* docs(progress-stepper): update content on Overview page

* docs(progress-stepper): remove outdated code.md page

* docs(progress-stepper): update content on Style page

* docs(progress-stepper): remove outdated images on Guidelines page

* docs(progress-stepper): update content on Guidelines page. WIP.

* docs(progress-stepper): add rwd and best practices to guidelines page

* docs(progress-stepper): add a11y docs page and content

* docs(progress-stepper): update content for all elements page

* feat(progress-stepper): adding mobile support, cleaning up host styles

* chore(progress-stepper): match changeset to RHDS new element formatting

* test(progress-stepper): add some initial tests

* style: whitespace

* refactor: make current step a context

* feat(progress-stepper): minor css grid adjustments to match designs more closely

* fix(progress-stepper): output current step to shadowdom for non-compact variants

* feat(progress-stepper): updates to JSDocs

* docs(progress-stepper): Adding coming soon to interaction states section

* Update elements/rh-progress-stepper/README.md

Co-authored-by: Adam Johnson <adjohnso@redhat.com>

* Update elements/rh-progress-stepper/rh-progress-stepper.css

Co-authored-by: Adam Johnson <adjohnso@redhat.com>

* Update elements/rh-progress-stepper/rh-progress-step.css

Co-authored-by: Adam Johnson <adjohnso@redhat.com>

* Update elements/rh-progress-stepper/rh-progress-step.css

Co-authored-by: Adam Johnson <adjohnso@redhat.com>

* Update elements/rh-progress-stepper/rh-progress-step.css

Co-authored-by: Adam Johnson <adjohnso@redhat.com>

* feat(progress-stepper): addressing 5 of 7 of Marionne' design feedback

* style(progress-stepper): fix lint issue on --rh-color-status-disabled

* fix(progress-stepper): spacing/grid  issues per Marionne

* test(progress-stepper): removing unused a11ySnapshot

* docs: ssr progress stepper

* docs(progress-stepper): update demos, jsdoc

Prefer attributes to slots

* perf(progress-stepper): recompute state as needed

Also improves inline documentation

* fix(progress-stepper): always treat icon as an active step

Also, don't reflect default "inactive" state

* docs: disable ssr for progress stepper

* fix(progress-stepper): make custom icon font weight medium, like active state

---------

Co-authored-by: Mark Caron <mark.caron@gmail.com>
Co-authored-by: Benny Powers <web@bennypowers.com>
Co-authored-by: Benny Powers - עם ישראל חי! <bennypowers@users.noreply.github.com>
Co-authored-by: Adam Johnson <adam.b.johnson1@gmail.com>
Co-authored-by: Mark Caron <markcaron@users.noreply.github.com>
Co-authored-by: Adam Johnson <adjohnso@redhat.com>

* docs(release-notes): updating release notes for Diglett v3.1 (#2547)

* docs(release-notes): updating release notes for Diglett v3.1

* fix(release-notes): alphabetizing highlights

---------

Co-authored-by: Adam Johnson <adjohnso@redhat.com>
Co-authored-by: Mark Caron <markcaron@users.noreply.github.com>
Co-authored-by: marionnegp <mapatel@redhat.com>
Co-authored-by: Steven Spriggs <steven.spriggs@gmail.com>
Co-authored-by: Marionne Patel <95588923+marionnegp@users.noreply.github.com>
Co-authored-by: Adam Johnson <adam.b.johnson1@gmail.com>
Co-authored-by: Chase Gatyas <MagRat04@users.noreply.github.com>
Co-authored-by: Chase Gatyas <cgatyas@redhat.com>
Co-authored-by: Luke <ldary@redhat.com>
Co-authored-by: Mark Caron <mark.caron@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done ☑️

Development

Successfully merging this pull request may close these issues.

2 participants