From a3368443c1b5d15d1f31769075e59b8eb3c4b95a Mon Sep 17 00:00:00 2001 From: Micaela Goffe Date: Thu, 2 May 2024 10:30:17 +0200 Subject: [PATCH] fix(cosmoz-autocomplete): export part wrap --- src/autocomplete/autocomplete.ts | 2 +- test/__snapshots__/cosmoz-autocomplete.test.snap.js | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) 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..c00cd1c3 100644 --- a/test/__snapshots__/cosmoz-autocomplete.test.snap.js +++ b/test/__snapshots__/cosmoz-autocomplete.test.snap.js @@ -1,11 +1,11 @@ /* @web/test-runner snapshot v1 */ export const snapshots = {}; -snapshots["cosmoz-autocomplete-ui render"] = +snapshots["cosmoz-autocomplete-ui render"] = ` @@ -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)"] = `