@glasshome/widget-cli 0.14.0 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glasshome/widget-cli",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"description": "CLI for creating and managing GlassHome widgets",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@fontsource-variable/geist-mono": "^5.2.8",
|
|
31
31
|
"@glasshome/sync-layer": "0.9.0",
|
|
32
32
|
"@glasshome/widget-contract": "0.3.0",
|
|
33
|
-
"@glasshome/widget-sdk": "1.17.
|
|
33
|
+
"@glasshome/widget-sdk": "1.17.1",
|
|
34
34
|
"@iconify-json/lucide": "^1.2.0",
|
|
35
35
|
"@iconify-json/mdi": "^1.2.3",
|
|
36
36
|
"@iconify/utils": "^3.1.4",
|
|
@@ -223,6 +223,8 @@ async function main(): Promise<void> {
|
|
|
223
223
|
};
|
|
224
224
|
mount(stage, def, config, ctx, css);
|
|
225
225
|
|
|
226
|
+
// fonts.ready settles before the shadow root's text is laid out, so a cold page captures the fallback face.
|
|
227
|
+
await Promise.all([...document.fonts].map((face) => face.load().catch(() => undefined)));
|
|
226
228
|
await document.fonts.ready;
|
|
227
229
|
// Signal to the capture driver that mount + fonts settled.
|
|
228
230
|
document.documentElement.setAttribute("data-harness-ready", "1");
|