diff --git a/src/autocomplete/autocomplete.ts b/src/autocomplete/autocomplete.ts index 033ebbe5..83323930 100644 --- a/src/autocomplete/autocomplete.ts +++ b/src/autocomplete/autocomplete.ts @@ -31,7 +31,7 @@ type AProps = Omit, keyof RProps> & const blank = () => nothing; -const inputParts = ['input', 'control', 'label', 'line', 'error'] +const inputParts = ['input', 'control', 'label', 'line', 'error', 'chip', 'chip-text', 'chip-clear'] .map((part) => `${part}: input-${part}`) .join(); diff --git a/stories/cosmoz-autocomplete.stories.js b/stories/cosmoz-autocomplete.stories.js index 392d0450..ae5faba6 100644 --- a/stories/cosmoz-autocomplete.stories.js +++ b/stories/cosmoz-autocomplete.stories.js @@ -98,11 +98,14 @@ const css = html` cosmoz-autocomplete::part(input-control) { margin: 0 8px; } + cosmoz-autocomplete::part(chip-clear) { + margin-left: 4px; + }