@hanzo/app 0.2.55 → 0.2.56

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/Chrome.d.ts CHANGED
@@ -15,9 +15,10 @@
15
15
  * pill whose 12px of padding the bar takes back with a -12px start margin, the
16
16
  * shape hanzo.ai's own bar gives it. So the name's first letter is at the gutter
17
17
  * on every page of every host, the focused ones and the marketing ones alike.
18
- * Under a pointer or keyboard focus the pill takes the soft outline a section's
19
- * label wears (`--border-strong`) and an arrow opens before the name: this goes
20
- * back to the site.
18
+ * Under a pointer or keyboard focus the pill takes the bar's one highlight, the
19
+ * `$hover` ground and no outline or border, as every control on hanzo.ai's bar
20
+ * does, and an arrow opens before the name: this goes back to the site.
21
+ * Keyboard focus keeps its ring as well.
21
22
  *
22
23
  * Being another account, and adding one, write this page down first
23
24
  * (destination.ts `rememberDestination`), so the sign-in that follows comes back
package/dist/Chrome.js CHANGED
@@ -17,9 +17,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
17
17
  * pill whose 12px of padding the bar takes back with a -12px start margin, the
18
18
  * shape hanzo.ai's own bar gives it. So the name's first letter is at the gutter
19
19
  * on every page of every host, the focused ones and the marketing ones alike.
20
- * Under a pointer or keyboard focus the pill takes the soft outline a section's
21
- * label wears (`--border-strong`) and an arrow opens before the name: this goes
22
- * back to the site.
20
+ * Under a pointer or keyboard focus the pill takes the bar's one highlight, the
21
+ * `$hover` ground and no outline or border, as every control on hanzo.ai's bar
22
+ * does, and an arrow opens before the name: this goes back to the site.
23
+ * Keyboard focus keeps its ring as well.
23
24
  *
24
25
  * Being another account, and adding one, write this page down first
25
26
  * (destination.ts `rememberDestination`), so the sign-in that follows comes back
@@ -46,8 +47,8 @@ const HEIGHT = 60;
46
47
  const GUTTER = 'var(--page-gutter, 20px)';
47
48
  /** The name's pill: its padding, which the bar takes back so the name's first letter is at the gutter. */
48
49
  const PAD = 12;
49
- /** The pill lit: the soft outline a section's label wears, on no ground. */
50
- const OUTLINE = 'inset 0 0 0 1px var(--border-strong)';
50
+ /** The pill lit: the bar's one highlight, a ground and no outline. */
51
+ const LIT = '$hover';
51
52
  /** The arrow that opens before the name, and the space after it. */
52
53
  const CUE = 14;
53
54
  const CUE_GAP = 6;
@@ -104,5 +105,5 @@ function Home() {
104
105
  if (typeof document !== 'undefined' && document.documentElement.getAttribute('data-desktop') === 'true') {
105
106
  e.preventDefault();
106
107
  }
107
- }, onPointerEnter: point(true), onPointerLeave: point(false), onFocus: focus, onBlur: () => setLit(false) }), "data-slot": "home", display: "flex", items: "center", shrink: 0, height: 34, marginInlineStart: -PAD, paddingInline: PAD, rounded: 999, color: "var(--foreground)", textDecorationLine: "none", boxShadow: lit ? OUTLINE : 'none', focusVisibleStyle: { outlineWidth: 2, outlineStyle: 'solid', outlineColor: '$outlineColor', outlineOffset: 2 }, transition: "quickest", "data-tauri-drag-region": "deep", children: [_jsx(View, { "aria-hidden": true, display: "flex", items: "center", overflow: "hidden", width: lit ? CUE : 0, marginInlineEnd: lit ? CUE_GAP : 0, opacity: lit ? 1 : 0, transition: "quickest", children: _jsx(Arrow, { size: CUE, strokeWidth: 2.2 }) }), _jsx(HanzoWordmark, { label: brand(), size: 22, "data-tauri-drag-region": "deep" })] }));
108
+ }, onPointerEnter: point(true), onPointerLeave: point(false), onFocus: focus, onBlur: () => setLit(false) }), "data-slot": "home", display: "flex", items: "center", shrink: 0, height: 34, marginInlineStart: -PAD, paddingInline: PAD, rounded: 999, color: "var(--foreground)", textDecorationLine: "none", bg: lit ? LIT : 'transparent', focusVisibleStyle: { outlineWidth: 2, outlineStyle: 'solid', outlineColor: '$outlineColor', outlineOffset: 2 }, transition: "quickest", "data-tauri-drag-region": "deep", children: [_jsx(View, { "aria-hidden": true, display: "flex", items: "center", overflow: "hidden", width: lit ? CUE : 0, marginInlineEnd: lit ? CUE_GAP : 0, opacity: lit ? 1 : 0, transition: "quickest", children: _jsx(Arrow, { size: CUE, strokeWidth: 2.2 }) }), _jsx(HanzoWordmark, { label: brand(), size: 22, "data-tauri-drag-region": "deep" })] }));
108
109
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/app",
3
- "version": "0.2.55",
3
+ "version": "0.2.56",
4
4
  "description": "Hanzo's app: the shell and its apps (Home, Chat, Inbox, Contacts, Meet, Calendar, Drive, Board, Work, Bots), once, for every Hanzo surface.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",