diff --git a/src/autocomplete/autocomplete.ts b/src/autocomplete/autocomplete.ts index 12b98a02..b145b46b 100644 --- a/src/autocomplete/autocomplete.ts +++ b/src/autocomplete/autocomplete.ts @@ -33,7 +33,7 @@ type AProps = Omit, keyof RProps> & const blank = () => nothing; -const inputParts = ['input', 'control', 'label', 'line', 'error'] +const inputParts = ['input', 'control', 'label', 'line', 'error', 'wrap'] .map((part) => `${part}: input-${part}`) .join(); diff --git a/test/__snapshots__/cosmoz-autocomplete.test.snap.js b/test/__snapshots__/cosmoz-autocomplete.test.snap.js index 6126a6d8..0d7b2575 100644 --- a/test/__snapshots__/cosmoz-autocomplete.test.snap.js +++ b/test/__snapshots__/cosmoz-autocomplete.test.snap.js @@ -5,7 +5,7 @@ snapshots["cosmoz-autocomplete-ui render"] = ` @@ -58,7 +58,7 @@ snapshots["cosmoz-autocomplete-ui render (limit 1)"] = autocomplete="off" data-one="" data-single="" - exportparts="input: input-input,control: input-control,label: input-label,line: input-line,error: input-error" + exportparts="input: input-input,control: input-control,label: input-label,line: input-line,error: input-error,wrap: input-wrap" id="input" part="input" readonly="" @@ -101,7 +101,7 @@ snapshots["cosmoz-autocomplete-ui render (listbox)"] = ` @@ -137,8 +137,13 @@ snapshots["cosmoz-autocomplete-ui render (listbox)"] = - - + + `; /* end snapshot cosmoz-autocomplete-ui render (listbox) */ @@ -146,7 +151,7 @@ snapshots["cosmoz-autocomplete render"] = ` @@ -188,7 +193,7 @@ snapshots["cosmoz-autocomplete render (deselect)"] = ` @@ -215,5 +220,4 @@ snapshots["cosmoz-autocomplete render (deselect)"] = `; -/* end snapshot cosmoz-autocomplete render (deselect) */ - +/* end snapshot cosmoz-autocomplete render (deselect) */ \ No newline at end of file