@hanzo/rooms 0.1.37 → 0.1.38
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/waiting.d.ts +2 -1
- package/dist/waiting.js +3 -2
- package/package.json +1 -1
package/dist/waiting.d.ts
CHANGED
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
* a layout that already supplies a header and a footer — so a page carrying one
|
|
8
8
|
* line of text scrolled, and the line sat below the middle of it.
|
|
9
9
|
*
|
|
10
|
-
* It
|
|
10
|
+
* It fills the viewport below the bar (`--header`, which the bar publishes) and
|
|
11
|
+
* centres one spinner and one line in it, the same on every route that waits.
|
|
11
12
|
*/
|
|
12
13
|
export declare function Waiting({ title, lede }: {
|
|
13
14
|
title: string;
|
package/dist/waiting.js
CHANGED
|
@@ -10,8 +10,9 @@ import { Spinner, Text, YStack } from '@hanzo/gui';
|
|
|
10
10
|
* a layout that already supplies a header and a footer — so a page carrying one
|
|
11
11
|
* line of text scrolled, and the line sat below the middle of it.
|
|
12
12
|
*
|
|
13
|
-
* It
|
|
13
|
+
* It fills the viewport below the bar (`--header`, which the bar publishes) and
|
|
14
|
+
* centres one spinner and one line in it, the same on every route that waits.
|
|
14
15
|
*/
|
|
15
16
|
export function Waiting({ title, lede }) {
|
|
16
|
-
return (_jsxs(YStack, { items: "center", justify: "center", gap: "$5", minH:
|
|
17
|
+
return (_jsxs(YStack, { items: "center", justify: "center", gap: "$5", minH: "calc(100dvh - var(--header, 64px))", px: "$4", py: "$6", children: [_jsx(Spinner, { size: "large", color: "$ink", width: 44, height: 44, shrink: 0 }), _jsx(Text, { render: "h1", fontSize: "$7", fontWeight: "500", color: "$ink", text: "center", children: title }), lede ? (_jsx(Text, { fontSize: "$4", color: "$soft", text: "center", children: lede })) : null] }));
|
|
17
18
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/rooms",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.38",
|
|
4
4
|
"description": "The workspace rooms — Home, Chat, Inbox, Contacts, Meet, Cal, Drive, Board, Work, Bots — and the frame that holds them, once, for every Hanzo surface.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|