@protobase/cli 0.104.0 → 0.104.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/dist/cli/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/cli",
|
|
3
|
-
"version": "0.104.
|
|
3
|
+
"version": "0.104.1",
|
|
4
4
|
"description": "The protobase command: scaffold, doctor, dev, build and serve a Protobase project.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@better-auth/core": "^1.7.12",
|
|
45
45
|
"@hono/node-server": "^2.1.3",
|
|
46
|
-
"@protobase/config": "0.104.
|
|
47
|
-
"@protobase/layout": "0.104.
|
|
48
|
-
"@protobase/query": "0.104.
|
|
49
|
-
"@protobase/schema": "0.104.
|
|
50
|
-
"@protobase/server": "0.104.
|
|
51
|
-
"@protobase/ui": "0.104.
|
|
52
|
-
"@protobase/workflows": "0.104.
|
|
46
|
+
"@protobase/config": "0.104.1",
|
|
47
|
+
"@protobase/layout": "0.104.1",
|
|
48
|
+
"@protobase/query": "0.104.1",
|
|
49
|
+
"@protobase/schema": "0.104.1",
|
|
50
|
+
"@protobase/server": "0.104.1",
|
|
51
|
+
"@protobase/ui": "0.104.1",
|
|
52
|
+
"@protobase/workflows": "0.104.1",
|
|
53
53
|
"@react-email/render": "^2.1.0",
|
|
54
54
|
"@scalar/hono-api-reference": "^0.12.10",
|
|
55
55
|
"@sentry/vite-plugin": "^11.10.0",
|
|
@@ -53,7 +53,7 @@ The app's `index.html` links `/protobase.theme.css` after its own stylesheets, s
|
|
|
53
53
|
|
|
54
54
|
Each user picks light, dark or "System" with the theme switch in the profile menu, a visitor who is not signed in with the one above "Sign in" at the bottom of the sidebar, and the app follows their system's setting until they pick one. The choice is kept in their browser (`localStorage`, under `protobase:theme`), so it holds on every visit and in every tab; with storage blocked the app follows the system.
|
|
55
55
|
|
|
56
|
-
The app draws dark by setting `data-theme="dark"` on the `<html>` element, and `data-theme="light"` for light. The app's `index.html` sets it with a small script in its `<head>`, before the first paint, and draws the app's background in that theme, with the app's spinner after a moment, until the app has drawn its first page, the sign-in page or the home page, over it: from the first paint on, the page never flashes or changes its background while the app loads. The background is the `--background` token of your `protobase.theme.css`, or the default without one. Native parts of the page, such as scrollbars and date pickers, follow it too (`color-scheme`).
|
|
56
|
+
The app draws dark by setting `data-theme="dark"` on the `<html>` element, and `data-theme="light"` for light. The app's `index.html` sets it with a small script in its `<head>`, before the first paint, and draws the app's background in that theme, with the app's spinner after a moment, until the app has drawn its first page, the sign-in page or the home page, over it: from the first paint on, the page never flashes or changes its background while the app loads. The background is the `--background` token of your `protobase.theme.css`, or the default without one. Native parts of the page, such as scrollbars and date pickers, follow it too (`color-scheme`). When the start fails, because the app's script does not load, the app fails before its first page, or that page has not come after 15 seconds, the spinner gives way to a message, in English, that the app did not load, with a **Try again** button that reloads the page; a slow start that draws its first page after all still takes it away. <gap>The start's failure message cannot follow the browser's language because translating it outside the app's translations is not implemented.</gap>
|
|
57
57
|
|
|
58
58
|
Pictures, file previews and maps keep their own colors in dark: a map draws in the style the project names for it. A theme's `[data-theme="dark"]` values win over the app's dark ones, as its `:root` values win over the app's light ones, and a `:root` value without a dark one holds in dark too.
|
|
59
59
|
|