@hanzo/ui 8.29.39 → 8.29.40
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/backends/gui/textarea.cjs +10 -1
- package/dist/backends/gui/textarea.d.ts.map +1 -1
- package/dist/backends/gui/textarea.js +10 -1
- package/dist/backends/gui/textarea.js.map +1 -1
- package/dist/chat/Composer.cjs +87 -32
- package/dist/chat/Composer.d.ts +35 -19
- package/dist/chat/Composer.d.ts.map +1 -1
- package/dist/chat/Composer.js +87 -32
- package/dist/chat/Composer.js.map +1 -1
- package/dist/chat/Dictation.cjs +6 -6
- package/dist/chat/Dictation.d.ts +2 -4
- package/dist/chat/Dictation.d.ts.map +1 -1
- package/dist/chat/Dictation.js +6 -6
- package/dist/chat/Dictation.js.map +1 -1
- package/dist/chat/Palette.cjs +2 -1
- package/dist/chat/Palette.d.ts.map +1 -1
- package/dist/chat/Palette.js +2 -1
- package/dist/chat/Palette.js.map +1 -1
- package/dist/chat/Plus.cjs +2 -2
- package/dist/chat/Plus.js +2 -2
- package/dist/chat/Plus.js.map +1 -1
- package/dist/chat/Tune.cjs +31 -16
- package/dist/chat/Tune.d.ts +5 -3
- package/dist/chat/Tune.d.ts.map +1 -1
- package/dist/chat/Tune.js +32 -17
- package/dist/chat/Tune.js.map +1 -1
- package/dist/chat/look.cjs +28 -0
- package/dist/chat/look.d.ts +36 -0
- package/dist/chat/look.d.ts.map +1 -0
- package/dist/chat/look.js +26 -0
- package/dist/chat/look.js.map +1 -0
- package/dist/gallery.html +102 -38
- package/dist/glass.css +78 -13
- package/dist/models/ModelPicker.cjs +2 -2
- package/dist/models/ModelPicker.d.ts +1 -1
- package/dist/models/ModelPicker.d.ts.map +1 -1
- package/dist/models/ModelPicker.js +2 -2
- package/dist/models/ModelPicker.js.map +1 -1
- package/dist/product/ChipSelect.cjs +9 -6
- package/dist/product/ChipSelect.d.ts +5 -4
- package/dist/product/ChipSelect.d.ts.map +1 -1
- package/dist/product/ChipSelect.js +9 -6
- package/dist/product/ChipSelect.js.map +1 -1
- package/dist/styles.css +99 -35
- package/dist/theme.css +78 -13
- package/package.json +1 -1
- package/dist/chat/Dial.cjs +0 -101
- package/dist/chat/Dial.d.ts +0 -13
- package/dist/chat/Dial.d.ts.map +0 -1
- package/dist/chat/Dial.js +0 -99
- package/dist/chat/Dial.js.map +0 -1
- package/dist/chat/ring.cjs +0 -9
- package/dist/chat/ring.d.ts +0 -11
- package/dist/chat/ring.d.ts.map +0 -1
- package/dist/chat/ring.js +0 -7
- package/dist/chat/ring.js.map +0 -1
package/dist/chat/Dial.js
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
/**
|
|
4
|
-
* The effort, as ONE small icon button — a gauge with the level in a tiny pip —
|
|
5
|
-
* the same in Chat and Dev, in the composer's end row beside the mic.
|
|
6
|
-
*
|
|
7
|
-
* press opens a compact list of the levels, the one in force checked
|
|
8
|
-
* drag press the icon and move along the row: each step of the finger
|
|
9
|
-
* is a level (`STEP` px), snapped to the surface's own list, with a
|
|
10
|
-
* small label above the icon naming the level while it is held
|
|
11
|
-
* ← ↓ / → ↑ the arrows move one level, in the reading direction
|
|
12
|
-
* Enter, Space opens the list
|
|
13
|
-
*
|
|
14
|
-
* The list is the surface's (`Modes`): a chat offers six levels, a coding run four.
|
|
15
|
-
* The pointer events are the page's own — nothing is captured past the press.
|
|
16
|
-
*/
|
|
17
|
-
import { SizableText, XStack } from '@hanzo/gui';
|
|
18
|
-
import { useI18n } from '@hanzo/i18n/react';
|
|
19
|
-
import { Gauge } from '@hanzogui/lucide-icons-2';
|
|
20
|
-
import { useRef, useState } from 'react';
|
|
21
|
-
import { Popover, PopoverAnchor, PopoverContent } from '../backends/gui/index.js';
|
|
22
|
-
import { RING } from './ring.js';
|
|
23
|
-
import { Choices } from './Tune.js';
|
|
24
|
-
/** How far the finger travels for one level, px. */
|
|
25
|
-
const STEP = 22;
|
|
26
|
-
/** The pip: the level in a letter or two, so the icon says where it stands without a word. */
|
|
27
|
-
const PIP = { auto: 'A', low: 'L', medium: 'M', high: 'H', xhigh: 'XH', max: 'MAX' };
|
|
28
|
-
const pip = (id, label) => PIP[id] ?? label.slice(0, 1).toUpperCase();
|
|
29
|
-
/**
|
|
30
|
-
* `narrow`, a phone: the level stands BESIDE the gauge on the row's centreline
|
|
31
|
-
* rather than tucked under its corner, where at a phone's size it crowds the
|
|
32
|
-
* glyph. The button keeps the row's height and grows as wide as the level needs.
|
|
33
|
-
*/
|
|
34
|
-
export function Dial({ effort, size = 36, disabled = false, narrow = false }) {
|
|
35
|
-
const { t, dir } = useI18n();
|
|
36
|
-
const [open, setOpen] = useState(false);
|
|
37
|
-
// The level under the finger while it is held, as a place in the list.
|
|
38
|
-
const [held, setHeld] = useState(null);
|
|
39
|
-
const press = useRef(null);
|
|
40
|
-
const index = Math.max(0, effort.items.findIndex((e) => e.id === effort.value));
|
|
41
|
-
const now = effort.items[index] ?? effort.items[0];
|
|
42
|
-
const shown = held === null ? now : (effort.items[held] ?? now);
|
|
43
|
-
const flip = dir === 'rtl' ? -1 : 1;
|
|
44
|
-
const clamp = (i) => Math.max(0, Math.min(effort.items.length - 1, i));
|
|
45
|
-
const go = (i) => {
|
|
46
|
-
const next = effort.items[clamp(i)];
|
|
47
|
-
if (next && next.id !== effort.value)
|
|
48
|
-
effort.set(next.id);
|
|
49
|
-
};
|
|
50
|
-
return (_jsxs(Popover, { open: open, onOpenChange: setOpen, allowFlip: true, placement: "top-end", children: [_jsx(PopoverAnchor, { asChild: true, children: _jsxs(XStack, { position: "relative", shrink: 0, "data-slot": "dial", children: [_jsxs(XStack, { render: "button", "data-slot": "dial-button", "aria-label": t('Effort: {level}', { level: t(now.label) }), "aria-haspopup": "listbox", "aria-expanded": open, "aria-disabled": disabled || undefined, tabIndex: disabled ? -1 : 0, ...(narrow ? { minW: size, px: 8, gap: 3 } : { width: size }), height: size, rounded: 999, items: "center", justify: "center", shrink: 0, position: "relative", cursor: disabled ? 'default' : 'ew-resize', opacity: disabled ? 0.5 : 1, bg: open || held !== null ? '$hover' : 'transparent', hoverStyle: disabled ? undefined : { bg: '$hover' }, focusVisibleStyle: RING,
|
|
51
|
-
// inline-style: the page must not scroll or select under a drag along the icon.
|
|
52
|
-
style: { touchAction: 'none', userSelect: 'none' }, onPointerDown: (e) => {
|
|
53
|
-
if (disabled)
|
|
54
|
-
return;
|
|
55
|
-
press.current = { x: e.clientX, at: index, moved: false };
|
|
56
|
-
e.currentTarget?.setPointerCapture?.(e.pointerId);
|
|
57
|
-
}, onPointerMove: (e) => {
|
|
58
|
-
const p = press.current;
|
|
59
|
-
if (!p)
|
|
60
|
-
return;
|
|
61
|
-
const dx = (e.clientX - p.x) * flip;
|
|
62
|
-
if (Math.abs(dx) > 4)
|
|
63
|
-
p.moved = true;
|
|
64
|
-
if (p.moved)
|
|
65
|
-
setHeld(clamp(p.at + Math.round(dx / STEP)));
|
|
66
|
-
}, onPointerUp: (e) => {
|
|
67
|
-
const p = press.current;
|
|
68
|
-
press.current = null;
|
|
69
|
-
e.currentTarget?.releasePointerCapture?.(e.pointerId);
|
|
70
|
-
if (!p)
|
|
71
|
-
return;
|
|
72
|
-
if (p.moved) {
|
|
73
|
-
go(held ?? p.at);
|
|
74
|
-
setHeld(null);
|
|
75
|
-
}
|
|
76
|
-
else
|
|
77
|
-
setOpen((o) => !o);
|
|
78
|
-
}, onPointerCancel: () => {
|
|
79
|
-
press.current = null;
|
|
80
|
-
setHeld(null);
|
|
81
|
-
}, onKeyDown: (e) => {
|
|
82
|
-
if (disabled)
|
|
83
|
-
return;
|
|
84
|
-
const key = e?.key;
|
|
85
|
-
const step = key === 'ArrowRight' || key === 'ArrowUp' ? flip : key === 'ArrowLeft' || key === 'ArrowDown' ? -flip : 0;
|
|
86
|
-
if (step) {
|
|
87
|
-
e.preventDefault?.();
|
|
88
|
-
go(index + step);
|
|
89
|
-
}
|
|
90
|
-
else if (key === 'Enter' || key === ' ') {
|
|
91
|
-
e.preventDefault?.();
|
|
92
|
-
setOpen((o) => !o);
|
|
93
|
-
}
|
|
94
|
-
}, children: [_jsx(Gauge, { size: 18, color: "var(--foreground)", "aria-hidden": true }), narrow ? (_jsx(SizableText, { "data-slot": "dial-pip", "aria-hidden": true, fontSize: 12, lineHeight: 16, fontWeight: "600", color: "$quiet", children: pip(shown.id, t(shown.label)) })) : (_jsx(SizableText, { "data-slot": "dial-pip", "aria-hidden": true, position: "absolute", b: 3, insetInlineEnd: 2, fontSize: 9, lineHeight: 10, fontWeight: "700", color: "$ink", px: 2, rounded: 4, bg: "$background", children: pip(shown.id, t(shown.label)) }))] }), held !== null ? (_jsx(XStack, { "data-slot": "dial-tip", role: "status", position: "absolute", b: size + 6, self: "center", px: 8, py: 3, rounded: 6, bg: "$ink", pointerEvents: "none", style: { whiteSpace: 'nowrap' }, children: _jsx(SizableText, { fontSize: 12, color: "$background", children: t(shown.label) }) })) : null] }) }), _jsx(PopoverContent, { solid: true, p: 6, width: 288, maxW: "calc(100vw - 24px)", children: _jsx(Choices, { title: t('Effort'), items: effort.items, value: effort.value, onPick: (id) => {
|
|
95
|
-
effort.set(id);
|
|
96
|
-
setOpen(false);
|
|
97
|
-
} }) })] }));
|
|
98
|
-
}
|
|
99
|
-
//# sourceMappingURL=Dial.js.map
|
package/dist/chat/Dial.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Dial.js","sourceRoot":"","sources":["../../src/chat/Dial.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ;;;;;;;;;;;;;GAaG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE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,GAClB,CACf,IACM,EACR,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,CACf,KAAC,MAAM,iBACK,UAAU,EACpB,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAC,UAAU,EACnB,CAAC,EAAE,IAAI,GAAG,CAAC,EACX,IAAI,EAAC,QAAQ,EACb,EAAE,EAAE,CAAC,EACL,EAAE,EAAE,CAAC,EACL,OAAO,EAAE,CAAC,EACV,EAAE,EAAC,MAAM,EACT,aAAa,EAAC,MAAM,EACpB,KAAK,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,YAE/B,KAAC,WAAW,IAAC,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAC,aAAa,YAC3C,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,GACH,GACP,CACV,CAAC,CAAC,CAAC,IAAI,IACD,GACK,EAChB,KAAC,cAAc,IAAC,KAAK,QAAC,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAC,oBAAoB,YAC/D,KAAC,OAAO,IACN,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,EAClB,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE;wBACb,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;wBACd,OAAO,CAAC,KAAK,CAAC,CAAA;oBAChB,CAAC,GACD,GACa,IACT,CACX,CAAA;AACH,CAAC"}
|
package/dist/chat/ring.cjs
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RING = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* The focus ring every composer control wears, from the tokens: drawn on the
|
|
6
|
-
* focused control alone, only for the keyboard (`focus-visible`), the same width
|
|
7
|
-
* and colour on `+`, the effort, the mic, its chevron, send and the chips.
|
|
8
|
-
*/
|
|
9
|
-
exports.RING = { outlineColor: '$outlineColor', outlineWidth: 2, outlineStyle: 'solid' };
|
package/dist/chat/ring.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The focus ring every composer control wears, from the tokens: drawn on the
|
|
3
|
-
* focused control alone, only for the keyboard (`focus-visible`), the same width
|
|
4
|
-
* and colour on `+`, the effort, the mic, its chevron, send and the chips.
|
|
5
|
-
*/
|
|
6
|
-
export declare const RING: {
|
|
7
|
-
readonly outlineColor: '$outlineColor';
|
|
8
|
-
readonly outlineWidth: 2;
|
|
9
|
-
readonly outlineStyle: 'solid';
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=ring.d.ts.map
|
package/dist/chat/ring.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ring.d.ts","sourceRoot":"","sources":["../../src/chat/ring.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,IAAI;aAAK,YAAY,EAAE,eAAe;aAAE,YAAY,EAAE,CAAC;aAAE,YAAY,EAAE,OAAO;CAAW,CAAA"}
|
package/dist/chat/ring.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The focus ring every composer control wears, from the tokens: drawn on the
|
|
3
|
-
* focused control alone, only for the keyboard (`focus-visible`), the same width
|
|
4
|
-
* and colour on `+`, the effort, the mic, its chevron, send and the chips.
|
|
5
|
-
*/
|
|
6
|
-
export const RING = { outlineColor: '$outlineColor', outlineWidth: 2, outlineStyle: 'solid' };
|
|
7
|
-
//# sourceMappingURL=ring.js.map
|
package/dist/chat/ring.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ring.js","sourceRoot":"","sources":["../../src/chat/ring.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,CAAC,EAAE,YAAY,EAAE,OAAO,EAAW,CAAA"}
|