@hanzo/ui 8.29.21 → 8.29.23
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/Composer.cjs +181 -99
- package/dist/chat/Composer.d.ts +110 -81
- package/dist/chat/Composer.d.ts.map +1 -1
- package/dist/chat/Composer.js +183 -101
- package/dist/chat/Composer.js.map +1 -1
- package/dist/chat/Dial.cjs +96 -0
- package/dist/chat/Dial.d.ts +7 -0
- package/dist/chat/Dial.d.ts.map +1 -0
- package/dist/chat/Dial.js +94 -0
- package/dist/chat/Dial.js.map +1 -0
- package/dist/chat/Dictation.cjs +142 -0
- package/dist/chat/Dictation.d.ts +13 -0
- package/dist/chat/Dictation.d.ts.map +1 -0
- package/dist/chat/Dictation.js +140 -0
- package/dist/chat/Dictation.js.map +1 -0
- package/dist/chat/Families.cjs +41 -0
- package/dist/chat/Families.d.ts +3 -0
- package/dist/chat/Families.d.ts.map +1 -0
- package/dist/chat/Families.js +39 -0
- package/dist/chat/Families.js.map +1 -0
- package/dist/chat/Mention.cjs +25 -0
- package/dist/chat/Mention.d.ts +16 -0
- package/dist/chat/Mention.d.ts.map +1 -0
- package/dist/chat/Mention.js +22 -0
- package/dist/chat/Mention.js.map +1 -0
- package/dist/chat/Palette.cjs +22 -0
- package/dist/chat/Palette.d.ts +21 -0
- package/dist/chat/Palette.d.ts.map +1 -0
- package/dist/chat/Palette.js +20 -0
- package/dist/chat/Palette.js.map +1 -0
- package/dist/chat/Plus.cjs +76 -0
- package/dist/chat/Plus.d.ts +49 -0
- package/dist/chat/Plus.d.ts.map +1 -0
- package/dist/chat/Plus.js +74 -0
- package/dist/chat/Plus.js.map +1 -0
- package/dist/chat/Tune.cjs +55 -0
- package/dist/chat/Tune.d.ts +49 -0
- package/dist/chat/Tune.d.ts.map +1 -0
- package/dist/chat/Tune.js +51 -0
- package/dist/chat/Tune.js.map +1 -0
- package/dist/chat/index.cjs +25 -4
- package/dist/chat/index.d.ts +11 -3
- package/dist/chat/index.d.ts.map +1 -1
- package/dist/chat/index.js +10 -2
- package/dist/chat/index.js.map +1 -1
- package/dist/chat/languages.cjs +17 -0
- package/dist/chat/languages.d.ts +11 -0
- package/dist/chat/languages.d.ts.map +1 -0
- package/dist/chat/languages.js +15 -0
- package/dist/chat/languages.js.map +1 -0
- package/dist/chat/pure.cjs +7 -1
- package/dist/chat/pure.d.ts +3 -1
- package/dist/chat/pure.d.ts.map +1 -1
- package/dist/chat/pure.js +4 -0
- package/dist/chat/pure.js.map +1 -1
- package/dist/chat/ring.cjs +9 -0
- package/dist/chat/ring.d.ts +11 -0
- package/dist/chat/ring.d.ts.map +1 -0
- package/dist/chat/ring.js +7 -0
- package/dist/chat/ring.js.map +1 -0
- package/dist/chat/send.cjs +3 -2
- package/dist/chat/send.d.ts +4 -1
- package/dist/chat/send.d.ts.map +1 -1
- package/dist/chat/send.js +3 -2
- package/dist/chat/send.js.map +1 -1
- package/dist/chat/ways.cjs +19 -0
- package/dist/chat/ways.d.ts +11 -0
- package/dist/chat/ways.d.ts.map +1 -0
- package/dist/chat/ways.js +17 -0
- package/dist/chat/ways.js.map +1 -0
- package/dist/gallery.cjs +4 -1
- package/dist/gallery.d.ts.map +1 -1
- package/dist/gallery.html +41 -15
- package/dist/gallery.js +5 -2
- package/dist/gallery.js.map +1 -1
- package/dist/marketing/heat.cjs +159 -0
- package/dist/marketing/heat.d.ts +73 -0
- package/dist/marketing/heat.d.ts.map +1 -0
- package/dist/marketing/heat.js +150 -0
- package/dist/marketing/heat.js.map +1 -0
- package/dist/marketing/index.cjs +15 -1
- package/dist/marketing/index.d.ts +2 -0
- package/dist/marketing/index.d.ts.map +1 -1
- package/dist/marketing/index.js +2 -0
- package/dist/marketing/index.js.map +1 -1
- package/dist/marketing/repo.cjs +72 -0
- package/dist/marketing/repo.d.ts +61 -0
- package/dist/marketing/repo.d.ts.map +1 -0
- package/dist/marketing/repo.js +65 -0
- package/dist/marketing/repo.js.map +1 -0
- package/dist/models/ModelPicker.cjs +3 -3
- package/dist/models/ModelPicker.d.ts +6 -1
- package/dist/models/ModelPicker.d.ts.map +1 -1
- package/dist/models/ModelPicker.js +3 -3
- package/dist/models/ModelPicker.js.map +1 -1
- package/dist/models/ModelPickerMenu.cjs +19 -13
- package/dist/models/ModelPickerMenu.d.ts +4 -0
- package/dist/models/ModelPickerMenu.d.ts.map +1 -1
- package/dist/models/ModelPickerMenu.js +19 -13
- package/dist/models/ModelPickerMenu.js.map +1 -1
- package/dist/models/catalog.cjs +7 -0
- package/dist/models/catalog.d.ts +2 -0
- package/dist/models/catalog.d.ts.map +1 -1
- package/dist/models/catalog.js +6 -0
- package/dist/models/catalog.js.map +1 -1
- package/dist/models/index.cjs +2 -1
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/index.js.map +1 -1
- package/dist/product/BranchSelect.cjs +1 -1
- package/dist/product/BranchSelect.js +1 -1
- package/dist/product/BranchSelect.js.map +1 -1
- package/dist/product/ChipSelect.cjs +60 -11
- package/dist/product/ChipSelect.d.ts +13 -2
- package/dist/product/ChipSelect.d.ts.map +1 -1
- package/dist/product/ChipSelect.js +61 -12
- package/dist/product/ChipSelect.js.map +1 -1
- package/dist/product/RepoSelect.cjs +11 -5
- package/dist/product/RepoSelect.d.ts +6 -2
- package/dist/product/RepoSelect.d.ts.map +1 -1
- package/dist/product/RepoSelect.js +13 -7
- package/dist/product/RepoSelect.js.map +1 -1
- package/dist/product/chipSelect.logic.d.ts +4 -1
- package/dist/product/chipSelect.logic.d.ts.map +1 -1
- package/dist/product/chipSelect.logic.js.map +1 -1
- package/dist/product/index.cjs +3 -3
- package/dist/product/index.d.ts +1 -1
- package/dist/product/index.d.ts.map +1 -1
- package/dist/product/index.js +3 -3
- package/dist/product/index.js.map +1 -1
- package/dist/styles.css +37 -11
- package/package.json +8 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"languages.d.ts","sourceRoot":"","sources":["../../src/chat/languages.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,SAAS;;;GAOrB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The languages dictation listens in, each named in itself. The platform hears
|
|
3
|
+
* the audio, never a browser's built-in recognizer, which ships it to its vendor.
|
|
4
|
+
* Its own module with no imports, so a surface that only names a language
|
|
5
|
+
* (a settings page, a spec) loads it without the composer.
|
|
6
|
+
*/
|
|
7
|
+
export const LANGUAGES = [
|
|
8
|
+
{ id: 'en', label: 'English' },
|
|
9
|
+
{ id: 'es', label: 'Español' },
|
|
10
|
+
{ id: 'fr', label: 'Français' },
|
|
11
|
+
{ id: 'de', label: 'Deutsch' },
|
|
12
|
+
{ id: 'ja', label: '日本語' },
|
|
13
|
+
{ id: 'zh', label: '中文' },
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=languages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"languages.js","sourceRoot":"","sources":["../../src/chat/languages.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE;IAC9B,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE;IAC9B,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,UAAU,EAAE;IAC/B,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE;IAC9B,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE;IAC1B,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;CAC1B,CAAA"}
|
package/dist/chat/pure.cjs
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// `@hanzo/ui/product/pure` re-exports all four, because none of them is a chat
|
|
11
11
|
// rule and that is the entry point a non-chat surface imports them from.
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.words = exports.SLACK = exports.pinned = exports.sends = exports.ready = void 0;
|
|
13
|
+
exports.EFFORTS = exports.LANGUAGES = exports.words = exports.SLACK = exports.pinned = exports.sends = exports.ready = void 0;
|
|
14
14
|
// Enter, and whether a draft may go. Read `sends` before writing another one:
|
|
15
15
|
// the IME guard is the point.
|
|
16
16
|
var send_1 = require("./send.cjs");
|
|
@@ -23,3 +23,9 @@ Object.defineProperty(exports, "SLACK", { enumerable: true, get: function () { r
|
|
|
23
23
|
// The text of a turn whose content may be a string or the wire's parts.
|
|
24
24
|
var words_1 = require("./words.cjs");
|
|
25
25
|
Object.defineProperty(exports, "words", { enumerable: true, get: function () { return words_1.words; } });
|
|
26
|
+
// The languages dictation listens in, each named in itself.
|
|
27
|
+
var languages_1 = require("./languages.cjs");
|
|
28
|
+
Object.defineProperty(exports, "LANGUAGES", { enumerable: true, get: function () { return languages_1.LANGUAGES; } });
|
|
29
|
+
// The efforts a composer offers, and the shape of a short list of choices.
|
|
30
|
+
var ways_1 = require("./ways.cjs");
|
|
31
|
+
Object.defineProperty(exports, "EFFORTS", { enumerable: true, get: function () { return ways_1.EFFORTS; } });
|
package/dist/chat/pure.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export { ready, sends, type Mods } from './send.js';
|
|
1
|
+
export { ready, sends, type Mods, type Rule } from './send.js';
|
|
2
2
|
export { pinned, SLACK, type Track } from './stick.js';
|
|
3
3
|
export { words, type Part, type Said } from './words.js';
|
|
4
|
+
export { LANGUAGES } from './languages.js';
|
|
5
|
+
export { EFFORTS, type Effort, type Way } from './ways.js';
|
|
4
6
|
//# sourceMappingURL=pure.d.ts.map
|
package/dist/chat/pure.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pure.d.ts","sourceRoot":"","sources":["../../src/chat/pure.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,IAAI,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"pure.d.ts","sourceRoot":"","sources":["../../src/chat/pure.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,IAAI,EAAE,KAAK,IAAI,EAAE,MAAM,QAAQ,CAAA;AAG3D,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,KAAK,EAAE,MAAM,SAAS,CAAA;AAGnD,OAAO,EAAE,KAAK,EAAE,KAAK,IAAI,EAAE,KAAK,IAAI,EAAE,MAAM,SAAS,CAAA;AAGrD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAGvC,OAAO,EAAE,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,GAAG,EAAE,MAAM,QAAQ,CAAA"}
|
package/dist/chat/pure.js
CHANGED
|
@@ -15,4 +15,8 @@ export { ready, sends } from './send.js';
|
|
|
15
15
|
export { pinned, SLACK } from './stick.js';
|
|
16
16
|
// The text of a turn whose content may be a string or the wire's parts.
|
|
17
17
|
export { words } from './words.js';
|
|
18
|
+
// The languages dictation listens in, each named in itself.
|
|
19
|
+
export { LANGUAGES } from './languages.js';
|
|
20
|
+
// The efforts a composer offers, and the shape of a short list of choices.
|
|
21
|
+
export { EFFORTS } from './ways.js';
|
|
18
22
|
//# sourceMappingURL=pure.js.map
|
package/dist/chat/pure.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pure.js","sourceRoot":"","sources":["../../src/chat/pure.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,EAAE;AACF,gFAAgF;AAChF,+EAA+E;AAC/E,oBAAoB;AACpB,EAAE;AACF,6EAA6E;AAC7E,EAAE;AACF,+EAA+E;AAC/E,yEAAyE;AAEzE,8EAA8E;AAC9E,8BAA8B;AAC9B,OAAO,EAAE,KAAK,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"pure.js","sourceRoot":"","sources":["../../src/chat/pure.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,EAAE;AACF,gFAAgF;AAChF,+EAA+E;AAC/E,oBAAoB;AACpB,EAAE;AACF,6EAA6E;AAC7E,EAAE;AACF,+EAA+E;AAC/E,yEAAyE;AAEzE,8EAA8E;AAC9E,8BAA8B;AAC9B,OAAO,EAAE,KAAK,EAAE,KAAK,EAAwB,MAAM,QAAQ,CAAA;AAE3D,0CAA0C;AAC1C,OAAO,EAAE,MAAM,EAAE,KAAK,EAAc,MAAM,SAAS,CAAA;AAEnD,wEAAwE;AACxE,OAAO,EAAE,KAAK,EAAwB,MAAM,SAAS,CAAA;AAErD,4DAA4D;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,2EAA2E;AAC3E,OAAO,EAAE,OAAO,EAAyB,MAAM,QAAQ,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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' };
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
package/dist/chat/send.cjs
CHANGED
|
@@ -19,6 +19,7 @@ const claimed = (key, mods) => mods.isComposing === true || key === 'Process' ||
|
|
|
19
19
|
* Enter sends. Shift+Enter writes a newline, so a multi-line draft is always
|
|
20
20
|
* reachable from the keyboard. Cmd/Ctrl+Enter always sends — it is the force-send
|
|
21
21
|
* every surface already taught its users, and it holds even with Shift down.
|
|
22
|
+
* Under the `mod` rule Enter is a newline and only Cmd/Ctrl+Enter sends.
|
|
22
23
|
* A keystroke the IME has claimed belongs to the IME, never to the composer.
|
|
23
24
|
*
|
|
24
25
|
* Hand it `e.nativeEvent`, never `e`: React's synthetic event carries neither
|
|
@@ -27,12 +28,12 @@ const claimed = (key, mods) => mods.isComposing === true || key === 'Process' ||
|
|
|
27
28
|
*
|
|
28
29
|
* onKeyDown={(e) => { if (sends(e.key, e.nativeEvent)) { … } }}
|
|
29
30
|
*/
|
|
30
|
-
const sends = (key, mods = {}) => {
|
|
31
|
+
const sends = (key, mods = {}, rule = 'enter') => {
|
|
31
32
|
if (key !== 'Enter' || claimed(key, mods))
|
|
32
33
|
return false;
|
|
33
34
|
if (mods.metaKey === true || mods.ctrlKey === true)
|
|
34
35
|
return true;
|
|
35
|
-
return mods.shiftKey !== true && mods.altKey !== true;
|
|
36
|
+
return rule === 'enter' && mods.shiftKey !== true && mods.altKey !== true;
|
|
36
37
|
};
|
|
37
38
|
exports.sends = sends;
|
|
38
39
|
/**
|
package/dist/chat/send.d.ts
CHANGED
|
@@ -13,10 +13,13 @@ export interface Mods {
|
|
|
13
13
|
/** Legacy `KeyboardEvent.keyCode`. Read only to recognise Safari's IME. */
|
|
14
14
|
keyCode?: number;
|
|
15
15
|
}
|
|
16
|
+
/** Which key sends: the person's choice (Settings → Appearance), Enter unless they chose otherwise. */
|
|
17
|
+
export type Rule = 'enter' | 'mod';
|
|
16
18
|
/**
|
|
17
19
|
* Enter sends. Shift+Enter writes a newline, so a multi-line draft is always
|
|
18
20
|
* reachable from the keyboard. Cmd/Ctrl+Enter always sends — it is the force-send
|
|
19
21
|
* every surface already taught its users, and it holds even with Shift down.
|
|
22
|
+
* Under the `mod` rule Enter is a newline and only Cmd/Ctrl+Enter sends.
|
|
20
23
|
* A keystroke the IME has claimed belongs to the IME, never to the composer.
|
|
21
24
|
*
|
|
22
25
|
* Hand it `e.nativeEvent`, never `e`: React's synthetic event carries neither
|
|
@@ -25,7 +28,7 @@ export interface Mods {
|
|
|
25
28
|
*
|
|
26
29
|
* onKeyDown={(e) => { if (sends(e.key, e.nativeEvent)) { … } }}
|
|
27
30
|
*/
|
|
28
|
-
export declare const sends: (key: string, mods?: Mods) => boolean;
|
|
31
|
+
export declare const sends: (key: string, mods?: Mods, rule?: Rule) => boolean;
|
|
29
32
|
/**
|
|
30
33
|
* Whether a draft may be sent: there has to be something other than whitespace,
|
|
31
34
|
* the surface must not already be waiting on a turn, and the field must be live.
|
package/dist/chat/send.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send.d.ts","sourceRoot":"","sources":["../../src/chat/send.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,mEAAmE;AACnE,MAAM,WAAW,IAAI;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,gFAAgF;IAChF,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAeD
|
|
1
|
+
{"version":3,"file":"send.d.ts","sourceRoot":"","sources":["../../src/chat/send.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,mEAAmE;AACnE,MAAM,WAAW,IAAI;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,gFAAgF;IAChF,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAeD,uGAAuG;AACvG,MAAM,MAAM,IAAI,GAAG,OAAO,GAAG,KAAK,CAAA;AAElC;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,KAAK,QAAS,MAAM,SAAQ,IAAI,SAAa,IAAI,KAAa,OAI1E,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,KAAK,UAAW,MAAM,yCAAmC,OACvB,CAAA"}
|
package/dist/chat/send.js
CHANGED
|
@@ -16,6 +16,7 @@ const claimed = (key, mods) => mods.isComposing === true || key === 'Process' ||
|
|
|
16
16
|
* Enter sends. Shift+Enter writes a newline, so a multi-line draft is always
|
|
17
17
|
* reachable from the keyboard. Cmd/Ctrl+Enter always sends — it is the force-send
|
|
18
18
|
* every surface already taught its users, and it holds even with Shift down.
|
|
19
|
+
* Under the `mod` rule Enter is a newline and only Cmd/Ctrl+Enter sends.
|
|
19
20
|
* A keystroke the IME has claimed belongs to the IME, never to the composer.
|
|
20
21
|
*
|
|
21
22
|
* Hand it `e.nativeEvent`, never `e`: React's synthetic event carries neither
|
|
@@ -24,12 +25,12 @@ const claimed = (key, mods) => mods.isComposing === true || key === 'Process' ||
|
|
|
24
25
|
*
|
|
25
26
|
* onKeyDown={(e) => { if (sends(e.key, e.nativeEvent)) { … } }}
|
|
26
27
|
*/
|
|
27
|
-
export const sends = (key, mods = {}) => {
|
|
28
|
+
export const sends = (key, mods = {}, rule = 'enter') => {
|
|
28
29
|
if (key !== 'Enter' || claimed(key, mods))
|
|
29
30
|
return false;
|
|
30
31
|
if (mods.metaKey === true || mods.ctrlKey === true)
|
|
31
32
|
return true;
|
|
32
|
-
return mods.shiftKey !== true && mods.altKey !== true;
|
|
33
|
+
return rule === 'enter' && mods.shiftKey !== true && mods.altKey !== true;
|
|
33
34
|
};
|
|
34
35
|
/**
|
|
35
36
|
* Whether a draft may be sent: there has to be something other than whitespace,
|
package/dist/chat/send.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send.js","sourceRoot":"","sources":["../../src/chat/send.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAcH,4EAA4E;AAC5E,MAAM,GAAG,GAAG,GAAG,CAAA;AAEf;;;;;;GAMG;AACH,MAAM,OAAO,GAAG,CAAC,GAAW,EAAE,IAAU,EAAW,EAAE,CACnD,IAAI,CAAC,WAAW,KAAK,IAAI,IAAI,GAAG,KAAK,SAAS,IAAI,IAAI,CAAC,OAAO,KAAK,GAAG,CAAA;
|
|
1
|
+
{"version":3,"file":"send.js","sourceRoot":"","sources":["../../src/chat/send.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAcH,4EAA4E;AAC5E,MAAM,GAAG,GAAG,GAAG,CAAA;AAEf;;;;;;GAMG;AACH,MAAM,OAAO,GAAG,CAAC,GAAW,EAAE,IAAU,EAAW,EAAE,CACnD,IAAI,CAAC,WAAW,KAAK,IAAI,IAAI,GAAG,KAAK,SAAS,IAAI,IAAI,CAAC,OAAO,KAAK,GAAG,CAAA;AAKxE;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,GAAW,EAAE,IAAI,GAAS,EAAE,EAAE,IAAI,GAAS,OAAO,EAAW,EAAE;IACnF,IAAI,GAAG,KAAK,OAAO,IAAI,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC;QAAE,OAAO,KAAK,CAAA;IACvD,IAAI,IAAI,CAAC,OAAO,KAAK,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,IAAI;QAAE,OAAO,IAAI,CAAA;IAC/D,OAAO,IAAI,KAAK,OAAO,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,CAAA;AAC3E,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,KAAa,EAAE,IAAI,GAAG,KAAK,EAAE,QAAQ,GAAG,KAAK,EAAW,EAAE,CAC9E,CAAC,IAAI,IAAI,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EFFORTS = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* The short lists a composer offers — the effort, the mode — as plain data.
|
|
6
|
+
* Their words are English and marked (`phrase`): the composer draws each one
|
|
7
|
+
* through the reader's `t`. No React and no DOM, so a surface that only names
|
|
8
|
+
* an effort (a settings page, a spec) loads it without the composer.
|
|
9
|
+
*/
|
|
10
|
+
const i18n_1 = require("@hanzo/i18n");
|
|
11
|
+
/** Every effort, in order, in English and marked (`phrase`): `reasoning_effort` on a completion; a surface offers the ones it can send. */
|
|
12
|
+
exports.EFFORTS = [
|
|
13
|
+
{ id: 'auto', label: (0, i18n_1.phrase)('Auto'), note: (0, i18n_1.phrase)('Adaptive reasoning based on task complexity') },
|
|
14
|
+
{ id: 'low', label: (0, i18n_1.phrase)('Low'), note: (0, i18n_1.phrase)('A quick pass with minimal thinking') },
|
|
15
|
+
{ id: 'medium', label: (0, i18n_1.phrase)('Medium'), note: (0, i18n_1.phrase)('Thinks before answering') },
|
|
16
|
+
{ id: 'high', label: (0, i18n_1.phrase)('High'), note: (0, i18n_1.phrase)('Deep reasoning for complex problems') },
|
|
17
|
+
{ id: 'xhigh', label: (0, i18n_1.phrase)('XHigh'), note: (0, i18n_1.phrase)('Extended multi-step reasoning for hard tasks') },
|
|
18
|
+
{ id: 'max', label: (0, i18n_1.phrase)('Max'), note: (0, i18n_1.phrase)('Maximum compute and exhaustive verification') },
|
|
19
|
+
];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** A choice in a short list: its name and a line saying what it does, both marked English. */
|
|
2
|
+
export interface Way<T extends string = string> {
|
|
3
|
+
id: T;
|
|
4
|
+
label: string;
|
|
5
|
+
note: string;
|
|
6
|
+
off?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export type Effort = 'auto' | 'low' | 'medium' | 'high' | 'xhigh' | 'max';
|
|
9
|
+
/** Every effort, in order, in English and marked (`phrase`): `reasoning_effort` on a completion; a surface offers the ones it can send. */
|
|
10
|
+
export declare const EFFORTS: readonly Way<Effort>[];
|
|
11
|
+
//# sourceMappingURL=ways.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ways.d.ts","sourceRoot":"","sources":["../../src/chat/ways.ts"],"names":[],"mappings":"AAQA,8FAA8F;AAC9F,MAAM,WAAW,GAAG,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IAC5C,EAAE,EAAE,CAAC,CAAA;IACL,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,OAAO,CAAA;CACd;AAED,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAA;AAEzE,2IAA2I;AAC3I,eAAO,MAAM,OAAO,EAAE,SAAS,GAAG,CAAC,MAAM,CAAC,EAOzC,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The short lists a composer offers — the effort, the mode — as plain data.
|
|
3
|
+
* Their words are English and marked (`phrase`): the composer draws each one
|
|
4
|
+
* through the reader's `t`. No React and no DOM, so a surface that only names
|
|
5
|
+
* an effort (a settings page, a spec) loads it without the composer.
|
|
6
|
+
*/
|
|
7
|
+
import { phrase } from '@hanzo/i18n';
|
|
8
|
+
/** Every effort, in order, in English and marked (`phrase`): `reasoning_effort` on a completion; a surface offers the ones it can send. */
|
|
9
|
+
export const EFFORTS = [
|
|
10
|
+
{ id: 'auto', label: phrase('Auto'), note: phrase('Adaptive reasoning based on task complexity') },
|
|
11
|
+
{ id: 'low', label: phrase('Low'), note: phrase('A quick pass with minimal thinking') },
|
|
12
|
+
{ id: 'medium', label: phrase('Medium'), note: phrase('Thinks before answering') },
|
|
13
|
+
{ id: 'high', label: phrase('High'), note: phrase('Deep reasoning for complex problems') },
|
|
14
|
+
{ id: 'xhigh', label: phrase('XHigh'), note: phrase('Extended multi-step reasoning for hard tasks') },
|
|
15
|
+
{ id: 'max', label: phrase('Max'), note: phrase('Maximum compute and exhaustive verification') },
|
|
16
|
+
];
|
|
17
|
+
//# sourceMappingURL=ways.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ways.js","sourceRoot":"","sources":["../../src/chat/ways.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAYpC,2IAA2I;AAC3I,MAAM,CAAC,MAAM,OAAO,GAA2B;IAC7C,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,6CAA6C,CAAC,EAAE;IAClG,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,oCAAoC,CAAC,EAAE;IACvF,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,yBAAyB,CAAC,EAAE;IAClF,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,qCAAqC,CAAC,EAAE;IAC1F,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,8CAA8C,CAAC,EAAE;IACrG,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,6CAA6C,CAAC,EAAE;CACjG,CAAA"}
|
package/dist/gallery.cjs
CHANGED
|
@@ -197,7 +197,10 @@ const Gallery = () => ((0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex'
|
|
|
197
197
|
email: 'dave@acme.test',
|
|
198
198
|
groups: [{ label: 'Organization', items: [{ id: 'acme', label: 'acme', active: true, onPress: NOOP }] }],
|
|
199
199
|
onSignOut: NOOP,
|
|
200
|
-
}, onCollapse: NOOP }), (0, jsx_runtime_1.jsx)(chat_1.SessionRail, { onNew: NOOP, onSearch: NOOP, recents: SESSIONS, onOpen: NOOP, collapsed: true, onCollapse: NOOP, account: { name: 'Sign in', onPress: NOOP } })] }), (0, jsx_runtime_1.jsx)("div", { style: { width: '100%', maxWidth: 560 }, children: (0, jsx_runtime_1.jsx)(chat_1.RailBar, { onMenu: NOOP, menuLabel: "Open runs", brand: "Hanzo Build", onBrand: NOOP, onSearch: NOOP, searchLabel: "Search runs" }) }), (0, jsx_runtime_1.jsx)(chat_1.EmptyPrompt, { mark: (0, jsx_runtime_1.jsx)(gui_2.Badge, { children: "h" }) }), (0, jsx_runtime_1.jsx)("div", { "data-home": "demo", style: { display: 'flex', width: '100%', height: 320 }, children: (0, jsx_runtime_1.jsx)(chat_1.Home, { mark: (0, jsx_runtime_1.jsx)(gui_2.Badge, { children: "h" }), children: (0, jsx_runtime_1.jsx)(chat_1.Composer, {
|
|
200
|
+
}, onCollapse: NOOP }), (0, jsx_runtime_1.jsx)(chat_1.SessionRail, { onNew: NOOP, onSearch: NOOP, recents: SESSIONS, onOpen: NOOP, collapsed: true, onCollapse: NOOP, account: { name: 'Sign in', onPress: NOOP } })] }), (0, jsx_runtime_1.jsx)("div", { style: { width: '100%', maxWidth: 560 }, children: (0, jsx_runtime_1.jsx)(chat_1.RailBar, { onMenu: NOOP, menuLabel: "Open runs", brand: "Hanzo Build", onBrand: NOOP, onSearch: NOOP, searchLabel: "Search runs" }) }), (0, jsx_runtime_1.jsx)(chat_1.EmptyPrompt, { mark: (0, jsx_runtime_1.jsx)(gui_2.Badge, { children: "h" }) }), (0, jsx_runtime_1.jsx)("div", { "data-home": "demo", style: { display: 'flex', width: '100%', height: 320 }, children: (0, jsx_runtime_1.jsx)(chat_1.Home, { mark: (0, jsx_runtime_1.jsx)(gui_2.Badge, { children: "h" }), children: (0, jsx_runtime_1.jsx)(chat_1.Composer, { value: "", onChange: NOOP, onSend: NOOP, placeholder: "Describe a task or ask a question" }) }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: '100%', maxWidth: 768 }, children: (0, jsx_runtime_1.jsx)(chat_1.Composer, { value: "", onChange: NOOP, onSend: NOOP, placeholder: "Describe a task or ask a question", pills: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(ChipSelect_1.ChipSelect, { name: "Environment", label: "Cloud", onChange: NOOP, items: [] }), (0, jsx_runtime_1.jsx)(RepoSelect_1.RepoSelect, { value: { owner: 'hanzo-inc', name: 'cloud' }, onChange: NOOP, load: NONE }), (0, jsx_runtime_1.jsx)(BranchSelect_1.BranchSelect, { value: "main", onChange: NOOP, load: NONE }), (0, jsx_runtime_1.jsx)(ChipSelect_1.ChipSelect, { name: "Disabled", label: "off", onChange: NOOP, items: [], disabled: true })] }), carried: [{ id: 'f', label: 'notes.md', onRemove: NOOP }], commands: [{ id: 'run', label: 'Run', keys: '⌘↵', run: NOOP }], chips: [
|
|
201
|
+
{ id: 'a', label: 'Auto', on: true, onPress: NOOP },
|
|
202
|
+
{ id: 'b', label: 'Issues', onPress: NOOP },
|
|
203
|
+
], mode: { value: 'auto', set: NOOP, items: [{ id: 'auto', label: 'Auto', note: 'Runs on its own' }] } }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: '100%', maxWidth: 768 }, children: (0, jsx_runtime_1.jsx)(chat_1.Composer, { value: "a draft", onChange: NOOP, onSend: NOOP, onStop: NOOP, busy: true }) })] }), (0, jsx_runtime_1.jsx)(section_1.Section, { name: "settings", children: (0, jsx_runtime_1.jsx)("div", { "data-settings": "demo", style: { display: 'flex', width: '100%', height: 560 }, children: (0, jsx_runtime_1.jsx)(settings_1.Settings, { entries: ENTRIES, active: "general", onPick: NOOP, children: (0, jsx_runtime_1.jsxs)(gui_1.YStack, { gap: "$6", children: [(0, jsx_runtime_1.jsx)(settings_1.Heading, { title: "General", detail: "How this surface looks and listens.", action: (0, jsx_runtime_1.jsx)(gui_2.Button, { size: "sm", children: "Save" }) }), (0, jsx_runtime_1.jsx)(settings_1.Group, { title: "Appearance", detail: "Per browser.", children: (0, jsx_runtime_1.jsxs)(settings_1.Card, { children: [(0, jsx_runtime_1.jsx)(settings_1.Row, { first: true, title: "Theme", detail: "Follows the system.", trailing: (0, jsx_runtime_1.jsx)(gui_2.Switch, {}) }), (0, jsx_runtime_1.jsx)(settings_1.Row, { mono: true, title: "hk-live-3f9a", leading: (0, jsx_runtime_1.jsx)(gui_2.Badge, { children: "k" }) })] }) }), (0, jsx_runtime_1.jsx)(settings_1.Field, { label: "Call me", hint: "What the home page greets you by.", children: (0, jsx_runtime_1.jsx)(gui_2.Input, { placeholder: "Name", "aria-label": "Call me" }) }), (0, jsx_runtime_1.jsx)(settings_1.Card, { children: (0, jsx_runtime_1.jsx)(settings_1.Soft, { children: "No keys yet." }) }), (0, jsx_runtime_1.jsx)(settings_1.Soft, { action: (0, jsx_runtime_1.jsx)(gui_2.Button, { size: "sm", children: "Sign in" }), children: "Sign in to see your settings." }), (0, jsx_runtime_1.jsx)(settings_1.Note, { children: "Saved." }), (0, jsx_runtime_1.jsx)(settings_1.Once, { value: "hk-live-3f9a0c", label: "API key" })] }) }) }) }), (0, jsx_runtime_1.jsx)(section_1.Section, { name: "corner", children: (0, jsx_runtime_1.jsx)(corner_1.Corner, { help: [{ label: 'Docs', href: 'https://docs.hanzo.ai', icon: (0, jsx_runtime_1.jsx)(lucide_icons_2_1.BookOpen, { size: 18 }) }], language: { value: 'en', options: [{ code: 'en', label: 'English' }], onChange: NOOP }, currency: { value: 'USD', options: [{ code: 'USD', label: 'USD' }], onChange: NOOP } }) }), (0, jsx_runtime_1.jsx)(section_1.Section, { name: "catalog", children: (0, jsx_runtime_1.jsx)("div", { "data-shelf": "demo", style: { display: 'flex', width: '100%', height: 720 }, children: (0, jsx_runtime_1.jsxs)(catalog_1.Shelf, { title: "Customize", detail: "What the agent brings to a run.", tabs: KINDS, tab: "skills", onTab: NOOP, view: "discover", onView: NOOP, search: "Search skills", query: "", onQuery: NOOP, add: "New skill", onAdd: NOOP, children: [(0, jsx_runtime_1.jsx)(catalog_1.Featured, { title: "Triage", detail: "How we triage an issue.", meta: "Saved Sep 21", mark: (0, jsx_runtime_1.jsx)(gui_2.Badge, { children: "t" }), onOpen: NOOP, action: (0, jsx_runtime_1.jsx)(catalog_1.Add, { name: "Triage", added: false, onPress: NOOP }) }), (0, jsx_runtime_1.jsxs)(catalog_1.Tiles, { label: "Skills to add", children: [(0, jsx_runtime_1.jsx)(catalog_1.Tile, { title: "git_repos", detail: "List the forge's repositories.", meta: "git", mark: (0, jsx_runtime_1.jsx)(gui_2.Badge, { children: "g" }), onOpen: NOOP, action: (0, jsx_runtime_1.jsx)(catalog_1.Add, { name: "git_repos", added: false, onPress: NOOP }) }), (0, jsx_runtime_1.jsx)(catalog_1.Tile, { title: "git_branches", detail: "List a repository's branches.", meta: "git", onOpen: NOOP, action: (0, jsx_runtime_1.jsx)(catalog_1.Add, { name: "git_branches", added: true, onPress: NOOP }) }), (0, jsx_runtime_1.jsx)(catalog_1.Tile, { title: "kms_secrets", detail: "Read the names of an org's secrets.", action: (0, jsx_runtime_1.jsx)(catalog_1.Add, { name: "kms_secrets", added: false, busy: true, onPress: NOOP }) })] })] }) }) }), (0, jsx_runtime_1.jsxs)(section_1.Section, { name: "box", children: [(0, jsx_runtime_1.jsx)(gui_1.XStack, { items: "center", gap: 16, px: 24, py: 12, rounded: "var(--radius-lg, 0.75rem)", borderWidth: 1, children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "utility classes" }) }), (0, jsx_runtime_1.jsx)(gui_1.YStack, { gap: 8, maxW: 768, ml: "auto", mr: "auto", overflow: "hidden", children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "column" }) })] }), (0, jsx_runtime_1.jsxs)(section_1.Section, { name: "onboarding", children: [(0, jsx_runtime_1.jsxs)(react_2.IamProvider, { config: { serverUrl: 'https://hanzo.id', clientId: 'hanzo-gallery', redirectUri: 'https://hanzo.ai/auth/callback' }, autoInit: false, children: [(0, jsx_runtime_1.jsx)(auth_1.SignIn, {}), (0, jsx_runtime_1.jsx)(auth_1.SignIn, { mode: "signup" }), (0, jsx_runtime_1.jsx)(auth_1.SignIn, { frame: false })] }), (0, jsx_runtime_1.jsx)(account_1.CreateAccount, { email: "you@example.com", onCreate: NOOP, onOther: NOOP }), (0, jsx_runtime_1.jsx)(frame_1.Page, { site: "Hanzo", title: "Do more with Hanzo Pro", width: 340, children: (0, jsx_runtime_1.jsx)(screens_1.Pro, { interval: "annual", setInterval: NOOP, onPro: NOOP, onFree: NOOP, onAll: NOOP }) }), (0, jsx_runtime_1.jsx)(frame_1.Page, { site: "Hanzo", title: "How are you planning to use Hanzo?", back: NOOP, children: (0, jsx_runtime_1.jsx)(screens_1.UseCards, { onPick: NOOP }) }), (0, jsx_runtime_1.jsx)(frame_1.Page, { site: "Hanzo", title: "Plans that grow with you", busy: true, width: 1140, children: (0, jsx_runtime_1.jsx)(screens_1.Plans, { interval: "annual", setInterval: NOOP, onFree: NOOP, onPick: NOOP, onTeam: NOOP }) }), (0, jsx_runtime_1.jsx)(frame_1.Page, { site: "Hanzo", title: "Let\u2019s create your team", center: true, children: (0, jsx_runtime_1.jsx)(screens_1.TeamName, { api: "", onCreated: NOOP }) }), (0, jsx_runtime_1.jsx)(frame_1.Page, { site: "Hanzo", title: "Choose your seats and plan", children: (0, jsx_runtime_1.jsx)(screens_1.Seats, { interval: "monthly", setInterval: NOOP, value: { plan: 'team_premium', seats: 20 }, setValue: NOOP, onContinue: NOOP, onEnterprise: NOOP }) }), (0, jsx_runtime_1.jsx)(frame_1.Page, { site: "Hanzo", title: "Talk to our sales team", children: (0, jsx_runtime_1.jsx)(screens_1.Enterprise, { api: "", onSent: NOOP }) }), (0, jsx_runtime_1.jsxs)(gui_3.ChoiceGroup, { label: "Billing interval", children: [(0, jsx_runtime_1.jsx)(gui_3.ChoiceCard, { selected: true, onSelect: NOOP, children: "Monthly" }), (0, jsx_runtime_1.jsx)(gui_3.ChoiceCard, { selected: false, onSelect: NOOP, children: "Annually" })] }), (0, jsx_runtime_1.jsx)(gui_3.Stepper, { label: "Seats", value: 2, min: 2, max: 150, onChange: NOOP })] }), (0, jsx_runtime_1.jsx)(records_1.Records, {})] }));
|
|
201
204
|
exports.Gallery = Gallery;
|
|
202
205
|
/**
|
|
203
206
|
* A phone's page, driven: the bar opens the rail's drawer, and the host keeps
|
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":"AAoPA;;;GAGG;AACH,eAAO,MAAM,OAAO,mCA+4BnB,CAAA;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,KAAK,gCA4BpB;eAEc,OAAO"}
|