mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 20:19:13 +00:00
on second thought
This commit is contained in:
@@ -15,7 +15,7 @@ During the alpha period, things might break! We take breaking changes very serio
|
||||
## Next
|
||||
|
||||
- Added an orientation example to the native radio docs
|
||||
- Added the `tag-counter` part to `<wa-select>` to allow targeting the tag that shows when more than the max number of visible items has been selected
|
||||
- Added the `tag` part (and associated exported parts) to `<wa-select>` to allow targeting the tag that shows when more than the max number of visible items have been selected
|
||||
- Fixed a number of broken event listeners throughout the docs
|
||||
- Fixed a bug in `<wa-card>` that prevented slots from showing automatically without `with-` attributes
|
||||
|
||||
|
||||
@@ -71,10 +71,6 @@ import styles from './select.css';
|
||||
* @csspart tag__content - The tag's content part.
|
||||
* @csspart tag__remove-button - The tag's remove button.
|
||||
* @csspart tag__remove-button__base - The tag's remove button base part.
|
||||
* @csspart tag-counter - The tag that shows when more than the max number of options have been shown.
|
||||
* @csspart tag-counter__content - The tag counter's content part.
|
||||
* @csspart tag-counter__remove-button - The tag counter's remove button.
|
||||
* @csspart tag-counter__remove-button__base - The tag counter's remove button base part.
|
||||
* @csspart clear-button - The clear button.
|
||||
* @csspart expand-icon - The container that wraps the expand icon.
|
||||
*
|
||||
@@ -666,12 +662,12 @@ export default class WaSelect extends WebAwesomeFormAssociatedElement {
|
||||
// Hit tag limit
|
||||
return html`
|
||||
<wa-tag
|
||||
part="tag-counter"
|
||||
part="tag"
|
||||
exportparts="
|
||||
base:tag-counter__base,
|
||||
content:tag-counter__content,
|
||||
remove-button:tag-counter__remove-button,
|
||||
remove-button__base:tag-counter__remove-button__base
|
||||
base:tag__base,
|
||||
content:tag__content,
|
||||
remove-button:tag__remove-button,
|
||||
remove-button__base:tag__remove-button__base
|
||||
"
|
||||
>+${this.selectedOptions.length - index}</wa-tag
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user