Skip to content

Commit

Permalink
fix(footer): remove deprecated global slot (#1770)
Browse files Browse the repository at this point in the history
* fix(footer): remove deprecated global slot

* chore(footer): add changeset

* chore(footer): update changeset
  • Loading branch information
zeroedin authored Aug 20, 2024
1 parent 80fd588 commit 5a0761b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/breezy-turkeys-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rhds/elements": patch
---

`<rh-footer>`: removed deprecated `global` slot, use `universal` slot
3 changes: 1 addition & 2 deletions elements/rh-footer/rh-footer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ function isHeaderTagName(tagName: string) {
* @csspart links-accordion-panel - mobile links panel container element
* @slot main-secondary - typically contains prose or promotional content
* @csspart main-secondary - container fro prose or promotional content
* @slot global - must contain `<rh-footer-universal>` {@deprecated - use `universal`}
* @slot universal - must contain `<rh-footer-universal>`
* @cssprop [--rh-footer-icon-color=#8a8d90] -
* @cssprop [--rh-footer-icon-color-hover=#b8bbbe] -
Expand Down Expand Up @@ -146,7 +145,7 @@ export class RhFooter extends LitElement {
</div>
</slot>
</div>
<slot name="universal"><slot name="global"></slot></slot>
<slot name="universal"></slot>
</slot>
</footer>
`;
Expand Down

0 comments on commit 5a0761b

Please sign in to comment.