diff --git a/docs/pages/resources/changelog.md b/docs/pages/resources/changelog.md index 6dfc48fe..d5cce306 100644 --- a/docs/pages/resources/changelog.md +++ b/docs/pages/resources/changelog.md @@ -18,6 +18,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti - `` `closable` property now reflects. [#2041] - `` now implements a proper "roving tabindex" and `` is no longer tabbable by default. This aligns closer to the APG pattern for tabs. [#2041] - Fixed a bug in the submenu controller that prevented submenus from rendering in RTL without explicitly setting `dir` on the parent menu item [#1992] +- When calling `customElements.define` we no longer register with anonymous classes by default [#2079] ## 2.15.1 diff --git a/src/components/dropdown/dropdown.component.ts b/src/components/dropdown/dropdown.component.ts index 8796d921..c022860b 100644 --- a/src/components/dropdown/dropdown.component.ts +++ b/src/components/dropdown/dropdown.component.ts @@ -34,7 +34,8 @@ import type SlMenu from '../menu/menu.js'; * @event sl-hide - Emitted when the dropdown closes. * @event sl-after-hide - Emitted after the dropdown closes and all animations are complete. * - * @csspart base - The component's base wrapper. + * @csspart base - The component's base wrapper, an `` element. + * @csspart base__popup - The popup's exported `popup` part. Use this to target the tooltip's popup container. * @csspart trigger - The container that wraps the trigger. * @csspart panel - The panel that gets shown when the dropdown is open. * @@ -406,6 +407,7 @@ export default class SlDropdown extends ShoelaceElement { return html`