mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-20 19:08:00 +03:00
Rename ui_text_field
crate to ui_input
(#13949)
This PR renames the `ui_text_field` crate to `ui_input` to make it a bit more generic. We'll likely end up with multiple kinds of input components in this crate. Release Notes: - N/A
This commit is contained in:
parent
1a0242eff7
commit
2925f3d33c
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -8539,7 +8539,7 @@ dependencies = [
|
|||||||
"task",
|
"task",
|
||||||
"terminal_view",
|
"terminal_view",
|
||||||
"ui",
|
"ui",
|
||||||
"ui_text_field",
|
"ui_input",
|
||||||
"util",
|
"util",
|
||||||
"workspace",
|
"workspace",
|
||||||
]
|
]
|
||||||
@ -11738,7 +11738,7 @@ dependencies = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ui_text_field"
|
name = "ui_input"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"editor",
|
"editor",
|
||||||
|
@ -108,7 +108,7 @@ members = [
|
|||||||
"crates/time_format",
|
"crates/time_format",
|
||||||
"crates/title_bar",
|
"crates/title_bar",
|
||||||
"crates/ui",
|
"crates/ui",
|
||||||
"crates/ui_text_field",
|
"crates/ui_input",
|
||||||
"crates/util",
|
"crates/util",
|
||||||
"crates/vcs_menu",
|
"crates/vcs_menu",
|
||||||
"crates/vim",
|
"crates/vim",
|
||||||
@ -259,7 +259,7 @@ theme_selector = { path = "crates/theme_selector" }
|
|||||||
time_format = { path = "crates/time_format" }
|
time_format = { path = "crates/time_format" }
|
||||||
title_bar = { path = "crates/title_bar" }
|
title_bar = { path = "crates/title_bar" }
|
||||||
ui = { path = "crates/ui" }
|
ui = { path = "crates/ui" }
|
||||||
ui_text_field = { path = "crates/ui_text_field" }
|
ui_input = { path = "crates/ui_input" }
|
||||||
util = { path = "crates/util" }
|
util = { path = "crates/util" }
|
||||||
vcs_menu = { path = "crates/vcs_menu" }
|
vcs_menu = { path = "crates/vcs_menu" }
|
||||||
vim = { path = "crates/vim" }
|
vim = { path = "crates/vim" }
|
||||||
|
@ -31,7 +31,7 @@ smol.workspace = true
|
|||||||
task.workspace = true
|
task.workspace = true
|
||||||
terminal_view.workspace = true
|
terminal_view.workspace = true
|
||||||
ui.workspace = true
|
ui.workspace = true
|
||||||
ui_text_field.workspace = true
|
ui_input.workspace = true
|
||||||
util.workspace = true
|
util.workspace = true
|
||||||
workspace.workspace = true
|
workspace.workspace = true
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ use ui::{
|
|||||||
prelude::*, Indicator, List, ListHeader, ListItem, Modal, ModalFooter, ModalHeader,
|
prelude::*, Indicator, List, ListHeader, ListItem, Modal, ModalFooter, ModalHeader,
|
||||||
RadioWithLabel, Tooltip,
|
RadioWithLabel, Tooltip,
|
||||||
};
|
};
|
||||||
use ui_text_field::{FieldLabelLayout, TextField};
|
use ui_input::{FieldLabelLayout, TextField};
|
||||||
use util::ResultExt;
|
use util::ResultExt;
|
||||||
use workspace::{notifications::DetachAndPromptErr, AppState, ModalView, Workspace, WORKSPACE_DB};
|
use workspace::{notifications::DetachAndPromptErr, AppState, ModalView, Workspace, WORKSPACE_DB};
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "ui_text_field"
|
name = "ui_input"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
@ -9,7 +9,7 @@ license = "GPL-3.0-or-later"
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/ui_text_field.rs"
|
path = "src/ui_input.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
editor.workspace = true
|
editor.workspace = true
|
Loading…
Reference in New Issue
Block a user