Skip to content

Commit

Permalink
fix(cosmoz-autocomplete): export part wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
micaelagoffe committed May 2, 2024
1 parent 2b9dcf3 commit a336844
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/autocomplete/autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type AProps<I> = Omit<Props<I>, keyof RProps<I>> &

const blank = () => nothing;

const inputParts = ['input', 'control', 'label', 'line', 'error']
const inputParts = ['input', 'control', 'label', 'line', 'error', 'wrap']
.map((part) => `${part}: input-${part}`)
.join();

Expand Down
12 changes: 6 additions & 6 deletions test/__snapshots__/cosmoz-autocomplete.test.snap.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* @web/test-runner snapshot v1 */
export const snapshots = {};

snapshots["cosmoz-autocomplete-ui render"] =
snapshots["cosmoz-autocomplete-ui render"] =
`<cosmoz-input
always-float-label=""
autocomplete="off"
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"
>
Expand Down Expand Up @@ -52,7 +52,7 @@ snapshots["cosmoz-autocomplete-ui render"] =
`;
/* end snapshot cosmoz-autocomplete-ui render */

snapshots["cosmoz-autocomplete-ui render (limit 1)"] =
snapshots["cosmoz-autocomplete-ui render (limit 1)"] =
`<cosmoz-input
always-float-label=""
autocomplete="off"
Expand Down Expand Up @@ -97,7 +97,7 @@ snapshots["cosmoz-autocomplete-ui render (limit 1)"] =
`;
/* end snapshot cosmoz-autocomplete-ui render (limit 1) */

snapshots["cosmoz-autocomplete-ui render (listbox)"] =
snapshots["cosmoz-autocomplete-ui render (listbox)"] =
`<cosmoz-input
always-float-label=""
autocomplete="off"
Expand Down Expand Up @@ -142,7 +142,7 @@ snapshots["cosmoz-autocomplete-ui render (listbox)"] =
`;
/* end snapshot cosmoz-autocomplete-ui render (listbox) */

snapshots["cosmoz-autocomplete render"] =
snapshots["cosmoz-autocomplete render"] =
`<cosmoz-input
always-float-label=""
autocomplete="off"
Expand Down Expand Up @@ -184,7 +184,7 @@ snapshots["cosmoz-autocomplete render"] =
`;
/* end snapshot cosmoz-autocomplete render */

snapshots["cosmoz-autocomplete render (deselect)"] =
snapshots["cosmoz-autocomplete render (deselect)"] =
`<cosmoz-input
autocomplete="off"
data-one=""
Expand Down

0 comments on commit a336844

Please sign in to comment.