From 967208d69b4cc77464c27998e49ab80bc8d13ea6 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Mon, 2 Oct 2023 09:06:58 -0500 Subject: [PATCH] backport PR 1586 --- docs/pages/resources/changelog.md | 1 + src/components/copy-button/copy-button.component.ts | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/pages/resources/changelog.md b/docs/pages/resources/changelog.md index 7b97f4196..e2a610d08 100644 --- a/docs/pages/resources/changelog.md +++ b/docs/pages/resources/changelog.md @@ -22,6 +22,7 @@ New versions of Web Awesome are released as-needed and generally occur when a cr ## Next - Fixed a bug [in the localize dependency](https://github.com/shoelace-style/localize/issues/20) that caused underscores in language codes to throw a `RangeError` +- Fixed a bug in `` that prevented exported tooltip parts from being styled [#1586] - Updated `@shoelace-style/localize` to 3.1.0 ## 2.9.0 diff --git a/src/components/copy-button/copy-button.component.ts b/src/components/copy-button/copy-button.component.ts index de5f74138..63c1fc3de 100644 --- a/src/components/copy-button/copy-button.component.ts +++ b/src/components/copy-button/copy-button.component.ts @@ -206,9 +206,9 @@ export default class WaCopyButton extends WebAwesomeElement { ?disabled=${this.disabled} ?hoist=${this.hoist} exportparts=" - base:tooltip__base - base__popup:tooltip__base__popup - base__arrow:tooltip__base__arrow + base:tooltip__base, + base__popup:tooltip__base__popup, + base__arrow:tooltip__base__arrow, body:tooltip__body " >