@orion-ds/react 4.2.4 → 4.2.8

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 (348) hide show
  1. package/dist/components/Alert/Alert.d.ts.map +1 -1
  2. package/dist/components/Alert/Alert.module.css +1 -1
  3. package/dist/components/Alert/Alert.stories.d.ts +2 -1
  4. package/dist/components/Alert/Alert.stories.d.ts.map +1 -1
  5. package/dist/components/Alert/Alert.types.d.ts +1 -1
  6. package/dist/components/Alert/Alert.types.d.ts.map +1 -1
  7. package/dist/components/Badge/Badge.module.css +1 -1
  8. package/dist/components/Badge/Badge.stories.d.ts +2 -2
  9. package/dist/components/Badge/Badge.stories.d.ts.map +1 -1
  10. package/dist/components/Badge/Badge.types.d.ts +2 -2
  11. package/dist/components/Badge/Badge.types.d.ts.map +1 -1
  12. package/dist/components/Button/Button.module.css +1 -1
  13. package/dist/components/Card/Card.module.css +1 -1
  14. package/dist/components/Card/Card.stories.d.ts +1 -1
  15. package/dist/components/Card/Card.stories.d.ts.map +1 -1
  16. package/dist/components/Card/Card.types.d.ts +1 -1
  17. package/dist/components/Card/Card.types.d.ts.map +1 -1
  18. package/dist/components/Chip/Chip.module.css +1 -1
  19. package/dist/components/Chip/Chip.stories.d.ts +1 -1
  20. package/dist/components/Chip/Chip.stories.d.ts.map +1 -1
  21. package/dist/components/Chip/Chip.types.d.ts +1 -1
  22. package/dist/components/Chip/Chip.types.d.ts.map +1 -1
  23. package/dist/components/Field/Field.module.css +1 -1
  24. package/dist/components/Field/Field.stories.d.ts +5 -0
  25. package/dist/components/Field/Field.stories.d.ts.map +1 -1
  26. package/dist/components/SearchInput/SearchInput.module.css +1 -1
  27. package/dist/components/Select/Select.module.css +1 -1
  28. package/dist/components/Textarea/Textarea.module.css +1 -1
  29. package/dist/index10.cjs +1 -1
  30. package/dist/index10.mjs +1 -1
  31. package/dist/index100.cjs +1 -1
  32. package/dist/index100.mjs +33 -30
  33. package/dist/index101.cjs +1 -1
  34. package/dist/index101.mjs +24 -40
  35. package/dist/index102.cjs +1 -1
  36. package/dist/index102.mjs +28 -46
  37. package/dist/index103.cjs +1 -1
  38. package/dist/index103.mjs +40 -24
  39. package/dist/index104.cjs +1 -1
  40. package/dist/index104.mjs +53 -12
  41. package/dist/index105.cjs +1 -1
  42. package/dist/index105.mjs +62 -44
  43. package/dist/index106.cjs +1 -1
  44. package/dist/index106.mjs +28 -20
  45. package/dist/index107.cjs +1 -1
  46. package/dist/index107.mjs +20 -38
  47. package/dist/index108.cjs +1 -1
  48. package/dist/index108.mjs +18 -14
  49. package/dist/index109.cjs +1 -1
  50. package/dist/index109.mjs +30 -18
  51. package/dist/index11.cjs +1 -1
  52. package/dist/index11.mjs +1 -1
  53. package/dist/index110.cjs +1 -1
  54. package/dist/index110.mjs +30 -28
  55. package/dist/index111.cjs +1 -1
  56. package/dist/index111.mjs +44 -28
  57. package/dist/index113.cjs +1 -1
  58. package/dist/index113.mjs +29 -37
  59. package/dist/index114.cjs +1 -1
  60. package/dist/index114.mjs +44 -28
  61. package/dist/index115.cjs +1 -1
  62. package/dist/index115.mjs +12 -40
  63. package/dist/index116.cjs +1 -1
  64. package/dist/index116.mjs +30 -46
  65. package/dist/index117.cjs +1 -1
  66. package/dist/index117.mjs +32 -28
  67. package/dist/index118.cjs +1 -1
  68. package/dist/index118.mjs +33 -22
  69. package/dist/index119.cjs +1 -1
  70. package/dist/index119.mjs +28 -26
  71. package/dist/index120.cjs +1 -1
  72. package/dist/index120.mjs +35 -62
  73. package/dist/index121.cjs +1 -1
  74. package/dist/index121.mjs +35 -31
  75. package/dist/index122.cjs +1 -1
  76. package/dist/index122.mjs +20 -45
  77. package/dist/index123.cjs +1 -1
  78. package/dist/index123.mjs +14 -28
  79. package/dist/index124.cjs +1 -1
  80. package/dist/index124.mjs +27 -33
  81. package/dist/index125.cjs +1 -1
  82. package/dist/index125.mjs +18 -38
  83. package/dist/index126.cjs +1 -1
  84. package/dist/index126.mjs +37 -33
  85. package/dist/index127.cjs +1 -1
  86. package/dist/index127.mjs +28 -42
  87. package/dist/index128.cjs +1 -1
  88. package/dist/index128.mjs +24 -40
  89. package/dist/index129.cjs +1 -1
  90. package/dist/index129.mjs +27 -29
  91. package/dist/index13.cjs +1 -1
  92. package/dist/index13.mjs +1 -1
  93. package/dist/index130.cjs +1 -1
  94. package/dist/index130.mjs +26 -60
  95. package/dist/index131.cjs +1 -1
  96. package/dist/index131.mjs +28 -106
  97. package/dist/index132.cjs +1 -1
  98. package/dist/index132.mjs +42 -57
  99. package/dist/index133.cjs +1 -1
  100. package/dist/index133.mjs +52 -24
  101. package/dist/index134.cjs +1 -1
  102. package/dist/index134.mjs +36 -30
  103. package/dist/index135.cjs +1 -1
  104. package/dist/index135.mjs +50 -18
  105. package/dist/index136.cjs +1 -1
  106. package/dist/index136.mjs +18 -52
  107. package/dist/index137.cjs +1 -1
  108. package/dist/index137.mjs +154 -30
  109. package/dist/index138.cjs +1 -1
  110. package/dist/index138.mjs +218 -28
  111. package/dist/index139.cjs +1 -1
  112. package/dist/index139.mjs +28 -42
  113. package/dist/index14.cjs +1 -1
  114. package/dist/index14.mjs +1 -1
  115. package/dist/index140.cjs +1 -1
  116. package/dist/index140.mjs +42 -18
  117. package/dist/index141.cjs +1 -1
  118. package/dist/index141.mjs +44 -44
  119. package/dist/index142.cjs +1 -1
  120. package/dist/index142.mjs +16 -65
  121. package/dist/index143.cjs +1 -1
  122. package/dist/index143.mjs +46 -20
  123. package/dist/index144.cjs +1 -1
  124. package/dist/index144.mjs +64 -33
  125. package/dist/index145.cjs +1 -1
  126. package/dist/index145.mjs +30 -76
  127. package/dist/index146.cjs +1 -1
  128. package/dist/index146.mjs +40 -64
  129. package/dist/index147.cjs +1 -1
  130. package/dist/index147.mjs +32 -64
  131. package/dist/index148.cjs +1 -1
  132. package/dist/index148.mjs +56 -18
  133. package/dist/index149.cjs +1 -1
  134. package/dist/index149.mjs +62 -20
  135. package/dist/index15.cjs +1 -1
  136. package/dist/index15.mjs +1 -1
  137. package/dist/index150.cjs +1 -1
  138. package/dist/index150.mjs +42 -56
  139. package/dist/index152.cjs +1 -1
  140. package/dist/index152.mjs +38 -51
  141. package/dist/index153.cjs +1 -1
  142. package/dist/index153.mjs +18 -24
  143. package/dist/index154.cjs +1 -1
  144. package/dist/index154.mjs +76 -27
  145. package/dist/index155.cjs +1 -1
  146. package/dist/index155.mjs +67 -46
  147. package/dist/index156.cjs +1 -1
  148. package/dist/index156.mjs +65 -42
  149. package/dist/index157.cjs +1 -1
  150. package/dist/index157.mjs +36 -26
  151. package/dist/index158.cjs +1 -1
  152. package/dist/index158.mjs +234 -55
  153. package/dist/index159.cjs +1 -1
  154. package/dist/index159.mjs +34 -17
  155. package/dist/index16.cjs +1 -1
  156. package/dist/index16.mjs +1 -1
  157. package/dist/index160.cjs +1 -1
  158. package/dist/index160.mjs +44 -13
  159. package/dist/index161.cjs +1 -1
  160. package/dist/index161.mjs +170 -50
  161. package/dist/index162.cjs +1 -1
  162. package/dist/index162.mjs +186 -21
  163. package/dist/index163.cjs +1 -1
  164. package/dist/index163.mjs +29 -34
  165. package/dist/index164.cjs +1 -1
  166. package/dist/index164.mjs +90 -36
  167. package/dist/index165.cjs +1 -1
  168. package/dist/index165.mjs +53 -68
  169. package/dist/index166.cjs +1 -1
  170. package/dist/index166.mjs +66 -28
  171. package/dist/index167.cjs +1 -1
  172. package/dist/index167.mjs +124 -18
  173. package/dist/index168.cjs +1 -1
  174. package/dist/index168.mjs +108 -234
  175. package/dist/index169.cjs +1 -1
  176. package/dist/index169.mjs +111 -33
  177. package/dist/index17.cjs +1 -1
  178. package/dist/index17.mjs +1 -1
  179. package/dist/index170.cjs +1 -1
  180. package/dist/index170.mjs +120 -41
  181. package/dist/index171.cjs +1 -1
  182. package/dist/index171.mjs +199 -155
  183. package/dist/index172.cjs +1 -1
  184. package/dist/index172.mjs +107 -186
  185. package/dist/index173.cjs +1 -1
  186. package/dist/index173.mjs +23 -29
  187. package/dist/index174.cjs +1 -1
  188. package/dist/index174.mjs +18 -90
  189. package/dist/index175.cjs +1 -1
  190. package/dist/index175.mjs +65 -53
  191. package/dist/index176.cjs +1 -1
  192. package/dist/index176.mjs +18 -66
  193. package/dist/index177.cjs +1 -1
  194. package/dist/index177.mjs +57 -124
  195. package/dist/index178.cjs +1 -1
  196. package/dist/index178.mjs +12 -108
  197. package/dist/index179.cjs +1 -1
  198. package/dist/index179.mjs +38 -111
  199. package/dist/index18.cjs +1 -1
  200. package/dist/index18.mjs +1 -1
  201. package/dist/index180.cjs +1 -1
  202. package/dist/index180.mjs +26 -122
  203. package/dist/index181.cjs +1 -1
  204. package/dist/index181.mjs +45 -214
  205. package/dist/index182.cjs +1 -1
  206. package/dist/index182.mjs +17 -17
  207. package/dist/index183.cjs +1 -1
  208. package/dist/index183.mjs +17 -17
  209. package/dist/index185.cjs +1 -1
  210. package/dist/index185.mjs +1 -1
  211. package/dist/index19.cjs +1 -1
  212. package/dist/index19.mjs +2 -2
  213. package/dist/index20.cjs +1 -1
  214. package/dist/index20.mjs +14 -14
  215. package/dist/index21.cjs +1 -1
  216. package/dist/index21.mjs +1 -1
  217. package/dist/index22.cjs +1 -1
  218. package/dist/index22.mjs +1 -1
  219. package/dist/index23.cjs +1 -1
  220. package/dist/index23.mjs +1 -1
  221. package/dist/index24.cjs +1 -1
  222. package/dist/index24.mjs +1 -1
  223. package/dist/index25.cjs +1 -1
  224. package/dist/index25.mjs +2 -2
  225. package/dist/index26.cjs +1 -1
  226. package/dist/index26.mjs +1 -1
  227. package/dist/index27.cjs +1 -1
  228. package/dist/index27.mjs +1 -1
  229. package/dist/index28.cjs +1 -1
  230. package/dist/index28.mjs +1 -1
  231. package/dist/index29.cjs +1 -1
  232. package/dist/index29.mjs +1 -1
  233. package/dist/index3.cjs +1 -1
  234. package/dist/index3.mjs +2 -2
  235. package/dist/index30.cjs +1 -1
  236. package/dist/index30.mjs +1 -1
  237. package/dist/index31.cjs +1 -1
  238. package/dist/index31.mjs +1 -1
  239. package/dist/index32.cjs +1 -1
  240. package/dist/index32.mjs +1 -1
  241. package/dist/index33.cjs +1 -1
  242. package/dist/index33.mjs +1 -1
  243. package/dist/index34.cjs +1 -1
  244. package/dist/index34.mjs +1 -1
  245. package/dist/index35.cjs +1 -1
  246. package/dist/index35.mjs +1 -1
  247. package/dist/index36.cjs +1 -1
  248. package/dist/index36.mjs +1 -1
  249. package/dist/index37.cjs +1 -1
  250. package/dist/index37.mjs +1 -1
  251. package/dist/index38.cjs +1 -1
  252. package/dist/index38.mjs +1 -1
  253. package/dist/index39.cjs +1 -1
  254. package/dist/index39.mjs +1 -1
  255. package/dist/index40.cjs +1 -1
  256. package/dist/index40.mjs +1 -1
  257. package/dist/index42.cjs +1 -1
  258. package/dist/index42.mjs +1 -1
  259. package/dist/index43.cjs +1 -1
  260. package/dist/index43.mjs +1 -1
  261. package/dist/index44.cjs +1 -1
  262. package/dist/index44.mjs +1 -1
  263. package/dist/index46.cjs +1 -1
  264. package/dist/index46.mjs +1 -1
  265. package/dist/index47.cjs +1 -1
  266. package/dist/index47.mjs +1 -1
  267. package/dist/index49.cjs +1 -1
  268. package/dist/index49.mjs +1 -1
  269. package/dist/index5.cjs +1 -1
  270. package/dist/index5.mjs +1 -1
  271. package/dist/index50.cjs +1 -1
  272. package/dist/index50.mjs +1 -1
  273. package/dist/index51.cjs +1 -1
  274. package/dist/index51.mjs +1 -1
  275. package/dist/index52.cjs +1 -1
  276. package/dist/index52.mjs +1 -1
  277. package/dist/index53.cjs +1 -1
  278. package/dist/index53.mjs +1 -1
  279. package/dist/index54.cjs +1 -1
  280. package/dist/index54.mjs +1 -1
  281. package/dist/index55.cjs +1 -1
  282. package/dist/index55.mjs +1 -1
  283. package/dist/index56.cjs +1 -1
  284. package/dist/index56.mjs +1 -1
  285. package/dist/index57.cjs +1 -1
  286. package/dist/index57.mjs +1 -1
  287. package/dist/index58.cjs +1 -1
  288. package/dist/index58.mjs +1 -1
  289. package/dist/index59.cjs +1 -1
  290. package/dist/index59.mjs +1 -1
  291. package/dist/index6.cjs +1 -1
  292. package/dist/index6.mjs +1 -1
  293. package/dist/index60.cjs +1 -1
  294. package/dist/index60.mjs +1 -1
  295. package/dist/index61.cjs +1 -1
  296. package/dist/index61.mjs +1 -1
  297. package/dist/index62.cjs +1 -1
  298. package/dist/index62.mjs +1 -1
  299. package/dist/index63.cjs +1 -1
  300. package/dist/index63.mjs +1 -1
  301. package/dist/index64.cjs +1 -1
  302. package/dist/index64.mjs +1 -1
  303. package/dist/index65.cjs +1 -1
  304. package/dist/index65.mjs +1 -1
  305. package/dist/index66.cjs +1 -1
  306. package/dist/index66.mjs +1 -1
  307. package/dist/index67.cjs +1 -1
  308. package/dist/index67.mjs +1 -1
  309. package/dist/index68.cjs +1 -1
  310. package/dist/index68.mjs +1 -1
  311. package/dist/index7.cjs +1 -1
  312. package/dist/index7.mjs +1 -1
  313. package/dist/index70.cjs +1 -1
  314. package/dist/index70.mjs +1 -1
  315. package/dist/index71.cjs +1 -1
  316. package/dist/index71.mjs +1 -1
  317. package/dist/index72.cjs +1 -1
  318. package/dist/index72.mjs +1 -1
  319. package/dist/index73.cjs +1 -1
  320. package/dist/index73.mjs +1 -1
  321. package/dist/index74.cjs +1 -1
  322. package/dist/index74.mjs +2 -2
  323. package/dist/index76.cjs +1 -1
  324. package/dist/index76.mjs +1 -1
  325. package/dist/index77.cjs +1 -1
  326. package/dist/index77.mjs +1 -1
  327. package/dist/index78.cjs +1 -1
  328. package/dist/index78.mjs +1 -1
  329. package/dist/index79.cjs +1 -1
  330. package/dist/index79.mjs +1 -1
  331. package/dist/index8.cjs +1 -1
  332. package/dist/index8.mjs +31 -30
  333. package/dist/index80.cjs +1 -1
  334. package/dist/index80.mjs +1 -1
  335. package/dist/index81.cjs +1 -1
  336. package/dist/index81.mjs +1 -1
  337. package/dist/index82.cjs +1 -1
  338. package/dist/index82.mjs +2 -2
  339. package/dist/index9.cjs +1 -1
  340. package/dist/index9.mjs +1 -1
  341. package/dist/index97.cjs +1 -1
  342. package/dist/index97.mjs +24 -154
  343. package/dist/index98.cjs +1 -1
  344. package/dist/index98.mjs +46 -218
  345. package/dist/index99.cjs +1 -1
  346. package/dist/index99.mjs +55 -36
  347. package/dist/styles.css +27 -9
  348. package/package.json +1 -1
package/dist/index158.mjs CHANGED
@@ -1,58 +1,237 @@
1
- const t = "_pageHeader_1wcp9_8", c = "_bordered_1wcp9_15", a = "_sticky_1wcp9_19", _ = "_backLink_1wcp9_29", r = "_backLinkAnchor_1wcp9_33", e = "_backLinkButton_1wcp9_34", b = "_breadcrumbs_1wcp9_59", n = "_breadcrumbList_1wcp9_63", i = "_breadcrumbItem_1wcp9_72", s = "_breadcrumbSeparator_1wcp9_78", o = "_breadcrumbLink_1wcp9_83", p = "_breadcrumbButton_1wcp9_84", d = "_breadcrumbCurrent_1wcp9_101", w = "_main_1wcp9_111", m = "_titleSection_1wcp9_119", u = "_titleRow_1wcp9_124", k = "_title_1wcp9_119", L = "_badge_1wcp9_141", l = "_description_1wcp9_145", g = "_actions_1wcp9_158", v = "_tabs_1wcp9_170", B = "_tab_1wcp9_170", A = "_tabActive_1wcp9_205", S = "_tabBadge_1wcp9_210", h = {
2
- pageHeader: t,
3
- bordered: c,
4
- sticky: a,
5
- backLink: _,
6
- backLinkAnchor: r,
7
- backLinkButton: e,
8
- breadcrumbs: b,
9
- breadcrumbList: n,
10
- breadcrumbItem: i,
11
- breadcrumbSeparator: s,
12
- breadcrumbLink: o,
13
- breadcrumbButton: p,
14
- breadcrumbCurrent: d,
15
- main: w,
16
- titleSection: m,
17
- titleRow: u,
18
- title: k,
19
- badge: L,
20
- description: l,
21
- actions: g,
22
- tabs: v,
23
- tab: B,
24
- tabActive: A,
25
- tabBadge: S,
26
- "size-sm": "_size-sm_1wcp9_228",
27
- "size-lg": "_size-lg_1wcp9_240",
28
- "variant-compact": "_variant-compact_1wcp9_252",
29
- "variant-with-tabs": "_variant-with-tabs_1wcp9_277",
30
- "variant-transparent": "_variant-transparent_1wcp9_285"
1
+ const e = "_chat_ytosv_12", t = "_header_ytosv_28", s = "_headerAvatar_ytosv_38", o = "_headerContent_ytosv_42", a = "_headerTitle_ytosv_47", n = "_headerSubtitle_ytosv_55", r = "_headerActions_ytosv_62", _ = "_messages_ytosv_73", i = "_messagesInner_ytosv_86", c = "_message_ytosv_73", d = "_messageUser_ytosv_124", v = "_messageAssistant_ytosv_128", m = "_messageContent_ytosv_129", y = "_messageAvatar_ytosv_144", l = "_messageAvatarUser_ytosv_158", g = "_messageAvatarAssistant_ytosv_163", b = "_messageBubble_ytosv_176", u = "_messageBubbleUser_ytosv_183", p = "_messageBubbleAssistant_ytosv_191", h = "_messageBubbleSystem_ytosv_198", B = "_messageAttachments_ytosv_207", I = "_messageFooter_ytosv_218", A = "_messageTimestamp_ytosv_229", P = "_messageStatus_ytosv_234", R = "_messageStatusError_ytosv_242", w = "_messageActions_ytosv_246", C = "_streamingCursor_ytosv_259", S = "_thinkingBubble_ytosv_288", k = "_thinkingSpinner_ytosv_296", f = "_inputContainer_ytosv_341", T = "_inputWrapper_ytosv_356", U = "_inputBox_ytosv_365", x = "_inputActions_ytosv_382", D = "_inputTextarea_ytosv_389", W = "_inputButton_ytosv_413", E = "_inputButtonPrimary_ytosv_438", H = "_pendingAttachments_ytosv_450", F = "_pendingAttachment_ytosv_450", L = "_pendingAttachmentRemove_ytosv_471", N = "_codeBlock_ytosv_495", O = "_codeBlockHeader_ytosv_503", z = "_codeBlockLanguage_ytosv_512", G = "_codeBlockCopy_ytosv_519", M = "_codeBlockCopied_ytosv_538", V = "_codeBlockContent_ytosv_542", j = "_markdown_ytosv_554", q = "_markdownUser_ytosv_684", J = "_imagePreview_ytosv_698", K = "_imagePreviewImg_ytosv_710", Q = "_audioPlayer_ytosv_721", X = "_audioPlayerButton_ytosv_731", Y = "_audioPlayerProgress_ytosv_750", Z = "_audioPlayerTrack_ytosv_757", $ = "_audioPlayerFill_ytosv_764", ee = "_audioPlayerTime_ytosv_770", te = "_voiceRecorder_ytosv_779", se = "_voiceRecorderButton_ytosv_788", oe = "_voiceRecorderButtonIdle_ytosv_807", ae = "_voiceRecorderInfo_ytosv_811", ne = "_voiceRecorderDuration_ytosv_818", re = "_voiceRecorderLabel_ytosv_824", _e = "_voiceRecorderWaveform_ytosv_829", ie = "_voiceRecorderBar_ytosv_836", ce = "_voiceRecorderActions_ytosv_866", de = "_fileUpload_ytosv_872", ve = "_fileUploadDragging_ytosv_890", me = "_fileUploadIcon_ytosv_895", ye = "_fileUploadText_ytosv_900", le = "_fileUploadHint_ytosv_906", ge = "_attachmentPreview_ytosv_913", be = "_attachmentPreviewIcon_ytosv_929", ue = "_attachmentPreviewInfo_ytosv_940", pe = "_attachmentPreviewName_ytosv_945", he = "_attachmentPreviewMeta_ytosv_953", Be = "_attachmentPreviewRemove_ytosv_958", Ie = "_lightbox_ytosv_982", Ae = "_lightboxImage_ytosv_1003", Pe = "_lightboxClose_ytosv_1010", Re = "_sidebar_ytosv_1036", we = "_sidebarHeader_ytosv_1047", Ce = "_sidebarNewButton_ytosv_1055", Se = "_sidebarSearch_ytosv_1059", ke = "_sidebarSearchInput_ytosv_1063", fe = "_sidebarList_ytosv_1083", Te = "_sidebarItem_ytosv_1089", Ue = "_sidebarItemActive_ytosv_1107", xe = "_sidebarItemContent_ytosv_1111", De = "_sidebarItemTitle_ytosv_1119", We = "_sidebarItemPreview_ytosv_1130", Ee = "_sidebarItemDelete_ytosv_1140", He = "_sidebarFooter_ytosv_1166", Fe = "_sidebarEmpty_ytosv_1171", Le = "_sidebarEmptyIcon_ytosv_1181", Ne = "_sidebarGroupHeader_ytosv_1186", Oe = "_sidebarCollapsed_ytosv_1201", ze = "_sidebarOpen_ytosv_1211", Ge = "_scrollToBottomWrapper_ytosv_1273", Me = "_scrollToBottomButton_ytosv_1282", Ve = "_inputSpinner_ytosv_1297", je = "_pendingAttachmentSize_ytosv_1311", qe = "_voiceRecorderError_ytosv_1319", Je = "_headerAvatarDefault_ytosv_1327", Ke = "_sidebarOverlay_ytosv_1336", Qe = "_sidebarNewButtonInner_ytosv_1344", Xe = "_sidebarCloseButton_ytosv_1352", Ye = "_sidebarSearchWrapper_ytosv_1356", Ze = "_sidebarSearchIcon_ytosv_1360", $e = "_sidebarSearchInputWithIcon_ytosv_1369", et = "_sidebarItemIcon_ytosv_1373", tt = "_sidebarItemDate_ytosv_1379", st = "_sidebarItemDeleteConfirm_ytosv_1388", ot = "_messageRetry_ytosv_1398", at = "_messageReactions_ytosv_1422", nt = "_messageReactionButton_ytosv_1434", rt = "_messageReactionActive_ytosv_1454", _t = "_messageReactionsVisible_ytosv_1460", it = {
2
+ chat: e,
3
+ header: t,
4
+ headerAvatar: s,
5
+ headerContent: o,
6
+ headerTitle: a,
7
+ headerSubtitle: n,
8
+ headerActions: r,
9
+ messages: _,
10
+ messagesInner: i,
11
+ message: c,
12
+ messageUser: d,
13
+ messageAssistant: v,
14
+ messageContent: m,
15
+ messageAvatar: y,
16
+ messageAvatarUser: l,
17
+ messageAvatarAssistant: g,
18
+ messageBubble: b,
19
+ messageBubbleUser: u,
20
+ messageBubbleAssistant: p,
21
+ messageBubbleSystem: h,
22
+ messageAttachments: B,
23
+ messageFooter: I,
24
+ messageTimestamp: A,
25
+ messageStatus: P,
26
+ messageStatusError: R,
27
+ messageActions: w,
28
+ streamingCursor: C,
29
+ thinkingBubble: S,
30
+ thinkingSpinner: k,
31
+ inputContainer: f,
32
+ inputWrapper: T,
33
+ inputBox: U,
34
+ inputActions: x,
35
+ inputTextarea: D,
36
+ inputButton: W,
37
+ inputButtonPrimary: E,
38
+ pendingAttachments: H,
39
+ pendingAttachment: F,
40
+ pendingAttachmentRemove: L,
41
+ codeBlock: N,
42
+ codeBlockHeader: O,
43
+ codeBlockLanguage: z,
44
+ codeBlockCopy: G,
45
+ codeBlockCopied: M,
46
+ codeBlockContent: V,
47
+ markdown: j,
48
+ markdownUser: q,
49
+ imagePreview: J,
50
+ imagePreviewImg: K,
51
+ audioPlayer: Q,
52
+ audioPlayerButton: X,
53
+ audioPlayerProgress: Y,
54
+ audioPlayerTrack: Z,
55
+ audioPlayerFill: $,
56
+ audioPlayerTime: ee,
57
+ voiceRecorder: te,
58
+ voiceRecorderButton: se,
59
+ voiceRecorderButtonIdle: oe,
60
+ voiceRecorderInfo: ae,
61
+ voiceRecorderDuration: ne,
62
+ voiceRecorderLabel: re,
63
+ voiceRecorderWaveform: _e,
64
+ voiceRecorderBar: ie,
65
+ voiceRecorderActions: ce,
66
+ fileUpload: de,
67
+ fileUploadDragging: ve,
68
+ fileUploadIcon: me,
69
+ fileUploadText: ye,
70
+ fileUploadHint: le,
71
+ attachmentPreview: ge,
72
+ attachmentPreviewIcon: be,
73
+ attachmentPreviewInfo: ue,
74
+ attachmentPreviewName: pe,
75
+ attachmentPreviewMeta: he,
76
+ attachmentPreviewRemove: Be,
77
+ lightbox: Ie,
78
+ lightboxImage: Ae,
79
+ lightboxClose: Pe,
80
+ sidebar: Re,
81
+ sidebarHeader: we,
82
+ sidebarNewButton: Ce,
83
+ sidebarSearch: Se,
84
+ sidebarSearchInput: ke,
85
+ sidebarList: fe,
86
+ sidebarItem: Te,
87
+ sidebarItemActive: Ue,
88
+ sidebarItemContent: xe,
89
+ sidebarItemTitle: De,
90
+ sidebarItemPreview: We,
91
+ sidebarItemDelete: Ee,
92
+ sidebarFooter: He,
93
+ sidebarEmpty: Fe,
94
+ sidebarEmptyIcon: Le,
95
+ sidebarGroupHeader: Ne,
96
+ sidebarCollapsed: Oe,
97
+ sidebarOpen: ze,
98
+ scrollToBottomWrapper: Ge,
99
+ scrollToBottomButton: Me,
100
+ inputSpinner: Ve,
101
+ pendingAttachmentSize: je,
102
+ voiceRecorderError: qe,
103
+ headerAvatarDefault: Je,
104
+ sidebarOverlay: Ke,
105
+ sidebarNewButtonInner: Qe,
106
+ sidebarCloseButton: Xe,
107
+ sidebarSearchWrapper: Ye,
108
+ sidebarSearchIcon: Ze,
109
+ sidebarSearchInputWithIcon: $e,
110
+ sidebarItemIcon: et,
111
+ sidebarItemDate: tt,
112
+ sidebarItemDeleteConfirm: st,
113
+ messageRetry: ot,
114
+ messageReactions: at,
115
+ messageReactionButton: nt,
116
+ messageReactionActive: rt,
117
+ messageReactionsVisible: _t
31
118
  };
32
119
  export {
33
- g as actions,
34
- _ as backLink,
35
- r as backLinkAnchor,
36
- e as backLinkButton,
37
- L as badge,
38
- c as bordered,
39
- p as breadcrumbButton,
40
- d as breadcrumbCurrent,
41
- i as breadcrumbItem,
42
- o as breadcrumbLink,
43
- n as breadcrumbList,
44
- s as breadcrumbSeparator,
45
- b as breadcrumbs,
46
- h as default,
47
- l as description,
48
- w as main,
49
- t as pageHeader,
50
- a as sticky,
51
- B as tab,
52
- A as tabActive,
53
- S as tabBadge,
54
- v as tabs,
55
- k as title,
56
- u as titleRow,
57
- m as titleSection
120
+ ge as attachmentPreview,
121
+ be as attachmentPreviewIcon,
122
+ ue as attachmentPreviewInfo,
123
+ he as attachmentPreviewMeta,
124
+ pe as attachmentPreviewName,
125
+ Be as attachmentPreviewRemove,
126
+ Q as audioPlayer,
127
+ X as audioPlayerButton,
128
+ $ as audioPlayerFill,
129
+ Y as audioPlayerProgress,
130
+ ee as audioPlayerTime,
131
+ Z as audioPlayerTrack,
132
+ e as chat,
133
+ N as codeBlock,
134
+ V as codeBlockContent,
135
+ M as codeBlockCopied,
136
+ G as codeBlockCopy,
137
+ O as codeBlockHeader,
138
+ z as codeBlockLanguage,
139
+ it as default,
140
+ de as fileUpload,
141
+ ve as fileUploadDragging,
142
+ le as fileUploadHint,
143
+ me as fileUploadIcon,
144
+ ye as fileUploadText,
145
+ t as header,
146
+ r as headerActions,
147
+ s as headerAvatar,
148
+ Je as headerAvatarDefault,
149
+ o as headerContent,
150
+ n as headerSubtitle,
151
+ a as headerTitle,
152
+ J as imagePreview,
153
+ K as imagePreviewImg,
154
+ x as inputActions,
155
+ U as inputBox,
156
+ W as inputButton,
157
+ E as inputButtonPrimary,
158
+ f as inputContainer,
159
+ Ve as inputSpinner,
160
+ D as inputTextarea,
161
+ T as inputWrapper,
162
+ Ie as lightbox,
163
+ Pe as lightboxClose,
164
+ Ae as lightboxImage,
165
+ j as markdown,
166
+ q as markdownUser,
167
+ c as message,
168
+ w as messageActions,
169
+ v as messageAssistant,
170
+ B as messageAttachments,
171
+ y as messageAvatar,
172
+ g as messageAvatarAssistant,
173
+ l as messageAvatarUser,
174
+ b as messageBubble,
175
+ p as messageBubbleAssistant,
176
+ h as messageBubbleSystem,
177
+ u as messageBubbleUser,
178
+ m as messageContent,
179
+ I as messageFooter,
180
+ rt as messageReactionActive,
181
+ nt as messageReactionButton,
182
+ at as messageReactions,
183
+ _t as messageReactionsVisible,
184
+ ot as messageRetry,
185
+ P as messageStatus,
186
+ R as messageStatusError,
187
+ A as messageTimestamp,
188
+ d as messageUser,
189
+ _ as messages,
190
+ i as messagesInner,
191
+ F as pendingAttachment,
192
+ L as pendingAttachmentRemove,
193
+ je as pendingAttachmentSize,
194
+ H as pendingAttachments,
195
+ Me as scrollToBottomButton,
196
+ Ge as scrollToBottomWrapper,
197
+ Re as sidebar,
198
+ Xe as sidebarCloseButton,
199
+ Oe as sidebarCollapsed,
200
+ Fe as sidebarEmpty,
201
+ Le as sidebarEmptyIcon,
202
+ He as sidebarFooter,
203
+ Ne as sidebarGroupHeader,
204
+ we as sidebarHeader,
205
+ Te as sidebarItem,
206
+ Ue as sidebarItemActive,
207
+ xe as sidebarItemContent,
208
+ tt as sidebarItemDate,
209
+ Ee as sidebarItemDelete,
210
+ st as sidebarItemDeleteConfirm,
211
+ et as sidebarItemIcon,
212
+ We as sidebarItemPreview,
213
+ De as sidebarItemTitle,
214
+ fe as sidebarList,
215
+ Ce as sidebarNewButton,
216
+ Qe as sidebarNewButtonInner,
217
+ ze as sidebarOpen,
218
+ Ke as sidebarOverlay,
219
+ Se as sidebarSearch,
220
+ Ze as sidebarSearchIcon,
221
+ ke as sidebarSearchInput,
222
+ $e as sidebarSearchInputWithIcon,
223
+ Ye as sidebarSearchWrapper,
224
+ C as streamingCursor,
225
+ S as thinkingBubble,
226
+ k as thinkingSpinner,
227
+ te as voiceRecorder,
228
+ ce as voiceRecorderActions,
229
+ ie as voiceRecorderBar,
230
+ se as voiceRecorderButton,
231
+ oe as voiceRecorderButtonIdle,
232
+ ne as voiceRecorderDuration,
233
+ qe as voiceRecorderError,
234
+ ae as voiceRecorderInfo,
235
+ re as voiceRecorderLabel,
236
+ _e as voiceRecorderWaveform
58
237
  };
package/dist/index159.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_group_1ugc0_3",t="_item_1ugc0_10",s="_itemPressed_1ugc0_60",_="_outline_1ugc0_71",u="_sm_1ugc0_98",o="_md_1ugc0_105",c="_lg_1ugc0_112",g={group:e,item:t,itemPressed:s,outline:_,sm:u,md:o,lg:c};exports.default=g;exports.group=e;exports.item=t;exports.itemPressed=s;exports.lg=c;exports.md=o;exports.outline=_;exports.sm=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),h=require("lucide-react"),a=require("./index158.cjs"),d=({title:r="AI Assistant",subtitle:s,avatar:l,actions:t,children:i,className:n,...c})=>e.jsxs("div",{className:[a.default.header,n].filter(Boolean).join(" "),...c,children:[e.jsx("div",{className:a.default.headerAvatar,children:l||e.jsx("div",{className:[a.default.messageAvatar,a.default.headerAvatarDefault].filter(Boolean).join(" "),children:e.jsx(h.Bot,{size:20})})}),e.jsx("div",{className:a.default.headerContent,children:i||e.jsxs(e.Fragment,{children:[e.jsx("h2",{className:a.default.headerTitle,children:r}),s&&e.jsx("p",{className:a.default.headerSubtitle,children:s})]})}),t&&e.jsx("div",{className:a.default.headerActions,children:t})]});d.displayName="ChatHeader";exports.ChatHeader=d;
package/dist/index159.mjs CHANGED
@@ -1,19 +1,36 @@
1
- const _ = "_group_1ugc0_3", s = "_item_1ugc0_10", t = "_itemPressed_1ugc0_60", e = "_outline_1ugc0_71", c = "_sm_1ugc0_98", o = "_md_1ugc0_105", u = "_lg_1ugc0_112", g = {
2
- group: _,
3
- item: s,
4
- itemPressed: t,
5
- outline: e,
6
- sm: c,
7
- md: o,
8
- lg: u
9
- };
1
+ import { jsxs as i, jsx as a, Fragment as c } from "react/jsx-runtime";
2
+ import { Bot as m } from "lucide-react";
3
+ import e from "./index158.mjs";
4
+ const o = ({
5
+ title: d = "AI Assistant",
6
+ subtitle: r,
7
+ avatar: l,
8
+ actions: s,
9
+ children: t,
10
+ className: h,
11
+ ...n
12
+ }) => /* @__PURE__ */ i(
13
+ "div",
14
+ {
15
+ className: [e.header, h].filter(Boolean).join(" "),
16
+ ...n,
17
+ children: [
18
+ /* @__PURE__ */ a("div", { className: e.headerAvatar, children: l || /* @__PURE__ */ a(
19
+ "div",
20
+ {
21
+ className: [e.messageAvatar, e.headerAvatarDefault].filter(Boolean).join(" "),
22
+ children: /* @__PURE__ */ a(m, { size: 20 })
23
+ }
24
+ ) }),
25
+ /* @__PURE__ */ a("div", { className: e.headerContent, children: t || /* @__PURE__ */ i(c, { children: [
26
+ /* @__PURE__ */ a("h2", { className: e.headerTitle, children: d }),
27
+ r && /* @__PURE__ */ a("p", { className: e.headerSubtitle, children: r })
28
+ ] }) }),
29
+ s && /* @__PURE__ */ a("div", { className: e.headerActions, children: s })
30
+ ]
31
+ }
32
+ );
33
+ o.displayName = "ChatHeader";
10
34
  export {
11
- g as default,
12
- _ as group,
13
- s as item,
14
- t as itemPressed,
15
- u as lg,
16
- o as md,
17
- e as outline,
18
- c as sm
35
+ o as ChatHeader
19
36
  };
package/dist/index16.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),o=require("./index125.cjs"),x=e=>({top:o.default.gradientTop,center:o.default.gradientCenter,bottom:o.default.gradientBottom})[e]||o.default.gradientBottom,r=({variant:e="base",interactive:a=!1,imageUrl:t,imagePosition:s="bottom",aspectRatio:y="16/9",className:I,children:d,style:l,...i})=>{const m=e==="image",c=[o.default.card,o.default[e],a&&o.default.interactive,I].filter(Boolean).join(" "),B=m?{...l,backgroundImage:t?`url(${t})`:void 0,aspectRatio:y}:l;return m?n.jsx("div",{className:c,style:B,...i,children:n.jsx("div",{className:`${o.default.imageOverlay} ${x(s)}`,children:d})}):n.jsx("div",{className:c,style:l,...i,children:d})},u=({className:e,children:a,...t})=>{const s=[o.default.header,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},f=({className:e,children:a,...t})=>{const s=[o.default.body,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},g=({className:e,children:a,...t})=>{const s=[o.default.footer,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},N=({className:e,children:a,...t})=>{const s=[o.default.imageContent,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},j=({className:e,children:a,...t})=>{const s=[o.default.imageTitle,e].filter(Boolean).join(" ");return n.jsx("h3",{className:s,...t,children:a})},C=({className:e,children:a,...t})=>{const s=[o.default.imageDescription,e].filter(Boolean).join(" ");return n.jsx("p",{className:s,...t,children:a})},p=({className:e,children:a,...t})=>{const s=[o.default.imageMeta,e].filter(Boolean).join(" ");return n.jsx("span",{className:s,...t,children:a})};r.Header=u;r.Body=f;r.Footer=g;r.ImageContent=N;r.ImageTitle=j;r.ImageDescription=C;r.ImageMeta=p;r.displayName="Card";u.displayName="Card.Header";f.displayName="Card.Body";g.displayName="Card.Footer";N.displayName="Card.ImageContent";j.displayName="Card.ImageTitle";C.displayName="Card.ImageDescription";p.displayName="Card.ImageMeta";exports.Card=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),o=require("./index152.cjs"),x=e=>({top:o.default.gradientTop,center:o.default.gradientCenter,bottom:o.default.gradientBottom})[e]||o.default.gradientBottom,r=({variant:e="base",interactive:a=!1,imageUrl:t,imagePosition:s="bottom",aspectRatio:y="16/9",className:I,children:d,style:l,...i})=>{const m=e==="image",c=[o.default.card,o.default[e],a&&o.default.interactive,I].filter(Boolean).join(" "),B=m?{...l,backgroundImage:t?`url(${t})`:void 0,aspectRatio:y}:l;return m?n.jsx("div",{className:c,style:B,...i,children:n.jsx("div",{className:`${o.default.imageOverlay} ${x(s)}`,children:d})}):n.jsx("div",{className:c,style:l,...i,children:d})},u=({className:e,children:a,...t})=>{const s=[o.default.header,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},f=({className:e,children:a,...t})=>{const s=[o.default.body,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},g=({className:e,children:a,...t})=>{const s=[o.default.footer,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},N=({className:e,children:a,...t})=>{const s=[o.default.imageContent,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},j=({className:e,children:a,...t})=>{const s=[o.default.imageTitle,e].filter(Boolean).join(" ");return n.jsx("h3",{className:s,...t,children:a})},C=({className:e,children:a,...t})=>{const s=[o.default.imageDescription,e].filter(Boolean).join(" ");return n.jsx("p",{className:s,...t,children:a})},p=({className:e,children:a,...t})=>{const s=[o.default.imageMeta,e].filter(Boolean).join(" ");return n.jsx("span",{className:s,...t,children:a})};r.Header=u;r.Body=f;r.Footer=g;r.ImageContent=N;r.ImageTitle=j;r.ImageDescription=C;r.ImageMeta=p;r.displayName="Card";u.displayName="Card.Header";f.displayName="Card.Body";g.displayName="Card.Footer";N.displayName="Card.ImageContent";j.displayName="Card.ImageTitle";C.displayName="Card.ImageDescription";p.displayName="Card.ImageMeta";exports.Card=r;
package/dist/index16.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import o from "./index125.mjs";
2
+ import o from "./index152.mjs";
3
3
  const v = (a) => ({
4
4
  top: o.gradientTop,
5
5
  center: o.gradientCenter,
package/dist/index160.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_errorBoundary_hux00_1",t="_icon_hux00_14",o="_title_hux00_19",r="_message_hux00_27",s="_resetButton_hux00_35",n={errorBoundary:e,icon:t,title:o,message:r,resetButton:s};exports.default=n;exports.errorBoundary=e;exports.icon=t;exports.message=r;exports.resetButton=s;exports.title=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),g=require("react"),f=require("lucide-react"),h=require("./index84.cjs"),t=require("./index158.cjs"),j=require("./index14.cjs"),a=g.forwardRef(({children:l,autoScroll:r=!0,className:i,...n},s)=>{const{scrollRef:c,isAtBottom:u,scrollToBottom:m}=h.useAutoScroll({enabled:r}),d=o=>{c.current=o,typeof s=="function"?s(o):s&&(s.current=o)};return e.jsxs("div",{ref:d,className:[t.default.messages,i].filter(Boolean).join(" "),role:"log","aria-live":"polite","aria-label":"Chat messages","aria-relevant":"additions",...n,children:[e.jsx("div",{className:t.default.messagesInner,children:l}),!u&&e.jsx("div",{className:t.default.scrollToBottomWrapper,children:e.jsx(j.Button,{variant:"secondary",size:"sm",iconOnly:!0,icon:e.jsx(f.ArrowDown,{size:18}),onClick:m,"aria-label":"Scroll to latest messages",className:t.default.scrollToBottomButton})})]})});a.displayName="ChatMessages";exports.ChatMessages=a;
package/dist/index160.mjs CHANGED
@@ -1,15 +1,46 @@
1
- const t = "_errorBoundary_hux00_1", e = "_icon_hux00_14", o = "_title_hux00_19", s = "_message_hux00_27", r = "_resetButton_hux00_35", n = {
2
- errorBoundary: t,
3
- icon: e,
4
- title: o,
5
- message: s,
6
- resetButton: r
7
- };
1
+ import { jsxs as p, jsx as s } from "react/jsx-runtime";
2
+ import { forwardRef as f } from "react";
3
+ import { ArrowDown as u } from "lucide-react";
4
+ import { useAutoScroll as g } from "./index84.mjs";
5
+ import e from "./index158.mjs";
6
+ import { Button as h } from "./index14.mjs";
7
+ const B = f(
8
+ ({ children: r, autoScroll: a = !0, className: l, ...i }, o) => {
9
+ const { scrollRef: m, isAtBottom: n, scrollToBottom: c } = g({
10
+ enabled: a
11
+ });
12
+ return /* @__PURE__ */ p(
13
+ "div",
14
+ {
15
+ ref: (t) => {
16
+ m.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
17
+ },
18
+ className: [e.messages, l].filter(Boolean).join(" "),
19
+ role: "log",
20
+ "aria-live": "polite",
21
+ "aria-label": "Chat messages",
22
+ "aria-relevant": "additions",
23
+ ...i,
24
+ children: [
25
+ /* @__PURE__ */ s("div", { className: e.messagesInner, children: r }),
26
+ !n && /* @__PURE__ */ s("div", { className: e.scrollToBottomWrapper, children: /* @__PURE__ */ s(
27
+ h,
28
+ {
29
+ variant: "secondary",
30
+ size: "sm",
31
+ iconOnly: !0,
32
+ icon: /* @__PURE__ */ s(u, { size: 18 }),
33
+ onClick: c,
34
+ "aria-label": "Scroll to latest messages",
35
+ className: e.scrollToBottomButton
36
+ }
37
+ ) })
38
+ ]
39
+ }
40
+ );
41
+ }
42
+ );
43
+ B.displayName = "ChatMessages";
8
44
  export {
9
- n as default,
10
- t as errorBoundary,
11
- e as icon,
12
- s as message,
13
- r as resetButton,
14
- o as title
45
+ B as ChatMessages
15
46
  };
package/dist/index161.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="_navbar_8ho3g_8",e="_solid_8ho3g_23",s="_transparent_8ho3g_27",n="_glass_8ho3g_31",t="_schemeLight_8ho3g_40",_="_schemeDark_8ho3g_46",g="_brand_8ho3g_56",c="_link_8ho3g_60",l="_active_8ho3g_69",a="_toggleLine_8ho3g_74",i="_bordered_8ho3g_101",h="_sticky_8ho3g_109",r="_sm_8ho3g_118",d="_md_8ho3g_122",p="_lg_8ho3g_126",m="_nav_8ho3g_8",b="_actions_8ho3g_207",v="_toggle_8ho3g_74",k="_toggleIcon_8ho3g_241",O="_toggleOpen_8ho3g_260",D="_collapse_8ho3g_277",L="_collapseOpen_8ho3g_281",u="_slideDown_8ho3g_1",y="_collapseActions_8ho3g_317",w={navbar:o,solid:e,transparent:s,glass:n,schemeLight:t,schemeDark:_,brand:g,link:c,active:l,toggleLine:a,bordered:i,sticky:h,sm:r,md:d,lg:p,nav:m,actions:b,toggle:v,toggleIcon:k,toggleOpen:O,collapse:D,collapseOpen:L,slideDown:u,collapseActions:y};exports.actions=b;exports.active=l;exports.bordered=i;exports.brand=g;exports.collapse=D;exports.collapseActions=y;exports.collapseOpen=L;exports.default=w;exports.glass=n;exports.lg=p;exports.link=c;exports.md=d;exports.nav=m;exports.navbar=o;exports.schemeDark=_;exports.schemeLight=t;exports.slideDown=u;exports.sm=r;exports.solid=e;exports.sticky=h;exports.toggle=v;exports.toggleIcon=k;exports.toggleLine=a;exports.toggleOpen=O;exports.transparent=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),t=require("lucide-react"),p=require("./index165.cjs"),y=require("./index170.cjs"),e=require("./index158.cjs"),R=a=>a?new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit",hour12:!0}).format(a):"",S=a=>{switch(a){case"sending":return s.jsx(t.Clock,{size:12});case"sent":return s.jsx(t.Check,{size:12});case"error":return s.jsx(t.AlertCircle,{size:12});default:return null}},b=({role:a,content:u,timestamp:m,status:i,attachments:d,avatar:C,showAvatar:N,actions:c,isStreaming:k,onImageClick:f,onRetry:g,reaction:l,onReaction:o,children:j,className:h,...x})=>{const r=a==="user",A=a==="system",v=a==="assistant",B=N??!1;return A?s.jsx("div",{className:[e.default.message,h].filter(Boolean).join(" "),role:"listitem",...x,children:s.jsx("div",{className:e.default.messageContent,children:s.jsx("div",{className:e.default.messageBubbleSystem,children:j||u})})}):s.jsxs("div",{className:[e.default.message,r&&e.default.messageUser,v&&e.default.messageAssistant,h].filter(Boolean).join(" "),role:"listitem",...x,children:[B&&s.jsx("div",{className:[e.default.messageAvatar,r?e.default.messageAvatarUser:e.default.messageAvatarAssistant].filter(Boolean).join(" "),"aria-hidden":"true",children:C||(r?s.jsx(t.User,{size:18}):s.jsx(t.Bot,{size:18}))}),s.jsxs("div",{className:e.default.messageContent,children:[s.jsxs("div",{className:[e.default.messageBubble,r?e.default.messageBubbleUser:e.default.messageBubbleAssistant].filter(Boolean).join(" "),children:[j||s.jsx(p.ChatMarkdown,{content:u,className:r?e.default.markdownUser:void 0}),k&&s.jsx("span",{className:e.default.streamingCursor})]}),d&&d.length>0&&s.jsx("div",{className:e.default.messageAttachments,children:d.map(n=>s.jsx(y.ChatAttachment,{attachment:n,onClick:n.type==="image"&&f?()=>f(n):void 0},n.id))}),s.jsxs("div",{className:e.default.messageFooter,children:[m&&s.jsx("span",{className:e.default.messageTimestamp,children:R(m)}),i&&s.jsxs("span",{className:[e.default.messageStatus,i==="error"&&e.default.messageStatusError].filter(Boolean).join(" "),children:[S(i),i==="error"&&"Failed to send"]}),i==="error"&&g&&s.jsxs("button",{className:e.default.messageRetry,onClick:g,"aria-label":"Retry sending message",children:[s.jsx(t.RotateCcw,{size:12}),"Retry"]}),c&&s.jsx("div",{className:e.default.messageActions,children:c}),v&&o&&s.jsxs("div",{className:[e.default.messageReactions,l&&e.default.messageReactionsVisible].filter(Boolean).join(" "),children:[s.jsx("button",{className:[e.default.messageReactionButton,l==="like"&&e.default.messageReactionActive].filter(Boolean).join(" "),onClick:()=>o("like"),"aria-label":"Like this response","aria-pressed":l==="like",children:s.jsx(t.ThumbsUp,{size:14})}),s.jsx("button",{className:[e.default.messageReactionButton,l==="dislike"&&e.default.messageReactionActive].filter(Boolean).join(" "),onClick:()=>o("dislike"),"aria-label":"Dislike this response","aria-pressed":l==="dislike",children:s.jsx(t.ThumbsDown,{size:14})})]})]})]})]})};b.displayName="ChatMessage";exports.ChatMessage=b;