@protobase/cli 0.94.11 → 0.94.12
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/dist/mobile/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/cli",
|
|
3
|
-
"version": "0.94.
|
|
3
|
+
"version": "0.94.12",
|
|
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.94.
|
|
47
|
-
"@protobase/layout": "0.94.
|
|
48
|
-
"@protobase/query": "0.94.
|
|
49
|
-
"@protobase/schema": "0.94.
|
|
50
|
-
"@protobase/server": "0.94.
|
|
51
|
-
"@protobase/ui": "0.94.
|
|
52
|
-
"@protobase/workflows": "0.94.
|
|
46
|
+
"@protobase/config": "0.94.12",
|
|
47
|
+
"@protobase/layout": "0.94.12",
|
|
48
|
+
"@protobase/query": "0.94.12",
|
|
49
|
+
"@protobase/schema": "0.94.12",
|
|
50
|
+
"@protobase/server": "0.94.12",
|
|
51
|
+
"@protobase/ui": "0.94.12",
|
|
52
|
+
"@protobase/workflows": "0.94.12",
|
|
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",
|
|
@@ -12,4 +12,9 @@ The app's colours, name, icon, language and installation.
|
|
|
12
12
|
- [Named icons](../reference/layouts.md#named-actions): Actions, key facts and card meta show an icon picked by name from a set, such as `play`, `bed` or `cpu`.
|
|
13
13
|
- [English and Dutch](../reference/languages.md): The built-in screens come in English and Dutch, with numbers and dates written to match.
|
|
14
14
|
- [Installable app](../reference/installable-app.md): The admin installs as an app on phones and computers, and says when the server cannot be reached.
|
|
15
|
+
|
|
16
|
+
## Accessibility
|
|
17
|
+
|
|
15
18
|
- Reduced motion: When the system asks for less motion, animations and pulsing dots stop.
|
|
19
|
+
- [Text size](../reference/theme.md#text-size): All text grows with the reader's text size, in the browser and with the phone's text size in the iOS and Android app.
|
|
20
|
+
- Screen readers: Sidebar groups are headings to jump between, each list card reads as one link named by its title, filters read their values' labels, and each page has one main area with headings in order.
|
|
@@ -121,6 +121,12 @@ What they color:
|
|
|
121
121
|
|
|
122
122
|
The list is `packages/ui/src/tokens.css`, and a test fails when one of its tokens disappears.
|
|
123
123
|
|
|
124
|
+
## Text size
|
|
125
|
+
|
|
126
|
+
The app's text follows the reader's text size: every size is in `rem`, so all of it grows with the root size. In a browser that is the browser's own text size; in the [iOS app](../guides/mobile-app.md) the phone's text size, Dynamic Type included, and in the Android app the phone's font size. The base size is 0.875rem, 14px at a browser's default. A plugin's text follows it too when its sizes are in `rem`, such as Tailwind's `text-xs`, rather than pixels.
|
|
127
|
+
|
|
128
|
+
<gap>The phone's top bar cannot fit its buttons at the largest accessibility text sizes, about three times the default, because its icons and buttons grow with the text and the bar neither wraps nor shrinks them.</gap>
|
|
129
|
+
|
|
124
130
|
## Logo and favicon
|
|
125
131
|
|
|
126
132
|
The sidebar's logo is the project's own favicon, or without one the app's initial when it has a name of its own and Protobase's mark when it keeps Protobase's, beside the app's [name](app-identity.md#the-name), with the organization the user works in under it, and the icon alone when the sidebar shows only icons. An app that keeps Protobase's name and has no favicon of its own shows Protobase's wordmark beside the mark. A project draws something else with `shell.logo` in `protobase.ui.tsx`, a component drawn in its place ([Shell slots](custom-components.md#shell-slots)); it draws with these tokens like the rest of the app.
|
|
@@ -129,4 +135,4 @@ The browser tab shows a neutral mark. A project shows its own with a `protobase.
|
|
|
129
135
|
|
|
130
136
|
## In a plugin
|
|
131
137
|
|
|
132
|
-
A plugin's utilities read the same tokens, with Tailwind's default as the fallback where an app sets none: `bg-primary` is `var(--primary)`, `rounded-md` is `var(--radius, 6px)` and `font-sans` is `var(--font, ...)`. So a plugin follows the theme of every app that loads it, without knowing it. Write classes such as `bg-primary`, `text-muted-foreground` and `border-border` rather than fixed colors, and the plugin looks at home in light and dark alike. Text takes the app's base size,
|
|
138
|
+
A plugin's utilities read the same tokens, with Tailwind's default as the fallback where an app sets none: `bg-primary` is `var(--primary)`, `rounded-md` is `var(--radius, 6px)` and `font-sans` is `var(--font, ...)`. So a plugin follows the theme of every app that loads it, without knowing it. Write classes such as `bg-primary`, `text-muted-foreground` and `border-border` rather than fixed colors, and the plugin looks at home in light and dark alike. Text takes the app's base size, 0.875rem, without a class; `text-body` restates it where a parent sets another. Where a plugin needs a value of its own for dark, a `dark:` class such as `dark:bg-muted` follows the theme the user picked, not only their system's.
|