Introduce TextField by adding the ui_text_field crate (#10361)
There hasn't been a componentized way to create inputs or text fields thus far due to the innate circular dependency between the `ui` and `editor` crates. To bypass this issue we are introducing a new `ui_text_field` crate to specifically handle this component. `TextField` provides the ability to add stacked or inline labels, as well as applies a standard visual style to inputs. Example:  We'll continue to evolve this component in the near future and start using it in the app once we've built out the needed functionality. Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
co-authored by
Marshall Bowers
parent
d03f1c4cab
commit
03d853d344
Generated
+11
@@ -10718,6 +10718,17 @@ dependencies = [
|
||||
"windows 0.53.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ui_text_field"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"editor",
|
||||
"gpui",
|
||||
"settings",
|
||||
"theme",
|
||||
"ui",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "unicase"
|
||||
version = "2.7.0"
|
||||
|
||||
Reference in New Issue
Block a user