@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.
Files changed (227) hide show
  1. package/dist/ThemeToggleNext-7727UR5W.js +4 -0
  2. package/dist/ThemeToggleNext-7727UR5W.js.map +1 -0
  3. package/dist/ThemeToggleNext-ICB5KL5J.cjs +19 -0
  4. package/dist/ThemeToggleNext-ICB5KL5J.cjs.map +1 -0
  5. package/dist/billing.cjs +15 -0
  6. package/dist/billing.cjs.map +1 -0
  7. package/{types → dist}/billing.d.ts +0 -1
  8. package/dist/billing.js +4 -0
  9. package/dist/billing.js.map +1 -0
  10. package/dist/canvas.cjs +15 -0
  11. package/dist/canvas.cjs.map +1 -0
  12. package/dist/canvas.d.ts +1 -0
  13. package/dist/canvas.js +4 -0
  14. package/dist/canvas.js.map +1 -0
  15. package/{types → dist}/cd/layout.d.ts +0 -1
  16. package/{types → dist}/cd/status.d.ts +0 -1
  17. package/{types → dist}/cd/time.d.ts +0 -1
  18. package/{types → dist}/cd/types.d.ts +0 -1
  19. package/dist/chunk-42CU5GSF.js +98 -0
  20. package/dist/chunk-42CU5GSF.js.map +1 -0
  21. package/dist/chunk-M2ILMK44.cjs +2104 -0
  22. package/dist/chunk-M2ILMK44.cjs.map +1 -0
  23. package/dist/chunk-YBXVUV7P.cjs +103 -0
  24. package/dist/chunk-YBXVUV7P.cjs.map +1 -0
  25. package/dist/chunk-YSURJUOA.js +2035 -0
  26. package/dist/chunk-YSURJUOA.js.map +1 -0
  27. package/dist/dashboard.cjs +15 -0
  28. package/dist/dashboard.cjs.map +1 -0
  29. package/dist/dashboard.d.ts +1 -0
  30. package/dist/dashboard.js +4 -0
  31. package/dist/dashboard.js.map +1 -0
  32. package/dist/data.cjs +15 -0
  33. package/dist/data.cjs.map +1 -0
  34. package/dist/data.d.ts +1 -0
  35. package/dist/data.js +4 -0
  36. package/dist/data.js.map +1 -0
  37. package/dist/gitops.cjs +15 -0
  38. package/dist/gitops.cjs.map +1 -0
  39. package/dist/gitops.d.ts +1 -0
  40. package/dist/gitops.js +4 -0
  41. package/dist/gitops.js.map +1 -0
  42. package/dist/index.cjs +299 -0
  43. package/dist/index.cjs.map +1 -0
  44. package/{types → dist}/index.d.ts +0 -1
  45. package/dist/index.js +6 -0
  46. package/dist/index.js.map +1 -0
  47. package/dist/network.cjs +15 -0
  48. package/dist/network.cjs.map +1 -0
  49. package/{types → dist}/network.d.ts +0 -1
  50. package/dist/network.js +4 -0
  51. package/dist/network.js.map +1 -0
  52. package/dist/oss/blueprint.d.ts +37 -0
  53. package/dist/oss/catalog.d.ts +67 -0
  54. package/dist/oss.cjs +190 -0
  55. package/dist/oss.cjs.map +1 -0
  56. package/dist/oss.d.ts +2 -0
  57. package/dist/oss.js +180 -0
  58. package/dist/oss.js.map +1 -0
  59. package/dist/primitives/bases/data/index.cjs +15 -0
  60. package/dist/primitives/bases/data/index.cjs.map +1 -0
  61. package/dist/primitives/bases/data/index.d.ts +1 -0
  62. package/dist/primitives/bases/data/index.js +4 -0
  63. package/dist/primitives/bases/data/index.js.map +1 -0
  64. package/{types → dist}/product/AppHeader.d.ts +0 -1
  65. package/{types → dist}/product/BrandMark.d.ts +0 -1
  66. package/{types → dist}/product/Charts.d.ts +0 -1
  67. package/{types → dist}/product/ComboBox.d.ts +0 -1
  68. package/{types → dist}/product/DataTable.d.ts +0 -1
  69. package/{types → dist}/product/Donut.d.ts +0 -1
  70. package/{types → dist}/product/EmptyState.d.ts +0 -1
  71. package/{types → dist}/product/FadeIn.d.ts +0 -1
  72. package/{types → dist}/product/Field.d.ts +0 -1
  73. package/{types → dist}/product/HanzoMark.d.ts +0 -1
  74. package/{types → dist}/product/Metric.d.ts +0 -1
  75. package/dist/product/OrgMark.d.ts +21 -0
  76. package/{types → dist}/product/OrgSwitcher.d.ts +8 -2
  77. package/{types → dist}/product/PageHeader.d.ts +0 -1
  78. package/{types → dist}/product/PrimaryButton.d.ts +0 -1
  79. package/{types → dist}/product/ProductIcon.d.ts +0 -1
  80. package/{types → dist}/product/ProviderLogo.d.ts +0 -1
  81. package/{types → dist}/product/Reorder.d.ts +0 -1
  82. package/{types → dist}/product/SelectMenu.d.ts +6 -8
  83. package/{types → dist}/product/SlideOver.d.ts +0 -1
  84. package/{types → dist}/product/StatusTag.d.ts +0 -1
  85. package/{types → dist}/product/ThemeToggle.d.ts +0 -1
  86. package/{types → dist}/product/ThemeToggleNext.d.ts +0 -1
  87. package/{types → dist}/product/Toast.d.ts +0 -1
  88. package/{types → dist}/product/color.d.ts +0 -1
  89. package/{types → dist}/product/combobox/filter.d.ts +0 -1
  90. package/dist/product/index.cjs +286 -0
  91. package/dist/product/index.cjs.map +1 -0
  92. package/{types → dist}/product/index.d.ts +1 -1
  93. package/dist/product/index.js +5 -0
  94. package/dist/product/index.js.map +1 -0
  95. package/{types → dist}/product/menu/ContextMenu.d.ts +3 -6
  96. package/dist/product/menu/DropdownMenu.d.ts +29 -0
  97. package/dist/product/menu/FloatingMenu.d.ts +36 -0
  98. package/{types → dist}/product/menu/index.d.ts +1 -1
  99. package/{types → dist}/product/menu/items.d.ts +0 -1
  100. package/{types → dist}/product/menu/portal-theme.d.ts +0 -1
  101. package/{types → dist}/product/menu/roving.d.ts +0 -1
  102. package/{types → dist}/product/scope.d.ts +0 -1
  103. package/{types → dist}/product/surfaces.data.d.ts +0 -1
  104. package/dist/telemetry.cjs +15 -0
  105. package/dist/telemetry.cjs.map +1 -0
  106. package/dist/telemetry.d.ts +1 -0
  107. package/dist/telemetry.js +4 -0
  108. package/dist/telemetry.js.map +1 -0
  109. package/dist/usage.cjs +15 -0
  110. package/dist/usage.cjs.map +1 -0
  111. package/dist/usage.d.ts +1 -0
  112. package/dist/usage.js +4 -0
  113. package/dist/usage.js.map +1 -0
  114. package/dist/wallet.cjs +15 -0
  115. package/dist/wallet.cjs.map +1 -0
  116. package/{types → dist}/wallet.d.ts +0 -1
  117. package/dist/wallet.js +4 -0
  118. package/dist/wallet.js.map +1 -0
  119. package/package.json +69 -34
  120. package/src/billing.ts +0 -9
  121. package/src/canvas.ts +0 -11
  122. package/src/cd/layout.ts +0 -184
  123. package/src/cd/status.ts +0 -158
  124. package/src/cd/time.ts +0 -52
  125. package/src/cd/types.ts +0 -318
  126. package/src/dashboard.ts +0 -8
  127. package/src/data.ts +0 -12
  128. package/src/gitops.ts +0 -5
  129. package/src/gui-env.d.ts +0 -27
  130. package/src/index.ts +0 -22
  131. package/src/network.ts +0 -11
  132. package/src/primitives/bases/data/index.ts +0 -13
  133. package/src/product/AppHeader.tsx +0 -183
  134. package/src/product/BrandMark.tsx +0 -27
  135. package/src/product/Charts.tsx +0 -471
  136. package/src/product/ComboBox.tsx +0 -127
  137. package/src/product/DataTable.tsx +0 -99
  138. package/src/product/Donut.tsx +0 -83
  139. package/src/product/EmptyState.tsx +0 -129
  140. package/src/product/FadeIn.tsx +0 -38
  141. package/src/product/Field.tsx +0 -160
  142. package/src/product/HanzoMark.tsx +0 -31
  143. package/src/product/Metric.tsx +0 -253
  144. package/src/product/OrgSwitcher.tsx +0 -332
  145. package/src/product/PageHeader.tsx +0 -31
  146. package/src/product/PrimaryButton.tsx +0 -17
  147. package/src/product/ProductIcon.tsx +0 -61
  148. package/src/product/ProviderLogo.tsx +0 -137
  149. package/src/product/Reorder.test.ts +0 -41
  150. package/src/product/Reorder.tsx +0 -110
  151. package/src/product/SelectMenu.tsx +0 -80
  152. package/src/product/SlideOver.tsx +0 -197
  153. package/src/product/StatusTag.tsx +0 -49
  154. package/src/product/ThemeToggle.tsx +0 -135
  155. package/src/product/ThemeToggleNext.tsx +0 -27
  156. package/src/product/Toast.tsx +0 -166
  157. package/src/product/color.ts +0 -17
  158. package/src/product/combobox/filter.test.ts +0 -51
  159. package/src/product/combobox/filter.ts +0 -39
  160. package/src/product/index.ts +0 -76
  161. package/src/product/menu/ContextMenu.tsx +0 -114
  162. package/src/product/menu/DropdownMenu.tsx +0 -76
  163. package/src/product/menu/index.ts +0 -15
  164. package/src/product/menu/items.tsx +0 -230
  165. package/src/product/menu/portal-theme.tsx +0 -33
  166. package/src/product/menu/roving.ts +0 -34
  167. package/src/product/scope.test.ts +0 -92
  168. package/src/product/scope.ts +0 -123
  169. package/src/product/surfaces.data.ts +0 -42
  170. package/src/usage.ts +0 -8
  171. package/src/wallet.ts +0 -11
  172. package/types/billing.d.ts.map +0 -1
  173. package/types/canvas.d.ts +0 -2
  174. package/types/canvas.d.ts.map +0 -1
  175. package/types/cd/layout.d.ts.map +0 -1
  176. package/types/cd/status.d.ts.map +0 -1
  177. package/types/cd/time.d.ts.map +0 -1
  178. package/types/cd/types.d.ts.map +0 -1
  179. package/types/dashboard.d.ts +0 -2
  180. package/types/dashboard.d.ts.map +0 -1
  181. package/types/data.d.ts +0 -2
  182. package/types/data.d.ts.map +0 -1
  183. package/types/gitops.d.ts +0 -2
  184. package/types/gitops.d.ts.map +0 -1
  185. package/types/index.d.ts.map +0 -1
  186. package/types/network.d.ts.map +0 -1
  187. package/types/primitives/bases/data/index.d.ts +0 -2
  188. package/types/primitives/bases/data/index.d.ts.map +0 -1
  189. package/types/product/AppHeader.d.ts.map +0 -1
  190. package/types/product/BrandMark.d.ts.map +0 -1
  191. package/types/product/Charts.d.ts.map +0 -1
  192. package/types/product/ComboBox.d.ts.map +0 -1
  193. package/types/product/DataTable.d.ts.map +0 -1
  194. package/types/product/Donut.d.ts.map +0 -1
  195. package/types/product/EmptyState.d.ts.map +0 -1
  196. package/types/product/FadeIn.d.ts.map +0 -1
  197. package/types/product/Field.d.ts.map +0 -1
  198. package/types/product/HanzoMark.d.ts.map +0 -1
  199. package/types/product/Metric.d.ts.map +0 -1
  200. package/types/product/OrgSwitcher.d.ts.map +0 -1
  201. package/types/product/PageHeader.d.ts.map +0 -1
  202. package/types/product/PrimaryButton.d.ts.map +0 -1
  203. package/types/product/ProductIcon.d.ts.map +0 -1
  204. package/types/product/ProviderLogo.d.ts.map +0 -1
  205. package/types/product/Reorder.d.ts.map +0 -1
  206. package/types/product/SelectMenu.d.ts.map +0 -1
  207. package/types/product/SlideOver.d.ts.map +0 -1
  208. package/types/product/StatusTag.d.ts.map +0 -1
  209. package/types/product/ThemeToggle.d.ts.map +0 -1
  210. package/types/product/ThemeToggleNext.d.ts.map +0 -1
  211. package/types/product/Toast.d.ts.map +0 -1
  212. package/types/product/color.d.ts.map +0 -1
  213. package/types/product/combobox/filter.d.ts.map +0 -1
  214. package/types/product/index.d.ts.map +0 -1
  215. package/types/product/menu/ContextMenu.d.ts.map +0 -1
  216. package/types/product/menu/DropdownMenu.d.ts +0 -34
  217. package/types/product/menu/DropdownMenu.d.ts.map +0 -1
  218. package/types/product/menu/index.d.ts.map +0 -1
  219. package/types/product/menu/items.d.ts.map +0 -1
  220. package/types/product/menu/portal-theme.d.ts.map +0 -1
  221. package/types/product/menu/roving.d.ts.map +0 -1
  222. package/types/product/scope.d.ts.map +0 -1
  223. package/types/product/surfaces.data.d.ts.map +0 -1
  224. package/types/usage.d.ts +0 -2
  225. package/types/usage.d.ts.map +0 -1
  226. package/types/wallet.d.ts.map +0 -1
  227. /package/{src → dist}/styles/hanzo-motion.css +0 -0
@@ -1,12 +1,11 @@
1
1
  /**
2
- * SelectMenu — a compact, reusable dropdown select on @hanzo/gui Popover. Renders a
3
- * labelled trigger ("All types", or the chosen option) and a menu list with a check on
4
- * the active option. Prop-driven + self-contained. `value === null` is the
5
- * "all"/unfiltered state.
2
+ * SelectMenu — a compact, reusable dropdown select. Renders a labelled trigger ("All
3
+ * types", or the chosen option) and a menu list with a check on the active option.
4
+ * Prop-driven + self-contained. `value === null` is the "all"/unfiltered state.
6
5
  *
7
- * Uses the ONE shared menu spec (MenuPanel + MenuItemView) so it is pixel-identical to
8
- * DropdownMenu/ContextMenu, and the SAME portal-theme fix (PortalTheme) so it renders
9
- * correctly through the portal under a nested `<Theme>`, light or dark.
6
+ * A thin DropdownMenu (the ONE menu mechanism) so it is pixel-identical to every other
7
+ * menu and rides the same portal-theme-safe Portal path no gui Popover, no Sheet
8
+ * re-root, works on gui-native hosts.
10
9
  */
11
10
  import type { ReactElement } from 'react';
12
11
  export type SelectOption<T extends string> = {
@@ -23,4 +22,3 @@ export declare function SelectMenu<T extends string>({ options, value, onChange,
23
22
  icon?: ReactElement;
24
23
  minWidth?: number;
25
24
  }): import("react/jsx-runtime").JSX.Element;
26
- //# sourceMappingURL=SelectMenu.d.ts.map
@@ -45,4 +45,3 @@ export type SlideOverProps = {
45
45
  };
46
46
  export declare function SlideOver({ open, onClose, side, size, title, icon: Icon, iconColor, headerRight, ariaLabel, zIndex, children, }: SlideOverProps): import("react/jsx-runtime").JSX.Element;
47
47
  export { LG as SLIDEOVER_LG };
48
- //# sourceMappingURL=SlideOver.d.ts.map
@@ -1,4 +1,3 @@
1
1
  export declare function StatusTag({ status }: {
2
2
  status?: string;
3
3
  }): import("react/jsx-runtime").JSX.Element;
4
- //# sourceMappingURL=StatusTag.d.ts.map
@@ -19,4 +19,3 @@ export type ThemeToggleProps = {
19
19
  */
20
20
  export declare function AgnosticThemeToggle({ theme, defaultTheme, onToggle, onThemeChange, size, label, }: ThemeToggleProps): import("react/jsx-runtime").JSX.Element;
21
21
  export declare function ThemeToggle(props: ThemeToggleProps): import("react/jsx-runtime").JSX.Element;
22
- //# sourceMappingURL=ThemeToggle.d.ts.map
@@ -2,4 +2,3 @@ import { type ThemeToggleProps } from './ThemeToggle';
2
2
  declare function ThemeToggleNext({ size, label }: Pick<ThemeToggleProps, 'size' | 'label'>): import("react/jsx-runtime").JSX.Element;
3
3
  export default ThemeToggleNext;
4
4
  export { ThemeToggleNext };
5
- //# sourceMappingURL=ThemeToggleNext.d.ts.map
@@ -30,4 +30,3 @@ export declare function ToastProvider({ children }: {
30
30
  }): import("react/jsx-runtime").JSX.Element;
31
31
  export declare function useToast(): ToastApi;
32
32
  export {};
33
- //# sourceMappingURL=Toast.d.ts.map
@@ -15,4 +15,3 @@ export type IconLike = ComponentType<{
15
15
  size?: number;
16
16
  color?: IconColor;
17
17
  }>;
18
- //# sourceMappingURL=color.d.ts.map
@@ -25,4 +25,3 @@ export type ComboOption = {
25
25
  export declare function filterOptions(options: ComboOption[], query: string): ComboOption[];
26
26
  /** True iff `value` exactly matches an option's `value` (case-sensitive). */
27
27
  export declare function isKnownOption(options: ComboOption[], value: string): boolean;
28
- //# sourceMappingURL=filter.d.ts.map
@@ -0,0 +1,286 @@
1
+ 'use client';
2
+ 'use strict';
3
+
4
+ var chunkM2ILMK44_cjs = require('../chunk-M2ILMK44.cjs');
5
+ var chunkYBXVUV7P_cjs = require('../chunk-YBXVUV7P.cjs');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "AppHeader", {
10
+ enumerable: true,
11
+ get: function () { return chunkM2ILMK44_cjs.AppHeader; }
12
+ });
13
+ Object.defineProperty(exports, "BarChart", {
14
+ enumerable: true,
15
+ get: function () { return chunkM2ILMK44_cjs.BarChart; }
16
+ });
17
+ Object.defineProperty(exports, "BarRows", {
18
+ enumerable: true,
19
+ get: function () { return chunkM2ILMK44_cjs.BarRows; }
20
+ });
21
+ Object.defineProperty(exports, "BrandMark", {
22
+ enumerable: true,
23
+ get: function () { return chunkM2ILMK44_cjs.BrandMark; }
24
+ });
25
+ Object.defineProperty(exports, "CHART_OTHER", {
26
+ enumerable: true,
27
+ get: function () { return chunkM2ILMK44_cjs.CHART_OTHER; }
28
+ });
29
+ Object.defineProperty(exports, "CHART_PALETTE", {
30
+ enumerable: true,
31
+ get: function () { return chunkM2ILMK44_cjs.CHART_PALETTE; }
32
+ });
33
+ Object.defineProperty(exports, "ComboBox", {
34
+ enumerable: true,
35
+ get: function () { return chunkM2ILMK44_cjs.ComboBox; }
36
+ });
37
+ Object.defineProperty(exports, "ContextMenu", {
38
+ enumerable: true,
39
+ get: function () { return chunkM2ILMK44_cjs.ContextMenu; }
40
+ });
41
+ Object.defineProperty(exports, "CustomModelMark", {
42
+ enumerable: true,
43
+ get: function () { return chunkM2ILMK44_cjs.Boxes; }
44
+ });
45
+ Object.defineProperty(exports, "DataTable", {
46
+ enumerable: true,
47
+ get: function () { return chunkM2ILMK44_cjs.DataTable; }
48
+ });
49
+ Object.defineProperty(exports, "Donut", {
50
+ enumerable: true,
51
+ get: function () { return chunkM2ILMK44_cjs.Donut; }
52
+ });
53
+ Object.defineProperty(exports, "DonutRing", {
54
+ enumerable: true,
55
+ get: function () { return chunkM2ILMK44_cjs.Donut2; }
56
+ });
57
+ Object.defineProperty(exports, "DropdownMenu", {
58
+ enumerable: true,
59
+ get: function () { return chunkM2ILMK44_cjs.DropdownMenu; }
60
+ });
61
+ Object.defineProperty(exports, "EmptyState", {
62
+ enumerable: true,
63
+ get: function () { return chunkM2ILMK44_cjs.EmptyState; }
64
+ });
65
+ Object.defineProperty(exports, "FadeIn", {
66
+ enumerable: true,
67
+ get: function () { return chunkM2ILMK44_cjs.FadeIn; }
68
+ });
69
+ Object.defineProperty(exports, "FieldRow", {
70
+ enumerable: true,
71
+ get: function () { return chunkM2ILMK44_cjs.FieldRow; }
72
+ });
73
+ Object.defineProperty(exports, "FieldSelect", {
74
+ enumerable: true,
75
+ get: function () { return chunkM2ILMK44_cjs.FieldSelect; }
76
+ });
77
+ Object.defineProperty(exports, "FieldSlider", {
78
+ enumerable: true,
79
+ get: function () { return chunkM2ILMK44_cjs.FieldSlider; }
80
+ });
81
+ Object.defineProperty(exports, "FieldSwitch", {
82
+ enumerable: true,
83
+ get: function () { return chunkM2ILMK44_cjs.FieldSwitch; }
84
+ });
85
+ Object.defineProperty(exports, "FieldText", {
86
+ enumerable: true,
87
+ get: function () { return chunkM2ILMK44_cjs.FieldText; }
88
+ });
89
+ Object.defineProperty(exports, "FieldTextArea", {
90
+ enumerable: true,
91
+ get: function () { return chunkM2ILMK44_cjs.FieldTextArea; }
92
+ });
93
+ Object.defineProperty(exports, "FloatingMenu", {
94
+ enumerable: true,
95
+ get: function () { return chunkM2ILMK44_cjs.FloatingMenu; }
96
+ });
97
+ Object.defineProperty(exports, "GenericLogo", {
98
+ enumerable: true,
99
+ get: function () { return chunkM2ILMK44_cjs.GenericLogo; }
100
+ });
101
+ Object.defineProperty(exports, "HanzoMark", {
102
+ enumerable: true,
103
+ get: function () { return chunkM2ILMK44_cjs.HanzoMark; }
104
+ });
105
+ Object.defineProperty(exports, "HintButton", {
106
+ enumerable: true,
107
+ get: function () { return chunkM2ILMK44_cjs.HintButton; }
108
+ });
109
+ Object.defineProperty(exports, "LegendDot", {
110
+ enumerable: true,
111
+ get: function () { return chunkM2ILMK44_cjs.LegendDot; }
112
+ });
113
+ Object.defineProperty(exports, "LineChart", {
114
+ enumerable: true,
115
+ get: function () { return chunkM2ILMK44_cjs.LineChart; }
116
+ });
117
+ Object.defineProperty(exports, "MenuItemView", {
118
+ enumerable: true,
119
+ get: function () { return chunkM2ILMK44_cjs.MenuItemView; }
120
+ });
121
+ Object.defineProperty(exports, "MenuLabelView", {
122
+ enumerable: true,
123
+ get: function () { return chunkM2ILMK44_cjs.MenuLabelView; }
124
+ });
125
+ Object.defineProperty(exports, "MenuPanel", {
126
+ enumerable: true,
127
+ get: function () { return chunkM2ILMK44_cjs.MenuPanel; }
128
+ });
129
+ Object.defineProperty(exports, "MenuSeparatorView", {
130
+ enumerable: true,
131
+ get: function () { return chunkM2ILMK44_cjs.MenuSeparatorView; }
132
+ });
133
+ Object.defineProperty(exports, "MetricCard", {
134
+ enumerable: true,
135
+ get: function () { return chunkM2ILMK44_cjs.MetricCard; }
136
+ });
137
+ Object.defineProperty(exports, "MetricSparkline", {
138
+ enumerable: true,
139
+ get: function () { return chunkM2ILMK44_cjs.Sparkline2; }
140
+ });
141
+ Object.defineProperty(exports, "MiniBars", {
142
+ enumerable: true,
143
+ get: function () { return chunkM2ILMK44_cjs.MiniBars; }
144
+ });
145
+ Object.defineProperty(exports, "OrgMark", {
146
+ enumerable: true,
147
+ get: function () { return chunkM2ILMK44_cjs.OrgMark; }
148
+ });
149
+ Object.defineProperty(exports, "OrgSwitcher", {
150
+ enumerable: true,
151
+ get: function () { return chunkM2ILMK44_cjs.OrgSwitcher; }
152
+ });
153
+ Object.defineProperty(exports, "PageHeader", {
154
+ enumerable: true,
155
+ get: function () { return chunkM2ILMK44_cjs.PageHeader; }
156
+ });
157
+ Object.defineProperty(exports, "Panel", {
158
+ enumerable: true,
159
+ get: function () { return chunkM2ILMK44_cjs.Panel; }
160
+ });
161
+ Object.defineProperty(exports, "PortalTheme", {
162
+ enumerable: true,
163
+ get: function () { return chunkM2ILMK44_cjs.PortalTheme; }
164
+ });
165
+ Object.defineProperty(exports, "PrimaryButton", {
166
+ enumerable: true,
167
+ get: function () { return chunkM2ILMK44_cjs.PrimaryButton; }
168
+ });
169
+ Object.defineProperty(exports, "ProductIcon", {
170
+ enumerable: true,
171
+ get: function () { return chunkM2ILMK44_cjs.ProductIcon; }
172
+ });
173
+ Object.defineProperty(exports, "ProviderLogo", {
174
+ enumerable: true,
175
+ get: function () { return chunkM2ILMK44_cjs.ProviderLogo; }
176
+ });
177
+ Object.defineProperty(exports, "Reorder", {
178
+ enumerable: true,
179
+ get: function () { return chunkM2ILMK44_cjs.Reorder; }
180
+ });
181
+ Object.defineProperty(exports, "SERIES", {
182
+ enumerable: true,
183
+ get: function () { return chunkM2ILMK44_cjs.SERIES; }
184
+ });
185
+ Object.defineProperty(exports, "SLIDEOVER_LG", {
186
+ enumerable: true,
187
+ get: function () { return chunkM2ILMK44_cjs.LG; }
188
+ });
189
+ Object.defineProperty(exports, "SURFACES", {
190
+ enumerable: true,
191
+ get: function () { return chunkM2ILMK44_cjs.SURFACES; }
192
+ });
193
+ Object.defineProperty(exports, "SelectMenu", {
194
+ enumerable: true,
195
+ get: function () { return chunkM2ILMK44_cjs.SelectMenu; }
196
+ });
197
+ Object.defineProperty(exports, "SlideOver", {
198
+ enumerable: true,
199
+ get: function () { return chunkM2ILMK44_cjs.SlideOver; }
200
+ });
201
+ Object.defineProperty(exports, "Sparkline", {
202
+ enumerable: true,
203
+ get: function () { return chunkM2ILMK44_cjs.Sparkline; }
204
+ });
205
+ Object.defineProperty(exports, "StatusTag", {
206
+ enumerable: true,
207
+ get: function () { return chunkM2ILMK44_cjs.StatusTag; }
208
+ });
209
+ Object.defineProperty(exports, "ToastProvider", {
210
+ enumerable: true,
211
+ get: function () { return chunkM2ILMK44_cjs.ToastProvider; }
212
+ });
213
+ Object.defineProperty(exports, "UtilBar", {
214
+ enumerable: true,
215
+ get: function () { return chunkM2ILMK44_cjs.UtilBar; }
216
+ });
217
+ Object.defineProperty(exports, "asColor", {
218
+ enumerable: true,
219
+ get: function () { return chunkM2ILMK44_cjs.asColor; }
220
+ });
221
+ Object.defineProperty(exports, "colorForIndex", {
222
+ enumerable: true,
223
+ get: function () { return chunkM2ILMK44_cjs.colorForIndex; }
224
+ });
225
+ Object.defineProperty(exports, "filterOptions", {
226
+ enumerable: true,
227
+ get: function () { return chunkM2ILMK44_cjs.filterOptions; }
228
+ });
229
+ Object.defineProperty(exports, "filterOrgs", {
230
+ enumerable: true,
231
+ get: function () { return chunkM2ILMK44_cjs.filterOrgs; }
232
+ });
233
+ Object.defineProperty(exports, "isKnownOption", {
234
+ enumerable: true,
235
+ get: function () { return chunkM2ILMK44_cjs.isKnownOption; }
236
+ });
237
+ Object.defineProperty(exports, "monogram", {
238
+ enumerable: true,
239
+ get: function () { return chunkM2ILMK44_cjs.monogram; }
240
+ });
241
+ Object.defineProperty(exports, "orgScope", {
242
+ enumerable: true,
243
+ get: function () { return chunkM2ILMK44_cjs.orgScope; }
244
+ });
245
+ Object.defineProperty(exports, "otherSurfaces", {
246
+ enumerable: true,
247
+ get: function () { return chunkM2ILMK44_cjs.otherSurfaces; }
248
+ });
249
+ Object.defineProperty(exports, "providerInitials", {
250
+ enumerable: true,
251
+ get: function () { return chunkM2ILMK44_cjs.providerInitials; }
252
+ });
253
+ Object.defineProperty(exports, "renderMenuItems", {
254
+ enumerable: true,
255
+ get: function () { return chunkM2ILMK44_cjs.renderMenuItems; }
256
+ });
257
+ Object.defineProperty(exports, "rowShift", {
258
+ enumerable: true,
259
+ get: function () { return chunkM2ILMK44_cjs.rowShift; }
260
+ });
261
+ Object.defineProperty(exports, "targetIndex", {
262
+ enumerable: true,
263
+ get: function () { return chunkM2ILMK44_cjs.targetIndex; }
264
+ });
265
+ Object.defineProperty(exports, "useToast", {
266
+ enumerable: true,
267
+ get: function () { return chunkM2ILMK44_cjs.useToast; }
268
+ });
269
+ Object.defineProperty(exports, "utilColor", {
270
+ enumerable: true,
271
+ get: function () { return chunkM2ILMK44_cjs.utilColor; }
272
+ });
273
+ Object.defineProperty(exports, "AgnosticThemeToggle", {
274
+ enumerable: true,
275
+ get: function () { return chunkYBXVUV7P_cjs.AgnosticThemeToggle; }
276
+ });
277
+ Object.defineProperty(exports, "ThemeToggle", {
278
+ enumerable: true,
279
+ get: function () { return chunkYBXVUV7P_cjs.ThemeToggle; }
280
+ });
281
+ Object.defineProperty(exports, "ThemeToggleNext", {
282
+ enumerable: true,
283
+ get: function () { return chunkYBXVUV7P_cjs.ThemeToggleNext; }
284
+ });
285
+ //# sourceMappingURL=index.cjs.map
286
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -6,6 +6,7 @@ export * from './combobox/filter';
6
6
  export * from './surfaces.data';
7
7
  export * from './AppHeader';
8
8
  export * from './BrandMark';
9
+ export * from './OrgMark';
9
10
  export * from './OrgSwitcher';
10
11
  export * from './scope';
11
12
  export * from './menu';
@@ -26,4 +27,3 @@ export * from './ThemeToggle';
26
27
  export { ThemeToggleNext } from './ThemeToggleNext';
27
28
  export * from './Toast';
28
29
  export * from './color';
29
- //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,5 @@
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
+ //# sourceMappingURL=index.js.map
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -1,9 +1,7 @@
1
1
  /**
2
- * ContextMenu — a right-click menu that renders the SAME shared item spec as
3
- * DropdownMenu, so every menu in the fleet is identical. Built on the @hanzo/gui
4
- * Portal with the SAME portal-theme fix as the dropdown: the menu is portaled to the
5
- * root, escaping any nested `<Theme>`, so it re-applies the captured theme via
6
- * <PortalTheme>. Web/desktop right-click (`onContextMenu`); on native — which has no
2
+ * ContextMenu — a right-click menu that renders the SAME shared item spec as DropdownMenu,
3
+ * so every menu in the fleet is identical. Built on FloatingMenu (gui Portal), anchored to
4
+ * the cursor point. Web/desktop right-click (`onContextMenu`); on native which has no
7
5
  * right-click — the wrapped child renders untouched.
8
6
  *
9
7
  * <ContextMenu items={[{ key:'copy', label:'Copy', icon:<Copy size={16}/>, onSelect:copy }]}>
@@ -21,4 +19,3 @@ export type ContextMenuProps = {
21
19
  maxHeight?: number;
22
20
  };
23
21
  export declare function ContextMenu({ children, items, disabled, minWidth, maxHeight }: ContextMenuProps): import("react/jsx-runtime").JSX.Element;
24
- //# sourceMappingURL=ContextMenu.d.ts.map
@@ -0,0 +1,29 @@
1
+ /**
2
+ * DropdownMenu — a portal-theme-safe click menu. Declarative `items` rendered through the
3
+ * ONE shared menu-item spec, so it is pixel-identical to ContextMenu/SelectMenu/ComboBox.
4
+ * Built on FloatingMenu (gui Portal), NOT the gui Popover — so it mounts without the
5
+ * Sheet re-root that loses theme context on gui-native hosts (react-native-web-lite).
6
+ *
7
+ * <DropdownMenu
8
+ * trigger={<Button>Actions</Button>}
9
+ * items={[
10
+ * { key: 'rename', label: 'Rename', icon: <Pencil size={16} />, onSelect: rename },
11
+ * { type: 'separator' },
12
+ * { key: 'del', label: 'Delete', destructive: true, onSelect: del },
13
+ * ]}
14
+ * />
15
+ */
16
+ import type { ReactElement } from 'react';
17
+ import { type MenuItemSpec } from './items';
18
+ export type DropdownMenuProps = {
19
+ /** The clickable element. Wrapped so any element opens the menu on press. */
20
+ trigger: ReactElement;
21
+ items: MenuItemSpec[];
22
+ /** Controlled open state. Omit for uncontrolled. */
23
+ open?: boolean;
24
+ defaultOpen?: boolean;
25
+ onOpenChange?: (open: boolean) => void;
26
+ minWidth?: number;
27
+ maxHeight?: number;
28
+ };
29
+ export declare function DropdownMenu({ trigger, items, open, defaultOpen, onOpenChange, minWidth, maxHeight, }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,36 @@
1
+ /**
2
+ * FloatingMenu — the ONE floating-panel mechanism for every menu. Renders the shared
3
+ * MenuPanel through the @hanzo/gui Portal, positioned at an anchor (a trigger rect or a
4
+ * cursor point), theme-forwarded via PortalTheme, edge-flipped, dismiss-wired and
5
+ * keyboard-navigable.
6
+ *
7
+ * Why Portal, not gui Popover: gui's Popover pulls in a SheetController that re-roots the
8
+ * trigger subtree and reads the theme from React context — on gui-native hosts
9
+ * (react-native-web-lite, theme in context, no CSS-class fallback) that throws
10
+ * "Missing theme" AT MOUNT. The raw Portal does not re-root, so DropdownMenu, ContextMenu,
11
+ * SelectMenu and ComboBox all ride this ONE working path.
12
+ */
13
+ import type { ReactNode } from 'react';
14
+ export type RectLike = {
15
+ left: number;
16
+ top: number;
17
+ right: number;
18
+ bottom: number;
19
+ width: number;
20
+ height: number;
21
+ };
22
+ export declare function FloatingMenu({ open, onClose, anchorRect, anchorEl, gap, minWidth, maxHeight, autoFocus, children, }: {
23
+ open: boolean;
24
+ onClose: () => void;
25
+ /** Anchor in viewport coords — a trigger's rect, or a zero-size rect at a cursor point. */
26
+ anchorRect: () => RectLike | null | undefined;
27
+ /** Element excluded from outside-dismiss (the trigger / input row). */
28
+ anchorEl?: () => HTMLElement | null | undefined;
29
+ /** Space between the anchor's bottom and the panel (0 for a cursor menu). */
30
+ gap?: number;
31
+ minWidth?: number;
32
+ maxHeight?: number;
33
+ /** Focus the panel on open (for roving keys). ComboBox keeps focus in its input. */
34
+ autoFocus?: boolean;
35
+ children: ReactNode;
36
+ }): import("react/jsx-runtime").JSX.Element | null;
@@ -1,5 +1,5 @@
1
1
  export { DropdownMenu, type DropdownMenuProps } from './DropdownMenu';
2
2
  export { ContextMenu, type ContextMenuProps } from './ContextMenu';
3
+ export { FloatingMenu, type RectLike } from './FloatingMenu';
3
4
  export { MenuPanel, MenuItemView, MenuSeparatorView, MenuLabelView, renderMenuItems, type MenuItemSpec, } from './items';
4
5
  export { PortalTheme } from './portal-theme';
5
- //# sourceMappingURL=index.d.ts.map
@@ -66,4 +66,3 @@ export declare function MenuLabelView({ children }: {
66
66
  children: ReactNode;
67
67
  }): import("react/jsx-runtime").JSX.Element;
68
68
  export declare function renderMenuItems(items: MenuItemSpec[], close?: () => void): ReactNode;
69
- //# sourceMappingURL=items.d.ts.map
@@ -26,4 +26,3 @@ export declare function PortalTheme({ name, children }: {
26
26
  name: string;
27
27
  children: ReactNode;
28
28
  }): import("react/jsx-runtime").JSX.Element;
29
- //# sourceMappingURL=portal-theme.d.ts.map
@@ -6,4 +6,3 @@
6
6
  */
7
7
  import type { KeyboardEvent } from 'react';
8
8
  export declare function menuKeyDown(e: KeyboardEvent, onClose?: () => void): void;
9
- //# sourceMappingURL=roving.d.ts.map
@@ -53,4 +53,3 @@ export type OrgScope = {
53
53
  export declare function orgScope(config: OrgScopeConfig): OrgScope;
54
54
  /** Case-insensitive filter over org name + display name (the switcher search). */
55
55
  export declare function filterOrgs<T extends Org>(orgs: T[], query: string): T[];
56
- //# sourceMappingURL=scope.d.ts.map
@@ -14,4 +14,3 @@ export type Surface = {
14
14
  export declare const SURFACES: Surface[];
15
15
  /** Every surface except `current` — a launcher never links to itself. */
16
16
  export declare function otherSurfaces(current?: SurfaceId): Surface[];
17
- //# sourceMappingURL=surfaces.data.d.ts.map
@@ -0,0 +1,15 @@
1
+ 'use client';
2
+ 'use strict';
3
+
4
+ var telemetry = require('@hanzogui/telemetry');
5
+
6
+
7
+
8
+ Object.keys(telemetry).forEach(function (k) {
9
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
10
+ enumerable: true,
11
+ get: function () { return telemetry[k]; }
12
+ });
13
+ });
14
+ //# sourceMappingURL=telemetry.cjs.map
15
+ //# sourceMappingURL=telemetry.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"telemetry.cjs","sourcesContent":[]}
@@ -0,0 +1 @@
1
+ export * from '@hanzogui/telemetry';
@@ -0,0 +1,4 @@
1
+ 'use client';
2
+ export * from '@hanzogui/telemetry';
3
+ //# sourceMappingURL=telemetry.js.map
4
+ //# sourceMappingURL=telemetry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"telemetry.js","sourcesContent":[]}
package/dist/usage.cjs ADDED
@@ -0,0 +1,15 @@
1
+ 'use client';
2
+ 'use strict';
3
+
4
+ var usage = require('@hanzo/usage');
5
+
6
+
7
+
8
+ Object.keys(usage).forEach(function (k) {
9
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
10
+ enumerable: true,
11
+ get: function () { return usage[k]; }
12
+ });
13
+ });
14
+ //# sourceMappingURL=usage.cjs.map
15
+ //# sourceMappingURL=usage.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"usage.cjs","sourcesContent":[]}
@@ -0,0 +1 @@
1
+ export * from '@hanzo/usage';
package/dist/usage.js ADDED
@@ -0,0 +1,4 @@
1
+ 'use client';
2
+ export * from '@hanzo/usage';
3
+ //# sourceMappingURL=usage.js.map
4
+ //# sourceMappingURL=usage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"usage.js","sourcesContent":[]}
@@ -0,0 +1,15 @@
1
+ 'use client';
2
+ 'use strict';
3
+
4
+ var wallet = require('@hanzo/ui-shadcn/wallet');
5
+
6
+
7
+
8
+ Object.keys(wallet).forEach(function (k) {
9
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
10
+ enumerable: true,
11
+ get: function () { return wallet[k]; }
12
+ });
13
+ });
14
+ //# sourceMappingURL=wallet.cjs.map
15
+ //# sourceMappingURL=wallet.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"wallet.cjs","sourcesContent":[]}
@@ -1,2 +1 @@
1
1
  export * from '@hanzo/ui-shadcn/wallet';
2
- //# sourceMappingURL=wallet.d.ts.map
package/dist/wallet.js ADDED
@@ -0,0 +1,4 @@
1
+ 'use client';
2
+ export * from '@hanzo/ui-shadcn/wallet';
3
+ //# sourceMappingURL=wallet.js.map
4
+ //# sourceMappingURL=wallet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"wallet.js","sourcesContent":[]}