@frockbot/applet-sdk 0.3.47 → 0.3.48
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/dist/cli.mjs +3 -1
- package/package.json +1 -1
- package/src/cli/build.ts +3 -1
package/dist/cli.mjs
CHANGED
|
@@ -634,7 +634,9 @@ function page(title, script) {
|
|
|
634
634
|
'<meta charset="utf-8">',
|
|
635
635
|
'<meta name="viewport" content="width=device-width, initial-scale=1">',
|
|
636
636
|
`<title>${title.replaceAll("<", "<")}</title>`,
|
|
637
|
-
|
|
637
|
+
// The root gets a definite height so the kit's own root (min-height: 100%)
|
|
638
|
+
// fills the page; without it an Applet ends where its content ends.
|
|
639
|
+
"<style>html,body,#applet-root{margin:0;height:100%;background:var(--frockbot-surface,#ffffff)}</style>",
|
|
638
640
|
"</head>",
|
|
639
641
|
"<body>",
|
|
640
642
|
'<div id="applet-root"></div>',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frockbot/applet-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.48",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Authoring SDK for FrockBot Applets: schema-first Durable Object server, TanStack DB client, component kit, linter, and the `applet` CLI.",
|
package/src/cli/build.ts
CHANGED
|
@@ -89,7 +89,9 @@ function page(title: string, script: string): string {
|
|
|
89
89
|
'<meta charset="utf-8">',
|
|
90
90
|
'<meta name="viewport" content="width=device-width, initial-scale=1">',
|
|
91
91
|
`<title>${title.replaceAll("<", "<")}</title>`,
|
|
92
|
-
|
|
92
|
+
// The root gets a definite height so the kit's own root (min-height: 100%)
|
|
93
|
+
// fills the page; without it an Applet ends where its content ends.
|
|
94
|
+
"<style>html,body,#applet-root{margin:0;height:100%;background:var(--frockbot-surface,#ffffff)}</style>",
|
|
93
95
|
"</head>",
|
|
94
96
|
"<body>",
|
|
95
97
|
'<div id="applet-root"></div>',
|