From 985d4585c4a69aab8afc3cd1912e9eaba4ce296a Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Wed, 21 Jun 2023 11:07:02 -0400 Subject: [PATCH] fixes #1387 (#1392) --- docs/pages/resources/changelog.md | 4 ++++ src/components/select/select.styles.ts | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/pages/resources/changelog.md b/docs/pages/resources/changelog.md index 49e9a51f..7f0ce35a 100644 --- a/docs/pages/resources/changelog.md +++ b/docs/pages/resources/changelog.md @@ -12,6 +12,10 @@ Components with the Experimental bad New versions of Shoelace are released as-needed and generally occur when a critical mass of changes have accumulated. At any time, you can see what's coming in the next release by visiting [next.shoelace.style](https://next.shoelace.style). +## Next + +- Fixed a regression that caused slotted styles to not work in `` [#1387](https://github.com/shoelace-style/shoelace/issues/1387) + ## 2.5.0 This release [unbundles Lit](https://github.com/shoelace-style/shoelace/issues/559) (and other dependencies) from Shoelace. There are now two distributions for the project: diff --git a/src/components/select/select.styles.ts b/src/components/select/select.styles.ts index 51aae93e..d48dfa20 100644 --- a/src/components/select/select.styles.ts +++ b/src/components/select/select.styles.ts @@ -311,11 +311,11 @@ export default css` max-height: var(--auto-size-available-height); } - .select__listbox::slotted(sl-divider) { + .select__listbox ::slotted(sl-divider) { --spacing: var(--sl-spacing-x-small); } - .select__listbox::slotted(small) { + .select__listbox ::slotted(small) { font-size: var(--sl-font-size-small); font-weight: var(--sl-font-weight-semibold); color: var(--sl-color-neutral-500);