mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-06 21:42:50 +08:00
Allow skins to theme host chrome through a second scope and explicit visibleParts. Official and built-in skins stay decoration-free by default. Harden the CSS compiler so skins cannot hide the document root, push protected controls off-screen, or target the host layer with sibling selectors. Move recovery and authorization UI into a closed Shadow DOM on the top layer, so a third-party skin cannot block the built-in skin reset.
14 lines
587 B
TypeScript
14 lines
587 B
TypeScript
/**
|
|
* Browser-facing re-exports for the static host chrome preview page.
|
|
*
|
|
* Vite serves modules below `web/`, while the host-chrome policy lives in the
|
|
* repository-level `src/shared` tree. Keeping the bridge here lets the preview
|
|
* use exactly the same opt-in and reachability rules as the Vue client.
|
|
*/
|
|
export {
|
|
DEFAULT_HIDDEN_HOST_PARTS,
|
|
resolveHiddenHostParts,
|
|
} from "../../../src/shared/skin-chrome.js";
|
|
export type { SkinChromeDocument } from "../../../src/shared/skin-chrome.js";
|
|
export { isHostPartReachable, shouldShowRecovery } from "./host-chrome-visibility.js";
|