@luxfi/ui 8.0.0 → 8.2.0

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 (1276) hide show
  1. package/dist/3d-button.cjs +298 -0
  2. package/dist/3d-button.d.ts +52 -0
  3. package/dist/3d-button.d.ts.map +1 -0
  4. package/dist/3d-button.js +273 -0
  5. package/dist/3d-card.cjs +236 -0
  6. package/dist/3d-card.d.ts +29 -0
  7. package/dist/3d-card.d.ts.map +1 -0
  8. package/dist/3d-card.js +209 -0
  9. package/dist/3d-carousel.cjs +375 -0
  10. package/dist/3d-carousel.d.ts +26 -0
  11. package/dist/3d-carousel.d.ts.map +1 -0
  12. package/dist/3d-carousel.js +348 -0
  13. package/dist/3d-grid.cjs +360 -0
  14. package/dist/3d-grid.d.ts +49 -0
  15. package/dist/3d-grid.d.ts.map +1 -0
  16. package/dist/3d-grid.js +335 -0
  17. package/dist/3d-marquee.cjs +8669 -0
  18. package/dist/3d-marquee.d.ts +65 -0
  19. package/dist/3d-marquee.d.ts.map +1 -0
  20. package/dist/3d-marquee.js +8645 -0
  21. package/dist/3d-model-viewer.cjs +909 -0
  22. package/dist/3d-model-viewer.d.ts +45 -0
  23. package/dist/3d-model-viewer.d.ts.map +1 -0
  24. package/dist/3d-model-viewer.js +886 -0
  25. package/dist/3d-pin.cjs +46 -0
  26. package/dist/3d-pin.d.ts +8 -0
  27. package/dist/3d-pin.d.ts.map +1 -0
  28. package/dist/3d-pin.js +24 -0
  29. package/dist/3d-scene.cjs +439 -0
  30. package/dist/3d-scene.d.ts +76 -0
  31. package/dist/3d-scene.d.ts.map +1 -0
  32. package/dist/3d-scene.js +407 -0
  33. package/dist/3d-text.cjs +367 -0
  34. package/dist/3d-text.d.ts +62 -0
  35. package/dist/3d-text.d.ts.map +1 -0
  36. package/dist/3d-text.js +341 -0
  37. package/dist/accordion.d.ts.map +1 -1
  38. package/dist/advanced-chart.cjs +53 -0
  39. package/dist/advanced-chart.d.ts +6 -0
  40. package/dist/advanced-chart.d.ts.map +1 -0
  41. package/dist/advanced-chart.js +51 -0
  42. package/dist/advanced-navigation-bar.cjs +459 -0
  43. package/dist/advanced-navigation-bar.d.ts +14 -0
  44. package/dist/advanced-navigation-bar.d.ts.map +1 -0
  45. package/dist/advanced-navigation-bar.js +437 -0
  46. package/dist/ai-actions.cjs +57 -0
  47. package/dist/ai-actions.d.ts +14 -0
  48. package/dist/ai-actions.d.ts.map +1 -0
  49. package/dist/ai-actions.js +35 -0
  50. package/dist/ai-agents.cjs +1764 -0
  51. package/dist/ai-agents.d.ts +56 -0
  52. package/dist/ai-agents.d.ts.map +1 -0
  53. package/dist/ai-agents.js +1740 -0
  54. package/dist/ai-assistant.cjs +907 -0
  55. package/dist/ai-assistant.d.ts +28 -0
  56. package/dist/ai-assistant.d.ts.map +1 -0
  57. package/dist/ai-assistant.js +886 -0
  58. package/dist/ai-chat.cjs +1165 -0
  59. package/dist/ai-chat.d.ts +56 -0
  60. package/dist/ai-chat.d.ts.map +1 -0
  61. package/dist/ai-chat.js +1141 -0
  62. package/dist/ai-code.cjs +1866 -0
  63. package/dist/ai-code.d.ts +58 -0
  64. package/dist/ai-code.d.ts.map +1 -0
  65. package/dist/ai-code.js +1841 -0
  66. package/dist/ai-model-selector-navigation-bar.cjs +59 -0
  67. package/dist/ai-model-selector-navigation-bar.d.ts +15 -0
  68. package/dist/ai-model-selector-navigation-bar.d.ts.map +1 -0
  69. package/dist/ai-model-selector-navigation-bar.js +37 -0
  70. package/dist/ai-models.cjs +41 -0
  71. package/dist/ai-models.d.ts +15 -0
  72. package/dist/ai-models.d.ts.map +1 -0
  73. package/dist/ai-models.js +19 -0
  74. package/dist/ai-playground.cjs +1110 -0
  75. package/dist/ai-playground.d.ts +67 -0
  76. package/dist/ai-playground.d.ts.map +1 -0
  77. package/dist/ai-playground.js +1088 -0
  78. package/dist/ai-tools.cjs +1043 -0
  79. package/dist/ai-tools.d.ts +23 -0
  80. package/dist/ai-tools.d.ts.map +1 -0
  81. package/dist/ai-tools.js +1022 -0
  82. package/dist/ai-vision.cjs +1831 -0
  83. package/dist/ai-vision.d.ts +74 -0
  84. package/dist/ai-vision.d.ts.map +1 -0
  85. package/dist/ai-vision.js +1810 -0
  86. package/dist/ai-voice-settings.cjs +1511 -0
  87. package/dist/ai-voice-settings.d.ts +100 -0
  88. package/dist/ai-voice-settings.d.ts.map +1 -0
  89. package/dist/ai-voice-settings.js +1478 -0
  90. package/dist/ai-voice.cjs +1522 -0
  91. package/dist/ai-voice.d.ts +51 -0
  92. package/dist/ai-voice.d.ts.map +1 -0
  93. package/dist/ai-voice.js +1501 -0
  94. package/dist/alert.cjs +13 -142
  95. package/dist/alert.js +14 -143
  96. package/dist/android.cjs +127 -0
  97. package/dist/android.d.ts +19 -0
  98. package/dist/android.d.ts.map +1 -0
  99. package/dist/android.js +104 -0
  100. package/dist/animated-background.cjs +8830 -0
  101. package/dist/animated-background.d.ts +103 -0
  102. package/dist/animated-background.d.ts.map +1 -0
  103. package/dist/animated-background.js +8824 -0
  104. package/dist/animated-beam.cjs +8438 -0
  105. package/dist/animated-beam.d.ts +15 -0
  106. package/dist/animated-beam.d.ts.map +1 -0
  107. package/dist/animated-beam.js +8417 -0
  108. package/dist/animated-cursor.cjs +269 -0
  109. package/dist/animated-cursor.d.ts +71 -0
  110. package/dist/animated-cursor.d.ts.map +1 -0
  111. package/dist/animated-cursor.js +264 -0
  112. package/dist/animated-icon.cjs +8927 -0
  113. package/dist/animated-icon.d.ts +119 -0
  114. package/dist/animated-icon.d.ts.map +1 -0
  115. package/dist/animated-icon.js +8902 -0
  116. package/dist/animated-list.cjs +9226 -0
  117. package/dist/animated-list.d.ts +126 -0
  118. package/dist/animated-list.d.ts.map +1 -0
  119. package/dist/animated-list.js +9201 -0
  120. package/dist/animated-number.cjs +8773 -0
  121. package/dist/animated-number.d.ts +127 -0
  122. package/dist/animated-number.d.ts.map +1 -0
  123. package/dist/animated-number.js +8767 -0
  124. package/dist/animated-testimonials.cjs +8653 -0
  125. package/dist/animated-testimonials.d.ts +17 -0
  126. package/dist/animated-testimonials.d.ts.map +1 -0
  127. package/dist/animated-testimonials.js +8632 -0
  128. package/dist/animated-text.cjs +8914 -0
  129. package/dist/animated-text.d.ts +65 -0
  130. package/dist/animated-text.d.ts.map +1 -0
  131. package/dist/animated-text.js +8890 -0
  132. package/dist/animated-tooltip.cjs +8624 -0
  133. package/dist/animated-tooltip.d.ts +9 -0
  134. package/dist/animated-tooltip.d.ts.map +1 -0
  135. package/dist/animated-tooltip.js +8603 -0
  136. package/dist/announcement.cjs +465 -0
  137. package/dist/announcement.d.ts +9 -0
  138. package/dist/announcement.d.ts.map +1 -0
  139. package/dist/announcement.js +443 -0
  140. package/dist/app-switcher-navigation-bar.cjs +470 -0
  141. package/dist/app-switcher-navigation-bar.d.ts +15 -0
  142. package/dist/app-switcher-navigation-bar.d.ts.map +1 -0
  143. package/dist/app-switcher-navigation-bar.js +448 -0
  144. package/dist/apple-cards-carousel.cjs +9356 -0
  145. package/dist/apple-cards-carousel.d.ts +36 -0
  146. package/dist/apple-cards-carousel.d.ts.map +1 -0
  147. package/dist/apple-cards-carousel.js +9334 -0
  148. package/dist/apple-hello-effect.cjs +8380 -0
  149. package/dist/apple-hello-effect.d.ts +8 -0
  150. package/dist/apple-hello-effect.d.ts.map +1 -0
  151. package/dist/apple-hello-effect.js +8359 -0
  152. package/dist/auth.cjs +6 -5
  153. package/dist/auth.d.ts.map +1 -1
  154. package/dist/auth.js +6 -5
  155. package/dist/badge.cjs +28 -164
  156. package/dist/badge.d.ts +2 -5
  157. package/dist/badge.d.ts.map +1 -1
  158. package/dist/badge.js +29 -165
  159. package/dist/bank.d.ts +31 -31
  160. package/dist/bank.d.ts.map +1 -1
  161. package/dist/banner.cjs +78 -0
  162. package/dist/banner.d.ts +20 -0
  163. package/dist/banner.d.ts.map +1 -0
  164. package/dist/banner.js +55 -0
  165. package/dist/breadcrumb-and-filters-navigation-bar.cjs +51 -0
  166. package/dist/breadcrumb-and-filters-navigation-bar.d.ts +10 -0
  167. package/dist/breadcrumb-and-filters-navigation-bar.d.ts.map +1 -0
  168. package/dist/breadcrumb-and-filters-navigation-bar.js +29 -0
  169. package/dist/breadcrumb-navigation-bar.cjs +37 -0
  170. package/dist/breadcrumb-navigation-bar.d.ts +10 -0
  171. package/dist/breadcrumb-navigation-bar.d.ts.map +1 -0
  172. package/dist/breadcrumb-navigation-bar.js +15 -0
  173. package/dist/button.cjs +21 -150
  174. package/dist/button.d.ts +1 -1
  175. package/dist/button.d.ts.map +1 -1
  176. package/dist/button.js +21 -150
  177. package/dist/calendar.cjs +55 -0
  178. package/dist/calendar.d.ts +9 -0
  179. package/dist/calendar.d.ts.map +1 -0
  180. package/dist/calendar.js +53 -0
  181. package/dist/centered-logo-navigation-bar.cjs +37 -0
  182. package/dist/centered-logo-navigation-bar.d.ts +15 -0
  183. package/dist/centered-logo-navigation-bar.d.ts.map +1 -0
  184. package/dist/centered-logo-navigation-bar.js +15 -0
  185. package/dist/chart.cjs +266 -0
  186. package/dist/chart.d.ts +52 -0
  187. package/dist/chart.d.ts.map +1 -0
  188. package/dist/chart.js +238 -0
  189. package/dist/choicebox.cjs +77 -0
  190. package/dist/choicebox.d.ts +15 -0
  191. package/dist/choicebox.d.ts.map +1 -0
  192. package/dist/choicebox.js +55 -0
  193. package/dist/chrome.cjs +36 -30
  194. package/dist/chrome.d.ts.map +1 -1
  195. package/dist/chrome.js +37 -31
  196. package/dist/code-block.cjs +871 -0
  197. package/dist/code-block.d.ts +38 -0
  198. package/dist/code-block.d.ts.map +1 -0
  199. package/dist/code-block.js +849 -0
  200. package/dist/code-compare.cjs +1714 -0
  201. package/dist/code-compare.d.ts +46 -0
  202. package/dist/code-compare.d.ts.map +1 -0
  203. package/dist/code-compare.js +1692 -0
  204. package/dist/code-diff.cjs +1073 -0
  205. package/dist/code-diff.d.ts +42 -0
  206. package/dist/code-diff.d.ts.map +1 -0
  207. package/dist/code-diff.js +1051 -0
  208. package/dist/code-editor.cjs +641 -0
  209. package/dist/code-editor.d.ts +23 -0
  210. package/dist/code-editor.d.ts.map +1 -0
  211. package/dist/code-editor.js +616 -0
  212. package/dist/code-explorer.cjs +729 -0
  213. package/dist/code-explorer.d.ts +41 -0
  214. package/dist/code-explorer.d.ts.map +1 -0
  215. package/dist/code-explorer.js +707 -0
  216. package/dist/code-preview.cjs +1349 -0
  217. package/dist/code-preview.d.ts +38 -0
  218. package/dist/code-preview.d.ts.map +1 -0
  219. package/dist/code-preview.js +1327 -0
  220. package/dist/code-snippet.cjs +920 -0
  221. package/dist/code-snippet.d.ts +48 -0
  222. package/dist/code-snippet.d.ts.map +1 -0
  223. package/dist/code-snippet.js +897 -0
  224. package/dist/code-tabs.cjs +76 -0
  225. package/dist/code-tabs.d.ts +12 -0
  226. package/dist/code-tabs.d.ts.map +1 -0
  227. package/dist/code-tabs.js +54 -0
  228. package/dist/code-terminal.cjs +894 -0
  229. package/dist/code-terminal.d.ts +48 -0
  230. package/dist/code-terminal.d.ts.map +1 -0
  231. package/dist/code-terminal.js +872 -0
  232. package/dist/collaboration-navigation-bar.cjs +49 -0
  233. package/dist/collaboration-navigation-bar.d.ts +11 -0
  234. package/dist/collaboration-navigation-bar.d.ts.map +1 -0
  235. package/dist/collaboration-navigation-bar.js +27 -0
  236. package/dist/collapsible.cjs +34 -155
  237. package/dist/collapsible.d.ts +2 -2
  238. package/dist/collapsible.d.ts.map +1 -1
  239. package/dist/collapsible.js +34 -155
  240. package/dist/color-mode.d.ts +1 -1
  241. package/dist/color-mode.d.ts.map +1 -1
  242. package/dist/color-picker.cjs +516 -0
  243. package/dist/color-picker.d.ts +10 -0
  244. package/dist/color-picker.d.ts.map +1 -0
  245. package/dist/color-picker.js +495 -0
  246. package/dist/combobox.cjs +488 -0
  247. package/dist/combobox.d.ts +14 -0
  248. package/dist/combobox.d.ts.map +1 -0
  249. package/dist/combobox.js +466 -0
  250. package/dist/communication-navigation-bar.cjs +438 -0
  251. package/dist/communication-navigation-bar.d.ts +7 -0
  252. package/dist/communication-navigation-bar.d.ts.map +1 -0
  253. package/dist/communication-navigation-bar.js +416 -0
  254. package/dist/company-profile.cjs +46 -0
  255. package/dist/company-profile.d.ts +10 -0
  256. package/dist/company-profile.d.ts.map +1 -0
  257. package/dist/company-profile.js +44 -0
  258. package/dist/comparison.cjs +60 -0
  259. package/dist/comparison.d.ts +16 -0
  260. package/dist/comparison.d.ts.map +1 -0
  261. package/dist/comparison.js +38 -0
  262. package/dist/context-switcher-navigation-bar.cjs +51 -0
  263. package/dist/context-switcher-navigation-bar.d.ts +10 -0
  264. package/dist/context-switcher-navigation-bar.d.ts.map +1 -0
  265. package/dist/context-switcher-navigation-bar.js +29 -0
  266. package/dist/credit-card.cjs +77 -0
  267. package/dist/credit-card.d.ts +11 -0
  268. package/dist/credit-card.d.ts.map +1 -0
  269. package/dist/credit-card.js +55 -0
  270. package/dist/crypto-screener.cjs +43 -0
  271. package/dist/crypto-screener.d.ts +4 -0
  272. package/dist/crypto-screener.d.ts.map +1 -0
  273. package/dist/crypto-screener.js +41 -0
  274. package/dist/cursor.cjs +71 -0
  275. package/dist/cursor.d.ts +9 -0
  276. package/dist/cursor.d.ts.map +1 -0
  277. package/dist/cursor.js +49 -0
  278. package/dist/dashboard-navigation-bar.cjs +441 -0
  279. package/dist/dashboard-navigation-bar.d.ts +11 -0
  280. package/dist/dashboard-navigation-bar.d.ts.map +1 -0
  281. package/dist/dashboard-navigation-bar.js +419 -0
  282. package/dist/dialog-stack.cjs +460 -0
  283. package/dist/dialog-stack.d.ts +13 -0
  284. package/dist/dialog-stack.d.ts.map +1 -0
  285. package/dist/dialog-stack.js +438 -0
  286. package/dist/dialog.cjs +12 -11
  287. package/dist/dialog.d.ts +1 -1
  288. package/dist/dialog.d.ts.map +1 -1
  289. package/dist/dialog.js +12 -11
  290. package/dist/direction.cjs +26 -0
  291. package/dist/direction.d.ts +20 -0
  292. package/dist/direction.d.ts.map +1 -0
  293. package/dist/direction.js +23 -0
  294. package/dist/dock.cjs +8675 -0
  295. package/dist/dock.d.ts +20 -0
  296. package/dist/dock.d.ts.map +1 -0
  297. package/dist/dock.js +8653 -0
  298. package/dist/drawer.d.ts +6 -6
  299. package/dist/drawer.d.ts.map +1 -1
  300. package/dist/dropzone.cjs +116 -0
  301. package/dist/dropzone.d.ts +11 -0
  302. package/dist/dropzone.d.ts.map +1 -0
  303. package/dist/dropzone.js +94 -0
  304. package/dist/e-commerce-navigation-bar.cjs +442 -0
  305. package/dist/e-commerce-navigation-bar.d.ts +12 -0
  306. package/dist/e-commerce-navigation-bar.d.ts.map +1 -0
  307. package/dist/e-commerce-navigation-bar.js +420 -0
  308. package/dist/editor.cjs +497 -0
  309. package/dist/editor.d.ts +9 -0
  310. package/dist/editor.d.ts.map +1 -0
  311. package/dist/editor.js +475 -0
  312. package/dist/empty.cjs +117 -0
  313. package/dist/empty.d.ts +18 -0
  314. package/dist/empty.d.ts.map +1 -0
  315. package/dist/empty.js +110 -0
  316. package/dist/engine.cjs +91 -0
  317. package/dist/engine.js +86 -0
  318. package/dist/field.cjs +2 -1
  319. package/dist/field.d.ts.map +1 -1
  320. package/dist/field.js +3 -2
  321. package/dist/financials.cjs +66 -0
  322. package/dist/financials.d.ts +12 -0
  323. package/dist/financials.d.ts.map +1 -0
  324. package/dist/financials.js +64 -0
  325. package/dist/forex-screener.cjs +44 -0
  326. package/dist/forex-screener.d.ts +4 -0
  327. package/dist/forex-screener.d.ts.map +1 -0
  328. package/dist/forex-screener.js +42 -0
  329. package/dist/gantt.cjs +65 -0
  330. package/dist/gantt.d.ts +13 -0
  331. package/dist/gantt.d.ts.map +1 -0
  332. package/dist/gantt.js +43 -0
  333. package/dist/grid-pattern.cjs +327 -0
  334. package/dist/grid-pattern.d.ts +111 -0
  335. package/dist/grid-pattern.d.ts.map +1 -0
  336. package/dist/grid-pattern.js +304 -0
  337. package/dist/hooks/use-mobile.cjs +22 -0
  338. package/dist/hooks/use-mobile.d.ts +3 -0
  339. package/dist/hooks/use-mobile.d.ts.map +1 -0
  340. package/dist/hooks/use-mobile.js +17 -0
  341. package/dist/iam.d.ts.map +1 -1
  342. package/dist/icon-button.cjs +13 -142
  343. package/dist/icon-button.js +14 -143
  344. package/dist/icon-navigation-bar.cjs +48 -0
  345. package/dist/icon-navigation-bar.d.ts +11 -0
  346. package/dist/icon-navigation-bar.d.ts.map +1 -0
  347. package/dist/icon-navigation-bar.js +26 -0
  348. package/dist/identity.d.ts.map +1 -1
  349. package/dist/image-crop.cjs +482 -0
  350. package/dist/image-crop.d.ts +9 -0
  351. package/dist/image-crop.d.ts.map +1 -0
  352. package/dist/image-crop.js +460 -0
  353. package/dist/image-zoom.cjs +77 -0
  354. package/dist/image-zoom.d.ts +7 -0
  355. package/dist/image-zoom.d.ts.map +1 -0
  356. package/dist/image-zoom.js +55 -0
  357. package/dist/image.cjs +15 -143
  358. package/dist/image.d.ts.map +1 -1
  359. package/dist/image.js +16 -144
  360. package/dist/index.cjs +30274 -1201
  361. package/dist/index.d.ts +121 -0
  362. package/dist/index.d.ts.map +1 -1
  363. package/dist/index.js +30006 -1220
  364. package/dist/ink.cjs +17 -0
  365. package/dist/ink.d.ts.map +1 -1
  366. package/dist/ink.js +15 -0
  367. package/dist/input-otp.cjs +72 -0
  368. package/dist/input-otp.d.ts +35 -0
  369. package/dist/input-otp.d.ts.map +1 -0
  370. package/dist/input-otp.js +47 -0
  371. package/dist/input.d.ts +7 -7
  372. package/dist/input.d.ts.map +1 -1
  373. package/dist/iphone-15-pro.cjs +61 -0
  374. package/dist/iphone-15-pro.d.ts +9 -0
  375. package/dist/iphone-15-pro.d.ts.map +1 -0
  376. package/dist/iphone-15-pro.js +39 -0
  377. package/dist/item.cjs +215 -0
  378. package/dist/item.d.ts +41 -0
  379. package/dist/item.d.ts.map +1 -0
  380. package/dist/item.js +200 -0
  381. package/dist/kanban.cjs +1354 -0
  382. package/dist/kanban.d.ts +37 -0
  383. package/dist/kanban.d.ts.map +1 -0
  384. package/dist/kanban.js +1330 -0
  385. package/dist/kbd.cjs +40 -0
  386. package/dist/kbd.d.ts +4 -0
  387. package/dist/kbd.d.ts.map +1 -0
  388. package/dist/kbd.js +37 -0
  389. package/dist/limelight-nav-navigation-bar.cjs +51 -0
  390. package/dist/limelight-nav-navigation-bar.d.ts +10 -0
  391. package/dist/limelight-nav-navigation-bar.d.ts.map +1 -0
  392. package/dist/limelight-nav-navigation-bar.js +29 -0
  393. package/dist/limelight-nav.cjs +570 -0
  394. package/dist/limelight-nav.d.ts +10 -0
  395. package/dist/limelight-nav.d.ts.map +1 -0
  396. package/dist/limelight-nav.js +549 -0
  397. package/dist/link.cjs +29 -152
  398. package/dist/link.d.ts +1 -1
  399. package/dist/link.d.ts.map +1 -1
  400. package/dist/link.js +30 -153
  401. package/dist/list.cjs +35 -0
  402. package/dist/list.d.ts +5 -0
  403. package/dist/list.d.ts.map +1 -0
  404. package/dist/list.js +12 -0
  405. package/dist/lux.config.d.ts +88 -88
  406. package/dist/lux.config.d.ts.map +1 -1
  407. package/dist/magnetic.cjs +63 -0
  408. package/dist/magnetic.d.ts +8 -0
  409. package/dist/magnetic.d.ts.map +1 -0
  410. package/dist/magnetic.js +41 -0
  411. package/dist/market-overview.cjs +102 -0
  412. package/dist/market-overview.d.ts +4 -0
  413. package/dist/market-overview.d.ts.map +1 -0
  414. package/dist/market-overview.js +100 -0
  415. package/dist/marquee.cjs +67 -0
  416. package/dist/marquee.d.ts +10 -0
  417. package/dist/marquee.d.ts.map +1 -0
  418. package/dist/marquee.js +45 -0
  419. package/dist/menu-dock.cjs +64 -0
  420. package/dist/menu-dock.d.ts +14 -0
  421. package/dist/menu-dock.d.ts.map +1 -0
  422. package/dist/menu-dock.js +42 -0
  423. package/dist/menu.d.ts.map +1 -1
  424. package/dist/menubar.cjs +116 -0
  425. package/dist/menubar.d.ts +30 -0
  426. package/dist/menubar.d.ts.map +1 -0
  427. package/dist/menubar.js +61 -0
  428. package/dist/message-dock.cjs +480 -0
  429. package/dist/message-dock.d.ts +15 -0
  430. package/dist/message-dock.d.ts.map +1 -0
  431. package/dist/message-dock.js +458 -0
  432. package/dist/mini-calendar.cjs +505 -0
  433. package/dist/mini-calendar.d.ts +10 -0
  434. package/dist/mini-calendar.d.ts.map +1 -0
  435. package/dist/mini-calendar.js +483 -0
  436. package/dist/minimal-tiptap.cjs +48 -0
  437. package/dist/minimal-tiptap.d.ts +8 -0
  438. package/dist/minimal-tiptap.d.ts.map +1 -0
  439. package/dist/minimal-tiptap.js +26 -0
  440. package/dist/motion-highlight.cjs +71 -0
  441. package/dist/motion-highlight.d.ts +7 -0
  442. package/dist/motion-highlight.d.ts.map +1 -0
  443. package/dist/motion-highlight.js +49 -0
  444. package/dist/music-player.cjs +810 -0
  445. package/dist/music-player.d.ts +19 -0
  446. package/dist/music-player.d.ts.map +1 -0
  447. package/dist/music-player.js +788 -0
  448. package/dist/native-select.cjs +82 -0
  449. package/dist/native-select.d.ts +9 -0
  450. package/dist/native-select.d.ts.map +1 -0
  451. package/dist/native-select.js +58 -0
  452. package/dist/news-timeline.cjs +42 -0
  453. package/dist/news-timeline.d.ts +4 -0
  454. package/dist/news-timeline.d.ts.map +1 -0
  455. package/dist/news-timeline.js +40 -0
  456. package/dist/order-entry.cjs +141 -0
  457. package/dist/order-entry.d.ts +15 -0
  458. package/dist/order-entry.d.ts.map +1 -0
  459. package/dist/order-entry.js +136 -0
  460. package/dist/orders-history.cjs +83 -0
  461. package/dist/orders-history.d.ts +18 -0
  462. package/dist/orders-history.d.ts.map +1 -0
  463. package/dist/orders-history.js +78 -0
  464. package/dist/pagination.cjs +132 -0
  465. package/dist/pagination.d.ts +29 -0
  466. package/dist/pagination.d.ts.map +1 -0
  467. package/dist/pagination.js +104 -0
  468. package/dist/particles-background.cjs +159 -0
  469. package/dist/particles-background.d.ts +19 -0
  470. package/dist/particles-background.d.ts.map +1 -0
  471. package/dist/particles-background.js +157 -0
  472. package/dist/pill.cjs +80 -0
  473. package/dist/pill.d.ts +21 -0
  474. package/dist/pill.d.ts.map +1 -0
  475. package/dist/pill.js +57 -0
  476. package/dist/pixel-image.cjs +71 -0
  477. package/dist/pixel-image.d.ts +8 -0
  478. package/dist/pixel-image.d.ts.map +1 -0
  479. package/dist/pixel-image.js +49 -0
  480. package/dist/popover.cjs +11 -9
  481. package/dist/popover.d.ts.map +1 -1
  482. package/dist/popover.js +11 -9
  483. package/dist/positions-list.cjs +98 -0
  484. package/dist/positions-list.d.ts +13 -0
  485. package/dist/positions-list.d.ts.map +1 -0
  486. package/dist/positions-list.js +93 -0
  487. package/dist/progress-circle.cjs +2 -1
  488. package/dist/progress-circle.d.ts.map +1 -1
  489. package/dist/progress-circle.js +2 -1
  490. package/dist/progress.d.ts.map +1 -1
  491. package/dist/provider.d.ts.map +1 -1
  492. package/dist/pulse-animation.cjs +8741 -0
  493. package/dist/pulse-animation.d.ts +155 -0
  494. package/dist/pulse-animation.d.ts.map +1 -0
  495. package/dist/pulse-animation.js +8732 -0
  496. package/dist/qr-code.cjs +65 -0
  497. package/dist/qr-code.d.ts +21 -0
  498. package/dist/qr-code.d.ts.map +1 -0
  499. package/dist/qr-code.js +43 -0
  500. package/dist/radio.d.ts.map +1 -1
  501. package/dist/relative-time.cjs +88 -0
  502. package/dist/relative-time.d.ts +9 -0
  503. package/dist/relative-time.d.ts.map +1 -0
  504. package/dist/relative-time.js +66 -0
  505. package/dist/resizable.cjs +61 -0
  506. package/dist/resizable.d.ts +24 -0
  507. package/dist/resizable.d.ts.map +1 -0
  508. package/dist/resizable.js +37 -0
  509. package/dist/reveal-animation.cjs +8791 -0
  510. package/dist/reveal-animation.d.ts +134 -0
  511. package/dist/reveal-animation.d.ts.map +1 -0
  512. package/dist/reveal-animation.js +8779 -0
  513. package/dist/safari.cjs +90 -0
  514. package/dist/safari.d.ts +9 -0
  515. package/dist/safari.d.ts.map +1 -0
  516. package/dist/safari.js +68 -0
  517. package/dist/sandbox.cjs +94 -0
  518. package/dist/sandbox.d.ts +9 -0
  519. package/dist/sandbox.d.ts.map +1 -0
  520. package/dist/sandbox.js +72 -0
  521. package/dist/search-and-toggle-navigation-bar.cjs +51 -0
  522. package/dist/search-and-toggle-navigation-bar.d.ts +10 -0
  523. package/dist/search-and-toggle-navigation-bar.d.ts.map +1 -0
  524. package/dist/search-and-toggle-navigation-bar.js +29 -0
  525. package/dist/select.cjs +34 -160
  526. package/dist/select.d.ts.map +1 -1
  527. package/dist/select.js +34 -160
  528. package/dist/sidebar.cjs +1134 -0
  529. package/dist/sidebar.d.ts +80 -0
  530. package/dist/sidebar.d.ts.map +1 -0
  531. package/dist/sidebar.js +1090 -0
  532. package/dist/simple-navigation-bar.cjs +45 -0
  533. package/dist/simple-navigation-bar.d.ts +11 -0
  534. package/dist/simple-navigation-bar.d.ts.map +1 -0
  535. package/dist/simple-navigation-bar.js +23 -0
  536. package/dist/site/commerce/ui/conf.cjs +15 -0
  537. package/dist/site/commerce/ui/conf.d.ts +12 -0
  538. package/dist/site/commerce/ui/conf.d.ts.map +1 -0
  539. package/dist/site/commerce/ui/conf.js +13 -0
  540. package/dist/site/commerce/ui/context.cjs +280 -0
  541. package/dist/site/commerce/ui/context.d.ts +7 -0
  542. package/dist/site/commerce/ui/context.d.ts.map +1 -0
  543. package/dist/site/commerce/ui/context.js +276 -0
  544. package/dist/site/commerce/ui/store.cjs +205 -0
  545. package/dist/site/commerce/ui/store.d.ts +81 -0
  546. package/dist/site/commerce/ui/store.d.ts.map +1 -0
  547. package/dist/site/commerce/ui/store.js +203 -0
  548. package/dist/site/components/access-code-input.cjs +52 -0
  549. package/dist/site/components/access-code-input.d.ts +8 -0
  550. package/dist/site/components/access-code-input.d.ts.map +1 -0
  551. package/dist/site/components/access-code-input.js +50 -0
  552. package/dist/site/components/analytics.cjs +52 -0
  553. package/dist/site/components/analytics.d.ts +3 -0
  554. package/dist/site/components/analytics.d.ts.map +1 -0
  555. package/dist/site/components/analytics.js +46 -0
  556. package/dist/site/components/auth/callback.cjs +31 -0
  557. package/dist/site/components/auth/callback.d.ts +9 -0
  558. package/dist/site/components/auth/callback.d.ts.map +1 -0
  559. package/dist/site/components/auth/callback.js +29 -0
  560. package/dist/site/components/auth/login-panel.cjs +131 -0
  561. package/dist/site/components/auth/login-panel.css +4 -0
  562. package/dist/site/components/auth/login-panel.d.ts +12 -0
  563. package/dist/site/components/auth/login-panel.d.ts.map +1 -0
  564. package/dist/site/components/auth/login-panel.js +124 -0
  565. package/dist/site/components/auth/login.cjs +35 -0
  566. package/dist/site/components/auth/login.d.ts +13 -0
  567. package/dist/site/components/auth/login.d.ts.map +1 -0
  568. package/dist/site/components/auth/login.js +33 -0
  569. package/dist/site/components/auth/provider.cjs +20 -0
  570. package/dist/site/components/auth/provider.d.ts +6 -0
  571. package/dist/site/components/auth/provider.d.ts.map +1 -0
  572. package/dist/site/components/auth/provider.js +18 -0
  573. package/dist/site/components/auth/resume.cjs +15 -0
  574. package/dist/site/components/auth/resume.d.ts +4 -0
  575. package/dist/site/components/auth/resume.d.ts.map +1 -0
  576. package/dist/site/components/auth/resume.js +12 -0
  577. package/dist/site/components/auth/widget.cjs +63 -0
  578. package/dist/site/components/auth/widget.d.ts +13 -0
  579. package/dist/site/components/auth/widget.d.ts.map +1 -0
  580. package/dist/site/components/auth/widget.js +61 -0
  581. package/dist/site/components/back-button.cjs +36 -0
  582. package/dist/site/components/back-button.d.ts +17 -0
  583. package/dist/site/components/back-button.d.ts.map +1 -0
  584. package/dist/site/components/back-button.js +34 -0
  585. package/dist/site/components/chat-widget.cjs +67 -0
  586. package/dist/site/components/chat-widget.d.ts +12 -0
  587. package/dist/site/components/chat-widget.d.ts.map +1 -0
  588. package/dist/site/components/chat-widget.js +61 -0
  589. package/dist/site/components/commerce/bag-button.cjs +79 -0
  590. package/dist/site/components/commerce/bag-button.css +4 -0
  591. package/dist/site/components/commerce/bag-button.d.ts +16 -0
  592. package/dist/site/components/commerce/bag-button.d.ts.map +1 -0
  593. package/dist/site/components/commerce/bag-button.js +77 -0
  594. package/dist/site/components/commerce/buy-button.cjs +31 -0
  595. package/dist/site/components/commerce/buy-button.d.ts +11 -0
  596. package/dist/site/components/commerce/buy-button.d.ts.map +1 -0
  597. package/dist/site/components/commerce/buy-button.js +29 -0
  598. package/dist/site/components/commerce/checkout-button.cjs +116 -0
  599. package/dist/site/components/commerce/checkout-button.css +4 -0
  600. package/dist/site/components/commerce/checkout-button.d.ts +13 -0
  601. package/dist/site/components/commerce/checkout-button.d.ts.map +1 -0
  602. package/dist/site/components/commerce/checkout-button.js +114 -0
  603. package/dist/site/components/commerce/checkout-panel/cart-accordian.cjs +50 -0
  604. package/dist/site/components/commerce/checkout-panel/cart-accordian.d.ts +11 -0
  605. package/dist/site/components/commerce/checkout-panel/cart-accordian.d.ts.map +1 -0
  606. package/dist/site/components/commerce/checkout-panel/cart-accordian.js +48 -0
  607. package/dist/site/components/commerce/checkout-panel/checkout-panel-props.cjs +2 -0
  608. package/dist/site/components/commerce/checkout-panel/checkout-panel-props.d.ts +8 -0
  609. package/dist/site/components/commerce/checkout-panel/checkout-panel-props.d.ts.map +1 -0
  610. package/dist/site/components/commerce/checkout-panel/checkout-panel-props.js +1 -0
  611. package/dist/site/components/commerce/checkout-panel/desktop-bag-carousel.cjs +30 -0
  612. package/dist/site/components/commerce/checkout-panel/desktop-bag-carousel.d.ts +10 -0
  613. package/dist/site/components/commerce/checkout-panel/desktop-bag-carousel.d.ts.map +1 -0
  614. package/dist/site/components/commerce/checkout-panel/desktop-bag-carousel.js +28 -0
  615. package/dist/site/components/commerce/checkout-panel/desktop-cp.cjs +235 -0
  616. package/dist/site/components/commerce/checkout-panel/desktop-cp.css +132 -0
  617. package/dist/site/components/commerce/checkout-panel/desktop-cp.d.ts +5 -0
  618. package/dist/site/components/commerce/checkout-panel/desktop-cp.d.ts.map +1 -0
  619. package/dist/site/components/commerce/checkout-panel/desktop-cp.js +229 -0
  620. package/dist/site/components/commerce/checkout-panel/index.cjs +502 -0
  621. package/dist/site/components/commerce/checkout-panel/index.css +132 -0
  622. package/dist/site/components/commerce/checkout-panel/index.d.ts +6 -0
  623. package/dist/site/components/commerce/checkout-panel/index.d.ts.map +1 -0
  624. package/dist/site/components/commerce/checkout-panel/index.js +496 -0
  625. package/dist/site/components/commerce/checkout-panel/mobile-cp.cjs +295 -0
  626. package/dist/site/components/commerce/checkout-panel/mobile-cp.css +132 -0
  627. package/dist/site/components/commerce/checkout-panel/mobile-cp.d.ts +5 -0
  628. package/dist/site/components/commerce/checkout-panel/mobile-cp.d.ts.map +1 -0
  629. package/dist/site/components/commerce/checkout-panel/mobile-cp.js +289 -0
  630. package/dist/site/components/commerce/checkout-panel/policy-links.cjs +25 -0
  631. package/dist/site/components/commerce/checkout-panel/policy-links.d.ts +6 -0
  632. package/dist/site/components/commerce/checkout-panel/policy-links.d.ts.map +1 -0
  633. package/dist/site/components/commerce/checkout-panel/policy-links.js +19 -0
  634. package/dist/site/components/commerce/checkout-panel/steps-indicator.cjs +27 -0
  635. package/dist/site/components/commerce/checkout-panel/steps-indicator.d.ts +7 -0
  636. package/dist/site/components/commerce/checkout-panel/steps-indicator.d.ts.map +1 -0
  637. package/dist/site/components/commerce/checkout-panel/steps-indicator.js +25 -0
  638. package/dist/site/components/commerce/checkout-panel/thank-you.cjs +25 -0
  639. package/dist/site/components/commerce/checkout-panel/thank-you.d.ts +5 -0
  640. package/dist/site/components/commerce/checkout-panel/thank-you.d.ts.map +1 -0
  641. package/dist/site/components/commerce/checkout-panel/thank-you.js +19 -0
  642. package/dist/site/components/commerce/desktop-bag-popup.cjs +72 -0
  643. package/dist/site/components/commerce/desktop-bag-popup.css +4 -0
  644. package/dist/site/components/commerce/desktop-bag-popup.d.ts +8 -0
  645. package/dist/site/components/commerce/desktop-bag-popup.d.ts.map +1 -0
  646. package/dist/site/components/commerce/desktop-bag-popup.js +70 -0
  647. package/dist/site/components/commerce/drawer/index.cjs +361 -0
  648. package/dist/site/components/commerce/drawer/index.css +132 -0
  649. package/dist/site/components/commerce/drawer/index.d.ts +4 -0
  650. package/dist/site/components/commerce/drawer/index.d.ts.map +1 -0
  651. package/dist/site/components/commerce/drawer/index.js +359 -0
  652. package/dist/site/components/commerce/drawer/micro.cjs +230 -0
  653. package/dist/site/components/commerce/drawer/micro.css +4 -0
  654. package/dist/site/components/commerce/drawer/micro.d.ts +8 -0
  655. package/dist/site/components/commerce/drawer/micro.d.ts.map +1 -0
  656. package/dist/site/components/commerce/drawer/micro.js +228 -0
  657. package/dist/site/components/commerce/drawer/shell.cjs +78 -0
  658. package/dist/site/components/commerce/drawer/shell.css +127 -0
  659. package/dist/site/components/commerce/drawer/shell.d.ts +9 -0
  660. package/dist/site/components/commerce/drawer/shell.d.ts.map +1 -0
  661. package/dist/site/components/commerce/drawer/shell.js +76 -0
  662. package/dist/site/components/contact-dialog/contact-form.cjs +70 -0
  663. package/dist/site/components/contact-dialog/contact-form.d.ts +13 -0
  664. package/dist/site/components/contact-dialog/contact-form.d.ts.map +1 -0
  665. package/dist/site/components/contact-dialog/contact-form.js +64 -0
  666. package/dist/site/components/contact-dialog/disclaimer.cjs +15 -0
  667. package/dist/site/components/contact-dialog/disclaimer.d.ts +4 -0
  668. package/dist/site/components/contact-dialog/disclaimer.d.ts.map +1 -0
  669. package/dist/site/components/contact-dialog/disclaimer.js +13 -0
  670. package/dist/site/components/contact-dialog/index.cjs +113 -0
  671. package/dist/site/components/contact-dialog/index.d.ts +5 -0
  672. package/dist/site/components/contact-dialog/index.d.ts.map +1 -0
  673. package/dist/site/components/contact-dialog/index.js +107 -0
  674. package/dist/site/components/copyright.cjs +24 -0
  675. package/dist/site/components/copyright.d.ts +6 -0
  676. package/dist/site/components/copyright.d.ts.map +1 -0
  677. package/dist/site/components/copyright.js +22 -0
  678. package/dist/site/components/drawer-margin.cjs +35 -0
  679. package/dist/site/components/drawer-margin.d.ts +6 -0
  680. package/dist/site/components/drawer-margin.d.ts.map +1 -0
  681. package/dist/site/components/drawer-margin.js +33 -0
  682. package/dist/site/components/footer-nav.cjs +22 -0
  683. package/dist/site/components/footer-nav.d.ts +9 -0
  684. package/dist/site/components/footer-nav.d.ts.map +1 -0
  685. package/dist/site/components/footer-nav.js +20 -0
  686. package/dist/site/components/footer.cjs +132 -0
  687. package/dist/site/components/footer.d.ts +9 -0
  688. package/dist/site/components/footer.d.ts.map +1 -0
  689. package/dist/site/components/footer.js +126 -0
  690. package/dist/site/components/header/desktop-nav-menu.cjs +170 -0
  691. package/dist/site/components/header/desktop-nav-menu.d.ts +9 -0
  692. package/dist/site/components/header/desktop-nav-menu.d.ts.map +1 -0
  693. package/dist/site/components/header/desktop-nav-menu.js +145 -0
  694. package/dist/site/components/header/desktop.cjs +405 -0
  695. package/dist/site/components/header/desktop.css +4 -0
  696. package/dist/site/components/header/desktop.d.ts +13 -0
  697. package/dist/site/components/header/desktop.d.ts.map +1 -0
  698. package/dist/site/components/header/desktop.js +381 -0
  699. package/dist/site/components/header/index.cjs +717 -0
  700. package/dist/site/components/header/index.css +132 -0
  701. package/dist/site/components/header/index.d.ts +11 -0
  702. package/dist/site/components/header/index.d.ts.map +1 -0
  703. package/dist/site/components/header/index.js +693 -0
  704. package/dist/site/components/header/mobile-bag-drawer.cjs +114 -0
  705. package/dist/site/components/header/mobile-bag-drawer.css +4 -0
  706. package/dist/site/components/header/mobile-bag-drawer.d.ts +9 -0
  707. package/dist/site/components/header/mobile-bag-drawer.d.ts.map +1 -0
  708. package/dist/site/components/header/mobile-bag-drawer.js +112 -0
  709. package/dist/site/components/header/mobile-menu-toggle-button.cjs +30 -0
  710. package/dist/site/components/header/mobile-menu-toggle-button.d.ts +8 -0
  711. package/dist/site/components/header/mobile-menu-toggle-button.d.ts.map +1 -0
  712. package/dist/site/components/header/mobile-menu-toggle-button.js +28 -0
  713. package/dist/site/components/header/mobile-nav-menu-ai.cjs +66 -0
  714. package/dist/site/components/header/mobile-nav-menu-ai.css +132 -0
  715. package/dist/site/components/header/mobile-nav-menu-ai.d.ts +7 -0
  716. package/dist/site/components/header/mobile-nav-menu-ai.d.ts.map +1 -0
  717. package/dist/site/components/header/mobile-nav-menu-ai.js +60 -0
  718. package/dist/site/components/header/mobile-nav-menu-item.cjs +98 -0
  719. package/dist/site/components/header/mobile-nav-menu-item.css +132 -0
  720. package/dist/site/components/header/mobile-nav-menu-item.d.ts +8 -0
  721. package/dist/site/components/header/mobile-nav-menu-item.d.ts.map +1 -0
  722. package/dist/site/components/header/mobile-nav-menu-item.js +92 -0
  723. package/dist/site/components/header/mobile-nav-menu.cjs +175 -0
  724. package/dist/site/components/header/mobile-nav-menu.css +132 -0
  725. package/dist/site/components/header/mobile-nav-menu.d.ts +14 -0
  726. package/dist/site/components/header/mobile-nav-menu.d.ts.map +1 -0
  727. package/dist/site/components/header/mobile-nav-menu.js +169 -0
  728. package/dist/site/components/header/mobile.cjs +447 -0
  729. package/dist/site/components/header/mobile.css +132 -0
  730. package/dist/site/components/header/mobile.d.ts +12 -0
  731. package/dist/site/components/header/mobile.d.ts.map +1 -0
  732. package/dist/site/components/header/mobile.js +441 -0
  733. package/dist/site/components/header/theme-toggle.cjs +28 -0
  734. package/dist/site/components/header/theme-toggle.d.ts +4 -0
  735. package/dist/site/components/header/theme-toggle.d.ts.map +1 -0
  736. package/dist/site/components/header/theme-toggle.js +26 -0
  737. package/dist/site/components/icons/avatar.cjs +12 -0
  738. package/dist/site/components/icons/avatar.d.ts +5 -0
  739. package/dist/site/components/icons/avatar.d.ts.map +1 -0
  740. package/dist/site/components/icons/avatar.js +10 -0
  741. package/dist/site/components/icons/bag-icon.cjs +9 -0
  742. package/dist/site/components/icons/bag-icon.d.ts +5 -0
  743. package/dist/site/components/icons/bag-icon.d.ts.map +1 -0
  744. package/dist/site/components/icons/bag-icon.js +7 -0
  745. package/dist/site/components/icons/index.cjs +39 -0
  746. package/dist/site/components/icons/index.css +4 -0
  747. package/dist/site/components/icons/index.d.ts +6 -0
  748. package/dist/site/components/icons/index.d.ts.map +1 -0
  749. package/dist/site/components/icons/index.js +33 -0
  750. package/dist/site/components/icons/left-arrow.cjs +9 -0
  751. package/dist/site/components/icons/left-arrow.d.ts +5 -0
  752. package/dist/site/components/icons/left-arrow.d.ts.map +1 -0
  753. package/dist/site/components/icons/left-arrow.js +7 -0
  754. package/dist/site/components/icons/right-arrow.cjs +9 -0
  755. package/dist/site/components/icons/right-arrow.d.ts +5 -0
  756. package/dist/site/components/icons/right-arrow.d.ts.map +1 -0
  757. package/dist/site/components/icons/right-arrow.js +7 -0
  758. package/dist/site/components/icons/social-icon.cjs +24 -0
  759. package/dist/site/components/icons/social-icon.css +4 -0
  760. package/dist/site/components/icons/social-icon.d.ts +10 -0
  761. package/dist/site/components/icons/social-icon.d.ts.map +1 -0
  762. package/dist/site/components/icons/social-icon.js +22 -0
  763. package/dist/site/components/index.cjs +2004 -0
  764. package/dist/site/components/index.css +132 -0
  765. package/dist/site/components/index.d.ts +24 -0
  766. package/dist/site/components/index.d.ts.map +1 -0
  767. package/dist/site/components/index.js +1952 -0
  768. package/dist/site/components/logo.cjs +37 -0
  769. package/dist/site/components/logo.d.ts +23 -0
  770. package/dist/site/components/logo.d.ts.map +1 -0
  771. package/dist/site/components/logo.js +31 -0
  772. package/dist/site/components/main.cjs +22 -0
  773. package/dist/site/components/main.d.ts +9 -0
  774. package/dist/site/components/main.d.ts.map +1 -0
  775. package/dist/site/components/main.js +20 -0
  776. package/dist/site/components/mini-chart/index.cjs +94 -0
  777. package/dist/site/components/mini-chart/index.d.ts +3 -0
  778. package/dist/site/components/mini-chart/index.d.ts.map +1 -0
  779. package/dist/site/components/mini-chart/index.js +92 -0
  780. package/dist/site/components/mini-chart/mini-chart-props.cjs +2 -0
  781. package/dist/site/components/mini-chart/mini-chart-props.d.ts +33 -0
  782. package/dist/site/components/mini-chart/mini-chart-props.d.ts.map +1 -0
  783. package/dist/site/components/mini-chart/mini-chart-props.js +1 -0
  784. package/dist/site/components/mini-chart/mini-chart.cjs +80 -0
  785. package/dist/site/components/mini-chart/mini-chart.d.ts +5 -0
  786. package/dist/site/components/mini-chart/mini-chart.d.ts.map +1 -0
  787. package/dist/site/components/mini-chart/mini-chart.js +78 -0
  788. package/dist/site/components/mini-chart/wrapper.cjs +94 -0
  789. package/dist/site/components/mini-chart/wrapper.d.ts +7 -0
  790. package/dist/site/components/mini-chart/wrapper.d.ts.map +1 -0
  791. package/dist/site/components/mini-chart/wrapper.js +92 -0
  792. package/dist/site/components/not-found/index.cjs +844 -0
  793. package/dist/site/components/not-found/index.css +132 -0
  794. package/dist/site/components/not-found/index.d.ts +8 -0
  795. package/dist/site/components/not-found/index.d.ts.map +1 -0
  796. package/dist/site/components/not-found/index.js +820 -0
  797. package/dist/site/components/security/index.cjs +857 -0
  798. package/dist/site/components/security/index.css +132 -0
  799. package/dist/site/components/security/index.d.ts +9 -0
  800. package/dist/site/components/security/index.d.ts.map +1 -0
  801. package/dist/site/components/security/index.js +833 -0
  802. package/dist/site/components/tooltip.cjs +28 -0
  803. package/dist/site/components/tooltip.d.ts +11 -0
  804. package/dist/site/components/tooltip.d.ts.map +1 -0
  805. package/dist/site/components/tooltip.js +26 -0
  806. package/dist/site/next/analytics/fpixel.cjs +14 -0
  807. package/dist/site/next/analytics/fpixel.d.ts +9 -0
  808. package/dist/site/next/analytics/fpixel.d.ts.map +1 -0
  809. package/dist/site/next/analytics/fpixel.js +10 -0
  810. package/dist/site/next/analytics/google-analytics.cjs +8 -0
  811. package/dist/site/next/analytics/google-analytics.d.ts +8 -0
  812. package/dist/site/next/analytics/google-analytics.d.ts.map +1 -0
  813. package/dist/site/next/analytics/google-analytics.js +6 -0
  814. package/dist/site/next/analytics/index.cjs +57 -0
  815. package/dist/site/next/analytics/index.d.ts +4 -0
  816. package/dist/site/next/analytics/index.d.ts.map +1 -0
  817. package/dist/site/next/analytics/index.js +49 -0
  818. package/dist/site/next/analytics/pixel-analytics.cjs +59 -0
  819. package/dist/site/next/analytics/pixel-analytics.d.ts +5 -0
  820. package/dist/site/next/analytics/pixel-analytics.d.ts.map +1 -0
  821. package/dist/site/next/analytics/pixel-analytics.js +52 -0
  822. package/dist/site/next/font/font-desc.cjs +2 -0
  823. package/dist/site/next/font/font-desc.d.ts +19 -0
  824. package/dist/site/next/font/font-desc.d.ts.map +1 -0
  825. package/dist/site/next/font/font-desc.js +1 -0
  826. package/dist/site/next/font/fonts.cjs +42 -0
  827. package/dist/site/next/font/fonts.d.ts +4 -0
  828. package/dist/site/next/font/fonts.d.ts.map +1 -0
  829. package/dist/site/next/font/fonts.js +40 -0
  830. package/dist/site/next/font/get-app-router-font-classes.cjs +96 -0
  831. package/dist/site/next/font/get-app-router-font-classes.d.ts +15 -0
  832. package/dist/site/next/font/get-app-router-font-classes.d.ts.map +1 -0
  833. package/dist/site/next/font/get-app-router-font-classes.js +90 -0
  834. package/dist/site/next/font/load-and-return-lux-next-fonts-on-import.cjs +90 -0
  835. package/dist/site/next/font/load-and-return-lux-next-fonts-on-import.d.ts +8 -0
  836. package/dist/site/next/font/load-and-return-lux-next-fonts-on-import.d.ts.map +1 -0
  837. package/dist/site/next/font/load-and-return-lux-next-fonts-on-import.js +84 -0
  838. package/dist/site/next/font/next-font-desc.cjs +2 -0
  839. package/dist/site/next/font/next-font-desc.d.ts +20 -0
  840. package/dist/site/next/font/next-font-desc.d.ts.map +1 -0
  841. package/dist/site/next/font/next-font-desc.js +1 -0
  842. package/dist/site/next/font/pages-router-font-vars.cjs +100 -0
  843. package/dist/site/next/font/pages-router-font-vars.d.ts +3 -0
  844. package/dist/site/next/font/pages-router-font-vars.d.ts.map +1 -0
  845. package/dist/site/next/font/pages-router-font-vars.js +94 -0
  846. package/dist/site/next/head-metadata/index.cjs +139 -0
  847. package/dist/site/next/head-metadata/index.d.ts +12 -0
  848. package/dist/site/next/head-metadata/index.d.ts.map +1 -0
  849. package/dist/site/next/head-metadata/index.js +129 -0
  850. package/dist/site/next/head-metadata/next-metadata.cjs +2 -0
  851. package/dist/site/next/head-metadata/next-metadata.d.ts +48 -0
  852. package/dist/site/next/head-metadata/next-metadata.d.ts.map +1 -0
  853. package/dist/site/next/head-metadata/next-metadata.js +1 -0
  854. package/dist/site/next/index.cjs +147 -0
  855. package/dist/site/next/index.d.ts +3 -0
  856. package/dist/site/next/index.d.ts.map +1 -0
  857. package/dist/site/next/index.js +140 -0
  858. package/dist/site/next/middleware/determine-device-mw.cjs +17 -0
  859. package/dist/site/next/middleware/determine-device-mw.d.ts +4 -0
  860. package/dist/site/next/middleware/determine-device-mw.d.ts.map +1 -0
  861. package/dist/site/next/middleware/determine-device-mw.js +15 -0
  862. package/dist/site/root-layout/index.cjs +1574 -0
  863. package/dist/site/root-layout/index.css +374 -0
  864. package/dist/site/root-layout/index.d.ts +20 -0
  865. package/dist/site/root-layout/index.d.ts.map +1 -0
  866. package/dist/site/root-layout/index.js +1547 -0
  867. package/dist/site/site-def/footer/community.cjs +77 -0
  868. package/dist/site/site-def/footer/community.css +4 -0
  869. package/dist/site/site-def/footer/community.d.ts +13 -0
  870. package/dist/site/site-def/footer/community.d.ts.map +1 -0
  871. package/dist/site/site-def/footer/community.js +75 -0
  872. package/dist/site/site-def/footer/company.cjs +40 -0
  873. package/dist/site/site-def/footer/company.d.ts +23 -0
  874. package/dist/site/site-def/footer/company.d.ts.map +1 -0
  875. package/dist/site/site-def/footer/company.js +38 -0
  876. package/dist/site/site-def/footer/ecosystem.cjs +40 -0
  877. package/dist/site/site-def/footer/ecosystem.d.ts +11 -0
  878. package/dist/site/site-def/footer/ecosystem.d.ts.map +1 -0
  879. package/dist/site/site-def/footer/ecosystem.js +38 -0
  880. package/dist/site/site-def/footer/index.cjs +228 -0
  881. package/dist/site/site-def/footer/index.css +4 -0
  882. package/dist/site/site-def/footer/index.d.ts +16 -0
  883. package/dist/site/site-def/footer/index.d.ts.map +1 -0
  884. package/dist/site/site-def/footer/index.js +220 -0
  885. package/dist/site/site-def/footer/legal.cjs +24 -0
  886. package/dist/site/site-def/footer/legal.d.ts +5 -0
  887. package/dist/site/site-def/footer/legal.d.ts.map +1 -0
  888. package/dist/site/site-def/footer/legal.js +21 -0
  889. package/dist/site/site-def/footer/network.cjs +48 -0
  890. package/dist/site/site-def/footer/network.d.ts +11 -0
  891. package/dist/site/site-def/footer/network.d.ts.map +1 -0
  892. package/dist/site/site-def/footer/network.js +46 -0
  893. package/dist/site/site-def/index.cjs +627 -0
  894. package/dist/site/site-def/index.css +4 -0
  895. package/dist/site/site-def/index.d.ts +5 -0
  896. package/dist/site/site-def/index.d.ts.map +1 -0
  897. package/dist/site/site-def/index.js +624 -0
  898. package/dist/site/site-def/main-nav.cjs +393 -0
  899. package/dist/site/site-def/main-nav.d.ts +46 -0
  900. package/dist/site/site-def/main-nav.d.ts.map +1 -0
  901. package/dist/site/site-def/main-nav.js +391 -0
  902. package/dist/site/types/chatbot-config.cjs +2 -0
  903. package/dist/site/types/chatbot-config.d.ts +6 -0
  904. package/dist/site/types/chatbot-config.d.ts.map +1 -0
  905. package/dist/site/types/chatbot-config.js +1 -0
  906. package/dist/site/types/chatbot-suggested-question.cjs +2 -0
  907. package/dist/site/types/chatbot-suggested-question.d.ts +7 -0
  908. package/dist/site/types/chatbot-suggested-question.d.ts.map +1 -0
  909. package/dist/site/types/chatbot-suggested-question.js +1 -0
  910. package/dist/site/types/contact-info.cjs +2 -0
  911. package/dist/site/types/contact-info.d.ts +7 -0
  912. package/dist/site/types/contact-info.d.ts.map +1 -0
  913. package/dist/site/types/contact-info.js +1 -0
  914. package/dist/site/types/index.cjs +2 -0
  915. package/dist/site/types/index.d.ts +5 -0
  916. package/dist/site/types/index.d.ts.map +1 -0
  917. package/dist/site/types/index.js +1 -0
  918. package/dist/site/types/site-def.cjs +2 -0
  919. package/dist/site/types/site-def.d.ts +41 -0
  920. package/dist/site/types/site-def.d.ts.map +1 -0
  921. package/dist/site/types/site-def.js +1 -0
  922. package/dist/site/util/index.cjs +11 -0
  923. package/dist/site/util/index.d.ts +2 -0
  924. package/dist/site/util/index.d.ts.map +1 -0
  925. package/dist/site/util/index.js +9 -0
  926. package/dist/skeleton.cjs +14 -143
  927. package/dist/skeleton.d.ts +3 -42
  928. package/dist/skeleton.d.ts.map +1 -1
  929. package/dist/skeleton.js +15 -144
  930. package/dist/slider.d.ts +1 -0
  931. package/dist/slider.d.ts.map +1 -1
  932. package/dist/status-dashboard-navigation-bar.cjs +51 -0
  933. package/dist/status-dashboard-navigation-bar.d.ts +10 -0
  934. package/dist/status-dashboard-navigation-bar.d.ts.map +1 -0
  935. package/dist/status-dashboard-navigation-bar.js +29 -0
  936. package/dist/status.cjs +85 -0
  937. package/dist/status.d.ts +23 -0
  938. package/dist/status.d.ts.map +1 -0
  939. package/dist/status.js +62 -0
  940. package/dist/stock-screener.cjs +44 -0
  941. package/dist/stock-screener.d.ts +4 -0
  942. package/dist/stock-screener.d.ts.map +1 -0
  943. package/dist/stock-screener.js +42 -0
  944. package/dist/switch.cjs +1 -1
  945. package/dist/switch.d.ts +1 -3
  946. package/dist/switch.d.ts.map +1 -1
  947. package/dist/switch.js +1 -1
  948. package/dist/symbol-info.cjs +44 -0
  949. package/dist/symbol-info.d.ts +9 -0
  950. package/dist/symbol-info.d.ts.map +1 -0
  951. package/dist/symbol-info.js +42 -0
  952. package/dist/table.cjs +53 -167
  953. package/dist/table.d.ts +2 -2
  954. package/dist/table.d.ts.map +1 -1
  955. package/dist/table.js +53 -167
  956. package/dist/tabs.d.ts.map +1 -1
  957. package/dist/tag.cjs +13 -142
  958. package/dist/tag.js +14 -143
  959. package/dist/tags.cjs +385 -0
  960. package/dist/tags.d.ts +13 -0
  961. package/dist/tags.d.ts.map +1 -0
  962. package/dist/tags.js +364 -0
  963. package/dist/team-switcher-navigation-bar.cjs +51 -0
  964. package/dist/team-switcher-navigation-bar.d.ts +10 -0
  965. package/dist/team-switcher-navigation-bar.d.ts.map +1 -0
  966. package/dist/team-switcher-navigation-bar.js +29 -0
  967. package/dist/technical-analysis.cjs +69 -0
  968. package/dist/technical-analysis.d.ts +13 -0
  969. package/dist/technical-analysis.d.ts.map +1 -0
  970. package/dist/technical-analysis.js +67 -0
  971. package/dist/terminal.cjs +372 -0
  972. package/dist/terminal.d.ts +21 -0
  973. package/dist/terminal.d.ts.map +1 -0
  974. package/dist/terminal.js +350 -0
  975. package/dist/ticker-tape.cjs +54 -0
  976. package/dist/ticker-tape.d.ts +4 -0
  977. package/dist/ticker-tape.d.ts.map +1 -0
  978. package/dist/ticker-tape.js +52 -0
  979. package/dist/ticker.cjs +66 -0
  980. package/dist/ticker.d.ts +10 -0
  981. package/dist/ticker.d.ts.map +1 -0
  982. package/dist/ticker.js +44 -0
  983. package/dist/timeline.cjs +317 -0
  984. package/dist/timeline.d.ts +20 -0
  985. package/dist/timeline.d.ts.map +1 -0
  986. package/dist/timeline.js +295 -0
  987. package/dist/toaster.d.ts +6 -3
  988. package/dist/toaster.d.ts.map +1 -1
  989. package/dist/toggle.cjs +62 -0
  990. package/dist/toggle.d.ts +26 -0
  991. package/dist/toggle.d.ts.map +1 -0
  992. package/dist/toggle.js +57 -0
  993. package/dist/trading-panel.cjs +212 -0
  994. package/dist/trading-panel.d.ts +7 -0
  995. package/dist/trading-panel.d.ts.map +1 -0
  996. package/dist/trading-panel.js +207 -0
  997. package/dist/two-tier-navigation-bar.cjs +51 -0
  998. package/dist/two-tier-navigation-bar.d.ts +10 -0
  999. package/dist/two-tier-navigation-bar.d.ts.map +1 -0
  1000. package/dist/two-tier-navigation-bar.js +29 -0
  1001. package/dist/underline-navigation-bar.cjs +51 -0
  1002. package/dist/underline-navigation-bar.d.ts +10 -0
  1003. package/dist/underline-navigation-bar.d.ts.map +1 -0
  1004. package/dist/underline-navigation-bar.js +29 -0
  1005. package/dist/utils/cn.cjs +10 -0
  1006. package/dist/utils/cn.js +1 -0
  1007. package/dist/white-label.d.ts +5 -5
  1008. package/dist/white-label.d.ts.map +1 -1
  1009. package/dist/youtube-pip-player.cjs +489 -0
  1010. package/dist/youtube-pip-player.d.ts +41 -0
  1011. package/dist/youtube-pip-player.d.ts.map +1 -0
  1012. package/dist/youtube-pip-player.js +466 -0
  1013. package/package.json +826 -72
  1014. package/src/3d-button.tsx +346 -0
  1015. package/src/3d-card.tsx +271 -0
  1016. package/src/3d-carousel.tsx +444 -0
  1017. package/src/3d-grid.tsx +448 -0
  1018. package/src/3d-marquee.tsx +422 -0
  1019. package/src/3d-model-viewer.tsx +659 -0
  1020. package/src/3d-pin.tsx +37 -0
  1021. package/src/3d-scene.tsx +629 -0
  1022. package/src/3d-text.tsx +442 -0
  1023. package/src/advanced-chart.tsx +63 -0
  1024. package/src/advanced-navigation-bar.tsx +83 -0
  1025. package/src/ai-actions.tsx +60 -0
  1026. package/src/ai-agents.tsx +1174 -0
  1027. package/src/ai-assistant.tsx +227 -0
  1028. package/src/ai-chat.tsx +554 -0
  1029. package/src/ai-code.tsx +1331 -0
  1030. package/src/ai-model-selector-navigation-bar.tsx +78 -0
  1031. package/src/ai-models.tsx +58 -0
  1032. package/src/ai-playground.tsx +429 -0
  1033. package/src/ai-tools.tsx +383 -0
  1034. package/src/ai-vision.tsx +1220 -0
  1035. package/src/ai-voice-settings.tsx +726 -0
  1036. package/src/ai-voice.tsx +711 -0
  1037. package/src/android.tsx +92 -0
  1038. package/src/animated-background.tsx +625 -0
  1039. package/src/animated-beam.tsx +110 -0
  1040. package/src/animated-cursor.tsx +406 -0
  1041. package/src/animated-icon.tsx +520 -0
  1042. package/src/animated-list.tsx +508 -0
  1043. package/src/animated-number.tsx +485 -0
  1044. package/src/animated-testimonials.tsx +119 -0
  1045. package/src/animated-text.tsx +481 -0
  1046. package/src/animated-tooltip.tsx +54 -0
  1047. package/src/announcement.tsx +55 -0
  1048. package/src/app-switcher-navigation-bar.tsx +76 -0
  1049. package/src/apple-cards-carousel.tsx +349 -0
  1050. package/src/apple-hello-effect.tsx +50 -0
  1051. package/src/auth.tsx +9 -8
  1052. package/src/avatar.tsx +1 -1
  1053. package/src/badge.tsx +27 -30
  1054. package/src/banner.tsx +62 -0
  1055. package/src/breadcrumb-and-filters-navigation-bar.tsx +40 -0
  1056. package/src/breadcrumb-navigation-bar.tsx +43 -0
  1057. package/src/button.tsx +10 -9
  1058. package/src/calendar.tsx +62 -0
  1059. package/src/centered-logo-navigation-bar.tsx +43 -0
  1060. package/src/chart.tsx +372 -0
  1061. package/src/choicebox.tsx +89 -0
  1062. package/src/chrome.tsx +41 -40
  1063. package/src/code-block.tsx +278 -0
  1064. package/src/code-compare.tsx +551 -0
  1065. package/src/code-diff.tsx +573 -0
  1066. package/src/code-editor.tsx +250 -0
  1067. package/src/code-explorer.tsx +403 -0
  1068. package/src/code-preview.tsx +488 -0
  1069. package/src/code-snippet.tsx +336 -0
  1070. package/src/code-tabs.tsx +78 -0
  1071. package/src/code-terminal.tsx +530 -0
  1072. package/src/collaboration-navigation-bar.tsx +50 -0
  1073. package/src/collapsible.tsx +3 -2
  1074. package/src/color-picker.tsx +68 -0
  1075. package/src/combobox.tsx +87 -0
  1076. package/src/communication-navigation-bar.tsx +42 -0
  1077. package/src/company-profile.tsx +67 -0
  1078. package/src/comparison.tsx +68 -0
  1079. package/src/context-switcher-navigation-bar.tsx +39 -0
  1080. package/src/credit-card.tsx +72 -0
  1081. package/src/crypto-screener.tsx +57 -0
  1082. package/src/cursor.tsx +61 -0
  1083. package/src/dashboard-navigation-bar.tsx +49 -0
  1084. package/src/dialog-stack.tsx +55 -0
  1085. package/src/dialog.tsx +16 -15
  1086. package/src/direction.tsx +40 -0
  1087. package/src/dock.tsx +172 -0
  1088. package/src/dropzone.tsx +106 -0
  1089. package/src/e-commerce-navigation-bar.tsx +54 -0
  1090. package/src/editor.tsx +85 -0
  1091. package/src/empty.tsx +117 -0
  1092. package/src/field.tsx +2 -1
  1093. package/src/financials.tsx +85 -0
  1094. package/src/forex-screener.tsx +58 -0
  1095. package/src/gantt.tsx +68 -0
  1096. package/src/grid-pattern.tsx +353 -0
  1097. package/src/hooks/use-mobile.ts +29 -0
  1098. package/src/icon-navigation-bar.tsx +36 -0
  1099. package/src/image-crop.tsx +67 -0
  1100. package/src/image-zoom.tsx +64 -0
  1101. package/src/image.tsx +2 -1
  1102. package/src/index.ts +123 -0
  1103. package/src/input-otp.tsx +72 -0
  1104. package/src/iphone-15-pro.tsx +69 -0
  1105. package/src/item.tsx +193 -0
  1106. package/src/kanban.tsx +772 -0
  1107. package/src/kbd.tsx +32 -0
  1108. package/src/limelight-nav-navigation-bar.tsx +39 -0
  1109. package/src/limelight-nav.tsx +101 -0
  1110. package/src/link.tsx +18 -18
  1111. package/src/list.tsx +22 -0
  1112. package/src/magnetic.tsx +54 -0
  1113. package/src/market-overview.tsx +116 -0
  1114. package/src/marquee.tsx +62 -0
  1115. package/src/menu-dock.tsx +56 -0
  1116. package/src/menubar.tsx +149 -0
  1117. package/src/message-dock.tsx +89 -0
  1118. package/src/mini-calendar.tsx +121 -0
  1119. package/src/minimal-tiptap.tsx +32 -0
  1120. package/src/motion-highlight.tsx +55 -0
  1121. package/src/music-player.tsx +413 -0
  1122. package/src/native-select.tsx +63 -0
  1123. package/src/news-timeline.tsx +56 -0
  1124. package/src/order-entry.tsx +162 -0
  1125. package/src/orders-history.tsx +115 -0
  1126. package/src/pagination.tsx +118 -0
  1127. package/src/particles-background.tsx +225 -0
  1128. package/src/pill.tsx +61 -0
  1129. package/src/pixel-image.tsx +64 -0
  1130. package/src/popover.tsx +10 -9
  1131. package/src/positions-list.tsx +108 -0
  1132. package/src/progress-circle.tsx +2 -1
  1133. package/src/pulse-animation.tsx +606 -0
  1134. package/src/qr-code.tsx +64 -0
  1135. package/src/relative-time.tsx +84 -0
  1136. package/src/resizable.tsx +46 -0
  1137. package/src/reveal-animation.tsx +532 -0
  1138. package/src/safari.tsx +115 -0
  1139. package/src/sandbox.tsx +83 -0
  1140. package/src/search-and-toggle-navigation-bar.tsx +39 -0
  1141. package/src/select.tsx +31 -30
  1142. package/src/sidebar.tsx +723 -0
  1143. package/src/simple-navigation-bar.tsx +39 -0
  1144. package/src/site/commerce/ui/conf.ts +13 -0
  1145. package/src/site/commerce/ui/context.tsx +120 -0
  1146. package/src/site/commerce/ui/store.ts +295 -0
  1147. package/src/site/components/access-code-input.tsx +70 -0
  1148. package/src/site/components/analytics.tsx +14 -0
  1149. package/src/site/components/auth/callback.tsx +40 -0
  1150. package/src/site/components/auth/login-panel.tsx +83 -0
  1151. package/src/site/components/auth/login.tsx +47 -0
  1152. package/src/site/components/auth/provider.tsx +34 -0
  1153. package/src/site/components/auth/resume.ts +16 -0
  1154. package/src/site/components/auth/widget.tsx +80 -0
  1155. package/src/site/components/back-button.tsx +46 -0
  1156. package/src/site/components/chat-widget.tsx +83 -0
  1157. package/src/site/components/commerce/bag-button.tsx +99 -0
  1158. package/src/site/components/commerce/buy-button.tsx +33 -0
  1159. package/src/site/components/commerce/checkout-button.tsx +131 -0
  1160. package/src/site/components/commerce/checkout-panel/cart-accordian.tsx +65 -0
  1161. package/src/site/components/commerce/checkout-panel/checkout-panel-props.ts +10 -0
  1162. package/src/site/components/commerce/checkout-panel/desktop-bag-carousel.tsx +36 -0
  1163. package/src/site/components/commerce/checkout-panel/desktop-cp.tsx +82 -0
  1164. package/src/site/components/commerce/checkout-panel/index.tsx +126 -0
  1165. package/src/site/components/commerce/checkout-panel/mobile-cp.tsx +67 -0
  1166. package/src/site/components/commerce/checkout-panel/policy-links.tsx +24 -0
  1167. package/src/site/components/commerce/checkout-panel/steps-indicator.tsx +39 -0
  1168. package/src/site/components/commerce/checkout-panel/thank-you.tsx +18 -0
  1169. package/src/site/components/commerce/desktop-bag-popup.tsx +78 -0
  1170. package/src/site/components/commerce/drawer/index.tsx +88 -0
  1171. package/src/site/components/commerce/drawer/micro.tsx +145 -0
  1172. package/src/site/components/commerce/drawer/shell.tsx +83 -0
  1173. package/src/site/components/contact-dialog/contact-form.tsx +109 -0
  1174. package/src/site/components/contact-dialog/disclaimer.tsx +13 -0
  1175. package/src/site/components/contact-dialog/index.tsx +64 -0
  1176. package/src/site/components/copyright.tsx +22 -0
  1177. package/src/site/components/drawer-margin.tsx +28 -0
  1178. package/src/site/components/footer-nav.tsx +31 -0
  1179. package/src/site/components/footer.tsx +72 -0
  1180. package/src/site/components/header/desktop-nav-menu.tsx +202 -0
  1181. package/src/site/components/header/desktop.tsx +65 -0
  1182. package/src/site/components/header/index.tsx +50 -0
  1183. package/src/site/components/header/mobile-bag-drawer.tsx +51 -0
  1184. package/src/site/components/header/mobile-menu-toggle-button.tsx +34 -0
  1185. package/src/site/components/header/mobile-nav-menu-ai.tsx +52 -0
  1186. package/src/site/components/header/mobile-nav-menu-item.tsx +48 -0
  1187. package/src/site/components/header/mobile-nav-menu.tsx +103 -0
  1188. package/src/site/components/header/mobile.tsx +169 -0
  1189. package/src/site/components/header/theme-toggle.tsx +26 -0
  1190. package/src/site/components/icons/avatar.tsx +11 -0
  1191. package/src/site/components/icons/bag-icon.tsx +10 -0
  1192. package/src/site/components/icons/index.ts +5 -0
  1193. package/src/site/components/icons/left-arrow.tsx +11 -0
  1194. package/src/site/components/icons/right-arrow.tsx +10 -0
  1195. package/src/site/components/icons/social-icon.tsx +35 -0
  1196. package/src/site/components/icons/social-svg.css +3 -0
  1197. package/src/site/components/index.ts +26 -0
  1198. package/src/site/components/logo.tsx +65 -0
  1199. package/src/site/components/main.tsx +26 -0
  1200. package/src/site/components/mini-chart/index.tsx +8 -0
  1201. package/src/site/components/mini-chart/mini-chart-props.ts +44 -0
  1202. package/src/site/components/mini-chart/mini-chart.tsx +86 -0
  1203. package/src/site/components/mini-chart/wrapper.tsx +23 -0
  1204. package/src/site/components/not-found/index.tsx +28 -0
  1205. package/src/site/components/security/index.tsx +55 -0
  1206. package/src/site/components/tooltip.tsx +31 -0
  1207. package/src/site/next/analytics/fpixel.ts +16 -0
  1208. package/src/site/next/analytics/google-analytics.ts +14 -0
  1209. package/src/site/next/analytics/index.ts +3 -0
  1210. package/src/site/next/analytics/pixel-analytics.tsx +55 -0
  1211. package/src/site/next/font/font-desc.ts +18 -0
  1212. package/src/site/next/font/fonts.ts +40 -0
  1213. package/src/site/next/font/get-app-router-font-classes.ts +19 -0
  1214. package/src/site/next/font/load-and-return-lux-next-fonts-on-import.ts +60 -0
  1215. package/src/site/next/font/local/InterVariable-Italic.ttf +0 -0
  1216. package/src/site/next/font/local/InterVariable-Italic.woff2 +0 -0
  1217. package/src/site/next/font/local/InterVariable.ttf +0 -0
  1218. package/src/site/next/font/local/InterVariable.woff2 +0 -0
  1219. package/src/site/next/font/local/Zen-Variable.woff2 +0 -0
  1220. package/src/site/next/font/next-font-desc.ts +29 -0
  1221. package/src/site/next/font/pages-router-font-vars.tsx +18 -0
  1222. package/src/site/next/head-metadata/index.tsx +209 -0
  1223. package/src/site/next/head-metadata/next-metadata.ts +49 -0
  1224. package/src/site/next/index.ts +2 -0
  1225. package/src/site/next/middleware/determine-device-mw.ts +16 -0
  1226. package/src/site/root-layout/WHY_THIS_IS_SEPARATE.txt +2 -0
  1227. package/src/site/root-layout/index.tsx +125 -0
  1228. package/src/site/site-def/footer/community.tsx +58 -0
  1229. package/src/site/site-def/footer/company.ts +37 -0
  1230. package/src/site/site-def/footer/ecosystem.ts +37 -0
  1231. package/src/site/site-def/footer/index.tsx +26 -0
  1232. package/src/site/site-def/footer/legal.ts +28 -0
  1233. package/src/site/site-def/footer/network.ts +45 -0
  1234. package/src/site/site-def/footer/svg/warpcast-logo.svg +12 -0
  1235. package/src/site/site-def/index.ts +4 -0
  1236. package/src/site/site-def/main-nav.tsx +460 -0
  1237. package/src/site/style/cart-animation.css +29 -0
  1238. package/src/site/style/checkout-animation.css +23 -0
  1239. package/src/site/style/drawer-handle-overrides.css +160 -0
  1240. package/src/site/style/fonts/COPY_TO_PUBLIC_FOR_NON_NEXT.txt +0 -0
  1241. package/src/site/style/fonts/InterVariable-Italic.ttf +0 -0
  1242. package/src/site/style/fonts/InterVariable-Italic.woff2 +0 -0
  1243. package/src/site/style/fonts/InterVariable.ttf +0 -0
  1244. package/src/site/style/fonts/InterVariable.woff2 +0 -0
  1245. package/src/site/style/fonts/Zen-Variable.woff2 +0 -0
  1246. package/src/site/style/lux-colors.css +84 -0
  1247. package/src/site/style/lux-fonts.css +24 -0
  1248. package/src/site/style/lux-global-non-next.css +52 -0
  1249. package/src/site/style/lux-global.css +135 -0
  1250. package/src/site/types/chatbot-config.ts +7 -0
  1251. package/src/site/types/chatbot-suggested-question.ts +7 -0
  1252. package/src/site/types/contact-info.ts +11 -0
  1253. package/src/site/types/index.ts +4 -0
  1254. package/src/site/types/site-def.ts +53 -0
  1255. package/src/site/util/index.ts +11 -0
  1256. package/src/skeleton.tsx +20 -168
  1257. package/src/slider.tsx +1 -0
  1258. package/src/status-dashboard-navigation-bar.tsx +39 -0
  1259. package/src/status.tsx +63 -0
  1260. package/src/stock-screener.tsx +58 -0
  1261. package/src/switch.tsx +2 -2
  1262. package/src/symbol-info.tsx +64 -0
  1263. package/src/table.tsx +26 -25
  1264. package/src/tags.tsx +62 -0
  1265. package/src/team-switcher-navigation-bar.tsx +39 -0
  1266. package/src/technical-analysis.tsx +99 -0
  1267. package/src/terminal.tsx +399 -0
  1268. package/src/ticker-tape.tsx +68 -0
  1269. package/src/ticker.tsx +52 -0
  1270. package/src/timeline.tsx +412 -0
  1271. package/src/toggle.tsx +84 -0
  1272. package/src/trading-panel.tsx +262 -0
  1273. package/src/two-tier-navigation-bar.tsx +39 -0
  1274. package/src/underline-navigation-bar.tsx +39 -0
  1275. package/src/youtube-pip-player.tsx +606 -0
  1276. package/tokens.css +11 -0
@@ -0,0 +1,1501 @@
1
+ "use client";
2
+ import * as React3 from 'react';
3
+ import React3__default, { Children, createElement, useState, useRef, useEffect, useCallback } from 'react';
4
+ import { Settings, MicOff, Mic, Square, Volume2, RotateCcw } from 'lucide-react';
5
+ import { Box, sx, cn, Card, CardHeader, CardTitle, css, CardContent, Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from '@hanzo/ui';
6
+ import { TooltipGroup, Tooltip as Tooltip$1, Text, XStack, styled, View, YStack, Slider as Slider$1, Label, Switch, VisuallyHidden, Input as Input$1, TextArea } from '@hanzo/gui';
7
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
8
+ import { useClickAway } from '@uidotdev/usehooks';
9
+
10
+ var SKELETON_CLASSES = "lux-skeleton rounded-sm";
11
+ var Skeleton = React3.forwardRef(
12
+ function Skeleton2(props, ref) {
13
+ const { loading = true, asChild, className, children, style, ...rest } = props;
14
+ if (!loading) {
15
+ if (asChild && React3.isValidElement(children)) return children;
16
+ return /* @__PURE__ */ jsx(Box, { ref, className, style, ...rest, children });
17
+ }
18
+ return /* @__PURE__ */ jsx(
19
+ "div",
20
+ {
21
+ ref,
22
+ "data-loading": true,
23
+ ...sx(
24
+ SKELETON_CLASSES,
25
+ asChild || children ? "[&_*]:invisible" : "min-h-5",
26
+ className
27
+ ),
28
+ style,
29
+ ...rest,
30
+ children
31
+ }
32
+ );
33
+ }
34
+ );
35
+ React3.forwardRef(
36
+ function SkeletonCircle2(props, ref) {
37
+ const { size = 40, loading = true, className, ...rest } = props;
38
+ const dimension = typeof size === "number" ? `${size}px` : size;
39
+ return /* @__PURE__ */ jsx(
40
+ Skeleton,
41
+ {
42
+ ref,
43
+ loading,
44
+ ...sx("rounded-full shrink-0", className),
45
+ style: { width: dimension, height: dimension, ...rest.style },
46
+ ...rest
47
+ }
48
+ );
49
+ }
50
+ );
51
+ React3.forwardRef(
52
+ function SkeletonText2(props, ref) {
53
+ const { noOfLines = 3, loading = true, className, ...rest } = props;
54
+ return /* @__PURE__ */ jsx(Box, { ref, className: cn("flex w-full flex-col gap-2", className), ...rest, children: Array.from({ length: noOfLines }).map((_, index) => /* @__PURE__ */ jsx(
55
+ Skeleton,
56
+ {
57
+ loading,
58
+ ...sx(cn("h-4", index === noOfLines - 1 && "max-w-[80%]"))
59
+ },
60
+ index
61
+ )) });
62
+ }
63
+ );
64
+ var ink = (children, Wrap = Text, props = {}) => {
65
+ let hasText = false;
66
+ Children.forEach(children, (child) => {
67
+ if (typeof child === "string" || typeof child === "number") hasText = true;
68
+ });
69
+ if (!hasText) return children;
70
+ return Children.map(children, (child) => typeof child === "string" || typeof child === "number" ? createElement(Wrap, props, child) : child);
71
+ };
72
+ var TOUCH_PX = 1024;
73
+ function useBelow(px) {
74
+ const [below, setBelow] = React3.useState(false);
75
+ React3.useEffect(() => {
76
+ const mql = window.matchMedia(`(max-width: ${px - 1}px)`);
77
+ const apply = () => setBelow(mql.matches);
78
+ apply();
79
+ mql.addEventListener("change", apply);
80
+ return () => mql.removeEventListener("change", apply);
81
+ }, [px]);
82
+ return below;
83
+ }
84
+ var useIsTouch = () => useBelow(TOUCH_PX);
85
+ function mapPlacement(p) {
86
+ if (!p) return void 0;
87
+ return p;
88
+ }
89
+ var Tooltip = React3.forwardRef(
90
+ function Tooltip2(props, ref) {
91
+ const {
92
+ showArrow: showArrowProp,
93
+ onOpenChange,
94
+ variant,
95
+ selected,
96
+ children,
97
+ disabled,
98
+ disableOnMobile,
99
+ content,
100
+ contentProps,
101
+ defaultOpen = false,
102
+ triggerProps,
103
+ closeDelay = 100,
104
+ openDelay = 100,
105
+ interactive,
106
+ positioning
107
+ } = props;
108
+ const [open, setOpen] = React3.useState(defaultOpen);
109
+ const timeoutRef = React3.useRef(null);
110
+ const isMobile = useIsTouch();
111
+ const handleOpenChange = React3.useCallback((nextOpen) => {
112
+ setOpen(nextOpen);
113
+ onOpenChange?.({ open: nextOpen });
114
+ }, [onOpenChange]);
115
+ const handleOpenChangeManual = React3.useCallback((nextOpen) => {
116
+ timeoutRef.current && window.clearTimeout(timeoutRef.current);
117
+ timeoutRef.current = window.setTimeout(() => {
118
+ setOpen(nextOpen);
119
+ onOpenChange?.({ open: nextOpen });
120
+ }, nextOpen ? openDelay : closeDelay);
121
+ }, [closeDelay, openDelay, onOpenChange]);
122
+ const handleClickAway = React3.useCallback(() => {
123
+ if (open) handleOpenChangeManual(false);
124
+ }, [open, handleOpenChangeManual]);
125
+ const triggerRef = useClickAway(handleClickAway);
126
+ const handleTriggerClick = React3.useCallback(() => {
127
+ handleOpenChangeManual(!open);
128
+ }, [handleOpenChangeManual, open]);
129
+ const handleContentClick = React3.useCallback((event) => {
130
+ event.stopPropagation();
131
+ if (interactive) {
132
+ const closestLink = event.target?.closest("a");
133
+ if (closestLink) {
134
+ handleOpenChangeManual(false);
135
+ }
136
+ }
137
+ }, [interactive, handleOpenChangeManual]);
138
+ React3.useEffect(() => {
139
+ return () => {
140
+ if (timeoutRef.current) {
141
+ clearTimeout(timeoutRef.current);
142
+ }
143
+ };
144
+ }, []);
145
+ if (disabled || disableOnMobile && isMobile) return children;
146
+ const defaultShowArrow = variant === "popover" ? false : true;
147
+ const showArrow = showArrowProp !== void 0 ? showArrowProp : defaultShowArrow;
148
+ const isPopover = variant === "popover";
149
+ const placement = mapPlacement(positioning?.placement) ?? "top";
150
+ const offset = positioning?.offset?.mainAxis ?? 4;
151
+ return /* @__PURE__ */ jsx(TooltipGroup, { delay: openDelay, children: /* @__PURE__ */ jsxs(
152
+ Tooltip$1,
153
+ {
154
+ open,
155
+ onOpenChange: handleOpenChange,
156
+ delay: { open: openDelay, close: closeDelay },
157
+ placement,
158
+ offset,
159
+ unstyled: true,
160
+ children: [
161
+ /* @__PURE__ */ jsx(
162
+ Tooltip$1.Trigger,
163
+ {
164
+ ref: triggerRef,
165
+ asChild: true,
166
+ ...isMobile ? { onClick: handleTriggerClick } : {},
167
+ ...triggerProps,
168
+ children
169
+ }
170
+ ),
171
+ /* @__PURE__ */ jsxs(
172
+ Tooltip$1.Content,
173
+ {
174
+ ref,
175
+ unstyled: true,
176
+ zIndex: 9999,
177
+ overflow: "hidden",
178
+ borderRadius: 8,
179
+ paddingHorizontal: 12,
180
+ paddingVertical: 8,
181
+ maxWidth: isPopover ? 384 : 320,
182
+ backgroundColor: isPopover ? "var(--color-popover-bg)" : "var(--color-tooltip-bg)",
183
+ transition: "quick",
184
+ enterStyle: { opacity: 0, scale: 0.95 },
185
+ exitStyle: { opacity: 0, scale: 0.95 },
186
+ ...isPopover ? {
187
+ borderWidth: 1,
188
+ borderColor: "var(--color-border-divider)",
189
+ shadowColor: "var(--shadow-popover)"
190
+ } : {},
191
+ onClick: interactive ? handleContentClick : void 0,
192
+ ...selected ? { "data-selected": true } : {},
193
+ ...contentProps,
194
+ children: [
195
+ showArrow && /* @__PURE__ */ jsx(
196
+ Tooltip$1.Arrow,
197
+ {
198
+ unstyled: true,
199
+ backgroundColor: isPopover ? "var(--color-popover-bg)" : "var(--color-tooltip-bg)"
200
+ }
201
+ ),
202
+ ink(content, void 0, {
203
+ fontSize: 14,
204
+ color: isPopover ? "var(--color-text-primary)" : "var(--color-tooltip-fg)"
205
+ })
206
+ ]
207
+ }
208
+ )
209
+ ]
210
+ }
211
+ ) });
212
+ }
213
+ );
214
+ function TruncatedTextTooltip({ label, children }) {
215
+ return /* @__PURE__ */ jsx(Tooltip, { content: label, positioning: { placement: "top" }, children });
216
+ }
217
+ var SIZE = {
218
+ sm: { padding: 4, height: 18, minHeight: 18 },
219
+ md: { paddingHorizontal: 4, paddingVertical: 2, minHeight: 24 },
220
+ lg: { paddingHorizontal: 8, paddingVertical: 4, minHeight: 28 }
221
+ };
222
+ var SIZE_TEXT = {
223
+ sm: { fontSize: 12, fontWeight: "500" },
224
+ md: { fontSize: 14, fontWeight: "500" },
225
+ lg: { fontSize: 14, fontWeight: "600" }
226
+ };
227
+ var COLOR_PALETTE = {
228
+ gray: { bg: "var(--color-badge-gray-bg)", fg: "var(--color-badge-gray-fg)" },
229
+ green: { bg: "var(--color-badge-green-bg)", fg: "var(--color-badge-green-fg)" },
230
+ red: { bg: "var(--color-badge-red-bg)", fg: "var(--color-badge-red-fg)" },
231
+ purple: { bg: "var(--color-badge-purple-bg)", fg: "var(--color-badge-purple-fg)" },
232
+ orange: { bg: "var(--color-badge-orange-bg)", fg: "var(--color-badge-orange-fg)" },
233
+ blue: { bg: "var(--color-badge-blue-bg)", fg: "var(--color-badge-blue-fg)" },
234
+ yellow: { bg: "var(--color-badge-yellow-bg)", fg: "var(--color-badge-yellow-fg)" },
235
+ teal: { bg: "var(--color-badge-teal-bg)", fg: "var(--color-badge-teal-fg)" },
236
+ cyan: { bg: "var(--color-badge-cyan-bg)", fg: "var(--color-badge-cyan-fg)" },
237
+ pink: { bg: "var(--color-badge-pink-bg)", fg: "var(--color-badge-pink-fg)" },
238
+ purple_alt: { bg: "var(--color-badge-purple-alt-bg)", fg: "var(--color-badge-purple-alt-fg)" },
239
+ blue_alt: { bg: "var(--color-badge-blue-alt-bg)", fg: "var(--color-badge-blue-alt-fg)" },
240
+ bright_gray: { bg: "var(--color-badge-bright-gray-bg)", fg: "var(--color-badge-bright-gray-fg)" },
241
+ bright_green: { bg: "var(--color-badge-bright-green-bg)", fg: "var(--color-badge-bright-green-fg)" },
242
+ bright_red: { bg: "var(--color-badge-bright-red-bg)", fg: "var(--color-badge-bright-red-fg)" },
243
+ bright_blue: { bg: "var(--color-badge-bright-blue-bg)", fg: "var(--color-badge-bright-blue-fg)" },
244
+ bright_yellow: { bg: "var(--color-badge-bright-yellow-bg)", fg: "var(--color-badge-bright-yellow-fg)" },
245
+ bright_teal: { bg: "var(--color-badge-bright-teal-bg)", fg: "var(--color-badge-bright-teal-fg)" },
246
+ bright_cyan: { bg: "var(--color-badge-bright-cyan-bg)", fg: "var(--color-badge-bright-cyan-fg)" },
247
+ bright_orange: { bg: "var(--color-badge-bright-orange-bg)", fg: "var(--color-badge-bright-orange-fg)" },
248
+ bright_purple: { bg: "var(--color-badge-bright-purple-bg)", fg: "var(--color-badge-bright-purple-fg)" },
249
+ bright_pink: { bg: "var(--color-badge-bright-pink-bg)", fg: "var(--color-badge-bright-pink-fg)" }
250
+ };
251
+ var TONE = {
252
+ subtle: (p) => ({ backgroundColor: p.bg, color: p.fg, borderWidth: 0 }),
253
+ solid: (p) => ({ backgroundColor: p.fg, color: p.bg, borderWidth: 0 }),
254
+ outline: (p) => ({
255
+ backgroundColor: "transparent",
256
+ color: p.fg,
257
+ borderWidth: 1,
258
+ borderColor: p.fg
259
+ })
260
+ };
261
+ var Badge = React3__default.forwardRef(
262
+ function Badge2(props, ref) {
263
+ const {
264
+ loading,
265
+ startElement,
266
+ children,
267
+ truncated = false,
268
+ endElement,
269
+ variant = "subtle",
270
+ size = "md",
271
+ colorPalette = "gray",
272
+ className,
273
+ style: badgeStyle,
274
+ ...rest
275
+ } = props;
276
+ const palette = COLOR_PALETTE[colorPalette];
277
+ const tone = TONE[variant](palette);
278
+ const child = children ? (
279
+ // `ellipsis` is gui Text's own built-in variant for single-line
280
+ // truncation — it expands to the same overflow/text-overflow/
281
+ // white-space/max-width rule Tailwind's `text-ellipsis` did, but
282
+ // through the component's own variants (guaranteed to compile),
283
+ // rather than naming each longhand as a separate style prop.
284
+ /* @__PURE__ */ jsx(Text, { ellipsis: true, ...SIZE_TEXT[size], color: tone.color, children })
285
+ ) : null;
286
+ const childrenElement = truncated ? /* @__PURE__ */ jsx(TruncatedTextTooltip, { label: children, children: child }) : child;
287
+ const badgeElement = /* @__PURE__ */ jsxs(
288
+ XStack,
289
+ {
290
+ ref,
291
+ render: /* @__PURE__ */ jsx("span", {}),
292
+ display: "inline-flex",
293
+ alignItems: "center",
294
+ alignSelf: "flex-start",
295
+ borderRadius: 2,
296
+ gap: 4,
297
+ maxWidth: "100%",
298
+ userSelect: "text",
299
+ ...SIZE[size],
300
+ ...tone,
301
+ className,
302
+ style: badgeStyle,
303
+ ...rest,
304
+ children: [
305
+ startElement,
306
+ childrenElement,
307
+ endElement
308
+ ]
309
+ }
310
+ );
311
+ if (loading) {
312
+ return /* @__PURE__ */ jsx(Skeleton, { loading, asChild: true, children: badgeElement });
313
+ }
314
+ return badgeElement;
315
+ }
316
+ );
317
+ var SpinnerFrame = styled(View, {
318
+ name: "ButtonSpinner",
319
+ render: /* @__PURE__ */ jsx("span", {}),
320
+ width: 16,
321
+ height: 16,
322
+ borderRadius: 1e3,
323
+ borderWidth: 2,
324
+ borderColor: "currentColor",
325
+ borderBottomColor: "transparent",
326
+ borderLeftColor: "transparent"
327
+ });
328
+ function Spinner({ className }) {
329
+ return /* @__PURE__ */ jsx(
330
+ SpinnerFrame,
331
+ {
332
+ role: "status",
333
+ "aria-label": "Loading",
334
+ className: [
335
+ "animate-spin",
336
+ className
337
+ ].filter(Boolean).join(" ")
338
+ }
339
+ );
340
+ }
341
+ var ButtonFrame = styled(View, {
342
+ name: "LuxButton",
343
+ render: /* @__PURE__ */ jsx("button", { type: "button" }),
344
+ role: "button",
345
+ tabIndex: 0,
346
+ cursor: "pointer",
347
+ userSelect: "none",
348
+ display: "inline-flex",
349
+ alignItems: "center",
350
+ justifyContent: "center",
351
+ gap: 0,
352
+ overflow: "hidden",
353
+ borderRadius: 6,
354
+ // Whitespace nowrap via className since hanzogui doesn't have a direct token
355
+ // Transition via className
356
+ variants: {
357
+ size: {
358
+ "2xs": { paddingHorizontal: 8, height: 20, minWidth: 20, fontSize: 12, borderRadius: 4, gap: 4 },
359
+ xs: { paddingHorizontal: 8, height: 24, minWidth: 24, fontSize: 14, borderRadius: 4, gap: 4 },
360
+ sm: { paddingHorizontal: 12, height: 32, minWidth: 32, fontSize: 14, borderRadius: 6, gap: 4 },
361
+ md: { paddingHorizontal: 12, height: 40, minWidth: 40, fontSize: 16, borderRadius: 6, gap: 8 }
362
+ },
363
+ disabled: {
364
+ true: {
365
+ opacity: 0.2,
366
+ cursor: "not-allowed",
367
+ pointerEvents: "none"
368
+ }
369
+ }
370
+ },
371
+ defaultVariants: {
372
+ size: "md"
373
+ }
374
+ });
375
+ var VARIANT_CLASSES = {
376
+ solid: [
377
+ "bg-[var(--color-button-solid-bg)] text-[var(--color-button-solid-text)]",
378
+ "hover:bg-[var(--color-hover)]",
379
+ "data-[expanded]:bg-[var(--color-hover)]"
380
+ ].join(" "),
381
+ solid_danger: [
382
+ "bg-[var(--color-button-danger-bg)] text-[var(--color-button-danger-fg)]",
383
+ "hover:bg-[var(--color-button-danger-bg-hover)]",
384
+ "data-[expanded]:bg-[var(--color-button-danger-bg-hover)]"
385
+ ].join(" "),
386
+ outline: [
387
+ "border-2 border-solid bg-transparent",
388
+ "text-[var(--color-button-outline-fg)] border-[var(--color-button-outline-fg)]",
389
+ "hover:bg-transparent hover:text-[var(--color-hover)] hover:border-[var(--color-hover)]"
390
+ ].join(" "),
391
+ outline_danger: [
392
+ "border-2 border-solid bg-transparent",
393
+ "text-[var(--color-button-danger-bg)] border-[var(--color-button-danger-bg)]",
394
+ "hover:bg-transparent hover:text-[var(--color-button-danger-bg-hover)] hover:border-[var(--color-button-danger-bg-hover)]"
395
+ ].join(" "),
396
+ dropdown: [
397
+ "border-2 border-solid bg-transparent",
398
+ "text-[var(--color-button-dropdown-fg)] border-[var(--color-button-dropdown-border)]",
399
+ "hover:bg-transparent hover:text-[var(--color-hover)] hover:border-[var(--color-hover)]",
400
+ "data-[expanded]:bg-transparent data-[expanded]:text-[var(--color-hover)] data-[expanded]:border-[var(--color-hover)]",
401
+ "data-[selected]:bg-[var(--color-selected-control-bg)] data-[selected]:text-[var(--color-selected-control-text)] data-[selected]:border-transparent",
402
+ "data-[selected]:hover:bg-[var(--color-selected-control-bg)]",
403
+ "data-[selected]:hover:text-[var(--color-hover)] data-[selected]:hover:border-transparent",
404
+ "data-[selected]:data-[expanded]:text-[var(--color-hover)]"
405
+ ].join(" "),
406
+ header: [
407
+ "bg-transparent border-2 border-solid",
408
+ "text-[var(--color-button-header-fg)] border-[var(--color-button-header-border)]",
409
+ "hover:bg-transparent hover:text-[var(--color-hover)] hover:border-[var(--color-hover)]",
410
+ "data-[selected]:bg-[var(--color-button-header-bg-selected)]",
411
+ "data-[selected]:text-[var(--color-button-header-fg-selected)] data-[selected]:border-transparent data-[selected]:border-0",
412
+ "data-[selected]:hover:bg-[var(--color-button-header-bg-selected)] data-[selected]:hover:text-[var(--color-hover)]",
413
+ "data-[selected]:data-[expanded]:text-[var(--color-hover)]",
414
+ "data-[selected]:data-[highlighted]:bg-[var(--color-button-header-bg-highlighted)]",
415
+ "data-[selected]:data-[highlighted]:text-[var(--color-button-header-fg-highlighted)]",
416
+ "data-[selected]:data-[highlighted]:border-transparent data-[selected]:data-[highlighted]:border-0",
417
+ "data-[selected]:data-[highlighted]:hover:bg-[var(--color-button-header-bg-highlighted)]",
418
+ "data-[selected]:data-[highlighted]:hover:text-[var(--color-hover)]",
419
+ "data-[selected]:data-[highlighted]:data-[expanded]:text-[var(--color-hover)]"
420
+ ].join(" "),
421
+ hero: [
422
+ "bg-[var(--color-button-hero-bg)] text-[var(--color-button-hero-fg)]",
423
+ "hover:bg-[var(--color-button-hero-bg-hover)] hover:text-[var(--color-button-hero-fg-hover)]",
424
+ "data-[selected]:bg-[var(--color-button-hero-bg-selected)] data-[selected]:text-[var(--color-button-hero-fg-selected)]",
425
+ "data-[selected]:hover:bg-[var(--color-button-hero-bg-selected)] data-[selected]:hover:text-[var(--color-hover)]",
426
+ "data-[selected]:data-[expanded]:text-[var(--color-hover)]"
427
+ ].join(" "),
428
+ segmented: [
429
+ "bg-transparent border-2 border-solid rounded-none",
430
+ "text-[var(--color-button-segmented-fg)] border-[var(--color-selected-control-bg)]",
431
+ "hover:text-[var(--color-hover)]",
432
+ "data-[selected]:bg-[var(--color-selected-control-bg)] data-[selected]:text-[var(--color-selected-control-text)]",
433
+ "data-[selected]:hover:bg-[var(--color-selected-control-bg)] data-[selected]:hover:text-[var(--color-selected-control-text)]",
434
+ "[&:not(:last-child)]:border-r-0 data-[selected]:[&:not(:last-child)]:border-r-2",
435
+ "data-[selected]+*:border-l-0",
436
+ "first:rounded-l-md last:rounded-r-md"
437
+ ].join(" "),
438
+ plain: "bg-transparent text-inherit border-none hover:bg-transparent",
439
+ subtle: [
440
+ "bg-[var(--color-button-subtle-bg)] text-[var(--color-button-subtle-fg)]",
441
+ "hover:bg-[var(--color-button-subtle-bg)] hover:text-[var(--color-hover)]",
442
+ "disabled:bg-[var(--color-button-subtle-bg)] disabled:text-[var(--color-button-subtle-fg)]"
443
+ ].join(" "),
444
+ link: [
445
+ "bg-transparent text-[var(--color-link-primary)] border-none font-normal",
446
+ "px-0 h-auto",
447
+ "hover:bg-transparent hover:text-[var(--color-link-primary-hover)]",
448
+ "disabled:text-[var(--color-text-secondary)]"
449
+ ].join(" "),
450
+ icon_secondary: [
451
+ "bg-transparent text-[var(--color-icon-secondary)] border-none",
452
+ "hover:text-[var(--color-hover)]",
453
+ "data-[selected]:bg-[var(--color-selected-control-bg)] data-[selected]:text-[var(--color-selected-control-text)]",
454
+ "data-[selected]:hover:bg-[var(--color-selected-control-bg)] data-[selected]:hover:text-[var(--color-hover)]",
455
+ "data-[selected]:data-[expanded]:text-[var(--color-hover)]",
456
+ "data-[expanded]:text-[var(--color-hover)]"
457
+ ].join(" "),
458
+ icon_background: [
459
+ "bg-[var(--color-button-icon-background-bg)] text-[var(--color-icon-secondary)] border-none",
460
+ "hover:text-[var(--color-hover)]",
461
+ "data-[selected]:bg-[var(--color-selected-control-bg)] data-[selected]:text-[var(--color-selected-control-text)]",
462
+ "data-[selected]:hover:bg-[var(--color-selected-control-bg)] data-[selected]:hover:text-[var(--color-hover)]",
463
+ "data-[selected]:data-[expanded]:text-[var(--color-hover)]",
464
+ "data-[expanded]:text-[var(--color-hover)]"
465
+ ].join(" "),
466
+ pagination: [
467
+ "border-2 border-solid bg-transparent",
468
+ "text-[var(--color-button-pagination-fg)] border-[var(--color-button-pagination-border)]",
469
+ "hover:bg-transparent hover:text-[var(--color-hover)] hover:border-[var(--color-hover)]",
470
+ "data-[selected]:bg-[var(--color-selected-control-bg)] data-[selected]:text-[var(--color-selected-control-text)] data-[selected]:border-transparent",
471
+ "data-[selected]:hover:bg-[var(--color-selected-control-bg)]",
472
+ "data-[selected]:hover:text-[var(--color-selected-control-text)] data-[selected]:hover:border-transparent"
473
+ ].join(" ")
474
+ };
475
+ var BASE_CLASSES = "font-semibold whitespace-nowrap transition-colors duration-150";
476
+ var SP = 4;
477
+ function buildShimStyle(props) {
478
+ const s = { ...props.style };
479
+ if (props.mt !== void 0) s.marginTop = typeof props.mt === "number" ? `${props.mt * SP}px` : props.mt;
480
+ if (props.ml !== void 0) s.marginLeft = typeof props.ml === "number" ? `${props.ml * SP}px` : props.ml;
481
+ if (props.mr !== void 0) s.marginRight = typeof props.mr === "number" ? `${props.mr * SP}px` : props.mr;
482
+ if (props.px !== void 0) {
483
+ const v = typeof props.px === "number" ? `${props.px * SP}px` : props.px;
484
+ s.paddingLeft = v;
485
+ s.paddingRight = v;
486
+ }
487
+ if (props.py !== void 0) {
488
+ const v = typeof props.py === "number" ? `${props.py * SP}px` : props.py;
489
+ s.paddingTop = v;
490
+ s.paddingBottom = v;
491
+ }
492
+ if (props.fontWeight !== void 0) s.fontWeight = props.fontWeight;
493
+ if (props.gap !== void 0) s.gap = typeof props.gap === "number" ? `${props.gap * SP}px` : props.gap;
494
+ if (props.flexShrink !== void 0) s.flexShrink = props.flexShrink;
495
+ if (props.columnGap !== void 0) s.columnGap = typeof props.columnGap === "number" ? `${props.columnGap * SP}px` : props.columnGap;
496
+ if (props.gridColumn !== void 0) s.gridColumn = typeof props.gridColumn === "number" ? String(props.gridColumn) : props.gridColumn;
497
+ if (props.gridRow) s.gridRow = props.gridRow;
498
+ if (props.justifySelf) s.justifySelf = props.justifySelf;
499
+ if (props.alignSelf) s.alignSelf = props.alignSelf;
500
+ if (props.h) s.height = props.h;
501
+ if (props.w) s.width = props.w;
502
+ if (props.display) s.display = props.display;
503
+ if (props.borderBottomRightRadius !== void 0) s.borderBottomRightRadius = typeof props.borderBottomRightRadius === "number" ? `${props.borderBottomRightRadius}px` : props.borderBottomRightRadius;
504
+ if (props.borderTopRightRadius !== void 0) s.borderTopRightRadius = typeof props.borderTopRightRadius === "number" ? `${props.borderTopRightRadius}px` : props.borderTopRightRadius;
505
+ return Object.keys(s).length > 0 ? s : void 0;
506
+ }
507
+ var Button = React3.forwardRef(
508
+ function Button2(props, ref) {
509
+ const {
510
+ className,
511
+ variant = "solid",
512
+ size = "md",
513
+ asChild = false,
514
+ loading = false,
515
+ loadingText,
516
+ loadingSkeleton = false,
517
+ expanded,
518
+ selected,
519
+ highlighted,
520
+ disabled,
521
+ children,
522
+ style: styleProp,
523
+ // Strip Chakra style props
524
+ mt,
525
+ ml,
526
+ mr,
527
+ px,
528
+ py,
529
+ fontWeight,
530
+ gap,
531
+ flexShrink,
532
+ columnGap,
533
+ gridColumn,
534
+ gridRow,
535
+ justifySelf,
536
+ alignSelf,
537
+ textStyle: _textStyle,
538
+ h,
539
+ w,
540
+ display,
541
+ borderBottomRightRadius,
542
+ borderTopRightRadius,
543
+ ...rest
544
+ } = props;
545
+ const mergedStyle = buildShimStyle({
546
+ style: styleProp,
547
+ mt,
548
+ ml,
549
+ mr,
550
+ px,
551
+ py,
552
+ fontWeight,
553
+ gap,
554
+ flexShrink,
555
+ columnGap,
556
+ gridColumn,
557
+ gridRow,
558
+ justifySelf,
559
+ alignSelf,
560
+ h,
561
+ w,
562
+ display,
563
+ borderBottomRightRadius,
564
+ borderTopRightRadius
565
+ });
566
+ const dataAttrs = {};
567
+ if (expanded) dataAttrs["data-expanded"] = true;
568
+ if (selected) dataAttrs["data-selected"] = true;
569
+ if (highlighted) dataAttrs["data-highlighted"] = true;
570
+ if (loadingSkeleton) dataAttrs["data-loading-skeleton"] = true;
571
+ const isDisabled = !loadingSkeleton && (loading || disabled);
572
+ const inner = loading ? /* @__PURE__ */ jsxs(Fragment, { children: [
573
+ /* @__PURE__ */ jsx(Spinner, {}),
574
+ loadingText != null && /* @__PURE__ */ jsx("span", { style: { marginLeft: 8 }, children: loadingText })
575
+ ] }) : children;
576
+ const variantClass = VARIANT_CLASSES[variant] ?? VARIANT_CLASSES.solid;
577
+ const combinedClassName = [BASE_CLASSES, variantClass, className].filter(Boolean).join(" ");
578
+ const button = /* @__PURE__ */ jsx(
579
+ ButtonFrame,
580
+ {
581
+ ref,
582
+ size,
583
+ disabled: isDisabled || void 0,
584
+ asChild: asChild || void 0,
585
+ className: combinedClassName,
586
+ style: mergedStyle,
587
+ ...dataAttrs,
588
+ ...rest,
589
+ children: inner
590
+ }
591
+ );
592
+ if (loadingSkeleton) {
593
+ return /* @__PURE__ */ jsx(Skeleton, { loading: loadingSkeleton, asChild: true, ref, children: button });
594
+ }
595
+ return button;
596
+ }
597
+ );
598
+ React3.forwardRef(
599
+ function ButtonGroup2(props, ref) {
600
+ const { className, ...rest } = props;
601
+ return /* @__PURE__ */ jsx(
602
+ Box,
603
+ {
604
+ ref,
605
+ className: ["inline-flex", className].filter(Boolean).join(" "),
606
+ role: "group",
607
+ ...rest
608
+ }
609
+ );
610
+ }
611
+ );
612
+ React3.forwardRef(
613
+ function ButtonGroupRadio2(props, ref) {
614
+ const {
615
+ children,
616
+ onChange,
617
+ variant = "segmented",
618
+ defaultValue,
619
+ loading = false,
620
+ equalWidth = false,
621
+ className,
622
+ ...rest
623
+ } = props;
624
+ const firstChildValue = React3.useMemo(() => {
625
+ const firstChild = Array.isArray(children) ? children[0] : void 0;
626
+ return typeof firstChild?.props.value === "string" ? firstChild.props.value : void 0;
627
+ }, [children]);
628
+ const [value, setValue] = React3.useState(defaultValue ?? firstChildValue);
629
+ const handleItemClick = React3.useCallback((event) => {
630
+ const v = event.currentTarget.value;
631
+ setValue(v);
632
+ onChange?.(v);
633
+ }, [onChange]);
634
+ const clonedChildren = React3.Children.map(children, (child) => {
635
+ return React3.cloneElement(child, {
636
+ onClick: handleItemClick,
637
+ selected: value === child.props.value,
638
+ variant
639
+ });
640
+ });
641
+ const childrenLength = React3.Children.count(children);
642
+ return /* @__PURE__ */ jsx(Skeleton, { loading, children: /* @__PURE__ */ jsx(
643
+ Box,
644
+ {
645
+ ref,
646
+ className: [
647
+ "inline-flex gap-0",
648
+ equalWidth ? "grid" : "",
649
+ className
650
+ ].filter(Boolean).join(" "),
651
+ style: equalWidth ? { gridTemplateColumns: `repeat(${childrenLength}, 1fr)` } : void 0,
652
+ role: "group",
653
+ ...rest,
654
+ children: clonedChildren
655
+ }
656
+ ) });
657
+ }
658
+ );
659
+ var MUTED = "var(--color-text-secondary)";
660
+ var TRACK = "var(--color-border-divider)";
661
+ var ACTIVE = "var(--color-link-primary)";
662
+ var ACTIVE_HOVER = "var(--color-link-primary-hover)";
663
+ var WHITE = "var(--color-white)";
664
+ var Slider = React3.forwardRef(
665
+ function Slider2(props, ref) {
666
+ const {
667
+ marks: marksProp,
668
+ label,
669
+ showValue,
670
+ value,
671
+ defaultValue,
672
+ min = 0,
673
+ max = 100,
674
+ step,
675
+ disabled,
676
+ orientation = "horizontal",
677
+ name,
678
+ onValueChange,
679
+ onValueCommit,
680
+ className
681
+ } = props;
682
+ const resolvedValue = defaultValue ?? value;
683
+ const marks = marksProp?.map((mark) => {
684
+ if (typeof mark === "number") return { value: mark, label: void 0 };
685
+ return mark;
686
+ });
687
+ const hasMarkLabel = Boolean(marks?.some((mark) => mark.label));
688
+ const latest = React3.useRef(value ?? defaultValue ?? []);
689
+ const handleValueChange = React3.useCallback((next) => {
690
+ latest.current = next;
691
+ onValueChange?.(next);
692
+ }, [onValueChange]);
693
+ const handleSlideEnd = React3.useCallback(() => {
694
+ onValueCommit?.(latest.current);
695
+ }, [onValueCommit]);
696
+ return /* @__PURE__ */ jsxs(YStack, { className, gap: 4, children: [
697
+ label && !showValue && /* @__PURE__ */ jsx(Text, { fontSize: 14, fontWeight: "500", color: MUTED, children: label }),
698
+ label && showValue && /* @__PURE__ */ jsxs(XStack, { alignItems: "center", justifyContent: "space-between", children: [
699
+ /* @__PURE__ */ jsx(Text, { fontSize: 14, fontWeight: "500", color: MUTED, children: label }),
700
+ /* @__PURE__ */ jsx(Text, { fontSize: 14, color: MUTED, children: (value ?? defaultValue ?? [])?.join(", ") })
701
+ ] }),
702
+ /* @__PURE__ */ jsxs(
703
+ Slider$1,
704
+ {
705
+ ref,
706
+ position: "relative",
707
+ flexDirection: "row",
708
+ width: "100%",
709
+ userSelect: "none",
710
+ alignItems: "center",
711
+ marginBottom: hasMarkLabel ? 24 : 0,
712
+ value,
713
+ defaultValue,
714
+ min,
715
+ max,
716
+ step,
717
+ disabled,
718
+ orientation,
719
+ name,
720
+ onValueChange: handleValueChange,
721
+ onSlideEnd: handleSlideEnd,
722
+ children: [
723
+ /* @__PURE__ */ jsx(Slider$1.Track, { unstyled: true, position: "relative", flexGrow: 1, height: 6, borderRadius: 9999, backgroundColor: TRACK, children: /* @__PURE__ */ jsx(Slider$1.TrackActive, { unstyled: true, position: "absolute", height: "100%", borderRadius: 9999, backgroundColor: ACTIVE }) }),
724
+ resolvedValue?.map((_, index) => /* @__PURE__ */ jsx(
725
+ Slider$1.Thumb,
726
+ {
727
+ index,
728
+ unstyled: true,
729
+ width: 20,
730
+ height: 20,
731
+ borderRadius: 9999,
732
+ borderWidth: 2,
733
+ borderColor: ACTIVE,
734
+ backgroundColor: WHITE,
735
+ boxShadow: "var(--shadow-sm)",
736
+ transition: "quick",
737
+ hoverStyle: { borderColor: ACTIVE_HOVER },
738
+ focusStyle: { outlineWidth: 2, outlineStyle: "solid", outlineColor: ACTIVE, outlineOffset: 2 },
739
+ disabledStyle: { pointerEvents: "none", opacity: 0.5 }
740
+ },
741
+ index
742
+ ))
743
+ ]
744
+ }
745
+ ),
746
+ /* @__PURE__ */ jsx(SliderMarks, { marks, min, max })
747
+ ] });
748
+ }
749
+ );
750
+ function SliderMarks(props) {
751
+ const { marks, min, max } = props;
752
+ if (!marks?.length) return null;
753
+ const range = max - min;
754
+ return /* @__PURE__ */ jsx(View, { position: "relative", width: "100%", height: 16, children: marks.map((mark, index) => {
755
+ const percent = (mark.value - min) / range * 100;
756
+ return /* @__PURE__ */ jsxs(View, { position: "absolute", left: `${percent}%`, alignItems: "center", children: [
757
+ /* @__PURE__ */ jsx(View, { width: 2, height: 6, backgroundColor: TRACK }),
758
+ mark.label != null && /* @__PURE__ */ jsx(Text, { marginTop: 2, fontSize: 12, color: MUTED, children: mark.label })
759
+ ] }, index);
760
+ }) });
761
+ }
762
+ var NOOP = () => {
763
+ };
764
+ var SIZE2 = {
765
+ sm: { width: 28, height: 16, thumb: 12, label: 12 },
766
+ md: { width: 36, height: 20, thumb: 16, label: 14 },
767
+ lg: { width: 44, height: 24, thumb: 20, label: 16 }
768
+ };
769
+ var TRACK_ON = "var(--color-text-primary)";
770
+ var TRACK_OFF = "var(--color-switch-bg)";
771
+ var OUTLINE = "var(--color-gray-500)";
772
+ var WHITE2 = "var(--color-white)";
773
+ var SwitchBase = React3.forwardRef(
774
+ function Switch$1(props, ref) {
775
+ const {
776
+ inputProps,
777
+ children,
778
+ rootRef,
779
+ labelProps,
780
+ trackLabel,
781
+ thumbLabel,
782
+ checked: checkedProp,
783
+ defaultChecked,
784
+ onCheckedChange,
785
+ onChange,
786
+ disabled = false,
787
+ size = "md",
788
+ direction,
789
+ ...rest
790
+ } = props;
791
+ const [internalChecked, setInternalChecked] = React3.useState(defaultChecked ?? false);
792
+ const isControlled = checkedProp !== void 0;
793
+ const checkedState = isControlled ? checkedProp : internalChecked;
794
+ const handleCheckedChange = React3.useCallback(
795
+ (nextChecked) => {
796
+ if (!isControlled) {
797
+ setInternalChecked(nextChecked);
798
+ }
799
+ onCheckedChange?.(nextChecked);
800
+ },
801
+ [isControlled, onCheckedChange]
802
+ );
803
+ const s = SIZE2[size];
804
+ const isRtl = direction === "rtl";
805
+ return /* @__PURE__ */ jsxs(
806
+ Label,
807
+ {
808
+ ref: rootRef,
809
+ unstyled: true,
810
+ flexDirection: isRtl ? "row-reverse" : "row",
811
+ alignItems: "center",
812
+ gap: 8,
813
+ cursor: disabled ? "not-allowed" : "pointer",
814
+ userSelect: "none",
815
+ opacity: disabled ? 0.5 : 1,
816
+ onChange,
817
+ "data-disabled": disabled || void 0,
818
+ ...rest,
819
+ children: [
820
+ /* @__PURE__ */ jsxs(
821
+ Switch,
822
+ {
823
+ unstyled: true,
824
+ checked: checkedState,
825
+ onCheckedChange: handleCheckedChange,
826
+ disabled,
827
+ position: "relative",
828
+ flexShrink: 0,
829
+ alignItems: "center",
830
+ width: s.width,
831
+ height: s.height,
832
+ borderRadius: 9999,
833
+ backgroundColor: checkedState ? TRACK_ON : TRACK_OFF,
834
+ transition: "quick",
835
+ focusStyle: { outlineWidth: 2, outlineStyle: "solid", outlineColor: OUTLINE, outlineOffset: 2 },
836
+ children: [
837
+ trackLabel && /* @__PURE__ */ jsx(
838
+ Text,
839
+ {
840
+ position: "absolute",
841
+ width: "100%",
842
+ textAlign: "center",
843
+ fontSize: 8,
844
+ fontWeight: "700",
845
+ color: WHITE2,
846
+ pointerEvents: "none",
847
+ children: checkedState ? trackLabel.on : trackLabel.off
848
+ }
849
+ ),
850
+ /* @__PURE__ */ jsx(
851
+ Switch.Thumb,
852
+ {
853
+ unstyled: true,
854
+ "data-thumb": true,
855
+ transition: "quicker",
856
+ width: s.thumb,
857
+ height: s.thumb,
858
+ borderRadius: 9999,
859
+ backgroundColor: WHITE2,
860
+ boxShadow: "var(--shadow-sm)",
861
+ children: thumbLabel && /* @__PURE__ */ jsx(Text, { width: "100%", height: "100%", textAlign: "center", fontSize: 8, children: checkedState ? thumbLabel.on : thumbLabel.off })
862
+ }
863
+ )
864
+ ]
865
+ }
866
+ ),
867
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: /* @__PURE__ */ jsx(
868
+ "input",
869
+ {
870
+ ref,
871
+ type: "checkbox",
872
+ checked: checkedState,
873
+ disabled,
874
+ tabIndex: -1,
875
+ "aria-hidden": true,
876
+ onChange: NOOP,
877
+ ...inputProps
878
+ }
879
+ ) }),
880
+ children != null && /* @__PURE__ */ jsx(Text, { ...labelProps, fontSize: s.label, children })
881
+ ]
882
+ }
883
+ );
884
+ }
885
+ );
886
+ var Switch2 = SwitchBase;
887
+ var SIZE3 = {
888
+ xs: { height: 24, paddingHorizontal: 8, fontSize: "$1", borderRadius: 4 },
889
+ sm: { height: 32, paddingHorizontal: 12, fontSize: "$3", borderRadius: 6 },
890
+ md: { height: 40, paddingHorizontal: 16, fontSize: "$5", borderRadius: 6 },
891
+ lg: { height: 48, paddingHorizontal: 16, fontSize: "$6", borderRadius: 8 },
892
+ "2xl": { height: 56, paddingHorizontal: 16, fontSize: "$7", borderRadius: 8 }
893
+ };
894
+ var VARIANT = {
895
+ outline: { borderWidth: 1, borderStyle: "solid" },
896
+ filled: { borderWidth: 0, backgroundColor: "var(--color-input-filled-bg)" },
897
+ unstyled: { borderWidth: 0, backgroundColor: "transparent", padding: 0, height: "auto" }
898
+ };
899
+ var CONTROL = {
900
+ width: "100%",
901
+ outlineWidth: 0,
902
+ backgroundColor: "var(--color-input-bg)",
903
+ color: "var(--color-input-fg)",
904
+ borderColor: "var(--color-input-border)",
905
+ hoverStyle: { borderColor: "var(--color-input-border-hover)" },
906
+ focusStyle: { borderColor: "var(--color-input-border-focus)" },
907
+ disabledStyle: { opacity: 0.4, cursor: "not-allowed" }
908
+ };
909
+ var Input = React3__default.forwardRef(
910
+ ({ size = "md", variant = "outline", className, onChange, onChangeText, ...rest }, ref) => {
911
+ const handleChange = React3__default.useCallback(
912
+ (event) => {
913
+ onChange?.(event);
914
+ onChangeText?.(event.target.value);
915
+ },
916
+ [onChange, onChangeText]
917
+ );
918
+ return /* @__PURE__ */ jsx(
919
+ Input$1,
920
+ {
921
+ ref,
922
+ unstyled: true,
923
+ className: className ? `lux-control ${className}` : "lux-control",
924
+ ...CONTROL,
925
+ ...SIZE3[size],
926
+ ...VARIANT[variant],
927
+ ...rest,
928
+ onChange: handleChange
929
+ }
930
+ );
931
+ }
932
+ );
933
+ Input.displayName = "Input";
934
+ var SIZE4 = {
935
+ xs: { paddingHorizontal: 8, paddingVertical: 4, fontSize: "$1", borderRadius: 4 },
936
+ sm: { paddingHorizontal: 12, paddingVertical: 8, fontSize: "$3", borderRadius: 6 },
937
+ md: { paddingHorizontal: 16, paddingVertical: 8, fontSize: "$5", borderRadius: 6 },
938
+ lg: { paddingHorizontal: 16, paddingVertical: 12, fontSize: "$6", borderRadius: 8 },
939
+ "2xl": { paddingHorizontal: 16, paddingVertical: 12, fontSize: "$7", borderRadius: 8 }
940
+ };
941
+ var Textarea = React3__default.forwardRef(
942
+ ({ size = "md", variant = "outline", className, onChange, onChangeText, ...rest }, ref) => {
943
+ const handleChange = React3__default.useCallback(
944
+ (event) => {
945
+ onChange?.(event);
946
+ onChangeText?.(event.target.value);
947
+ },
948
+ [onChange, onChangeText]
949
+ );
950
+ return /* @__PURE__ */ jsx(
951
+ TextArea,
952
+ {
953
+ ref,
954
+ unstyled: true,
955
+ className: className ? `lux-control ${className}` : "lux-control",
956
+ ...CONTROL,
957
+ ...SIZE4[size],
958
+ ...VARIANT[variant],
959
+ ...rest,
960
+ onChange: handleChange
961
+ }
962
+ );
963
+ }
964
+ );
965
+ Textarea.displayName = "Textarea";
966
+ var defaultVoices = [
967
+ {
968
+ id: "default-en-us",
969
+ name: "English (US)",
970
+ language: "en-US",
971
+ gender: "neutral",
972
+ speed: 1,
973
+ pitch: 1
974
+ },
975
+ {
976
+ id: "default-en-gb",
977
+ name: "English (UK)",
978
+ language: "en-GB",
979
+ gender: "neutral",
980
+ speed: 1,
981
+ pitch: 1
982
+ },
983
+ {
984
+ id: "default-es-es",
985
+ name: "Spanish (Spain)",
986
+ language: "es-ES",
987
+ gender: "neutral",
988
+ speed: 1,
989
+ pitch: 1
990
+ },
991
+ {
992
+ id: "default-fr-fr",
993
+ name: "French (France)",
994
+ language: "fr-FR",
995
+ gender: "neutral",
996
+ speed: 1,
997
+ pitch: 1
998
+ },
999
+ {
1000
+ id: "default-de-de",
1001
+ name: "German (Germany)",
1002
+ language: "de-DE",
1003
+ gender: "neutral",
1004
+ speed: 1,
1005
+ pitch: 1
1006
+ },
1007
+ {
1008
+ id: "default-ja-jp",
1009
+ name: "Japanese (Japan)",
1010
+ language: "ja-JP",
1011
+ gender: "neutral",
1012
+ speed: 1,
1013
+ pitch: 1
1014
+ },
1015
+ {
1016
+ id: "default-zh-cn",
1017
+ name: "Chinese (Mandarin)",
1018
+ language: "zh-CN",
1019
+ gender: "neutral",
1020
+ speed: 1,
1021
+ pitch: 1
1022
+ }
1023
+ ];
1024
+ var commandPatterns = [
1025
+ { pattern: /^(start|begin|go)$/i, command: "start" },
1026
+ { pattern: /^(stop|end|halt)$/i, command: "stop" },
1027
+ { pattern: /^(pause|wait)$/i, command: "pause" },
1028
+ { pattern: /^(resume|continue)$/i, command: "resume" },
1029
+ { pattern: /^(clear|reset)$/i, command: "clear" },
1030
+ { pattern: /^volume (\d+)$/i, command: "volume", extract: 1 },
1031
+ { pattern: /^speak (.+)$/i, command: "speak", extract: 1 }
1032
+ ];
1033
+ function AIVoice({
1034
+ onTranscript,
1035
+ onCommand,
1036
+ language = "en-US",
1037
+ voice,
1038
+ wakeWord = "hey assistant",
1039
+ autoStart = false,
1040
+ className
1041
+ }) {
1042
+ const [isListening, setIsListening] = useState(false);
1043
+ const [isSpeaking, setIsSpeaking] = useState(false);
1044
+ const [transcript, setTranscript] = useState("");
1045
+ const [finalTranscript, setFinalTranscript] = useState("");
1046
+ const [currentVolume, setCurrentVolume] = useState(0);
1047
+ const [isWakeWordActive, setIsWakeWordActive] = useState(false);
1048
+ const [selectedVoice, setSelectedVoice] = useState(
1049
+ voice || defaultVoices[0]
1050
+ );
1051
+ const [showSettings, setShowSettings] = useState(false);
1052
+ const [speechSpeed, setSpeechSpeed] = useState(1);
1053
+ const [speechPitch, setSpeechPitch] = useState(1);
1054
+ const [speechVolume, setSpeechVolume] = useState(0.8);
1055
+ const [error, setError] = useState(null);
1056
+ const [audioLevel, setAudioLevel] = useState(0);
1057
+ const recognitionRef = useRef(null);
1058
+ const synthRef = useRef(null);
1059
+ const audioContextRef = useRef(null);
1060
+ const analyserRef = useRef(null);
1061
+ const microphoneRef = useRef(null);
1062
+ const animationFrameRef = useRef(null);
1063
+ const canvasRef = useRef(null);
1064
+ useEffect(() => {
1065
+ if (typeof window !== "undefined" && "webkitSpeechRecognition" in window) {
1066
+ const SpeechRecognition = window.webkitSpeechRecognition || window.SpeechRecognition;
1067
+ recognitionRef.current = new SpeechRecognition();
1068
+ if (recognitionRef.current) {
1069
+ recognitionRef.current.continuous = true;
1070
+ recognitionRef.current.interimResults = true;
1071
+ recognitionRef.current.lang = language;
1072
+ recognitionRef.current.onresult = (event) => {
1073
+ let interimTranscript = "";
1074
+ let finalTranscriptText = "";
1075
+ for (let i = event.resultIndex; i < event.results.length; i++) {
1076
+ const result = event.results[i];
1077
+ if (result.isFinal) {
1078
+ finalTranscriptText += result[0].transcript;
1079
+ } else {
1080
+ interimTranscript += result[0].transcript;
1081
+ }
1082
+ }
1083
+ setTranscript(interimTranscript);
1084
+ if (finalTranscriptText) {
1085
+ setFinalTranscript((prev) => prev + finalTranscriptText);
1086
+ onTranscript?.(finalTranscriptText);
1087
+ if (isWakeWordActive && finalTranscriptText.toLowerCase().includes(wakeWord.toLowerCase())) {
1088
+ setIsWakeWordActive(false);
1089
+ handleWakeWordDetected(finalTranscriptText);
1090
+ }
1091
+ checkForCommands(finalTranscriptText);
1092
+ }
1093
+ };
1094
+ recognitionRef.current.onerror = (event) => {
1095
+ setError(`Speech recognition error: ${event.error}`);
1096
+ setIsListening(false);
1097
+ };
1098
+ recognitionRef.current.onend = () => {
1099
+ setIsListening(false);
1100
+ };
1101
+ }
1102
+ }
1103
+ if (typeof window !== "undefined") {
1104
+ synthRef.current = window.speechSynthesis;
1105
+ }
1106
+ return () => {
1107
+ if (recognitionRef.current) {
1108
+ recognitionRef.current.stop();
1109
+ }
1110
+ if (animationFrameRef.current) {
1111
+ cancelAnimationFrame(animationFrameRef.current);
1112
+ }
1113
+ };
1114
+ }, [language, wakeWord, isWakeWordActive, onTranscript]);
1115
+ useEffect(() => {
1116
+ if (autoStart) {
1117
+ startListening();
1118
+ }
1119
+ }, [autoStart]);
1120
+ const initializeAudioContext = useCallback(async () => {
1121
+ try {
1122
+ const stream = await navigator.mediaDevices.getUserMedia({ audio: true });
1123
+ audioContextRef.current = new (window.AudioContext || window.webkitAudioContext)();
1124
+ analyserRef.current = audioContextRef.current.createAnalyser();
1125
+ microphoneRef.current = audioContextRef.current.createMediaStreamSource(stream);
1126
+ analyserRef.current.fftSize = 256;
1127
+ microphoneRef.current.connect(analyserRef.current);
1128
+ startAudioVisualization();
1129
+ setError(null);
1130
+ } catch (err) {
1131
+ setError("Microphone access denied");
1132
+ }
1133
+ }, []);
1134
+ const startAudioVisualization = useCallback(() => {
1135
+ if (!analyserRef.current || !canvasRef.current) return;
1136
+ const canvas = canvasRef.current;
1137
+ const ctx = canvas.getContext("2d");
1138
+ if (!ctx) return;
1139
+ const bufferLength = analyserRef.current.frequencyBinCount;
1140
+ const dataArray = new Uint8Array(bufferLength);
1141
+ const draw = () => {
1142
+ if (!analyserRef.current) return;
1143
+ analyserRef.current.getByteFrequencyData(dataArray);
1144
+ const sum = dataArray.reduce((a, b) => a + b, 0);
1145
+ const level = sum / (bufferLength * 255);
1146
+ setAudioLevel(level);
1147
+ ctx.fillStyle = "rgb(0, 0, 0, 0.1)";
1148
+ ctx.fillRect(0, 0, canvas.width, canvas.height);
1149
+ const barWidth = canvas.width / bufferLength * 2.5;
1150
+ let barHeight;
1151
+ let x = 0;
1152
+ ctx.fillStyle = "rgb(59, 130, 246)";
1153
+ for (let i = 0; i < bufferLength; i++) {
1154
+ barHeight = dataArray[i] / 255 * canvas.height * 0.8;
1155
+ ctx.fillRect(x, canvas.height - barHeight, barWidth, barHeight);
1156
+ x += barWidth + 1;
1157
+ }
1158
+ animationFrameRef.current = requestAnimationFrame(draw);
1159
+ };
1160
+ draw();
1161
+ }, []);
1162
+ const startListening = useCallback(async () => {
1163
+ if (!recognitionRef.current) {
1164
+ setError("Speech recognition not supported");
1165
+ return;
1166
+ }
1167
+ try {
1168
+ await initializeAudioContext();
1169
+ recognitionRef.current.start();
1170
+ setIsListening(true);
1171
+ setError(null);
1172
+ } catch (err) {
1173
+ setError("Failed to start listening");
1174
+ }
1175
+ }, [initializeAudioContext]);
1176
+ const stopListening = useCallback(() => {
1177
+ if (recognitionRef.current) {
1178
+ recognitionRef.current.stop();
1179
+ }
1180
+ setIsListening(false);
1181
+ if (animationFrameRef.current) {
1182
+ cancelAnimationFrame(animationFrameRef.current);
1183
+ }
1184
+ }, []);
1185
+ const speak = useCallback(
1186
+ (text) => {
1187
+ if (!synthRef.current) return;
1188
+ synthRef.current.cancel();
1189
+ const utterance = new SpeechSynthesisUtterance(text);
1190
+ utterance.lang = selectedVoice.language;
1191
+ utterance.rate = speechSpeed;
1192
+ utterance.pitch = speechPitch;
1193
+ utterance.volume = speechVolume;
1194
+ utterance.onstart = () => setIsSpeaking(true);
1195
+ utterance.onend = () => setIsSpeaking(false);
1196
+ utterance.onerror = () => {
1197
+ setIsSpeaking(false);
1198
+ setError("Speech synthesis error");
1199
+ };
1200
+ synthRef.current.speak(utterance);
1201
+ },
1202
+ [selectedVoice, speechSpeed, speechPitch, speechVolume]
1203
+ );
1204
+ const stopSpeaking = useCallback(() => {
1205
+ if (synthRef.current) {
1206
+ synthRef.current.cancel();
1207
+ setIsSpeaking(false);
1208
+ }
1209
+ }, []);
1210
+ const checkForCommands = useCallback(
1211
+ (text) => {
1212
+ const words = text.toLowerCase().trim();
1213
+ for (const { pattern, command, extract } of commandPatterns) {
1214
+ const match = words.match(pattern);
1215
+ if (match) {
1216
+ const voiceCommand = {
1217
+ command,
1218
+ confidence: 0.9,
1219
+ timestamp: Date.now(),
1220
+ parameters: extract ? { value: match[extract] } : void 0
1221
+ };
1222
+ onCommand?.(voiceCommand);
1223
+ break;
1224
+ }
1225
+ }
1226
+ },
1227
+ [onCommand]
1228
+ );
1229
+ const handleWakeWordDetected = useCallback(
1230
+ (text) => {
1231
+ speak("How can I help you?");
1232
+ const afterWakeWord = text.split(wakeWord)[1]?.trim();
1233
+ if (afterWakeWord) {
1234
+ checkForCommands(afterWakeWord);
1235
+ }
1236
+ },
1237
+ [speak, wakeWord, checkForCommands]
1238
+ );
1239
+ const clearTranscript = useCallback(() => {
1240
+ setTranscript("");
1241
+ setFinalTranscript("");
1242
+ }, []);
1243
+ const handleKeyDown = useCallback(
1244
+ (event) => {
1245
+ switch (event.key) {
1246
+ case " ":
1247
+ event.preventDefault();
1248
+ if (isListening) {
1249
+ stopListening();
1250
+ } else {
1251
+ startListening();
1252
+ }
1253
+ break;
1254
+ case "Escape":
1255
+ event.preventDefault();
1256
+ stopListening();
1257
+ stopSpeaking();
1258
+ break;
1259
+ case "Enter":
1260
+ if (event.ctrlKey || event.metaKey) {
1261
+ event.preventDefault();
1262
+ if (finalTranscript.trim()) {
1263
+ speak(finalTranscript);
1264
+ }
1265
+ }
1266
+ break;
1267
+ }
1268
+ },
1269
+ [
1270
+ isListening,
1271
+ startListening,
1272
+ stopListening,
1273
+ stopSpeaking,
1274
+ finalTranscript,
1275
+ speak
1276
+ ]
1277
+ );
1278
+ return /* @__PURE__ */ jsxs(
1279
+ Box,
1280
+ {
1281
+ className: cn("w-full max-w-2xl mx-auto space-y-4", className),
1282
+ onKeyDown: handleKeyDown,
1283
+ tabIndex: 0,
1284
+ children: [
1285
+ /* @__PURE__ */ jsxs(Card, { children: [
1286
+ /* @__PURE__ */ jsx(CardHeader, { ...sx("pb-3"), children: /* @__PURE__ */ jsxs(CardTitle, { ...sx("flex items-center justify-between"), children: [
1287
+ "AI Voice Interface",
1288
+ /* @__PURE__ */ jsx(
1289
+ Button,
1290
+ {
1291
+ variant: "outline",
1292
+ size: "sm",
1293
+ onClick: () => setShowSettings(!showSettings),
1294
+ children: /* @__PURE__ */ jsx(Settings, { style: css("h-4 w-4") })
1295
+ }
1296
+ )
1297
+ ] }) }),
1298
+ /* @__PURE__ */ jsxs(CardContent, { ...sx("space-y-4"), children: [
1299
+ /* @__PURE__ */ jsxs(Box, { className: "relative h-24 bg-muted rounded-lg overflow-hidden", children: [
1300
+ /* @__PURE__ */ jsx(
1301
+ "canvas",
1302
+ {
1303
+ ref: canvasRef,
1304
+ width: 400,
1305
+ height: 96,
1306
+ className: "w-full h-full"
1307
+ }
1308
+ ),
1309
+ /* @__PURE__ */ jsx(Box, { className: "absolute inset-0 flex items-center justify-center", children: !isListening && audioLevel === 0 && /* @__PURE__ */ jsx(Box, { className: "text-muted-foreground text-sm", children: "Click microphone to start listening" }) })
1310
+ ] }),
1311
+ /* @__PURE__ */ jsxs(Box, { className: "flex items-center justify-center gap-4", children: [
1312
+ /* @__PURE__ */ jsxs(
1313
+ Button,
1314
+ {
1315
+ variant: isListening ? "destructive" : "default",
1316
+ size: "lg",
1317
+ ...sx(cn(
1318
+ "relative transition-all duration-200",
1319
+ isListening && audioLevel > 0.1 && "animate-pulse"
1320
+ )),
1321
+ onClick: isListening ? stopListening : startListening,
1322
+ children: [
1323
+ isListening ? /* @__PURE__ */ jsx(MicOff, { style: css("h-5 w-5") }) : /* @__PURE__ */ jsx(Mic, { style: css("h-5 w-5") }),
1324
+ /* @__PURE__ */ jsxs(Box, { tag: "span", className: "ml-2", children: [
1325
+ isListening ? "Stop" : "Start",
1326
+ " Listening"
1327
+ ] })
1328
+ ]
1329
+ }
1330
+ ),
1331
+ /* @__PURE__ */ jsxs(
1332
+ Button,
1333
+ {
1334
+ variant: isSpeaking ? "destructive" : "outline",
1335
+ size: "lg",
1336
+ onClick: isSpeaking ? stopSpeaking : () => speak(finalTranscript),
1337
+ disabled: !finalTranscript.trim(),
1338
+ children: [
1339
+ isSpeaking ? /* @__PURE__ */ jsx(Square, { style: css("h-4 w-4") }) : /* @__PURE__ */ jsx(Volume2, { style: css("h-4 w-4") }),
1340
+ /* @__PURE__ */ jsx(Box, { tag: "span", className: "ml-2", children: isSpeaking ? "Stop" : "Speak" })
1341
+ ]
1342
+ }
1343
+ ),
1344
+ /* @__PURE__ */ jsxs(Button, { variant: "outline", size: "lg", onClick: clearTranscript, children: [
1345
+ /* @__PURE__ */ jsx(RotateCcw, { style: css("h-4 w-4") }),
1346
+ /* @__PURE__ */ jsx(Box, { tag: "span", className: "ml-2", children: "Clear" })
1347
+ ] })
1348
+ ] }),
1349
+ /* @__PURE__ */ jsxs(Box, { className: "flex items-center justify-between", children: [
1350
+ /* @__PURE__ */ jsxs(Box, { className: "space-y-1", children: [
1351
+ /* @__PURE__ */ jsx(Box, { className: "text-sm font-medium", children: "Wake Word Detection" }),
1352
+ /* @__PURE__ */ jsxs(Box, { className: "text-xs text-muted-foreground", children: [
1353
+ 'Say "',
1354
+ wakeWord,
1355
+ '" to activate'
1356
+ ] })
1357
+ ] }),
1358
+ /* @__PURE__ */ jsx(
1359
+ Switch2,
1360
+ {
1361
+ checked: isWakeWordActive,
1362
+ onCheckedChange: setIsWakeWordActive
1363
+ }
1364
+ )
1365
+ ] }),
1366
+ /* @__PURE__ */ jsxs(Box, { className: "flex items-center gap-2", children: [
1367
+ isListening && /* @__PURE__ */ jsx(Badge, { variant: "solid", ...sx("animate-pulse"), children: "Listening" }),
1368
+ isSpeaking && /* @__PURE__ */ jsx(Badge, { colorPalette: "gray", ...sx("animate-pulse"), children: "Speaking" }),
1369
+ isWakeWordActive && /* @__PURE__ */ jsx(Badge, { variant: "outline", children: "Wake Word Active" }),
1370
+ audioLevel > 0.1 && /* @__PURE__ */ jsxs(Badge, { variant: "outline", children: [
1371
+ "Audio: ",
1372
+ Math.round(audioLevel * 100),
1373
+ "%"
1374
+ ] })
1375
+ ] }),
1376
+ error && /* @__PURE__ */ jsx(Box, { className: "p-3 bg-destructive/10 border border-destructive/20 rounded-lg text-sm text-destructive", children: error })
1377
+ ] })
1378
+ ] }),
1379
+ /* @__PURE__ */ jsxs(Card, { children: [
1380
+ /* @__PURE__ */ jsx(CardHeader, { ...sx("pb-3"), children: /* @__PURE__ */ jsx(CardTitle, { ...sx("text-lg"), children: "Transcript" }) }),
1381
+ /* @__PURE__ */ jsxs(CardContent, { children: [
1382
+ /* @__PURE__ */ jsx(
1383
+ Textarea,
1384
+ {
1385
+ value: finalTranscript + (transcript ? ` ${transcript}` : ""),
1386
+ onChange: (e) => setFinalTranscript(e.target.value),
1387
+ placeholder: "Transcript will appear here...",
1388
+ ...sx("min-h-[100px] resize-none"),
1389
+ readOnly: false
1390
+ }
1391
+ ),
1392
+ /* @__PURE__ */ jsxs(Box, { className: "flex items-center justify-between mt-2 text-xs text-muted-foreground", children: [
1393
+ /* @__PURE__ */ jsxs("span", { children: [
1394
+ finalTranscript.length,
1395
+ " characters"
1396
+ ] }),
1397
+ /* @__PURE__ */ jsx("span", { children: "Ctrl/Cmd + Enter to speak" })
1398
+ ] })
1399
+ ] })
1400
+ ] }),
1401
+ showSettings && /* @__PURE__ */ jsxs(Card, { children: [
1402
+ /* @__PURE__ */ jsx(CardHeader, { ...sx("pb-3"), children: /* @__PURE__ */ jsx(CardTitle, { ...sx("text-lg"), children: "Voice Settings" }) }),
1403
+ /* @__PURE__ */ jsxs(CardContent, { ...sx("space-y-6"), children: [
1404
+ /* @__PURE__ */ jsxs(Box, { className: "space-y-2", children: [
1405
+ /* @__PURE__ */ jsx(Box, { tag: "label", className: "text-sm font-medium", children: "Voice" }),
1406
+ /* @__PURE__ */ jsxs(
1407
+ Select,
1408
+ {
1409
+ value: selectedVoice.id,
1410
+ onValueChange: (value) => {
1411
+ const voice2 = defaultVoices.find((v) => v.id === value);
1412
+ if (voice2) setSelectedVoice(voice2);
1413
+ },
1414
+ children: [
1415
+ /* @__PURE__ */ jsx(SelectTrigger, { children: /* @__PURE__ */ jsx(SelectValue, {}) }),
1416
+ /* @__PURE__ */ jsx(SelectContent, { children: defaultVoices.map((voice2) => /* @__PURE__ */ jsx(SelectItem, { value: voice2.id, children: voice2.name }, voice2.id)) })
1417
+ ]
1418
+ }
1419
+ )
1420
+ ] }),
1421
+ /* @__PURE__ */ jsxs(Box, { className: "grid grid-cols-1 md:grid-cols-3 gap-4", children: [
1422
+ /* @__PURE__ */ jsxs(Box, { className: "space-y-2", children: [
1423
+ /* @__PURE__ */ jsx(Box, { tag: "label", className: "text-sm font-medium", children: "Speed" }),
1424
+ /* @__PURE__ */ jsx(
1425
+ Slider,
1426
+ {
1427
+ value: [speechSpeed],
1428
+ onValueChange: ([value]) => setSpeechSpeed(value),
1429
+ min: 0.5,
1430
+ max: 2,
1431
+ step: 0.1,
1432
+ ...sx("w-full")
1433
+ }
1434
+ ),
1435
+ /* @__PURE__ */ jsxs(Box, { className: "text-xs text-muted-foreground text-center", children: [
1436
+ speechSpeed.toFixed(1),
1437
+ "x"
1438
+ ] })
1439
+ ] }),
1440
+ /* @__PURE__ */ jsxs(Box, { className: "space-y-2", children: [
1441
+ /* @__PURE__ */ jsx(Box, { tag: "label", className: "text-sm font-medium", children: "Pitch" }),
1442
+ /* @__PURE__ */ jsx(
1443
+ Slider,
1444
+ {
1445
+ value: [speechPitch],
1446
+ onValueChange: ([value]) => setSpeechPitch(value),
1447
+ min: 0.5,
1448
+ max: 2,
1449
+ step: 0.1,
1450
+ ...sx("w-full")
1451
+ }
1452
+ ),
1453
+ /* @__PURE__ */ jsxs(Box, { className: "text-xs text-muted-foreground text-center", children: [
1454
+ speechPitch.toFixed(1),
1455
+ "x"
1456
+ ] })
1457
+ ] }),
1458
+ /* @__PURE__ */ jsxs(Box, { className: "space-y-2", children: [
1459
+ /* @__PURE__ */ jsx(Box, { tag: "label", className: "text-sm font-medium", children: "Volume" }),
1460
+ /* @__PURE__ */ jsx(
1461
+ Slider,
1462
+ {
1463
+ value: [speechVolume],
1464
+ onValueChange: ([value]) => setSpeechVolume(value),
1465
+ min: 0,
1466
+ max: 1,
1467
+ step: 0.1,
1468
+ ...sx("w-full")
1469
+ }
1470
+ ),
1471
+ /* @__PURE__ */ jsxs(Box, { className: "text-xs text-muted-foreground text-center", children: [
1472
+ Math.round(speechVolume * 100),
1473
+ "%"
1474
+ ] })
1475
+ ] })
1476
+ ] }),
1477
+ /* @__PURE__ */ jsxs(Box, { className: "space-y-2", children: [
1478
+ /* @__PURE__ */ jsx(Box, { tag: "label", className: "text-sm font-medium", children: "Keyboard Shortcuts" }),
1479
+ /* @__PURE__ */ jsxs(Box, { className: "grid grid-cols-1 md:grid-cols-2 gap-2 text-xs", children: [
1480
+ /* @__PURE__ */ jsxs(Box, { className: "flex justify-between", children: [
1481
+ /* @__PURE__ */ jsx("span", { children: "Toggle listening:" }),
1482
+ /* @__PURE__ */ jsx(Box, { tag: "kbd", className: "bg-muted px-1 rounded", children: "Space" })
1483
+ ] }),
1484
+ /* @__PURE__ */ jsxs(Box, { className: "flex justify-between", children: [
1485
+ /* @__PURE__ */ jsx("span", { children: "Stop all:" }),
1486
+ /* @__PURE__ */ jsx(Box, { tag: "kbd", className: "bg-muted px-1 rounded", children: "Esc" })
1487
+ ] }),
1488
+ /* @__PURE__ */ jsxs(Box, { className: "flex justify-between", children: [
1489
+ /* @__PURE__ */ jsx("span", { children: "Speak transcript:" }),
1490
+ /* @__PURE__ */ jsx(Box, { tag: "kbd", className: "bg-muted px-1 rounded", children: "Ctrl+Enter" })
1491
+ ] })
1492
+ ] })
1493
+ ] })
1494
+ ] })
1495
+ ] })
1496
+ ]
1497
+ }
1498
+ );
1499
+ }
1500
+
1501
+ export { AIVoice };