@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,1088 @@
1
+ "use client";
2
+ import { styled, View, XStack, YStack, Text, Slider as Slider$1, Input as Input$1, TextArea } from '@hanzo/gui';
3
+ import * as React8 from 'react';
4
+ import React8__default, { Children, createElement } from 'react';
5
+ import { Sparkles, Trash2, Settings2, AlertCircle, Check, Copy, Loader2, Send } from 'lucide-react';
6
+ import { Box, sx, cn, Card, CardHeader, CardTitle, css, CardDescription, CardContent, Label, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, CardFooter } from '@hanzo/ui';
7
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
8
+
9
+ var CLOSE_ICON_PATH = "M9.44 8.035a.791.791 0 0 0 1.12 0l3.802-3.803a.791.791 0 0 1 1.119 0l.287.287a.79.79 0 0 1 0 1.119L11.965 9.44a.79.79 0 0 0 0 1.118l3.803 3.803a.791.791 0 0 1 0 1.119l-.287.287a.791.791 0 0 1-1.119 0l-3.803-3.803a.79.79 0 0 0-1.118 0l-3.803 3.803a.79.79 0 0 1-1.119 0l-.287-.287a.791.791 0 0 1 0-1.119l3.803-3.803a.791.791 0 0 0 0-1.118L4.232 5.638a.791.791 0 0 1 0-1.119l.287-.287a.791.791 0 0 1 1.119 0L9.44 8.035Z";
10
+ var CloseButtonFrame = styled(View, {
11
+ name: "LuxCloseButton",
12
+ render: /* @__PURE__ */ jsx("button", { type: "button", "aria-label": "Close" }),
13
+ role: "button",
14
+ cursor: "pointer",
15
+ display: "inline-flex",
16
+ alignItems: "center",
17
+ justifyContent: "center",
18
+ width: 20,
19
+ height: 20,
20
+ minWidth: 0,
21
+ flexShrink: 1,
22
+ padding: 0,
23
+ borderRadius: 4,
24
+ borderWidth: 0,
25
+ overflow: "hidden",
26
+ backgroundColor: "transparent",
27
+ hoverStyle: {
28
+ backgroundColor: "transparent"
29
+ },
30
+ variants: {
31
+ disabled: {
32
+ true: {
33
+ opacity: 0.4,
34
+ pointerEvents: "none"
35
+ }
36
+ }
37
+ }
38
+ });
39
+ var CloseButton = React8.forwardRef(function CloseButton2(props, ref) {
40
+ const { variant: _variant, size: _size, className, children, ...rest } = props;
41
+ return /* @__PURE__ */ jsx(
42
+ CloseButtonFrame,
43
+ {
44
+ ref,
45
+ className,
46
+ ...rest,
47
+ children: children ?? /* @__PURE__ */ jsx(
48
+ "svg",
49
+ {
50
+ width: 20,
51
+ height: 20,
52
+ viewBox: "0 0 20 20",
53
+ fill: "none",
54
+ "aria-hidden": "true",
55
+ children: /* @__PURE__ */ jsx(
56
+ "path",
57
+ {
58
+ d: CLOSE_ICON_PATH,
59
+ fill: "currentColor"
60
+ }
61
+ )
62
+ }
63
+ )
64
+ }
65
+ );
66
+ });
67
+ var ink = (children, Wrap = Text, props = {}) => {
68
+ let hasText = false;
69
+ Children.forEach(children, (child) => {
70
+ if (typeof child === "string" || typeof child === "number") hasText = true;
71
+ });
72
+ if (!hasText) return children;
73
+ return Children.map(children, (child) => typeof child === "string" || typeof child === "number" ? createElement(Wrap, props, child) : child);
74
+ };
75
+ var SKELETON_CLASSES = "lux-skeleton rounded-sm";
76
+ var Skeleton = React8.forwardRef(
77
+ function Skeleton2(props, ref) {
78
+ const { loading = true, asChild, className, children, style, ...rest } = props;
79
+ if (!loading) {
80
+ if (asChild && React8.isValidElement(children)) return children;
81
+ return /* @__PURE__ */ jsx(Box, { ref, className, style, ...rest, children });
82
+ }
83
+ return /* @__PURE__ */ jsx(
84
+ "div",
85
+ {
86
+ ref,
87
+ "data-loading": true,
88
+ ...sx(
89
+ SKELETON_CLASSES,
90
+ asChild || children ? "[&_*]:invisible" : "min-h-5",
91
+ className
92
+ ),
93
+ style,
94
+ ...rest,
95
+ children
96
+ }
97
+ );
98
+ }
99
+ );
100
+ React8.forwardRef(
101
+ function SkeletonCircle2(props, ref) {
102
+ const { size = 40, loading = true, className, ...rest } = props;
103
+ const dimension = typeof size === "number" ? `${size}px` : size;
104
+ return /* @__PURE__ */ jsx(
105
+ Skeleton,
106
+ {
107
+ ref,
108
+ loading,
109
+ ...sx("rounded-full shrink-0", className),
110
+ style: { width: dimension, height: dimension, ...rest.style },
111
+ ...rest
112
+ }
113
+ );
114
+ }
115
+ );
116
+ React8.forwardRef(
117
+ function SkeletonText2(props, ref) {
118
+ const { noOfLines = 3, loading = true, className, ...rest } = props;
119
+ 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(
120
+ Skeleton,
121
+ {
122
+ loading,
123
+ ...sx(cn("h-4", index === noOfLines - 1 && "max-w-[80%]"))
124
+ },
125
+ index
126
+ )) });
127
+ }
128
+ );
129
+ var IndicatorIcon = () => /* @__PURE__ */ jsx("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10 18a8 8 0 100-16 8 8 0 000 16zm.75-11.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM9.25 10a.75.75 0 011.5 0v3a.75.75 0 01-1.5 0v-3z" }) });
130
+ var ALERT_BASE = {
131
+ width: "100%",
132
+ position: "relative",
133
+ alignItems: "flex-start",
134
+ borderRadius: 4,
135
+ gap: 8,
136
+ paddingVertical: 8
137
+ };
138
+ var ALERT_FG = "var(--color-alert-fg)";
139
+ var STATUS_BG = {
140
+ info: "var(--color-alert-bg-info)",
141
+ warning: "var(--color-alert-bg-warning)",
142
+ warning_table: "var(--color-alert-bg-warning-table)",
143
+ success: "var(--color-alert-bg-success)",
144
+ error: "var(--color-alert-bg-error)"
145
+ };
146
+ var SIZE = {
147
+ sm: { paddingHorizontal: 8, fontSize: 12 },
148
+ md: { paddingHorizontal: 12, fontSize: 16 }
149
+ };
150
+ var INDICATOR_SIZE = {
151
+ sm: { marginVertical: 0 },
152
+ md: { marginVertical: 2 }
153
+ };
154
+ var Alert = React8.forwardRef(
155
+ function Alert2(props, ref) {
156
+ const {
157
+ title,
158
+ children,
159
+ icon,
160
+ closable,
161
+ onClose,
162
+ startElement,
163
+ endElement,
164
+ loading,
165
+ size,
166
+ inline = true,
167
+ showIcon = false,
168
+ descriptionProps,
169
+ status = "info",
170
+ className,
171
+ ...rest
172
+ } = props;
173
+ const { whiteSpace: _whiteSpace, mb: _mb, mt: _mt, style: styleProp, ...alertRest } = rest;
174
+ const shimStyle = { ...styleProp };
175
+ if (_whiteSpace) shimStyle.whiteSpace = _whiteSpace;
176
+ if (_mb !== void 0) shimStyle.marginBottom = typeof _mb === "number" ? `${_mb * 4}px` : _mb;
177
+ if (_mt !== void 0) shimStyle.marginTop = typeof _mt === "number" ? `${_mt * 4}px` : _mt;
178
+ const alertStyle = Object.keys(shimStyle).length > 0 ? shimStyle : void 0;
179
+ const [isOpen, setIsOpen] = React8.useState(true);
180
+ const resolvedSize = size ?? "md";
181
+ const fontSize = SIZE[resolvedSize].fontSize;
182
+ const defaultIcon = /* @__PURE__ */ jsx(IndicatorIcon, {});
183
+ const iconElement = (() => {
184
+ if (startElement !== void 0) {
185
+ return startElement;
186
+ }
187
+ if (!showIcon && icon === void 0) {
188
+ return null;
189
+ }
190
+ return /* @__PURE__ */ jsx(
191
+ XStack,
192
+ {
193
+ alignItems: "center",
194
+ justifyContent: "center",
195
+ flexShrink: 0,
196
+ width: 20,
197
+ height: 20,
198
+ ...INDICATOR_SIZE[resolvedSize],
199
+ className: "lux-icon",
200
+ style: { color: ALERT_FG },
201
+ children: icon || defaultIcon
202
+ }
203
+ );
204
+ })();
205
+ const handleClose = React8.useCallback(() => {
206
+ setIsOpen(false);
207
+ onClose?.();
208
+ }, [onClose]);
209
+ if (closable && !isOpen) {
210
+ return null;
211
+ }
212
+ const {
213
+ className: descClassName,
214
+ whiteSpace: descWhiteSpace,
215
+ alignItems: descAlignItems,
216
+ flexDir: descFlexDir,
217
+ flexWrap: descFlexWrap,
218
+ rowGap: descRowGap,
219
+ columnGap: descColumnGap,
220
+ style: descStyleProp,
221
+ ...descRest
222
+ } = descriptionProps ?? {};
223
+ const descStyle = {
224
+ ...descStyleProp,
225
+ ...descWhiteSpace ? { whiteSpace: descWhiteSpace } : {},
226
+ ...descAlignItems ? { alignItems: descAlignItems } : {},
227
+ ...descFlexDir ? { flexDirection: descFlexDir } : {},
228
+ ...descFlexWrap ? { flexWrap: descFlexWrap } : {},
229
+ ...descRowGap !== void 0 ? { rowGap: typeof descRowGap === "number" ? `${descRowGap * 4}px` : descRowGap } : {},
230
+ ...descColumnGap !== void 0 ? { columnGap: typeof descColumnGap === "number" ? `${descColumnGap * 4}px` : descColumnGap } : {}
231
+ };
232
+ const ContentFrame = inline ? XStack : YStack;
233
+ return /* @__PURE__ */ jsx(Skeleton, { loading, children: /* @__PURE__ */ jsxs(
234
+ XStack,
235
+ {
236
+ ref,
237
+ ...ALERT_BASE,
238
+ paddingHorizontal: SIZE[resolvedSize].paddingHorizontal,
239
+ backgroundColor: STATUS_BG[status],
240
+ className,
241
+ style: alertStyle,
242
+ ...alertRest,
243
+ children: [
244
+ iconElement,
245
+ children ? /* @__PURE__ */ jsxs(ContentFrame, { flex: 1, alignItems: inline ? "center" : void 0, children: [
246
+ title && /* @__PURE__ */ jsx(Text, { fontWeight: "600", fontSize, color: ALERT_FG, children: title }),
247
+ /* @__PURE__ */ jsx(
248
+ XStack,
249
+ {
250
+ flexWrap: "wrap",
251
+ className: descClassName,
252
+ style: Object.keys(descStyle).length > 0 ? descStyle : void 0,
253
+ ...descRest,
254
+ children: ink(children, void 0, { fontSize, color: ALERT_FG })
255
+ }
256
+ )
257
+ ] }) : /* @__PURE__ */ jsx(Text, { flex: 1, fontWeight: "600", fontSize, color: ALERT_FG, children: title }),
258
+ endElement,
259
+ closable && /* @__PURE__ */ jsx(View, { position: "relative", alignSelf: "flex-start", children: /* @__PURE__ */ jsx(CloseButton, { onClick: handleClose }) })
260
+ ]
261
+ }
262
+ ) });
263
+ }
264
+ );
265
+ var SpinnerFrame = styled(View, {
266
+ name: "ButtonSpinner",
267
+ render: /* @__PURE__ */ jsx("span", {}),
268
+ width: 16,
269
+ height: 16,
270
+ borderRadius: 1e3,
271
+ borderWidth: 2,
272
+ borderColor: "currentColor",
273
+ borderBottomColor: "transparent",
274
+ borderLeftColor: "transparent"
275
+ });
276
+ function Spinner({ className }) {
277
+ return /* @__PURE__ */ jsx(
278
+ SpinnerFrame,
279
+ {
280
+ role: "status",
281
+ "aria-label": "Loading",
282
+ className: [
283
+ "animate-spin",
284
+ className
285
+ ].filter(Boolean).join(" ")
286
+ }
287
+ );
288
+ }
289
+ var ButtonFrame = styled(View, {
290
+ name: "LuxButton",
291
+ render: /* @__PURE__ */ jsx("button", { type: "button" }),
292
+ role: "button",
293
+ tabIndex: 0,
294
+ cursor: "pointer",
295
+ userSelect: "none",
296
+ display: "inline-flex",
297
+ alignItems: "center",
298
+ justifyContent: "center",
299
+ gap: 0,
300
+ overflow: "hidden",
301
+ borderRadius: 6,
302
+ // Whitespace nowrap via className since hanzogui doesn't have a direct token
303
+ // Transition via className
304
+ variants: {
305
+ size: {
306
+ "2xs": { paddingHorizontal: 8, height: 20, minWidth: 20, fontSize: 12, borderRadius: 4, gap: 4 },
307
+ xs: { paddingHorizontal: 8, height: 24, minWidth: 24, fontSize: 14, borderRadius: 4, gap: 4 },
308
+ sm: { paddingHorizontal: 12, height: 32, minWidth: 32, fontSize: 14, borderRadius: 6, gap: 4 },
309
+ md: { paddingHorizontal: 12, height: 40, minWidth: 40, fontSize: 16, borderRadius: 6, gap: 8 }
310
+ },
311
+ disabled: {
312
+ true: {
313
+ opacity: 0.2,
314
+ cursor: "not-allowed",
315
+ pointerEvents: "none"
316
+ }
317
+ }
318
+ },
319
+ defaultVariants: {
320
+ size: "md"
321
+ }
322
+ });
323
+ var VARIANT_CLASSES = {
324
+ solid: [
325
+ "bg-[var(--color-button-solid-bg)] text-[var(--color-button-solid-text)]",
326
+ "hover:bg-[var(--color-hover)]",
327
+ "data-[expanded]:bg-[var(--color-hover)]"
328
+ ].join(" "),
329
+ solid_danger: [
330
+ "bg-[var(--color-button-danger-bg)] text-[var(--color-button-danger-fg)]",
331
+ "hover:bg-[var(--color-button-danger-bg-hover)]",
332
+ "data-[expanded]:bg-[var(--color-button-danger-bg-hover)]"
333
+ ].join(" "),
334
+ outline: [
335
+ "border-2 border-solid bg-transparent",
336
+ "text-[var(--color-button-outline-fg)] border-[var(--color-button-outline-fg)]",
337
+ "hover:bg-transparent hover:text-[var(--color-hover)] hover:border-[var(--color-hover)]"
338
+ ].join(" "),
339
+ outline_danger: [
340
+ "border-2 border-solid bg-transparent",
341
+ "text-[var(--color-button-danger-bg)] border-[var(--color-button-danger-bg)]",
342
+ "hover:bg-transparent hover:text-[var(--color-button-danger-bg-hover)] hover:border-[var(--color-button-danger-bg-hover)]"
343
+ ].join(" "),
344
+ dropdown: [
345
+ "border-2 border-solid bg-transparent",
346
+ "text-[var(--color-button-dropdown-fg)] border-[var(--color-button-dropdown-border)]",
347
+ "hover:bg-transparent hover:text-[var(--color-hover)] hover:border-[var(--color-hover)]",
348
+ "data-[expanded]:bg-transparent data-[expanded]:text-[var(--color-hover)] data-[expanded]:border-[var(--color-hover)]",
349
+ "data-[selected]:bg-[var(--color-selected-control-bg)] data-[selected]:text-[var(--color-selected-control-text)] data-[selected]:border-transparent",
350
+ "data-[selected]:hover:bg-[var(--color-selected-control-bg)]",
351
+ "data-[selected]:hover:text-[var(--color-hover)] data-[selected]:hover:border-transparent",
352
+ "data-[selected]:data-[expanded]:text-[var(--color-hover)]"
353
+ ].join(" "),
354
+ header: [
355
+ "bg-transparent border-2 border-solid",
356
+ "text-[var(--color-button-header-fg)] border-[var(--color-button-header-border)]",
357
+ "hover:bg-transparent hover:text-[var(--color-hover)] hover:border-[var(--color-hover)]",
358
+ "data-[selected]:bg-[var(--color-button-header-bg-selected)]",
359
+ "data-[selected]:text-[var(--color-button-header-fg-selected)] data-[selected]:border-transparent data-[selected]:border-0",
360
+ "data-[selected]:hover:bg-[var(--color-button-header-bg-selected)] data-[selected]:hover:text-[var(--color-hover)]",
361
+ "data-[selected]:data-[expanded]:text-[var(--color-hover)]",
362
+ "data-[selected]:data-[highlighted]:bg-[var(--color-button-header-bg-highlighted)]",
363
+ "data-[selected]:data-[highlighted]:text-[var(--color-button-header-fg-highlighted)]",
364
+ "data-[selected]:data-[highlighted]:border-transparent data-[selected]:data-[highlighted]:border-0",
365
+ "data-[selected]:data-[highlighted]:hover:bg-[var(--color-button-header-bg-highlighted)]",
366
+ "data-[selected]:data-[highlighted]:hover:text-[var(--color-hover)]",
367
+ "data-[selected]:data-[highlighted]:data-[expanded]:text-[var(--color-hover)]"
368
+ ].join(" "),
369
+ hero: [
370
+ "bg-[var(--color-button-hero-bg)] text-[var(--color-button-hero-fg)]",
371
+ "hover:bg-[var(--color-button-hero-bg-hover)] hover:text-[var(--color-button-hero-fg-hover)]",
372
+ "data-[selected]:bg-[var(--color-button-hero-bg-selected)] data-[selected]:text-[var(--color-button-hero-fg-selected)]",
373
+ "data-[selected]:hover:bg-[var(--color-button-hero-bg-selected)] data-[selected]:hover:text-[var(--color-hover)]",
374
+ "data-[selected]:data-[expanded]:text-[var(--color-hover)]"
375
+ ].join(" "),
376
+ segmented: [
377
+ "bg-transparent border-2 border-solid rounded-none",
378
+ "text-[var(--color-button-segmented-fg)] border-[var(--color-selected-control-bg)]",
379
+ "hover:text-[var(--color-hover)]",
380
+ "data-[selected]:bg-[var(--color-selected-control-bg)] data-[selected]:text-[var(--color-selected-control-text)]",
381
+ "data-[selected]:hover:bg-[var(--color-selected-control-bg)] data-[selected]:hover:text-[var(--color-selected-control-text)]",
382
+ "[&:not(:last-child)]:border-r-0 data-[selected]:[&:not(:last-child)]:border-r-2",
383
+ "data-[selected]+*:border-l-0",
384
+ "first:rounded-l-md last:rounded-r-md"
385
+ ].join(" "),
386
+ plain: "bg-transparent text-inherit border-none hover:bg-transparent",
387
+ subtle: [
388
+ "bg-[var(--color-button-subtle-bg)] text-[var(--color-button-subtle-fg)]",
389
+ "hover:bg-[var(--color-button-subtle-bg)] hover:text-[var(--color-hover)]",
390
+ "disabled:bg-[var(--color-button-subtle-bg)] disabled:text-[var(--color-button-subtle-fg)]"
391
+ ].join(" "),
392
+ link: [
393
+ "bg-transparent text-[var(--color-link-primary)] border-none font-normal",
394
+ "px-0 h-auto",
395
+ "hover:bg-transparent hover:text-[var(--color-link-primary-hover)]",
396
+ "disabled:text-[var(--color-text-secondary)]"
397
+ ].join(" "),
398
+ icon_secondary: [
399
+ "bg-transparent text-[var(--color-icon-secondary)] border-none",
400
+ "hover:text-[var(--color-hover)]",
401
+ "data-[selected]:bg-[var(--color-selected-control-bg)] data-[selected]:text-[var(--color-selected-control-text)]",
402
+ "data-[selected]:hover:bg-[var(--color-selected-control-bg)] data-[selected]:hover:text-[var(--color-hover)]",
403
+ "data-[selected]:data-[expanded]:text-[var(--color-hover)]",
404
+ "data-[expanded]:text-[var(--color-hover)]"
405
+ ].join(" "),
406
+ icon_background: [
407
+ "bg-[var(--color-button-icon-background-bg)] text-[var(--color-icon-secondary)] border-none",
408
+ "hover:text-[var(--color-hover)]",
409
+ "data-[selected]:bg-[var(--color-selected-control-bg)] data-[selected]:text-[var(--color-selected-control-text)]",
410
+ "data-[selected]:hover:bg-[var(--color-selected-control-bg)] data-[selected]:hover:text-[var(--color-hover)]",
411
+ "data-[selected]:data-[expanded]:text-[var(--color-hover)]",
412
+ "data-[expanded]:text-[var(--color-hover)]"
413
+ ].join(" "),
414
+ pagination: [
415
+ "border-2 border-solid bg-transparent",
416
+ "text-[var(--color-button-pagination-fg)] border-[var(--color-button-pagination-border)]",
417
+ "hover:bg-transparent hover:text-[var(--color-hover)] hover:border-[var(--color-hover)]",
418
+ "data-[selected]:bg-[var(--color-selected-control-bg)] data-[selected]:text-[var(--color-selected-control-text)] data-[selected]:border-transparent",
419
+ "data-[selected]:hover:bg-[var(--color-selected-control-bg)]",
420
+ "data-[selected]:hover:text-[var(--color-selected-control-text)] data-[selected]:hover:border-transparent"
421
+ ].join(" ")
422
+ };
423
+ var BASE_CLASSES = "font-semibold whitespace-nowrap transition-colors duration-150";
424
+ var SP = 4;
425
+ function buildShimStyle(props) {
426
+ const s = { ...props.style };
427
+ if (props.mt !== void 0) s.marginTop = typeof props.mt === "number" ? `${props.mt * SP}px` : props.mt;
428
+ if (props.ml !== void 0) s.marginLeft = typeof props.ml === "number" ? `${props.ml * SP}px` : props.ml;
429
+ if (props.mr !== void 0) s.marginRight = typeof props.mr === "number" ? `${props.mr * SP}px` : props.mr;
430
+ if (props.px !== void 0) {
431
+ const v = typeof props.px === "number" ? `${props.px * SP}px` : props.px;
432
+ s.paddingLeft = v;
433
+ s.paddingRight = v;
434
+ }
435
+ if (props.py !== void 0) {
436
+ const v = typeof props.py === "number" ? `${props.py * SP}px` : props.py;
437
+ s.paddingTop = v;
438
+ s.paddingBottom = v;
439
+ }
440
+ if (props.fontWeight !== void 0) s.fontWeight = props.fontWeight;
441
+ if (props.gap !== void 0) s.gap = typeof props.gap === "number" ? `${props.gap * SP}px` : props.gap;
442
+ if (props.flexShrink !== void 0) s.flexShrink = props.flexShrink;
443
+ if (props.columnGap !== void 0) s.columnGap = typeof props.columnGap === "number" ? `${props.columnGap * SP}px` : props.columnGap;
444
+ if (props.gridColumn !== void 0) s.gridColumn = typeof props.gridColumn === "number" ? String(props.gridColumn) : props.gridColumn;
445
+ if (props.gridRow) s.gridRow = props.gridRow;
446
+ if (props.justifySelf) s.justifySelf = props.justifySelf;
447
+ if (props.alignSelf) s.alignSelf = props.alignSelf;
448
+ if (props.h) s.height = props.h;
449
+ if (props.w) s.width = props.w;
450
+ if (props.display) s.display = props.display;
451
+ if (props.borderBottomRightRadius !== void 0) s.borderBottomRightRadius = typeof props.borderBottomRightRadius === "number" ? `${props.borderBottomRightRadius}px` : props.borderBottomRightRadius;
452
+ if (props.borderTopRightRadius !== void 0) s.borderTopRightRadius = typeof props.borderTopRightRadius === "number" ? `${props.borderTopRightRadius}px` : props.borderTopRightRadius;
453
+ return Object.keys(s).length > 0 ? s : void 0;
454
+ }
455
+ var Button = React8.forwardRef(
456
+ function Button2(props, ref) {
457
+ const {
458
+ className,
459
+ variant = "solid",
460
+ size = "md",
461
+ asChild = false,
462
+ loading = false,
463
+ loadingText,
464
+ loadingSkeleton = false,
465
+ expanded,
466
+ selected,
467
+ highlighted,
468
+ disabled,
469
+ children,
470
+ style: styleProp,
471
+ // Strip Chakra style props
472
+ mt,
473
+ ml,
474
+ mr,
475
+ px,
476
+ py,
477
+ fontWeight,
478
+ gap,
479
+ flexShrink,
480
+ columnGap,
481
+ gridColumn,
482
+ gridRow,
483
+ justifySelf,
484
+ alignSelf,
485
+ textStyle: _textStyle,
486
+ h,
487
+ w,
488
+ display,
489
+ borderBottomRightRadius,
490
+ borderTopRightRadius,
491
+ ...rest
492
+ } = props;
493
+ const mergedStyle = buildShimStyle({
494
+ style: styleProp,
495
+ mt,
496
+ ml,
497
+ mr,
498
+ px,
499
+ py,
500
+ fontWeight,
501
+ gap,
502
+ flexShrink,
503
+ columnGap,
504
+ gridColumn,
505
+ gridRow,
506
+ justifySelf,
507
+ alignSelf,
508
+ h,
509
+ w,
510
+ display,
511
+ borderBottomRightRadius,
512
+ borderTopRightRadius
513
+ });
514
+ const dataAttrs = {};
515
+ if (expanded) dataAttrs["data-expanded"] = true;
516
+ if (selected) dataAttrs["data-selected"] = true;
517
+ if (highlighted) dataAttrs["data-highlighted"] = true;
518
+ if (loadingSkeleton) dataAttrs["data-loading-skeleton"] = true;
519
+ const isDisabled = !loadingSkeleton && (loading || disabled);
520
+ const inner = loading ? /* @__PURE__ */ jsxs(Fragment, { children: [
521
+ /* @__PURE__ */ jsx(Spinner, {}),
522
+ loadingText != null && /* @__PURE__ */ jsx("span", { style: { marginLeft: 8 }, children: loadingText })
523
+ ] }) : children;
524
+ const variantClass = VARIANT_CLASSES[variant] ?? VARIANT_CLASSES.solid;
525
+ const combinedClassName = [BASE_CLASSES, variantClass, className].filter(Boolean).join(" ");
526
+ const button = /* @__PURE__ */ jsx(
527
+ ButtonFrame,
528
+ {
529
+ ref,
530
+ size,
531
+ disabled: isDisabled || void 0,
532
+ asChild: asChild || void 0,
533
+ className: combinedClassName,
534
+ style: mergedStyle,
535
+ ...dataAttrs,
536
+ ...rest,
537
+ children: inner
538
+ }
539
+ );
540
+ if (loadingSkeleton) {
541
+ return /* @__PURE__ */ jsx(Skeleton, { loading: loadingSkeleton, asChild: true, ref, children: button });
542
+ }
543
+ return button;
544
+ }
545
+ );
546
+ React8.forwardRef(
547
+ function ButtonGroup2(props, ref) {
548
+ const { className, ...rest } = props;
549
+ return /* @__PURE__ */ jsx(
550
+ Box,
551
+ {
552
+ ref,
553
+ className: ["inline-flex", className].filter(Boolean).join(" "),
554
+ role: "group",
555
+ ...rest
556
+ }
557
+ );
558
+ }
559
+ );
560
+ React8.forwardRef(
561
+ function ButtonGroupRadio2(props, ref) {
562
+ const {
563
+ children,
564
+ onChange,
565
+ variant = "segmented",
566
+ defaultValue,
567
+ loading = false,
568
+ equalWidth = false,
569
+ className,
570
+ ...rest
571
+ } = props;
572
+ const firstChildValue = React8.useMemo(() => {
573
+ const firstChild = Array.isArray(children) ? children[0] : void 0;
574
+ return typeof firstChild?.props.value === "string" ? firstChild.props.value : void 0;
575
+ }, [children]);
576
+ const [value, setValue] = React8.useState(defaultValue ?? firstChildValue);
577
+ const handleItemClick = React8.useCallback((event) => {
578
+ const v = event.currentTarget.value;
579
+ setValue(v);
580
+ onChange?.(v);
581
+ }, [onChange]);
582
+ const clonedChildren = React8.Children.map(children, (child) => {
583
+ return React8.cloneElement(child, {
584
+ onClick: handleItemClick,
585
+ selected: value === child.props.value,
586
+ variant
587
+ });
588
+ });
589
+ const childrenLength = React8.Children.count(children);
590
+ return /* @__PURE__ */ jsx(Skeleton, { loading, children: /* @__PURE__ */ jsx(
591
+ Box,
592
+ {
593
+ ref,
594
+ className: [
595
+ "inline-flex gap-0",
596
+ equalWidth ? "grid" : "",
597
+ className
598
+ ].filter(Boolean).join(" "),
599
+ style: equalWidth ? { gridTemplateColumns: `repeat(${childrenLength}, 1fr)` } : void 0,
600
+ role: "group",
601
+ ...rest,
602
+ children: clonedChildren
603
+ }
604
+ ) });
605
+ }
606
+ );
607
+ var MUTED = "var(--color-text-secondary)";
608
+ var TRACK = "var(--color-border-divider)";
609
+ var ACTIVE = "var(--color-link-primary)";
610
+ var ACTIVE_HOVER = "var(--color-link-primary-hover)";
611
+ var WHITE = "var(--color-white)";
612
+ var Slider = React8.forwardRef(
613
+ function Slider2(props, ref) {
614
+ const {
615
+ marks: marksProp,
616
+ label,
617
+ showValue,
618
+ value,
619
+ defaultValue,
620
+ min = 0,
621
+ max = 100,
622
+ step,
623
+ disabled,
624
+ orientation = "horizontal",
625
+ name,
626
+ onValueChange,
627
+ onValueCommit,
628
+ className
629
+ } = props;
630
+ const resolvedValue = defaultValue ?? value;
631
+ const marks = marksProp?.map((mark) => {
632
+ if (typeof mark === "number") return { value: mark, label: void 0 };
633
+ return mark;
634
+ });
635
+ const hasMarkLabel = Boolean(marks?.some((mark) => mark.label));
636
+ const latest = React8.useRef(value ?? defaultValue ?? []);
637
+ const handleValueChange = React8.useCallback((next) => {
638
+ latest.current = next;
639
+ onValueChange?.(next);
640
+ }, [onValueChange]);
641
+ const handleSlideEnd = React8.useCallback(() => {
642
+ onValueCommit?.(latest.current);
643
+ }, [onValueCommit]);
644
+ return /* @__PURE__ */ jsxs(YStack, { className, gap: 4, children: [
645
+ label && !showValue && /* @__PURE__ */ jsx(Text, { fontSize: 14, fontWeight: "500", color: MUTED, children: label }),
646
+ label && showValue && /* @__PURE__ */ jsxs(XStack, { alignItems: "center", justifyContent: "space-between", children: [
647
+ /* @__PURE__ */ jsx(Text, { fontSize: 14, fontWeight: "500", color: MUTED, children: label }),
648
+ /* @__PURE__ */ jsx(Text, { fontSize: 14, color: MUTED, children: (value ?? defaultValue ?? [])?.join(", ") })
649
+ ] }),
650
+ /* @__PURE__ */ jsxs(
651
+ Slider$1,
652
+ {
653
+ ref,
654
+ position: "relative",
655
+ flexDirection: "row",
656
+ width: "100%",
657
+ userSelect: "none",
658
+ alignItems: "center",
659
+ marginBottom: hasMarkLabel ? 24 : 0,
660
+ value,
661
+ defaultValue,
662
+ min,
663
+ max,
664
+ step,
665
+ disabled,
666
+ orientation,
667
+ name,
668
+ onValueChange: handleValueChange,
669
+ onSlideEnd: handleSlideEnd,
670
+ children: [
671
+ /* @__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 }) }),
672
+ resolvedValue?.map((_, index) => /* @__PURE__ */ jsx(
673
+ Slider$1.Thumb,
674
+ {
675
+ index,
676
+ unstyled: true,
677
+ width: 20,
678
+ height: 20,
679
+ borderRadius: 9999,
680
+ borderWidth: 2,
681
+ borderColor: ACTIVE,
682
+ backgroundColor: WHITE,
683
+ boxShadow: "var(--shadow-sm)",
684
+ transition: "quick",
685
+ hoverStyle: { borderColor: ACTIVE_HOVER },
686
+ focusStyle: { outlineWidth: 2, outlineStyle: "solid", outlineColor: ACTIVE, outlineOffset: 2 },
687
+ disabledStyle: { pointerEvents: "none", opacity: 0.5 }
688
+ },
689
+ index
690
+ ))
691
+ ]
692
+ }
693
+ ),
694
+ /* @__PURE__ */ jsx(SliderMarks, { marks, min, max })
695
+ ] });
696
+ }
697
+ );
698
+ function SliderMarks(props) {
699
+ const { marks, min, max } = props;
700
+ if (!marks?.length) return null;
701
+ const range = max - min;
702
+ return /* @__PURE__ */ jsx(View, { position: "relative", width: "100%", height: 16, children: marks.map((mark, index) => {
703
+ const percent = (mark.value - min) / range * 100;
704
+ return /* @__PURE__ */ jsxs(View, { position: "absolute", left: `${percent}%`, alignItems: "center", children: [
705
+ /* @__PURE__ */ jsx(View, { width: 2, height: 6, backgroundColor: TRACK }),
706
+ mark.label != null && /* @__PURE__ */ jsx(Text, { marginTop: 2, fontSize: 12, color: MUTED, children: mark.label })
707
+ ] }, index);
708
+ }) });
709
+ }
710
+ var SIZE2 = {
711
+ xs: { height: 24, paddingHorizontal: 8, fontSize: "$1", borderRadius: 4 },
712
+ sm: { height: 32, paddingHorizontal: 12, fontSize: "$3", borderRadius: 6 },
713
+ md: { height: 40, paddingHorizontal: 16, fontSize: "$5", borderRadius: 6 },
714
+ lg: { height: 48, paddingHorizontal: 16, fontSize: "$6", borderRadius: 8 },
715
+ "2xl": { height: 56, paddingHorizontal: 16, fontSize: "$7", borderRadius: 8 }
716
+ };
717
+ var VARIANT = {
718
+ outline: { borderWidth: 1, borderStyle: "solid" },
719
+ filled: { borderWidth: 0, backgroundColor: "var(--color-input-filled-bg)" },
720
+ unstyled: { borderWidth: 0, backgroundColor: "transparent", padding: 0, height: "auto" }
721
+ };
722
+ var CONTROL = {
723
+ width: "100%",
724
+ outlineWidth: 0,
725
+ backgroundColor: "var(--color-input-bg)",
726
+ color: "var(--color-input-fg)",
727
+ borderColor: "var(--color-input-border)",
728
+ hoverStyle: { borderColor: "var(--color-input-border-hover)" },
729
+ focusStyle: { borderColor: "var(--color-input-border-focus)" },
730
+ disabledStyle: { opacity: 0.4, cursor: "not-allowed" }
731
+ };
732
+ var Input = React8__default.forwardRef(
733
+ ({ size = "md", variant = "outline", className, onChange, onChangeText, ...rest }, ref) => {
734
+ const handleChange = React8__default.useCallback(
735
+ (event) => {
736
+ onChange?.(event);
737
+ onChangeText?.(event.target.value);
738
+ },
739
+ [onChange, onChangeText]
740
+ );
741
+ return /* @__PURE__ */ jsx(
742
+ Input$1,
743
+ {
744
+ ref,
745
+ unstyled: true,
746
+ className: className ? `lux-control ${className}` : "lux-control",
747
+ ...CONTROL,
748
+ ...SIZE2[size],
749
+ ...VARIANT[variant],
750
+ ...rest,
751
+ onChange: handleChange
752
+ }
753
+ );
754
+ }
755
+ );
756
+ Input.displayName = "Input";
757
+ var SIZE3 = {
758
+ xs: { paddingHorizontal: 8, paddingVertical: 4, fontSize: "$1", borderRadius: 4 },
759
+ sm: { paddingHorizontal: 12, paddingVertical: 8, fontSize: "$3", borderRadius: 6 },
760
+ md: { paddingHorizontal: 16, paddingVertical: 8, fontSize: "$5", borderRadius: 6 },
761
+ lg: { paddingHorizontal: 16, paddingVertical: 12, fontSize: "$6", borderRadius: 8 },
762
+ "2xl": { paddingHorizontal: 16, paddingVertical: 12, fontSize: "$7", borderRadius: 8 }
763
+ };
764
+ var Textarea = React8__default.forwardRef(
765
+ ({ size = "md", variant = "outline", className, onChange, onChangeText, ...rest }, ref) => {
766
+ const handleChange = React8__default.useCallback(
767
+ (event) => {
768
+ onChange?.(event);
769
+ onChangeText?.(event.target.value);
770
+ },
771
+ [onChange, onChangeText]
772
+ );
773
+ return /* @__PURE__ */ jsx(
774
+ TextArea,
775
+ {
776
+ ref,
777
+ unstyled: true,
778
+ className: className ? `lux-control ${className}` : "lux-control",
779
+ ...CONTROL,
780
+ ...SIZE3[size],
781
+ ...VARIANT[variant],
782
+ ...rest,
783
+ onChange: handleChange
784
+ }
785
+ );
786
+ }
787
+ );
788
+ Textarea.displayName = "Textarea";
789
+ var AI_MODELS = [
790
+ { value: "gpt-4", label: "GPT-4", provider: "OpenAI" },
791
+ { value: "gpt-4-turbo", label: "GPT-4 Turbo", provider: "OpenAI" },
792
+ { value: "gpt-3.5-turbo", label: "GPT-3.5 Turbo", provider: "OpenAI" },
793
+ { value: "claude-3-opus", label: "Claude 3 Opus", provider: "Anthropic" },
794
+ { value: "claude-3-sonnet", label: "Claude 3 Sonnet", provider: "Anthropic" },
795
+ { value: "claude-3-haiku", label: "Claude 3 Haiku", provider: "Anthropic" },
796
+ { value: "llama-3-70b", label: "Llama 3 70B", provider: "Meta" },
797
+ { value: "llama-3-8b", label: "Llama 3 8B", provider: "Meta" },
798
+ { value: "mixtral-8x7b", label: "Mixtral 8x7B", provider: "Mistral" },
799
+ { value: "gemini-pro", label: "Gemini Pro", provider: "Google" }
800
+ ];
801
+ function AIPlayground({
802
+ className,
803
+ defaultModel = "gpt-4",
804
+ defaultSystemPrompt = "You are a helpful AI assistant.",
805
+ onSendMessage,
806
+ showSettings = true
807
+ }) {
808
+ const [messages, setMessages] = React8.useState([]);
809
+ const [input, setInput] = React8.useState("");
810
+ const [isLoading, setIsLoading] = React8.useState(false);
811
+ const [error, setError] = React8.useState(null);
812
+ const [copiedId, setCopiedId] = React8.useState(null);
813
+ const [showConfig, setShowConfig] = React8.useState(false);
814
+ const [config, setConfig] = React8.useState({
815
+ model: defaultModel,
816
+ temperature: 0.7,
817
+ maxTokens: 2e3,
818
+ systemPrompt: defaultSystemPrompt
819
+ });
820
+ const messagesEndRef = React8.useRef(null);
821
+ const textareaRef = React8.useRef(null);
822
+ const scrollToBottom = () => {
823
+ messagesEndRef.current?.scrollIntoView({ behavior: "smooth" });
824
+ };
825
+ React8.useEffect(() => {
826
+ scrollToBottom();
827
+ }, [messages]);
828
+ const handleSend = async () => {
829
+ if (!input.trim()) return;
830
+ const userMessage = {
831
+ id: `msg-${Date.now()}`,
832
+ role: "user",
833
+ content: input.trim(),
834
+ timestamp: /* @__PURE__ */ new Date()
835
+ };
836
+ setMessages((prev) => [...prev, userMessage]);
837
+ setInput("");
838
+ setIsLoading(true);
839
+ setError(null);
840
+ try {
841
+ let response;
842
+ if (onSendMessage) {
843
+ response = await onSendMessage(userMessage.content, config);
844
+ } else {
845
+ await new Promise((resolve) => setTimeout(resolve, 1e3));
846
+ response = `This is a mock response from ${config.model}. In a real implementation, this would call your AI API with the following configuration:
847
+
848
+ Model: ${config.model}
849
+ Temperature: ${config.temperature}
850
+ Max Tokens: ${config.maxTokens}
851
+ System Prompt: ${config.systemPrompt}
852
+
853
+ Your message: "${userMessage.content}"`;
854
+ }
855
+ const assistantMessage = {
856
+ id: `msg-${Date.now()}`,
857
+ role: "assistant",
858
+ content: response,
859
+ timestamp: /* @__PURE__ */ new Date(),
860
+ model: config.model
861
+ };
862
+ setMessages((prev) => [...prev, assistantMessage]);
863
+ } catch (err) {
864
+ setError(err instanceof Error ? err.message : "Failed to send message");
865
+ } finally {
866
+ setIsLoading(false);
867
+ setTimeout(() => textareaRef.current?.focus(), 100);
868
+ }
869
+ };
870
+ const handleCopy = async (message) => {
871
+ try {
872
+ await navigator.clipboard.writeText(message.content);
873
+ setCopiedId(message.id);
874
+ setTimeout(() => setCopiedId(null), 2e3);
875
+ } catch {
876
+ setError("Failed to copy to clipboard");
877
+ }
878
+ };
879
+ const handleClear = () => {
880
+ setMessages([]);
881
+ setError(null);
882
+ };
883
+ const handleKeyDown = (e) => {
884
+ if (e.key === "Enter" && !e.shiftKey) {
885
+ e.preventDefault();
886
+ handleSend();
887
+ }
888
+ };
889
+ return /* @__PURE__ */ jsxs(Card, { ...sx(cn("w-full max-w-4xl", className)), children: [
890
+ /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsxs(Box, { className: "flex items-center justify-between", children: [
891
+ /* @__PURE__ */ jsxs(Box, { className: "space-y-1", children: [
892
+ /* @__PURE__ */ jsxs(CardTitle, { ...sx("flex items-center gap-2"), children: [
893
+ /* @__PURE__ */ jsx(Sparkles, { style: css("h-5 w-5") }),
894
+ "AI Playground"
895
+ ] }),
896
+ /* @__PURE__ */ jsx(CardDescription, { children: "Interact with various AI models in real-time" })
897
+ ] }),
898
+ /* @__PURE__ */ jsxs(Box, { className: "flex items-center gap-2", children: [
899
+ messages.length > 0 && /* @__PURE__ */ jsxs(
900
+ Button,
901
+ {
902
+ variant: "outline",
903
+ size: "sm",
904
+ onClick: handleClear,
905
+ ...sx("h-8"),
906
+ children: [
907
+ /* @__PURE__ */ jsx(Trash2, { style: css("h-4 w-4 mr-1") }),
908
+ "Clear"
909
+ ]
910
+ }
911
+ ),
912
+ showSettings && /* @__PURE__ */ jsxs(
913
+ Button,
914
+ {
915
+ variant: "outline",
916
+ size: "sm",
917
+ onClick: () => setShowConfig(!showConfig),
918
+ ...sx("h-8"),
919
+ children: [
920
+ /* @__PURE__ */ jsx(Settings2, { style: css("h-4 w-4 mr-1") }),
921
+ "Settings"
922
+ ]
923
+ }
924
+ )
925
+ ] })
926
+ ] }) }),
927
+ /* @__PURE__ */ jsxs(CardContent, { ...sx("space-y-4"), children: [
928
+ showConfig && /* @__PURE__ */ jsxs(Box, { className: "rounded-lg border bg-muted/50 p-4 space-y-4", children: [
929
+ /* @__PURE__ */ jsxs(Box, { className: "grid gap-4 md:grid-cols-2", children: [
930
+ /* @__PURE__ */ jsxs(Box, { className: "space-y-2", children: [
931
+ /* @__PURE__ */ jsx(Label, { htmlFor: "model", children: "Model" }),
932
+ /* @__PURE__ */ jsxs(
933
+ Select,
934
+ {
935
+ value: config.model,
936
+ onValueChange: (value) => setConfig((prev) => ({ ...prev, model: value })),
937
+ children: [
938
+ /* @__PURE__ */ jsx(SelectTrigger, { id: "model", children: /* @__PURE__ */ jsx(SelectValue, {}) }),
939
+ /* @__PURE__ */ jsx(SelectContent, { children: AI_MODELS.map((model) => /* @__PURE__ */ jsx(SelectItem, { value: model.value, children: /* @__PURE__ */ jsxs(Box, { className: "flex flex-col", children: [
940
+ /* @__PURE__ */ jsx("span", { children: model.label }),
941
+ /* @__PURE__ */ jsx(Box, { tag: "span", className: "text-xs text-muted-foreground", children: model.provider })
942
+ ] }) }, model.value)) })
943
+ ]
944
+ }
945
+ )
946
+ ] }),
947
+ /* @__PURE__ */ jsxs(Box, { className: "space-y-2", children: [
948
+ /* @__PURE__ */ jsxs(Label, { htmlFor: "max-tokens", children: [
949
+ "Max Tokens: ",
950
+ config.maxTokens
951
+ ] }),
952
+ /* @__PURE__ */ jsx(
953
+ Slider,
954
+ {
955
+ id: "max-tokens",
956
+ min: 100,
957
+ max: 4e3,
958
+ step: 100,
959
+ value: [config.maxTokens],
960
+ onValueChange: (value) => setConfig((prev) => ({ ...prev, maxTokens: value[0] })),
961
+ ...sx("w-full")
962
+ }
963
+ )
964
+ ] })
965
+ ] }),
966
+ /* @__PURE__ */ jsxs(Box, { className: "space-y-2", children: [
967
+ /* @__PURE__ */ jsxs(Label, { htmlFor: "temperature", children: [
968
+ "Temperature: ",
969
+ config.temperature.toFixed(1)
970
+ ] }),
971
+ /* @__PURE__ */ jsx(
972
+ Slider,
973
+ {
974
+ id: "temperature",
975
+ min: 0,
976
+ max: 2,
977
+ step: 0.1,
978
+ value: [config.temperature],
979
+ onValueChange: (value) => setConfig((prev) => ({ ...prev, temperature: value[0] })),
980
+ ...sx("w-full")
981
+ }
982
+ ),
983
+ /* @__PURE__ */ jsx(Box, { tag: "p", className: "text-xs text-muted-foreground", children: "Lower values make the output more focused and deterministic" })
984
+ ] }),
985
+ /* @__PURE__ */ jsxs(Box, { className: "space-y-2", children: [
986
+ /* @__PURE__ */ jsx(Label, { htmlFor: "system-prompt", children: "System Prompt" }),
987
+ /* @__PURE__ */ jsx(
988
+ Textarea,
989
+ {
990
+ id: "system-prompt",
991
+ placeholder: "Enter system prompt...",
992
+ value: config.systemPrompt,
993
+ onChange: (e) => setConfig((prev) => ({
994
+ ...prev,
995
+ systemPrompt: e.target.value
996
+ })),
997
+ ...sx("min-h-[80px] resize-none")
998
+ }
999
+ )
1000
+ ] })
1001
+ ] }),
1002
+ error && /* @__PURE__ */ jsxs(Alert, { children: [
1003
+ /* @__PURE__ */ jsx(AlertCircle, { style: css("h-4 w-4") }),
1004
+ /* @__PURE__ */ jsx(Text, { children: error })
1005
+ ] }),
1006
+ /* @__PURE__ */ jsx(Box, { className: "rounded-lg border bg-muted/30 min-h-[300px] max-h-[500px] overflow-y-auto p-4 space-y-4", children: messages.length === 0 ? /* @__PURE__ */ jsxs(Box, { className: "flex flex-col items-center justify-center h-[280px] text-muted-foreground", children: [
1007
+ /* @__PURE__ */ jsx(Sparkles, { style: css("h-8 w-8 mb-2 opacity-50") }),
1008
+ /* @__PURE__ */ jsx(Box, { tag: "p", className: "text-sm", children: "Start a conversation with AI" }),
1009
+ /* @__PURE__ */ jsxs(Box, { tag: "p", className: "text-xs mt-1", children: [
1010
+ "Using ",
1011
+ AI_MODELS.find((m) => m.value === config.model)?.label
1012
+ ] })
1013
+ ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
1014
+ messages.map((message) => /* @__PURE__ */ jsx(
1015
+ Box,
1016
+ {
1017
+ className: cn(
1018
+ "flex gap-3",
1019
+ message.role === "user" ? "justify-end" : "justify-start"
1020
+ ),
1021
+ children: /* @__PURE__ */ jsxs(
1022
+ Box,
1023
+ {
1024
+ className: cn(
1025
+ "rounded-lg px-4 py-2 max-w-[80%] relative group",
1026
+ message.role === "user" ? "bg-primary text-primary-foreground" : "bg-muted"
1027
+ ),
1028
+ children: [
1029
+ message.role === "assistant" && message.model && /* @__PURE__ */ jsx(Box, { className: "text-xs opacity-70 mb-1", children: AI_MODELS.find((m) => m.value === message.model)?.label }),
1030
+ /* @__PURE__ */ jsx(Box, { className: "whitespace-pre-wrap break-words", children: message.content }),
1031
+ /* @__PURE__ */ jsxs(Box, { className: "flex items-center gap-2 mt-2", children: [
1032
+ /* @__PURE__ */ jsx(Box, { tag: "span", className: "text-xs opacity-50", children: message.timestamp.toLocaleTimeString() }),
1033
+ /* @__PURE__ */ jsx(
1034
+ Button,
1035
+ {
1036
+ variant: "ghost",
1037
+ size: "sm",
1038
+ onClick: () => handleCopy(message),
1039
+ ...sx("h-6 w-6 p-0 opacity-0 group-hover:opacity-100 transition-opacity"),
1040
+ children: copiedId === message.id ? /* @__PURE__ */ jsx(Check, { style: css("h-3 w-3") }) : /* @__PURE__ */ jsx(Copy, { style: css("h-3 w-3") })
1041
+ }
1042
+ )
1043
+ ] })
1044
+ ]
1045
+ }
1046
+ )
1047
+ },
1048
+ message.id
1049
+ )),
1050
+ isLoading && /* @__PURE__ */ jsx(Box, { className: "flex gap-3", children: /* @__PURE__ */ jsx(Box, { className: "rounded-lg px-4 py-2 bg-muted", children: /* @__PURE__ */ jsx(Loader2, { style: css("h-4 w-4 animate-spin") }) }) }),
1051
+ /* @__PURE__ */ jsx("div", { ref: messagesEndRef })
1052
+ ] }) }),
1053
+ /* @__PURE__ */ jsxs(Box, { className: "flex gap-2", children: [
1054
+ /* @__PURE__ */ jsx(
1055
+ Textarea,
1056
+ {
1057
+ ref: textareaRef,
1058
+ placeholder: "Type your message...",
1059
+ value: input,
1060
+ onChange: (e) => setInput(e.target.value),
1061
+ onKeyDown: handleKeyDown,
1062
+ disabled: isLoading,
1063
+ ...sx("min-h-[80px] resize-none flex-1")
1064
+ }
1065
+ ),
1066
+ /* @__PURE__ */ jsx(Box, { className: "flex flex-col gap-2", children: /* @__PURE__ */ jsx(
1067
+ Button,
1068
+ {
1069
+ onClick: handleSend,
1070
+ disabled: !input.trim() || isLoading,
1071
+ ...sx("h-[80px]"),
1072
+ children: isLoading ? /* @__PURE__ */ jsx(Loader2, { style: css("h-4 w-4 animate-spin") }) : /* @__PURE__ */ jsx(Send, { style: css("h-4 w-4") })
1073
+ }
1074
+ ) })
1075
+ ] })
1076
+ ] }),
1077
+ /* @__PURE__ */ jsx(CardFooter, { ...sx("text-xs text-muted-foreground"), children: /* @__PURE__ */ jsxs("p", { children: [
1078
+ "Model: ",
1079
+ AI_MODELS.find((m) => m.value === config.model)?.label,
1080
+ " \u2022 Temperature: ",
1081
+ config.temperature,
1082
+ " \u2022 Max Tokens: ",
1083
+ config.maxTokens
1084
+ ] }) })
1085
+ ] });
1086
+ }
1087
+
1088
+ export { AIPlayground, AI_MODELS };