diff --git a/.changeset/fast-bears-clean.md b/.changeset/fast-bears-clean.md new file mode 100644 index 0000000..2b5ecfd --- /dev/null +++ b/.changeset/fast-bears-clean.md @@ -0,0 +1,5 @@ +--- +"@studiocms/ui": patch +--- + +Update Input component to allow search type diff --git a/packages/studiocms_ui/src/components/Input/Input.astro b/packages/studiocms_ui/src/components/Input/Input.astro index def7144..396c832 100644 --- a/packages/studiocms_ui/src/components/Input/Input.astro +++ b/packages/studiocms_ui/src/components/Input/Input.astro @@ -14,7 +14,7 @@ interface Props extends HTMLAttributes<'input'> { /** * The type of the input. Defaults to `text`. */ - type?: 'text' | 'password' | 'email' | 'number' | 'tel' | 'url'; + type?: 'text' | 'password' | 'email' | 'number' | 'tel' | 'url' | 'search'; /** * The placeholder of the input. */