@hanzo/ui 8.0.7 → 8.0.11
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/ThemeToggleNext-7727UR5W.js +4 -0
- package/dist/ThemeToggleNext-7727UR5W.js.map +1 -0
- package/dist/ThemeToggleNext-ICB5KL5J.cjs +19 -0
- package/dist/ThemeToggleNext-ICB5KL5J.cjs.map +1 -0
- package/dist/billing.cjs +15 -0
- package/dist/billing.cjs.map +1 -0
- package/{types → dist}/billing.d.ts +0 -1
- package/dist/billing.js +4 -0
- package/dist/billing.js.map +1 -0
- package/dist/canvas.cjs +15 -0
- package/dist/canvas.cjs.map +1 -0
- package/dist/canvas.d.ts +1 -0
- package/dist/canvas.js +4 -0
- package/dist/canvas.js.map +1 -0
- package/{types → dist}/cd/layout.d.ts +0 -1
- package/{types → dist}/cd/status.d.ts +0 -1
- package/{types → dist}/cd/time.d.ts +0 -1
- package/{types → dist}/cd/types.d.ts +0 -1
- package/dist/chunk-42CU5GSF.js +98 -0
- package/dist/chunk-42CU5GSF.js.map +1 -0
- package/dist/chunk-M2ILMK44.cjs +2104 -0
- package/dist/chunk-M2ILMK44.cjs.map +1 -0
- package/dist/chunk-YBXVUV7P.cjs +103 -0
- package/dist/chunk-YBXVUV7P.cjs.map +1 -0
- package/dist/chunk-YSURJUOA.js +2035 -0
- package/dist/chunk-YSURJUOA.js.map +1 -0
- package/dist/dashboard.cjs +15 -0
- package/dist/dashboard.cjs.map +1 -0
- package/dist/dashboard.d.ts +1 -0
- package/dist/dashboard.js +4 -0
- package/dist/dashboard.js.map +1 -0
- package/dist/data.cjs +15 -0
- package/dist/data.cjs.map +1 -0
- package/dist/data.d.ts +1 -0
- package/dist/data.js +4 -0
- package/dist/data.js.map +1 -0
- package/dist/gitops.cjs +15 -0
- package/dist/gitops.cjs.map +1 -0
- package/dist/gitops.d.ts +1 -0
- package/dist/gitops.js +4 -0
- package/dist/gitops.js.map +1 -0
- package/dist/index.cjs +299 -0
- package/dist/index.cjs.map +1 -0
- package/{types → dist}/index.d.ts +0 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/network.cjs +15 -0
- package/dist/network.cjs.map +1 -0
- package/{types → dist}/network.d.ts +0 -1
- package/dist/network.js +4 -0
- package/dist/network.js.map +1 -0
- package/dist/oss/blueprint.d.ts +37 -0
- package/dist/oss/catalog.d.ts +67 -0
- package/dist/oss.cjs +190 -0
- package/dist/oss.cjs.map +1 -0
- package/dist/oss.d.ts +2 -0
- package/dist/oss.js +180 -0
- package/dist/oss.js.map +1 -0
- package/dist/primitives/bases/data/index.cjs +15 -0
- package/dist/primitives/bases/data/index.cjs.map +1 -0
- package/dist/primitives/bases/data/index.d.ts +1 -0
- package/dist/primitives/bases/data/index.js +4 -0
- package/dist/primitives/bases/data/index.js.map +1 -0
- package/{types → dist}/product/AppHeader.d.ts +0 -1
- package/{types → dist}/product/BrandMark.d.ts +0 -1
- package/{types → dist}/product/Charts.d.ts +0 -1
- package/{types → dist}/product/ComboBox.d.ts +0 -1
- package/{types → dist}/product/DataTable.d.ts +0 -1
- package/{types → dist}/product/Donut.d.ts +0 -1
- package/{types → dist}/product/EmptyState.d.ts +0 -1
- package/{types → dist}/product/FadeIn.d.ts +0 -1
- package/{types → dist}/product/Field.d.ts +0 -1
- package/{types → dist}/product/HanzoMark.d.ts +0 -1
- package/{types → dist}/product/Metric.d.ts +0 -1
- package/dist/product/OrgMark.d.ts +21 -0
- package/{types → dist}/product/OrgSwitcher.d.ts +8 -2
- package/{types → dist}/product/PageHeader.d.ts +0 -1
- package/{types → dist}/product/PrimaryButton.d.ts +0 -1
- package/{types → dist}/product/ProductIcon.d.ts +0 -1
- package/{types → dist}/product/ProviderLogo.d.ts +0 -1
- package/{types → dist}/product/Reorder.d.ts +0 -1
- package/{types → dist}/product/SelectMenu.d.ts +6 -8
- package/{types → dist}/product/SlideOver.d.ts +0 -1
- package/{types → dist}/product/StatusTag.d.ts +0 -1
- package/{types → dist}/product/ThemeToggle.d.ts +0 -1
- package/{types → dist}/product/ThemeToggleNext.d.ts +0 -1
- package/{types → dist}/product/Toast.d.ts +0 -1
- package/{types → dist}/product/color.d.ts +0 -1
- package/{types → dist}/product/combobox/filter.d.ts +0 -1
- package/dist/product/index.cjs +286 -0
- package/dist/product/index.cjs.map +1 -0
- package/{types → dist}/product/index.d.ts +1 -1
- package/dist/product/index.js +5 -0
- package/dist/product/index.js.map +1 -0
- package/{types → dist}/product/menu/ContextMenu.d.ts +3 -6
- package/dist/product/menu/DropdownMenu.d.ts +29 -0
- package/dist/product/menu/FloatingMenu.d.ts +36 -0
- package/{types → dist}/product/menu/index.d.ts +1 -1
- package/{types → dist}/product/menu/items.d.ts +0 -1
- package/{types → dist}/product/menu/portal-theme.d.ts +0 -1
- package/{types → dist}/product/menu/roving.d.ts +0 -1
- package/{types → dist}/product/scope.d.ts +0 -1
- package/{types → dist}/product/surfaces.data.d.ts +0 -1
- package/dist/telemetry.cjs +15 -0
- package/dist/telemetry.cjs.map +1 -0
- package/dist/telemetry.d.ts +1 -0
- package/dist/telemetry.js +4 -0
- package/dist/telemetry.js.map +1 -0
- package/dist/usage.cjs +15 -0
- package/dist/usage.cjs.map +1 -0
- package/dist/usage.d.ts +1 -0
- package/dist/usage.js +4 -0
- package/dist/usage.js.map +1 -0
- package/dist/wallet.cjs +15 -0
- package/dist/wallet.cjs.map +1 -0
- package/{types → dist}/wallet.d.ts +0 -1
- package/dist/wallet.js +4 -0
- package/dist/wallet.js.map +1 -0
- package/package.json +69 -34
- package/src/billing.ts +0 -9
- package/src/canvas.ts +0 -11
- package/src/cd/layout.ts +0 -184
- package/src/cd/status.ts +0 -158
- package/src/cd/time.ts +0 -52
- package/src/cd/types.ts +0 -318
- package/src/dashboard.ts +0 -8
- package/src/data.ts +0 -12
- package/src/gitops.ts +0 -5
- package/src/gui-env.d.ts +0 -27
- package/src/index.ts +0 -22
- package/src/network.ts +0 -11
- package/src/primitives/bases/data/index.ts +0 -13
- package/src/product/AppHeader.tsx +0 -183
- package/src/product/BrandMark.tsx +0 -27
- package/src/product/Charts.tsx +0 -471
- package/src/product/ComboBox.tsx +0 -127
- package/src/product/DataTable.tsx +0 -99
- package/src/product/Donut.tsx +0 -83
- package/src/product/EmptyState.tsx +0 -129
- package/src/product/FadeIn.tsx +0 -38
- package/src/product/Field.tsx +0 -160
- package/src/product/HanzoMark.tsx +0 -31
- package/src/product/Metric.tsx +0 -253
- package/src/product/OrgSwitcher.tsx +0 -332
- package/src/product/PageHeader.tsx +0 -31
- package/src/product/PrimaryButton.tsx +0 -17
- package/src/product/ProductIcon.tsx +0 -61
- package/src/product/ProviderLogo.tsx +0 -137
- package/src/product/Reorder.test.ts +0 -41
- package/src/product/Reorder.tsx +0 -110
- package/src/product/SelectMenu.tsx +0 -80
- package/src/product/SlideOver.tsx +0 -197
- package/src/product/StatusTag.tsx +0 -49
- package/src/product/ThemeToggle.tsx +0 -135
- package/src/product/ThemeToggleNext.tsx +0 -27
- package/src/product/Toast.tsx +0 -166
- package/src/product/color.ts +0 -17
- package/src/product/combobox/filter.test.ts +0 -51
- package/src/product/combobox/filter.ts +0 -39
- package/src/product/index.ts +0 -76
- package/src/product/menu/ContextMenu.tsx +0 -114
- package/src/product/menu/DropdownMenu.tsx +0 -76
- package/src/product/menu/index.ts +0 -15
- package/src/product/menu/items.tsx +0 -230
- package/src/product/menu/portal-theme.tsx +0 -33
- package/src/product/menu/roving.ts +0 -34
- package/src/product/scope.test.ts +0 -92
- package/src/product/scope.ts +0 -123
- package/src/product/surfaces.data.ts +0 -42
- package/src/usage.ts +0 -8
- package/src/wallet.ts +0 -11
- package/types/billing.d.ts.map +0 -1
- package/types/canvas.d.ts +0 -2
- package/types/canvas.d.ts.map +0 -1
- package/types/cd/layout.d.ts.map +0 -1
- package/types/cd/status.d.ts.map +0 -1
- package/types/cd/time.d.ts.map +0 -1
- package/types/cd/types.d.ts.map +0 -1
- package/types/dashboard.d.ts +0 -2
- package/types/dashboard.d.ts.map +0 -1
- package/types/data.d.ts +0 -2
- package/types/data.d.ts.map +0 -1
- package/types/gitops.d.ts +0 -2
- package/types/gitops.d.ts.map +0 -1
- package/types/index.d.ts.map +0 -1
- package/types/network.d.ts.map +0 -1
- package/types/primitives/bases/data/index.d.ts +0 -2
- package/types/primitives/bases/data/index.d.ts.map +0 -1
- package/types/product/AppHeader.d.ts.map +0 -1
- package/types/product/BrandMark.d.ts.map +0 -1
- package/types/product/Charts.d.ts.map +0 -1
- package/types/product/ComboBox.d.ts.map +0 -1
- package/types/product/DataTable.d.ts.map +0 -1
- package/types/product/Donut.d.ts.map +0 -1
- package/types/product/EmptyState.d.ts.map +0 -1
- package/types/product/FadeIn.d.ts.map +0 -1
- package/types/product/Field.d.ts.map +0 -1
- package/types/product/HanzoMark.d.ts.map +0 -1
- package/types/product/Metric.d.ts.map +0 -1
- package/types/product/OrgSwitcher.d.ts.map +0 -1
- package/types/product/PageHeader.d.ts.map +0 -1
- package/types/product/PrimaryButton.d.ts.map +0 -1
- package/types/product/ProductIcon.d.ts.map +0 -1
- package/types/product/ProviderLogo.d.ts.map +0 -1
- package/types/product/Reorder.d.ts.map +0 -1
- package/types/product/SelectMenu.d.ts.map +0 -1
- package/types/product/SlideOver.d.ts.map +0 -1
- package/types/product/StatusTag.d.ts.map +0 -1
- package/types/product/ThemeToggle.d.ts.map +0 -1
- package/types/product/ThemeToggleNext.d.ts.map +0 -1
- package/types/product/Toast.d.ts.map +0 -1
- package/types/product/color.d.ts.map +0 -1
- package/types/product/combobox/filter.d.ts.map +0 -1
- package/types/product/index.d.ts.map +0 -1
- package/types/product/menu/ContextMenu.d.ts.map +0 -1
- package/types/product/menu/DropdownMenu.d.ts +0 -34
- package/types/product/menu/DropdownMenu.d.ts.map +0 -1
- package/types/product/menu/index.d.ts.map +0 -1
- package/types/product/menu/items.d.ts.map +0 -1
- package/types/product/menu/portal-theme.d.ts.map +0 -1
- package/types/product/menu/roving.d.ts.map +0 -1
- package/types/product/scope.d.ts.map +0 -1
- package/types/product/surfaces.data.d.ts.map +0 -1
- package/types/usage.d.ts +0 -2
- package/types/usage.d.ts.map +0 -1
- package/types/wallet.d.ts.map +0 -1
- /package/{src → dist}/styles/hanzo-motion.css +0 -0
package/dist/data.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var data = require('@hanzo/data');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.keys(data).forEach(function (k) {
|
|
9
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return data[k]; }
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=data.cjs.map
|
|
15
|
+
//# sourceMappingURL=data.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"data.cjs","sourcesContent":[]}
|
package/dist/data.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/data';
|
package/dist/data.js
ADDED
package/dist/data.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"data.js","sourcesContent":[]}
|
package/dist/gitops.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var gitops = require('@hanzo/gitops');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.keys(gitops).forEach(function (k) {
|
|
9
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return gitops[k]; }
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=gitops.cjs.map
|
|
15
|
+
//# sourceMappingURL=gitops.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"gitops.cjs","sourcesContent":[]}
|
package/dist/gitops.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/gitops';
|
package/dist/gitops.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"gitops.js","sourcesContent":[]}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var chunkM2ILMK44_cjs = require('./chunk-M2ILMK44.cjs');
|
|
5
|
+
var chunkYBXVUV7P_cjs = require('./chunk-YBXVUV7P.cjs');
|
|
6
|
+
var data = require('@hanzo/data');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "AppHeader", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkM2ILMK44_cjs.AppHeader; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "BarChart", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkM2ILMK44_cjs.BarChart; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "BarRows", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkM2ILMK44_cjs.BarRows; }
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(exports, "BrandMark", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () { return chunkM2ILMK44_cjs.BrandMark; }
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "CHART_OTHER", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return chunkM2ILMK44_cjs.CHART_OTHER; }
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "CHART_PALETTE", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () { return chunkM2ILMK44_cjs.CHART_PALETTE; }
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, "ComboBox", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function () { return chunkM2ILMK44_cjs.ComboBox; }
|
|
37
|
+
});
|
|
38
|
+
Object.defineProperty(exports, "ContextMenu", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function () { return chunkM2ILMK44_cjs.ContextMenu; }
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "CustomModelMark", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () { return chunkM2ILMK44_cjs.Boxes; }
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(exports, "DataTable", {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function () { return chunkM2ILMK44_cjs.DataTable; }
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(exports, "Donut", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function () { return chunkM2ILMK44_cjs.Donut; }
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "DonutRing", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () { return chunkM2ILMK44_cjs.Donut2; }
|
|
57
|
+
});
|
|
58
|
+
Object.defineProperty(exports, "DropdownMenu", {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function () { return chunkM2ILMK44_cjs.DropdownMenu; }
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(exports, "EmptyState", {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function () { return chunkM2ILMK44_cjs.EmptyState; }
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(exports, "FadeIn", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () { return chunkM2ILMK44_cjs.FadeIn; }
|
|
69
|
+
});
|
|
70
|
+
Object.defineProperty(exports, "FieldRow", {
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get: function () { return chunkM2ILMK44_cjs.FieldRow; }
|
|
73
|
+
});
|
|
74
|
+
Object.defineProperty(exports, "FieldSelect", {
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function () { return chunkM2ILMK44_cjs.FieldSelect; }
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "FieldSlider", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () { return chunkM2ILMK44_cjs.FieldSlider; }
|
|
81
|
+
});
|
|
82
|
+
Object.defineProperty(exports, "FieldSwitch", {
|
|
83
|
+
enumerable: true,
|
|
84
|
+
get: function () { return chunkM2ILMK44_cjs.FieldSwitch; }
|
|
85
|
+
});
|
|
86
|
+
Object.defineProperty(exports, "FieldText", {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function () { return chunkM2ILMK44_cjs.FieldText; }
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(exports, "FieldTextArea", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function () { return chunkM2ILMK44_cjs.FieldTextArea; }
|
|
93
|
+
});
|
|
94
|
+
Object.defineProperty(exports, "FloatingMenu", {
|
|
95
|
+
enumerable: true,
|
|
96
|
+
get: function () { return chunkM2ILMK44_cjs.FloatingMenu; }
|
|
97
|
+
});
|
|
98
|
+
Object.defineProperty(exports, "GenericLogo", {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function () { return chunkM2ILMK44_cjs.GenericLogo; }
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(exports, "HanzoMark", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function () { return chunkM2ILMK44_cjs.HanzoMark; }
|
|
105
|
+
});
|
|
106
|
+
Object.defineProperty(exports, "HintButton", {
|
|
107
|
+
enumerable: true,
|
|
108
|
+
get: function () { return chunkM2ILMK44_cjs.HintButton; }
|
|
109
|
+
});
|
|
110
|
+
Object.defineProperty(exports, "LegendDot", {
|
|
111
|
+
enumerable: true,
|
|
112
|
+
get: function () { return chunkM2ILMK44_cjs.LegendDot; }
|
|
113
|
+
});
|
|
114
|
+
Object.defineProperty(exports, "LineChart", {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: function () { return chunkM2ILMK44_cjs.LineChart; }
|
|
117
|
+
});
|
|
118
|
+
Object.defineProperty(exports, "MenuItemView", {
|
|
119
|
+
enumerable: true,
|
|
120
|
+
get: function () { return chunkM2ILMK44_cjs.MenuItemView; }
|
|
121
|
+
});
|
|
122
|
+
Object.defineProperty(exports, "MenuLabelView", {
|
|
123
|
+
enumerable: true,
|
|
124
|
+
get: function () { return chunkM2ILMK44_cjs.MenuLabelView; }
|
|
125
|
+
});
|
|
126
|
+
Object.defineProperty(exports, "MenuPanel", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function () { return chunkM2ILMK44_cjs.MenuPanel; }
|
|
129
|
+
});
|
|
130
|
+
Object.defineProperty(exports, "MenuSeparatorView", {
|
|
131
|
+
enumerable: true,
|
|
132
|
+
get: function () { return chunkM2ILMK44_cjs.MenuSeparatorView; }
|
|
133
|
+
});
|
|
134
|
+
Object.defineProperty(exports, "MetricCard", {
|
|
135
|
+
enumerable: true,
|
|
136
|
+
get: function () { return chunkM2ILMK44_cjs.MetricCard; }
|
|
137
|
+
});
|
|
138
|
+
Object.defineProperty(exports, "MetricSparkline", {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function () { return chunkM2ILMK44_cjs.Sparkline2; }
|
|
141
|
+
});
|
|
142
|
+
Object.defineProperty(exports, "MiniBars", {
|
|
143
|
+
enumerable: true,
|
|
144
|
+
get: function () { return chunkM2ILMK44_cjs.MiniBars; }
|
|
145
|
+
});
|
|
146
|
+
Object.defineProperty(exports, "OrgMark", {
|
|
147
|
+
enumerable: true,
|
|
148
|
+
get: function () { return chunkM2ILMK44_cjs.OrgMark; }
|
|
149
|
+
});
|
|
150
|
+
Object.defineProperty(exports, "OrgSwitcher", {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function () { return chunkM2ILMK44_cjs.OrgSwitcher; }
|
|
153
|
+
});
|
|
154
|
+
Object.defineProperty(exports, "PageHeader", {
|
|
155
|
+
enumerable: true,
|
|
156
|
+
get: function () { return chunkM2ILMK44_cjs.PageHeader; }
|
|
157
|
+
});
|
|
158
|
+
Object.defineProperty(exports, "Panel", {
|
|
159
|
+
enumerable: true,
|
|
160
|
+
get: function () { return chunkM2ILMK44_cjs.Panel; }
|
|
161
|
+
});
|
|
162
|
+
Object.defineProperty(exports, "PortalTheme", {
|
|
163
|
+
enumerable: true,
|
|
164
|
+
get: function () { return chunkM2ILMK44_cjs.PortalTheme; }
|
|
165
|
+
});
|
|
166
|
+
Object.defineProperty(exports, "PrimaryButton", {
|
|
167
|
+
enumerable: true,
|
|
168
|
+
get: function () { return chunkM2ILMK44_cjs.PrimaryButton; }
|
|
169
|
+
});
|
|
170
|
+
Object.defineProperty(exports, "ProductIcon", {
|
|
171
|
+
enumerable: true,
|
|
172
|
+
get: function () { return chunkM2ILMK44_cjs.ProductIcon; }
|
|
173
|
+
});
|
|
174
|
+
Object.defineProperty(exports, "ProviderLogo", {
|
|
175
|
+
enumerable: true,
|
|
176
|
+
get: function () { return chunkM2ILMK44_cjs.ProviderLogo; }
|
|
177
|
+
});
|
|
178
|
+
Object.defineProperty(exports, "Reorder", {
|
|
179
|
+
enumerable: true,
|
|
180
|
+
get: function () { return chunkM2ILMK44_cjs.Reorder; }
|
|
181
|
+
});
|
|
182
|
+
Object.defineProperty(exports, "SERIES", {
|
|
183
|
+
enumerable: true,
|
|
184
|
+
get: function () { return chunkM2ILMK44_cjs.SERIES; }
|
|
185
|
+
});
|
|
186
|
+
Object.defineProperty(exports, "SLIDEOVER_LG", {
|
|
187
|
+
enumerable: true,
|
|
188
|
+
get: function () { return chunkM2ILMK44_cjs.LG; }
|
|
189
|
+
});
|
|
190
|
+
Object.defineProperty(exports, "SURFACES", {
|
|
191
|
+
enumerable: true,
|
|
192
|
+
get: function () { return chunkM2ILMK44_cjs.SURFACES; }
|
|
193
|
+
});
|
|
194
|
+
Object.defineProperty(exports, "SelectMenu", {
|
|
195
|
+
enumerable: true,
|
|
196
|
+
get: function () { return chunkM2ILMK44_cjs.SelectMenu; }
|
|
197
|
+
});
|
|
198
|
+
Object.defineProperty(exports, "SlideOver", {
|
|
199
|
+
enumerable: true,
|
|
200
|
+
get: function () { return chunkM2ILMK44_cjs.SlideOver; }
|
|
201
|
+
});
|
|
202
|
+
Object.defineProperty(exports, "Sparkline", {
|
|
203
|
+
enumerable: true,
|
|
204
|
+
get: function () { return chunkM2ILMK44_cjs.Sparkline; }
|
|
205
|
+
});
|
|
206
|
+
Object.defineProperty(exports, "StatusTag", {
|
|
207
|
+
enumerable: true,
|
|
208
|
+
get: function () { return chunkM2ILMK44_cjs.StatusTag; }
|
|
209
|
+
});
|
|
210
|
+
Object.defineProperty(exports, "ToastProvider", {
|
|
211
|
+
enumerable: true,
|
|
212
|
+
get: function () { return chunkM2ILMK44_cjs.ToastProvider; }
|
|
213
|
+
});
|
|
214
|
+
Object.defineProperty(exports, "UtilBar", {
|
|
215
|
+
enumerable: true,
|
|
216
|
+
get: function () { return chunkM2ILMK44_cjs.UtilBar; }
|
|
217
|
+
});
|
|
218
|
+
Object.defineProperty(exports, "asColor", {
|
|
219
|
+
enumerable: true,
|
|
220
|
+
get: function () { return chunkM2ILMK44_cjs.asColor; }
|
|
221
|
+
});
|
|
222
|
+
Object.defineProperty(exports, "colorForIndex", {
|
|
223
|
+
enumerable: true,
|
|
224
|
+
get: function () { return chunkM2ILMK44_cjs.colorForIndex; }
|
|
225
|
+
});
|
|
226
|
+
Object.defineProperty(exports, "filterOptions", {
|
|
227
|
+
enumerable: true,
|
|
228
|
+
get: function () { return chunkM2ILMK44_cjs.filterOptions; }
|
|
229
|
+
});
|
|
230
|
+
Object.defineProperty(exports, "filterOrgs", {
|
|
231
|
+
enumerable: true,
|
|
232
|
+
get: function () { return chunkM2ILMK44_cjs.filterOrgs; }
|
|
233
|
+
});
|
|
234
|
+
Object.defineProperty(exports, "isKnownOption", {
|
|
235
|
+
enumerable: true,
|
|
236
|
+
get: function () { return chunkM2ILMK44_cjs.isKnownOption; }
|
|
237
|
+
});
|
|
238
|
+
Object.defineProperty(exports, "monogram", {
|
|
239
|
+
enumerable: true,
|
|
240
|
+
get: function () { return chunkM2ILMK44_cjs.monogram; }
|
|
241
|
+
});
|
|
242
|
+
Object.defineProperty(exports, "orgScope", {
|
|
243
|
+
enumerable: true,
|
|
244
|
+
get: function () { return chunkM2ILMK44_cjs.orgScope; }
|
|
245
|
+
});
|
|
246
|
+
Object.defineProperty(exports, "otherSurfaces", {
|
|
247
|
+
enumerable: true,
|
|
248
|
+
get: function () { return chunkM2ILMK44_cjs.otherSurfaces; }
|
|
249
|
+
});
|
|
250
|
+
Object.defineProperty(exports, "providerInitials", {
|
|
251
|
+
enumerable: true,
|
|
252
|
+
get: function () { return chunkM2ILMK44_cjs.providerInitials; }
|
|
253
|
+
});
|
|
254
|
+
Object.defineProperty(exports, "renderMenuItems", {
|
|
255
|
+
enumerable: true,
|
|
256
|
+
get: function () { return chunkM2ILMK44_cjs.renderMenuItems; }
|
|
257
|
+
});
|
|
258
|
+
Object.defineProperty(exports, "rowShift", {
|
|
259
|
+
enumerable: true,
|
|
260
|
+
get: function () { return chunkM2ILMK44_cjs.rowShift; }
|
|
261
|
+
});
|
|
262
|
+
Object.defineProperty(exports, "targetIndex", {
|
|
263
|
+
enumerable: true,
|
|
264
|
+
get: function () { return chunkM2ILMK44_cjs.targetIndex; }
|
|
265
|
+
});
|
|
266
|
+
Object.defineProperty(exports, "useToast", {
|
|
267
|
+
enumerable: true,
|
|
268
|
+
get: function () { return chunkM2ILMK44_cjs.useToast; }
|
|
269
|
+
});
|
|
270
|
+
Object.defineProperty(exports, "utilColor", {
|
|
271
|
+
enumerable: true,
|
|
272
|
+
get: function () { return chunkM2ILMK44_cjs.utilColor; }
|
|
273
|
+
});
|
|
274
|
+
Object.defineProperty(exports, "AgnosticThemeToggle", {
|
|
275
|
+
enumerable: true,
|
|
276
|
+
get: function () { return chunkYBXVUV7P_cjs.AgnosticThemeToggle; }
|
|
277
|
+
});
|
|
278
|
+
Object.defineProperty(exports, "ThemeToggle", {
|
|
279
|
+
enumerable: true,
|
|
280
|
+
get: function () { return chunkYBXVUV7P_cjs.ThemeToggle; }
|
|
281
|
+
});
|
|
282
|
+
Object.defineProperty(exports, "ThemeToggleNext", {
|
|
283
|
+
enumerable: true,
|
|
284
|
+
get: function () { return chunkYBXVUV7P_cjs.ThemeToggleNext; }
|
|
285
|
+
});
|
|
286
|
+
Object.defineProperty(exports, "TAG_TONES", {
|
|
287
|
+
enumerable: true,
|
|
288
|
+
get: function () { return data.TAG_TONES; }
|
|
289
|
+
});
|
|
290
|
+
Object.defineProperty(exports, "tagTone", {
|
|
291
|
+
enumerable: true,
|
|
292
|
+
get: function () { return data.tagTone; }
|
|
293
|
+
});
|
|
294
|
+
Object.defineProperty(exports, "tokens", {
|
|
295
|
+
enumerable: true,
|
|
296
|
+
get: function () { return data.tokens; }
|
|
297
|
+
});
|
|
298
|
+
//# sourceMappingURL=index.cjs.map
|
|
299
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs","sourcesContent":[]}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
export { AppHeader, BarChart, BarRows, BrandMark, CHART_OTHER, CHART_PALETTE, ComboBox, ContextMenu, Boxes as CustomModelMark, DataTable, Donut, Donut2 as DonutRing, DropdownMenu, EmptyState, FadeIn, FieldRow, FieldSelect, FieldSlider, FieldSwitch, FieldText, FieldTextArea, FloatingMenu, GenericLogo, HanzoMark, HintButton, LegendDot, LineChart, MenuItemView, MenuLabelView, MenuPanel, MenuSeparatorView, MetricCard, Sparkline2 as MetricSparkline, MiniBars, OrgMark, OrgSwitcher, PageHeader, Panel, PortalTheme, PrimaryButton, ProductIcon, ProviderLogo, Reorder, SERIES, LG as SLIDEOVER_LG, SURFACES, SelectMenu, SlideOver, Sparkline, StatusTag, ToastProvider, UtilBar, asColor, colorForIndex, filterOptions, filterOrgs, isKnownOption, monogram, orgScope, otherSurfaces, providerInitials, renderMenuItems, rowShift, targetIndex, useToast, utilColor } from './chunk-YSURJUOA.js';
|
|
3
|
+
export { AgnosticThemeToggle, ThemeToggle, ThemeToggleNext } from './chunk-42CU5GSF.js';
|
|
4
|
+
export { TAG_TONES, tagTone, tokens } from '@hanzo/data';
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
package/dist/network.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var network = require('@hanzo/ui-shadcn/network');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.keys(network).forEach(function (k) {
|
|
9
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return network[k]; }
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=network.cjs.map
|
|
15
|
+
//# sourceMappingURL=network.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"network.cjs","sourcesContent":[]}
|
package/dist/network.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"network.js","sourcesContent":[]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What an OSS blueprint actually provisions, read from its own `docker-compose.yml`.
|
|
3
|
+
*
|
|
4
|
+
* This is the one implementation. It was written twice before it lived here — once in
|
|
5
|
+
* TypeScript for the console's App Store and once in vanilla JS for oss.hanzo.ai — and
|
|
6
|
+
* two readers of the same file format drift, which means two surfaces can disagree
|
|
7
|
+
* about what a deploy will start.
|
|
8
|
+
*
|
|
9
|
+
* Deliberately a SMALL structural reader, not a YAML implementation: it walks the
|
|
10
|
+
* `services:` block by indentation and pulls only the keys a detail view shows.
|
|
11
|
+
* Anything it cannot read is absent, never guessed, so a surface degrades to "no
|
|
12
|
+
* blueprint detail" instead of asserting something false about what will run.
|
|
13
|
+
*
|
|
14
|
+
* Pure and total — it never throws on malformed or hostile input — so it is safe to
|
|
15
|
+
* run on untrusted CDN content and testable without a DOM or a network.
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* One service a blueprint provisions. `image` is absent for a service built from
|
|
19
|
+
* source (`build:` rather than `image:`).
|
|
20
|
+
*/
|
|
21
|
+
export type Service = {
|
|
22
|
+
name: string;
|
|
23
|
+
image?: string;
|
|
24
|
+
ports: string[];
|
|
25
|
+
};
|
|
26
|
+
/** What a blueprint provisions: the containers it starts and the config it expects. */
|
|
27
|
+
export type Blueprint = {
|
|
28
|
+
services: Service[];
|
|
29
|
+
env: string[];
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Parse the load-bearing facts out of a `docker-compose.yml`: the services it starts
|
|
33
|
+
* (with image + published ports) and the environment keys it expects.
|
|
34
|
+
*
|
|
35
|
+
* Environment KEYS only — never the values, which are routinely secrets.
|
|
36
|
+
*/
|
|
37
|
+
export declare function parseBlueprint(yaml: string): Blueprint;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The OSS App Store catalog — the shared client for the 1000+-app one-click
|
|
3
|
+
* open-source catalog served as a flat JSON array at `<base>/meta.json`, with per-app
|
|
4
|
+
* blueprint assets under `<base>/blueprints/<id>/`.
|
|
5
|
+
*
|
|
6
|
+
* One catalog, several surfaces: the console App Store, platform.hanzo.ai, and the
|
|
7
|
+
* public gallery at oss.hanzo.ai. They previously each carried their own copy of the
|
|
8
|
+
* shape, the normalizer and the URL builders, which is how three surfaces come to
|
|
9
|
+
* disagree about the same catalog row. This is the one implementation.
|
|
10
|
+
*
|
|
11
|
+
* The catalog is a PUBLIC CDN with open CORS, so a browser fetches it DIRECTLY — no
|
|
12
|
+
* BFF, no `/v1` proxy — which is why this works in the go:embed console where the
|
|
13
|
+
* Next reverse-proxies are pruned. The base URL is INJECTED by the caller, so this
|
|
14
|
+
* module holds no config import and its normalizers + URL builders stay pure.
|
|
15
|
+
*/
|
|
16
|
+
/** One open-source app in the catalog (the meta.json entry, load-bearing fields only). */
|
|
17
|
+
export type OssApp = {
|
|
18
|
+
/** Stable catalog id + blueprint path segment, e.g. `2fauth`, `n8n`, `postgres`. */
|
|
19
|
+
id: string;
|
|
20
|
+
/** Display name, e.g. "2FAuth". */
|
|
21
|
+
name: string;
|
|
22
|
+
/** One-line description. */
|
|
23
|
+
description: string;
|
|
24
|
+
/** Version label — often the literal string `"latest"`, rendered raw. */
|
|
25
|
+
version: string;
|
|
26
|
+
/** Bare logo filename (e.g. `logo.svg`), resolved against the blueprint path. */
|
|
27
|
+
logo: string;
|
|
28
|
+
/** Category/provenance tags (e.g. `productivity`, `self-hosted`, `caprover`). */
|
|
29
|
+
tags: string[];
|
|
30
|
+
/** External links; only github/website/docs are surfaced. */
|
|
31
|
+
links: {
|
|
32
|
+
github?: string;
|
|
33
|
+
website?: string;
|
|
34
|
+
docs?: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
/** Normalize one catalog record to an `OssApp` (drops a record with no id + name). */
|
|
38
|
+
export declare function normalizeOssApp(raw: unknown): OssApp | null;
|
|
39
|
+
/** Normalize the catalog payload to the app list (bare array OR a `{data|apps|…}` wrap). */
|
|
40
|
+
export declare function normalizeOssApps(payload: unknown): OssApp[];
|
|
41
|
+
/** The per-app blueprint asset base: `<base>/blueprints/<id>`. */
|
|
42
|
+
export declare function blueprintBase(base: string, id: string): string;
|
|
43
|
+
/**
|
|
44
|
+
* The app's logo URL, or null when the entry carries no logo filename — a surface then
|
|
45
|
+
* renders its monogram fallback rather than a broken image.
|
|
46
|
+
*/
|
|
47
|
+
export declare function logoUrl(base: string, app: OssApp): string | null;
|
|
48
|
+
/**
|
|
49
|
+
* Derive `owner/repo` from a GitHub URL — the maker identity, since the catalog
|
|
50
|
+
* carries no author field. Returns null for a non-GitHub / malformed URL.
|
|
51
|
+
*/
|
|
52
|
+
export declare function ownerRepo(githubUrl?: string): string | null;
|
|
53
|
+
/** An app is one-click deployable when it carries a buildable source (its repo). */
|
|
54
|
+
export declare function hasDeploySource(app: OssApp): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Fetch + normalize the catalog from `<base>/meta.json`. Cross-origin and
|
|
57
|
+
* unauthenticated (public CDN); throws on a non-2xx or parse failure so the caller can
|
|
58
|
+
* show an honest error state. Cached on success; `force` bypasses for a manual refresh.
|
|
59
|
+
*/
|
|
60
|
+
export declare function fetchOssApps(base: string, force?: boolean): Promise<OssApp[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Fetch one app's `docker-compose.yml` as raw text, or null when the entry publishes
|
|
63
|
+
* none. A 404 is a NORMAL answer for a large community catalog — not every blueprint
|
|
64
|
+
* ships compose — so this never throws: a detail view treats an absent blueprint as
|
|
65
|
+
* "nothing to show", and an optional asset must not fail a whole page.
|
|
66
|
+
*/
|
|
67
|
+
export declare function fetchCompose(base: string, id: string): Promise<string | null>;
|