diff --git a/docs/examples/KAAK-VOICE.md b/docs/examples/KAAK-VOICE.md index 4bb8136..ccd0b02 100644 --- a/docs/examples/KAAK-VOICE.md +++ b/docs/examples/KAAK-VOICE.md @@ -52,3 +52,5 @@ Member cards are rendered by WebSpeak's trusted `voice.member-cards` widget. It - Shared format and safety rules: [SKIN_DEVELOPMENT.md](../SKIN_DEVELOPMENT.md) KAAK is included in the public skin selector and its `.wskin` archive is also available as a standalone package. After changing the source, run `npm run skin:kaak:build` to rebuild both copies, then run the package tests and verify the connection page, approval, denial, revoke, desktop, and narrow-screen paths in the local browser. The connected voice surface can be verified when a TeamSpeak session is available. + +KAAK 3.1.133 places the application library icon in the server rail, alongside the skin and language controls. It opens the drawer beside the rail. diff --git a/docs/examples/kaak-voice.wskin b/docs/examples/kaak-voice.wskin index f750726..d5d051b 100644 Binary files a/docs/examples/kaak-voice.wskin and b/docs/examples/kaak-voice.wskin differ diff --git a/docs/examples/kaak-voice/components.json b/docs/examples/kaak-voice/components.json index 51453f6..7a0a38b 100644 --- a/docs/examples/kaak-voice/components.json +++ b/docs/examples/kaak-voice/components.json @@ -582,6 +582,7 @@ "widget": "app.language-switcher", "part": "rail-language" }, + {"widget":"voice.plugin-launcher","part":"plugin-launcher","options":{"pluginPresentation":"drawer-side"}}, { "widget": "home.social-links", "part": "rail-links", @@ -865,7 +866,6 @@ "widget": "voice.server-header", "part": "server-summary" }, - {"widget":"voice.plugin-launcher","part":"plugin-launcher","options":{"pluginPresentation":"drawer-side"}}, { "widget": "voice.server-banner", "part": "server-banner" diff --git a/docs/examples/kaak-voice/manifest.json b/docs/examples/kaak-voice/manifest.json index 021a737..64d44a6 100644 --- a/docs/examples/kaak-voice/manifest.json +++ b/docs/examples/kaak-voice/manifest.json @@ -3,7 +3,7 @@ "packageType": "open-skin", "id": "community.kaak-voice", "name": "KAAK", - "version": "3.1.132", + "version": "3.1.133", "author": "WebSpeak Project", "license": "AGPL-3.0-only", "description": "A KOOK-inspired WebSpeak skin with a split-screen connection home, searchable server header, TeamSpeak banner, nested channel members, unified chat with local history, and a compact audio dock.", diff --git a/docs/examples/kaak-voice/skin.css b/docs/examples/kaak-voice/skin.css index f7dff52..92fde35 100644 --- a/docs/examples/kaak-voice/skin.css +++ b/docs/examples/kaak-voice/skin.css @@ -4717,18 +4717,44 @@ } [data-ws-plugin-part="kaak-workspace.plugin-launcher"] { - flex: 0 0 auto; - padding: 4px 8px; - --skin-plugin-app-accent: #a8ed50; + order: 6; + flex: 0 0 var(--skin-kaak-app-button-size); + width: var(--skin-kaak-app-button-size); + --skin-kaak-app-button-size: 58px; } [data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-launcher"] > button { - color: var(--skin-plugin-app-accent); + display: grid; + place-items: center; + padding: 0; + width: var(--skin-kaak-app-button-size); + height: var(--skin-kaak-app-button-size); + border: 1px solid #3d4048; + border-radius: 18px; + color: #d1d5dc; + background: var(--skin-kaak-rail-item-bg); +} +[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-launcher"] > button > span { + display: none; +} +[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-launcher"] > button:is(:hover, :focus-visible, [aria-expanded="true"]) { + border-color: #699b32; + color: #a8ed50; + background: #2b3524; } [data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-drawer"] { + position: fixed; + inset: auto auto max(76px, env(safe-area-inset-bottom)) 86px; + box-sizing: border-box; + width: min(280px, calc(100vw - 98px)); background: #24272a; color: #e8e9ed; border-color: #3d4048; + box-shadow: 0 12px 32px #0006; } -[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-drawer.app"]:hover { +[data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-drawer.app"]:is(:hover, :focus-visible) { background: #2b3524; } +@media (max-height: 620px), (max-width: 500px) { + [data-ws-plugin-part="kaak-workspace.plugin-launcher"] { --skin-kaak-app-button-size: 44px; } + [data-ws-plugin-part="kaak-workspace.plugin-launcher"] [data-ws-part="voice.plugin-launcher"] > button { border-radius: 14px; } +} diff --git a/web/public/skins/kaak-voice.wskin b/web/public/skins/kaak-voice.wskin index f750726..d5d051b 100644 Binary files a/web/public/skins/kaak-voice.wskin and b/web/public/skins/kaak-voice.wskin differ diff --git a/web/src/services/skin-catalog.ts b/web/src/services/skin-catalog.ts index 1cf2c8d..f775151 100644 --- a/web/src/services/skin-catalog.ts +++ b/web/src/services/skin-catalog.ts @@ -46,7 +46,7 @@ export const BUILTIN_SKIN_CATALOG: SkinCatalogEntry[] = [ { id: BUILTIN_KAAK_SKIN_ID, name: "KAAK", - version: "3.1.132", + version: "3.1.133", author: "WebSpeak Project", license: "AGPL-3.0-only", description: "A KOOK-inspired WebSpeak skin with a split-screen connection home, searchable server header, TeamSpeak banner, nested channel members, unified chat with local history, and a compact audio dock.", diff --git a/web/src/services/skin-pack.test.ts b/web/src/services/skin-pack.test.ts index db1f175..fdf202c 100644 --- a/web/src/services/skin-pack.test.ts +++ b/web/src/services/skin-pack.test.ts @@ -490,7 +490,7 @@ test("the distributable KAAK package provides full home and voice surfaces", asy const file = new File([archive], "kaak-voice.wskin", { type: "application/octet-stream" }); const skin = await importSkinPack(file); assert.equal(skin.id, "community.kaak-voice"); - assert.equal(skin.version, "3.1.132"); + assert.equal(skin.version, "3.1.133"); assert.equal(skin.workspace, undefined); assert.equal(skin.minAppVersion, "0.3.2"); assert.equal(BUILTIN_SKIN_CATALOG.find((entry) => entry.id === skin.id)?.version, skin.version);