@hanzo/ui 8.27.10 → 8.27.12

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 (299) hide show
  1. package/dist/backends/gui/comparison.cjs +17 -21
  2. package/dist/backends/gui/comparison.d.ts +4 -5
  3. package/dist/backends/gui/comparison.d.ts.map +1 -1
  4. package/dist/backends/gui/comparison.js +18 -22
  5. package/dist/backends/gui/comparison.js.map +1 -1
  6. package/dist/backends/gui/crypto-screener.cjs +21 -31
  7. package/dist/backends/gui/crypto-screener.d.ts +20 -24
  8. package/dist/backends/gui/crypto-screener.d.ts.map +1 -1
  9. package/dist/backends/gui/crypto-screener.js +21 -31
  10. package/dist/backends/gui/crypto-screener.js.map +1 -1
  11. package/dist/backends/gui/cursor.cjs +15 -18
  12. package/dist/backends/gui/cursor.d.ts +4 -3
  13. package/dist/backends/gui/cursor.d.ts.map +1 -1
  14. package/dist/backends/gui/cursor.js +15 -18
  15. package/dist/backends/gui/cursor.js.map +1 -1
  16. package/dist/backends/gui/data-table.cjs +144 -184
  17. package/dist/backends/gui/data-table.d.ts +64 -44
  18. package/dist/backends/gui/data-table.d.ts.map +1 -1
  19. package/dist/backends/gui/data-table.js +146 -152
  20. package/dist/backends/gui/data-table.js.map +1 -1
  21. package/dist/backends/gui/dock.cjs +1 -1
  22. package/dist/backends/gui/dock.d.ts.map +1 -1
  23. package/dist/backends/gui/dock.js +1 -1
  24. package/dist/backends/gui/dock.js.map +1 -1
  25. package/dist/backends/gui/editor.cjs +35 -31
  26. package/dist/backends/gui/editor.d.ts +11 -11
  27. package/dist/backends/gui/editor.d.ts.map +1 -1
  28. package/dist/backends/gui/editor.js +35 -31
  29. package/dist/backends/gui/editor.js.map +1 -1
  30. package/dist/backends/gui/field.cjs +132 -0
  31. package/dist/backends/gui/field.d.ts +74 -0
  32. package/dist/backends/gui/field.d.ts.map +1 -0
  33. package/dist/backends/gui/field.js +121 -0
  34. package/dist/backends/gui/field.js.map +1 -0
  35. package/dist/backends/gui/gantt.cjs +17 -19
  36. package/dist/backends/gui/gantt.d.ts +4 -5
  37. package/dist/backends/gui/gantt.d.ts.map +1 -1
  38. package/dist/backends/gui/gantt.js +18 -21
  39. package/dist/backends/gui/gantt.js.map +1 -1
  40. package/dist/backends/gui/glimpse.cjs +88 -0
  41. package/dist/backends/gui/glimpse.d.ts +57 -0
  42. package/dist/backends/gui/glimpse.d.ts.map +1 -0
  43. package/dist/backends/gui/glimpse.js +81 -0
  44. package/dist/backends/gui/glimpse.js.map +1 -0
  45. package/dist/backends/gui/grid-pattern.cjs +119 -0
  46. package/dist/backends/gui/grid-pattern.d.ts +96 -0
  47. package/dist/backends/gui/grid-pattern.d.ts.map +1 -0
  48. package/dist/backends/gui/grid-pattern.js +84 -0
  49. package/dist/backends/gui/grid-pattern.js.map +1 -0
  50. package/dist/backends/gui/image-crop.cjs +35 -0
  51. package/dist/backends/gui/image-crop.d.ts +20 -0
  52. package/dist/backends/gui/image-crop.d.ts.map +1 -0
  53. package/dist/backends/gui/image-crop.js +33 -0
  54. package/dist/backends/gui/image-crop.js.map +1 -0
  55. package/dist/backends/gui/image-zoom.cjs +58 -0
  56. package/dist/backends/gui/image-zoom.d.ts +16 -0
  57. package/dist/backends/gui/image-zoom.d.ts.map +1 -0
  58. package/dist/backends/gui/image-zoom.js +56 -0
  59. package/dist/backends/gui/image-zoom.js.map +1 -0
  60. package/dist/backends/gui/index.cjs +159 -1
  61. package/dist/backends/gui/index.d.ts +49 -0
  62. package/dist/backends/gui/index.d.ts.map +1 -1
  63. package/dist/backends/gui/index.js +49 -0
  64. package/dist/backends/gui/index.js.map +1 -1
  65. package/dist/backends/gui/interactive-grid-pattern.cjs +61 -0
  66. package/dist/backends/gui/interactive-grid-pattern.d.ts +28 -0
  67. package/dist/backends/gui/interactive-grid-pattern.d.ts.map +1 -0
  68. package/dist/backends/gui/interactive-grid-pattern.js +26 -0
  69. package/dist/backends/gui/interactive-grid-pattern.js.map +1 -0
  70. package/dist/backends/gui/iphone-15-pro.cjs +83 -0
  71. package/dist/backends/gui/iphone-15-pro.d.ts +16 -0
  72. package/dist/backends/gui/iphone-15-pro.d.ts.map +1 -0
  73. package/dist/backends/gui/iphone-15-pro.js +81 -0
  74. package/dist/backends/gui/iphone-15-pro.js.map +1 -0
  75. package/dist/backends/gui/item.cjs +154 -0
  76. package/dist/backends/gui/item.d.ts +72 -0
  77. package/dist/backends/gui/item.d.ts.map +1 -0
  78. package/dist/backends/gui/item.js +143 -0
  79. package/dist/backends/gui/item.js.map +1 -0
  80. package/dist/backends/gui/kanban.cjs +247 -0
  81. package/dist/backends/gui/kanban.d.ts +37 -0
  82. package/dist/backends/gui/kanban.d.ts.map +1 -0
  83. package/dist/backends/gui/kanban.js +212 -0
  84. package/dist/backends/gui/kanban.js.map +1 -0
  85. package/dist/backends/gui/kbd.cjs +45 -0
  86. package/dist/backends/gui/kbd.d.ts +8 -0
  87. package/dist/backends/gui/kbd.d.ts.map +1 -0
  88. package/dist/backends/gui/kbd.js +42 -0
  89. package/dist/backends/gui/kbd.js.map +1 -0
  90. package/dist/backends/gui/limelight-nav.cjs +201 -0
  91. package/dist/backends/gui/limelight-nav.d.ts +20 -0
  92. package/dist/backends/gui/limelight-nav.d.ts.map +1 -0
  93. package/dist/backends/gui/limelight-nav.js +166 -0
  94. package/dist/backends/gui/limelight-nav.js.map +1 -0
  95. package/dist/backends/gui/list.cjs +26 -0
  96. package/dist/backends/gui/list.d.ts +15 -0
  97. package/dist/backends/gui/list.d.ts.map +1 -0
  98. package/dist/backends/gui/list.js +23 -0
  99. package/dist/backends/gui/list.js.map +1 -0
  100. package/dist/backends/gui/macos-dock.cjs +84 -0
  101. package/dist/backends/gui/macos-dock.d.ts +30 -0
  102. package/dist/backends/gui/macos-dock.d.ts.map +1 -0
  103. package/dist/backends/gui/macos-dock.js +82 -0
  104. package/dist/backends/gui/macos-dock.js.map +1 -0
  105. package/dist/backends/gui/magnetic.cjs +40 -0
  106. package/dist/backends/gui/magnetic.d.ts +12 -0
  107. package/dist/backends/gui/magnetic.d.ts.map +1 -0
  108. package/dist/backends/gui/magnetic.js +38 -0
  109. package/dist/backends/gui/magnetic.js.map +1 -0
  110. package/dist/backends/gui/marquee.cjs +110 -0
  111. package/dist/backends/gui/marquee.d.ts +44 -0
  112. package/dist/backends/gui/marquee.d.ts.map +1 -0
  113. package/dist/backends/gui/marquee.js +75 -0
  114. package/dist/backends/gui/marquee.js.map +1 -0
  115. package/dist/backends/gui/menu-dock.cjs +64 -0
  116. package/dist/backends/gui/menu-dock.d.ts +21 -0
  117. package/dist/backends/gui/menu-dock.d.ts.map +1 -0
  118. package/dist/backends/gui/menu-dock.js +62 -0
  119. package/dist/backends/gui/menu-dock.js.map +1 -0
  120. package/dist/backends/gui/menubar.cjs +227 -0
  121. package/dist/backends/gui/menubar.d.ts +106 -0
  122. package/dist/backends/gui/menubar.d.ts.map +1 -0
  123. package/dist/backends/gui/menubar.js +177 -0
  124. package/dist/backends/gui/menubar.js.map +1 -0
  125. package/dist/backends/gui/message-dock.cjs +111 -0
  126. package/dist/backends/gui/message-dock.d.ts +22 -0
  127. package/dist/backends/gui/message-dock.d.ts.map +1 -0
  128. package/dist/backends/gui/message-dock.js +110 -0
  129. package/dist/backends/gui/message-dock.js.map +1 -0
  130. package/dist/backends/gui/mini-calendar.cjs +25 -0
  131. package/dist/backends/gui/mini-calendar.d.ts +22 -0
  132. package/dist/backends/gui/mini-calendar.d.ts.map +1 -0
  133. package/dist/backends/gui/mini-calendar.js +24 -0
  134. package/dist/backends/gui/mini-calendar.js.map +1 -0
  135. package/dist/backends/gui/minimal-tiptap.cjs +56 -0
  136. package/dist/backends/gui/minimal-tiptap.d.ts +20 -0
  137. package/dist/backends/gui/minimal-tiptap.d.ts.map +1 -0
  138. package/dist/backends/gui/minimal-tiptap.js +21 -0
  139. package/dist/backends/gui/minimal-tiptap.js.map +1 -0
  140. package/dist/backends/gui/motion-highlight.cjs +83 -0
  141. package/dist/backends/gui/motion-highlight.d.ts +27 -0
  142. package/dist/backends/gui/motion-highlight.d.ts.map +1 -0
  143. package/dist/backends/gui/motion-highlight.js +48 -0
  144. package/dist/backends/gui/motion-highlight.js.map +1 -0
  145. package/dist/backends/gui/navigation-bar.cjs +47 -0
  146. package/dist/backends/gui/navigation-bar.d.ts +48 -0
  147. package/dist/backends/gui/navigation-bar.d.ts.map +1 -0
  148. package/dist/backends/gui/navigation-bar.js +45 -0
  149. package/dist/backends/gui/navigation-bar.js.map +1 -0
  150. package/dist/backends/gui/news-timeline.cjs +47 -0
  151. package/dist/backends/gui/news-timeline.d.ts +39 -0
  152. package/dist/backends/gui/news-timeline.d.ts.map +1 -0
  153. package/dist/backends/gui/news-timeline.js +45 -0
  154. package/dist/backends/gui/news-timeline.js.map +1 -0
  155. package/dist/backends/gui/order-entry.cjs +53 -0
  156. package/dist/backends/gui/order-entry.d.ts +21 -0
  157. package/dist/backends/gui/order-entry.d.ts.map +1 -0
  158. package/dist/backends/gui/order-entry.js +52 -0
  159. package/dist/backends/gui/order-entry.js.map +1 -0
  160. package/dist/backends/gui/orders-history.cjs +102 -0
  161. package/dist/backends/gui/orders-history.d.ts +24 -0
  162. package/dist/backends/gui/orders-history.d.ts.map +1 -0
  163. package/dist/backends/gui/orders-history.js +67 -0
  164. package/dist/backends/gui/orders-history.js.map +1 -0
  165. package/dist/backends/gui/pagination.cjs +51 -0
  166. package/dist/backends/gui/pagination.d.ts +52 -0
  167. package/dist/backends/gui/pagination.d.ts.map +1 -0
  168. package/dist/backends/gui/pagination.js +42 -0
  169. package/dist/backends/gui/pagination.js.map +1 -0
  170. package/dist/backends/gui/particles-background.cjs +135 -0
  171. package/dist/backends/gui/particles-background.d.ts +24 -0
  172. package/dist/backends/gui/particles-background.d.ts.map +1 -0
  173. package/dist/backends/gui/particles-background.js +133 -0
  174. package/dist/backends/gui/particles-background.js.map +1 -0
  175. package/dist/backends/gui/particles.cjs +145 -0
  176. package/dist/backends/gui/particles.d.ts +25 -0
  177. package/dist/backends/gui/particles.d.ts.map +1 -0
  178. package/dist/backends/gui/particles.js +143 -0
  179. package/dist/backends/gui/particles.js.map +1 -0
  180. package/dist/backends/gui/pill.cjs +82 -0
  181. package/dist/backends/gui/pill.d.ts +12 -0
  182. package/dist/backends/gui/pill.d.ts.map +1 -0
  183. package/dist/backends/gui/pill.js +78 -0
  184. package/dist/backends/gui/pill.js.map +1 -0
  185. package/dist/backends/gui/pin-list.cjs +82 -0
  186. package/dist/backends/gui/pin-list.d.ts +42 -0
  187. package/dist/backends/gui/pin-list.d.ts.map +1 -0
  188. package/dist/backends/gui/pin-list.js +80 -0
  189. package/dist/backends/gui/pin-list.js.map +1 -0
  190. package/dist/backends/gui/pixel-image.cjs +63 -0
  191. package/dist/backends/gui/pixel-image.d.ts +21 -0
  192. package/dist/backends/gui/pixel-image.d.ts.map +1 -0
  193. package/dist/backends/gui/pixel-image.js +61 -0
  194. package/dist/backends/gui/pixel-image.js.map +1 -0
  195. package/dist/backends/gui/positions-list.cjs +60 -0
  196. package/dist/backends/gui/positions-list.d.ts +14 -0
  197. package/dist/backends/gui/positions-list.d.ts.map +1 -0
  198. package/dist/backends/gui/positions-list.js +58 -0
  199. package/dist/backends/gui/positions-list.js.map +1 -0
  200. package/dist/backends/gui/qr-code.cjs +438 -0
  201. package/dist/backends/gui/qr-code.d.ts +42 -0
  202. package/dist/backends/gui/qr-code.d.ts.map +1 -0
  203. package/dist/backends/gui/qr-code.js +402 -0
  204. package/dist/backends/gui/qr-code.js.map +1 -0
  205. package/dist/backends/gui/relative-time.cjs +167 -0
  206. package/dist/backends/gui/relative-time.d.ts +10 -0
  207. package/dist/backends/gui/relative-time.d.ts.map +1 -0
  208. package/dist/backends/gui/relative-time.js +132 -0
  209. package/dist/backends/gui/relative-time.js.map +1 -0
  210. package/dist/backends/gui/safari.cjs +65 -0
  211. package/dist/backends/gui/safari.d.ts +23 -0
  212. package/dist/backends/gui/safari.d.ts.map +1 -0
  213. package/dist/backends/gui/safari.js +63 -0
  214. package/dist/backends/gui/safari.js.map +1 -0
  215. package/dist/backends/gui/snippet.cjs +144 -0
  216. package/dist/backends/gui/snippet.d.ts +38 -0
  217. package/dist/backends/gui/snippet.d.ts.map +1 -0
  218. package/dist/backends/gui/snippet.js +141 -0
  219. package/dist/backends/gui/snippet.js.map +1 -0
  220. package/dist/backends/gui/stars-scrolling-wheel.cjs +106 -0
  221. package/dist/backends/gui/stars-scrolling-wheel.d.ts +24 -0
  222. package/dist/backends/gui/stars-scrolling-wheel.d.ts.map +1 -0
  223. package/dist/backends/gui/stars-scrolling-wheel.js +104 -0
  224. package/dist/backends/gui/stars-scrolling-wheel.js.map +1 -0
  225. package/dist/backends/gui/status.cjs +79 -0
  226. package/dist/backends/gui/status.d.ts +15 -0
  227. package/dist/backends/gui/status.d.ts.map +1 -0
  228. package/dist/backends/gui/status.js +77 -0
  229. package/dist/backends/gui/status.js.map +1 -0
  230. package/dist/backends/gui/stock-market.cjs +21 -0
  231. package/dist/backends/gui/stock-market.d.ts +17 -0
  232. package/dist/backends/gui/stock-market.d.ts.map +1 -0
  233. package/dist/backends/gui/stock-market.js +19 -0
  234. package/dist/backends/gui/stock-market.js.map +1 -0
  235. package/dist/backends/gui/stock-screener.cjs +55 -0
  236. package/dist/backends/gui/stock-screener.d.ts +41 -0
  237. package/dist/backends/gui/stock-screener.d.ts.map +1 -0
  238. package/dist/backends/gui/stock-screener.js +53 -0
  239. package/dist/backends/gui/stock-screener.js.map +1 -0
  240. package/dist/backends/gui/symbol-info.cjs +46 -0
  241. package/dist/backends/gui/symbol-info.d.ts +36 -0
  242. package/dist/backends/gui/symbol-info.d.ts.map +1 -0
  243. package/dist/backends/gui/symbol-info.js +44 -0
  244. package/dist/backends/gui/symbol-info.js.map +1 -0
  245. package/dist/backends/gui/table.cjs +104 -0
  246. package/dist/backends/gui/table.d.ts +57 -0
  247. package/dist/backends/gui/table.d.ts.map +1 -0
  248. package/dist/backends/gui/table.js +95 -0
  249. package/dist/backends/gui/table.js.map +1 -0
  250. package/dist/backends/gui/tags.cjs +22 -0
  251. package/dist/backends/gui/tags.d.ts +22 -0
  252. package/dist/backends/gui/tags.d.ts.map +1 -0
  253. package/dist/backends/gui/tags.js +20 -0
  254. package/dist/backends/gui/tags.js.map +1 -0
  255. package/dist/backends/gui/technical-analysis.cjs +58 -0
  256. package/dist/backends/gui/technical-analysis.d.ts +41 -0
  257. package/dist/backends/gui/technical-analysis.d.ts.map +1 -0
  258. package/dist/backends/gui/technical-analysis.js +56 -0
  259. package/dist/backends/gui/technical-analysis.js.map +1 -0
  260. package/dist/backends/gui/terminal.cjs +266 -0
  261. package/dist/backends/gui/terminal.d.ts +38 -0
  262. package/dist/backends/gui/terminal.d.ts.map +1 -0
  263. package/dist/backends/gui/terminal.js +231 -0
  264. package/dist/backends/gui/terminal.js.map +1 -0
  265. package/dist/backends/gui/ticker.cjs +79 -0
  266. package/dist/backends/gui/ticker.d.ts +19 -0
  267. package/dist/backends/gui/ticker.d.ts.map +1 -0
  268. package/dist/backends/gui/ticker.js +44 -0
  269. package/dist/backends/gui/ticker.js.map +1 -0
  270. package/dist/backends/gui/timeline.cjs +154 -0
  271. package/dist/backends/gui/timeline.d.ts +42 -0
  272. package/dist/backends/gui/timeline.d.ts.map +1 -0
  273. package/dist/backends/gui/timeline.js +118 -0
  274. package/dist/backends/gui/timeline.js.map +1 -0
  275. package/dist/backends/gui/toggle.cjs +96 -0
  276. package/dist/backends/gui/toggle.d.ts +29 -0
  277. package/dist/backends/gui/toggle.d.ts.map +1 -0
  278. package/dist/backends/gui/toggle.js +95 -0
  279. package/dist/backends/gui/toggle.js.map +1 -0
  280. package/dist/backends/gui/video-player.cjs +383 -0
  281. package/dist/backends/gui/video-player.d.ts +54 -0
  282. package/dist/backends/gui/video-player.d.ts.map +1 -0
  283. package/dist/backends/gui/video-player.js +348 -0
  284. package/dist/backends/gui/video-player.js.map +1 -0
  285. package/dist/gallery.html +249 -249
  286. package/dist/gui-config.cjs +5 -0
  287. package/dist/gui-config.d.ts +18 -3
  288. package/dist/gui-config.d.ts.map +1 -1
  289. package/dist/gui-config.js +5 -0
  290. package/dist/gui-config.js.map +1 -1
  291. package/dist/index.cjs +110 -1
  292. package/dist/index.d.ts +1 -1
  293. package/dist/index.d.ts.map +1 -1
  294. package/dist/index.js +1 -1
  295. package/dist/index.js.map +1 -1
  296. package/dist/index.node.cjs +110 -1
  297. package/dist/index.node.js +1 -1
  298. package/dist/styles.css +124 -124
  299. package/package.json +1 -1
@@ -0,0 +1,84 @@
1
+ 'use client';
2
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ /**
4
+ * GridPattern — a decorative, tiled SVG background: dots, lines, crosses,
5
+ * plus-marks or squares repeated across the whole of its parent.
6
+ *
7
+ * It is purely visual, so it draws with a plain <svg>, the same choice
8
+ * `AnimatedBeam` makes — gui has no vector primitive of its own. One `<pattern>`
9
+ * tile carries the chosen mark and is stamped across a full-size `<rect>`; an
10
+ * optional mask (a linear or radial gradient of white-to-transparent) fades the
11
+ * tile at its edges, its center, or radially outward, and an optional second
12
+ * `<rect>` paints a linear-gradient tint over the top. Motion is one CSS
13
+ * animation, hoisted once as a `<style>` sibling the way the beam's keyframe
14
+ * is: the keyframe itself only ever slides by the two custom properties
15
+ * `--grid-pattern-x`/`-y`, so any number of instances at any gap share it.
16
+ */
17
+ import * as React from 'react';
18
+ import { YStack } from '@hanzo/gui';
19
+ import { slot } from './slot.js';
20
+ const KEYFRAMES = `
21
+ @keyframes grid-pattern-move { from { transform: translate(0, 0) } to { transform: translate(var(--grid-pattern-x, 0px), var(--grid-pattern-y, 0px)) } }
22
+ @media (prefers-reduced-motion: reduce) { [data-slot="grid-pattern"] { animation: none !important } }
23
+ `;
24
+ const mark = (variant, size, step, color, opacity, strokeWidth) => {
25
+ switch (variant) {
26
+ case 'dots':
27
+ return _jsx("circle", { cx: size.width / 2, cy: size.height / 2, r: size.width / 2, fill: color, opacity: opacity });
28
+ case 'lines':
29
+ // Spans the full tile (gap), not the mark size, so adjoining tiles meet into one continuous grid line.
30
+ return (_jsxs(_Fragment, { children: [_jsx("line", { x1: 0, y1: 0, x2: 0, y2: step.y, stroke: color, strokeWidth: strokeWidth, opacity: opacity }), _jsx("line", { x1: 0, y1: 0, x2: step.x, y2: 0, stroke: color, strokeWidth: strokeWidth, opacity: opacity })] }));
31
+ case 'crosses':
32
+ return (_jsxs(_Fragment, { children: [_jsx("line", { x1: size.width / 2, y1: 0, x2: size.width / 2, y2: size.height, stroke: color, strokeWidth: strokeWidth, opacity: opacity }), _jsx("line", { x1: 0, y1: size.height / 2, x2: size.width, y2: size.height / 2, stroke: color, strokeWidth: strokeWidth, opacity: opacity })] }));
33
+ case 'plus':
34
+ return (_jsx("path", { d: `M ${size.width / 2} 0 L ${size.width / 2} ${size.height} M 0 ${size.height / 2} L ${size.width} ${size.height / 2}`, stroke: color, strokeWidth: strokeWidth, opacity: opacity, fill: "none", strokeLinecap: "round" }));
35
+ case 'squares':
36
+ return _jsx("rect", { width: size.width, height: size.height, fill: "none", stroke: color, strokeWidth: strokeWidth, opacity: opacity });
37
+ }
38
+ };
39
+ const fadeStops = (fade) => {
40
+ if (fade === 'center')
41
+ return (_jsxs(_Fragment, { children: [_jsx("stop", { offset: "0%", stopColor: "white", stopOpacity: 1 }), _jsx("stop", { offset: "70%", stopColor: "white", stopOpacity: 1 }), _jsx("stop", { offset: "100%", stopColor: "white", stopOpacity: 0 })] }));
42
+ if (fade === 'radial')
43
+ return (_jsxs(_Fragment, { children: [_jsx("stop", { offset: "0%", stopColor: "white", stopOpacity: 0 }), _jsx("stop", { offset: "30%", stopColor: "white", stopOpacity: 1 }), _jsx("stop", { offset: "100%", stopColor: "white", stopOpacity: 1 })] }));
44
+ // 'edges' and `true` share the same edge-to-edge fade.
45
+ return (_jsxs(_Fragment, { children: [_jsx("stop", { offset: "0%", stopColor: "white", stopOpacity: 0 }), _jsx("stop", { offset: "10%", stopColor: "white", stopOpacity: 1 }), _jsx("stop", { offset: "90%", stopColor: "white", stopOpacity: 1 }), _jsx("stop", { offset: "100%", stopColor: "white", stopOpacity: 0 })] }));
46
+ };
47
+ export const GridPattern = React.forwardRef(({ variant = 'dots', size = 4, gap = 20, color = 'currentColor', opacity = 0.4, strokeWidth = 1, fade = false, gradient, animation, offset, maxArea, style, ...props }, ref) => {
48
+ const patternId = React.useId();
49
+ const maskId = React.useId();
50
+ const gradientId = React.useId();
51
+ const tile = typeof size === 'number' ? { width: size, height: size } : { width: size.width ?? 4, height: size.height ?? 4 };
52
+ const step = typeof gap === 'number' ? { x: gap, y: gap } : { x: gap.x ?? 20, y: gap.y ?? 20 };
53
+ const shift = { x: offset?.x ?? 0, y: offset?.y ?? 0 };
54
+ const animationStyle = animation
55
+ ? {
56
+ animationName: 'grid-pattern-move',
57
+ animationDuration: `${animation.duration ?? 10}s`,
58
+ animationTimingFunction: animation.timing ?? 'linear',
59
+ animationDirection: animation.direction ?? 'normal',
60
+ animationIterationCount: 'infinite',
61
+ '--grid-pattern-x': `${step.x}px`,
62
+ '--grid-pattern-y': `${step.y}px`,
63
+ }
64
+ : {};
65
+ return (_jsxs(_Fragment, { children: [_jsx("style", { href: "grid-pattern", precedence: "default", children: KEYFRAMES }), _jsx(YStack, { ref: ref, ...slot('grid-pattern'), position: "absolute", inset: 0, overflow: "hidden", pointerEvents: "none", style: { ...animationStyle, ...style }, ...props, children: _jsxs("svg", { ...slot('grid-pattern-svg'), style: {
66
+ position: 'absolute',
67
+ width: '100%',
68
+ height: '100%',
69
+ transform: `translate(${shift.x}px, ${shift.y}px)`,
70
+ }, children: [_jsxs("defs", { children: [_jsx("pattern", { id: patternId, x: 0, y: 0, width: step.x, height: step.y, patternUnits: "userSpaceOnUse", children: mark(variant, tile, step, color, opacity, strokeWidth) }), fade && (fade === 'center' || fade === 'radial' ? (_jsx("radialGradient", { id: maskId, children: fadeStops(fade) })) : (_jsx("linearGradient", { id: maskId, children: fadeStops(fade) }))), gradient && (_jsxs("linearGradient", { id: gradientId, x1: "0%", y1: "0%", x2: "100%", y2: "100%", children: [_jsx("stop", { offset: "0%", stopColor: gradient.from ?? 'transparent' }), gradient.via && _jsx("stop", { offset: "50%", stopColor: gradient.via }), _jsx("stop", { offset: "100%", stopColor: gradient.to ?? 'transparent' })] }))] }), _jsx("rect", { ...slot('grid-pattern-tiles'), width: maxArea?.width ?? '100%', height: maxArea?.height ?? '100%', fill: `url(#${patternId})`, mask: fade ? `url(#${maskId})` : undefined }), gradient && (_jsx("rect", { ...slot('grid-pattern-tint'), width: maxArea?.width ?? '100%', height: maxArea?.height ?? '100%', fill: `url(#${gradientId})`, opacity: gradient.opacity ?? 0.5 }))] }) })] }));
71
+ });
72
+ GridPattern.displayName = 'GridPattern';
73
+ /** Named, ready-to-spread configurations for the common backgrounds. */
74
+ export const GridPatternPresets = {
75
+ dotMatrix: { variant: 'dots', size: 3, gap: 30, opacity: 0.3 },
76
+ fineDots: { variant: 'dots', size: 1, gap: 10, opacity: 0.4 },
77
+ gridLines: { variant: 'lines', gap: 40, strokeWidth: 1, opacity: 0.2 },
78
+ crosshatch: { variant: 'crosses', size: 10, gap: 20, strokeWidth: 1, opacity: 0.3 },
79
+ blueprint: { variant: 'lines', gap: 20, strokeWidth: 0.5, color: '#3b82f6', opacity: 0.3 },
80
+ graph: { variant: 'lines', gap: { x: 50, y: 50 }, strokeWidth: 1, opacity: 0.15, fade: 'edges' },
81
+ isometric: { variant: 'lines', gap: { x: 30, y: 17.32 }, strokeWidth: 0.5, opacity: 0.2 },
82
+ hexagon: { variant: 'dots', size: 2, gap: { x: 30, y: 26 }, opacity: 0.3 },
83
+ };
84
+ //# sourceMappingURL=grid-pattern.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid-pattern.js","sourceRoot":"","sources":["../../../src/backends/gui/grid-pattern.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,KAAK,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AE,WAAW,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE;IACnF,SAAS,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,WAAW,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE;IAC1F,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE;IAChG,SAAS,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE;IACzF,OAAO,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE;CAC3E,CAAA"}
@@ -0,0 +1,35 @@
1
+ 'use client';"use strict";
2
+ 'use client';
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ImageCrop = ImageCrop;
5
+ const jsx_runtime_1 = require("react/jsx-runtime");
6
+ /**
7
+ * ImageCrop — a zoom, rotate and crop preview for a single image.
8
+ *
9
+ * The frame is `AspectRatio`, held to the caller's `aspect`; the image inside
10
+ * carries a live `scale`/`rotate` transform driven by local zoom/rotation
11
+ * state. The actual pixel crop is the caller's — `onCrop` hands back the same
12
+ * `src` the preview shows, exactly as the source component's contract does —
13
+ * so this file owns the preview and the four controls under it, nothing more.
14
+ */
15
+ const gui_1 = require("@hanzo/gui");
16
+ const lucide_icons_2_1 = require("@hanzogui/lucide-icons-2");
17
+ const react_1 = require("react");
18
+ const aspect_ratio_1 = require("./aspect-ratio.cjs");
19
+ const button_1 = require("./button.cjs");
20
+ const slot_1 = require("./slot.cjs");
21
+ const STEP = 0.1;
22
+ const MIN_ZOOM = 0.5;
23
+ const MAX_ZOOM = 3;
24
+ const ICON = 16;
25
+ function ImageCrop({ src, onCrop, aspect = 1, ...props }) {
26
+ const [zoom, setZoom] = (0, react_1.useState)(1);
27
+ const [rotation, setRotation] = (0, react_1.useState)(0);
28
+ const zoomOut = () => setZoom((z) => Math.max(MIN_ZOOM, +(z - STEP).toFixed(2)));
29
+ const zoomIn = () => setZoom((z) => Math.min(MAX_ZOOM, +(z + STEP).toFixed(2)));
30
+ const rotate = () => setRotation((r) => (r + 90) % 360);
31
+ return ((0, jsx_runtime_1.jsxs)(gui_1.YStack, { ...(0, slot_1.slot)('image-crop'), gap: "$4", ...props, children: [(0, jsx_runtime_1.jsx)(aspect_ratio_1.AspectRatio, { ...(0, slot_1.slot)('image-crop-preview'), ratio: aspect, rounded: "$4", borderWidth: 1, borderColor: "$borderColor", children: (0, jsx_runtime_1.jsx)(gui_1.Image, { src: src, alt: "Crop preview", width: "100%", height: "100%", objectFit: "contain", "data-zoom": zoom, "data-rotation": rotation, style: {
32
+ transform: `scale(${zoom}) rotate(${rotation}deg)`,
33
+ transition: 'transform 0.2s',
34
+ } }) }), (0, jsx_runtime_1.jsxs)(gui_1.XStack, { ...(0, slot_1.slot)('image-crop-controls'), items: "center", justify: "center", gap: "$2", children: [(0, jsx_runtime_1.jsx)(button_1.Button, { ...(0, slot_1.slot)('image-crop-zoom-out'), variant: "outline", size: "icon", "aria-label": "Zoom out", onPress: zoomOut, children: (0, jsx_runtime_1.jsx)(lucide_icons_2_1.ZoomOut, { size: ICON }) }), (0, jsx_runtime_1.jsx)(button_1.Button, { ...(0, slot_1.slot)('image-crop-zoom-in'), variant: "outline", size: "icon", "aria-label": "Zoom in", onPress: zoomIn, children: (0, jsx_runtime_1.jsx)(lucide_icons_2_1.ZoomIn, { size: ICON }) }), (0, jsx_runtime_1.jsx)(button_1.Button, { ...(0, slot_1.slot)('image-crop-rotate'), variant: "outline", size: "icon", "aria-label": "Rotate", onPress: rotate, children: (0, jsx_runtime_1.jsx)(lucide_icons_2_1.RotateCw, { size: ICON }) }), (0, jsx_runtime_1.jsxs)(button_1.Button, { ...(0, slot_1.slot)('image-crop-crop'), onPress: () => onCrop?.(src), children: [(0, jsx_runtime_1.jsx)(lucide_icons_2_1.Crop, { size: ICON }), "Crop"] })] })] }));
35
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * ImageCrop — a zoom, rotate and crop preview for a single image.
3
+ *
4
+ * The frame is `AspectRatio`, held to the caller's `aspect`; the image inside
5
+ * carries a live `scale`/`rotate` transform driven by local zoom/rotation
6
+ * state. The actual pixel crop is the caller's — `onCrop` hands back the same
7
+ * `src` the preview shows, exactly as the source component's contract does —
8
+ * so this file owns the preview and the four controls under it, nothing more.
9
+ */
10
+ import { type YStackProps } from '@hanzo/gui';
11
+ export interface ImageCropProps extends Omit<YStackProps, 'children'> {
12
+ /** The image to preview and crop. */
13
+ src: string;
14
+ /** Called with `src` when the Crop button is pressed. */
15
+ onCrop?: (croppedImage: string) => void;
16
+ /** Width divided by height of the crop frame. Square by default. */
17
+ aspect?: number;
18
+ }
19
+ export declare function ImageCrop({ src, onCrop, aspect, ...props }: ImageCropProps): import("react").JSX.Element;
20
+ //# sourceMappingURL=image-crop.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-crop.d.ts","sourceRoot":"","sources":["../../../src/backends/gui/image-crop.tsx"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,OAAO,EAAyB,KAAK,WAAW,EAAE,MAAM,YAAY,CAAA;AAYpE,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC;IACnE,qCAAqC;IACrC,GAAG,EAAE,MAAM,CAAA;IACX,yDAAyD;IACzD,MAAM,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,oEAAoE;IACpE,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,wBAAgB,SAAS,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,MAAU,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,+BAkE9E"}
@@ -0,0 +1,33 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ /**
4
+ * ImageCrop — a zoom, rotate and crop preview for a single image.
5
+ *
6
+ * The frame is `AspectRatio`, held to the caller's `aspect`; the image inside
7
+ * carries a live `scale`/`rotate` transform driven by local zoom/rotation
8
+ * state. The actual pixel crop is the caller's — `onCrop` hands back the same
9
+ * `src` the preview shows, exactly as the source component's contract does —
10
+ * so this file owns the preview and the four controls under it, nothing more.
11
+ */
12
+ import { Image, XStack, YStack } from '@hanzo/gui';
13
+ import { Crop, RotateCw, ZoomIn, ZoomOut } from '@hanzogui/lucide-icons-2';
14
+ import { useState } from 'react';
15
+ import { AspectRatio } from './aspect-ratio.js';
16
+ import { Button } from './button.js';
17
+ import { slot } from './slot.js';
18
+ const STEP = 0.1;
19
+ const MIN_ZOOM = 0.5;
20
+ const MAX_ZOOM = 3;
21
+ const ICON = 16;
22
+ export function ImageCrop({ src, onCrop, aspect = 1, ...props }) {
23
+ const [zoom, setZoom] = useState(1);
24
+ const [rotation, setRotation] = useState(0);
25
+ const zoomOut = () => setZoom((z) => Math.max(MIN_ZOOM, +(z - STEP).toFixed(2)));
26
+ const zoomIn = () => setZoom((z) => Math.min(MAX_ZOOM, +(z + STEP).toFixed(2)));
27
+ const rotate = () => setRotation((r) => (r + 90) % 360);
28
+ return (_jsxs(YStack, { ...slot('image-crop'), gap: "$4", ...props, children: [_jsx(AspectRatio, { ...slot('image-crop-preview'), ratio: aspect, rounded: "$4", borderWidth: 1, borderColor: "$borderColor", children: _jsx(Image, { src: src, alt: "Crop preview", width: "100%", height: "100%", objectFit: "contain", "data-zoom": zoom, "data-rotation": rotation, style: {
29
+ transform: `scale(${zoom}) rotate(${rotation}deg)`,
30
+ transition: 'transform 0.2s',
31
+ } }) }), _jsxs(XStack, { ...slot('image-crop-controls'), items: "center", justify: "center", gap: "$2", children: [_jsx(Button, { ...slot('image-crop-zoom-out'), variant: "outline", size: "icon", "aria-label": "Zoom out", onPress: zoomOut, children: _jsx(ZoomOut, { size: ICON }) }), _jsx(Button, { ...slot('image-crop-zoom-in'), variant: "outline", size: "icon", "aria-label": "Zoom in", onPress: zoomIn, children: _jsx(ZoomIn, { size: ICON }) }), _jsx(Button, { ...slot('image-crop-rotate'), variant: "outline", size: "icon", "aria-label": "Rotate", onPress: rotate, children: _jsx(RotateCw, { size: ICON }) }), _jsxs(Button, { ...slot('image-crop-crop'), onPress: () => onCrop?.(src), children: [_jsx(Crop, { size: ICON }), "Crop"] })] })] }));
32
+ }
33
+ //# sourceMappingURL=image-crop.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-crop.js","sourceRoot":"","sources":["../../../src/backends/gui/image-crop.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ;;;;;;;;GAQG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAoB,MAAM,YAAY,CAAA;AACpE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAA;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAE7B,MAAM,IAAI,GAAG,GAAG,CAAA;AAChB,MAAM,QAAQ,GAAG,GAAG,CAAA;AACpB,MAAM,QAAQ,GAAG,CAAC,CAAA;AAClB,MAAM,IAAI,GAAG,EAAE,CAAA;AAWf,MAAM,UAAU,SAA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,SAAS,IAAI,YAAY,QAAQ,MAAM;wBAClD,UAAU,EAAE,gBAAgB;qBAC7B,GACD,GACU,EACd,MAAC,MAAM,OAAK,IAAI,CAAC,qBAAqB,CAAC,EAAE,KAAK,EAAC,QAAQ,EAAC,OAAO,EAAC,QAAQ,EAAC,GAAG,EAAC,IAAI,aAC/E,KAAC,MAAM,OACD,IAAI,CAAC,qBAAqB,CAAC,EAC/B,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,MAAM,gBACA,UAAU,EACrB,OAAO,EAAE,OAAO,YAEhB,KAAC,OAAO,IAAC,IAAI,EAAE,IAAI,GAAI,GAChB,EACT,KAAC,MAAM,OACD,IAAI,CAAC,oBAAoB,CAAC,EAC9B,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,MAAM,gBACA,SAAS,EACpB,OAAO,EAAE,MAAM,YAEf,KAAC,MAAM,IAAC,IAAI,EAAE,IAAI,GAAI,GACf,EACT,KAAC,MAAM,OACD,IAAI,CAAC,mBAAmB,CAAC,EAC7B,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,MAAM,gBACA,QAAQ,EACnB,OAAO,EAAE,MAAM,YAEf,KAAC,QAAQ,IAAC,IAAI,EAAE,IAAI,GAAI,GACjB,EACT,MAAC,MAAM,OAAK,IAAI,CAAC,iBAAiB,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,aAC/D,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,GAAI,YAEb,IACF,IACF,CACV,CAAA;AACH,CAAC"}
@@ -0,0 +1,58 @@
1
+ 'use client';"use strict";
2
+ 'use client';
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ImageZoom = ImageZoom;
5
+ const jsx_runtime_1 = require("react/jsx-runtime");
6
+ /**
7
+ * ImageZoom — a photograph that magnifies toward the pointer.
8
+ *
9
+ * Hovering the frame scales the image up by `zoomScale`, keeping the point
10
+ * under the cursor fixed, and fades in a small zoom-in glyph over the corner.
11
+ * Leaving the frame eases the image back to its rest size.
12
+ *
13
+ * The live transform is an inline style, not a style prop: gui compiles a
14
+ * style prop to one class per distinct value, and the pointer takes a new
15
+ * position on every pixel of travel (the same trade `Card3D` makes).
16
+ */
17
+ const gui_1 = require("@hanzo/gui");
18
+ const lucide_icons_2_1 = require("@hanzogui/lucide-icons-2");
19
+ const react_1 = require("react");
20
+ const slot_1 = require("./slot.cjs");
21
+ const EASE = 'cubic-bezier(0.03, 0.98, 0.52, 0.99)';
22
+ const Frame = (0, gui_1.styled)(gui_1.XStack, {
23
+ name: 'ImageZoom',
24
+ position: 'relative',
25
+ overflow: 'hidden',
26
+ rounded: '$4',
27
+ cursor: 'zoom-in',
28
+ });
29
+ const Glyph = (0, gui_1.styled)(gui_1.XStack, {
30
+ name: 'ImageZoomGlyph',
31
+ position: 'absolute',
32
+ t: '$2',
33
+ r: '$2',
34
+ p: '$1.5',
35
+ rounded: 1000,
36
+ bg: 'rgba(0,0,0,0.5)',
37
+ opacity: 0,
38
+ variants: {
39
+ zoomed: {
40
+ true: { opacity: 1 },
41
+ },
42
+ },
43
+ });
44
+ /** The pointer as a percentage of the frame, 0..100 from its top-left corner. */
45
+ const CENTRE = { x: 50, y: 50, live: false };
46
+ function ImageZoom({ src, alt, zoomScale = 2, speed = 200, ...props }) {
47
+ const [at, setAt] = (0, react_1.useState)(CENTRE);
48
+ const move = (e) => {
49
+ const r = e.currentTarget.getBoundingClientRect();
50
+ setAt({ x: ((e.clientX - r.left) / r.width) * 100, y: ((e.clientY - r.top) / r.height) * 100, live: true });
51
+ };
52
+ const leave = () => setAt((a) => ({ ...a, live: false }));
53
+ return ((0, jsx_runtime_1.jsxs)(Frame, { ...(0, slot_1.slot)('image-zoom'), "data-state": at.live ? 'zoomed' : 'idle', onPointerMove: move, onPointerLeave: leave, ...props, children: [(0, jsx_runtime_1.jsx)(gui_1.Image, { ...(0, slot_1.slot)('image-zoom-image'), src: src, alt: alt, width: "100%", height: "100%", objectFit: "cover", style: {
54
+ transform: `scale(${at.live ? zoomScale : 1})`,
55
+ transformOrigin: `${at.x}% ${at.y}%`,
56
+ transition: at.live ? 'none' : `transform ${speed}ms ${EASE}`,
57
+ } }), (0, jsx_runtime_1.jsx)(Glyph, { ...(0, slot_1.slot)('image-zoom-glyph'), zoomed: at.live, style: { transition: 'opacity 200ms ease' }, children: (0, jsx_runtime_1.jsx)(lucide_icons_2_1.ZoomIn, { size: 16, color: "white" }) })] }));
58
+ }
@@ -0,0 +1,16 @@
1
+ import { type ComponentProps } from 'react';
2
+ declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
3
+ elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
4
+ fullscreen?: boolean | undefined;
5
+ }, import("@hanzogui/web").StaticConfigPublic>;
6
+ export type ImageZoomProps = Omit<ComponentProps<typeof Frame>, 'children'> & {
7
+ src?: string;
8
+ alt?: string;
9
+ /** How far the image magnifies while the pointer is over it. */
10
+ zoomScale?: number;
11
+ /** How long the image takes to settle back, in ms. */
12
+ speed?: number;
13
+ };
14
+ export declare function ImageZoom({ src, alt, zoomScale, speed, ...props }: ImageZoomProps): import("react").JSX.Element;
15
+ export {};
16
+ //# sourceMappingURL=image-zoom.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-zoom.d.ts","sourceRoot":"","sources":["../../../src/backends/gui/image-zoom.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAY,KAAK,cAAc,EAAqB,MAAM,OAAO,CAAA;AAKxE,QAAA,MAAM,KAAK;;;8CAMT,CAAA;AAsBF,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG;IAC5E,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,wBAAgB,SAAS,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,SAAa,EAAE,KAAW,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,+BAmC3F"}
@@ -0,0 +1,56 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ /**
4
+ * ImageZoom — a photograph that magnifies toward the pointer.
5
+ *
6
+ * Hovering the frame scales the image up by `zoomScale`, keeping the point
7
+ * under the cursor fixed, and fades in a small zoom-in glyph over the corner.
8
+ * Leaving the frame eases the image back to its rest size.
9
+ *
10
+ * The live transform is an inline style, not a style prop: gui compiles a
11
+ * style prop to one class per distinct value, and the pointer takes a new
12
+ * position on every pixel of travel (the same trade `Card3D` makes).
13
+ */
14
+ import { Image, XStack, styled } from '@hanzo/gui';
15
+ import { ZoomIn } from '@hanzogui/lucide-icons-2';
16
+ import { useState } from 'react';
17
+ import { slot } from './slot.js';
18
+ const EASE = 'cubic-bezier(0.03, 0.98, 0.52, 0.99)';
19
+ const Frame = styled(XStack, {
20
+ name: 'ImageZoom',
21
+ position: 'relative',
22
+ overflow: 'hidden',
23
+ rounded: '$4',
24
+ cursor: 'zoom-in',
25
+ });
26
+ const Glyph = styled(XStack, {
27
+ name: 'ImageZoomGlyph',
28
+ position: 'absolute',
29
+ t: '$2',
30
+ r: '$2',
31
+ p: '$1.5',
32
+ rounded: 1000,
33
+ bg: 'rgba(0,0,0,0.5)',
34
+ opacity: 0,
35
+ variants: {
36
+ zoomed: {
37
+ true: { opacity: 1 },
38
+ },
39
+ },
40
+ });
41
+ /** The pointer as a percentage of the frame, 0..100 from its top-left corner. */
42
+ const CENTRE = { x: 50, y: 50, live: false };
43
+ export function ImageZoom({ src, alt, zoomScale = 2, speed = 200, ...props }) {
44
+ const [at, setAt] = useState(CENTRE);
45
+ const move = (e) => {
46
+ const r = e.currentTarget.getBoundingClientRect();
47
+ setAt({ x: ((e.clientX - r.left) / r.width) * 100, y: ((e.clientY - r.top) / r.height) * 100, live: true });
48
+ };
49
+ const leave = () => setAt((a) => ({ ...a, live: false }));
50
+ return (_jsxs(Frame, { ...slot('image-zoom'), "data-state": at.live ? 'zoomed' : 'idle', onPointerMove: move, onPointerLeave: leave, ...props, children: [_jsx(Image, { ...slot('image-zoom-image'), src: src, alt: alt, width: "100%", height: "100%", objectFit: "cover", style: {
51
+ transform: `scale(${at.live ? zoomScale : 1})`,
52
+ transformOrigin: `${at.x}% ${at.y}%`,
53
+ transition: at.live ? 'none' : `transform ${speed}ms ${EASE}`,
54
+ } }), _jsx(Glyph, { ...slot('image-zoom-glyph'), zoomed: at.live, style: { transition: 'opacity 200ms ease' }, children: _jsx(ZoomIn, { size: 16, color: "white" }) })] }));
55
+ }
56
+ //# sourceMappingURL=image-zoom.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-zoom.js","sourceRoot":"","sources":["../../../src/backends/gui/image-zoom.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ;;;;;;;;;;GAUG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAA;AACjD,OAAO,EAAE,QAAQ,EAA0C,MAAM,OAAO,CAAA;AACxE,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAE7B,MAAM,IAAI,GAAG,sCAAsC,CAAA;AAEnD,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE;IAC3B,IAAI,EAAE,WAAW;IACjB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,SAAS;CAClB,CAAC,CAAA;AAEF,MAAM,KAAK,GAAG,MAAM,CA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AAC,CAAC,CAAA;IAEzD,OAAO,CACL,MAAC,KAAK,OACA,IAAI,CAAC,YAAY,CAAC,gBACV,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EACvC,aAAa,EAAE,IAAI,EACnB,cAAc,EAAE,KAAK,KACjB,KAAK,aAET,KAAC,KAAK,OACA,IAAI,CAAC,kBAAkB,CAAC,EAC5B,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,EACR,KAAK,EAAC,MAAM,EACZ,MAAM,EAAC,MAAM,EACb,SAAS,EAAC,OAAO,EACjB,KAAK,EAAE;oBACL,SAAS,EAAE,SAAS,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,GAAG;oBAC9C,eAAe,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,GAAG;oBACpC,UAAU,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,KAAK,MAAM,IAAI,EAAE;iBAC9D,GACD,EACF,KAAC,KAAK,OAAK,IAAI,CAAC,kBAAkB,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,oBAAoB,EAAE,YAC/F,KAAC,MAAM,IAAC,IAAI,EAAE,EAAE,EAAE,KAAK,EAAC,OAAO,GAAG,GAC5B,IACF,CACT,CAAA;AACH,CAAC"}
@@ -21,7 +21,9 @@ exports.ResizablePanel = exports.ResizablePanelGroup = exports.RadioGroupItem =
21
21
  exports.ToggleGroupItem = exports.ToggleGroup = exports.toast = exports.Toaster = exports.Textarea = exports.TabsContent = exports.TabsTrigger = exports.TabsList = exports.Tabs = exports.Switch = exports.Spinner = exports.Slider = exports.Fill = exports.Screen = exports.Band = exports.SelectScrollDownButton = exports.SelectScrollUpButton = exports.SelectSeparator = exports.SelectItem = exports.SelectLabel = exports.SelectContent = exports.SelectTrigger = exports.SelectValue = exports.SelectGroup = exports.Select = exports.ScrollBar = exports.ScrollArea = exports.Text = exports.View = exports.ScrollView = exports.Spacer = exports.Separator = exports.Image = exports.Anchor = exports.Em = exports.Strong = exports.Span = exports.H6 = exports.H5 = exports.H4 = exports.H3 = exports.H2 = exports.H1 = exports.Heading = exports.Paragraph = exports.SizableText = exports.ZStack = exports.YStack = exports.XStack = exports.ResizableHandle = void 0;
22
22
  exports.InputOTPSlot = exports.InputOTPSeparator = exports.InputOTPGroup = exports.InputOTP = exports.StepIndicator = exports.BreadcrumbSeparator = exports.BreadcrumbPage = exports.BreadcrumbList = exports.BreadcrumbLink = exports.BreadcrumbItem = exports.BreadcrumbEllipsis = exports.Breadcrumb = exports.NavItems = exports.fit = exports.MediaStack = exports.Skeleton = exports.SheetTrigger = exports.SheetTitle = exports.SheetPortal = exports.SheetOverlay = exports.SheetHeader = exports.SheetFooter = exports.SheetDescription = exports.SheetContent = exports.SheetClose = exports.Sheet = exports.CarouselNext = exports.CarouselPrevious = exports.CarouselItem = exports.CarouselContent = exports.Carousel = exports.YouTubeEmbed = exports.VideoPlayer = exports.LinkElement = exports.MDXLink = exports.useLink = exports.Link = exports.ApplyTypography = exports.useFormField = exports.FormMessage = exports.FormDescription = exports.FormControl = exports.FormLabel = exports.FormItem = exports.FormField = exports.Form = exports.TooltipProvider = exports.TooltipContent = exports.TooltipTrigger = exports.Tooltip = void 0;
23
23
  exports.Desktop = exports.MarketOverview = exports.Cursor = exports.CryptoScreener = exports.ColorPicker = exports.ComboboxWithIcons = exports.Combobox = exports.CodeTabs = exports.Comparison = exports.CreditCard = exports.CompanyProfile = exports.CodeBlock = exports.CodeEditor = exports.Calendar = exports.Choicebox = exports.Banner = exports.AppleHelloEffect = exports.gradientPresets = exports.AppleCardsCarousel = exports.AnimatedCursor = exports.AnimatedTestimonials = exports.AnimatedBeam = exports.AnimatedTooltip = exports.Announcement = exports.Marquee3DPreset = exports.Marquee3DFloating = exports.Marquee3D = exports.AlertTitle = exports.AlertDescription = exports.Alert = exports.Pin3D = exports.Android = exports.AdvancedChart = exports.Card3DTitle = exports.Card3DHeader = exports.Card3DFooter = exports.Card3DDescription = exports.Card3DContent = exports.Card3D = exports.DrawerTrigger = exports.DrawerHandle = exports.DrawerContent = exports.Drawer = exports.navigationMenuTriggerStyle = exports.NavigationMenuTrigger = exports.NavigationMenuList = exports.NavigationMenuLink = exports.NavigationMenuItem = exports.NavigationMenuContent = exports.NavigationMenu = void 0;
24
- exports.Financials = exports.Gantt = exports.ForexMarket = exports.ForexScreener = exports.EmptyTitle = exports.EmptyMedia = exports.EmptyHeader = exports.EmptyDescription = exports.EmptyContent = exports.Empty = exports.Spotlight = exports.DockSeparator = exports.DockItem = exports.Dock = exports.Editor = exports.Dropzone = exports.DesktopWindowControls = exports.DesktopWindow = exports.DialogStack = exports.DatePicker = exports.DataTableColumnHeader = exports.DataTable = exports.useWindowManager = exports.useOverlayManager = exports.useKeyboardShortcuts = exports.useDesktopSettings = void 0;
24
+ exports.ListItem = exports.List = exports.GlimpseTrigger = exports.GlimpseTitle = exports.GlimpseImage = exports.GlimpseDescription = exports.GlimpseContent = exports.Glimpse = exports.ImageZoom = exports.IPhone15Pro = exports.GridPatternPresets = exports.GridPattern = exports.InteractiveGridPattern = exports.ImageCrop = exports.FieldTitle = exports.FieldSet = exports.FieldSeparator = exports.FieldLegend = exports.FieldLabel = exports.FieldGroup = exports.FieldError = exports.FieldDescription = exports.FieldContent = exports.Field = exports.Financials = exports.Gantt = exports.ForexMarket = exports.ForexScreener = exports.EmptyTitle = exports.EmptyMedia = exports.EmptyHeader = exports.EmptyDescription = exports.EmptyContent = exports.Empty = exports.Spotlight = exports.DockSeparator = exports.DockItem = exports.Dock = exports.Editor = exports.Dropzone = exports.DesktopWindowControls = exports.DesktopWindow = exports.DialogStack = exports.DatePicker = exports.DataTableColumnHeader = exports.DataTable = exports.useWindowManager = exports.useOverlayManager = exports.useKeyboardShortcuts = exports.useDesktopSettings = void 0;
25
+ exports.PositionsList = exports.OrderEntry = exports.PaginationPrevious = exports.PaginationNext = exports.PaginationLink = exports.PaginationItem = exports.PaginationEllipsis = exports.PaginationContent = exports.Pagination = exports.OrdersHistory = exports.MotionHighlight = exports.MinimalTiptap = exports.NewsTimeline = exports.MenubarTrigger = exports.MenubarSubTrigger = exports.MenubarSubContent = exports.MenubarSub = exports.MenubarShortcut = exports.MenubarSeparator = exports.MenubarRadioItem = exports.MenubarRadioGroup = exports.MenubarPortal = exports.MenubarMenu = exports.MenubarLabel = exports.MenubarItem = exports.MenubarGroup = exports.MenubarContent = exports.MenubarCheckboxItem = exports.Menubar = exports.MessageDock = exports.MiniCalendar = exports.Marquee = exports.MenuDock = exports.Magnetic = exports.KanbanBoard = exports.LimelightNav = exports.ItemTitle = exports.ItemSeparator = exports.ItemMedia = exports.ItemHeader = exports.ItemGroup = exports.ItemFooter = exports.ItemDescription = exports.ItemContent = exports.ItemActions = exports.Item = exports.KbdGroup = exports.Kbd = exports.MacosDockItem = exports.MacosDock = void 0;
26
+ exports.NavigationBar = exports.MediaPlayer = exports.Timeline = exports.Terminal = exports.Toggle = exports.Ticker = exports.TechnicalAnalysis = exports.Tags = exports.TableRow = exports.TableHeader = exports.TableHead = exports.TableFooter = exports.TableCell = exports.TableCaption = exports.TableBody = exports.Table = exports.StockMarket = exports.Status = exports.SymbolInfo = exports.StockScreener = exports.Snippet = exports.InlineCode = exports.encodeQr = exports.QRCode = exports.StarsScrollingWheel = exports.Safari = exports.RelativeTime = exports.PinList = exports.ParticlesBackground = exports.pillVariants = exports.Pill = exports.Particles = exports.PixelImage = void 0;
25
27
  var accordion_1 = require("./accordion.cjs");
26
28
  Object.defineProperty(exports, "Accordion", { enumerable: true, get: function () { return accordion_1.Accordion; } });
27
29
  Object.defineProperty(exports, "AccordionItem", { enumerable: true, get: function () { return accordion_1.AccordionItem; } });
@@ -397,3 +399,159 @@ var gantt_1 = require("./gantt.cjs");
397
399
  Object.defineProperty(exports, "Gantt", { enumerable: true, get: function () { return gantt_1.Gantt; } });
398
400
  var financials_1 = require("./financials.cjs");
399
401
  Object.defineProperty(exports, "Financials", { enumerable: true, get: function () { return financials_1.Financials; } });
402
+ var field_1 = require("./field.cjs");
403
+ Object.defineProperty(exports, "Field", { enumerable: true, get: function () { return field_1.Field; } });
404
+ Object.defineProperty(exports, "FieldContent", { enumerable: true, get: function () { return field_1.FieldContent; } });
405
+ Object.defineProperty(exports, "FieldDescription", { enumerable: true, get: function () { return field_1.FieldDescription; } });
406
+ Object.defineProperty(exports, "FieldError", { enumerable: true, get: function () { return field_1.FieldError; } });
407
+ Object.defineProperty(exports, "FieldGroup", { enumerable: true, get: function () { return field_1.FieldGroup; } });
408
+ Object.defineProperty(exports, "FieldLabel", { enumerable: true, get: function () { return field_1.FieldLabel; } });
409
+ Object.defineProperty(exports, "FieldLegend", { enumerable: true, get: function () { return field_1.FieldLegend; } });
410
+ Object.defineProperty(exports, "FieldSeparator", { enumerable: true, get: function () { return field_1.FieldSeparator; } });
411
+ Object.defineProperty(exports, "FieldSet", { enumerable: true, get: function () { return field_1.FieldSet; } });
412
+ Object.defineProperty(exports, "FieldTitle", { enumerable: true, get: function () { return field_1.FieldTitle; } });
413
+ var image_crop_1 = require("./image-crop.cjs");
414
+ Object.defineProperty(exports, "ImageCrop", { enumerable: true, get: function () { return image_crop_1.ImageCrop; } });
415
+ var interactive_grid_pattern_1 = require("./interactive-grid-pattern.cjs");
416
+ Object.defineProperty(exports, "InteractiveGridPattern", { enumerable: true, get: function () { return interactive_grid_pattern_1.InteractiveGridPattern; } });
417
+ var grid_pattern_1 = require("./grid-pattern.cjs");
418
+ Object.defineProperty(exports, "GridPattern", { enumerable: true, get: function () { return grid_pattern_1.GridPattern; } });
419
+ Object.defineProperty(exports, "GridPatternPresets", { enumerable: true, get: function () { return grid_pattern_1.GridPatternPresets; } });
420
+ var iphone_15_pro_1 = require("./iphone-15-pro.cjs");
421
+ Object.defineProperty(exports, "IPhone15Pro", { enumerable: true, get: function () { return iphone_15_pro_1.IPhone15Pro; } });
422
+ var image_zoom_1 = require("./image-zoom.cjs");
423
+ Object.defineProperty(exports, "ImageZoom", { enumerable: true, get: function () { return image_zoom_1.ImageZoom; } });
424
+ var glimpse_1 = require("./glimpse.cjs");
425
+ Object.defineProperty(exports, "Glimpse", { enumerable: true, get: function () { return glimpse_1.Glimpse; } });
426
+ Object.defineProperty(exports, "GlimpseContent", { enumerable: true, get: function () { return glimpse_1.GlimpseContent; } });
427
+ Object.defineProperty(exports, "GlimpseDescription", { enumerable: true, get: function () { return glimpse_1.GlimpseDescription; } });
428
+ Object.defineProperty(exports, "GlimpseImage", { enumerable: true, get: function () { return glimpse_1.GlimpseImage; } });
429
+ Object.defineProperty(exports, "GlimpseTitle", { enumerable: true, get: function () { return glimpse_1.GlimpseTitle; } });
430
+ Object.defineProperty(exports, "GlimpseTrigger", { enumerable: true, get: function () { return glimpse_1.GlimpseTrigger; } });
431
+ var list_1 = require("./list.cjs");
432
+ Object.defineProperty(exports, "List", { enumerable: true, get: function () { return list_1.List; } });
433
+ Object.defineProperty(exports, "ListItem", { enumerable: true, get: function () { return list_1.ListItem; } });
434
+ var macos_dock_1 = require("./macos-dock.cjs");
435
+ Object.defineProperty(exports, "MacosDock", { enumerable: true, get: function () { return macos_dock_1.MacosDock; } });
436
+ Object.defineProperty(exports, "MacosDockItem", { enumerable: true, get: function () { return macos_dock_1.MacosDockItem; } });
437
+ var kbd_1 = require("./kbd.cjs");
438
+ Object.defineProperty(exports, "Kbd", { enumerable: true, get: function () { return kbd_1.Kbd; } });
439
+ Object.defineProperty(exports, "KbdGroup", { enumerable: true, get: function () { return kbd_1.KbdGroup; } });
440
+ var item_1 = require("./item.cjs");
441
+ Object.defineProperty(exports, "Item", { enumerable: true, get: function () { return item_1.Item; } });
442
+ Object.defineProperty(exports, "ItemActions", { enumerable: true, get: function () { return item_1.ItemActions; } });
443
+ Object.defineProperty(exports, "ItemContent", { enumerable: true, get: function () { return item_1.ItemContent; } });
444
+ Object.defineProperty(exports, "ItemDescription", { enumerable: true, get: function () { return item_1.ItemDescription; } });
445
+ Object.defineProperty(exports, "ItemFooter", { enumerable: true, get: function () { return item_1.ItemFooter; } });
446
+ Object.defineProperty(exports, "ItemGroup", { enumerable: true, get: function () { return item_1.ItemGroup; } });
447
+ Object.defineProperty(exports, "ItemHeader", { enumerable: true, get: function () { return item_1.ItemHeader; } });
448
+ Object.defineProperty(exports, "ItemMedia", { enumerable: true, get: function () { return item_1.ItemMedia; } });
449
+ Object.defineProperty(exports, "ItemSeparator", { enumerable: true, get: function () { return item_1.ItemSeparator; } });
450
+ Object.defineProperty(exports, "ItemTitle", { enumerable: true, get: function () { return item_1.ItemTitle; } });
451
+ var limelight_nav_1 = require("./limelight-nav.cjs");
452
+ Object.defineProperty(exports, "LimelightNav", { enumerable: true, get: function () { return limelight_nav_1.LimelightNav; } });
453
+ var kanban_1 = require("./kanban.cjs");
454
+ Object.defineProperty(exports, "KanbanBoard", { enumerable: true, get: function () { return kanban_1.KanbanBoard; } });
455
+ var magnetic_1 = require("./magnetic.cjs");
456
+ Object.defineProperty(exports, "Magnetic", { enumerable: true, get: function () { return magnetic_1.Magnetic; } });
457
+ var menu_dock_1 = require("./menu-dock.cjs");
458
+ Object.defineProperty(exports, "MenuDock", { enumerable: true, get: function () { return menu_dock_1.MenuDock; } });
459
+ var marquee_1 = require("./marquee.cjs");
460
+ Object.defineProperty(exports, "Marquee", { enumerable: true, get: function () { return marquee_1.Marquee; } });
461
+ var mini_calendar_1 = require("./mini-calendar.cjs");
462
+ Object.defineProperty(exports, "MiniCalendar", { enumerable: true, get: function () { return mini_calendar_1.MiniCalendar; } });
463
+ var message_dock_1 = require("./message-dock.cjs");
464
+ Object.defineProperty(exports, "MessageDock", { enumerable: true, get: function () { return message_dock_1.MessageDock; } });
465
+ var menubar_1 = require("./menubar.cjs");
466
+ Object.defineProperty(exports, "Menubar", { enumerable: true, get: function () { return menubar_1.Menubar; } });
467
+ Object.defineProperty(exports, "MenubarCheckboxItem", { enumerable: true, get: function () { return menubar_1.MenubarCheckboxItem; } });
468
+ Object.defineProperty(exports, "MenubarContent", { enumerable: true, get: function () { return menubar_1.MenubarContent; } });
469
+ Object.defineProperty(exports, "MenubarGroup", { enumerable: true, get: function () { return menubar_1.MenubarGroup; } });
470
+ Object.defineProperty(exports, "MenubarItem", { enumerable: true, get: function () { return menubar_1.MenubarItem; } });
471
+ Object.defineProperty(exports, "MenubarLabel", { enumerable: true, get: function () { return menubar_1.MenubarLabel; } });
472
+ Object.defineProperty(exports, "MenubarMenu", { enumerable: true, get: function () { return menubar_1.MenubarMenu; } });
473
+ Object.defineProperty(exports, "MenubarPortal", { enumerable: true, get: function () { return menubar_1.MenubarPortal; } });
474
+ Object.defineProperty(exports, "MenubarRadioGroup", { enumerable: true, get: function () { return menubar_1.MenubarRadioGroup; } });
475
+ Object.defineProperty(exports, "MenubarRadioItem", { enumerable: true, get: function () { return menubar_1.MenubarRadioItem; } });
476
+ Object.defineProperty(exports, "MenubarSeparator", { enumerable: true, get: function () { return menubar_1.MenubarSeparator; } });
477
+ Object.defineProperty(exports, "MenubarShortcut", { enumerable: true, get: function () { return menubar_1.MenubarShortcut; } });
478
+ Object.defineProperty(exports, "MenubarSub", { enumerable: true, get: function () { return menubar_1.MenubarSub; } });
479
+ Object.defineProperty(exports, "MenubarSubContent", { enumerable: true, get: function () { return menubar_1.MenubarSubContent; } });
480
+ Object.defineProperty(exports, "MenubarSubTrigger", { enumerable: true, get: function () { return menubar_1.MenubarSubTrigger; } });
481
+ Object.defineProperty(exports, "MenubarTrigger", { enumerable: true, get: function () { return menubar_1.MenubarTrigger; } });
482
+ var news_timeline_1 = require("./news-timeline.cjs");
483
+ Object.defineProperty(exports, "NewsTimeline", { enumerable: true, get: function () { return news_timeline_1.NewsTimeline; } });
484
+ var minimal_tiptap_1 = require("./minimal-tiptap.cjs");
485
+ Object.defineProperty(exports, "MinimalTiptap", { enumerable: true, get: function () { return minimal_tiptap_1.MinimalTiptap; } });
486
+ var motion_highlight_1 = require("./motion-highlight.cjs");
487
+ Object.defineProperty(exports, "MotionHighlight", { enumerable: true, get: function () { return motion_highlight_1.MotionHighlight; } });
488
+ var orders_history_1 = require("./orders-history.cjs");
489
+ Object.defineProperty(exports, "OrdersHistory", { enumerable: true, get: function () { return orders_history_1.OrdersHistory; } });
490
+ var pagination_1 = require("./pagination.cjs");
491
+ Object.defineProperty(exports, "Pagination", { enumerable: true, get: function () { return pagination_1.Pagination; } });
492
+ Object.defineProperty(exports, "PaginationContent", { enumerable: true, get: function () { return pagination_1.PaginationContent; } });
493
+ Object.defineProperty(exports, "PaginationEllipsis", { enumerable: true, get: function () { return pagination_1.PaginationEllipsis; } });
494
+ Object.defineProperty(exports, "PaginationItem", { enumerable: true, get: function () { return pagination_1.PaginationItem; } });
495
+ Object.defineProperty(exports, "PaginationLink", { enumerable: true, get: function () { return pagination_1.PaginationLink; } });
496
+ Object.defineProperty(exports, "PaginationNext", { enumerable: true, get: function () { return pagination_1.PaginationNext; } });
497
+ Object.defineProperty(exports, "PaginationPrevious", { enumerable: true, get: function () { return pagination_1.PaginationPrevious; } });
498
+ var order_entry_1 = require("./order-entry.cjs");
499
+ Object.defineProperty(exports, "OrderEntry", { enumerable: true, get: function () { return order_entry_1.OrderEntry; } });
500
+ var positions_list_1 = require("./positions-list.cjs");
501
+ Object.defineProperty(exports, "PositionsList", { enumerable: true, get: function () { return positions_list_1.PositionsList; } });
502
+ var pixel_image_1 = require("./pixel-image.cjs");
503
+ Object.defineProperty(exports, "PixelImage", { enumerable: true, get: function () { return pixel_image_1.PixelImage; } });
504
+ var particles_1 = require("./particles.cjs");
505
+ Object.defineProperty(exports, "Particles", { enumerable: true, get: function () { return particles_1.Particles; } });
506
+ var pill_1 = require("./pill.cjs");
507
+ Object.defineProperty(exports, "Pill", { enumerable: true, get: function () { return pill_1.Pill; } });
508
+ Object.defineProperty(exports, "pillVariants", { enumerable: true, get: function () { return pill_1.pillVariants; } });
509
+ var particles_background_1 = require("./particles-background.cjs");
510
+ Object.defineProperty(exports, "ParticlesBackground", { enumerable: true, get: function () { return particles_background_1.ParticlesBackground; } });
511
+ var pin_list_1 = require("./pin-list.cjs");
512
+ Object.defineProperty(exports, "PinList", { enumerable: true, get: function () { return pin_list_1.PinList; } });
513
+ var relative_time_1 = require("./relative-time.cjs");
514
+ Object.defineProperty(exports, "RelativeTime", { enumerable: true, get: function () { return relative_time_1.RelativeTime; } });
515
+ var safari_1 = require("./safari.cjs");
516
+ Object.defineProperty(exports, "Safari", { enumerable: true, get: function () { return safari_1.Safari; } });
517
+ var stars_scrolling_wheel_1 = require("./stars-scrolling-wheel.cjs");
518
+ Object.defineProperty(exports, "StarsScrollingWheel", { enumerable: true, get: function () { return stars_scrolling_wheel_1.StarsScrollingWheel; } });
519
+ var qr_code_1 = require("./qr-code.cjs");
520
+ Object.defineProperty(exports, "QRCode", { enumerable: true, get: function () { return qr_code_1.QRCode; } });
521
+ Object.defineProperty(exports, "encodeQr", { enumerable: true, get: function () { return qr_code_1.encodeQr; } });
522
+ var snippet_1 = require("./snippet.cjs");
523
+ Object.defineProperty(exports, "InlineCode", { enumerable: true, get: function () { return snippet_1.InlineCode; } });
524
+ Object.defineProperty(exports, "Snippet", { enumerable: true, get: function () { return snippet_1.Snippet; } });
525
+ var stock_screener_1 = require("./stock-screener.cjs");
526
+ Object.defineProperty(exports, "StockScreener", { enumerable: true, get: function () { return stock_screener_1.StockScreener; } });
527
+ var symbol_info_1 = require("./symbol-info.cjs");
528
+ Object.defineProperty(exports, "SymbolInfo", { enumerable: true, get: function () { return symbol_info_1.SymbolInfo; } });
529
+ var status_1 = require("./status.cjs");
530
+ Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return status_1.Status; } });
531
+ var stock_market_1 = require("./stock-market.cjs");
532
+ Object.defineProperty(exports, "StockMarket", { enumerable: true, get: function () { return stock_market_1.StockMarket; } });
533
+ var table_1 = require("./table.cjs");
534
+ Object.defineProperty(exports, "Table", { enumerable: true, get: function () { return table_1.Table; } });
535
+ Object.defineProperty(exports, "TableBody", { enumerable: true, get: function () { return table_1.TableBody; } });
536
+ Object.defineProperty(exports, "TableCaption", { enumerable: true, get: function () { return table_1.TableCaption; } });
537
+ Object.defineProperty(exports, "TableCell", { enumerable: true, get: function () { return table_1.TableCell; } });
538
+ Object.defineProperty(exports, "TableFooter", { enumerable: true, get: function () { return table_1.TableFooter; } });
539
+ Object.defineProperty(exports, "TableHead", { enumerable: true, get: function () { return table_1.TableHead; } });
540
+ Object.defineProperty(exports, "TableHeader", { enumerable: true, get: function () { return table_1.TableHeader; } });
541
+ Object.defineProperty(exports, "TableRow", { enumerable: true, get: function () { return table_1.TableRow; } });
542
+ var tags_1 = require("./tags.cjs");
543
+ Object.defineProperty(exports, "Tags", { enumerable: true, get: function () { return tags_1.Tags; } });
544
+ var technical_analysis_1 = require("./technical-analysis.cjs");
545
+ Object.defineProperty(exports, "TechnicalAnalysis", { enumerable: true, get: function () { return technical_analysis_1.TechnicalAnalysis; } });
546
+ var ticker_1 = require("./ticker.cjs");
547
+ Object.defineProperty(exports, "Ticker", { enumerable: true, get: function () { return ticker_1.Ticker; } });
548
+ var toggle_1 = require("./toggle.cjs");
549
+ Object.defineProperty(exports, "Toggle", { enumerable: true, get: function () { return toggle_1.Toggle; } });
550
+ var terminal_1 = require("./terminal.cjs");
551
+ Object.defineProperty(exports, "Terminal", { enumerable: true, get: function () { return terminal_1.Terminal; } });
552
+ var timeline_1 = require("./timeline.cjs");
553
+ Object.defineProperty(exports, "Timeline", { enumerable: true, get: function () { return timeline_1.Timeline; } });
554
+ var video_player_1 = require("./video-player.cjs");
555
+ Object.defineProperty(exports, "MediaPlayer", { enumerable: true, get: function () { return video_player_1.MediaPlayer; } });
556
+ var navigation_bar_1 = require("./navigation-bar.cjs");
557
+ Object.defineProperty(exports, "NavigationBar", { enumerable: true, get: function () { return navigation_bar_1.NavigationBar; } });
@@ -87,4 +87,53 @@ export { ForexScreener, type ForexScreenerColumn, type ForexScreenerMarket, type
87
87
  export { ForexMarket, type ForexMarketPreset, type ForexMarketProps, type ForexMarketSymbol, type ForexMarketTab, type ForexMarketTheme } from './forex-market.js';
88
88
  export { Gantt, type GanttProps, type GanttTask } from './gantt.js';
89
89
  export { Financials, type FinancialsDisplayMode, type FinancialsProps, type FinancialsTheme } from './financials.js';
90
+ export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type FieldContentProps, type FieldDescriptionProps, type FieldErrorIssue, type FieldErrorProps, type FieldGroupProps, type FieldLabelProps, type FieldLegendProps, type FieldLegendVariant, type FieldOrientation, type FieldProps, type FieldSeparatorProps, type FieldSetProps, type FieldTitleProps } from './field.js';
91
+ export { ImageCrop, type ImageCropProps } from './image-crop.js';
92
+ export { InteractiveGridPattern, type InteractiveGridPatternProps } from './interactive-grid-pattern.js';
93
+ export { GridPattern, GridPatternPresets, type GridPatternAnimation, type GridPatternFade, type GridPatternGap, type GridPatternGradient, type GridPatternMaxArea, type GridPatternOffset, type GridPatternProps, type GridPatternSize, type GridPatternVariant } from './grid-pattern.js';
94
+ export { IPhone15Pro, type IPhone15ProColor, type IPhone15ProProps, type IPhone15ProVariant } from './iphone-15-pro.js';
95
+ export { ImageZoom, type ImageZoomProps } from './image-zoom.js';
96
+ export { Glimpse, GlimpseContent, GlimpseDescription, GlimpseImage, GlimpseTitle, GlimpseTrigger, type GlimpseContentProps, type GlimpseDescriptionProps, type GlimpseImageProps, type GlimpseProps, type GlimpseTitleProps, type GlimpseTriggerProps } from './glimpse.js';
97
+ export { List, ListItem, type ListItemProps, type ListProps } from './list.js';
98
+ export { MacosDock, MacosDockItem, type MacosDockItemProps, type MacosDockProps } from './macos-dock.js';
99
+ export { Kbd, KbdGroup, type KbdGroupProps, type KbdProps } from './kbd.js';
100
+ export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, type ItemActionsProps, type ItemContentProps, type ItemDescriptionProps, type ItemFooterProps, type ItemGroupProps, type ItemHeaderProps, type ItemMediaProps, type ItemMediaVariant, type ItemProps, type ItemSeparatorProps, type ItemSize, type ItemTitleProps, type ItemVariant } from './item.js';
101
+ export { LimelightNav, type LimelightNavItem, type LimelightNavProps, type LimelightNavVariant } from './limelight-nav.js';
102
+ export { KanbanBoard, type KanbanBoardData, type KanbanBoardProps, type KanbanCard, type KanbanColumn, type KanbanLabel, type KanbanPriority } from './kanban.js';
103
+ export { Magnetic, type MagneticProps } from './magnetic.js';
104
+ export { MenuDock, type MenuDockItem, type MenuDockOrientation, type MenuDockProps } from './menu-dock.js';
105
+ export { Marquee, type MarqueeProps } from './marquee.js';
106
+ export { MiniCalendar, type MiniCalendarProps } from './mini-calendar.js';
107
+ export { MessageDock, type MessageDockMessage, type MessageDockMessageType, type MessageDockPosition, type MessageDockProps } from './message-dock.js';
108
+ export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, type MenubarContentProps, type MenubarItemProps, type MenubarMenuProps, type MenubarProps, type MenubarTriggerProps } from './menubar.js';
109
+ export { NewsTimeline, type NewsTimelineFeedMode, type NewsTimelineProps, type NewsTimelineTheme } from './news-timeline.js';
110
+ export { MinimalTiptap, type MinimalTiptapProps } from './minimal-tiptap.js';
111
+ export { MotionHighlight, type MotionHighlightProps } from './motion-highlight.js';
112
+ export { OrdersHistory, type Order, type OrdersHistoryOrderType, type OrdersHistoryProps, type OrdersHistorySide, type OrdersHistoryStatus } from './orders-history.js';
113
+ export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationContentProps, type PaginationEllipsisProps, type PaginationItemProps, type PaginationLinkProps, type PaginationNextProps, type PaginationPreviousProps, type PaginationProps } from './pagination.js';
114
+ export { OrderEntry, type OrderEntryProps, type OrderKind, type OrderSide, type PlacedOrder } from './order-entry.js';
115
+ export { PositionsList, type Position, type PositionsListProps } from './positions-list.js';
116
+ export { PixelImage, type PixelImageProps } from './pixel-image.js';
117
+ export { Particles, type ParticlesProps } from './particles.js';
118
+ export { Pill, pillVariants, type PillProps, type PillVariant } from './pill.js';
119
+ export { ParticlesBackground, type ParticlesBackgroundProps } from './particles-background.js';
120
+ export { PinList, type PinListItem, type PinListProps } from './pin-list.js';
121
+ export { RelativeTime, type RelativeTimeFormat, type RelativeTimeProps } from './relative-time.js';
122
+ export { Safari, type SafariProps, type SafariToolbarItem } from './safari.js';
123
+ export { StarsScrollingWheel, type StarsScrollingWheelOrientation, type StarsScrollingWheelProps, type StarsScrollingWheelSize } from './stars-scrolling-wheel.js';
124
+ export { QRCode, encodeQr, type QRCodeImageSettings, type QRCodeLevel, type QRCodeProps } from './qr-code.js';
125
+ export { InlineCode, Snippet, type InlineCodeProps, type SnippetProps, type SnippetSize, type SnippetTheme, type SnippetVariant } from './snippet.js';
126
+ export { StockScreener, type StockScreenerColumn, type StockScreenerMarket, type StockScreenerProps, type StockScreenerScreen, type StockScreenerTheme } from './stock-screener.js';
127
+ export { SymbolInfo, type SymbolInfoProps, type SymbolInfoTheme } from './symbol-info.js';
128
+ export { Status, type StatusProps, type StatusVariant } from './status.js';
129
+ export { StockMarket, type StockMarketPreset, type StockMarketProps, type StockMarketSymbol, type StockMarketTab, type StockMarketTheme } from './stock-market.js';
130
+ export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, type TableBodyProps, type TableCaptionProps, type TableCellProps, type TableFooterProps, type TableHeadProps, type TableHeaderProps, type TableProps, type TableRowProps } from './table.js';
131
+ export { Tags, type Tag, type TagsProps } from './tags.js';
132
+ export { TechnicalAnalysis, type TechnicalAnalysisDisplayMode, type TechnicalAnalysisInterval, type TechnicalAnalysisProps, type TechnicalAnalysisTheme } from './technical-analysis.js';
133
+ export { Ticker, type TickerDirection, type TickerProps } from './ticker.js';
134
+ export { Toggle, type ToggleProps, type ToggleSize, type ToggleVariant } from './toggle.js';
135
+ export { Terminal, type TerminalCommand, type TerminalLineType, type TerminalProps, type TerminalTheme } from './terminal.js';
136
+ export { Timeline, type TimelineItem, type TimelineOrientation, type TimelineProps, type TimelineStatus, type TimelineVariant } from './timeline.js';
137
+ export { MediaPlayer, type MediaPlayerProps, type MediaPlayerSize, type MediaSource, type MediaSubtitleTrack } from './video-player.js';
138
+ export { NavigationBar, type NavigationBarLink, type NavigationBarOption, type NavigationBarPerson, type NavigationBarProps, type NavigationBarVariant } from './navigation-bar.js';
90
139
  //# sourceMappingURL=index.d.ts.map