@hanzo/ui 8.29.7 → 8.29.8
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/gallery/frames.cjs +2 -4
- package/dist/gallery/frames.d.ts.map +1 -1
- package/dist/gallery/frames.js +3 -5
- package/dist/gallery/frames.js.map +1 -1
- package/dist/gallery.html +8 -3
- package/dist/product/CommandMenu.cjs +55 -50
- package/dist/product/CommandMenu.d.ts +40 -29
- package/dist/product/CommandMenu.d.ts.map +1 -1
- package/dist/product/CommandMenu.js +57 -52
- package/dist/product/CommandMenu.js.map +1 -1
- package/dist/product/index.cjs +1 -1
- package/dist/product/index.js +1 -1
- package/dist/product/index.js.map +1 -1
- package/dist/styles.css +5 -0
- package/package.json +1 -1
package/dist/gallery/frames.cjs
CHANGED
|
@@ -5,8 +5,8 @@ exports.Frames = Frames;
|
|
|
5
5
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
6
|
/**
|
|
7
7
|
* The record kit's frames in the gallery: the side panel's record frame (bar,
|
|
8
|
-
* body, footer) at its 400px width
|
|
9
|
-
*
|
|
8
|
+
* body, footer) at its 400px width (the record kit's side panel, MIT, NOTICE),
|
|
9
|
+
* and the command menu on the surface that holds it.
|
|
10
10
|
*
|
|
11
11
|
* The frame is drawn from its parts rather than through an open DetailPane: a
|
|
12
12
|
* pane opens through its API, which a server render never calls, and the parts
|
|
@@ -25,7 +25,6 @@ const GROUPS = [
|
|
|
25
25
|
{
|
|
26
26
|
id: 'record',
|
|
27
27
|
label: 'Record',
|
|
28
|
-
icon: (0, jsx_runtime_1.jsx)(lucide_icons_2_1.Building2, { size: 16 }),
|
|
29
28
|
items: [
|
|
30
29
|
{ id: 'create', label: 'Create company', icon: (0, jsx_runtime_1.jsx)(lucide_icons_2_1.Plus, { size: 16 }), contextual: 'Companies', onSelect: NOOP },
|
|
31
30
|
{ id: 'copy', label: 'Copy link', icon: (0, jsx_runtime_1.jsx)(lucide_icons_2_1.Copy, { size: 16 }), shortcut: ['Mod', 'L'], onSelect: NOOP },
|
|
@@ -34,7 +33,6 @@ const GROUPS = [
|
|
|
34
33
|
{
|
|
35
34
|
id: 'go',
|
|
36
35
|
label: 'Go to',
|
|
37
|
-
icon: (0, jsx_runtime_1.jsx)(lucide_icons_2_1.Kanban, { size: 16 }),
|
|
38
36
|
items: [
|
|
39
37
|
{ id: 'people', label: 'Go to People', icon: (0, jsx_runtime_1.jsx)(lucide_icons_2_1.Users, { size: 16 }), shortcut: [['G'], ['P']], onSelect: NOOP },
|
|
40
38
|
{ id: 'settings', label: 'Settings', icon: (0, jsx_runtime_1.jsx)(lucide_icons_2_1.Settings, { size: 16 }), submenu: true, onSelect: NOOP },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frames.d.ts","sourceRoot":"","sources":["../../src/gallery/frames.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"frames.d.ts","sourceRoot":"","sources":["../../src/gallery/frames.tsx"],"names":[],"mappings":"AA0CA,wBAAgB,MAAM,gCA0CrB"}
|
package/dist/gallery/frames.js
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
/**
|
|
4
4
|
* The record kit's frames in the gallery: the side panel's record frame (bar,
|
|
5
|
-
* body, footer) at its 400px width
|
|
6
|
-
*
|
|
5
|
+
* body, footer) at its 400px width (the record kit's side panel, MIT, NOTICE),
|
|
6
|
+
* and the command menu on the surface that holds it.
|
|
7
7
|
*
|
|
8
8
|
* The frame is drawn from its parts rather than through an open DetailPane: a
|
|
9
9
|
* pane opens through its API, which a server render never calls, and the parts
|
|
10
10
|
* are exactly what an open docked pane draws. Every field here passes
|
|
11
11
|
* `autoFocus={false}`, as the menus do, so the page is not pulled to it on load.
|
|
12
12
|
*/
|
|
13
|
-
import { Building2, Copy,
|
|
13
|
+
import { Building2, Copy, Plus, Settings, Users } from '@hanzogui/lucide-icons-2';
|
|
14
14
|
import { YStack } from '@hanzo/gui';
|
|
15
15
|
import { Section } from './section.js';
|
|
16
16
|
import { Button } from '../backends/gui/button.js';
|
|
@@ -22,7 +22,6 @@ const GROUPS = [
|
|
|
22
22
|
{
|
|
23
23
|
id: 'record',
|
|
24
24
|
label: 'Record',
|
|
25
|
-
icon: _jsx(Building2, { size: 16 }),
|
|
26
25
|
items: [
|
|
27
26
|
{ id: 'create', label: 'Create company', icon: _jsx(Plus, { size: 16 }), contextual: 'Companies', onSelect: NOOP },
|
|
28
27
|
{ id: 'copy', label: 'Copy link', icon: _jsx(Copy, { size: 16 }), shortcut: ['Mod', 'L'], onSelect: NOOP },
|
|
@@ -31,7 +30,6 @@ const GROUPS = [
|
|
|
31
30
|
{
|
|
32
31
|
id: 'go',
|
|
33
32
|
label: 'Go to',
|
|
34
|
-
icon: _jsx(Kanban, { size: 16 }),
|
|
35
33
|
items: [
|
|
36
34
|
{ id: 'people', label: 'Go to People', icon: _jsx(Users, { size: 16 }), shortcut: [['G'], ['P']], onSelect: NOOP },
|
|
37
35
|
{ id: 'settings', label: 'Settings', icon: _jsx(Settings, { size: 16 }), submenu: true, onSelect: NOOP },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frames.js","sourceRoot":"","sources":["../../src/gallery/frames.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ;;;;;;;;;GASG;AACH,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"frames.js","sourceRoot":"","sources":["../../src/gallery/frames.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ;;;;;;;;;GASG;AACH,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AACjF,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,OAAO,EAAE,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