From 5a0761b0027323e17442f792bd9d5645b8ad198a Mon Sep 17 00:00:00 2001 From: Steven Spriggs Date: Tue, 20 Aug 2024 06:21:21 -0400 Subject: [PATCH] fix(footer): remove deprecated global slot (#1770) * fix(footer): remove deprecated global slot * chore(footer): add changeset * chore(footer): update changeset --- .changeset/breezy-turkeys-clean.md | 5 +++++ elements/rh-footer/rh-footer.ts | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .changeset/breezy-turkeys-clean.md diff --git a/.changeset/breezy-turkeys-clean.md b/.changeset/breezy-turkeys-clean.md new file mode 100644 index 0000000000..bcd259634a --- /dev/null +++ b/.changeset/breezy-turkeys-clean.md @@ -0,0 +1,5 @@ +--- +"@rhds/elements": patch +--- + +``: removed deprecated `global` slot, use `universal` slot diff --git a/elements/rh-footer/rh-footer.ts b/elements/rh-footer/rh-footer.ts index 6a63f231e5..f2ce310085 100644 --- a/elements/rh-footer/rh-footer.ts +++ b/elements/rh-footer/rh-footer.ts @@ -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 `` {@deprecated - use `universal`} * @slot universal - must contain `` * @cssprop [--rh-footer-icon-color=#8a8d90] - * @cssprop [--rh-footer-icon-color-hover=#b8bbbe] - @@ -146,7 +145,7 @@ export class RhFooter extends LitElement { - + `;