ui_input: TextField -> SingleLineInput (#28031)

- Rename `TextField` -> `SingleLineInput`
- Add a component preview for `SingleLineInput`
- Apply `SingleLineInput` to the AddContextServerModal

Release Notes:

- N/A

---------

Co-authored-by: Agus Zubiaga <hi@aguz.me>
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com>
This commit is contained in:
Nate Butler
2025-04-03 16:00:43 -03:00
committed by GitHub
co-authored by Agus Zubiaga Danilo Leal Danilo Leal
parent 315f1bf168
commit 2086f7d85b
5 changed files with 91 additions and 92 deletions
Generated
+3
View File
@@ -116,6 +116,7 @@ dependencies = [
"time",
"time_format",
"ui",
"ui_input",
"util",
"uuid",
"vim_mode_setting",
@@ -15310,8 +15311,10 @@ dependencies = [
name = "ui_input"
version = "0.1.0"
dependencies = [
"component",
"editor",
"gpui",
"linkme",
"settings",
"theme",
"ui",