feat: add speech component

This commit is contained in:
2026-11-10 20:14:26 +07:00
parent 67f34ead74
commit 2aa2d7034f
8 changed files with 1553 additions and 0 deletions
+6
View File
@@ -11,6 +11,10 @@ gpui-native-theme = { workspace = true }
gpui-native-utils = { workspace = true }
log = "0.4"
unicode-segmentation = "1.12"
flume = { version = "0.12", optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
cpal = { version = "0.18", optional = true }
[dev-dependencies]
gpui = { workspace = true, features = ["test-support"] }
@@ -49,6 +53,7 @@ full = [
"empty_state",
"alert",
"toast",
"speech",
]
button = ["spinner"]
checkbox = []
@@ -81,3 +86,4 @@ dialog = ["button"]
empty_state = []
alert = []
toast = []
speech = ["spinner", "tooltip", "dep:flume", "dep:cpal"]