@orion-ds/react 4.6.6 → 4.7.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 (442) hide show
  1. package/dist/blocks/index.d 2.ts +9 -0
  2. package/dist/blocks/index.d.ts 2.map +1 -0
  3. package/dist/blocks 2.css +76 -0
  4. package/dist/components/index.d 4.ts +151 -0
  5. package/dist/components/index.d.ts 4.map +1 -0
  6. package/dist/contexts/ThemeContext.d 4.ts +70 -0
  7. package/dist/contexts/ThemeContext.d.ts 4.map +1 -0
  8. package/dist/contexts/index.d 4.ts +8 -0
  9. package/dist/contexts/index.d.ts 4.map +1 -0
  10. package/dist/dnd.d 2.ts +16 -0
  11. package/dist/dnd.d.ts 2.map +1 -0
  12. package/dist/docs/DocComponents.d 3.ts +61 -0
  13. package/dist/docs/DocComponents.d.ts 3.map +1 -0
  14. package/dist/editor.d 2.ts +13 -0
  15. package/dist/editor.d.ts 2.map +1 -0
  16. package/dist/examples/LandingPage.example.d 4.ts +47 -0
  17. package/dist/examples/LandingPage.example.d.ts 4.map +1 -0
  18. package/dist/examples/index.d 4.ts +22 -0
  19. package/dist/examples/index.d.ts 4.map +1 -0
  20. package/dist/hooks/index.d 4.ts +20 -0
  21. package/dist/hooks/index.d.ts 4.map +1 -0
  22. package/dist/hooks/useClickOutside.d 4.ts +19 -0
  23. package/dist/hooks/useClickOutside.d.ts 4.map +1 -0
  24. package/dist/hooks/useCopyToClipboard.d 4.ts +72 -0
  25. package/dist/hooks/useCopyToClipboard.d.ts 4.map +1 -0
  26. package/dist/hooks/useDebounce.d 4.ts +58 -0
  27. package/dist/hooks/useDebounce.d.ts 4.map +1 -0
  28. package/dist/hooks/useDisclosure.d 4.ts +86 -0
  29. package/dist/hooks/useDisclosure.d.ts 4.map +1 -0
  30. package/dist/hooks/useKeyboard.d 4.ts +101 -0
  31. package/dist/hooks/useKeyboard.d.ts 4.map +1 -0
  32. package/dist/hooks/useLocalStorage.d 4.ts +48 -0
  33. package/dist/hooks/useLocalStorage.d.ts 4.map +1 -0
  34. package/dist/hooks/useMediaQuery.d 4.ts +43 -0
  35. package/dist/hooks/useMediaQuery.d.ts 4.map +1 -0
  36. package/dist/hooks/useTheme.d 4.ts +73 -0
  37. package/dist/hooks/useTheme.d.ts 4.map +1 -0
  38. package/dist/index 3.mjs +275 -0
  39. package/dist/index 4.cjs +1 -0
  40. package/dist/index.d 2.ts +171 -0
  41. package/dist/index.d.ts 2.map +1 -0
  42. package/dist/index10 2.mjs +58 -0
  43. package/dist/index10 3.cjs +1 -0
  44. package/dist/index100 3.cjs +1 -0
  45. package/dist/index100 3.mjs +23 -0
  46. package/dist/index101 2.mjs +29 -0
  47. package/dist/index101 3.cjs +1 -0
  48. package/dist/index102 2.mjs +45 -0
  49. package/dist/index102 3.cjs +1 -0
  50. package/dist/index103 3.cjs +1 -0
  51. package/dist/index103 3.mjs +67 -0
  52. package/dist/index104 2.cjs +1 -0
  53. package/dist/index104 2.mjs +65 -0
  54. package/dist/index105 2.cjs +1 -0
  55. package/dist/index105 3.mjs +27 -0
  56. package/dist/index106 2.cjs +1 -0
  57. package/dist/index106 2.mjs +39 -0
  58. package/dist/index107 2.cjs +1 -0
  59. package/dist/index107 3.mjs +21 -0
  60. package/dist/index108 2.mjs +33 -0
  61. package/dist/index108 4.cjs +1 -0
  62. package/dist/index109 2.cjs +1 -0
  63. package/dist/index109 4.mjs +39 -0
  64. package/dist/index11 2.mjs +20 -0
  65. package/dist/index11 4.cjs +1 -0
  66. package/dist/index110 2.cjs +1 -0
  67. package/dist/index110 2.mjs +31 -0
  68. package/dist/index111 2.mjs +49 -0
  69. package/dist/index111 3.cjs +1 -0
  70. package/dist/index112 2.cjs +1 -0
  71. package/dist/index112 2.mjs +36 -0
  72. package/dist/index113 2.cjs +1 -0
  73. package/dist/index113 2.mjs +43 -0
  74. package/dist/index114 2.cjs +1 -0
  75. package/dist/index114 2.mjs +27 -0
  76. package/dist/index115 3.mjs +237 -0
  77. package/dist/index115 4.cjs +1 -0
  78. package/dist/index116 3.cjs +1 -0
  79. package/dist/index116 3.mjs +36 -0
  80. package/dist/index117 2.mjs +46 -0
  81. package/dist/index117 4.cjs +1 -0
  82. package/dist/index118 2.cjs +1 -0
  83. package/dist/index118 2.mjs +173 -0
  84. package/dist/index119 2.cjs +1 -0
  85. package/dist/index119 2.mjs +188 -0
  86. package/dist/index120 2.mjs +31 -0
  87. package/dist/index120 3.cjs +1 -0
  88. package/dist/index121 2.cjs +1 -0
  89. package/dist/index121 2.mjs +93 -0
  90. package/dist/index122 2.mjs +55 -0
  91. package/dist/index122 4.cjs +1 -0
  92. package/dist/index123 2.cjs +1 -0
  93. package/dist/index123 3.mjs +69 -0
  94. package/dist/index124 2.mjs +127 -0
  95. package/dist/index124 4.cjs +1 -0
  96. package/dist/index125 3.mjs +111 -0
  97. package/dist/index125 4.cjs +1 -0
  98. package/dist/index126 4.cjs +1 -0
  99. package/dist/index126 4.mjs +114 -0
  100. package/dist/index127 2.mjs +125 -0
  101. package/dist/index127 4.cjs +1 -0
  102. package/dist/index128 2.cjs +1 -0
  103. package/dist/index128 2.mjs +217 -0
  104. package/dist/index129 2.cjs +1 -0
  105. package/dist/index129 2.mjs +109 -0
  106. package/dist/index13 2.mjs +84 -0
  107. package/dist/index13 4.cjs +1 -0
  108. package/dist/index130 2.cjs +1 -0
  109. package/dist/index130 2.mjs +68 -0
  110. package/dist/index131 2.cjs +1 -0
  111. package/dist/index131 3.mjs +45 -0
  112. package/dist/index132 3.cjs +1 -0
  113. package/dist/index132 4.mjs +31 -0
  114. package/dist/index133 3.mjs +33 -0
  115. package/dist/index133 4.cjs +1 -0
  116. package/dist/index134 2.mjs +49 -0
  117. package/dist/index134 3.cjs +1 -0
  118. package/dist/index135 3.cjs +1 -0
  119. package/dist/index135 4.mjs +15 -0
  120. package/dist/index136 2.mjs +47 -0
  121. package/dist/index136 3.cjs +1 -0
  122. package/dist/index137 2.mjs +58 -0
  123. package/dist/index137 3.cjs +1 -0
  124. package/dist/index138 2.mjs +23 -0
  125. package/dist/index138 4.cjs +1 -0
  126. package/dist/index139 2.mjs +21 -0
  127. package/dist/index139 3.cjs +1 -0
  128. package/dist/index14 2.mjs +71 -0
  129. package/dist/index14 4.cjs +1 -0
  130. package/dist/index140 2.cjs +1 -0
  131. package/dist/index140 4.mjs +27 -0
  132. package/dist/index141 2.cjs +1 -0
  133. package/dist/index141 2.mjs +27 -0
  134. package/dist/index142 3.mjs +56 -0
  135. package/dist/index142 4.cjs +1 -0
  136. package/dist/index143 2.mjs +47 -0
  137. package/dist/index143 3.cjs +1 -0
  138. package/dist/index144 2.mjs +31 -0
  139. package/dist/index144 4.cjs +1 -0
  140. package/dist/index145 2.cjs +1 -0
  141. package/dist/index145 3.mjs +70 -0
  142. package/dist/index146 2.cjs +1 -0
  143. package/dist/index146 3.mjs +36 -0
  144. package/dist/index147 2.mjs +23 -0
  145. package/dist/index147 4.cjs +1 -0
  146. package/dist/index148 2.mjs +25 -0
  147. package/dist/index148 4.cjs +1 -0
  148. package/dist/index149 2.cjs +1 -0
  149. package/dist/index149 3.mjs +55 -0
  150. package/dist/index15 2.cjs +1 -0
  151. package/dist/index15 3.mjs +135 -0
  152. package/dist/index150 2.cjs +1 -0
  153. package/dist/index150 3.mjs +57 -0
  154. package/dist/index151 3.cjs +1 -0
  155. package/dist/index151 3.mjs +49 -0
  156. package/dist/index152 2.cjs +1 -0
  157. package/dist/index152 2.mjs +79 -0
  158. package/dist/index153 2.mjs +17 -0
  159. package/dist/index153 3.cjs +1 -0
  160. package/dist/index154 2.mjs +45 -0
  161. package/dist/index154 3.cjs +1 -0
  162. package/dist/index155 2.cjs +1 -0
  163. package/dist/index155 3.mjs +43 -0
  164. package/dist/index156 2.cjs +1 -0
  165. package/dist/index156 3.mjs +38 -0
  166. package/dist/index157 2.cjs +1 -0
  167. package/dist/index157 3.mjs +31 -0
  168. package/dist/index158 2.cjs +1 -0
  169. package/dist/index158 2.mjs +43 -0
  170. package/dist/index159 2.mjs +23 -0
  171. package/dist/index159 3.cjs +1 -0
  172. package/dist/index16 3.cjs +1 -0
  173. package/dist/index16 3.mjs +106 -0
  174. package/dist/index160 2.cjs +1 -0
  175. package/dist/index160 3.mjs +15 -0
  176. package/dist/index161 2.cjs +1 -0
  177. package/dist/index161 3.mjs +60 -0
  178. package/dist/index162 2.cjs +1 -0
  179. package/dist/index162 3.mjs +35 -0
  180. package/dist/index163 2.cjs +1 -0
  181. package/dist/index163 2.mjs +19 -0
  182. package/dist/index164 2.cjs +1 -0
  183. package/dist/index164 2.mjs +31 -0
  184. package/dist/index165 2.mjs +21 -0
  185. package/dist/index165 3.cjs +1 -0
  186. package/dist/index166 2.cjs +1 -0
  187. package/dist/index166 2.mjs +48 -0
  188. package/dist/index167 3.cjs +1 -0
  189. package/dist/index167 3.mjs +55 -0
  190. package/dist/index168 3.mjs +65 -0
  191. package/dist/index168 4.cjs +1 -0
  192. package/dist/index169 2.cjs +1 -0
  193. package/dist/index169 2.mjs +39 -0
  194. package/dist/index17 2.cjs +1 -0
  195. package/dist/index17 2.mjs +178 -0
  196. package/dist/index170 2.mjs +33 -0
  197. package/dist/index170 3.cjs +1 -0
  198. package/dist/index171 3.cjs +1 -0
  199. package/dist/index171 3.mjs +31 -0
  200. package/dist/index172 2.cjs +1 -0
  201. package/dist/index172 4.mjs +35 -0
  202. package/dist/index173 2.cjs +1 -0
  203. package/dist/index173 2.mjs +31 -0
  204. package/dist/index174 2.cjs +1 -0
  205. package/dist/index174 2.mjs +33 -0
  206. package/dist/index175 2.cjs +1 -0
  207. package/dist/index175 2.mjs +67 -0
  208. package/dist/index176 2.cjs +1 -0
  209. package/dist/index176 2.mjs +30 -0
  210. package/dist/index177 2.mjs +41 -0
  211. package/dist/index177 4.cjs +1 -0
  212. package/dist/index178 2.mjs +33 -0
  213. package/dist/index178 3.cjs +1 -0
  214. package/dist/index179 2.cjs +1 -0
  215. package/dist/index179 2.mjs +33 -0
  216. package/dist/index18 2.mjs +38 -0
  217. package/dist/index18 3.cjs +1 -0
  218. package/dist/index180 2.cjs +1 -0
  219. package/dist/index180 3.mjs +53 -0
  220. package/dist/index181 2.cjs +1 -0
  221. package/dist/index181 2.mjs +59 -0
  222. package/dist/index182 2.mjs +21 -0
  223. package/dist/index182 3.cjs +1 -0
  224. package/dist/index183 2.cjs +1 -0
  225. package/dist/index183 3.mjs +21 -0
  226. package/dist/index184 2.cjs +1 -0
  227. package/dist/index184 2.mjs +12 -0
  228. package/dist/index185 2.cjs +1 -0
  229. package/dist/index185 2.mjs +57 -0
  230. package/dist/index19 2.cjs +1 -0
  231. package/dist/index19 2.mjs +103 -0
  232. package/dist/index20 2.cjs +1 -0
  233. package/dist/index20 2.mjs +56 -0
  234. package/dist/index21 2.cjs +1 -0
  235. package/dist/index21 3.mjs +84 -0
  236. package/dist/index22 2.cjs +1 -0
  237. package/dist/index22 2.mjs +86 -0
  238. package/dist/index23 2.cjs +6 -0
  239. package/dist/index23 4.mjs +255 -0
  240. package/dist/index24 2.mjs +114 -0
  241. package/dist/index24 3.cjs +1 -0
  242. package/dist/index25 2.cjs +1 -0
  243. package/dist/index25 4.mjs +196 -0
  244. package/dist/index26 3.mjs +271 -0
  245. package/dist/index26 4.cjs +1 -0
  246. package/dist/index27 2.cjs +1 -0
  247. package/dist/index27 2.mjs +248 -0
  248. package/dist/index28 2.cjs +1 -0
  249. package/dist/index28 2.mjs +193 -0
  250. package/dist/index29 2.cjs +1 -0
  251. package/dist/index29 2.mjs +26 -0
  252. package/dist/index3 2.cjs +1 -0
  253. package/dist/index3 2.mjs +600 -0
  254. package/dist/index30 2.cjs +1 -0
  255. package/dist/index30 2.mjs +339 -0
  256. package/dist/index31 2.cjs +1 -0
  257. package/dist/index31 4.mjs +104 -0
  258. package/dist/index32 2.mjs +103 -0
  259. package/dist/index32 3.cjs +1 -0
  260. package/dist/index33 2.cjs +1 -0
  261. package/dist/index33 4.mjs +48 -0
  262. package/dist/index34 2.cjs +1 -0
  263. package/dist/index34 3.mjs +132 -0
  264. package/dist/index35 2.cjs +1 -0
  265. package/dist/index35 2.mjs +176 -0
  266. package/dist/index36 2.cjs +1 -0
  267. package/dist/index36 2.mjs +30 -0
  268. package/dist/index37 2.cjs +1 -0
  269. package/dist/index37 2.mjs +43 -0
  270. package/dist/index38 2.cjs +1 -0
  271. package/dist/index38 2.mjs +107 -0
  272. package/dist/index39 2.cjs +1 -0
  273. package/dist/index39 4.mjs +202 -0
  274. package/dist/index4 2.mjs +59 -0
  275. package/dist/index4 3.cjs +3 -0
  276. package/dist/index40 2.mjs +164 -0
  277. package/dist/index40 3.cjs +1 -0
  278. package/dist/index41 3.cjs +1 -0
  279. package/dist/index41 3.mjs +47 -0
  280. package/dist/index42 2.cjs +1 -0
  281. package/dist/index42 2.mjs +84 -0
  282. package/dist/index43 2.cjs +1 -0
  283. package/dist/index43 3.mjs +54 -0
  284. package/dist/index44 2.mjs +205 -0
  285. package/dist/index44 3.cjs +3 -0
  286. package/dist/index45 3.cjs +1 -0
  287. package/dist/index45 3.mjs +104 -0
  288. package/dist/index46 2.cjs +1 -0
  289. package/dist/index46 4.mjs +143 -0
  290. package/dist/index47 2.cjs +1 -0
  291. package/dist/index47 2.mjs +190 -0
  292. package/dist/index48 2.mjs +106 -0
  293. package/dist/index48 3.cjs +1 -0
  294. package/dist/index49 2.cjs +1 -0
  295. package/dist/index49 2.mjs +82 -0
  296. package/dist/index5 2.cjs +1 -0
  297. package/dist/index5 2.mjs +94 -0
  298. package/dist/index50 2.mjs +95 -0
  299. package/dist/index50 3.cjs +1 -0
  300. package/dist/index51 2.cjs +1 -0
  301. package/dist/index51 2.mjs +125 -0
  302. package/dist/index52 2.cjs +1 -0
  303. package/dist/index52 3.mjs +72 -0
  304. package/dist/index53 2.cjs +1 -0
  305. package/dist/index53 3.mjs +273 -0
  306. package/dist/index54 2.cjs +1 -0
  307. package/dist/index54 3.mjs +129 -0
  308. package/dist/index55 2.cjs +1 -0
  309. package/dist/index55 2.mjs +172 -0
  310. package/dist/index56 2.cjs +1 -0
  311. package/dist/index56 3.mjs +105 -0
  312. package/dist/index57 2.cjs +1 -0
  313. package/dist/index57 3.mjs +136 -0
  314. package/dist/index58 2.cjs +1 -0
  315. package/dist/index58 2.mjs +191 -0
  316. package/dist/index59 2.cjs +1 -0
  317. package/dist/index59 3.mjs +54 -0
  318. package/dist/index6 2.cjs +1 -0
  319. package/dist/index6 2.mjs +128 -0
  320. package/dist/index60 2.mjs +148 -0
  321. package/dist/index60 3.cjs +1 -0
  322. package/dist/index61 2.cjs +1 -0
  323. package/dist/index61 2.mjs +76 -0
  324. package/dist/index62 2.cjs +1 -0
  325. package/dist/index62 2.mjs +87 -0
  326. package/dist/index63 2.cjs +1 -0
  327. package/dist/index63 2.mjs +36 -0
  328. package/dist/index64 2.cjs +1 -0
  329. package/dist/index64 3.mjs +78 -0
  330. package/dist/index65 3.mjs +153 -0
  331. package/dist/index65 4.cjs +1 -0
  332. package/dist/index66 2.cjs +1 -0
  333. package/dist/index66 2.mjs +54 -0
  334. package/dist/index67 2.cjs +1 -0
  335. package/dist/index67 2.mjs +109 -0
  336. package/dist/index68 2.cjs +1 -0
  337. package/dist/index68 3.mjs +28 -0
  338. package/dist/index69 2.cjs +1 -0
  339. package/dist/index69 2.mjs +133 -0
  340. package/dist/index7 2.mjs +120 -0
  341. package/dist/index7 3.cjs +1 -0
  342. package/dist/index70 2.cjs +1 -0
  343. package/dist/index70 2.mjs +80 -0
  344. package/dist/index71 2.cjs +1 -0
  345. package/dist/index71 2.mjs +101 -0
  346. package/dist/index72 2.mjs +97 -0
  347. package/dist/index72 3.cjs +1 -0
  348. package/dist/index73 2.cjs +1 -0
  349. package/dist/index73 2.mjs +118 -0
  350. package/dist/index74 2.cjs +1 -0
  351. package/dist/index74 2.mjs +389 -0
  352. package/dist/index75 2.cjs +38 -0
  353. package/dist/index75 2.mjs +98 -0
  354. package/dist/index76 2.mjs +225 -0
  355. package/dist/index76 3.cjs +1 -0
  356. package/dist/index77 2.cjs +1 -0
  357. package/dist/index77 3.mjs +48 -0
  358. package/dist/index78 2.cjs +1 -0
  359. package/dist/index78 2.mjs +101 -0
  360. package/dist/index79 2.cjs +1 -0
  361. package/dist/index79 3.mjs +39 -0
  362. package/dist/index8 2.cjs +1 -0
  363. package/dist/index8 3.mjs +51 -0
  364. package/dist/index80 2.cjs +1 -0
  365. package/dist/index80 2.mjs +161 -0
  366. package/dist/index81 3.cjs +1 -0
  367. package/dist/index81 3.mjs +119 -0
  368. package/dist/index82 2.cjs +1 -0
  369. package/dist/index82 3.mjs +33 -0
  370. package/dist/index83 2.cjs +1 -0
  371. package/dist/index83 3.mjs +249 -0
  372. package/dist/index84 2.mjs +50 -0
  373. package/dist/index84 4.cjs +1 -0
  374. package/dist/index85 2.cjs +1 -0
  375. package/dist/index85 2.mjs +44 -0
  376. package/dist/index86 2.mjs +33 -0
  377. package/dist/index86 3.cjs +1 -0
  378. package/dist/index87 2.cjs +1 -0
  379. package/dist/index87 3.mjs +41 -0
  380. package/dist/index88 2.mjs +39 -0
  381. package/dist/index88 3.cjs +1 -0
  382. package/dist/index89 3.cjs +1 -0
  383. package/dist/index89 3.mjs +26 -0
  384. package/dist/index9 2.cjs +1 -0
  385. package/dist/index9 2.mjs +91 -0
  386. package/dist/index90 2.cjs +1 -0
  387. package/dist/index90 2.mjs +35 -0
  388. package/dist/index91 2.cjs +1 -0
  389. package/dist/index91 2.mjs +99 -0
  390. package/dist/index92 2.mjs +103 -0
  391. package/dist/index92 3.cjs +1 -0
  392. package/dist/index93 2.cjs +1 -0
  393. package/dist/index93 2.mjs +21 -0
  394. package/dist/index94 2.cjs +1 -0
  395. package/dist/index94 2.mjs +55 -0
  396. package/dist/index95 2.cjs +1 -0
  397. package/dist/index95 2.mjs +74 -0
  398. package/dist/index96 2.cjs +97 -0
  399. package/dist/index96 2.mjs +206 -0
  400. package/dist/index97 2.mjs +157 -0
  401. package/dist/index97 3.cjs +1 -0
  402. package/dist/index98 2.cjs +1 -0
  403. package/dist/index98 3.mjs +221 -0
  404. package/dist/index99 2.cjs +1 -0
  405. package/dist/index99 2.mjs +21 -0
  406. package/dist/main.d 2.ts +2 -0
  407. package/dist/main.d.ts 3.map +1 -0
  408. package/dist/rich.d 2.ts +16 -0
  409. package/dist/rich.d.ts 2.map +1 -0
  410. package/dist/sections/index.d 2.ts +29 -0
  411. package/dist/sections/index.d.ts 2.map +1 -0
  412. package/dist/styles/marker 3.css +1 -0
  413. package/dist/styles 2.css +9055 -0
  414. package/dist/templates/index.d 2.ts +1 -0
  415. package/dist/test/a11y.d 3.ts +8 -0
  416. package/dist/test/a11y.d.ts 3.map +1 -0
  417. package/dist/test/performance.bench.d 3.ts +11 -0
  418. package/dist/test/performance.bench.d.ts 3.map +1 -0
  419. package/dist/test/setup.d 3.ts +2 -0
  420. package/dist/test/setup.d.ts 3.map +1 -0
  421. package/dist/theme 2.css +8871 -0
  422. package/dist/tokens/brands.d 3.ts +5 -0
  423. package/dist/tokens/brands.d.ts 3.map +1 -0
  424. package/dist/tokens/index.d 3.ts +11 -0
  425. package/dist/tokens/index.d.ts 3.map +1 -0
  426. package/dist/tokens/primitives.d 3.ts +5 -0
  427. package/dist/tokens/primitives.d.ts 3.map +1 -0
  428. package/dist/tokens/themes.d 3.ts +9 -0
  429. package/dist/tokens/themes.d.ts 3.map +1 -0
  430. package/dist/tokens/types.d 3.ts +365 -0
  431. package/dist/tokens/types.d.ts 3.map +1 -0
  432. package/dist/tokens/utils.d 3.ts +42 -0
  433. package/dist/tokens/utils.d.ts 3.map +1 -0
  434. package/dist/utils/fonts.d 3.ts +46 -0
  435. package/dist/utils/fonts.d.ts 3.map +1 -0
  436. package/dist/utils/icons.d 3.ts +61 -0
  437. package/dist/utils/icons.d.ts 3.map +1 -0
  438. package/dist/utils/index.d 3.ts +9 -0
  439. package/dist/utils/index.d.ts 3.map +1 -0
  440. package/dist/utils/validation.d 3.ts +94 -0
  441. package/dist/utils/validation.d.ts 3.map +1 -0
  442. package/package.json +1 -1
@@ -0,0 +1,53 @@
1
+ const o = "_navbar_8ho3g_8", _ = "_solid_8ho3g_23", s = "_transparent_8ho3g_27", n = "_glass_8ho3g_31", t = "_schemeLight_8ho3g_40", e = "_schemeDark_8ho3g_46", g = "_brand_8ho3g_56", c = "_link_8ho3g_60", l = "_active_8ho3g_69", a = "_toggleLine_8ho3g_74", h = "_bordered_8ho3g_101", i = "_sticky_8ho3g_109", r = "_sm_8ho3g_118", d = "_md_8ho3g_122", p = "_lg_8ho3g_126", m = "_nav_8ho3g_8", b = "_actions_8ho3g_207", k = "_toggle_8ho3g_74", v = "_toggleIcon_8ho3g_241", D = "_toggleOpen_8ho3g_260", L = "_collapse_8ho3g_277", O = "_collapseOpen_8ho3g_281", y = "_slideDown_8ho3g_1", w = "_collapseActions_8ho3g_317", A = {
2
+ navbar: o,
3
+ solid: _,
4
+ transparent: s,
5
+ glass: n,
6
+ schemeLight: t,
7
+ schemeDark: e,
8
+ brand: g,
9
+ link: c,
10
+ active: l,
11
+ toggleLine: a,
12
+ bordered: h,
13
+ sticky: i,
14
+ sm: r,
15
+ md: d,
16
+ lg: p,
17
+ nav: m,
18
+ actions: b,
19
+ toggle: k,
20
+ toggleIcon: v,
21
+ toggleOpen: D,
22
+ collapse: L,
23
+ collapseOpen: O,
24
+ slideDown: y,
25
+ collapseActions: w
26
+ };
27
+ export {
28
+ b as actions,
29
+ l as active,
30
+ h as bordered,
31
+ g as brand,
32
+ L as collapse,
33
+ w as collapseActions,
34
+ O as collapseOpen,
35
+ A as default,
36
+ n as glass,
37
+ p as lg,
38
+ c as link,
39
+ d as md,
40
+ m as nav,
41
+ o as navbar,
42
+ e as schemeDark,
43
+ t as schemeLight,
44
+ y as slideDown,
45
+ r as sm,
46
+ _ as solid,
47
+ i as sticky,
48
+ k as toggle,
49
+ v as toggleIcon,
50
+ a as toggleLine,
51
+ D as toggleOpen,
52
+ s as transparent
53
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i="_quickActions_1iws7_8",o="_fixed_1iws7_12",n="_fabTrigger_1iws7_54",t="_fabTriggerIcon_1iws7_81",c="_fabTriggerIconRotate_1iws7_88",e="_fabActions_1iws7_92",_="_open_1iws7_103",a="_fabAction_1iws7_92",s="_fabActionIcon_1iws7_136",r="_fabActionLabel_1iws7_144",b="_bar_1iws7_154",A="_barAction_1iws7_165",u="_barActionIcon_1iws7_183",f="_barActionLabel_1iws7_191",g="_menuTrigger_1iws7_208",m="_menu_1iws7_208",w="_menuSlide_1iws7_1",l="_menuAction_1iws7_250",p="_menuActionIcon_1iws7_269",I="_menuActionLabel_1iws7_278",d="_actionDisabled_1iws7_301",T="_shortcut_1iws7_311",L={quickActions:i,fixed:o,"position-bottom-right":"_position-bottom-right_1iws7_17","position-bottom-left":"_position-bottom-left_1iws7_22","position-bottom-center":"_position-bottom-center_1iws7_27","position-top-right":"_position-top-right_1iws7_33","position-top-left":"_position-top-left_1iws7_38","variant-fab":"_variant-fab_1iws7_47",fabTrigger:n,fabTriggerIcon:t,fabTriggerIconRotate:c,fabActions:e,open:_,fabAction:a,fabActionIcon:s,fabActionLabel:r,"variant-bar":"_variant-bar_1iws7_154",bar:b,barAction:A,barActionIcon:u,barActionLabel:f,"variant-menu":"_variant-menu_1iws7_201",menuTrigger:g,menu:m,menuSlide:w,menuAction:l,menuActionIcon:p,menuActionLabel:I,"action-primary":"_action-primary_1iws7_289","action-danger":"_action-danger_1iws7_293",actionDisabled:d,shortcut:T};exports.actionDisabled=d;exports.bar=b;exports.barAction=A;exports.barActionIcon=u;exports.barActionLabel=f;exports.default=L;exports.fabAction=a;exports.fabActionIcon=s;exports.fabActionLabel=r;exports.fabActions=e;exports.fabTrigger=n;exports.fabTriggerIcon=t;exports.fabTriggerIconRotate=c;exports.fixed=o;exports.menu=m;exports.menuAction=l;exports.menuActionIcon=p;exports.menuActionLabel=I;exports.menuSlide=w;exports.menuTrigger=g;exports.open=_;exports.quickActions=i;exports.shortcut=T;
@@ -0,0 +1,59 @@
1
+ const i = "_quickActions_1iws7_8", o = "_fixed_1iws7_12", n = "_fabTrigger_1iws7_54", t = "_fabTriggerIcon_1iws7_81", _ = "_fabTriggerIconRotate_1iws7_88", c = "_fabActions_1iws7_92", s = "_open_1iws7_103", a = "_fabAction_1iws7_92", e = "_fabActionIcon_1iws7_136", r = "_fabActionLabel_1iws7_144", b = "_bar_1iws7_154", A = "_barAction_1iws7_165", w = "_barActionIcon_1iws7_183", f = "_barActionLabel_1iws7_191", g = "_menuTrigger_1iws7_208", m = "_menu_1iws7_208", u = "_menuSlide_1iws7_1", l = "_menuAction_1iws7_250", p = "_menuActionIcon_1iws7_269", I = "_menuActionLabel_1iws7_278", d = "_actionDisabled_1iws7_301", T = "_shortcut_1iws7_311", L = {
2
+ quickActions: i,
3
+ fixed: o,
4
+ "position-bottom-right": "_position-bottom-right_1iws7_17",
5
+ "position-bottom-left": "_position-bottom-left_1iws7_22",
6
+ "position-bottom-center": "_position-bottom-center_1iws7_27",
7
+ "position-top-right": "_position-top-right_1iws7_33",
8
+ "position-top-left": "_position-top-left_1iws7_38",
9
+ "variant-fab": "_variant-fab_1iws7_47",
10
+ fabTrigger: n,
11
+ fabTriggerIcon: t,
12
+ fabTriggerIconRotate: _,
13
+ fabActions: c,
14
+ open: s,
15
+ fabAction: a,
16
+ fabActionIcon: e,
17
+ fabActionLabel: r,
18
+ "variant-bar": "_variant-bar_1iws7_154",
19
+ bar: b,
20
+ barAction: A,
21
+ barActionIcon: w,
22
+ barActionLabel: f,
23
+ "variant-menu": "_variant-menu_1iws7_201",
24
+ menuTrigger: g,
25
+ menu: m,
26
+ menuSlide: u,
27
+ menuAction: l,
28
+ menuActionIcon: p,
29
+ menuActionLabel: I,
30
+ "action-primary": "_action-primary_1iws7_289",
31
+ "action-danger": "_action-danger_1iws7_293",
32
+ actionDisabled: d,
33
+ shortcut: T
34
+ };
35
+ export {
36
+ d as actionDisabled,
37
+ b as bar,
38
+ A as barAction,
39
+ w as barActionIcon,
40
+ f as barActionLabel,
41
+ L as default,
42
+ a as fabAction,
43
+ e as fabActionIcon,
44
+ r as fabActionLabel,
45
+ c as fabActions,
46
+ n as fabTrigger,
47
+ t as fabTriggerIcon,
48
+ _ as fabTriggerIconRotate,
49
+ o as fixed,
50
+ m as menu,
51
+ l as menuAction,
52
+ p as menuActionIcon,
53
+ I as menuActionLabel,
54
+ u as menuSlide,
55
+ g as menuTrigger,
56
+ s as open,
57
+ i as quickActions,
58
+ T as shortcut
59
+ };
@@ -0,0 +1,21 @@
1
+ const _ = "_container_1l2wi_8", l = "_centered_1l2wi_13", e = "_padded_1l2wi_19", n = "_sm_1l2wi_28", t = "_md_1l2wi_32", d = "_lg_1l2wi_36", c = "_xl_1l2wi_40", s = "_full_1l2wi_44", o = {
2
+ container: _,
3
+ centered: l,
4
+ padded: e,
5
+ sm: n,
6
+ md: t,
7
+ lg: d,
8
+ xl: c,
9
+ full: s
10
+ };
11
+ export {
12
+ l as centered,
13
+ _ as container,
14
+ o as default,
15
+ s as full,
16
+ d as lg,
17
+ t as md,
18
+ e as padded,
19
+ n as sm,
20
+ c as xl
21
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_container_1l2wi_8",l="_centered_1l2wi_13",t="_padded_1l2wi_19",_="_sm_1l2wi_28",d="_md_1l2wi_32",n="_lg_1l2wi_36",c="_xl_1l2wi_40",s="_full_1l2wi_44",o={container:e,centered:l,padded:t,sm:_,md:d,lg:n,xl:c,full:s};exports.centered=l;exports.container=e;exports.default=o;exports.full=s;exports.lg=n;exports.md=d;exports.padded=t;exports.sm=_;exports.xl=c;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const _="_section_f5l02_8",o="_borderTop_f5l02_71",e="_borderBottom_f5l02_75",n={section:_,"spacing-none":"_spacing-none_f5l02_17","spacing-sm":"_spacing-sm_f5l02_22","spacing-md":"_spacing-md_f5l02_27","spacing-lg":"_spacing-lg_f5l02_32","spacing-xl":"_spacing-xl_f5l02_37","bg-none":"_bg-none_f5l02_46","bg-base":"_bg-base_f5l02_50","bg-subtle":"_bg-subtle_f5l02_54","bg-sunken":"_bg-sunken_f5l02_58","bg-brand":"_bg-brand_f5l02_62",borderTop:o,borderBottom:e};exports.borderBottom=e;exports.borderTop=o;exports.default=n;exports.section=_;
@@ -0,0 +1,21 @@
1
+ const _ = "_section_f5l02_8", n = "_borderTop_f5l02_71", s = "_borderBottom_f5l02_75", o = {
2
+ section: _,
3
+ "spacing-none": "_spacing-none_f5l02_17",
4
+ "spacing-sm": "_spacing-sm_f5l02_22",
5
+ "spacing-md": "_spacing-md_f5l02_27",
6
+ "spacing-lg": "_spacing-lg_f5l02_32",
7
+ "spacing-xl": "_spacing-xl_f5l02_37",
8
+ "bg-none": "_bg-none_f5l02_46",
9
+ "bg-base": "_bg-base_f5l02_50",
10
+ "bg-subtle": "_bg-subtle_f5l02_54",
11
+ "bg-sunken": "_bg-sunken_f5l02_58",
12
+ "bg-brand": "_bg-brand_f5l02_62",
13
+ borderTop: n,
14
+ borderBottom: s
15
+ };
16
+ export {
17
+ s as borderBottom,
18
+ n as borderTop,
19
+ o as default,
20
+ _ as section
21
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=t=>{if(!t||t===0)return"0 B";const o=1024,r=["B","KB","MB","GB"],a=Math.floor(Math.log(t)/Math.log(o));return`${parseFloat((t/Math.pow(o,a)).toFixed(1))} ${r[a]}`},i=t=>{const o=Math.floor(t/60),r=Math.floor(t%60);return`${o}:${r.toString().padStart(2,"0")}`};exports.formatFileSize=e;exports.formatTime=i;
@@ -0,0 +1,12 @@
1
+ const n = (t) => {
2
+ if (!t || t === 0) return "0 B";
3
+ const o = 1024, r = ["B", "KB", "MB", "GB"], a = Math.floor(Math.log(t) / Math.log(o));
4
+ return `${parseFloat((t / Math.pow(o, a)).toFixed(1))} ${r[a]}`;
5
+ }, i = (t) => {
6
+ const o = Math.floor(t / 60), r = Math.floor(t % 60);
7
+ return `${o}:${r.toString().padStart(2, "0")}`;
8
+ };
9
+ export {
10
+ n as formatFileSize,
11
+ i as formatTime
12
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),n=require("react"),b=require("lucide-react"),i=require("./index115.cjs"),l=({src:s,alt:d="Image",isOpen:a,onClose:t,className:f,...m})=>{const u=n.useRef(null),r=n.useRef(null),c=n.useCallback(e=>{if(e.key==="Escape"){t();return}e.key==="Tab"&&(e.preventDefault(),u.current?.focus())},[t]),g=e=>{e.target===e.currentTarget&&t()};return n.useEffect(()=>(a&&(r.current=document.activeElement,document.addEventListener("keydown",c),document.body.style.overflow="hidden",requestAnimationFrame(()=>{u.current?.focus()})),()=>{document.removeEventListener("keydown",c),document.body.style.overflow="",r.current&&typeof r.current.focus=="function"&&r.current.focus()}),[a,c]),a?o.jsxs("div",{className:[i.default.lightbox,f].filter(Boolean).join(" "),onClick:g,role:"dialog","aria-modal":"true","aria-label":"Image viewer",...m,children:[o.jsx("button",{ref:u,className:i.default.lightboxClose,onClick:t,"aria-label":"Close image viewer",children:o.jsx(b.X,{size:24})}),o.jsx("img",{src:s,alt:d,className:i.default.lightboxImage})]}):null};l.displayName="ChatLightbox";exports.ChatLightbox=l;
@@ -0,0 +1,57 @@
1
+ import { jsxs as g, jsx as i } from "react/jsx-runtime";
2
+ import { useRef as c, useCallback as b, useEffect as h } from "react";
3
+ import { X as y } from "lucide-react";
4
+ import l from "./index115.mjs";
5
+ const v = ({
6
+ src: u,
7
+ alt: s = "Image",
8
+ isOpen: o,
9
+ onClose: t,
10
+ className: m,
11
+ ...f
12
+ }) => {
13
+ const n = c(null), r = c(null), a = b(
14
+ (e) => {
15
+ if (e.key === "Escape") {
16
+ t();
17
+ return;
18
+ }
19
+ e.key === "Tab" && (e.preventDefault(), n.current?.focus());
20
+ },
21
+ [t]
22
+ ), d = (e) => {
23
+ e.target === e.currentTarget && t();
24
+ };
25
+ return h(() => (o && (r.current = document.activeElement, document.addEventListener("keydown", a), document.body.style.overflow = "hidden", requestAnimationFrame(() => {
26
+ n.current?.focus();
27
+ })), () => {
28
+ document.removeEventListener("keydown", a), document.body.style.overflow = "", r.current && typeof r.current.focus == "function" && r.current.focus();
29
+ }), [o, a]), o ? /* @__PURE__ */ g(
30
+ "div",
31
+ {
32
+ className: [l.lightbox, m].filter(Boolean).join(" "),
33
+ onClick: d,
34
+ role: "dialog",
35
+ "aria-modal": "true",
36
+ "aria-label": "Image viewer",
37
+ ...f,
38
+ children: [
39
+ /* @__PURE__ */ i(
40
+ "button",
41
+ {
42
+ ref: n,
43
+ className: l.lightboxClose,
44
+ onClick: t,
45
+ "aria-label": "Close image viewer",
46
+ children: /* @__PURE__ */ i(y, { size: 24 })
47
+ }
48
+ ),
49
+ /* @__PURE__ */ i("img", { src: u, alt: s, className: l.lightboxImage })
50
+ ]
51
+ }
52
+ ) : null;
53
+ };
54
+ v.displayName = "ChatLightbox";
55
+ export {
56
+ v as ChatLightbox
57
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),h=require("react"),p=require("recharts"),R=require("./index109.cjs"),t=require("./index110.cjs"),f=h.createContext({}),j=({config:s,children:o,className:a,style:n,...l})=>{const{resolvedConfig:r,resolvedColorVars:i}=R.useResolvedChartColors(s),d=[t.default.container,a].filter(Boolean).join(" ");return e.jsx(f.Provider,{value:r,children:e.jsx("div",{role:"figure",className:d,style:{...i,...n},...l,children:e.jsx(p.ResponsiveContainer,{width:"100%",height:"100%",children:o})})})};j.displayName="ChartContainer";const v=({active:s,payload:o,label:a,indicator:n="dot",hideLabel:l=!1,hideIndicator:r=!1,labelFormatter:i,formatter:d,className:u})=>{const L=h.useContext(f);if(!s||!o?.length)return null;const b=[t.default.tooltip,u].filter(Boolean).join(" "),g=i?i(String(a)):a,T={dot:t.default.tooltipDot,line:t.default.tooltipLine,dashed:t.default.tooltipDashed}[n];return e.jsxs("div",{className:b,children:[!l&&g&&e.jsx("div",{className:t.default.tooltipLabel,children:g}),e.jsx("div",{className:t.default.tooltipItems,children:o.map(c=>{const C=String(c.dataKey||c.name),m=L[C],q=m?.label||C,I=d?d(c.value,C):String(c.value),x=c.color||m?.color;return e.jsxs("div",{className:t.default.tooltipItem,children:[!r&&e.jsx("span",{className:T,style:{backgroundColor:x,borderColor:x}}),e.jsx("span",{className:t.default.tooltipName,children:q}),e.jsx("span",{className:t.default.tooltipValue,children:I})]},C)})})]})};v.displayName="ChartTooltipContent";const N=({payload:s,className:o})=>{const a=h.useContext(f);if(!s?.length)return null;const n=[t.default.legend,o].filter(Boolean).join(" ");return e.jsx("div",{className:n,children:s.map(l=>{const r=l.dataKey||l.value,i=a[r],d=i?.label||r,u=l.color||i?.color;return e.jsxs("div",{className:t.default.legendItem,children:[e.jsx("span",{className:t.default.legendDot,style:{backgroundColor:u}}),e.jsx("span",{children:d})]},r)})})};N.displayName="ChartLegendContent";const y=({id:s,color:o,startOpacity:a=.4,endOpacity:n=.05})=>e.jsxs("linearGradient",{id:s,x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"5%",stopColor:o,stopOpacity:a}),e.jsx("stop",{offset:"95%",stopColor:o,stopOpacity:n})]});y.displayName="ChartGradient";const S=p.Tooltip,G=p.Legend;exports.ChartContainer=j;exports.ChartGradient=y;exports.ChartLegend=G;exports.ChartLegendContent=N;exports.ChartTooltip=S;exports.ChartTooltipContent=v;
@@ -0,0 +1,103 @@
1
+ import { jsx as t, jsxs as C } from "react/jsx-runtime";
2
+ import { useContext as v, createContext as j } from "react";
3
+ import { Legend as I, Tooltip as K, ResponsiveContainer as T } from "recharts";
4
+ import { useResolvedChartColors as B } from "./index109.mjs";
5
+ import o from "./index110.mjs";
6
+ const h = j({}), D = ({
7
+ config: n,
8
+ children: e,
9
+ className: s,
10
+ style: l,
11
+ ...a
12
+ }) => {
13
+ const { resolvedConfig: i, resolvedColorVars: r } = B(n), c = [o.container, s].filter(Boolean).join(" ");
14
+ return /* @__PURE__ */ t(h.Provider, { value: i, children: /* @__PURE__ */ t(
15
+ "div",
16
+ {
17
+ role: "figure",
18
+ className: c,
19
+ style: { ...r, ...l },
20
+ ...a,
21
+ children: /* @__PURE__ */ t(T, { width: "100%", height: "100%", children: e })
22
+ }
23
+ ) });
24
+ };
25
+ D.displayName = "ChartContainer";
26
+ const G = ({
27
+ active: n,
28
+ payload: e,
29
+ label: s,
30
+ indicator: l = "dot",
31
+ hideLabel: a = !1,
32
+ hideIndicator: i = !1,
33
+ labelFormatter: r,
34
+ formatter: c,
35
+ className: m
36
+ }) => {
37
+ const N = v(h);
38
+ if (!n || !e?.length) return null;
39
+ const y = [o.tooltip, m].filter(Boolean).join(" "), f = r ? r(String(s)) : s, L = {
40
+ dot: o.tooltipDot,
41
+ line: o.tooltipLine,
42
+ dashed: o.tooltipDashed
43
+ }[l];
44
+ return /* @__PURE__ */ C("div", { className: y, children: [
45
+ !a && f && /* @__PURE__ */ t("div", { className: o.tooltipLabel, children: f }),
46
+ /* @__PURE__ */ t("div", { className: o.tooltipItems, children: e.map((d) => {
47
+ const p = String(d.dataKey || d.name), g = N[p], x = g?.label || p, b = c ? c(d.value, p) : String(d.value), u = d.color || g?.color;
48
+ return /* @__PURE__ */ C("div", { className: o.tooltipItem, children: [
49
+ !i && /* @__PURE__ */ t(
50
+ "span",
51
+ {
52
+ className: L,
53
+ style: { backgroundColor: u, borderColor: u }
54
+ }
55
+ ),
56
+ /* @__PURE__ */ t("span", { className: o.tooltipName, children: x }),
57
+ /* @__PURE__ */ t("span", { className: o.tooltipValue, children: b })
58
+ ] }, p);
59
+ }) })
60
+ ] });
61
+ };
62
+ G.displayName = "ChartTooltipContent";
63
+ const S = ({
64
+ payload: n,
65
+ className: e
66
+ }) => {
67
+ const s = v(h);
68
+ if (!n?.length) return null;
69
+ const l = [o.legend, e].filter(Boolean).join(" ");
70
+ return /* @__PURE__ */ t("div", { className: l, children: n.map((a) => {
71
+ const i = a.dataKey || a.value, r = s[i], c = r?.label || i, m = a.color || r?.color;
72
+ return /* @__PURE__ */ C("div", { className: o.legendItem, children: [
73
+ /* @__PURE__ */ t(
74
+ "span",
75
+ {
76
+ className: o.legendDot,
77
+ style: { backgroundColor: m }
78
+ }
79
+ ),
80
+ /* @__PURE__ */ t("span", { children: c })
81
+ ] }, i);
82
+ }) });
83
+ };
84
+ S.displayName = "ChartLegendContent";
85
+ const V = ({
86
+ id: n,
87
+ color: e,
88
+ startOpacity: s = 0.4,
89
+ endOpacity: l = 0.05
90
+ }) => /* @__PURE__ */ C("linearGradient", { id: n, x1: "0", y1: "0", x2: "0", y2: "1", children: [
91
+ /* @__PURE__ */ t("stop", { offset: "5%", stopColor: e, stopOpacity: s }),
92
+ /* @__PURE__ */ t("stop", { offset: "95%", stopColor: e, stopOpacity: l })
93
+ ] });
94
+ V.displayName = "ChartGradient";
95
+ const q = K, z = I;
96
+ export {
97
+ D as ChartContainer,
98
+ V as ChartGradient,
99
+ z as ChartLegend,
100
+ S as ChartLegendContent,
101
+ q as ChartTooltip,
102
+ G as ChartTooltipContent
103
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),s=require("./index115.cjs"),d=require("./index116.cjs"),h=require("./index117.cjs"),n=require("./index118.cjs"),C=require("./index119.cjs"),c=require("./index120.cjs"),l=require("./index121.cjs"),u=require("./index122.cjs"),p=require("./index123.cjs"),m=require("./index124.cjs"),y=require("./index125.cjs"),g=require("./index126.cjs"),M=require("./index127.cjs"),q=require("./index128.cjs"),a=({children:t,className:r,...i})=>o.jsx("div",{className:[s.default.chat,r].filter(Boolean).join(" "),role:"region","aria-label":"Chat interface",...i,children:t});a.displayName="Chat";const e=a;e.Header=d.ChatHeader;e.Messages=h.ChatMessages;e.Message=n.ChatMessage;e.Input=C.ChatInput;e.TypingIndicator=c.ChatTypingIndicator;e.CodeBlock=l.ChatCodeBlock;e.Markdown=u.ChatMarkdown;e.ImagePreview=p.ChatImagePreview;e.AudioPlayer=m.ChatAudioPlayer;e.VoiceRecorder=y.ChatVoiceRecorder;e.FileUpload=g.ChatFileUpload;e.Attachment=M.ChatAttachment;e.Sidebar=q.ChatSidebar;e.Header.displayName="Chat.Header";e.Messages.displayName="Chat.Messages";e.Message.displayName="Chat.Message";e.Input.displayName="Chat.Input";e.TypingIndicator.displayName="Chat.TypingIndicator";e.CodeBlock.displayName="Chat.CodeBlock";e.Markdown.displayName="Chat.Markdown";e.ImagePreview.displayName="Chat.ImagePreview";e.AudioPlayer.displayName="Chat.AudioPlayer";e.VoiceRecorder.displayName="Chat.VoiceRecorder";e.FileUpload.displayName="Chat.FileUpload";e.Attachment.displayName="Chat.Attachment";e.Sidebar.displayName="Chat.Sidebar";exports.Chat=e;
@@ -0,0 +1,56 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import m from "./index115.mjs";
3
+ import { ChatHeader as d } from "./index116.mjs";
4
+ import { ChatMessages as p } from "./index117.mjs";
5
+ import { ChatMessage as s } from "./index118.mjs";
6
+ import { ChatInput as l } from "./index119.mjs";
7
+ import { ChatTypingIndicator as h } from "./index120.mjs";
8
+ import { ChatCodeBlock as C } from "./index121.mjs";
9
+ import { ChatMarkdown as n } from "./index122.mjs";
10
+ import { ChatImagePreview as c } from "./index123.mjs";
11
+ import { ChatAudioPlayer as y } from "./index124.mjs";
12
+ import { ChatVoiceRecorder as f } from "./index125.mjs";
13
+ import { ChatFileUpload as g } from "./index126.mjs";
14
+ import { ChatAttachment as N } from "./index127.mjs";
15
+ import { ChatSidebar as I } from "./index128.mjs";
16
+ const e = ({ children: t, className: o, ...r }) => /* @__PURE__ */ i(
17
+ "div",
18
+ {
19
+ className: [m.chat, o].filter(Boolean).join(" "),
20
+ role: "region",
21
+ "aria-label": "Chat interface",
22
+ ...r,
23
+ children: t
24
+ }
25
+ );
26
+ e.displayName = "Chat";
27
+ const a = e;
28
+ a.Header = d;
29
+ a.Messages = p;
30
+ a.Message = s;
31
+ a.Input = l;
32
+ a.TypingIndicator = h;
33
+ a.CodeBlock = C;
34
+ a.Markdown = n;
35
+ a.ImagePreview = c;
36
+ a.AudioPlayer = y;
37
+ a.VoiceRecorder = f;
38
+ a.FileUpload = g;
39
+ a.Attachment = N;
40
+ a.Sidebar = I;
41
+ a.Header.displayName = "Chat.Header";
42
+ a.Messages.displayName = "Chat.Messages";
43
+ a.Message.displayName = "Chat.Message";
44
+ a.Input.displayName = "Chat.Input";
45
+ a.TypingIndicator.displayName = "Chat.TypingIndicator";
46
+ a.CodeBlock.displayName = "Chat.CodeBlock";
47
+ a.Markdown.displayName = "Chat.Markdown";
48
+ a.ImagePreview.displayName = "Chat.ImagePreview";
49
+ a.AudioPlayer.displayName = "Chat.AudioPlayer";
50
+ a.VoiceRecorder.displayName = "Chat.VoiceRecorder";
51
+ a.FileUpload.displayName = "Chat.FileUpload";
52
+ a.Attachment.displayName = "Chat.Attachment";
53
+ a.Sidebar.displayName = "Chat.Sidebar";
54
+ export {
55
+ a as Chat
56
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("react"),u=require("lucide-react"),s=require("./index178.cjs"),m=t.forwardRef(({label:i,helperText:n,error:a,size:j="md",indeterminate:r=!1,className:k,id:N,disabled:h,required:o,checked:v,"aria-label":f,"aria-describedby":p,...C},y)=>{const R=t.useId(),l=N||`checkbox-${R}`,x=`${l}-error`,b=`${l}-helper`,g=t.useRef(null),d=y||g;t.useEffect(()=>{d.current&&(d.current.indeterminate=r)},[r,d]);const c=[];a&&c.push(x),n&&!a&&c.push(b),p&&c.push(p);const I=c.length>0?c.join(" "):void 0;!(i||f)&&process.env.NODE_ENV==="development"&&console.warn("Checkbox: Missing accessible name. Provide either a `label` prop or `aria-label` for screen reader users.");const q=r?"mixed":void 0,M=[s.default.container,s.default[j],a&&s.default.error,h&&s.default.disabled,k].filter(Boolean).join(" ");return e.jsxs("div",{className:M,children:[e.jsx("input",{ref:d,type:"checkbox",id:l,className:s.default.input,disabled:h,required:o,checked:v,"aria-required":o||void 0,"aria-invalid":a?"true":"false","aria-checked":q,"aria-describedby":I,"aria-label":i?void 0:f,...C}),e.jsxs("label",{htmlFor:l,className:s.default.labelWrapper,children:[e.jsx("span",{className:s.default.checkbox,"aria-hidden":"true",children:e.jsx("span",{className:s.default.checkmark,children:r?e.jsx(u.Minus,{strokeWidth:3}):e.jsx(u.Check,{strokeWidth:3})})}),i&&e.jsxs("span",{className:s.default.label,children:[i,o&&e.jsx("span",{className:s.default.required,"aria-hidden":"true",children:"*"})]})]}),n&&!a&&e.jsx("p",{id:b,className:s.default.helperText,children:n}),a&&e.jsxs("p",{id:x,className:s.default.errorMessage,role:"alert","aria-live":"assertive",children:[e.jsx(u.AlertCircle,{size:14,"aria-hidden":"true"}),e.jsx("span",{children:a})]})]})});m.displayName="Checkbox";exports.Checkbox=m;
@@ -0,0 +1,84 @@
1
+ import { jsxs as l, jsx as s } from "react/jsx-runtime";
2
+ import { forwardRef as A, useId as B, useRef as E, useEffect as M } from "react";
3
+ import { Minus as W, Check as $, AlertCircle as w } from "lucide-react";
4
+ import e from "./index178.mjs";
5
+ const z = A(
6
+ ({
7
+ label: i,
8
+ helperText: d,
9
+ error: a,
10
+ size: b = "md",
11
+ indeterminate: r = !1,
12
+ className: k,
13
+ id: N,
14
+ disabled: h,
15
+ required: t,
16
+ checked: v,
17
+ "aria-label": p,
18
+ "aria-describedby": m,
19
+ ...x
20
+ }, C) => {
21
+ const y = B(), n = N || `checkbox-${y}`, f = `${n}-error`, u = `${n}-helper`, I = E(null), o = C || I;
22
+ M(() => {
23
+ o.current && (o.current.indeterminate = r);
24
+ }, [r, o]);
25
+ const c = [];
26
+ a && c.push(f), d && !a && c.push(u), m && c.push(m);
27
+ const g = c.length > 0 ? c.join(" ") : void 0;
28
+ !(i || p) && process.env.NODE_ENV === "development" && console.warn(
29
+ "Checkbox: Missing accessible name. Provide either a `label` prop or `aria-label` for screen reader users."
30
+ );
31
+ const j = r ? "mixed" : void 0, R = [
32
+ e.container,
33
+ e[b],
34
+ a && e.error,
35
+ h && e.disabled,
36
+ k
37
+ ].filter(Boolean).join(" ");
38
+ return /* @__PURE__ */ l("div", { className: R, children: [
39
+ /* @__PURE__ */ s(
40
+ "input",
41
+ {
42
+ ref: o,
43
+ type: "checkbox",
44
+ id: n,
45
+ className: e.input,
46
+ disabled: h,
47
+ required: t,
48
+ checked: v,
49
+ "aria-required": t || void 0,
50
+ "aria-invalid": a ? "true" : "false",
51
+ "aria-checked": j,
52
+ "aria-describedby": g,
53
+ "aria-label": i ? void 0 : p,
54
+ ...x
55
+ }
56
+ ),
57
+ /* @__PURE__ */ l("label", { htmlFor: n, className: e.labelWrapper, children: [
58
+ /* @__PURE__ */ s("span", { className: e.checkbox, "aria-hidden": "true", children: /* @__PURE__ */ s("span", { className: e.checkmark, children: r ? /* @__PURE__ */ s(W, { strokeWidth: 3 }) : /* @__PURE__ */ s($, { strokeWidth: 3 }) }) }),
59
+ i && /* @__PURE__ */ l("span", { className: e.label, children: [
60
+ i,
61
+ t && /* @__PURE__ */ s("span", { className: e.required, "aria-hidden": "true", children: "*" })
62
+ ] })
63
+ ] }),
64
+ d && !a && /* @__PURE__ */ s("p", { id: u, className: e.helperText, children: d }),
65
+ a && /* @__PURE__ */ l(
66
+ "p",
67
+ {
68
+ id: f,
69
+ className: e.errorMessage,
70
+ role: "alert",
71
+ "aria-live": "assertive",
72
+ children: [
73
+ /* @__PURE__ */ s(w, { size: 14, "aria-hidden": "true" }),
74
+ /* @__PURE__ */ s("span", { children: a })
75
+ ]
76
+ }
77
+ )
78
+ ] });
79
+ }
80
+ );
81
+ z.displayName = "Checkbox";
82
+ export {
83
+ z as Checkbox
84
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),w=require("react"),e=require("./index156.cjs"),u=w.forwardRef(({variant:c="default",size:d="md",icon:i,clickable:f=!1,onClick:s,onRemove:l,disabled:a=!1,selected:o=!1,children:h,className:p,...v},m)=>{const r=f||!!s,j=[e.default.chip,e.default[c],e.default[d],r&&e.default.clickable,o&&e.default.selected,a&&e.default.disabled,p].filter(Boolean).join(" "),k=()=>{!a&&s&&s()},x=t=>{t.stopPropagation(),!a&&l&&l()},y=t=>{a||((t.key==="Enter"||t.key===" ")&&(t.preventDefault(),s?.()),(t.key==="Backspace"||t.key==="Delete")&&(t.preventDefault(),l?.()))};return n.jsxs("div",{ref:m,className:j,role:r?"button":void 0,tabIndex:r&&!a?0:void 0,"aria-disabled":a,"aria-pressed":o,onClick:r?k:void 0,onKeyDown:r?y:void 0,...v,children:[i&&n.jsx("span",{className:e.default.icon,"aria-hidden":"true",children:i}),n.jsx("span",{className:e.default.label,children:h}),l&&n.jsx("button",{type:"button",className:e.default.removeButton,onClick:x,disabled:a,"aria-label":"Remove",children:n.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M10.5 3.5L3.5 10.5M3.5 3.5l7 7",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})});u.displayName="Chip";exports.Chip=u;
@@ -0,0 +1,86 @@
1
+ import { jsxs as y, jsx as r } from "react/jsx-runtime";
2
+ import { forwardRef as x } from "react";
3
+ import e from "./index156.mjs";
4
+ const D = x(
5
+ ({
6
+ variant: c = "default",
7
+ size: p = "md",
8
+ icon: s,
9
+ clickable: d = !1,
10
+ onClick: n,
11
+ onRemove: i,
12
+ disabled: a = !1,
13
+ selected: l = !1,
14
+ children: f,
15
+ className: h,
16
+ ...m
17
+ }, u) => {
18
+ const o = d || !!n, v = [
19
+ e.chip,
20
+ e[c],
21
+ e[p],
22
+ o && e.clickable,
23
+ l && e.selected,
24
+ a && e.disabled,
25
+ h
26
+ ].filter(Boolean).join(" "), k = () => {
27
+ !a && n && n();
28
+ }, w = (t) => {
29
+ t.stopPropagation(), !a && i && i();
30
+ };
31
+ return /* @__PURE__ */ y(
32
+ "div",
33
+ {
34
+ ref: u,
35
+ className: v,
36
+ role: o ? "button" : void 0,
37
+ tabIndex: o && !a ? 0 : void 0,
38
+ "aria-disabled": a,
39
+ "aria-pressed": l,
40
+ onClick: o ? k : void 0,
41
+ onKeyDown: o ? (t) => {
42
+ a || ((t.key === "Enter" || t.key === " ") && (t.preventDefault(), n?.()), (t.key === "Backspace" || t.key === "Delete") && (t.preventDefault(), i?.()));
43
+ } : void 0,
44
+ ...m,
45
+ children: [
46
+ s && /* @__PURE__ */ r("span", { className: e.icon, "aria-hidden": "true", children: s }),
47
+ /* @__PURE__ */ r("span", { className: e.label, children: f }),
48
+ i && /* @__PURE__ */ r(
49
+ "button",
50
+ {
51
+ type: "button",
52
+ className: e.removeButton,
53
+ onClick: w,
54
+ disabled: a,
55
+ "aria-label": "Remove",
56
+ children: /* @__PURE__ */ r(
57
+ "svg",
58
+ {
59
+ width: "14",
60
+ height: "14",
61
+ viewBox: "0 0 14 14",
62
+ fill: "none",
63
+ xmlns: "http://www.w3.org/2000/svg",
64
+ children: /* @__PURE__ */ r(
65
+ "path",
66
+ {
67
+ d: "M10.5 3.5L3.5 10.5M3.5 3.5l7 7",
68
+ stroke: "currentColor",
69
+ strokeWidth: "1.5",
70
+ strokeLinecap: "round",
71
+ strokeLinejoin: "round"
72
+ }
73
+ )
74
+ }
75
+ )
76
+ }
77
+ )
78
+ ]
79
+ }
80
+ );
81
+ }
82
+ );
83
+ D.displayName = "Chip";
84
+ export {
85
+ D as Chip
86
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),i=require("react"),_=require("react-syntax-highlighter"),$=require("react-syntax-highlighter/dist/esm/styles/prism"),l=require("./index138.cjs"),z=require("./index75.cjs");try{const r=require("refractor/all");r.default&&r.default.registered&&r.default.registered("markdown")&&!r.default.languages.markdown?.["quoted-string"]&&r.default.languages.insertBefore("markdown","bold",{"quoted-string":{pattern:/"(?:\\.|[^"\\])*"/,greedy:!0,alias:"string"}})}catch{}const A=i.forwardRef(({value:r="",onChange:g,language:j,readOnly:T=!1,showLineNumbers:k=!0,placeholder:C,minRows:m=10,className:B,"aria-label":S,...R},D)=>{const p=i.useRef(null),x=i.useRef(null),v=i.useRef(null),E=i.useRef(null),K=i.useRef(null),u=i.useRef(null),h=D||K,[y,F]=i.useState(0),[d,O]=i.useState([]);let q="dark";try{q=z.useThemeContext().theme}catch{}const P=q==="light"?$.oneLight:$.oneDark,L=Math.max(r.split(`
2
+ `).length,m);i.useEffect(()=>{if(u.current&&h.current){const{start:e,end:t}=u.current;h.current.setSelectionRange(e,t),u.current=null}}),i.useEffect(()=>{const e=v.current,t=E.current;if(!e||!t)return;const n=()=>{const o=t.clientWidth;if(o<=0)return;e.style.width=`${o}px`;const a=r.split(`
3
+ `),f=Math.max(a.length,m),b=[];for(let N=0;N<f;N++){const V=a[N]??"";e.textContent=V||" ",b.push(e.scrollHeight)}O(b)};n();const c=new ResizeObserver(n);return c.observe(t),()=>c.disconnect()},[r,m]),i.useEffect(()=>{const e=n=>{const c=n.target;p.current&&(p.current.scrollTop=c.scrollTop),x.current&&(x.current.scrollTop=c.scrollTop,x.current.scrollLeft=c.scrollLeft)},t=h?.current;if(t)return t.addEventListener("scroll",e),()=>{t.removeEventListener("scroll",e)}},[h]);const w=e=>{const t=e.value.substring(0,e.selectionStart);F(t.split(`
4
+ `).length-1)},H=e=>{if(e.key==="Tab"){e.preventDefault();const t=e.currentTarget,n=t.selectionStart,c=t.selectionEnd,o=" ";if(n===c){const a=r.substring(0,n)+o+r.substring(c);u.current={start:n+o.length,end:n+o.length},g?.(a)}else if(e.shiftKey){const a=r.lastIndexOf(`
5
+ `,n-1)+1,f=r.substring(a).match(/^ {1,2}/)?.[0]??"";if(f.length>0){const b=r.substring(0,a)+r.substring(a+f.length);u.current={start:Math.max(a,n-f.length),end:Math.max(a,c-f.length)},g?.(b)}}else{const a=r.substring(0,n)+o+r.substring(c);u.current={start:n+o.length,end:n+o.length},g?.(a)}}},M=[l.default.wrapper,B].filter(Boolean).join(" ");return j?s.jsxs("div",{className:M,style:{minHeight:`calc(${m} * 1.6em + 2 * var(--spacing-4))`},children:[s.jsx("div",{ref:v,className:l.default.lineMirror,"aria-hidden":"true"}),k&&s.jsx("div",{ref:p,className:l.default.lineNumbers,"aria-hidden":"true",children:Array.from({length:L}).map((e,t)=>s.jsx("div",{className:l.default.lineNumber,style:d[t]!==void 0?{height:`${d[t]}px`}:void 0,children:t+1},t))}),s.jsxs("div",{ref:E,className:l.default.editorArea,children:[s.jsx("div",{className:l.default.lineHighlight,style:{top:d.length>0?`calc(var(--spacing-4) + ${d.slice(0,y).reduce((e,t)=>e+t,0)}px)`:`calc(var(--spacing-4) + ${(y*1.6).toFixed(2)}em)`,...d[y]!==void 0?{height:`${d[y]}px`}:{}},"aria-hidden":"true"}),s.jsx("div",{ref:x,className:l.default.highlightLayer,"aria-hidden":"true",children:s.jsx(_.Prism,{language:j,style:P,customStyle:{margin:0,padding:0,background:"transparent",fontSize:"inherit",lineHeight:"inherit",fontFamily:"inherit",whiteSpace:"pre-wrap",wordBreak:"break-word",overflow:"visible"},codeTagProps:{style:{fontFamily:"inherit",background:"transparent",color:"var(--text-primary)",whiteSpace:"pre-wrap",wordBreak:"break-word"}},children:r+`
6
+ `})}),s.jsx("textarea",{ref:h,className:l.default.textareaOverlay,value:r,onChange:e=>g?.(e.target.value),onKeyDown:H,onKeyUp:e=>w(e.currentTarget),onMouseUp:e=>w(e.currentTarget),onClick:e=>w(e.currentTarget),placeholder:C,readOnly:T,"aria-label":S||"Code editor",spellCheck:"false",...R})]})]}):s.jsxs("div",{className:M,style:{minHeight:`calc(${m} * 1.6em + 2 * var(--spacing-4))`},children:[s.jsx("div",{ref:v,className:l.default.lineMirror,"aria-hidden":"true"}),k&&s.jsx("div",{ref:p,className:l.default.lineNumbers,"aria-hidden":"true",children:Array.from({length:L}).map((e,t)=>s.jsx("div",{className:l.default.lineNumber,style:d[t]!==void 0?{height:`${d[t]}px`}:void 0,children:t+1},t))}),s.jsx("textarea",{ref:h,className:l.default.textarea,value:r,onChange:e=>g?.(e.target.value),onKeyDown:H,placeholder:C,readOnly:T,"aria-label":S||"Code editor",spellCheck:"false",...R})]})});A.displayName="CodeEditor";exports.CodeEditor=A;