From fbd15cb1440e28e728c86c2b7b4bb6d2abffb4bf Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Sat, 25 Jan 2025 08:15:55 -0800 Subject: [PATCH 1/2] Update Input.astro --- packages/studiocms_ui/src/components/Input/Input.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ From 93f21b11a64961f5f4f9233e1232442206ff730e Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Sat, 25 Jan 2025 08:17:50 -0800 Subject: [PATCH 2/2] Create fast-bears-clean.md --- .changeset/fast-bears-clean.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/fast-bears-clean.md 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