@hanzo/ui 8.1.0 → 8.1.1
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/chat/Code.cjs +1 -1
- package/dist/chat/Code.d.ts.map +1 -1
- package/dist/chat/Code.js +2 -2
- package/dist/chat/Code.js.map +1 -1
- package/dist/chat/Message.cjs +38 -2
- package/dist/chat/Message.d.ts +17 -1
- package/dist/chat/Message.d.ts.map +1 -1
- package/dist/chat/Message.js +38 -3
- package/dist/chat/Message.js.map +1 -1
- package/dist/chat/index.cjs +2 -1
- package/dist/chat/index.d.ts +1 -1
- package/dist/chat/index.d.ts.map +1 -1
- package/dist/chat/index.js +1 -1
- package/dist/chat/index.js.map +1 -1
- package/dist/gallery.cjs +9 -1
- package/dist/gallery.d.ts.map +1 -1
- package/dist/gallery.js +9 -1
- package/dist/gallery.js.map +1 -1
- package/dist/styles.css +43 -0
- package/package.json +1 -1
package/dist/chat/Code.cjs
CHANGED
|
@@ -32,5 +32,5 @@ const MONO = {
|
|
|
32
32
|
};
|
|
33
33
|
function Code({ children, language = 'text', value, actions }) {
|
|
34
34
|
const text = value ?? (typeof children === 'string' ? children : '');
|
|
35
|
-
return ((0, jsx_runtime_1.jsxs)(gui_1.YStack, { ...(0, slot_1.slot)('code'), width: "100%", rounded: "$4", borderWidth: 1, borderColor: "$borderColor", bg: "$color2", overflow: "hidden", children: [(0, jsx_runtime_1.jsxs)(gui_1.XStack, { items: "center", gap: "$1", px: "$3", py: "$1.5", borderBottomWidth: 1, borderColor: "$borderColor", children: [(0, jsx_runtime_1.jsx)(gui_1.SizableText, { size: "$1", style: MONO, color: "$color11", children: language }), (0, jsx_runtime_1.jsx)(gui_1.XStack, { flex: 1 }), actions, text ? (0, jsx_runtime_1.jsx)(CopyButton_1.CopyButton, { value: text }) : null] }), (0, jsx_runtime_1.jsx)(gui_1.YStack, { px: "$3", py: "$2.5", children: (0, jsx_runtime_1.jsx)(gui_1.SizableText, { size: "$1", style: MONO, lineHeight: 20, children: children }) })] }));
|
|
35
|
+
return ((0, jsx_runtime_1.jsxs)(gui_1.YStack, { ...(0, slot_1.slot)('code'), width: "100%", rounded: "$4", borderWidth: 1, borderColor: "$borderColor", bg: "$color2", overflow: "hidden", children: [(0, jsx_runtime_1.jsxs)(gui_1.XStack, { items: "center", gap: "$1", px: "$3", py: "$1.5", borderBottomWidth: 1, borderColor: "$borderColor", children: [(0, jsx_runtime_1.jsx)(gui_1.SizableText, { size: "$1", style: MONO, color: "$color11", children: language }), (0, jsx_runtime_1.jsx)(gui_1.XStack, { flex: 1 }), actions, text ? (0, jsx_runtime_1.jsx)(CopyButton_1.CopyButton, { value: text }) : null] }), (0, jsx_runtime_1.jsx)(gui_1.ScrollView, { horizontal: true, showsHorizontalScrollIndicator: false, children: (0, jsx_runtime_1.jsx)(gui_1.YStack, { px: "$3", py: "$2.5", children: (0, jsx_runtime_1.jsx)(gui_1.SizableText, { size: "$1", style: MONO, lineHeight: 20, children: children }) }) })] }));
|
|
36
36
|
}
|
package/dist/chat/Code.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Code.d.ts","sourceRoot":"","sources":["../../src/chat/Code.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAkBtC,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,mFAAmF;IACnF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oDAAoD;IACpD,OAAO,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,QAAiB,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"Code.d.ts","sourceRoot":"","sources":["../../src/chat/Code.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAkBtC,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,mFAAmF;IACnF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oDAAoD;IACpD,OAAO,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,QAAiB,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,SAAS,2CAyD9E"}
|
package/dist/chat/Code.js
CHANGED
|
@@ -12,7 +12,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
12
12
|
* dependency or be bypassed. `children` is rendered as-is, so a surface can pass
|
|
13
13
|
* plain text or its own highlighted nodes.
|
|
14
14
|
*/
|
|
15
|
-
import { SizableText, XStack, YStack } from '@hanzo/gui';
|
|
15
|
+
import { ScrollView, SizableText, XStack, YStack } from '@hanzo/gui';
|
|
16
16
|
import { slot } from '../backends/gui/slot.js';
|
|
17
17
|
import { CopyButton } from '../product/CopyButton.js';
|
|
18
18
|
/**
|
|
@@ -29,6 +29,6 @@ const MONO = {
|
|
|
29
29
|
};
|
|
30
30
|
export function Code({ children, language = 'text', value, actions }) {
|
|
31
31
|
const text = value ?? (typeof children === 'string' ? children : '');
|
|
32
|
-
return (_jsxs(YStack, { ...slot('code'), width: "100%", rounded: "$4", borderWidth: 1, borderColor: "$borderColor", bg: "$color2", overflow: "hidden", children: [_jsxs(XStack, { items: "center", gap: "$1", px: "$3", py: "$1.5", borderBottomWidth: 1, borderColor: "$borderColor", children: [_jsx(SizableText, { size: "$1", style: MONO, color: "$color11", children: language }), _jsx(XStack, { flex: 1 }), actions, text ? _jsx(CopyButton, { value: text }) : null] }), _jsx(YStack, { px: "$3", py: "$2.5", children: _jsx(SizableText, { size: "$1", style: MONO, lineHeight: 20, children: children }) })] }));
|
|
32
|
+
return (_jsxs(YStack, { ...slot('code'), width: "100%", rounded: "$4", borderWidth: 1, borderColor: "$borderColor", bg: "$color2", overflow: "hidden", children: [_jsxs(XStack, { items: "center", gap: "$1", px: "$3", py: "$1.5", borderBottomWidth: 1, borderColor: "$borderColor", children: [_jsx(SizableText, { size: "$1", style: MONO, color: "$color11", children: language }), _jsx(XStack, { flex: 1 }), actions, text ? _jsx(CopyButton, { value: text }) : null] }), _jsx(ScrollView, { horizontal: true, showsHorizontalScrollIndicator: false, children: _jsx(YStack, { px: "$3", py: "$2.5", children: _jsx(SizableText, { size: "$1", style: MONO, lineHeight: 20, children: children }) }) })] }));
|
|
33
33
|
}
|
|
34
34
|
//# sourceMappingURL=Code.js.map
|
package/dist/chat/Code.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Code.js","sourceRoot":"","sources":["../../src/chat/Code.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"Code.js","sourceRoot":"","sources":["../../src/chat/Code.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAGpE,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAElD;;;;;;;;GAQG;AACH,MAAM,IAAI,GAAG;IACX,UAAU,EAAE,wEAAwE;CAC5E,CAAA;AAYV,MAAM,UAAU,IAAI,CAAC,EAAE,QAAQ,EAAE,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,OAAO,EAAa;IAC7E,MAAM,IAAI,GAAG,KAAK,IAAI,CAAC,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;IAEpE,OAAO,CACL,MAAC,MAAM,OACD,IAAI,CAAC,MAAM,CAAC,EAChB,KAAK,EAAC,MAAM,EACZ,OAAO,EAAC,IAAI,EACZ,WAAW,EAAE,CAAC,EACd,WAAW,EAAC,cAAc,EAC1B,EAAE,EAAC,SAAS,EACZ,QAAQ,EAAC,QAAQ,aAEjB,MAAC,MAAM,IACL,KAAK,EAAC,QAAQ,EACd,GAAG,EAAC,IAAI,EACR,EAAE,EAAC,IAAI,EACP,EAAE,EAAC,MAAM,EACT,iBAAiB,EAAE,CAAC,EACpB,WAAW,EAAC,cAAc,aAQ1B,KAAC,WAAW,IAAC,IAAI,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAC,UAAU,YACjD,QAAQ,GACG,EACd,KAAC,MAAM,IAAC,IAAI,EAAE,CAAC,GAAI,EAClB,OAAO,EACP,IAAI,CAAC,CAAC,CAAC,KAAC,UAAU,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,IACnC,EAeT,KAAC,UAAU,IAAC,UAAU,QAAC,8BAA8B,EAAE,KAAK,YAC1D,KAAC,MAAM,IAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,MAAM,YACvB,KAAC,WAAW,IAAC,IAAI,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,YAC/C,QAAQ,GACG,GACP,GACE,IACN,CACV,CAAA;AACH,CAAC"}
|
package/dist/chat/Message.cjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use client';"use strict";
|
|
2
2
|
'use client';
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Caret = Caret;
|
|
4
5
|
exports.Message = Message;
|
|
5
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
7
|
/**
|
|
@@ -11,17 +12,52 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
11
12
|
* turn is a muted aside. Content is `children`, so the surface keeps its own
|
|
12
13
|
* markdown pipeline — the surfaces disagree on remark plugins and none of that
|
|
13
14
|
* belongs in a presentational package.
|
|
15
|
+
*
|
|
16
|
+
* That arrangement is not this package's taste; it is what all six turn
|
|
17
|
+
* renderers across the estate independently arrived at. hanzo/chat states it
|
|
18
|
+
* outright in `client/src/components/Chat/Messages/ui/MessageRender.tsx:131`:
|
|
19
|
+
* "the user's turn is a glass bubble on the right, the reply plain and full
|
|
20
|
+
* width — the contrast is what says who is speaking." No avatar, no sender
|
|
21
|
+
* name, no timestamp — which is why `icon` is opt-in and there is no `name`
|
|
22
|
+
* prop. Only the read-only share view renders a name, and only one surface
|
|
23
|
+
* renders a timestamp.
|
|
14
24
|
*/
|
|
15
25
|
const gui_1 = require("@hanzo/gui");
|
|
26
|
+
const ink_1 = require("../backends/gui/ink.cjs");
|
|
16
27
|
const slot_1 = require("../backends/gui/slot.cjs");
|
|
28
|
+
/**
|
|
29
|
+
* The mark that says a turn is still arriving.
|
|
30
|
+
*
|
|
31
|
+
* Placed by whoever knows where the prose ends. A surface rendering markdown
|
|
32
|
+
* owns that node and can append this inside it; `Message busy` puts it at the
|
|
33
|
+
* end of the turn instead, which is all this package can know.
|
|
34
|
+
*
|
|
35
|
+
* It does not blink. Every surface that ships one draws it static — an 8x16
|
|
36
|
+
* block on hanzo.app `/chat`, a 2px caret in the builder, a 12px `⬤` from
|
|
37
|
+
* hanzo/chat's `.result-streaming::after`. A caret is the narrowest of the
|
|
38
|
+
* three and the one that reads as "the sentence continues" rather than as a
|
|
39
|
+
* bullet. Decorative, so it is hidden from assistive tech: the turn's text is
|
|
40
|
+
* already live-announced by the surface, and a cursor announced as content is
|
|
41
|
+
* noise on every token.
|
|
42
|
+
*/
|
|
43
|
+
function Caret() {
|
|
44
|
+
return (0, jsx_runtime_1.jsx)(gui_1.YStack, { ...(0, slot_1.slot)('caret'), width: 2, height: 15, rounded: 1, bg: "$color12", "aria-hidden": true });
|
|
45
|
+
}
|
|
17
46
|
function Message({ role, children, actions, busy = false, icon }) {
|
|
18
47
|
if (role === 'system')
|
|
19
48
|
return ((0, jsx_runtime_1.jsx)(gui_1.XStack, { ...(0, slot_1.slot)('message'), "data-role": "system", width: "100%", justify: "center", py: "$2", children: (0, jsx_runtime_1.jsx)(gui_1.Text, { fontSize: "$1", color: "$color10", text: "center", children: children }) }));
|
|
20
49
|
const mine = role === 'user';
|
|
21
|
-
return ((0, jsx_runtime_1.jsxs)(gui_1.XStack, { ...(0, slot_1.slot)('message'), "data-role": role, width: "100%", justify: mine ? 'flex-end' : 'flex-start', gap: "$2", children: [icon && !mine ? (0, jsx_runtime_1.jsx)(gui_1.YStack, { pt: "$1", children: icon }) : null, (0, jsx_runtime_1.jsxs)(gui_1.YStack, { ...(0, slot_1.slot)('message-body'), "data-bubble": mine ? 'true' : undefined, gap: "$2",
|
|
50
|
+
return ((0, jsx_runtime_1.jsxs)(gui_1.XStack, { ...(0, slot_1.slot)('message'), "data-role": role, width: "100%", justify: mine ? 'flex-end' : 'flex-start', gap: "$2", children: [icon && !mine ? (0, jsx_runtime_1.jsx)(gui_1.YStack, { pt: "$1", children: icon }) : null, (0, jsx_runtime_1.jsxs)(gui_1.YStack, { ...(0, slot_1.slot)('message-body'), "data-bubble": mine ? 'true' : undefined, gap: "$2",
|
|
51
|
+
// 85%, because that is the number three independent implementations
|
|
52
|
+
// reached: hanzo/chat's `USER_TURN` (`common/turn.ts:17`,
|
|
53
|
+
// `max-w-[85%]`), hanzo.app `/chat` (`app/chat/page.tsx:521`,
|
|
54
|
+
// `maxWidth="85%"`) and the app builder's `UserBubble`
|
|
55
|
+
// (`ask-ai/chat-thread.tsx:141`). This package said 80% and no one
|
|
56
|
+
// said 80%.
|
|
57
|
+
maxW: mine ? '85%' : '100%', flex: mine ? undefined : 1, ...(mine && {
|
|
22
58
|
bg: '$color3',
|
|
23
59
|
rounded: '$5',
|
|
24
60
|
px: '$3',
|
|
25
61
|
py: '$2',
|
|
26
|
-
}), children: [children, busy ? (0, jsx_runtime_1.jsx)(
|
|
62
|
+
}), children: [(0, ink_1.ink)(children), busy ? (0, jsx_runtime_1.jsx)(Caret, {}) : null, actions ? (0, jsx_runtime_1.jsx)(gui_1.XStack, { gap: "$1", items: "center", children: actions }) : null] })] }));
|
|
27
63
|
}
|
package/dist/chat/Message.d.ts
CHANGED
|
@@ -1,11 +1,27 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
export type Role = 'user' | 'assistant' | 'system';
|
|
3
|
+
/**
|
|
4
|
+
* The mark that says a turn is still arriving.
|
|
5
|
+
*
|
|
6
|
+
* Placed by whoever knows where the prose ends. A surface rendering markdown
|
|
7
|
+
* owns that node and can append this inside it; `Message busy` puts it at the
|
|
8
|
+
* end of the turn instead, which is all this package can know.
|
|
9
|
+
*
|
|
10
|
+
* It does not blink. Every surface that ships one draws it static — an 8x16
|
|
11
|
+
* block on hanzo.app `/chat`, a 2px caret in the builder, a 12px `⬤` from
|
|
12
|
+
* hanzo/chat's `.result-streaming::after`. A caret is the narrowest of the
|
|
13
|
+
* three and the one that reads as "the sentence continues" rather than as a
|
|
14
|
+
* bullet. Decorative, so it is hidden from assistive tech: the turn's text is
|
|
15
|
+
* already live-announced by the surface, and a cursor announced as content is
|
|
16
|
+
* noise on every token.
|
|
17
|
+
*/
|
|
18
|
+
export declare function Caret(): import("react/jsx-runtime").JSX.Element;
|
|
3
19
|
export interface MessageProps {
|
|
4
20
|
role: Role;
|
|
5
21
|
children?: ReactNode;
|
|
6
22
|
/** Row rendered under the turn — copy, retry, feedback. */
|
|
7
23
|
actions?: ReactNode;
|
|
8
|
-
/** The turn is still streaming. */
|
|
24
|
+
/** The turn is still streaming: a `Caret` closes the body. */
|
|
9
25
|
busy?: boolean;
|
|
10
26
|
/** Leading affordance for an assistant turn: avatar or model mark. */
|
|
11
27
|
icon?: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../src/chat/Message.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../src/chat/Message.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC,MAAM,MAAM,IAAI,GAAG,MAAM,GAAG,WAAW,GAAG,QAAQ,CAAA;AAElD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,KAAK,4CAEpB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,IAAI,CAAA;IACV,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,8DAA8D;IAC9D,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,sEAAsE;IACtE,IAAI,CAAC,EAAE,SAAS,CAAA;CACjB;AAED,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAY,EAAE,IAAI,EAAE,EAAE,YAAY,2CA6CpF"}
|
package/dist/chat/Message.js
CHANGED
|
@@ -8,18 +8,53 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
8
8
|
* turn is a muted aside. Content is `children`, so the surface keeps its own
|
|
9
9
|
* markdown pipeline — the surfaces disagree on remark plugins and none of that
|
|
10
10
|
* belongs in a presentational package.
|
|
11
|
+
*
|
|
12
|
+
* That arrangement is not this package's taste; it is what all six turn
|
|
13
|
+
* renderers across the estate independently arrived at. hanzo/chat states it
|
|
14
|
+
* outright in `client/src/components/Chat/Messages/ui/MessageRender.tsx:131`:
|
|
15
|
+
* "the user's turn is a glass bubble on the right, the reply plain and full
|
|
16
|
+
* width — the contrast is what says who is speaking." No avatar, no sender
|
|
17
|
+
* name, no timestamp — which is why `icon` is opt-in and there is no `name`
|
|
18
|
+
* prop. Only the read-only share view renders a name, and only one surface
|
|
19
|
+
* renders a timestamp.
|
|
11
20
|
*/
|
|
12
|
-
import {
|
|
21
|
+
import { Text, XStack, YStack } from '@hanzo/gui';
|
|
22
|
+
import { ink } from '../backends/gui/ink.js';
|
|
13
23
|
import { slot } from '../backends/gui/slot.js';
|
|
24
|
+
/**
|
|
25
|
+
* The mark that says a turn is still arriving.
|
|
26
|
+
*
|
|
27
|
+
* Placed by whoever knows where the prose ends. A surface rendering markdown
|
|
28
|
+
* owns that node and can append this inside it; `Message busy` puts it at the
|
|
29
|
+
* end of the turn instead, which is all this package can know.
|
|
30
|
+
*
|
|
31
|
+
* It does not blink. Every surface that ships one draws it static — an 8x16
|
|
32
|
+
* block on hanzo.app `/chat`, a 2px caret in the builder, a 12px `⬤` from
|
|
33
|
+
* hanzo/chat's `.result-streaming::after`. A caret is the narrowest of the
|
|
34
|
+
* three and the one that reads as "the sentence continues" rather than as a
|
|
35
|
+
* bullet. Decorative, so it is hidden from assistive tech: the turn's text is
|
|
36
|
+
* already live-announced by the surface, and a cursor announced as content is
|
|
37
|
+
* noise on every token.
|
|
38
|
+
*/
|
|
39
|
+
export function Caret() {
|
|
40
|
+
return _jsx(YStack, { ...slot('caret'), width: 2, height: 15, rounded: 1, bg: "$color12", "aria-hidden": true });
|
|
41
|
+
}
|
|
14
42
|
export function Message({ role, children, actions, busy = false, icon }) {
|
|
15
43
|
if (role === 'system')
|
|
16
44
|
return (_jsx(XStack, { ...slot('message'), "data-role": "system", width: "100%", justify: "center", py: "$2", children: _jsx(Text, { fontSize: "$1", color: "$color10", text: "center", children: children }) }));
|
|
17
45
|
const mine = role === 'user';
|
|
18
|
-
return (_jsxs(XStack, { ...slot('message'), "data-role": role, width: "100%", justify: mine ? 'flex-end' : 'flex-start', gap: "$2", children: [icon && !mine ? _jsx(YStack, { pt: "$1", children: icon }) : null, _jsxs(YStack, { ...slot('message-body'), "data-bubble": mine ? 'true' : undefined, gap: "$2",
|
|
46
|
+
return (_jsxs(XStack, { ...slot('message'), "data-role": role, width: "100%", justify: mine ? 'flex-end' : 'flex-start', gap: "$2", children: [icon && !mine ? _jsx(YStack, { pt: "$1", children: icon }) : null, _jsxs(YStack, { ...slot('message-body'), "data-bubble": mine ? 'true' : undefined, gap: "$2",
|
|
47
|
+
// 85%, because that is the number three independent implementations
|
|
48
|
+
// reached: hanzo/chat's `USER_TURN` (`common/turn.ts:17`,
|
|
49
|
+
// `max-w-[85%]`), hanzo.app `/chat` (`app/chat/page.tsx:521`,
|
|
50
|
+
// `maxWidth="85%"`) and the app builder's `UserBubble`
|
|
51
|
+
// (`ask-ai/chat-thread.tsx:141`). This package said 80% and no one
|
|
52
|
+
// said 80%.
|
|
53
|
+
maxW: mine ? '85%' : '100%', flex: mine ? undefined : 1, ...(mine && {
|
|
19
54
|
bg: '$color3',
|
|
20
55
|
rounded: '$5',
|
|
21
56
|
px: '$3',
|
|
22
57
|
py: '$2',
|
|
23
|
-
}), children: [children, busy ? _jsx(
|
|
58
|
+
}), children: [ink(children), busy ? _jsx(Caret, {}) : null, actions ? _jsx(XStack, { gap: "$1", items: "center", children: actions }) : null] })] }));
|
|
24
59
|
}
|
|
25
60
|
//# sourceMappingURL=Message.js.map
|
package/dist/chat/Message.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Message.js","sourceRoot":"","sources":["../../src/chat/Message.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ
|
|
1
|
+
{"version":3,"file":"Message.js","sourceRoot":"","sources":["../../src/chat/Message.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAGjD,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,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AAY;gBACZ,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAC3B,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,KACtB,CAAC,IAAI,IAAI;oBACX,EAAE,EAAE,SAAS;oBACb,OAAO,EAAE,IAAI;oBACb,EAAE,EAAE,IAAI;oBACR,EAAE,EAAE,IAAI;iBACT,CAAC,aAED,GAAG,CAAC,QAAQ,CAAC,EACb,IAAI,CAAC,CAAC,CAAC,KAAC,KAAK,KAAG,CAAC,CAAC,CAAC,IAAI,EACvB,OAAO,CAAC,CAAC,CAAC,KAAC,MAAM,IAAC,GAAG,EAAC,IAAI,EAAC,KAAK,EAAC,QAAQ,YAAE,OAAO,GAAU,CAAC,CAAC,CAAC,IAAI,IAC7D,IACF,CACV,CAAA;AACH,CAAC"}
|
package/dist/chat/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SourceChip = exports.Sources = exports.Code = exports.Aside = exports.AsideToggle = exports.ShareButton = exports.HeaderButton = exports.Header = exports.SidebarUser = exports.SidebarFolder = exports.SidebarItem = exports.SidebarSection = exports.SidebarScroll = exports.SidebarNewChat = exports.SidebarIconButton = exports.SidebarHeader = exports.Sidebar = exports.SLACK = exports.pinned = exports.sends = exports.ready = exports.Thread = exports.Message = exports.ASK = exports.Composer = void 0;
|
|
3
|
+
exports.SourceChip = exports.Sources = exports.Code = exports.Aside = exports.AsideToggle = exports.ShareButton = exports.HeaderButton = exports.Header = exports.SidebarUser = exports.SidebarFolder = exports.SidebarItem = exports.SidebarSection = exports.SidebarScroll = exports.SidebarNewChat = exports.SidebarIconButton = exports.SidebarHeader = exports.Sidebar = exports.SLACK = exports.pinned = exports.sends = exports.ready = exports.Thread = exports.Message = exports.Caret = exports.ASK = exports.Composer = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* @hanzo/ui/chat — the one chat shell, on @hanzo/gui primitives.
|
|
6
6
|
*
|
|
@@ -31,6 +31,7 @@ var Composer_1 = require("./Composer.cjs");
|
|
|
31
31
|
Object.defineProperty(exports, "Composer", { enumerable: true, get: function () { return Composer_1.Composer; } });
|
|
32
32
|
Object.defineProperty(exports, "ASK", { enumerable: true, get: function () { return Composer_1.ASK; } });
|
|
33
33
|
var Message_1 = require("./Message.cjs");
|
|
34
|
+
Object.defineProperty(exports, "Caret", { enumerable: true, get: function () { return Message_1.Caret; } });
|
|
34
35
|
Object.defineProperty(exports, "Message", { enumerable: true, get: function () { return Message_1.Message; } });
|
|
35
36
|
var Thread_1 = require("./Thread.cjs");
|
|
36
37
|
Object.defineProperty(exports, "Thread", { enumerable: true, get: function () { return Thread_1.Thread; } });
|
package/dist/chat/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* `Code` imports it from there.
|
|
26
26
|
*/
|
|
27
27
|
export { Composer, ASK, type ComposerProps } from './Composer.js';
|
|
28
|
-
export { Message, type MessageProps, type Role } from './Message.js';
|
|
28
|
+
export { Caret, Message, type MessageProps, type Role } from './Message.js';
|
|
29
29
|
export { Thread, type ThreadProps } from './Thread.js';
|
|
30
30
|
export { ready, sends, type Mods } from './send.js';
|
|
31
31
|
export { pinned, SLACK, type Track } from './stick.js';
|
package/dist/chat/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/chat/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAA;AAC9D,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,IAAI,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/chat/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAA;AAC9D,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,IAAI,EAAE,MAAM,WAAW,CAAA;AACxE,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAA;AACnD,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,IAAI,EAAE,MAAM,QAAQ,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,KAAK,EAAE,MAAM,SAAS,CAAA;AAEnD,OAAO,EACL,OAAO,EACP,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,cAAc,EACd,WAAW,EACX,aAAa,EACb,WAAW,EACX,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,GACtB,MAAM,WAAW,CAAA;AAElB,OAAO,EACL,MAAM,EACN,YAAY,EACZ,WAAW,EACX,WAAW,EACX,KAAK,EACL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,UAAU,GAChB,MAAM,UAAU,CAAA;AAEjB,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAA;AAE7C,OAAO,EACL,OAAO,EACP,UAAU,EACV,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,eAAe,GACrB,MAAM,WAAW,CAAA"}
|
package/dist/chat/index.js
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* `Code` imports it from there.
|
|
26
26
|
*/
|
|
27
27
|
export { Composer, ASK } from './Composer.js';
|
|
28
|
-
export { Message } from './Message.js';
|
|
28
|
+
export { Caret, Message } from './Message.js';
|
|
29
29
|
export { Thread } from './Thread.js';
|
|
30
30
|
export { ready, sends } from './send.js';
|
|
31
31
|
export { pinned, SLACK } from './stick.js';
|
package/dist/chat/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/chat/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAsB,MAAM,YAAY,CAAA;AAC9D,OAAO,EAAE,OAAO,EAAgC,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/chat/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAsB,MAAM,YAAY,CAAA;AAC9D,OAAO,EAAE,KAAK,EAAE,OAAO,EAAgC,MAAM,WAAW,CAAA;AACxE,OAAO,EAAE,MAAM,EAAoB,MAAM,UAAU,CAAA;AACnD,OAAO,EAAE,KAAK,EAAE,KAAK,EAAa,MAAM,QAAQ,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAc,MAAM,SAAS,CAAA;AAEnD,OAAO,EACL,OAAO,EACP,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,cAAc,EACd,WAAW,EACX,aAAa,EACb,WAAW,GASZ,MAAM,WAAW,CAAA;AAElB,OAAO,EACL,MAAM,EACN,YAAY,EACZ,WAAW,EACX,WAAW,EACX,KAAK,GAMN,MAAM,UAAU,CAAA;AAEjB,OAAO,EAAE,IAAI,EAAkB,MAAM,QAAQ,CAAA;AAE7C,OAAO,EACL,OAAO,EACP,UAAU,GAIX,MAAM,WAAW,CAAA"}
|
package/dist/gallery.cjs
CHANGED
|
@@ -8,6 +8,7 @@ const Workbench_1 = require("./product/Workbench.cjs");
|
|
|
8
8
|
const Skeleton_1 = require("./product/Skeleton.cjs");
|
|
9
9
|
const TooltipAnchor_1 = require("./product/TooltipAnchor.cjs");
|
|
10
10
|
const DialogTemplate_1 = require("./product/DialogTemplate.cjs");
|
|
11
|
+
const chat_1 = require("./chat/index.cjs");
|
|
11
12
|
const gui_1 = require("./backends/gui/index.cjs");
|
|
12
13
|
/** A real <img> with real intrinsic pixels, inline so nothing hits the network.
|
|
13
14
|
* 120x40 on purpose: the wrong ratio for every box it goes in, so a frame that
|
|
@@ -23,6 +24,13 @@ const BUTTON_VARIANTS = [
|
|
|
23
24
|
];
|
|
24
25
|
const BUTTON_SIZES = ['default', 'sm', 'lg', 'icon', 'icon-sm', 'icon-lg'];
|
|
25
26
|
const BADGE_VARIANTS = ['default', 'secondary', 'destructive', 'outline'];
|
|
27
|
+
/** The chat shell is callbacks-out, and this list only needs them to exist. */
|
|
28
|
+
const NOOP = () => { };
|
|
29
|
+
/** Two, so the grid's wrap rule and the letter fallback both render. */
|
|
30
|
+
const SOURCES = [
|
|
31
|
+
{ id: 'a', title: 'hanzo.ai', href: 'https://hanzo.ai' },
|
|
32
|
+
{ id: 'b', title: 'Reference' },
|
|
33
|
+
];
|
|
26
34
|
/** One section. Plain CSS on a plain div — the gallery is a harness, and laying
|
|
27
35
|
* it out with the components under test would make a layout bug read as a
|
|
28
36
|
* styling bug. Rows wrap so the same tree is legible at 390px and at 1280px,
|
|
@@ -45,6 +53,6 @@ const Gallery = () => ((0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex'
|
|
|
45
53
|
tabs: [
|
|
46
54
|
{ id: 'console', title: 'Console', closable: false, content: (0, jsx_runtime_1.jsx)(gui_1.CardTitle, { children: "console" }) },
|
|
47
55
|
],
|
|
48
|
-
}, children: (0, jsx_runtime_1.jsx)(gui_1.CardTitle, { children: "center" }) }) }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "product-arrangements", children: [(0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', flexDirection: 'column', gap: 12, width: 320 }, children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { width: 120 }), (0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { width: "100%", height: 72, rounded: "$4" }), (0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton.Text, { lines: 3 })] }), (0, jsx_runtime_1.jsx)(TooltipAnchor_1.TooltipAnchor, { description: "Delete this agent", children: (0, jsx_runtime_1.jsx)(gui_1.Button, { children: "hinted" }) }), (0, jsx_runtime_1.jsx)(gui_1.Dialog, { open: true, children: (0, jsx_runtime_1.jsx)(DialogTemplate_1.DialogTemplate, { title: "Delete agent", description: "This removes every run recorded against it.", confirm: { label: 'Delete', tone: 'danger' }, children: (0, jsx_runtime_1.jsx)(gui_1.CardTitle, { children: "body" }) }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "box", children: [(0, jsx_runtime_1.jsx)(box_1.Box, { className: "flex items-center gap-4 px-6 py-3 rounded-lg border", children: (0, jsx_runtime_1.jsx)(gui_1.CardTitle, { children: "utility classes" }) }), (0, jsx_runtime_1.jsx)(box_1.Box, { className: "flex-col gap-2 max-w-3xl mx-auto overflow-hidden", children: (0, jsx_runtime_1.jsx)(gui_1.CardTitle, { children: "column" }) })] })] }));
|
|
56
|
+
}, children: (0, jsx_runtime_1.jsx)(gui_1.CardTitle, { children: "center" }) }) }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "product-arrangements", children: [(0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', flexDirection: 'column', gap: 12, width: 320 }, children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { width: 120 }), (0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { width: "100%", height: 72, rounded: "$4" }), (0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton.Text, { lines: 3 })] }), (0, jsx_runtime_1.jsx)(TooltipAnchor_1.TooltipAnchor, { description: "Delete this agent", children: (0, jsx_runtime_1.jsx)(gui_1.Button, { children: "hinted" }) }), (0, jsx_runtime_1.jsx)(gui_1.Dialog, { open: true, children: (0, jsx_runtime_1.jsx)(DialogTemplate_1.DialogTemplate, { title: "Delete agent", description: "This removes every run recorded against it.", confirm: { label: 'Delete', tone: 'danger' }, children: (0, jsx_runtime_1.jsx)(gui_1.CardTitle, { children: "body" }) }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "chat", children: [(0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', flexDirection: 'column', gap: 12, width: 520, height: 320 }, children: [(0, jsx_runtime_1.jsxs)(chat_1.Header, { title: "A conversation with a long enough name to clamp", children: [(0, jsx_runtime_1.jsx)(chat_1.ShareButton, {}), (0, jsx_runtime_1.jsx)(chat_1.AsideToggle, {})] }), (0, jsx_runtime_1.jsxs)(chat_1.Thread, { children: [(0, jsx_runtime_1.jsx)(chat_1.Message, { role: "user", children: "ask" }), (0, jsx_runtime_1.jsxs)(chat_1.Message, { role: "assistant", icon: (0, jsx_runtime_1.jsx)(gui_1.Spinner, {}), actions: (0, jsx_runtime_1.jsx)(gui_1.Badge, { children: "copy" }), children: [(0, jsx_runtime_1.jsx)(chat_1.Code, { language: "typescript", value: "const x = 1", children: "const x = 1" }), (0, jsx_runtime_1.jsx)(chat_1.Sources, { sources: SOURCES })] }), (0, jsx_runtime_1.jsx)(chat_1.Message, { role: "assistant", busy: true, children: "answering" }), (0, jsx_runtime_1.jsx)(chat_1.Message, { role: "system", children: "note" })] }), (0, jsx_runtime_1.jsx)(chat_1.Composer, { value: "a draft", onChange: NOOP, onSend: NOOP, hint: "Enter to send", children: (0, jsx_runtime_1.jsx)(gui_1.Badge, { children: "tool" }) }), (0, jsx_runtime_1.jsx)(chat_1.Composer, { value: "", onChange: NOOP, onSend: NOOP, onStop: NOOP, busy: true })] }), (0, jsx_runtime_1.jsx)(chat_1.Aside, { children: (0, jsx_runtime_1.jsx)(chat_1.Sources, { sources: SOURCES }) }), (0, jsx_runtime_1.jsx)("div", { style: { display: 'flex', width: 260, height: 320 }, children: (0, jsx_runtime_1.jsxs)(chat_1.Sidebar, { children: [(0, jsx_runtime_1.jsx)(chat_1.SidebarHeader, { title: "Hanzo", onOpenSwitcher: NOOP, onSearch: NOOP, onCollapse: NOOP }), (0, jsx_runtime_1.jsx)(chat_1.SidebarNewChat, { onPress: NOOP }), (0, jsx_runtime_1.jsxs)(chat_1.SidebarScroll, { children: [(0, jsx_runtime_1.jsxs)(chat_1.SidebarSection, { label: "Today", children: [(0, jsx_runtime_1.jsx)(chat_1.SidebarItem, { active: true, onPress: NOOP, children: "Selected thread" }), (0, jsx_runtime_1.jsx)(chat_1.SidebarItem, { onPress: NOOP, children: "Another thread" })] }), (0, jsx_runtime_1.jsx)(chat_1.SidebarFolder, { name: "Archive", defaultOpen: true, children: (0, jsx_runtime_1.jsx)(chat_1.SidebarItem, { onPress: NOOP, children: "Nested thread" }) })] }), (0, jsx_runtime_1.jsx)(chat_1.SidebarUser, { name: "z", secondary: "z@hanzo.ai", onPress: NOOP, onHelp: NOOP })] }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "box", children: [(0, jsx_runtime_1.jsx)(box_1.Box, { className: "flex items-center gap-4 px-6 py-3 rounded-lg border", children: (0, jsx_runtime_1.jsx)(gui_1.CardTitle, { children: "utility classes" }) }), (0, jsx_runtime_1.jsx)(box_1.Box, { className: "flex-col gap-2 max-w-3xl mx-auto overflow-hidden", children: (0, jsx_runtime_1.jsx)(gui_1.CardTitle, { children: "column" }) })] })] }));
|
|
49
57
|
exports.Gallery = Gallery;
|
|
50
58
|
exports.default = exports.Gallery;
|
package/dist/gallery.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gallery.d.ts","sourceRoot":"","sources":["../src/gallery.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"gallery.d.ts","sourceRoot":"","sources":["../src/gallery.tsx"],"names":[],"mappings":"AA8GA;;;GAGG;AACH,eAAO,MAAM,OAAO,+CA+enB,CAAA;AAED,eAAe,OAAO,CAAA"}
|
package/dist/gallery.js
CHANGED
|
@@ -5,6 +5,7 @@ import { Workbench } from './product/Workbench.js';
|
|
|
5
5
|
import { Skeleton } from './product/Skeleton.js';
|
|
6
6
|
import { TooltipAnchor } from './product/TooltipAnchor.js';
|
|
7
7
|
import { DialogTemplate } from './product/DialogTemplate.js';
|
|
8
|
+
import { Aside, AsideToggle, Code, Composer, Header as ChatHeader, Message, ShareButton, Sidebar, SidebarFolder, SidebarHeader, SidebarItem, SidebarNewChat, SidebarScroll, SidebarSection, SidebarUser, Sources, Thread, } from './chat/index.js';
|
|
8
9
|
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuTrigger, HoverCard, HoverCardContent, HoverCardTrigger, RadioGroup, RadioGroupItem, ToggleGroup, ToggleGroupItem, AspectRatio, Avatar, AvatarFallback, Badge, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, Input, Label, Popover, PopoverContent, PopoverTrigger, Progress, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Separator, Slider, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Grid, Section as PageSection, CardMedia, CommandDialog, Spinner, } from './backends/gui/index.js';
|
|
9
10
|
/** A real <img> with real intrinsic pixels, inline so nothing hits the network.
|
|
10
11
|
* 120x40 on purpose: the wrong ratio for every box it goes in, so a frame that
|
|
@@ -20,6 +21,13 @@ const BUTTON_VARIANTS = [
|
|
|
20
21
|
];
|
|
21
22
|
const BUTTON_SIZES = ['default', 'sm', 'lg', 'icon', 'icon-sm', 'icon-lg'];
|
|
22
23
|
const BADGE_VARIANTS = ['default', 'secondary', 'destructive', 'outline'];
|
|
24
|
+
/** The chat shell is callbacks-out, and this list only needs them to exist. */
|
|
25
|
+
const NOOP = () => { };
|
|
26
|
+
/** Two, so the grid's wrap rule and the letter fallback both render. */
|
|
27
|
+
const SOURCES = [
|
|
28
|
+
{ id: 'a', title: 'hanzo.ai', href: 'https://hanzo.ai' },
|
|
29
|
+
{ id: 'b', title: 'Reference' },
|
|
30
|
+
];
|
|
23
31
|
/** One section. Plain CSS on a plain div — the gallery is a harness, and laying
|
|
24
32
|
* it out with the components under test would make a layout bug read as a
|
|
25
33
|
* styling bug. Rows wrap so the same tree is legible at 390px and at 1280px,
|
|
@@ -42,6 +50,6 @@ export const Gallery = () => (_jsxs("div", { style: { display: 'flex', flexDirec
|
|
|
42
50
|
tabs: [
|
|
43
51
|
{ id: 'console', title: 'Console', closable: false, content: _jsx(CardTitle, { children: "console" }) },
|
|
44
52
|
],
|
|
45
|
-
}, children: _jsx(CardTitle, { children: "center" }) }) }) }), _jsxs(Section, { name: "product-arrangements", children: [_jsxs("div", { style: { display: 'flex', flexDirection: 'column', gap: 12, width: 320 }, children: [_jsx(Skeleton, { width: 120 }), _jsx(Skeleton, { width: "100%", height: 72, rounded: "$4" }), _jsx(Skeleton.Text, { lines: 3 })] }), _jsx(TooltipAnchor, { description: "Delete this agent", children: _jsx(Button, { children: "hinted" }) }), _jsx(Dialog, { open: true, children: _jsx(DialogTemplate, { title: "Delete agent", description: "This removes every run recorded against it.", confirm: { label: 'Delete', tone: 'danger' }, children: _jsx(CardTitle, { children: "body" }) }) })] }), _jsxs(Section, { name: "box", children: [_jsx(Box, { className: "flex items-center gap-4 px-6 py-3 rounded-lg border", children: _jsx(CardTitle, { children: "utility classes" }) }), _jsx(Box, { className: "flex-col gap-2 max-w-3xl mx-auto overflow-hidden", children: _jsx(CardTitle, { children: "column" }) })] })] }));
|
|
53
|
+
}, children: _jsx(CardTitle, { children: "center" }) }) }) }), _jsxs(Section, { name: "product-arrangements", children: [_jsxs("div", { style: { display: 'flex', flexDirection: 'column', gap: 12, width: 320 }, children: [_jsx(Skeleton, { width: 120 }), _jsx(Skeleton, { width: "100%", height: 72, rounded: "$4" }), _jsx(Skeleton.Text, { lines: 3 })] }), _jsx(TooltipAnchor, { description: "Delete this agent", children: _jsx(Button, { children: "hinted" }) }), _jsx(Dialog, { open: true, children: _jsx(DialogTemplate, { title: "Delete agent", description: "This removes every run recorded against it.", confirm: { label: 'Delete', tone: 'danger' }, children: _jsx(CardTitle, { children: "body" }) }) })] }), _jsxs(Section, { name: "chat", children: [_jsxs("div", { style: { display: 'flex', flexDirection: 'column', gap: 12, width: 520, height: 320 }, children: [_jsxs(ChatHeader, { title: "A conversation with a long enough name to clamp", children: [_jsx(ShareButton, {}), _jsx(AsideToggle, {})] }), _jsxs(Thread, { children: [_jsx(Message, { role: "user", children: "ask" }), _jsxs(Message, { role: "assistant", icon: _jsx(Spinner, {}), actions: _jsx(Badge, { children: "copy" }), children: [_jsx(Code, { language: "typescript", value: "const x = 1", children: "const x = 1" }), _jsx(Sources, { sources: SOURCES })] }), _jsx(Message, { role: "assistant", busy: true, children: "answering" }), _jsx(Message, { role: "system", children: "note" })] }), _jsx(Composer, { value: "a draft", onChange: NOOP, onSend: NOOP, hint: "Enter to send", children: _jsx(Badge, { children: "tool" }) }), _jsx(Composer, { value: "", onChange: NOOP, onSend: NOOP, onStop: NOOP, busy: true })] }), _jsx(Aside, { children: _jsx(Sources, { sources: SOURCES }) }), _jsx("div", { style: { display: 'flex', width: 260, height: 320 }, children: _jsxs(Sidebar, { children: [_jsx(SidebarHeader, { title: "Hanzo", onOpenSwitcher: NOOP, onSearch: NOOP, onCollapse: NOOP }), _jsx(SidebarNewChat, { onPress: NOOP }), _jsxs(SidebarScroll, { children: [_jsxs(SidebarSection, { label: "Today", children: [_jsx(SidebarItem, { active: true, onPress: NOOP, children: "Selected thread" }), _jsx(SidebarItem, { onPress: NOOP, children: "Another thread" })] }), _jsx(SidebarFolder, { name: "Archive", defaultOpen: true, children: _jsx(SidebarItem, { onPress: NOOP, children: "Nested thread" }) })] }), _jsx(SidebarUser, { name: "z", secondary: "z@hanzo.ai", onPress: NOOP, onHelp: NOOP })] }) })] }), _jsxs(Section, { name: "box", children: [_jsx(Box, { className: "flex items-center gap-4 px-6 py-3 rounded-lg border", children: _jsx(CardTitle, { children: "utility classes" }) }), _jsx(Box, { className: "flex-col gap-2 max-w-3xl mx-auto overflow-hidden", children: _jsx(CardTitle, { children: "column" }) })] })] }));
|
|
46
54
|
export default Gallery;
|
|
47
55
|
//# sourceMappingURL=gallery.js.map
|
package/dist/gallery.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gallery.js","sourceRoot":"","sources":["../src/gallery.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAwBZ,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAEzD,OAAO,EACL,SAAS,EAAE,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,WAAW,EAAE,iBAAiB,EAC5F,iBAAiB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,iBAAiB,EAChF,iBAAiB,E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AAc,IAAC,OAAO,EAAE,IAAI,GAAI,EACjC,MAAC,aAAa,eACZ,MAAC,cAAc,IAAC,KAAK,EAAC,OAAO,aAE3B,KAAC,WAAW,IAAC,MAAM,QAAC,OAAO,EAAE,IAAI,gCAEnB,EACd,KAAC,WAAW,IAAC,OAAO,EAAE,IAAI,+BAA8B,IACzC,EACjB,KAAC,aAAa,IAAC,IAAI,EAAC,SAAS,EAAC,WAAW,kBACvC,KAAC,WAAW,IAAC,OAAO,EAAE,IAAI,8BAA6B,GACzC,IACF,EAChB,KAAC,WAAW,IAAC,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,YAAY,EAAC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,GAAI,IACpE,GACN,IACE,EAIV,MAAC,OAAO,IAAC,IAAI,EAAC,KAAK,aACjB,KAAC,GAAG,IAAC,SAAS,EAAC,qDAAqD,YAClE,KAAC,SAAS,kCAA4B,GAClC,EACN,KAAC,GAAG,IAAC,SAAS,EAAC,kDAAkD,YAC/D,KAAC,SAAS,yBAAmB,GACzB,IACE,IAEN,CACP,CAAA;AAED,eAAe,OAAO,CAAA"}
|
package/dist/styles.css
CHANGED
|
@@ -2166,21 +2166,27 @@
|
|
|
2166
2166
|
:root ._bblr-100000px{border-bottom-left-radius:100000px;}
|
|
2167
2167
|
:root ._bblr-1000px{border-bottom-left-radius:1000px;}
|
|
2168
2168
|
:root ._bblr-10px{border-bottom-left-radius:10px;}
|
|
2169
|
+
:root ._bblr-1px{border-bottom-left-radius:1px;}
|
|
2169
2170
|
:root ._bblr-7px{border-bottom-left-radius:7px;}
|
|
2171
|
+
:root ._bblr-9999px{border-bottom-left-radius:9999px;}
|
|
2170
2172
|
:root ._bblr-c-radius-10{border-bottom-left-radius:var(--c-radius-10);}
|
|
2171
2173
|
:root ._bblr-c-radius-2{border-bottom-left-radius:var(--c-radius-2);}
|
|
2172
2174
|
:root ._bblr-c-radius-3{border-bottom-left-radius:var(--c-radius-3);}
|
|
2173
2175
|
:root ._bblr-c-radius-4{border-bottom-left-radius:var(--c-radius-4);}
|
|
2176
|
+
:root ._bblr-c-radius-5{border-bottom-left-radius:var(--c-radius-5);}
|
|
2174
2177
|
:root ._bblr-c-radius-6{border-bottom-left-radius:var(--c-radius-6);}
|
|
2175
2178
|
:root ._bblr-radius-lg0--71290927033{border-bottom-left-radius:var(--radius-lg, 0.75rem);}
|
|
2176
2179
|
:root ._bbrr-100000px{border-bottom-right-radius:100000px;}
|
|
2177
2180
|
:root ._bbrr-1000px{border-bottom-right-radius:1000px;}
|
|
2178
2181
|
:root ._bbrr-10px{border-bottom-right-radius:10px;}
|
|
2182
|
+
:root ._bbrr-1px{border-bottom-right-radius:1px;}
|
|
2179
2183
|
:root ._bbrr-7px{border-bottom-right-radius:7px;}
|
|
2184
|
+
:root ._bbrr-9999px{border-bottom-right-radius:9999px;}
|
|
2180
2185
|
:root ._bbrr-c-radius-10{border-bottom-right-radius:var(--c-radius-10);}
|
|
2181
2186
|
:root ._bbrr-c-radius-2{border-bottom-right-radius:var(--c-radius-2);}
|
|
2182
2187
|
:root ._bbrr-c-radius-3{border-bottom-right-radius:var(--c-radius-3);}
|
|
2183
2188
|
:root ._bbrr-c-radius-4{border-bottom-right-radius:var(--c-radius-4);}
|
|
2189
|
+
:root ._bbrr-c-radius-5{border-bottom-right-radius:var(--c-radius-5);}
|
|
2184
2190
|
:root ._bbrr-c-radius-6{border-bottom-right-radius:var(--c-radius-6);}
|
|
2185
2191
|
:root ._bbrr-radius-lg0--71290927033{border-bottom-right-radius:var(--radius-lg, 0.75rem);}
|
|
2186
2192
|
:root ._bbs-solid._bbs-solid{border-bottom-style:solid;}
|
|
@@ -2188,6 +2194,7 @@
|
|
|
2188
2194
|
:root:root:root ._bg-0active-backgroundF3405682:active{background-color:var(--backgroundFocus) !important;}
|
|
2189
2195
|
:root:root:root ._bg-0active-backgroundP3496915:active{background-color:var(--backgroundPress) !important;}
|
|
2190
2196
|
:root:root:root ._bg-0active-color3:active{background-color:var(--color3) !important;}
|
|
2197
|
+
:root:root:root ._bg-0active-color5:active{background-color:var(--color5) !important;}
|
|
2191
2198
|
:root:root:root:root ._bg-0focus-backgroundH3423444:focus{background-color:var(--backgroundHover) !important;}
|
|
2192
2199
|
:root:root:root:root ._bg-0focus-color3:focus{background-color:var(--color3) !important;}
|
|
2193
2200
|
:root:root:root:root ._bg-0focus-color4:focus{background-color:var(--color4) !important;}
|
|
@@ -2305,21 +2312,27 @@
|
|
|
2305
2312
|
:root ._btlr-100000px{border-top-left-radius:100000px;}
|
|
2306
2313
|
:root ._btlr-1000px{border-top-left-radius:1000px;}
|
|
2307
2314
|
:root ._btlr-10px{border-top-left-radius:10px;}
|
|
2315
|
+
:root ._btlr-1px{border-top-left-radius:1px;}
|
|
2308
2316
|
:root ._btlr-7px{border-top-left-radius:7px;}
|
|
2317
|
+
:root ._btlr-9999px{border-top-left-radius:9999px;}
|
|
2309
2318
|
:root ._btlr-c-radius-10{border-top-left-radius:var(--c-radius-10);}
|
|
2310
2319
|
:root ._btlr-c-radius-2{border-top-left-radius:var(--c-radius-2);}
|
|
2311
2320
|
:root ._btlr-c-radius-3{border-top-left-radius:var(--c-radius-3);}
|
|
2312
2321
|
:root ._btlr-c-radius-4{border-top-left-radius:var(--c-radius-4);}
|
|
2322
|
+
:root ._btlr-c-radius-5{border-top-left-radius:var(--c-radius-5);}
|
|
2313
2323
|
:root ._btlr-c-radius-6{border-top-left-radius:var(--c-radius-6);}
|
|
2314
2324
|
:root ._btlr-radius-lg0--71290927033{border-top-left-radius:var(--radius-lg, 0.75rem);}
|
|
2315
2325
|
:root ._btrr-100000px{border-top-right-radius:100000px;}
|
|
2316
2326
|
:root ._btrr-1000px{border-top-right-radius:1000px;}
|
|
2317
2327
|
:root ._btrr-10px{border-top-right-radius:10px;}
|
|
2328
|
+
:root ._btrr-1px{border-top-right-radius:1px;}
|
|
2318
2329
|
:root ._btrr-7px{border-top-right-radius:7px;}
|
|
2330
|
+
:root ._btrr-9999px{border-top-right-radius:9999px;}
|
|
2319
2331
|
:root ._btrr-c-radius-10{border-top-right-radius:var(--c-radius-10);}
|
|
2320
2332
|
:root ._btrr-c-radius-2{border-top-right-radius:var(--c-radius-2);}
|
|
2321
2333
|
:root ._btrr-c-radius-3{border-top-right-radius:var(--c-radius-3);}
|
|
2322
2334
|
:root ._btrr-c-radius-4{border-top-right-radius:var(--c-radius-4);}
|
|
2335
|
+
:root ._btrr-c-radius-5{border-top-right-radius:var(--c-radius-5);}
|
|
2323
2336
|
:root ._btrr-c-radius-6{border-top-right-radius:var(--c-radius-6);}
|
|
2324
2337
|
:root ._btrr-radius-lg0--71290927033{border-top-right-radius:var(--radius-lg, 0.75rem);}
|
|
2325
2338
|
:root ._bts-solid._bts-solid{border-top-style:solid;}
|
|
@@ -2330,8 +2343,10 @@
|
|
|
2330
2343
|
@media (hover) {:root:root ._col-0hover-color12:hover{color:var(--color12) !important;}}
|
|
2331
2344
|
:root ._col-color{color:var(--color);}
|
|
2332
2345
|
:root ._col-color1{color:var(--color1);}
|
|
2346
|
+
:root ._col-color10{color:var(--color10);}
|
|
2333
2347
|
:root ._col-color11{color:var(--color11);}
|
|
2334
2348
|
:root ._col-color12{color:var(--color12);}
|
|
2349
|
+
:root ._col-color9{color:var(--color9);}
|
|
2335
2350
|
:root ._col-white1{color:var(--white1);}
|
|
2336
2351
|
:root:root ._cur-_platformweb_pointer{cursor:pointer;}
|
|
2337
2352
|
:root ._cur-col-resize{cursor:col-resize;}
|
|
@@ -2360,26 +2375,33 @@
|
|
|
2360
2375
|
:root ._fw-f-weight-3{font-weight:var(--f-weight-3);}
|
|
2361
2376
|
:root ._fw-f-weight-4{font-weight:var(--f-weight-4);}
|
|
2362
2377
|
:root ._fwr-nowrap{flex-wrap:nowrap;}
|
|
2378
|
+
:root ._fwr-wrap{flex-wrap:wrap;}
|
|
2363
2379
|
:root ._gap-16px{gap:16px;}
|
|
2364
2380
|
:root ._gap-24px{gap:24px;}
|
|
2365
2381
|
:root ._gap-2px{gap:2px;}
|
|
2366
2382
|
:root ._gap-6px{gap:6px;}
|
|
2367
2383
|
:root ._gap-8px{gap:8px;}
|
|
2384
|
+
:root ._gap-c-space-0--53{gap:var(--c-space-0--5);}
|
|
2368
2385
|
:root ._gap-c-space-1{gap:var(--c-space-1);}
|
|
2369
2386
|
:root ._gap-c-space-1--53{gap:var(--c-space-1--5);}
|
|
2370
2387
|
:root ._gap-c-space-2{gap:var(--c-space-2);}
|
|
2388
|
+
:root ._gap-c-space-3{gap:var(--c-space-3);}
|
|
2371
2389
|
:root ._grow-0{flex-grow:0;}
|
|
2372
2390
|
:root ._grow-1{flex-grow:1;}
|
|
2373
2391
|
:root ._grow-50{flex-grow:50;}
|
|
2374
2392
|
:root ._height-0px{height:0px;}
|
|
2375
2393
|
:root ._height-10037{height:100%;}
|
|
2394
|
+
:root ._height-15px{height:15px;}
|
|
2376
2395
|
:root ._height-16px{height:16px;}
|
|
2377
2396
|
:root ._height-20px{height:20px;}
|
|
2378
2397
|
:root ._height-220px{height:220px;}
|
|
2398
|
+
:root ._height-24px{height:24px;}
|
|
2399
|
+
:root ._height-28px{height:28px;}
|
|
2379
2400
|
:root ._height-32px{height:32px;}
|
|
2380
2401
|
:root ._height-36px{height:36px;}
|
|
2381
2402
|
:root ._height-40px{height:40px;}
|
|
2382
2403
|
:root ._height-44px{height:44px;}
|
|
2404
|
+
:root ._height-48px{height:48px;}
|
|
2383
2405
|
:root ._height-5px{height:5px;}
|
|
2384
2406
|
:root ._height-6px{height:6px;}
|
|
2385
2407
|
:root ._height-72px{height:72px;}
|
|
@@ -2393,10 +2415,13 @@
|
|
|
2393
2415
|
:root ._items-center{align-items:center;}
|
|
2394
2416
|
:root ._items-flex-start{align-items:flex-start;}
|
|
2395
2417
|
:root ._justify-center{justify-content:center;}
|
|
2418
|
+
:root ._justify-flex-end{justify-content:flex-end;}
|
|
2419
|
+
:root ._justify-flex-start{justify-content:flex-start;}
|
|
2396
2420
|
:root ._justify-space-betwe3241{justify-content:space-between;}
|
|
2397
2421
|
:root ._l-037{left:0%;}
|
|
2398
2422
|
:root ._l-0px{left:0px;}
|
|
2399
2423
|
:root ._l-4037{left:40%;}
|
|
2424
|
+
:root ._lh-20px{line-height:20px;}
|
|
2400
2425
|
:root ._lh-c-size-true{line-height:var(--c-size-true);}
|
|
2401
2426
|
:root ._lh-f-lineHeigh112920{line-height:var(--f-lineHeight-1);}
|
|
2402
2427
|
:root ._lh-f-lineHeigh112921{line-height:var(--f-lineHeight-2);}
|
|
@@ -2420,6 +2445,7 @@
|
|
|
2420
2445
|
:root ._maxW-32px{max-width:32px;}
|
|
2421
2446
|
:root ._maxW-600px{max-width:600px;}
|
|
2422
2447
|
:root ._maxW-768px{max-width:768px;}
|
|
2448
|
+
:root ._maxW-8537{max-width:85%;}
|
|
2423
2449
|
:root ._maxW-c-size-1{max-width:var(--c-size-1);}
|
|
2424
2450
|
:root ._mb-0px{margin-bottom:0px;}
|
|
2425
2451
|
:root ._minH-16px{min-height:16px;}
|
|
@@ -2445,13 +2471,17 @@
|
|
|
2445
2471
|
:root ._mr-auto{margin-right:auto;}
|
|
2446
2472
|
:root ._mt--24px{margin-top:-24px;}
|
|
2447
2473
|
:root ._mt-0px{margin-top:0px;}
|
|
2474
|
+
:root ._mt-c-space-1{margin-top:var(--c-space-1);}
|
|
2475
|
+
:root ._mt-c-space-3{margin-top:var(--c-space-3);}
|
|
2448
2476
|
:root ._o-0{opacity:0;}
|
|
2449
2477
|
:root ._o-0--4{opacity:0.4;}
|
|
2450
2478
|
:root ._o-0--5{opacity:0.5;}
|
|
2451
2479
|
:root ._o-0--6{opacity:0.6;}
|
|
2452
2480
|
:root ._o-0--7{opacity:0.7;}
|
|
2481
|
+
:root ._o-0--8{opacity:0.8;}
|
|
2453
2482
|
@media (hover) {:root:root ._o-0hover-0--8:hover{opacity:0.8 !important;}}
|
|
2454
2483
|
@media (hover) {:root:root ._o-0hover-0--9:hover{opacity:0.9 !important;}}
|
|
2484
|
+
@media (hover) {:root:root ._o-0hover-1:hover{opacity:1 !important;}}
|
|
2455
2485
|
:root ._o-1{opacity:1;}
|
|
2456
2486
|
:root:root:root:root ._outlineColor-0focus-color8._outlineColor-0focus-color8:focus{outline-color:var(--color8) !important;}
|
|
2457
2487
|
:root:root:root:root ._outlineColor-0focus-visible-outlineColo114._outlineColor-0focus-visible-outlineColo114:focus-visible{outline-color:var(--outlineColor) !important;}
|
|
@@ -2470,12 +2500,14 @@
|
|
|
2470
2500
|
:root ._pb-24px{padding-bottom:24px;}
|
|
2471
2501
|
:root ._pb-2px{padding-bottom:2px;}
|
|
2472
2502
|
:root ._pb-3px{padding-bottom:3px;}
|
|
2503
|
+
:root ._pb-8px{padding-bottom:8px;}
|
|
2473
2504
|
@media (min-width: 768px){:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root ._pb-_md_c-space-8{padding-bottom:var(--c-space-8);}}
|
|
2474
2505
|
:root ._pb-c-space--3-1448{padding-bottom:var(--c-space--3--5);}
|
|
2475
2506
|
:root ._pb-c-space-1{padding-bottom:var(--c-space-1);}
|
|
2476
2507
|
:root ._pb-c-space-1--53{padding-bottom:var(--c-space-1--5);}
|
|
2477
2508
|
:root ._pb-c-space-11{padding-bottom:var(--c-space-11);}
|
|
2478
2509
|
:root ._pb-c-space-2{padding-bottom:var(--c-space-2);}
|
|
2510
|
+
:root ._pb-c-space-2--53{padding-bottom:var(--c-space-2--5);}
|
|
2479
2511
|
:root ._pb-c-space-3{padding-bottom:var(--c-space-3);}
|
|
2480
2512
|
:root ._pb-c-space-3--53{padding-bottom:var(--c-space-3--5);}
|
|
2481
2513
|
:root ._pb-c-space-4{padding-bottom:var(--c-space-4);}
|
|
@@ -2487,6 +2519,7 @@
|
|
|
2487
2519
|
:root ._pl-24px{padding-left:24px;}
|
|
2488
2520
|
:root ._pl-2px{padding-left:2px;}
|
|
2489
2521
|
:root ._pl-3px{padding-left:3px;}
|
|
2522
|
+
:root ._pl-8px{padding-left:8px;}
|
|
2490
2523
|
@media (min-width: 768px){:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root ._pl-_md_c-space-4{padding-left:var(--c-space-4);}}
|
|
2491
2524
|
:root ._pl-c-space-1{padding-left:var(--c-space-1);}
|
|
2492
2525
|
:root ._pl-c-space-2{padding-left:var(--c-space-2);}
|
|
@@ -2504,6 +2537,7 @@
|
|
|
2504
2537
|
:root ._pr-2px{padding-right:2px;}
|
|
2505
2538
|
:root ._pr-36px{padding-right:36px;}
|
|
2506
2539
|
:root ._pr-3px{padding-right:3px;}
|
|
2540
|
+
:root ._pr-8px{padding-right:8px;}
|
|
2507
2541
|
@media (min-width: 768px){:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root ._pr-_md_c-space-4{padding-right:var(--c-space-4);}}
|
|
2508
2542
|
:root ._pr-c-space-1{padding-right:var(--c-space-1);}
|
|
2509
2543
|
:root ._pr-c-space-2{padding-right:var(--c-space-2);}
|
|
@@ -2518,12 +2552,15 @@
|
|
|
2518
2552
|
:root ._pt-24px{padding-top:24px;}
|
|
2519
2553
|
:root ._pt-2px{padding-top:2px;}
|
|
2520
2554
|
:root ._pt-3px{padding-top:3px;}
|
|
2555
|
+
:root ._pt-8px{padding-top:8px;}
|
|
2521
2556
|
@media (min-width: 768px){:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root ._pt-_md_c-space-8{padding-top:var(--c-space-8);}}
|
|
2522
2557
|
:root ._pt-c-space--3-1448{padding-top:var(--c-space--3--5);}
|
|
2523
2558
|
:root ._pt-c-space-1{padding-top:var(--c-space-1);}
|
|
2524
2559
|
:root ._pt-c-space-1--53{padding-top:var(--c-space-1--5);}
|
|
2525
2560
|
:root ._pt-c-space-11{padding-top:var(--c-space-11);}
|
|
2526
2561
|
:root ._pt-c-space-2{padding-top:var(--c-space-2);}
|
|
2562
|
+
:root ._pt-c-space-2--53{padding-top:var(--c-space-2--5);}
|
|
2563
|
+
:root ._pt-c-space-3{padding-top:var(--c-space-3);}
|
|
2527
2564
|
:root ._pt-c-space-3--53{padding-top:var(--c-space-3--5);}
|
|
2528
2565
|
:root ._pt-c-space-4{padding-top:var(--c-space-4);}
|
|
2529
2566
|
:root ._r-0px{right:0px;}
|
|
@@ -2540,6 +2577,7 @@
|
|
|
2540
2577
|
:root ._t-0px{top:0px;}
|
|
2541
2578
|
:root ._t-5037{top:50%;}
|
|
2542
2579
|
@media (hover) {:root:root ._td-0hover-underline:hover{text-decoration-line:underline !important;}}
|
|
2580
|
+
:root ._text-center{text-align:center;}
|
|
2543
2581
|
:root ._textOverflow-ellipsis{text-overflow:ellipsis;}
|
|
2544
2582
|
:root ._tr-rotate0deg1281{transform:rotate(0deg);}
|
|
2545
2583
|
:root ._tr-rotate180de41674{transform:rotate(180deg);}
|
|
@@ -2556,7 +2594,12 @@
|
|
|
2556
2594
|
:root ._width-120px{width:120px;}
|
|
2557
2595
|
:root ._width-16px{width:16px;}
|
|
2558
2596
|
:root ._width-20037{width:200%;}
|
|
2597
|
+
:root ._width-24px{width:24px;}
|
|
2559
2598
|
:root ._width-260px{width:260px;}
|
|
2599
|
+
:root ._width-264px{width:264px;}
|
|
2600
|
+
:root ._width-28px{width:28px;}
|
|
2601
|
+
:root ._width-2px{width:2px;}
|
|
2602
|
+
:root ._width-320px{width:320px;}
|
|
2560
2603
|
:root ._width-32px{width:32px;}
|
|
2561
2604
|
:root ._width-36px{width:36px;}
|
|
2562
2605
|
:root ._width-380px{width:380px;}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/ui",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Hanzo UI — the one canonical Hanzo component library, on @hanzo/gui + @hanzo/design. ONE substrate: every component renders through @hanzo/gui primitives, so the same import works on web, native (expo) and desktop (Tauri). Self-contained (theme.css), presentational, host-agnostic, clean-room.",
|
|
6
6
|
"exports": {
|