From 92e58b9657b8211fc2685318768b5889b6bfd05d Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 18 Aug 2020 17:08:47 -0400 Subject: [PATCH] Remove menu and panel parts (not breaking); add tag part --- src/components/select/select.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/select/select.tsx b/src/components/select/select.tsx index ed3ca2a08..3ff380e85 100644 --- a/src/components/select/select.tsx +++ b/src/components/select/select.tsx @@ -15,8 +15,7 @@ let id = 0; * @part help-text - The select help text. * @part icon - The select icon. * @part input - The select input. - * @part menu - The internal element's base. - * @part panel - The internal element's panel. + * @part tag - The multiselect option, a element. * @part tags - The container in which multiselect options are rendered. */ @@ -240,6 +239,7 @@ export class Select { this.displayTags = checkedItems.map(item => { return ( + +{total - this.maxTagsVisible} ); @@ -313,7 +313,6 @@ export class Select { (this.dropdown = el)} closeOnSelect={!this.multiple} containingElement={this.host} @@ -365,7 +364,6 @@ export class Select { (this.menu = el)} part="menu" - exportparts="base:menu" class="select__menu" onSlSelect={this.handleMenuSelect} onKeyDown={this.handleMenuKeyDown}