@protobase/cli 0.117.1 → 0.117.2
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.117.
|
|
3
|
+
"version": "0.117.2",
|
|
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.117.
|
|
47
|
-
"@protobase/layout": "0.117.
|
|
48
|
-
"@protobase/query": "0.117.
|
|
49
|
-
"@protobase/schema": "0.117.
|
|
50
|
-
"@protobase/server": "0.117.
|
|
51
|
-
"@protobase/ui": "0.117.
|
|
52
|
-
"@protobase/workflows": "0.117.
|
|
46
|
+
"@protobase/config": "0.117.2",
|
|
47
|
+
"@protobase/layout": "0.117.2",
|
|
48
|
+
"@protobase/query": "0.117.2",
|
|
49
|
+
"@protobase/schema": "0.117.2",
|
|
50
|
+
"@protobase/server": "0.117.2",
|
|
51
|
+
"@protobase/ui": "0.117.2",
|
|
52
|
+
"@protobase/workflows": "0.117.2",
|
|
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",
|
|
@@ -13,7 +13,7 @@ The sidebar, the user menu, the bottom bar on phones and the global search.
|
|
|
13
13
|
- [User menu](../reference/user-menu.md): Account pages, help links, security settings, setting a status, the theme switch and Sign out.
|
|
14
14
|
- [Bottom bar](../reference/bottom-bar.md): On phones, tabs along the bottom for each role's main screens.
|
|
15
15
|
- [Phone app layout](../reference/bottom-bar.md#search-and-more): With a bottom bar, More opens the sidebar as a page of its own with search at its top, the top bar takes the app's brand color, and pages that are no tab lead back to More; search can join the bar with `m.search()`.
|
|
16
|
-
- [System tab bar](../reference/bottom-bar.md#in-the-
|
|
16
|
+
- [System tab bar](../reference/bottom-bar.md#in-the-phone-apps): In the iOS and Android apps the bottom bar is the system's own tab bar.
|
|
17
17
|
- [Menus as sheets](../reference/sidebar.md#menus-and-drawers-on-phones): On phones, menus, select lists and the account menu open as a sheet from the bottom, and the sidebar drawer and sheets move under the finger as a native drawer does.
|
|
18
18
|
- [Global search](../reference/client.md#global-search): A search box, also on Cmd+K or Ctrl+K, finds records in every resource and jumps to pages and New forms.
|
|
19
19
|
- [Breadcrumbs](../reference/ui-config.md#breadcrumbs): The top bar shows the group and list you are on, each a link back, and on a phone a back button to the one before; a record page's heading names the record.
|
|
@@ -33,13 +33,13 @@ Every tab needs its `label`: tabs are narrow, so the bar does not borrow a view'
|
|
|
33
33
|
|
|
34
34
|
With a bottom bar, a phone works as a phone app does. "More" opens the sidebar as a page of its own, at `/-/menu`, with the bar still there and More the current tab; the app never starts on it, so a restart from More opens the first tab. The top bar takes the app's brand color, the theme's `--primary` with its text in `--primary-foreground`, up behind the status bar: the first tab's page leads with the app's logo and name, More is titled "More", and every page that is no tab leads back to More from its top bar. The top bar has no search button then: with `m.search()` search is part of the bar, and without it the More page has a search field whose results show in place of the sidebar's items.
|
|
35
35
|
|
|
36
|
-
The bar has five places at most: with search, three tabs, search and More. In the iOS app, where the bar is the system's own tab bar, search is the system's search item after the tabs.
|
|
36
|
+
The bar has five places at most: with search, three tabs, search and More. In the iOS app, where the bar is the system's own tab bar, search is the system's search item after the tabs; in the Android app, whose navigation bar has no search item of its own, search is a tab like the others, in its place.
|
|
37
37
|
|
|
38
38
|
On every phone page, with or without a bottom bar, the account is at the top right of the top bar, the person's avatar or, for a visitor, a guest icon that signs in, rather than at the foot of the sidebar.
|
|
39
39
|
|
|
40
|
-
## In the
|
|
40
|
+
## In the phone apps
|
|
41
41
|
|
|
42
|
-
The iOS app draws the bar as the system's tab bar, with the system's own material, through Protobase's `ProtobaseTabBar` plugin: the page sends the tabs it would draw, their icons and the current one each time they change, and the plugin hands a tap back as the tab the page then follows. The page keeps the place of its own bar, unseen, at the height the system bar reports, so nothing ends behind it. The page uses the plugin only where the app's bridge offers it, and draws its own bar otherwise.
|
|
42
|
+
The iOS app draws the bar as the system's tab bar, with the system's own material, and the Android app as the system's navigation bar, in the phone's own colours where it has them, through Protobase's `ProtobaseTabBar` plugin: the page sends the tabs it would draw, their icons and the current one each time they change, and the plugin hands a tap back as the tab the page then follows. The page keeps the place of its own bar, unseen, at the height the system bar reports, the home indicator's or navigation bar's inset included, so nothing ends behind it. The page uses the plugin only where the app's bridge offers it, and draws its own bar otherwise.
|
|
43
43
|
|
|
44
44
|
## Which bar someone gets
|
|
45
45
|
|