pull/1123/head
Cory LaViska 2023-01-09 14:25:26 -05:00
rodzic a90b22c05d
commit 02fc39ebe0
2 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -11,6 +11,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti
## Next
- Added support for the `inert` attribute on `<sl-menu-item>` to allow hidden menu items to not accept focus [#1107](https://github.com/shoelace-style/shoelace/issues/1107)
- Added `tags` and `tag` parts to `<sl-select>`
- Fixed a bug in `<sl-select>` that prevented placeholders from showing when `multiple` was used [#1109](https://github.com/shoelace-style/shoelace/issues/1109)
- Fixed a bug in `<sl-select>` that caused tags to not be rounded when using the `pill` attribute [#1117](https://github.com/shoelace-style/shoelace/issues/1117)
- Fixed a bug in `<sl-color-picker>` that logged a console error when parsing swatches with whitespace

Wyświetl plik

@ -55,6 +55,8 @@ import type { CSSResultGroup } from 'lit';
* @csspart prefix - The container that wraps the prefix slot.
* @csspart display-input - The element that displays the selected option's label, an `<input>` element.
* @csspart listbox - The listbox container where options are slotted.
* @csspart tags - The container that houses option tags when `multiselect` is used.
* @csspart tag - The individual tags that represent each multiselect option.
* @csspart clear-button - The clear button.
* @csspart expand-icon - The container that wraps the expand icon.
*/
@ -707,6 +709,7 @@ export default class SlSelect extends ShoelaceElement implements ShoelaceFormCon
if (index < this.maxOptionsVisible || this.maxOptionsVisible <= 0) {
return html`
<sl-tag
part="tag"
?pill=${this.pill}
size=${this.size}
removable