@aceshooting/lyra-ui 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1133) hide show
  1. package/README.md +32 -17
  2. package/custom-elements.json +37419 -20401
  3. package/dist/components/app-rail/app-rail-item.class.d.ts +36 -0
  4. package/dist/components/app-rail/app-rail-item.class.d.ts.map +1 -0
  5. package/dist/components/app-rail/app-rail-item.class.js +77 -0
  6. package/dist/components/app-rail/app-rail-item.class.js.map +1 -0
  7. package/dist/components/app-rail/app-rail-item.d.ts +2 -30
  8. package/dist/components/app-rail/app-rail-item.d.ts.map +1 -0
  9. package/dist/components/app-rail/app-rail-item.js +3 -66
  10. package/dist/components/app-rail/app-rail-item.js.map +1 -0
  11. package/dist/components/app-rail/app-rail-item.styles.d.ts +1 -0
  12. package/dist/components/app-rail/app-rail-item.styles.d.ts.map +1 -0
  13. package/dist/components/app-rail/app-rail-item.styles.js +9 -3
  14. package/dist/components/app-rail/app-rail-item.styles.js.map +1 -0
  15. package/dist/components/app-rail/app-rail.class.d.ts +213 -0
  16. package/dist/components/app-rail/app-rail.class.d.ts.map +1 -0
  17. package/dist/components/app-rail/app-rail.class.js +545 -0
  18. package/dist/components/app-rail/app-rail.class.js.map +1 -0
  19. package/dist/components/app-rail/app-rail.d.ts +3 -168
  20. package/dist/components/app-rail/app-rail.d.ts.map +1 -0
  21. package/dist/components/app-rail/app-rail.js +4 -417
  22. package/dist/components/app-rail/app-rail.js.map +1 -0
  23. package/dist/components/app-rail/app-rail.styles.d.ts +1 -0
  24. package/dist/components/app-rail/app-rail.styles.d.ts.map +1 -0
  25. package/dist/components/app-rail/app-rail.styles.js +39 -10
  26. package/dist/components/app-rail/app-rail.styles.js.map +1 -0
  27. package/dist/components/attachment-chip/attachment-chip.class.d.ts +151 -0
  28. package/dist/components/attachment-chip/attachment-chip.class.d.ts.map +1 -0
  29. package/dist/components/attachment-chip/attachment-chip.class.js +370 -0
  30. package/dist/components/attachment-chip/attachment-chip.class.js.map +1 -0
  31. package/dist/components/attachment-chip/attachment-chip.d.ts +2 -141
  32. package/dist/components/attachment-chip/attachment-chip.d.ts.map +1 -0
  33. package/dist/components/attachment-chip/attachment-chip.js +3 -354
  34. package/dist/components/attachment-chip/attachment-chip.js.map +1 -0
  35. package/dist/components/attachment-chip/attachment-chip.styles.d.ts +1 -0
  36. package/dist/components/attachment-chip/attachment-chip.styles.d.ts.map +1 -0
  37. package/dist/components/attachment-chip/attachment-chip.styles.js +29 -13
  38. package/dist/components/attachment-chip/attachment-chip.styles.js.map +1 -0
  39. package/dist/components/attachment-trigger/attachment-trigger.class.d.ts +106 -0
  40. package/dist/components/attachment-trigger/attachment-trigger.class.d.ts.map +1 -0
  41. package/dist/components/attachment-trigger/attachment-trigger.class.js +227 -0
  42. package/dist/components/attachment-trigger/attachment-trigger.class.js.map +1 -0
  43. package/dist/components/attachment-trigger/attachment-trigger.d.ts +4 -96
  44. package/dist/components/attachment-trigger/attachment-trigger.d.ts.map +1 -0
  45. package/dist/components/attachment-trigger/attachment-trigger.js +5 -268
  46. package/dist/components/attachment-trigger/attachment-trigger.js.map +1 -0
  47. package/dist/components/attachment-trigger/attachment-trigger.styles.d.ts +1 -0
  48. package/dist/components/attachment-trigger/attachment-trigger.styles.d.ts.map +1 -0
  49. package/dist/components/attachment-trigger/attachment-trigger.styles.js +11 -6
  50. package/dist/components/attachment-trigger/attachment-trigger.styles.js.map +1 -0
  51. package/dist/components/chart/bar-chart.class.d.ts +15 -0
  52. package/dist/components/chart/bar-chart.class.d.ts.map +1 -0
  53. package/dist/components/chart/bar-chart.class.js +10 -0
  54. package/dist/components/chart/bar-chart.class.js.map +1 -0
  55. package/dist/components/chart/bar-chart.d.ts +3 -14
  56. package/dist/components/chart/bar-chart.d.ts.map +1 -0
  57. package/dist/components/chart/bar-chart.js +4 -9
  58. package/dist/components/chart/bar-chart.js.map +1 -0
  59. package/dist/components/chart/box-plot.class.d.ts +78 -0
  60. package/dist/components/chart/box-plot.class.d.ts.map +1 -0
  61. package/dist/components/chart/box-plot.class.js +320 -0
  62. package/dist/components/chart/box-plot.class.js.map +1 -0
  63. package/dist/components/chart/box-plot.d.ts +3 -77
  64. package/dist/components/chart/box-plot.d.ts.map +1 -0
  65. package/dist/components/chart/box-plot.js +4 -319
  66. package/dist/components/chart/box-plot.js.map +1 -0
  67. package/dist/components/chart/box-plot.styles.d.ts +1 -0
  68. package/dist/components/chart/box-plot.styles.d.ts.map +1 -0
  69. package/dist/components/chart/box-plot.styles.js +2 -1
  70. package/dist/components/chart/box-plot.styles.js.map +1 -0
  71. package/dist/components/chart/bubble-chart.class.d.ts +19 -0
  72. package/dist/components/chart/bubble-chart.class.d.ts.map +1 -0
  73. package/dist/components/chart/bubble-chart.class.js +14 -0
  74. package/dist/components/chart/bubble-chart.class.js.map +1 -0
  75. package/dist/components/chart/bubble-chart.d.ts +3 -18
  76. package/dist/components/chart/bubble-chart.d.ts.map +1 -0
  77. package/dist/components/chart/bubble-chart.js +4 -13
  78. package/dist/components/chart/bubble-chart.js.map +1 -0
  79. package/dist/components/chart/chart-loader.d.ts +12 -9
  80. package/dist/components/chart/chart-loader.d.ts.map +1 -0
  81. package/dist/components/chart/chart-loader.js +1 -0
  82. package/dist/components/chart/chart-loader.js.map +1 -0
  83. package/dist/components/chart/chart.class.d.ts +209 -0
  84. package/dist/components/chart/chart.class.d.ts.map +1 -0
  85. package/dist/components/chart/chart.class.js +651 -0
  86. package/dist/components/chart/chart.class.js.map +1 -0
  87. package/dist/components/chart/chart.d.ts +3 -196
  88. package/dist/components/chart/chart.d.ts.map +1 -0
  89. package/dist/components/chart/chart.js +4 -682
  90. package/dist/components/chart/chart.js.map +1 -0
  91. package/dist/components/chart/chart.styles.d.ts +1 -0
  92. package/dist/components/chart/chart.styles.d.ts.map +1 -0
  93. package/dist/components/chart/chart.styles.js +5 -4
  94. package/dist/components/chart/chart.styles.js.map +1 -0
  95. package/dist/components/chart/doughnut-chart.class.d.ts +15 -0
  96. package/dist/components/chart/doughnut-chart.class.d.ts.map +1 -0
  97. package/dist/components/chart/doughnut-chart.class.js +10 -0
  98. package/dist/components/chart/doughnut-chart.class.js.map +1 -0
  99. package/dist/components/chart/doughnut-chart.d.ts +3 -14
  100. package/dist/components/chart/doughnut-chart.d.ts.map +1 -0
  101. package/dist/components/chart/doughnut-chart.js +4 -9
  102. package/dist/components/chart/doughnut-chart.js.map +1 -0
  103. package/dist/components/chart/histogram-bin.d.ts +1 -0
  104. package/dist/components/chart/histogram-bin.d.ts.map +1 -0
  105. package/dist/components/chart/histogram-bin.js +1 -0
  106. package/dist/components/chart/histogram-bin.js.map +1 -0
  107. package/dist/components/chart/histogram.class.d.ts +23 -0
  108. package/dist/components/chart/histogram.class.d.ts.map +1 -0
  109. package/dist/components/chart/histogram.class.js +91 -0
  110. package/dist/components/chart/histogram.class.js.map +1 -0
  111. package/dist/components/chart/histogram.d.ts +3 -22
  112. package/dist/components/chart/histogram.d.ts.map +1 -0
  113. package/dist/components/chart/histogram.js +4 -90
  114. package/dist/components/chart/histogram.js.map +1 -0
  115. package/dist/components/chart/histogram.styles.d.ts +1 -0
  116. package/dist/components/chart/histogram.styles.d.ts.map +1 -0
  117. package/dist/components/chart/histogram.styles.js +1 -0
  118. package/dist/components/chart/histogram.styles.js.map +1 -0
  119. package/dist/components/chart/line-chart.class.d.ts +15 -0
  120. package/dist/components/chart/line-chart.class.d.ts.map +1 -0
  121. package/dist/components/chart/line-chart.class.js +10 -0
  122. package/dist/components/chart/line-chart.class.js.map +1 -0
  123. package/dist/components/chart/line-chart.d.ts +3 -14
  124. package/dist/components/chart/line-chart.d.ts.map +1 -0
  125. package/dist/components/chart/line-chart.js +4 -9
  126. package/dist/components/chart/line-chart.js.map +1 -0
  127. package/dist/components/chart/lite-chart.class.d.ts +237 -0
  128. package/dist/components/chart/lite-chart.class.d.ts.map +1 -0
  129. package/dist/components/chart/lite-chart.class.js +757 -0
  130. package/dist/components/chart/lite-chart.class.js.map +1 -0
  131. package/dist/components/chart/lite-chart.d.ts +2 -214
  132. package/dist/components/chart/lite-chart.d.ts.map +1 -0
  133. package/dist/components/chart/lite-chart.js +3 -737
  134. package/dist/components/chart/lite-chart.js.map +1 -0
  135. package/dist/components/chart/lite-chart.styles.d.ts +1 -0
  136. package/dist/components/chart/lite-chart.styles.d.ts.map +1 -0
  137. package/dist/components/chart/lite-chart.styles.js +19 -10
  138. package/dist/components/chart/lite-chart.styles.js.map +1 -0
  139. package/dist/components/chart/pie-chart.class.d.ts +16 -0
  140. package/dist/components/chart/pie-chart.class.d.ts.map +1 -0
  141. package/dist/components/chart/pie-chart.class.js +11 -0
  142. package/dist/components/chart/pie-chart.class.js.map +1 -0
  143. package/dist/components/chart/pie-chart.d.ts +3 -15
  144. package/dist/components/chart/pie-chart.d.ts.map +1 -0
  145. package/dist/components/chart/pie-chart.js +4 -10
  146. package/dist/components/chart/pie-chart.js.map +1 -0
  147. package/dist/components/chart/polar-area-chart.class.d.ts +15 -0
  148. package/dist/components/chart/polar-area-chart.class.d.ts.map +1 -0
  149. package/dist/components/chart/polar-area-chart.class.js +10 -0
  150. package/dist/components/chart/polar-area-chart.class.js.map +1 -0
  151. package/dist/components/chart/polar-area-chart.d.ts +3 -14
  152. package/dist/components/chart/polar-area-chart.d.ts.map +1 -0
  153. package/dist/components/chart/polar-area-chart.js +4 -9
  154. package/dist/components/chart/polar-area-chart.js.map +1 -0
  155. package/dist/components/chart/radar-chart.class.d.ts +15 -0
  156. package/dist/components/chart/radar-chart.class.d.ts.map +1 -0
  157. package/dist/components/chart/radar-chart.class.js +10 -0
  158. package/dist/components/chart/radar-chart.class.js.map +1 -0
  159. package/dist/components/chart/radar-chart.d.ts +3 -14
  160. package/dist/components/chart/radar-chart.d.ts.map +1 -0
  161. package/dist/components/chart/radar-chart.js +4 -9
  162. package/dist/components/chart/radar-chart.js.map +1 -0
  163. package/dist/components/chart/scatter-chart.class.d.ts +16 -0
  164. package/dist/components/chart/scatter-chart.class.d.ts.map +1 -0
  165. package/dist/components/chart/scatter-chart.class.js +11 -0
  166. package/dist/components/chart/scatter-chart.class.js.map +1 -0
  167. package/dist/components/chart/scatter-chart.d.ts +3 -15
  168. package/dist/components/chart/scatter-chart.d.ts.map +1 -0
  169. package/dist/components/chart/scatter-chart.js +4 -10
  170. package/dist/components/chart/scatter-chart.js.map +1 -0
  171. package/dist/components/chat-composer/chat-composer.class.d.ts +145 -0
  172. package/dist/components/chat-composer/chat-composer.class.d.ts.map +1 -0
  173. package/dist/components/chat-composer/chat-composer.class.js +314 -0
  174. package/dist/components/chat-composer/chat-composer.class.js.map +1 -0
  175. package/dist/components/chat-composer/chat-composer.d.ts +2 -133
  176. package/dist/components/chat-composer/chat-composer.d.ts.map +1 -0
  177. package/dist/components/chat-composer/chat-composer.js +3 -364
  178. package/dist/components/chat-composer/chat-composer.js.map +1 -0
  179. package/dist/components/chat-composer/chat-composer.styles.d.ts +1 -0
  180. package/dist/components/chat-composer/chat-composer.styles.d.ts.map +1 -0
  181. package/dist/components/chat-composer/chat-composer.styles.js +5 -4
  182. package/dist/components/chat-composer/chat-composer.styles.js.map +1 -0
  183. package/dist/components/chat-message/chat-message.class.d.ts +145 -0
  184. package/dist/components/chat-message/chat-message.class.d.ts.map +1 -0
  185. package/dist/components/chat-message/chat-message.class.js +270 -0
  186. package/dist/components/chat-message/chat-message.class.js.map +1 -0
  187. package/dist/components/chat-message/chat-message.d.ts +3 -141
  188. package/dist/components/chat-message/chat-message.d.ts.map +1 -0
  189. package/dist/components/chat-message/chat-message.js +4 -329
  190. package/dist/components/chat-message/chat-message.js.map +1 -0
  191. package/dist/components/chat-message/chat-message.styles.d.ts +1 -0
  192. package/dist/components/chat-message/chat-message.styles.d.ts.map +1 -0
  193. package/dist/components/chat-message/chat-message.styles.js +13 -12
  194. package/dist/components/chat-message/chat-message.styles.js.map +1 -0
  195. package/dist/components/checkbox/checkbox.class.d.ts +123 -0
  196. package/dist/components/checkbox/checkbox.class.d.ts.map +1 -0
  197. package/dist/components/checkbox/checkbox.class.js +328 -0
  198. package/dist/components/checkbox/checkbox.class.js.map +1 -0
  199. package/dist/components/checkbox/checkbox.d.ts +2 -117
  200. package/dist/components/checkbox/checkbox.d.ts.map +1 -0
  201. package/dist/components/checkbox/checkbox.js +3 -351
  202. package/dist/components/checkbox/checkbox.js.map +1 -0
  203. package/dist/components/checkbox/checkbox.styles.d.ts +1 -0
  204. package/dist/components/checkbox/checkbox.styles.d.ts.map +1 -0
  205. package/dist/components/checkbox/checkbox.styles.js +5 -4
  206. package/dist/components/checkbox/checkbox.styles.js.map +1 -0
  207. package/dist/components/chip/chip-group.class.d.ts +57 -0
  208. package/dist/components/chip/chip-group.class.d.ts.map +1 -0
  209. package/dist/components/chip/chip-group.class.js +129 -0
  210. package/dist/components/chip/chip-group.class.js.map +1 -0
  211. package/dist/components/chip/chip-group.d.ts +2 -56
  212. package/dist/components/chip/chip-group.d.ts.map +1 -0
  213. package/dist/components/chip/chip-group.js +3 -128
  214. package/dist/components/chip/chip-group.js.map +1 -0
  215. package/dist/components/chip/chip-group.styles.d.ts +1 -0
  216. package/dist/components/chip/chip-group.styles.d.ts.map +1 -0
  217. package/dist/components/chip/chip-group.styles.js +7 -6
  218. package/dist/components/chip/chip-group.styles.js.map +1 -0
  219. package/dist/components/chip/chip.class.d.ts +65 -0
  220. package/dist/components/chip/chip.class.d.ts.map +1 -0
  221. package/dist/components/chip/chip.class.js +121 -0
  222. package/dist/components/chip/chip.class.js.map +1 -0
  223. package/dist/components/chip/chip.d.ts +2 -64
  224. package/dist/components/chip/chip.d.ts.map +1 -0
  225. package/dist/components/chip/chip.js +3 -120
  226. package/dist/components/chip/chip.js.map +1 -0
  227. package/dist/components/chip/chip.styles.d.ts +1 -0
  228. package/dist/components/chip/chip.styles.d.ts.map +1 -0
  229. package/dist/components/chip/chip.styles.js +12 -11
  230. package/dist/components/chip/chip.styles.js.map +1 -0
  231. package/dist/components/citation-badge/citation-badge.class.d.ts +114 -0
  232. package/dist/components/citation-badge/citation-badge.class.d.ts.map +1 -0
  233. package/dist/components/citation-badge/citation-badge.class.js +317 -0
  234. package/dist/components/citation-badge/citation-badge.class.js.map +1 -0
  235. package/dist/components/citation-badge/citation-badge.d.ts +2 -113
  236. package/dist/components/citation-badge/citation-badge.d.ts.map +1 -0
  237. package/dist/components/citation-badge/citation-badge.js +3 -316
  238. package/dist/components/citation-badge/citation-badge.js.map +1 -0
  239. package/dist/components/citation-badge/citation-badge.styles.d.ts +1 -0
  240. package/dist/components/citation-badge/citation-badge.styles.d.ts.map +1 -0
  241. package/dist/components/citation-badge/citation-badge.styles.js +12 -11
  242. package/dist/components/citation-badge/citation-badge.styles.js.map +1 -0
  243. package/dist/components/code-block/code-block.class.d.ts +141 -0
  244. package/dist/components/code-block/code-block.class.d.ts.map +1 -0
  245. package/dist/components/code-block/code-block.class.js +333 -0
  246. package/dist/components/code-block/code-block.class.js.map +1 -0
  247. package/dist/components/code-block/code-block.d.ts +3 -127
  248. package/dist/components/code-block/code-block.d.ts.map +1 -0
  249. package/dist/components/code-block/code-block.js +4 -380
  250. package/dist/components/code-block/code-block.js.map +1 -0
  251. package/dist/components/code-block/code-block.styles.d.ts +1 -0
  252. package/dist/components/code-block/code-block.styles.d.ts.map +1 -0
  253. package/dist/components/code-block/code-block.styles.js +25 -21
  254. package/dist/components/code-block/code-block.styles.js.map +1 -0
  255. package/dist/components/code-block/code-loader.d.ts +8 -7
  256. package/dist/components/code-block/code-loader.d.ts.map +1 -0
  257. package/dist/components/code-block/code-loader.js +1 -0
  258. package/dist/components/code-block/code-loader.js.map +1 -0
  259. package/dist/components/combobox/combobox.class.d.ts +205 -0
  260. package/dist/components/combobox/combobox.class.d.ts.map +1 -0
  261. package/dist/components/combobox/combobox.class.js +854 -0
  262. package/dist/components/combobox/combobox.class.js.map +1 -0
  263. package/dist/components/combobox/combobox.d.ts +3 -199
  264. package/dist/components/combobox/combobox.d.ts.map +1 -0
  265. package/dist/components/combobox/combobox.js +4 -891
  266. package/dist/components/combobox/combobox.js.map +1 -0
  267. package/dist/components/combobox/combobox.styles.d.ts +1 -0
  268. package/dist/components/combobox/combobox.styles.d.ts.map +1 -0
  269. package/dist/components/combobox/combobox.styles.js +34 -33
  270. package/dist/components/combobox/combobox.styles.js.map +1 -0
  271. package/dist/components/combobox/option.class.d.ts +44 -0
  272. package/dist/components/combobox/option.class.d.ts.map +1 -0
  273. package/dist/components/combobox/option.class.js +101 -0
  274. package/dist/components/combobox/option.class.js.map +1 -0
  275. package/dist/components/combobox/option.d.ts +2 -40
  276. package/dist/components/combobox/option.d.ts.map +1 -0
  277. package/dist/components/combobox/option.js +3 -109
  278. package/dist/components/combobox/option.js.map +1 -0
  279. package/dist/components/context-meter/context-meter.class.d.ts +54 -0
  280. package/dist/components/context-meter/context-meter.class.d.ts.map +1 -0
  281. package/dist/components/context-meter/context-meter.class.js +158 -0
  282. package/dist/components/context-meter/context-meter.class.js.map +1 -0
  283. package/dist/components/context-meter/context-meter.d.ts +2 -53
  284. package/dist/components/context-meter/context-meter.d.ts.map +1 -0
  285. package/dist/components/context-meter/context-meter.js +3 -157
  286. package/dist/components/context-meter/context-meter.js.map +1 -0
  287. package/dist/components/context-meter/context-meter.styles.d.ts +1 -0
  288. package/dist/components/context-meter/context-meter.styles.d.ts.map +1 -0
  289. package/dist/components/context-meter/context-meter.styles.js +7 -6
  290. package/dist/components/context-meter/context-meter.styles.js.map +1 -0
  291. package/dist/components/conversation-item/conversation-item.class.d.ts +127 -0
  292. package/dist/components/conversation-item/conversation-item.class.d.ts.map +1 -0
  293. package/dist/components/conversation-item/conversation-item.class.js +259 -0
  294. package/dist/components/conversation-item/conversation-item.class.js.map +1 -0
  295. package/dist/components/conversation-item/conversation-item.d.ts +2 -125
  296. package/dist/components/conversation-item/conversation-item.d.ts.map +1 -0
  297. package/dist/components/conversation-item/conversation-item.js +3 -329
  298. package/dist/components/conversation-item/conversation-item.js.map +1 -0
  299. package/dist/components/conversation-item/conversation-item.styles.d.ts +1 -0
  300. package/dist/components/conversation-item/conversation-item.styles.d.ts.map +1 -0
  301. package/dist/components/conversation-item/conversation-item.styles.js +12 -11
  302. package/dist/components/conversation-item/conversation-item.styles.js.map +1 -0
  303. package/dist/components/copy-button/copy-button.class.d.ts +37 -0
  304. package/dist/components/copy-button/copy-button.class.d.ts.map +1 -0
  305. package/dist/components/copy-button/copy-button.class.js +103 -0
  306. package/dist/components/copy-button/copy-button.class.js.map +1 -0
  307. package/dist/components/copy-button/copy-button.d.ts +2 -0
  308. package/dist/components/copy-button/copy-button.d.ts.map +1 -0
  309. package/dist/components/copy-button/copy-button.js +5 -0
  310. package/dist/components/copy-button/copy-button.js.map +1 -0
  311. package/dist/components/copy-button/copy-button.styles.d.ts +2 -0
  312. package/dist/components/copy-button/copy-button.styles.d.ts.map +1 -0
  313. package/dist/components/copy-button/copy-button.styles.js +40 -0
  314. package/dist/components/copy-button/copy-button.styles.js.map +1 -0
  315. package/dist/components/date-picker/calendar-core.d.ts +1 -0
  316. package/dist/components/date-picker/calendar-core.d.ts.map +1 -0
  317. package/dist/components/date-picker/calendar-core.js +1 -0
  318. package/dist/components/date-picker/calendar-core.js.map +1 -0
  319. package/dist/components/date-picker/date-input.class.d.ts +185 -0
  320. package/dist/components/date-picker/date-input.class.d.ts.map +1 -0
  321. package/dist/components/date-picker/date-input.class.js +676 -0
  322. package/dist/components/date-picker/date-input.class.js.map +1 -0
  323. package/dist/components/date-picker/date-input.d.ts +3 -168
  324. package/dist/components/date-picker/date-input.d.ts.map +1 -0
  325. package/dist/components/date-picker/date-input.js +4 -675
  326. package/dist/components/date-picker/date-input.js.map +1 -0
  327. package/dist/components/date-picker/date-input.styles.d.ts +1 -0
  328. package/dist/components/date-picker/date-input.styles.d.ts.map +1 -0
  329. package/dist/components/date-picker/date-input.styles.js +11 -10
  330. package/dist/components/date-picker/date-input.styles.js.map +1 -0
  331. package/dist/components/date-picker/date-picker.class.d.ts +121 -0
  332. package/dist/components/date-picker/date-picker.class.d.ts.map +1 -0
  333. package/dist/components/date-picker/date-picker.class.js +513 -0
  334. package/dist/components/date-picker/date-picker.class.js.map +1 -0
  335. package/dist/components/date-picker/date-picker.d.ts +2 -103
  336. package/dist/components/date-picker/date-picker.d.ts.map +1 -0
  337. package/dist/components/date-picker/date-picker.js +3 -490
  338. package/dist/components/date-picker/date-picker.js.map +1 -0
  339. package/dist/components/date-picker/date-picker.styles.d.ts +1 -0
  340. package/dist/components/date-picker/date-picker.styles.d.ts.map +1 -0
  341. package/dist/components/date-picker/date-picker.styles.js +10 -9
  342. package/dist/components/date-picker/date-picker.styles.js.map +1 -0
  343. package/dist/components/dialog/confirm.d.ts +1 -0
  344. package/dist/components/dialog/confirm.d.ts.map +1 -0
  345. package/dist/components/dialog/confirm.js +1 -0
  346. package/dist/components/dialog/confirm.js.map +1 -0
  347. package/dist/components/dialog/dialog.class.d.ts +137 -0
  348. package/dist/components/dialog/dialog.class.d.ts.map +1 -0
  349. package/dist/components/dialog/dialog.class.js +301 -0
  350. package/dist/components/dialog/dialog.class.js.map +1 -0
  351. package/dist/components/dialog/dialog.d.ts +2 -129
  352. package/dist/components/dialog/dialog.d.ts.map +1 -0
  353. package/dist/components/dialog/dialog.js +3 -286
  354. package/dist/components/dialog/dialog.js.map +1 -0
  355. package/dist/components/dialog/dialog.styles.d.ts +1 -0
  356. package/dist/components/dialog/dialog.styles.d.ts.map +1 -0
  357. package/dist/components/dialog/dialog.styles.js +12 -8
  358. package/dist/components/dialog/dialog.styles.js.map +1 -0
  359. package/dist/components/dock-panel/dock-panel.class.d.ts +143 -0
  360. package/dist/components/dock-panel/dock-panel.class.d.ts.map +1 -0
  361. package/dist/components/dock-panel/dock-panel.class.js +358 -0
  362. package/dist/components/dock-panel/dock-panel.class.js.map +1 -0
  363. package/dist/components/dock-panel/dock-panel.d.ts +2 -142
  364. package/dist/components/dock-panel/dock-panel.d.ts.map +1 -0
  365. package/dist/components/dock-panel/dock-panel.js +3 -357
  366. package/dist/components/dock-panel/dock-panel.js.map +1 -0
  367. package/dist/components/dock-panel/dock-panel.styles.d.ts +1 -0
  368. package/dist/components/dock-panel/dock-panel.styles.d.ts.map +1 -0
  369. package/dist/components/dock-panel/dock-panel.styles.js +19 -12
  370. package/dist/components/dock-panel/dock-panel.styles.js.map +1 -0
  371. package/dist/components/document-preview/document-preview.class.d.ts +153 -0
  372. package/dist/components/document-preview/document-preview.class.d.ts.map +1 -0
  373. package/dist/components/document-preview/document-preview.class.js +304 -0
  374. package/dist/components/document-preview/document-preview.class.js.map +1 -0
  375. package/dist/components/document-preview/document-preview.d.ts +2 -143
  376. package/dist/components/document-preview/document-preview.d.ts.map +1 -0
  377. package/dist/components/document-preview/document-preview.js +3 -386
  378. package/dist/components/document-preview/document-preview.js.map +1 -0
  379. package/dist/components/document-preview/document-preview.styles.d.ts +1 -0
  380. package/dist/components/document-preview/document-preview.styles.d.ts.map +1 -0
  381. package/dist/components/document-preview/document-preview.styles.js +22 -21
  382. package/dist/components/document-preview/document-preview.styles.js.map +1 -0
  383. package/dist/components/empty/empty.class.d.ts +43 -0
  384. package/dist/components/empty/empty.class.d.ts.map +1 -0
  385. package/dist/components/empty/empty.class.js +112 -0
  386. package/dist/components/empty/empty.class.js.map +1 -0
  387. package/dist/components/empty/empty.d.ts +2 -42
  388. package/dist/components/empty/empty.d.ts.map +1 -0
  389. package/dist/components/empty/empty.js +3 -111
  390. package/dist/components/empty/empty.js.map +1 -0
  391. package/dist/components/empty/empty.styles.d.ts +1 -0
  392. package/dist/components/empty/empty.styles.d.ts.map +1 -0
  393. package/dist/components/empty/empty.styles.js +6 -5
  394. package/dist/components/empty/empty.styles.js.map +1 -0
  395. package/dist/components/export-button/csv.d.ts +1 -0
  396. package/dist/components/export-button/csv.d.ts.map +1 -0
  397. package/dist/components/export-button/csv.js +1 -0
  398. package/dist/components/export-button/csv.js.map +1 -0
  399. package/dist/components/export-button/export-button.class.d.ts +76 -0
  400. package/dist/components/export-button/export-button.class.d.ts.map +1 -0
  401. package/dist/components/export-button/export-button.class.js +249 -0
  402. package/dist/components/export-button/export-button.class.js.map +1 -0
  403. package/dist/components/export-button/export-button.d.ts +2 -67
  404. package/dist/components/export-button/export-button.d.ts.map +1 -0
  405. package/dist/components/export-button/export-button.js +3 -261
  406. package/dist/components/export-button/export-button.js.map +1 -0
  407. package/dist/components/export-button/export-button.styles.d.ts +1 -0
  408. package/dist/components/export-button/export-button.styles.d.ts.map +1 -0
  409. package/dist/components/export-button/export-button.styles.js +6 -5
  410. package/dist/components/export-button/export-button.styles.js.map +1 -0
  411. package/dist/components/file-input/accept.d.ts +1 -0
  412. package/dist/components/file-input/accept.d.ts.map +1 -0
  413. package/dist/components/file-input/accept.js +1 -0
  414. package/dist/components/file-input/accept.js.map +1 -0
  415. package/dist/components/file-input/file-input.class.d.ts +66 -0
  416. package/dist/components/file-input/file-input.class.d.ts.map +1 -0
  417. package/dist/components/file-input/file-input.class.js +213 -0
  418. package/dist/components/file-input/file-input.class.js.map +1 -0
  419. package/dist/components/file-input/file-input.d.ts +2 -59
  420. package/dist/components/file-input/file-input.d.ts.map +1 -0
  421. package/dist/components/file-input/file-input.js +3 -226
  422. package/dist/components/file-input/file-input.js.map +1 -0
  423. package/dist/components/file-input/file-input.styles.d.ts +1 -0
  424. package/dist/components/file-input/file-input.styles.d.ts.map +1 -0
  425. package/dist/components/file-input/file-input.styles.js +5 -4
  426. package/dist/components/file-input/file-input.styles.js.map +1 -0
  427. package/dist/components/flag/flag-peer.d.ts +8 -0
  428. package/dist/components/flag/flag-peer.d.ts.map +1 -0
  429. package/dist/components/flag/flag-peer.js +13 -0
  430. package/dist/components/flag/flag-peer.js.map +1 -0
  431. package/dist/components/flag/flag.class.d.ts +124 -0
  432. package/dist/components/flag/flag.class.d.ts.map +1 -0
  433. package/dist/components/flag/flag.class.js +251 -0
  434. package/dist/components/flag/flag.class.js.map +1 -0
  435. package/dist/components/flag/flag.d.ts +3 -121
  436. package/dist/components/flag/flag.d.ts.map +1 -0
  437. package/dist/components/flag/flag.js +4 -239
  438. package/dist/components/flag/flag.js.map +1 -0
  439. package/dist/components/flag/flag.styles.d.ts +1 -0
  440. package/dist/components/flag/flag.styles.d.ts.map +1 -0
  441. package/dist/components/flag/flag.styles.js +5 -4
  442. package/dist/components/flag/flag.styles.js.map +1 -0
  443. package/dist/components/flag/language-map.d.ts +1 -0
  444. package/dist/components/flag/language-map.d.ts.map +1 -0
  445. package/dist/components/flag/language-map.js +1 -0
  446. package/dist/components/flag/language-map.js.map +1 -0
  447. package/dist/components/gauge/gauge.class.d.ts +41 -0
  448. package/dist/components/gauge/gauge.class.d.ts.map +1 -0
  449. package/dist/components/gauge/gauge.class.js +178 -0
  450. package/dist/components/gauge/gauge.class.js.map +1 -0
  451. package/dist/components/gauge/gauge.d.ts +2 -40
  452. package/dist/components/gauge/gauge.d.ts.map +1 -0
  453. package/dist/components/gauge/gauge.js +3 -177
  454. package/dist/components/gauge/gauge.js.map +1 -0
  455. package/dist/components/gauge/gauge.styles.d.ts +1 -0
  456. package/dist/components/gauge/gauge.styles.d.ts.map +1 -0
  457. package/dist/components/gauge/gauge.styles.js +9 -8
  458. package/dist/components/gauge/gauge.styles.js.map +1 -0
  459. package/dist/components/generation-status/generation-status.class.d.ts +121 -0
  460. package/dist/components/generation-status/generation-status.class.d.ts.map +1 -0
  461. package/dist/components/generation-status/generation-status.class.js +260 -0
  462. package/dist/components/generation-status/generation-status.class.js.map +1 -0
  463. package/dist/components/generation-status/generation-status.d.ts +2 -117
  464. package/dist/components/generation-status/generation-status.d.ts.map +1 -0
  465. package/dist/components/generation-status/generation-status.js +3 -325
  466. package/dist/components/generation-status/generation-status.js.map +1 -0
  467. package/dist/components/generation-status/generation-status.styles.d.ts +1 -0
  468. package/dist/components/generation-status/generation-status.styles.d.ts.map +1 -0
  469. package/dist/components/generation-status/generation-status.styles.js +7 -6
  470. package/dist/components/generation-status/generation-status.styles.js.map +1 -0
  471. package/dist/components/graph/graph-loader.d.ts +13 -13
  472. package/dist/components/graph/graph-loader.d.ts.map +1 -0
  473. package/dist/components/graph/graph-loader.js +1 -0
  474. package/dist/components/graph/graph-loader.js.map +1 -0
  475. package/dist/components/graph/graph.class.d.ts +167 -0
  476. package/dist/components/graph/graph.class.d.ts.map +1 -0
  477. package/dist/components/graph/graph.class.js +552 -0
  478. package/dist/components/graph/graph.class.js.map +1 -0
  479. package/dist/components/graph/graph.d.ts +3 -157
  480. package/dist/components/graph/graph.d.ts.map +1 -0
  481. package/dist/components/graph/graph.js +4 -577
  482. package/dist/components/graph/graph.js.map +1 -0
  483. package/dist/components/graph/graph.styles.d.ts +1 -0
  484. package/dist/components/graph/graph.styles.d.ts.map +1 -0
  485. package/dist/components/graph/graph.styles.js +2 -1
  486. package/dist/components/graph/graph.styles.js.map +1 -0
  487. package/dist/components/heatmap/calendar-grid.d.ts +1 -0
  488. package/dist/components/heatmap/calendar-grid.d.ts.map +1 -0
  489. package/dist/components/heatmap/calendar-grid.js +1 -0
  490. package/dist/components/heatmap/calendar-grid.js.map +1 -0
  491. package/dist/components/heatmap/heatmap-scale.d.ts +9 -0
  492. package/dist/components/heatmap/heatmap-scale.d.ts.map +1 -0
  493. package/dist/components/heatmap/heatmap-scale.js +13 -0
  494. package/dist/components/heatmap/heatmap-scale.js.map +1 -0
  495. package/dist/components/heatmap/heatmap.class.d.ts +478 -0
  496. package/dist/components/heatmap/heatmap.class.d.ts.map +1 -0
  497. package/dist/components/heatmap/heatmap.class.js +1211 -0
  498. package/dist/components/heatmap/heatmap.class.js.map +1 -0
  499. package/dist/components/heatmap/heatmap.d.ts +2 -437
  500. package/dist/components/heatmap/heatmap.d.ts.map +1 -0
  501. package/dist/components/heatmap/heatmap.js +3 -1175
  502. package/dist/components/heatmap/heatmap.js.map +1 -0
  503. package/dist/components/heatmap/heatmap.styles.d.ts +1 -0
  504. package/dist/components/heatmap/heatmap.styles.d.ts.map +1 -0
  505. package/dist/components/heatmap/heatmap.styles.js +20 -20
  506. package/dist/components/heatmap/heatmap.styles.js.map +1 -0
  507. package/dist/components/json-viewer/json-viewer.class.d.ts +77 -0
  508. package/dist/components/json-viewer/json-viewer.class.d.ts.map +1 -0
  509. package/dist/components/json-viewer/json-viewer.class.js +340 -0
  510. package/dist/components/json-viewer/json-viewer.class.js.map +1 -0
  511. package/dist/components/json-viewer/json-viewer.d.ts +2 -70
  512. package/dist/components/json-viewer/json-viewer.d.ts.map +1 -0
  513. package/dist/components/json-viewer/json-viewer.js +3 -359
  514. package/dist/components/json-viewer/json-viewer.js.map +1 -0
  515. package/dist/components/json-viewer/json-viewer.styles.d.ts +1 -0
  516. package/dist/components/json-viewer/json-viewer.styles.d.ts.map +1 -0
  517. package/dist/components/json-viewer/json-viewer.styles.js +23 -20
  518. package/dist/components/json-viewer/json-viewer.styles.js.map +1 -0
  519. package/dist/components/kbd/kbd.class.d.ts +78 -0
  520. package/dist/components/kbd/kbd.class.d.ts.map +1 -0
  521. package/dist/components/kbd/kbd.class.js +230 -0
  522. package/dist/components/kbd/kbd.class.js.map +1 -0
  523. package/dist/components/kbd/kbd.d.ts +2 -77
  524. package/dist/components/kbd/kbd.d.ts.map +1 -0
  525. package/dist/components/kbd/kbd.js +3 -229
  526. package/dist/components/kbd/kbd.js.map +1 -0
  527. package/dist/components/kbd/kbd.styles.d.ts +1 -0
  528. package/dist/components/kbd/kbd.styles.d.ts.map +1 -0
  529. package/dist/components/kbd/kbd.styles.js +10 -9
  530. package/dist/components/kbd/kbd.styles.js.map +1 -0
  531. package/dist/components/live-region/live-region.class.d.ts +91 -0
  532. package/dist/components/live-region/live-region.class.d.ts.map +1 -0
  533. package/dist/components/live-region/live-region.class.js +188 -0
  534. package/dist/components/live-region/live-region.class.js.map +1 -0
  535. package/dist/components/live-region/live-region.d.ts +2 -90
  536. package/dist/components/live-region/live-region.d.ts.map +1 -0
  537. package/dist/components/live-region/live-region.js +3 -187
  538. package/dist/components/live-region/live-region.js.map +1 -0
  539. package/dist/components/live-region/live-region.styles.d.ts +1 -0
  540. package/dist/components/live-region/live-region.styles.d.ts.map +1 -0
  541. package/dist/components/live-region/live-region.styles.js +1 -0
  542. package/dist/components/live-region/live-region.styles.js.map +1 -0
  543. package/dist/components/map/map-loader.d.ts +5 -2
  544. package/dist/components/map/map-loader.d.ts.map +1 -0
  545. package/dist/components/map/map-loader.js +1 -0
  546. package/dist/components/map/map-loader.js.map +1 -0
  547. package/dist/components/map/map.class.d.ts +121 -0
  548. package/dist/components/map/map.class.d.ts.map +1 -0
  549. package/dist/components/map/map.class.js +450 -0
  550. package/dist/components/map/map.class.js.map +1 -0
  551. package/dist/components/map/map.d.ts +3 -111
  552. package/dist/components/map/map.d.ts.map +1 -0
  553. package/dist/components/map/map.js +4 -477
  554. package/dist/components/map/map.js.map +1 -0
  555. package/dist/components/map/map.styles.d.ts +1 -0
  556. package/dist/components/map/map.styles.d.ts.map +1 -0
  557. package/dist/components/map/map.styles.js +8 -7
  558. package/dist/components/map/map.styles.js.map +1 -0
  559. package/dist/components/markdown/markdown-loader.d.ts +6 -6
  560. package/dist/components/markdown/markdown-loader.d.ts.map +1 -0
  561. package/dist/components/markdown/markdown-loader.js +1 -0
  562. package/dist/components/markdown/markdown-loader.js.map +1 -0
  563. package/dist/components/markdown/markdown.class.d.ts +129 -0
  564. package/dist/components/markdown/markdown.class.d.ts.map +1 -0
  565. package/dist/components/markdown/markdown.class.js +354 -0
  566. package/dist/components/markdown/markdown.class.js.map +1 -0
  567. package/dist/components/markdown/markdown.d.ts +2 -119
  568. package/dist/components/markdown/markdown.d.ts.map +1 -0
  569. package/dist/components/markdown/markdown.js +3 -387
  570. package/dist/components/markdown/markdown.js.map +1 -0
  571. package/dist/components/markdown/markdown.styles.d.ts +1 -0
  572. package/dist/components/markdown/markdown.styles.d.ts.map +1 -0
  573. package/dist/components/markdown/markdown.styles.js +12 -11
  574. package/dist/components/markdown/markdown.styles.js.map +1 -0
  575. package/dist/components/media-card/media-card.class.d.ts +131 -0
  576. package/dist/components/media-card/media-card.class.d.ts.map +1 -0
  577. package/dist/components/media-card/media-card.class.js +272 -0
  578. package/dist/components/media-card/media-card.class.js.map +1 -0
  579. package/dist/components/media-card/media-card.d.ts +2 -130
  580. package/dist/components/media-card/media-card.d.ts.map +1 -0
  581. package/dist/components/media-card/media-card.js +3 -271
  582. package/dist/components/media-card/media-card.js.map +1 -0
  583. package/dist/components/media-card/media-card.styles.d.ts +1 -0
  584. package/dist/components/media-card/media-card.styles.d.ts.map +1 -0
  585. package/dist/components/media-card/media-card.styles.js +8 -7
  586. package/dist/components/media-card/media-card.styles.js.map +1 -0
  587. package/dist/components/mention-popover/mention-popover.class.d.ts +207 -0
  588. package/dist/components/mention-popover/mention-popover.class.d.ts.map +1 -0
  589. package/dist/components/mention-popover/mention-popover.class.js +379 -0
  590. package/dist/components/mention-popover/mention-popover.class.js.map +1 -0
  591. package/dist/components/mention-popover/mention-popover.d.ts +2 -203
  592. package/dist/components/mention-popover/mention-popover.d.ts.map +1 -0
  593. package/dist/components/mention-popover/mention-popover.js +3 -491
  594. package/dist/components/mention-popover/mention-popover.js.map +1 -0
  595. package/dist/components/mention-popover/mention-popover.styles.d.ts +1 -0
  596. package/dist/components/mention-popover/mention-popover.styles.d.ts.map +1 -0
  597. package/dist/components/mention-popover/mention-popover.styles.js +11 -10
  598. package/dist/components/mention-popover/mention-popover.styles.js.map +1 -0
  599. package/dist/components/menu/menu-item.class.d.ts +99 -0
  600. package/dist/components/menu/menu-item.class.d.ts.map +1 -0
  601. package/dist/components/menu/menu-item.class.js +150 -0
  602. package/dist/components/menu/menu-item.class.js.map +1 -0
  603. package/dist/components/menu/menu-item.d.ts +2 -91
  604. package/dist/components/menu/menu-item.d.ts.map +1 -0
  605. package/dist/components/menu/menu-item.js +3 -204
  606. package/dist/components/menu/menu-item.js.map +1 -0
  607. package/dist/components/menu/menu-item.styles.d.ts +1 -0
  608. package/dist/components/menu/menu-item.styles.d.ts.map +1 -0
  609. package/dist/components/menu/menu-item.styles.js +3 -2
  610. package/dist/components/menu/menu-item.styles.js.map +1 -0
  611. package/dist/components/menu/menu.class.d.ts +173 -0
  612. package/dist/components/menu/menu.class.d.ts.map +1 -0
  613. package/dist/components/menu/menu.class.js +378 -0
  614. package/dist/components/menu/menu.class.js.map +1 -0
  615. package/dist/components/menu/menu.d.ts +3 -167
  616. package/dist/components/menu/menu.d.ts.map +1 -0
  617. package/dist/components/menu/menu.js +4 -459
  618. package/dist/components/menu/menu.js.map +1 -0
  619. package/dist/components/menu/menu.styles.d.ts +1 -0
  620. package/dist/components/menu/menu.styles.d.ts.map +1 -0
  621. package/dist/components/menu/menu.styles.js +9 -8
  622. package/dist/components/menu/menu.styles.js.map +1 -0
  623. package/dist/components/model-select/model-select.class.d.ts +177 -0
  624. package/dist/components/model-select/model-select.class.d.ts.map +1 -0
  625. package/dist/components/model-select/model-select.class.js +555 -0
  626. package/dist/components/model-select/model-select.class.js.map +1 -0
  627. package/dist/components/model-select/model-select.d.ts +2 -170
  628. package/dist/components/model-select/model-select.d.ts.map +1 -0
  629. package/dist/components/model-select/model-select.js +3 -586
  630. package/dist/components/model-select/model-select.js.map +1 -0
  631. package/dist/components/model-select/model-select.styles.d.ts +1 -0
  632. package/dist/components/model-select/model-select.styles.d.ts.map +1 -0
  633. package/dist/components/model-select/model-select.styles.js +24 -23
  634. package/dist/components/model-select/model-select.styles.js.map +1 -0
  635. package/dist/components/model-settings-panel/model-settings-panel.class.d.ts +94 -0
  636. package/dist/components/model-settings-panel/model-settings-panel.class.d.ts.map +1 -0
  637. package/dist/components/model-settings-panel/model-settings-panel.class.js +208 -0
  638. package/dist/components/model-settings-panel/model-settings-panel.class.js.map +1 -0
  639. package/dist/components/model-settings-panel/model-settings-panel.d.ts +4 -93
  640. package/dist/components/model-settings-panel/model-settings-panel.d.ts.map +1 -0
  641. package/dist/components/model-settings-panel/model-settings-panel.js +5 -207
  642. package/dist/components/model-settings-panel/model-settings-panel.js.map +1 -0
  643. package/dist/components/model-settings-panel/model-settings-panel.styles.d.ts +1 -0
  644. package/dist/components/model-settings-panel/model-settings-panel.styles.d.ts.map +1 -0
  645. package/dist/components/model-settings-panel/model-settings-panel.styles.js +12 -11
  646. package/dist/components/model-settings-panel/model-settings-panel.styles.js.map +1 -0
  647. package/dist/components/playback/playback.class.d.ts +79 -0
  648. package/dist/components/playback/playback.class.d.ts.map +1 -0
  649. package/dist/components/playback/playback.class.js +238 -0
  650. package/dist/components/playback/playback.class.js.map +1 -0
  651. package/dist/components/playback/playback.d.ts +2 -71
  652. package/dist/components/playback/playback.d.ts.map +1 -0
  653. package/dist/components/playback/playback.js +3 -250
  654. package/dist/components/playback/playback.js.map +1 -0
  655. package/dist/components/playback/playback.styles.d.ts +1 -0
  656. package/dist/components/playback/playback.styles.d.ts.map +1 -0
  657. package/dist/components/playback/playback.styles.js +2 -1
  658. package/dist/components/playback/playback.styles.js.map +1 -0
  659. package/dist/components/responsive-panel/responsive-panel.class.d.ts +164 -0
  660. package/dist/components/responsive-panel/responsive-panel.class.d.ts.map +1 -0
  661. package/dist/components/responsive-panel/responsive-panel.class.js +362 -0
  662. package/dist/components/responsive-panel/responsive-panel.class.js.map +1 -0
  663. package/dist/components/responsive-panel/responsive-panel.d.ts +2 -163
  664. package/dist/components/responsive-panel/responsive-panel.d.ts.map +1 -0
  665. package/dist/components/responsive-panel/responsive-panel.js +3 -361
  666. package/dist/components/responsive-panel/responsive-panel.js.map +1 -0
  667. package/dist/components/responsive-panel/responsive-panel.styles.d.ts +1 -0
  668. package/dist/components/responsive-panel/responsive-panel.styles.d.ts.map +1 -0
  669. package/dist/components/responsive-panel/responsive-panel.styles.js +8 -5
  670. package/dist/components/responsive-panel/responsive-panel.styles.js.map +1 -0
  671. package/dist/components/result-card/result-card.class.d.ts +51 -0
  672. package/dist/components/result-card/result-card.class.d.ts.map +1 -0
  673. package/dist/components/result-card/result-card.class.js +88 -0
  674. package/dist/components/result-card/result-card.class.js.map +1 -0
  675. package/dist/components/result-card/result-card.d.ts +2 -50
  676. package/dist/components/result-card/result-card.d.ts.map +1 -0
  677. package/dist/components/result-card/result-card.js +3 -87
  678. package/dist/components/result-card/result-card.js.map +1 -0
  679. package/dist/components/result-card/result-card.styles.d.ts +1 -0
  680. package/dist/components/result-card/result-card.styles.d.ts.map +1 -0
  681. package/dist/components/result-card/result-card.styles.js +5 -4
  682. package/dist/components/result-card/result-card.styles.js.map +1 -0
  683. package/dist/components/result-card/result-field.class.d.ts +37 -0
  684. package/dist/components/result-card/result-field.class.d.ts.map +1 -0
  685. package/dist/components/result-card/result-field.class.js +86 -0
  686. package/dist/components/result-card/result-field.class.js.map +1 -0
  687. package/dist/components/result-card/result-field.d.ts +2 -36
  688. package/dist/components/result-card/result-field.d.ts.map +1 -0
  689. package/dist/components/result-card/result-field.js +3 -85
  690. package/dist/components/result-card/result-field.js.map +1 -0
  691. package/dist/components/result-card/result-field.styles.d.ts +1 -0
  692. package/dist/components/result-card/result-field.styles.d.ts.map +1 -0
  693. package/dist/components/result-card/result-field.styles.js +3 -2
  694. package/dist/components/result-card/result-field.styles.js.map +1 -0
  695. package/dist/components/select/select.class.d.ts +212 -0
  696. package/dist/components/select/select.class.d.ts.map +1 -0
  697. package/dist/components/select/select.class.js +637 -0
  698. package/dist/components/select/select.class.js.map +1 -0
  699. package/dist/components/select/select.d.ts +3 -205
  700. package/dist/components/select/select.d.ts.map +1 -0
  701. package/dist/components/select/select.js +4 -693
  702. package/dist/components/select/select.js.map +1 -0
  703. package/dist/components/select/select.styles.d.ts +1 -0
  704. package/dist/components/select/select.styles.d.ts.map +1 -0
  705. package/dist/components/select/select.styles.js +35 -34
  706. package/dist/components/select/select.styles.js.map +1 -0
  707. package/dist/components/skeleton/skeleton.class.d.ts +30 -0
  708. package/dist/components/skeleton/skeleton.class.d.ts.map +1 -0
  709. package/dist/components/skeleton/skeleton.class.js +67 -0
  710. package/dist/components/skeleton/skeleton.class.js.map +1 -0
  711. package/dist/components/skeleton/skeleton.d.ts +2 -29
  712. package/dist/components/skeleton/skeleton.d.ts.map +1 -0
  713. package/dist/components/skeleton/skeleton.js +3 -66
  714. package/dist/components/skeleton/skeleton.js.map +1 -0
  715. package/dist/components/skeleton/skeleton.styles.d.ts +1 -0
  716. package/dist/components/skeleton/skeleton.styles.d.ts.map +1 -0
  717. package/dist/components/skeleton/skeleton.styles.js +2 -1
  718. package/dist/components/skeleton/skeleton.styles.js.map +1 -0
  719. package/dist/components/slider/slider.class.d.ts +152 -0
  720. package/dist/components/slider/slider.class.d.ts.map +1 -0
  721. package/dist/components/slider/slider.class.js +433 -0
  722. package/dist/components/slider/slider.class.js.map +1 -0
  723. package/dist/components/slider/slider.d.ts +2 -141
  724. package/dist/components/slider/slider.d.ts.map +1 -0
  725. package/dist/components/slider/slider.js +3 -465
  726. package/dist/components/slider/slider.js.map +1 -0
  727. package/dist/components/slider/slider.styles.d.ts +1 -0
  728. package/dist/components/slider/slider.styles.d.ts.map +1 -0
  729. package/dist/components/slider/slider.styles.js +15 -14
  730. package/dist/components/slider/slider.styles.js.map +1 -0
  731. package/dist/components/source-card/source-card.class.d.ts +105 -0
  732. package/dist/components/source-card/source-card.class.d.ts.map +1 -0
  733. package/dist/components/source-card/source-card.class.js +194 -0
  734. package/dist/components/source-card/source-card.class.js.map +1 -0
  735. package/dist/components/source-card/source-card.d.ts +2 -104
  736. package/dist/components/source-card/source-card.d.ts.map +1 -0
  737. package/dist/components/source-card/source-card.js +3 -193
  738. package/dist/components/source-card/source-card.js.map +1 -0
  739. package/dist/components/source-card/source-card.styles.d.ts +1 -0
  740. package/dist/components/source-card/source-card.styles.d.ts.map +1 -0
  741. package/dist/components/source-card/source-card.styles.js +11 -10
  742. package/dist/components/source-card/source-card.styles.js.map +1 -0
  743. package/dist/components/source-list/source-list.class.d.ts +64 -0
  744. package/dist/components/source-list/source-list.class.d.ts.map +1 -0
  745. package/dist/components/source-list/source-list.class.js +129 -0
  746. package/dist/components/source-list/source-list.class.js.map +1 -0
  747. package/dist/components/source-list/source-list.d.ts +2 -63
  748. package/dist/components/source-list/source-list.d.ts.map +1 -0
  749. package/dist/components/source-list/source-list.js +3 -128
  750. package/dist/components/source-list/source-list.js.map +1 -0
  751. package/dist/components/source-list/source-list.styles.d.ts +1 -0
  752. package/dist/components/source-list/source-list.styles.d.ts.map +1 -0
  753. package/dist/components/source-list/source-list.styles.js +5 -4
  754. package/dist/components/source-list/source-list.styles.js.map +1 -0
  755. package/dist/components/sparkline/sparkline.class.d.ts +31 -0
  756. package/dist/components/sparkline/sparkline.class.d.ts.map +1 -0
  757. package/dist/components/sparkline/sparkline.class.js +140 -0
  758. package/dist/components/sparkline/sparkline.class.js.map +1 -0
  759. package/dist/components/sparkline/sparkline.d.ts +2 -30
  760. package/dist/components/sparkline/sparkline.d.ts.map +1 -0
  761. package/dist/components/sparkline/sparkline.js +3 -137
  762. package/dist/components/sparkline/sparkline.js.map +1 -0
  763. package/dist/components/sparkline/sparkline.styles.d.ts +1 -0
  764. package/dist/components/sparkline/sparkline.styles.d.ts.map +1 -0
  765. package/dist/components/sparkline/sparkline.styles.js +3 -2
  766. package/dist/components/sparkline/sparkline.styles.js.map +1 -0
  767. package/dist/components/split/split.class.d.ts +293 -0
  768. package/dist/components/split/split.class.d.ts.map +1 -0
  769. package/dist/components/split/split.class.js +831 -0
  770. package/dist/components/split/split.class.js.map +1 -0
  771. package/dist/components/split/split.d.ts +2 -282
  772. package/dist/components/split/split.d.ts.map +1 -0
  773. package/dist/components/split/split.js +3 -888
  774. package/dist/components/split/split.js.map +1 -0
  775. package/dist/components/split/split.styles.d.ts +1 -0
  776. package/dist/components/split/split.styles.d.ts.map +1 -0
  777. package/dist/components/split/split.styles.js +8 -7
  778. package/dist/components/split/split.styles.js.map +1 -0
  779. package/dist/components/stat/stat.class.d.ts +90 -0
  780. package/dist/components/stat/stat.class.d.ts.map +1 -0
  781. package/dist/components/stat/stat.class.js +249 -0
  782. package/dist/components/stat/stat.class.js.map +1 -0
  783. package/dist/components/stat/stat.d.ts +2 -89
  784. package/dist/components/stat/stat.d.ts.map +1 -0
  785. package/dist/components/stat/stat.js +3 -248
  786. package/dist/components/stat/stat.js.map +1 -0
  787. package/dist/components/stat/stat.styles.d.ts +1 -0
  788. package/dist/components/stat/stat.styles.d.ts.map +1 -0
  789. package/dist/components/stat/stat.styles.js +23 -22
  790. package/dist/components/stat/stat.styles.js.map +1 -0
  791. package/dist/components/stream-status/stream-status.class.d.ts +131 -0
  792. package/dist/components/stream-status/stream-status.class.d.ts.map +1 -0
  793. package/dist/components/stream-status/stream-status.class.js +212 -0
  794. package/dist/components/stream-status/stream-status.class.js.map +1 -0
  795. package/dist/components/stream-status/stream-status.d.ts +3 -126
  796. package/dist/components/stream-status/stream-status.d.ts.map +1 -0
  797. package/dist/components/stream-status/stream-status.js +4 -290
  798. package/dist/components/stream-status/stream-status.js.map +1 -0
  799. package/dist/components/stream-status/stream-status.styles.d.ts +1 -0
  800. package/dist/components/stream-status/stream-status.styles.d.ts.map +1 -0
  801. package/dist/components/stream-status/stream-status.styles.js +7 -6
  802. package/dist/components/stream-status/stream-status.styles.js.map +1 -0
  803. package/dist/components/streaming-text/streaming-text.class.d.ts +105 -0
  804. package/dist/components/streaming-text/streaming-text.class.d.ts.map +1 -0
  805. package/dist/components/streaming-text/streaming-text.class.js +223 -0
  806. package/dist/components/streaming-text/streaming-text.class.js.map +1 -0
  807. package/dist/components/streaming-text/streaming-text.d.ts +3 -104
  808. package/dist/components/streaming-text/streaming-text.d.ts.map +1 -0
  809. package/dist/components/streaming-text/streaming-text.js +4 -222
  810. package/dist/components/streaming-text/streaming-text.js.map +1 -0
  811. package/dist/components/streaming-text/streaming-text.styles.d.ts +1 -0
  812. package/dist/components/streaming-text/streaming-text.styles.d.ts.map +1 -0
  813. package/dist/components/streaming-text/streaming-text.styles.js +4 -3
  814. package/dist/components/streaming-text/streaming-text.styles.js.map +1 -0
  815. package/dist/components/switch/switch.class.d.ts +109 -0
  816. package/dist/components/switch/switch.class.d.ts.map +1 -0
  817. package/dist/components/switch/switch.class.js +225 -0
  818. package/dist/components/switch/switch.class.js.map +1 -0
  819. package/dist/components/switch/switch.d.ts +2 -103
  820. package/dist/components/switch/switch.d.ts.map +1 -0
  821. package/dist/components/switch/switch.js +3 -248
  822. package/dist/components/switch/switch.js.map +1 -0
  823. package/dist/components/switch/switch.styles.d.ts +1 -0
  824. package/dist/components/switch/switch.styles.d.ts.map +1 -0
  825. package/dist/components/switch/switch.styles.js +18 -14
  826. package/dist/components/switch/switch.styles.js.map +1 -0
  827. package/dist/components/table/table.class.d.ts +212 -0
  828. package/dist/components/table/table.class.d.ts.map +1 -0
  829. package/dist/components/table/table.class.js +562 -0
  830. package/dist/components/table/table.class.js.map +1 -0
  831. package/dist/components/table/table.d.ts +3 -199
  832. package/dist/components/table/table.d.ts.map +1 -0
  833. package/dist/components/table/table.js +4 -611
  834. package/dist/components/table/table.js.map +1 -0
  835. package/dist/components/table/table.styles.d.ts +1 -0
  836. package/dist/components/table/table.styles.d.ts.map +1 -0
  837. package/dist/components/table/table.styles.js +9 -8
  838. package/dist/components/table/table.styles.js.map +1 -0
  839. package/dist/components/tabs/tabs.class.d.ts +80 -0
  840. package/dist/components/tabs/tabs.class.d.ts.map +1 -0
  841. package/dist/components/tabs/tabs.class.js +215 -0
  842. package/dist/components/tabs/tabs.class.js.map +1 -0
  843. package/dist/components/tabs/tabs.d.ts +2 -74
  844. package/dist/components/tabs/tabs.d.ts.map +1 -0
  845. package/dist/components/tabs/tabs.js +3 -252
  846. package/dist/components/tabs/tabs.js.map +1 -0
  847. package/dist/components/tabs/tabs.styles.d.ts +1 -0
  848. package/dist/components/tabs/tabs.styles.d.ts.map +1 -0
  849. package/dist/components/tabs/tabs.styles.js +10 -4
  850. package/dist/components/tabs/tabs.styles.js.map +1 -0
  851. package/dist/components/thinking-panel/thinking-panel.class.d.ts +124 -0
  852. package/dist/components/thinking-panel/thinking-panel.class.d.ts.map +1 -0
  853. package/dist/components/thinking-panel/thinking-panel.class.js +259 -0
  854. package/dist/components/thinking-panel/thinking-panel.class.js.map +1 -0
  855. package/dist/components/thinking-panel/thinking-panel.d.ts +2 -123
  856. package/dist/components/thinking-panel/thinking-panel.d.ts.map +1 -0
  857. package/dist/components/thinking-panel/thinking-panel.js +3 -258
  858. package/dist/components/thinking-panel/thinking-panel.js.map +1 -0
  859. package/dist/components/thinking-panel/thinking-panel.styles.d.ts +1 -0
  860. package/dist/components/thinking-panel/thinking-panel.styles.d.ts.map +1 -0
  861. package/dist/components/thinking-panel/thinking-panel.styles.js +13 -12
  862. package/dist/components/thinking-panel/thinking-panel.styles.js.map +1 -0
  863. package/dist/components/time-range/time-range.class.d.ts +137 -0
  864. package/dist/components/time-range/time-range.class.d.ts.map +1 -0
  865. package/dist/components/time-range/time-range.class.js +467 -0
  866. package/dist/components/time-range/time-range.class.js.map +1 -0
  867. package/dist/components/time-range/time-range.d.ts +2 -126
  868. package/dist/components/time-range/time-range.d.ts.map +1 -0
  869. package/dist/components/time-range/time-range.js +3 -494
  870. package/dist/components/time-range/time-range.js.map +1 -0
  871. package/dist/components/time-range/time-range.styles.d.ts +1 -0
  872. package/dist/components/time-range/time-range.styles.d.ts.map +1 -0
  873. package/dist/components/time-range/time-range.styles.js +21 -13
  874. package/dist/components/time-range/time-range.styles.js.map +1 -0
  875. package/dist/components/toast/toast-item.class.d.ts +79 -0
  876. package/dist/components/toast/toast-item.class.d.ts.map +1 -0
  877. package/dist/components/toast/toast-item.class.js +307 -0
  878. package/dist/components/toast/toast-item.class.js.map +1 -0
  879. package/dist/components/toast/toast-item.d.ts +2 -72
  880. package/dist/components/toast/toast-item.d.ts.map +1 -0
  881. package/dist/components/toast/toast-item.js +3 -323
  882. package/dist/components/toast/toast-item.js.map +1 -0
  883. package/dist/components/toast/toast-item.styles.d.ts +1 -0
  884. package/dist/components/toast/toast-item.styles.d.ts.map +1 -0
  885. package/dist/components/toast/toast-item.styles.js +13 -12
  886. package/dist/components/toast/toast-item.styles.js.map +1 -0
  887. package/dist/components/toast/toast.class.d.ts +33 -0
  888. package/dist/components/toast/toast.class.d.ts.map +1 -0
  889. package/dist/components/toast/toast.class.js +59 -0
  890. package/dist/components/toast/toast.class.js.map +1 -0
  891. package/dist/components/toast/toast.d.ts +3 -32
  892. package/dist/components/toast/toast.d.ts.map +1 -0
  893. package/dist/components/toast/toast.js +4 -58
  894. package/dist/components/toast/toast.js.map +1 -0
  895. package/dist/components/toast/toast.styles.d.ts +1 -0
  896. package/dist/components/toast/toast.styles.d.ts.map +1 -0
  897. package/dist/components/toast/toast.styles.js +20 -16
  898. package/dist/components/toast/toast.styles.js.map +1 -0
  899. package/dist/components/toast/toaster.d.ts +1 -0
  900. package/dist/components/toast/toaster.d.ts.map +1 -0
  901. package/dist/components/toast/toaster.js +1 -0
  902. package/dist/components/toast/toaster.js.map +1 -0
  903. package/dist/components/tool-approval-dialog/tool-approval-dialog.class.d.ts +135 -0
  904. package/dist/components/tool-approval-dialog/tool-approval-dialog.class.d.ts.map +1 -0
  905. package/dist/components/tool-approval-dialog/tool-approval-dialog.class.js +257 -0
  906. package/dist/components/tool-approval-dialog/tool-approval-dialog.class.js.map +1 -0
  907. package/dist/components/tool-approval-dialog/tool-approval-dialog.d.ts +3 -131
  908. package/dist/components/tool-approval-dialog/tool-approval-dialog.d.ts.map +1 -0
  909. package/dist/components/tool-approval-dialog/tool-approval-dialog.js +4 -327
  910. package/dist/components/tool-approval-dialog/tool-approval-dialog.js.map +1 -0
  911. package/dist/components/tool-approval-dialog/tool-approval-dialog.styles.d.ts +1 -0
  912. package/dist/components/tool-approval-dialog/tool-approval-dialog.styles.d.ts.map +1 -0
  913. package/dist/components/tool-approval-dialog/tool-approval-dialog.styles.js +22 -18
  914. package/dist/components/tool-approval-dialog/tool-approval-dialog.styles.js.map +1 -0
  915. package/dist/components/tool-call-chip/tool-call-chip.class.d.ts +106 -0
  916. package/dist/components/tool-call-chip/tool-call-chip.class.d.ts.map +1 -0
  917. package/dist/components/tool-call-chip/tool-call-chip.class.js +348 -0
  918. package/dist/components/tool-call-chip/tool-call-chip.class.js.map +1 -0
  919. package/dist/components/tool-call-chip/tool-call-chip.d.ts +2 -105
  920. package/dist/components/tool-call-chip/tool-call-chip.d.ts.map +1 -0
  921. package/dist/components/tool-call-chip/tool-call-chip.js +3 -347
  922. package/dist/components/tool-call-chip/tool-call-chip.js.map +1 -0
  923. package/dist/components/tool-call-chip/tool-call-chip.styles.d.ts +1 -0
  924. package/dist/components/tool-call-chip/tool-call-chip.styles.d.ts.map +1 -0
  925. package/dist/components/tool-call-chip/tool-call-chip.styles.js +22 -21
  926. package/dist/components/tool-call-chip/tool-call-chip.styles.js.map +1 -0
  927. package/dist/components/tool-param-form/tool-param-form.class.d.ts +216 -0
  928. package/dist/components/tool-param-form/tool-param-form.class.d.ts.map +1 -0
  929. package/dist/components/tool-param-form/tool-param-form.class.js +548 -0
  930. package/dist/components/tool-param-form/tool-param-form.class.js.map +1 -0
  931. package/dist/components/tool-param-form/tool-param-form.d.ts +5 -206
  932. package/dist/components/tool-param-form/tool-param-form.d.ts.map +1 -0
  933. package/dist/components/tool-param-form/tool-param-form.js +6 -608
  934. package/dist/components/tool-param-form/tool-param-form.js.map +1 -0
  935. package/dist/components/tool-param-form/tool-param-form.styles.d.ts +1 -0
  936. package/dist/components/tool-param-form/tool-param-form.styles.d.ts.map +1 -0
  937. package/dist/components/tool-param-form/tool-param-form.styles.js +9 -8
  938. package/dist/components/tool-param-form/tool-param-form.styles.js.map +1 -0
  939. package/dist/components/tool-result-dialog/tool-result-dialog.class.d.ts +123 -0
  940. package/dist/components/tool-result-dialog/tool-result-dialog.class.d.ts.map +1 -0
  941. package/dist/components/tool-result-dialog/tool-result-dialog.class.js +357 -0
  942. package/dist/components/tool-result-dialog/tool-result-dialog.class.js.map +1 -0
  943. package/dist/components/tool-result-dialog/tool-result-dialog.d.ts +2 -122
  944. package/dist/components/tool-result-dialog/tool-result-dialog.d.ts.map +1 -0
  945. package/dist/components/tool-result-dialog/tool-result-dialog.js +3 -356
  946. package/dist/components/tool-result-dialog/tool-result-dialog.js.map +1 -0
  947. package/dist/components/tool-result-dialog/tool-result-dialog.styles.d.ts +1 -0
  948. package/dist/components/tool-result-dialog/tool-result-dialog.styles.d.ts.map +1 -0
  949. package/dist/components/tool-result-dialog/tool-result-dialog.styles.js +24 -16
  950. package/dist/components/tool-result-dialog/tool-result-dialog.styles.js.map +1 -0
  951. package/dist/components/tool-result-view/registry.d.ts +1 -0
  952. package/dist/components/tool-result-view/registry.d.ts.map +1 -0
  953. package/dist/components/tool-result-view/registry.js +1 -0
  954. package/dist/components/tool-result-view/registry.js.map +1 -0
  955. package/dist/components/tool-result-view/tool-result-view.class.d.ts +65 -0
  956. package/dist/components/tool-result-view/tool-result-view.class.d.ts.map +1 -0
  957. package/dist/components/tool-result-view/tool-result-view.class.js +124 -0
  958. package/dist/components/tool-result-view/tool-result-view.class.js.map +1 -0
  959. package/dist/components/tool-result-view/tool-result-view.d.ts +4 -58
  960. package/dist/components/tool-result-view/tool-result-view.d.ts.map +1 -0
  961. package/dist/components/tool-result-view/tool-result-view.js +5 -150
  962. package/dist/components/tool-result-view/tool-result-view.js.map +1 -0
  963. package/dist/components/tool-result-view/tool-result-view.styles.d.ts +1 -0
  964. package/dist/components/tool-result-view/tool-result-view.styles.d.ts.map +1 -0
  965. package/dist/components/tool-result-view/tool-result-view.styles.js +1 -0
  966. package/dist/components/tool-result-view/tool-result-view.styles.js.map +1 -0
  967. package/dist/components/tool-select-dialog/tool-select-dialog.class.d.ts +152 -0
  968. package/dist/components/tool-select-dialog/tool-select-dialog.class.d.ts.map +1 -0
  969. package/dist/components/tool-select-dialog/tool-select-dialog.class.js +349 -0
  970. package/dist/components/tool-select-dialog/tool-select-dialog.class.js.map +1 -0
  971. package/dist/components/tool-select-dialog/tool-select-dialog.d.ts +4 -151
  972. package/dist/components/tool-select-dialog/tool-select-dialog.d.ts.map +1 -0
  973. package/dist/components/tool-select-dialog/tool-select-dialog.js +5 -348
  974. package/dist/components/tool-select-dialog/tool-select-dialog.js.map +1 -0
  975. package/dist/components/tool-select-dialog/tool-select-dialog.styles.d.ts +1 -0
  976. package/dist/components/tool-select-dialog/tool-select-dialog.styles.d.ts.map +1 -0
  977. package/dist/components/tool-select-dialog/tool-select-dialog.styles.js +29 -25
  978. package/dist/components/tool-select-dialog/tool-select-dialog.styles.js.map +1 -0
  979. package/dist/components/tree/tree-node.class.d.ts +78 -0
  980. package/dist/components/tree/tree-node.class.d.ts.map +1 -0
  981. package/dist/components/tree/tree-node.class.js +204 -0
  982. package/dist/components/tree/tree-node.class.js.map +1 -0
  983. package/dist/components/tree/tree-node.d.ts +2 -68
  984. package/dist/components/tree/tree-node.d.ts.map +1 -0
  985. package/dist/components/tree/tree-node.js +4 -222
  986. package/dist/components/tree/tree-node.js.map +1 -0
  987. package/dist/components/tree/tree.class.d.ts +130 -0
  988. package/dist/components/tree/tree.class.d.ts.map +1 -0
  989. package/dist/components/tree/tree.class.js +326 -0
  990. package/dist/components/tree/tree.class.js.map +1 -0
  991. package/dist/components/tree/tree.d.ts +3 -129
  992. package/dist/components/tree/tree.d.ts.map +1 -0
  993. package/dist/components/tree/tree.js +5 -325
  994. package/dist/components/tree/tree.js.map +1 -0
  995. package/dist/components/tree/tree.styles.d.ts +1 -0
  996. package/dist/components/tree/tree.styles.d.ts.map +1 -0
  997. package/dist/components/tree/tree.styles.js +1 -0
  998. package/dist/components/tree/tree.styles.js.map +1 -0
  999. package/dist/components/tree/update-cascade.d.ts +1 -0
  1000. package/dist/components/tree/update-cascade.d.ts.map +1 -0
  1001. package/dist/components/tree/update-cascade.js +1 -0
  1002. package/dist/components/tree/update-cascade.js.map +1 -0
  1003. package/dist/components/typing-indicator/typing-indicator.class.d.ts +71 -0
  1004. package/dist/components/typing-indicator/typing-indicator.class.d.ts.map +1 -0
  1005. package/dist/components/typing-indicator/typing-indicator.class.js +107 -0
  1006. package/dist/components/typing-indicator/typing-indicator.class.js.map +1 -0
  1007. package/dist/components/typing-indicator/typing-indicator.d.ts +2 -70
  1008. package/dist/components/typing-indicator/typing-indicator.d.ts.map +1 -0
  1009. package/dist/components/typing-indicator/typing-indicator.js +3 -106
  1010. package/dist/components/typing-indicator/typing-indicator.js.map +1 -0
  1011. package/dist/components/typing-indicator/typing-indicator.styles.d.ts +1 -0
  1012. package/dist/components/typing-indicator/typing-indicator.styles.d.ts.map +1 -0
  1013. package/dist/components/typing-indicator/typing-indicator.styles.js +7 -6
  1014. package/dist/components/typing-indicator/typing-indicator.styles.js.map +1 -0
  1015. package/dist/components/virtual-list/virtual-list.class.d.ts +215 -0
  1016. package/dist/components/virtual-list/virtual-list.class.d.ts.map +1 -0
  1017. package/dist/components/virtual-list/virtual-list.class.js +520 -0
  1018. package/dist/components/virtual-list/virtual-list.class.js.map +1 -0
  1019. package/dist/components/virtual-list/virtual-list.d.ts +2 -210
  1020. package/dist/components/virtual-list/virtual-list.d.ts.map +1 -0
  1021. package/dist/components/virtual-list/virtual-list.js +3 -605
  1022. package/dist/components/virtual-list/virtual-list.js.map +1 -0
  1023. package/dist/components/virtual-list/virtual-list.styles.d.ts +1 -0
  1024. package/dist/components/virtual-list/virtual-list.styles.d.ts.map +1 -0
  1025. package/dist/components/virtual-list/virtual-list.styles.js +5 -4
  1026. package/dist/components/virtual-list/virtual-list.styles.js.map +1 -0
  1027. package/dist/components/widget/widget.class.d.ts +70 -0
  1028. package/dist/components/widget/widget.class.d.ts.map +1 -0
  1029. package/dist/components/widget/widget.class.js +224 -0
  1030. package/dist/components/widget/widget.class.js.map +1 -0
  1031. package/dist/components/widget/widget.d.ts +2 -65
  1032. package/dist/components/widget/widget.d.ts.map +1 -0
  1033. package/dist/components/widget/widget.js +3 -249
  1034. package/dist/components/widget/widget.js.map +1 -0
  1035. package/dist/components/widget/widget.styles.d.ts +1 -0
  1036. package/dist/components/widget/widget.styles.d.ts.map +1 -0
  1037. package/dist/components/widget/widget.styles.js +13 -8
  1038. package/dist/components/widget/widget.styles.js.map +1 -0
  1039. package/dist/components/word-cloud/word-cloud-layout.d.ts +1 -0
  1040. package/dist/components/word-cloud/word-cloud-layout.d.ts.map +1 -0
  1041. package/dist/components/word-cloud/word-cloud-layout.js +1 -0
  1042. package/dist/components/word-cloud/word-cloud-layout.js.map +1 -0
  1043. package/dist/components/word-cloud/word-cloud.class.d.ts +99 -0
  1044. package/dist/components/word-cloud/word-cloud.class.d.ts.map +1 -0
  1045. package/dist/components/word-cloud/word-cloud.class.js +279 -0
  1046. package/dist/components/word-cloud/word-cloud.class.js.map +1 -0
  1047. package/dist/components/word-cloud/word-cloud.d.ts +2 -91
  1048. package/dist/components/word-cloud/word-cloud.d.ts.map +1 -0
  1049. package/dist/components/word-cloud/word-cloud.js +3 -303
  1050. package/dist/components/word-cloud/word-cloud.js.map +1 -0
  1051. package/dist/components/word-cloud/word-cloud.styles.d.ts +1 -0
  1052. package/dist/components/word-cloud/word-cloud.styles.d.ts.map +1 -0
  1053. package/dist/components/word-cloud/word-cloud.styles.js +32 -18
  1054. package/dist/components/word-cloud/word-cloud.styles.js.map +1 -0
  1055. package/dist/internal/a11y.d.ts +1 -0
  1056. package/dist/internal/a11y.d.ts.map +1 -0
  1057. package/dist/internal/a11y.js +1 -0
  1058. package/dist/internal/a11y.js.map +1 -0
  1059. package/dist/internal/anchored-validity.d.ts +1 -0
  1060. package/dist/internal/anchored-validity.d.ts.map +1 -0
  1061. package/dist/internal/anchored-validity.js +1 -0
  1062. package/dist/internal/anchored-validity.js.map +1 -0
  1063. package/dist/internal/announcer.d.ts +1 -0
  1064. package/dist/internal/announcer.d.ts.map +1 -0
  1065. package/dist/internal/announcer.js +1 -0
  1066. package/dist/internal/announcer.js.map +1 -0
  1067. package/dist/internal/form-associated.d.ts +1 -0
  1068. package/dist/internal/form-associated.d.ts.map +1 -0
  1069. package/dist/internal/form-associated.js +1 -0
  1070. package/dist/internal/form-associated.js.map +1 -0
  1071. package/dist/internal/group-by-recency.d.ts +1 -0
  1072. package/dist/internal/group-by-recency.d.ts.map +1 -0
  1073. package/dist/internal/group-by-recency.js +1 -0
  1074. package/dist/internal/group-by-recency.js.map +1 -0
  1075. package/dist/internal/icons.d.ts +1 -0
  1076. package/dist/internal/icons.d.ts.map +1 -0
  1077. package/dist/internal/icons.js +1 -0
  1078. package/dist/internal/icons.js.map +1 -0
  1079. package/dist/internal/localization.d.ts +27 -0
  1080. package/dist/internal/localization.d.ts.map +1 -0
  1081. package/dist/internal/localization.js +141 -0
  1082. package/dist/internal/localization.js.map +1 -0
  1083. package/dist/internal/lyra-element.d.ts +27 -3
  1084. package/dist/internal/lyra-element.d.ts.map +1 -0
  1085. package/dist/internal/lyra-element.js +52 -3
  1086. package/dist/internal/lyra-element.js.map +1 -0
  1087. package/dist/internal/numbers.d.ts +1 -0
  1088. package/dist/internal/numbers.d.ts.map +1 -0
  1089. package/dist/internal/numbers.js +1 -0
  1090. package/dist/internal/numbers.js.map +1 -0
  1091. package/dist/internal/optional-peer-types.d.ts +8 -0
  1092. package/dist/internal/optional-peer-types.d.ts.map +1 -0
  1093. package/dist/internal/optional-peer-types.js +2 -0
  1094. package/dist/internal/optional-peer-types.js.map +1 -0
  1095. package/dist/internal/overlay-manager.d.ts +1 -0
  1096. package/dist/internal/overlay-manager.d.ts.map +1 -0
  1097. package/dist/internal/overlay-manager.js +1 -0
  1098. package/dist/internal/overlay-manager.js.map +1 -0
  1099. package/dist/internal/positioner.d.ts +1 -0
  1100. package/dist/internal/positioner.d.ts.map +1 -0
  1101. package/dist/internal/positioner.js +1 -0
  1102. package/dist/internal/positioner.js.map +1 -0
  1103. package/dist/internal/prefix.d.ts +1 -0
  1104. package/dist/internal/prefix.d.ts.map +1 -0
  1105. package/dist/internal/prefix.js +9 -2
  1106. package/dist/internal/prefix.js.map +1 -0
  1107. package/dist/internal/root-registration-allowlist.d.ts +8 -0
  1108. package/dist/internal/root-registration-allowlist.d.ts.map +1 -0
  1109. package/dist/internal/root-registration-allowlist.js +95 -0
  1110. package/dist/internal/root-registration-allowlist.js.map +1 -0
  1111. package/dist/internal/rtl.d.ts +1 -0
  1112. package/dist/internal/rtl.d.ts.map +1 -0
  1113. package/dist/internal/rtl.js +1 -0
  1114. package/dist/internal/rtl.js.map +1 -0
  1115. package/dist/internal/safe-url.d.ts +1 -0
  1116. package/dist/internal/safe-url.d.ts.map +1 -0
  1117. package/dist/internal/safe-url.js +1 -0
  1118. package/dist/internal/safe-url.js.map +1 -0
  1119. package/dist/internal/scroll-lock.d.ts +1 -0
  1120. package/dist/internal/scroll-lock.d.ts.map +1 -0
  1121. package/dist/internal/scroll-lock.js +1 -0
  1122. package/dist/internal/scroll-lock.js.map +1 -0
  1123. package/dist/internal/tokens.styles.d.ts +1 -0
  1124. package/dist/internal/tokens.styles.d.ts.map +1 -0
  1125. package/dist/internal/tokens.styles.js +207 -0
  1126. package/dist/internal/tokens.styles.js.map +1 -0
  1127. package/dist/lyra.d.ts +52 -4
  1128. package/dist/lyra.d.ts.map +1 -0
  1129. package/dist/lyra.js +4 -1
  1130. package/dist/lyra.js.map +1 -0
  1131. package/llms-full.txt +113 -50
  1132. package/llms.txt +6 -6
  1133. package/package.json +183 -5
@@ -0,0 +1,212 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { html, nothing } from 'lit';
8
+ import { property, state, query } from 'lit/decorators.js';
9
+ import { LyraElement } from '../../internal/lyra-element.js';
10
+ import '../live-region/live-region.class.js';
11
+ import { styles } from './stream-status.styles.js';
12
+ const DEFAULT_STALL_MESSAGE = 'Taking longer than usual…';
13
+ const STALL_ANNOUNCEMENT = 'Connection stalled.';
14
+ const RECOVER_ANNOUNCEMENT = 'Connection restored.';
15
+ // Used instead of RECOVER_ANNOUNCEMENT when a stall is left behind by moving
16
+ // to 'idle'/'connecting' rather than back to 'streaming' -- see
17
+ // announceTransition()'s caller in onPhaseChanged() for why "restored" would
18
+ // be actively misleading in that case.
19
+ const STALL_CLEARED_ANNOUNCEMENT = 'No longer stalled.';
20
+ // The default slot's stalled-message content is often plain text with no
21
+ // wrapping element at all (see the CustomStalledMessage story), so an
22
+ // Element-only check never counts it, and ordinary indented-markup
23
+ // whitespace (a newline + indentation before a slotted `actions` button, as
24
+ // in the DefaultStalledMessage story) must not count either -- native <slot>
25
+ // fallback content is suppressed by *any* assigned node, whitespace or not,
26
+ // which previously left the message area blank in exactly that common case.
27
+ // Mirrors lyra-citation-badge's identical isRealPreviewNode: a node counts as
28
+ // real message content if it's an element not assigned to some other named
29
+ // slot (e.g. `actions`), or non-whitespace text.
30
+ function isRealMessageNode(n) {
31
+ return n.nodeType === Node.ELEMENT_NODE
32
+ ? !n.hasAttribute('slot')
33
+ : (n.textContent ?? '').trim().length > 0;
34
+ }
35
+ export class LyraStreamStatus extends LyraElement {
36
+ constructor() {
37
+ super(...arguments);
38
+ /** Current connection phase. Settable directly by the host at any time —
39
+ * see the class doc for how that interacts with the internal stall timer. */
40
+ this.phase = 'idle';
41
+ /** How long `phase` may stay `'streaming'` with no `recordActivity()` call
42
+ * before this component declares it stalled. */
43
+ this.stallThresholdMs = 10000;
44
+ this.hasActionsSlot = false;
45
+ // Seeded from light-DOM childNodes in willUpdate() (mirrors hasActionsSlot
46
+ // above), then kept current via onMessageSlotChange() -- see
47
+ // isRealMessageNode()'s doc comment for why native <slot> fallback content
48
+ // can't be relied on for the default stalled-message text.
49
+ this.hasMessageContent = false;
50
+ this.onActionsSlotChange = (e) => {
51
+ this.hasActionsSlot = e.target.assignedElements({ flatten: true }).length > 0;
52
+ };
53
+ this.onMessageSlotChange = (e) => {
54
+ this.hasMessageContent = e.target.assignedNodes({ flatten: true }).some(isRealMessageNode);
55
+ };
56
+ }
57
+ static { this.styles = [LyraElement.styles, styles]; }
58
+ willUpdate() {
59
+ if (!this.hasUpdated) {
60
+ this.hasActionsSlot = this.hasSlotted('actions');
61
+ this.hasMessageContent = Array.from(this.childNodes).some(isRealMessageNode);
62
+ }
63
+ }
64
+ // `changed.get('phase')` is `undefined` on the very first update, for the
65
+ // same reason documented on lyra-chat-message's identical `updated()`
66
+ // guard: Lit only records the *first* old value seen since the last
67
+ // completed update, and the constructor's field-initializer assignment is
68
+ // that first change, from the truly-unset internal slot. That naturally
69
+ // skips firing an event/announcement for whatever phase this element
70
+ // happens to mount with, while still arming the stall timer below if it
71
+ // mounts already `'streaming'`.
72
+ //
73
+ // The `else if` below only matters while `phase` itself didn't also change
74
+ // in this same update -- if it did, onPhaseChanged() above already
75
+ // (re)armed the timer with the current `stallThresholdMs`, so re-arming it
76
+ // again here would just be redundant, not wrong, but the `else` skips that
77
+ // double work.
78
+ updated(changed) {
79
+ if (changed.has('phase')) {
80
+ this.onPhaseChanged(changed.get('phase'));
81
+ }
82
+ else if (changed.has('stallThresholdMs') && this.phase === 'streaming') {
83
+ // Unlike `phase` itself, `stallThresholdMs` has no dedicated handler --
84
+ // the already-armed timer was scheduled against the *old* value and
85
+ // keeps counting down against it otherwise, so a shortened (or
86
+ // lengthened) threshold would silently have no effect until the next
87
+ // recordActivity() call or phase transition happened to re-arm it.
88
+ this.armStallTimer();
89
+ }
90
+ }
91
+ connectedCallback() {
92
+ super.connectedCallback();
93
+ // A disconnect always disarms the timer (see disconnectedCallback()
94
+ // below), but reparenting this element elsewhere in the page while still
95
+ // `'streaming'` fires disconnectedCallback then connectedCallback with
96
+ // `phase` unchanged -- no `updated()` cycle runs in between, so nothing
97
+ // else would ever re-arm it. Without this, a reparent mid-stream would
98
+ // permanently disable stall detection for the rest of that streaming
99
+ // session.
100
+ if (this.phase === 'streaming')
101
+ this.armStallTimer();
102
+ }
103
+ disconnectedCallback() {
104
+ super.disconnectedCallback();
105
+ this.disarmStallTimer();
106
+ }
107
+ /**
108
+ * Call on every semantic (non-heartbeat) frame received while streaming.
109
+ * - While `phase === 'streaming'`: (re)arms the stall timer, pushing the
110
+ * stall deadline `stall-threshold-ms` further out.
111
+ * - While `phase === 'stalled'`: recovers — `phase` becomes `'streaming'`
112
+ * again, `lyra-recover` fires, and the stall timer is armed fresh (same
113
+ * as the bullet above), all via the same `updated()` transition handling
114
+ * a direct host assignment would also go through.
115
+ * - While `phase` is `'idle'` or `'connecting'`: a no-op. A host may call
116
+ * this defensively before formally flipping to `'streaming'`; it must
117
+ * never throw or start a timer early.
118
+ */
119
+ recordActivity() {
120
+ if (this.phase === 'streaming') {
121
+ this.armStallTimer();
122
+ }
123
+ else if (this.phase === 'stalled') {
124
+ this.phase = 'streaming';
125
+ }
126
+ }
127
+ onPhaseChanged(previous) {
128
+ if (this.phase === 'streaming') {
129
+ this.armStallTimer();
130
+ }
131
+ else {
132
+ this.disarmStallTimer();
133
+ }
134
+ if (previous === undefined)
135
+ return;
136
+ if (this.phase === 'stalled' && previous !== 'stalled') {
137
+ this.emit('lyra-stall');
138
+ this.announceTransition('assertive', STALL_ANNOUNCEMENT);
139
+ }
140
+ else if (previous === 'stalled' && this.phase !== 'stalled') {
141
+ // `lyra-recover` fires unconditionally -- a host may still want the
142
+ // event for any exit from 'stalled' -- but the *announced text* must
143
+ // not claim the connection was "restored" when the destination is
144
+ // 'idle'/'connecting': that's the host abandoning the stream, not it
145
+ // recovering, and telling a screen-reader user otherwise would be the
146
+ // opposite of what a sighted user sees on screen.
147
+ this.emit('lyra-recover');
148
+ const text = this.phase === 'streaming' ? RECOVER_ANNOUNCEMENT : STALL_CLEARED_ANNOUNCEMENT;
149
+ this.announceTransition('polite', text);
150
+ }
151
+ }
152
+ armStallTimer() {
153
+ this.disarmStallTimer();
154
+ const threshold = this.stallThresholdMs;
155
+ if (!Number.isFinite(threshold) || threshold <= 0)
156
+ return;
157
+ this.stallTimer = setTimeout(() => {
158
+ this.stallTimer = undefined;
159
+ this.phase = 'stalled';
160
+ }, threshold);
161
+ }
162
+ disarmStallTimer() {
163
+ if (this.stallTimer !== undefined) {
164
+ clearTimeout(this.stallTimer);
165
+ this.stallTimer = undefined;
166
+ }
167
+ }
168
+ announceTransition(mode, text) {
169
+ const region = this.liveRegion;
170
+ if (!region)
171
+ return;
172
+ region.mode = mode;
173
+ region.announce(text, { force: true });
174
+ }
175
+ hasSlotted(name) {
176
+ return Array.from(this.children).some((el) => el.getAttribute('slot') === name);
177
+ }
178
+ render() {
179
+ return html `
180
+ <div part="base">
181
+ <span part="indicator" aria-hidden="true"></span>
182
+ ${this.phase === 'stalled'
183
+ ? html `<div part="message">
184
+ <slot @slotchange=${this.onMessageSlotChange}></slot>${this.hasMessageContent
185
+ ? nothing
186
+ : DEFAULT_STALL_MESSAGE}
187
+ </div>`
188
+ : nothing}
189
+ <div part="actions" ?hidden=${!this.hasActionsSlot}>
190
+ <slot name="actions" @slotchange=${this.onActionsSlotChange}></slot>
191
+ </div>
192
+ <lyra-live-region></lyra-live-region>
193
+ </div>
194
+ `;
195
+ }
196
+ }
197
+ __decorate([
198
+ property({ reflect: true })
199
+ ], LyraStreamStatus.prototype, "phase", void 0);
200
+ __decorate([
201
+ property({ type: Number, attribute: 'stall-threshold-ms' })
202
+ ], LyraStreamStatus.prototype, "stallThresholdMs", void 0);
203
+ __decorate([
204
+ state()
205
+ ], LyraStreamStatus.prototype, "hasActionsSlot", void 0);
206
+ __decorate([
207
+ state()
208
+ ], LyraStreamStatus.prototype, "hasMessageContent", void 0);
209
+ __decorate([
210
+ query('lyra-live-region')
211
+ ], LyraStreamStatus.prototype, "liveRegion", void 0);
212
+ //# sourceMappingURL=stream-status.class.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stream-status.class.js","sourceRoot":"","sources":["../../../src/components/stream-status/stream-status.class.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAA4C,MAAM,KAAK,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,qCAAqC,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAInD,MAAM,qBAAqB,GAAG,2BAA2B,CAAC;AAC1D,MAAM,kBAAkB,GAAG,qBAAqB,CAAC;AACjD,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;AACpD,6EAA6E;AAC7E,gEAAgE;AAChE,6EAA6E;AAC7E,uCAAuC;AACvC,MAAM,0BAA0B,GAAG,oBAAoB,CAAC;AAExD,yEAAyE;AACzE,sEAAsE;AACtE,mEAAmE;AACnE,4EAA4E;AAC5E,6EAA6E;AAC7E,4EAA4E;AAC5E,4EAA4E;AAC5E,8EAA8E;AAC9E,2EAA2E;AAC3E,iDAAiD;AACjD,SAAS,iBAAiB,CAAC,CAAO;IAChC,OAAO,CAAC,CAAC,QAAQ,KAAK,IAAI,CAAC,YAAY;QACrC,CAAC,CAAC,CAAE,CAAa,CAAC,YAAY,CAAC,MAAM,CAAC;QACtC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;AAC9C,CAAC;AAqFD,MAAM,OAAO,gBAAiB,SAAQ,WAAqC;IAA3E;;QAGE;sFAC8E;QACjD,UAAK,GAAsB,MAAM,CAAC;QAE/D;yDACiD;QACY,qBAAgB,GAAG,KAAK,CAAC;QAKrE,mBAAc,GAAG,KAAK,CAAC;QAExC,2EAA2E;QAC3E,6DAA6D;QAC7D,2EAA2E;QAC3E,2DAA2D;QAC1C,sBAAiB,GAAG,KAAK,CAAC;QAgInC,wBAAmB,GAAG,CAAC,CAAQ,EAAQ,EAAE;YAC/C,IAAI,CAAC,cAAc,GAAI,CAAC,CAAC,MAA0B,CAAC,gBAAgB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;QACrG,CAAC,CAAC;QAEM,wBAAmB,GAAG,CAAC,CAAQ,EAAQ,EAAE;YAC/C,IAAI,CAAC,iBAAiB,GAAI,CAAC,CAAC,MAA0B,CAAC,aAAa,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QAClH,CAAC,CAAC;IAoBJ,CAAC;aA7KQ,WAAM,GAAG,CAAC,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,AAA/B,CAAgC;IAuBnC,UAAU;QAClB,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC;YACrB,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;YACjD,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QAC/E,CAAC;IACH,CAAC;IAED,0EAA0E;IAC1E,sEAAsE;IACtE,oEAAoE;IACpE,0EAA0E;IAC1E,wEAAwE;IACxE,qEAAqE;IACrE,wEAAwE;IACxE,gCAAgC;IAChC,EAAE;IACF,2EAA2E;IAC3E,mEAAmE;IACnE,2EAA2E;IAC3E,2EAA2E;IAC3E,eAAe;IACL,OAAO,CAAC,OAAuB;QACvC,IAAI,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;YACzB,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAkC,CAAC,CAAC;QAC7E,CAAC;aAAM,IAAI,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC,IAAI,IAAI,CAAC,KAAK,KAAK,WAAW,EAAE,CAAC;YACzE,wEAAwE;YACxE,oEAAoE;YACpE,+DAA+D;YAC/D,qEAAqE;YACrE,mEAAmE;YACnE,IAAI,CAAC,aAAa,EAAE,CAAC;QACvB,CAAC;IACH,CAAC;IAED,iBAAiB;QACf,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,oEAAoE;QACpE,yEAAyE;QACzE,uEAAuE;QACvE,wEAAwE;QACxE,uEAAuE;QACvE,qEAAqE;QACrE,WAAW;QACX,IAAI,IAAI,CAAC,KAAK,KAAK,WAAW;YAAE,IAAI,CAAC,aAAa,EAAE,CAAC;IACvD,CAAC;IAED,oBAAoB;QAClB,KAAK,CAAC,oBAAoB,EAAE,CAAC;QAC7B,IAAI,CAAC,gBAAgB,EAAE,CAAC;IAC1B,CAAC;IAED;;;;;;;;;;;OAWG;IACH,cAAc;QACZ,IAAI,IAAI,CAAC,KAAK,KAAK,WAAW,EAAE,CAAC;YAC/B,IAAI,CAAC,aAAa,EAAE,CAAC;QACvB,CAAC;aAAM,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YACpC,IAAI,CAAC,KAAK,GAAG,WAAW,CAAC;QAC3B,CAAC;IACH,CAAC;IAEO,cAAc,CAAC,QAAuC;QAC5D,IAAI,IAAI,CAAC,KAAK,KAAK,WAAW,EAAE,CAAC;YAC/B,IAAI,CAAC,aAAa,EAAE,CAAC;QACvB,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAC1B,CAAC;QAED,IAAI,QAAQ,KAAK,SAAS;YAAE,OAAO;QAEnC,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YACvD,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YACxB,IAAI,CAAC,kBAAkB,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAAC;QAC3D,CAAC;aAAM,IAAI,QAAQ,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAC9D,oEAAoE;YACpE,qEAAqE;YACrE,kEAAkE;YAClE,qEAAqE;YACrE,sEAAsE;YACtE,kDAAkD;YAClD,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;YAC1B,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,KAAK,WAAW,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,0BAA0B,CAAC;YAC5F,IAAI,CAAC,kBAAkB,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;QAC1C,CAAC;IACH,CAAC;IAEO,aAAa;QACnB,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACxB,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC;QACxC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,SAAS,IAAI,CAAC;YAAE,OAAO;QAC1D,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,GAAG,EAAE;YAChC,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;YAC5B,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC;QACzB,CAAC,EAAE,SAAS,CAAC,CAAC;IAChB,CAAC;IAEO,gBAAgB;QACtB,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,EAAE,CAAC;YAClC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC9B,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC9B,CAAC;IACH,CAAC;IAEO,kBAAkB,CAAC,IAA4B,EAAE,IAAY;QACnE,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC;QAC/B,IAAI,CAAC,MAAM;YAAE,OAAO;QACpB,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC;QACnB,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IACzC,CAAC;IAEO,UAAU,CAAC,IAAY;QAC7B,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC,CAAC;IAClF,CAAC;IAUD,MAAM;QACJ,OAAO,IAAI,CAAA;;;UAGL,IAAI,CAAC,KAAK,KAAK,SAAS;YACxB,CAAC,CAAC,IAAI,CAAA;kCACkB,IAAI,CAAC,mBAAmB,WAAW,IAAI,CAAC,iBAAiB;gBAC3E,CAAC,CAAC,OAAO;gBACT,CAAC,CAAC,qBAAqB;mBACpB;YACT,CAAC,CAAC,OAAO;sCACmB,CAAC,IAAI,CAAC,cAAc;6CACb,IAAI,CAAC,mBAAmB;;;;KAIhE,CAAC;IACJ,CAAC;CACF;AAzK8B;IAA5B,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;+CAAmC;AAIF;IAA5D,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,oBAAoB,EAAE,CAAC;0DAA0B;AAKrE;IAAhB,KAAK,EAAE;wDAAgC;AAMvB;IAAhB,KAAK,EAAE;2DAAmC;AAER;IAAlC,KAAK,CAAC,kBAAkB,CAAC;oDAAqC"}
@@ -1,126 +1,3 @@
1
- import { type TemplateResult, type PropertyValues } from 'lit';
2
- import { LyraElement } from '../../internal/lyra-element.js';
3
- import '../live-region/live-region.js';
4
- export type StreamStatusPhase = 'idle' | 'connecting' | 'streaming' | 'stalled';
5
- /**
6
- * `<lyra-stream-status>` — a compact status indicator for a single streaming
7
- * connection (SSE, WebSocket, long-poll, …), with built-in heartbeat-aware
8
- * stall detection.
9
- *
10
- * The host drives `phase` directly for `idle`/`connecting`/`streaming`, and
11
- * calls `recordActivity()` on every *semantic* frame received while
12
- * streaming — a real content chunk, never a transport-level keep-alive ping.
13
- * This component has no payload-inspection logic of its own: "ignore
14
- * heartbeats" is entirely a call-site discipline — the host simply never
15
- * calls `recordActivity()` for a ping, so pings never reset the stall timer
16
- * and a connection that's only sending keep-alives (no real content) for
17
- * longer than `stall-threshold-ms` correctly reads as stalled.
18
- *
19
- * Internally, an inactivity timer runs only while `phase === 'streaming'`.
20
- * It's (re)armed whenever the phase transitions to `'streaming'` (directly,
21
- * or via `recordActivity()` recovering from `'stalled'`), on every
22
- * subsequent `recordActivity()` call while already streaming, whenever
23
- * `stall-threshold-ms` itself changes while already streaming (the new
24
- * value takes effect immediately, the same way `<lyra-toast-item>`'s
25
- * `duration` re-applies mid-flight, rather than waiting for the next
26
- * `recordActivity()`/phase change), and whenever this element (re)connects
27
- * to the DOM while `phase` is still `'streaming'` (a disconnect always
28
- * disarms it, so moving the element elsewhere in the page — disconnect then
29
- * reconnect with `phase` unchanged — must resume detection rather than
30
- * silently disabling it for the rest of the streaming session). It's
31
- * disarmed the instant `phase` becomes anything else, including a
32
- * host-driven reassignment away from `'streaming'` — so a stale timer can
33
- * never fire a stall transition after the host has already moved on. If it
34
- * ever fires, `phase` becomes `'stalled'` and `lyra-stall` is dispatched.
35
- *
36
- * `phase` remains a fully public, directly settable property at all times —
37
- * a host can assign `'stalled'` (or any other phase) itself as a manual
38
- * override, and this component never fights that assignment. `lyra-stall`/
39
- * `lyra-recover` fire on *any* transition into/out of `'stalled'`
40
- * respectively, whether timer-driven or host-driven, and never for a
41
- * reassignment to the same value (Lit's default `hasChanged` already skips a
42
- * no-op set, same as every other reflected `@property` in this library).
43
- * Like `<lyra-chat-message>`'s `status`, whatever phase this element happens
44
- * to *mount* with is never itself treated as an eventful transition — only a
45
- * later change fires an event or an announcement.
46
- *
47
- * Accessibility: phase transitions into/out of `'stalled'` are announced
48
- * through an internal `<lyra-live-region>` (see that component for the
49
- * throttled/coalesced-announcement machinery this composes) rather than a
50
- * hand-rolled `aria-live` region. `recordActivity()` itself never announces
51
- * anything, no matter how often the host calls it — only the *transition*
52
- * announces, exactly once per transition, which is the entire point of
53
- * routing through the throttled announcer instead of writing to a live
54
- * region on every call. Entering `'stalled'` announces with `mode="assertive"`
55
- * (a stall can need the user's attention, e.g. before they give up and
56
- * navigate away); leaving `'stalled'` always announces with `mode="polite"`
57
- * (good news doesn't need to interrupt), but the *wording* depends on where
58
- * it lands: `"Connection restored."` only when the destination is
59
- * `'streaming'` (a genuine recovery), or a neutral `"No longer stalled."`
60
- * when the destination is `'idle'`/`'connecting'` instead — that's the host
61
- * giving up on the stream, not the stream recovering, and a screen-reader
62
- * user must never be told the opposite of what a sighted user sees on
63
- * screen. The decorative indicator dot is `aria-hidden` — it's a
64
- * color/motion cue only, never the sole carrier of state.
65
- *
66
- * Visual: `'stalled'` is styled as a warning, not a danger — a stall is
67
- * usually recoverable (the stream may resume on its own, or the host's own
68
- * retry logic may kick in), so treating it as an actionable warning rather
69
- * than a hard failure keeps the tone proportionate. A host that wants to
70
- * escalate to danger styling after N stalls can scope its own CSS off
71
- * `[phase="stalled"]`, or simply stop rendering this component and show its
72
- * own danger-styled error state instead.
73
- *
74
- * @customElement lyra-stream-status
75
- * @slot - Custom copy shown only while `phase="stalled"` (e.g. "Taking longer than usual…"). A sensible built-in default is used when nothing is slotted.
76
- * @slot actions - A stop/retry button row. Always present in the template regardless of `phase` — visibility is driven purely by whether anything is slotted, not by `phase`; what to put here, and when, is entirely the host's call.
77
- * @event lyra-stall - Fired whenever `phase` transitions into `'stalled'` from anything else (timer-driven, or a direct host assignment).
78
- * @event lyra-recover - Fired whenever `phase` transitions out of `'stalled'` to anything else (via `recordActivity()`, or a direct host assignment) — fired unconditionally regardless of destination phase, even though the accompanying announcement's wording varies (see the class doc's "Accessibility" section).
79
- * @csspart base - The root layout container.
80
- * @csspart indicator - The decorative (`aria-hidden`) status dot.
81
- * @csspart message - Wrapper around the default slot; only rendered while `phase="stalled"`.
82
- * @csspart actions - Wrapper around the `actions` slot.
83
- */
84
- export declare class LyraStreamStatus extends LyraElement {
85
- static styles: import("lit").CSSResultGroup[];
86
- /** Current connection phase. Settable directly by the host at any time —
87
- * see the class doc for how that interacts with the internal stall timer. */
88
- phase: StreamStatusPhase;
89
- /** How long `phase` may stay `'streaming'` with no `recordActivity()` call
90
- * before this component declares it stalled. */
91
- stallThresholdMs: number;
92
- private stallTimer?;
93
- private hasActionsSlot;
94
- private hasMessageContent;
95
- private liveRegion?;
96
- protected willUpdate(): void;
97
- protected updated(changed: PropertyValues): void;
98
- connectedCallback(): void;
99
- disconnectedCallback(): void;
100
- /**
101
- * Call on every semantic (non-heartbeat) frame received while streaming.
102
- * - While `phase === 'streaming'`: (re)arms the stall timer, pushing the
103
- * stall deadline `stall-threshold-ms` further out.
104
- * - While `phase === 'stalled'`: recovers — `phase` becomes `'streaming'`
105
- * again, `lyra-recover` fires, and the stall timer is armed fresh (same
106
- * as the bullet above), all via the same `updated()` transition handling
107
- * a direct host assignment would also go through.
108
- * - While `phase` is `'idle'` or `'connecting'`: a no-op. A host may call
109
- * this defensively before formally flipping to `'streaming'`; it must
110
- * never throw or start a timer early.
111
- */
112
- recordActivity(): void;
113
- private onPhaseChanged;
114
- private armStallTimer;
115
- private disarmStallTimer;
116
- private announceTransition;
117
- private hasSlotted;
118
- private onActionsSlotChange;
119
- private onMessageSlotChange;
120
- render(): TemplateResult;
121
- }
122
- declare global {
123
- interface HTMLElementTagNameMap {
124
- 'lyra-stream-status': LyraStreamStatus;
125
- }
126
- }
1
+ export * from './stream-status.class.js';
2
+ import "../live-region/live-region.js";
3
+ //# sourceMappingURL=stream-status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stream-status.d.ts","sourceRoot":"","sources":["../../../src/components/stream-status/stream-status.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AAGzC,OAAO,+BAA+B,CAAC"}
@@ -1,292 +1,6 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import { html, nothing } from 'lit';
8
- import { property, state, query } from 'lit/decorators.js';
9
- import { LyraElement } from '../../internal/lyra-element.js';
1
+ export * from './stream-status.class.js';
2
+ import { LyraStreamStatus } from './stream-status.class.js';
10
3
  import { defineElement } from '../../internal/prefix.js';
11
- import '../live-region/live-region.js';
12
- import { styles } from './stream-status.styles.js';
13
- const DEFAULT_STALL_MESSAGE = 'Taking longer than usual…';
14
- const STALL_ANNOUNCEMENT = 'Connection stalled.';
15
- const RECOVER_ANNOUNCEMENT = 'Connection restored.';
16
- // Used instead of RECOVER_ANNOUNCEMENT when a stall is left behind by moving
17
- // to 'idle'/'connecting' rather than back to 'streaming' -- see
18
- // announceTransition()'s caller in onPhaseChanged() for why "restored" would
19
- // be actively misleading in that case.
20
- const STALL_CLEARED_ANNOUNCEMENT = 'No longer stalled.';
21
- // The default slot's stalled-message content is often plain text with no
22
- // wrapping element at all (see the CustomStalledMessage story), so an
23
- // Element-only check never counts it, and ordinary indented-markup
24
- // whitespace (a newline + indentation before a slotted `actions` button, as
25
- // in the DefaultStalledMessage story) must not count either -- native <slot>
26
- // fallback content is suppressed by *any* assigned node, whitespace or not,
27
- // which previously left the message area blank in exactly that common case.
28
- // Mirrors lyra-citation-badge's identical isRealPreviewNode: a node counts as
29
- // real message content if it's an element not assigned to some other named
30
- // slot (e.g. `actions`), or non-whitespace text.
31
- function isRealMessageNode(n) {
32
- return n.nodeType === Node.ELEMENT_NODE
33
- ? !n.hasAttribute('slot')
34
- : (n.textContent ?? '').trim().length > 0;
35
- }
36
- /**
37
- * `<lyra-stream-status>` — a compact status indicator for a single streaming
38
- * connection (SSE, WebSocket, long-poll, …), with built-in heartbeat-aware
39
- * stall detection.
40
- *
41
- * The host drives `phase` directly for `idle`/`connecting`/`streaming`, and
42
- * calls `recordActivity()` on every *semantic* frame received while
43
- * streaming — a real content chunk, never a transport-level keep-alive ping.
44
- * This component has no payload-inspection logic of its own: "ignore
45
- * heartbeats" is entirely a call-site discipline — the host simply never
46
- * calls `recordActivity()` for a ping, so pings never reset the stall timer
47
- * and a connection that's only sending keep-alives (no real content) for
48
- * longer than `stall-threshold-ms` correctly reads as stalled.
49
- *
50
- * Internally, an inactivity timer runs only while `phase === 'streaming'`.
51
- * It's (re)armed whenever the phase transitions to `'streaming'` (directly,
52
- * or via `recordActivity()` recovering from `'stalled'`), on every
53
- * subsequent `recordActivity()` call while already streaming, whenever
54
- * `stall-threshold-ms` itself changes while already streaming (the new
55
- * value takes effect immediately, the same way `<lyra-toast-item>`'s
56
- * `duration` re-applies mid-flight, rather than waiting for the next
57
- * `recordActivity()`/phase change), and whenever this element (re)connects
58
- * to the DOM while `phase` is still `'streaming'` (a disconnect always
59
- * disarms it, so moving the element elsewhere in the page — disconnect then
60
- * reconnect with `phase` unchanged — must resume detection rather than
61
- * silently disabling it for the rest of the streaming session). It's
62
- * disarmed the instant `phase` becomes anything else, including a
63
- * host-driven reassignment away from `'streaming'` — so a stale timer can
64
- * never fire a stall transition after the host has already moved on. If it
65
- * ever fires, `phase` becomes `'stalled'` and `lyra-stall` is dispatched.
66
- *
67
- * `phase` remains a fully public, directly settable property at all times —
68
- * a host can assign `'stalled'` (or any other phase) itself as a manual
69
- * override, and this component never fights that assignment. `lyra-stall`/
70
- * `lyra-recover` fire on *any* transition into/out of `'stalled'`
71
- * respectively, whether timer-driven or host-driven, and never for a
72
- * reassignment to the same value (Lit's default `hasChanged` already skips a
73
- * no-op set, same as every other reflected `@property` in this library).
74
- * Like `<lyra-chat-message>`'s `status`, whatever phase this element happens
75
- * to *mount* with is never itself treated as an eventful transition — only a
76
- * later change fires an event or an announcement.
77
- *
78
- * Accessibility: phase transitions into/out of `'stalled'` are announced
79
- * through an internal `<lyra-live-region>` (see that component for the
80
- * throttled/coalesced-announcement machinery this composes) rather than a
81
- * hand-rolled `aria-live` region. `recordActivity()` itself never announces
82
- * anything, no matter how often the host calls it — only the *transition*
83
- * announces, exactly once per transition, which is the entire point of
84
- * routing through the throttled announcer instead of writing to a live
85
- * region on every call. Entering `'stalled'` announces with `mode="assertive"`
86
- * (a stall can need the user's attention, e.g. before they give up and
87
- * navigate away); leaving `'stalled'` always announces with `mode="polite"`
88
- * (good news doesn't need to interrupt), but the *wording* depends on where
89
- * it lands: `"Connection restored."` only when the destination is
90
- * `'streaming'` (a genuine recovery), or a neutral `"No longer stalled."`
91
- * when the destination is `'idle'`/`'connecting'` instead — that's the host
92
- * giving up on the stream, not the stream recovering, and a screen-reader
93
- * user must never be told the opposite of what a sighted user sees on
94
- * screen. The decorative indicator dot is `aria-hidden` — it's a
95
- * color/motion cue only, never the sole carrier of state.
96
- *
97
- * Visual: `'stalled'` is styled as a warning, not a danger — a stall is
98
- * usually recoverable (the stream may resume on its own, or the host's own
99
- * retry logic may kick in), so treating it as an actionable warning rather
100
- * than a hard failure keeps the tone proportionate. A host that wants to
101
- * escalate to danger styling after N stalls can scope its own CSS off
102
- * `[phase="stalled"]`, or simply stop rendering this component and show its
103
- * own danger-styled error state instead.
104
- *
105
- * @customElement lyra-stream-status
106
- * @slot - Custom copy shown only while `phase="stalled"` (e.g. "Taking longer than usual…"). A sensible built-in default is used when nothing is slotted.
107
- * @slot actions - A stop/retry button row. Always present in the template regardless of `phase` — visibility is driven purely by whether anything is slotted, not by `phase`; what to put here, and when, is entirely the host's call.
108
- * @event lyra-stall - Fired whenever `phase` transitions into `'stalled'` from anything else (timer-driven, or a direct host assignment).
109
- * @event lyra-recover - Fired whenever `phase` transitions out of `'stalled'` to anything else (via `recordActivity()`, or a direct host assignment) — fired unconditionally regardless of destination phase, even though the accompanying announcement's wording varies (see the class doc's "Accessibility" section).
110
- * @csspart base - The root layout container.
111
- * @csspart indicator - The decorative (`aria-hidden`) status dot.
112
- * @csspart message - Wrapper around the default slot; only rendered while `phase="stalled"`.
113
- * @csspart actions - Wrapper around the `actions` slot.
114
- */
115
- export class LyraStreamStatus extends LyraElement {
116
- constructor() {
117
- super(...arguments);
118
- /** Current connection phase. Settable directly by the host at any time —
119
- * see the class doc for how that interacts with the internal stall timer. */
120
- this.phase = 'idle';
121
- /** How long `phase` may stay `'streaming'` with no `recordActivity()` call
122
- * before this component declares it stalled. */
123
- this.stallThresholdMs = 10000;
124
- this.hasActionsSlot = false;
125
- // Seeded from light-DOM childNodes in willUpdate() (mirrors hasActionsSlot
126
- // above), then kept current via onMessageSlotChange() -- see
127
- // isRealMessageNode()'s doc comment for why native <slot> fallback content
128
- // can't be relied on for the default stalled-message text.
129
- this.hasMessageContent = false;
130
- this.onActionsSlotChange = (e) => {
131
- this.hasActionsSlot = e.target.assignedElements({ flatten: true }).length > 0;
132
- };
133
- this.onMessageSlotChange = (e) => {
134
- this.hasMessageContent = e.target.assignedNodes({ flatten: true }).some(isRealMessageNode);
135
- };
136
- }
137
- static { this.styles = [LyraElement.styles, styles]; }
138
- willUpdate() {
139
- if (!this.hasUpdated) {
140
- this.hasActionsSlot = this.hasSlotted('actions');
141
- this.hasMessageContent = Array.from(this.childNodes).some(isRealMessageNode);
142
- }
143
- }
144
- // `changed.get('phase')` is `undefined` on the very first update, for the
145
- // same reason documented on lyra-chat-message's identical `updated()`
146
- // guard: Lit only records the *first* old value seen since the last
147
- // completed update, and the constructor's field-initializer assignment is
148
- // that first change, from the truly-unset internal slot. That naturally
149
- // skips firing an event/announcement for whatever phase this element
150
- // happens to mount with, while still arming the stall timer below if it
151
- // mounts already `'streaming'`.
152
- //
153
- // The `else if` below only matters while `phase` itself didn't also change
154
- // in this same update -- if it did, onPhaseChanged() above already
155
- // (re)armed the timer with the current `stallThresholdMs`, so re-arming it
156
- // again here would just be redundant, not wrong, but the `else` skips that
157
- // double work.
158
- updated(changed) {
159
- if (changed.has('phase')) {
160
- this.onPhaseChanged(changed.get('phase'));
161
- }
162
- else if (changed.has('stallThresholdMs') && this.phase === 'streaming') {
163
- // Unlike `phase` itself, `stallThresholdMs` has no dedicated handler --
164
- // the already-armed timer was scheduled against the *old* value and
165
- // keeps counting down against it otherwise, so a shortened (or
166
- // lengthened) threshold would silently have no effect until the next
167
- // recordActivity() call or phase transition happened to re-arm it.
168
- this.armStallTimer();
169
- }
170
- }
171
- connectedCallback() {
172
- super.connectedCallback();
173
- // A disconnect always disarms the timer (see disconnectedCallback()
174
- // below), but reparenting this element elsewhere in the page while still
175
- // `'streaming'` fires disconnectedCallback then connectedCallback with
176
- // `phase` unchanged -- no `updated()` cycle runs in between, so nothing
177
- // else would ever re-arm it. Without this, a reparent mid-stream would
178
- // permanently disable stall detection for the rest of that streaming
179
- // session.
180
- if (this.phase === 'streaming')
181
- this.armStallTimer();
182
- }
183
- disconnectedCallback() {
184
- super.disconnectedCallback();
185
- this.disarmStallTimer();
186
- }
187
- /**
188
- * Call on every semantic (non-heartbeat) frame received while streaming.
189
- * - While `phase === 'streaming'`: (re)arms the stall timer, pushing the
190
- * stall deadline `stall-threshold-ms` further out.
191
- * - While `phase === 'stalled'`: recovers — `phase` becomes `'streaming'`
192
- * again, `lyra-recover` fires, and the stall timer is armed fresh (same
193
- * as the bullet above), all via the same `updated()` transition handling
194
- * a direct host assignment would also go through.
195
- * - While `phase` is `'idle'` or `'connecting'`: a no-op. A host may call
196
- * this defensively before formally flipping to `'streaming'`; it must
197
- * never throw or start a timer early.
198
- */
199
- recordActivity() {
200
- if (this.phase === 'streaming') {
201
- this.armStallTimer();
202
- }
203
- else if (this.phase === 'stalled') {
204
- this.phase = 'streaming';
205
- }
206
- }
207
- onPhaseChanged(previous) {
208
- if (this.phase === 'streaming') {
209
- this.armStallTimer();
210
- }
211
- else {
212
- this.disarmStallTimer();
213
- }
214
- if (previous === undefined)
215
- return;
216
- if (this.phase === 'stalled' && previous !== 'stalled') {
217
- this.emit('lyra-stall');
218
- this.announceTransition('assertive', STALL_ANNOUNCEMENT);
219
- }
220
- else if (previous === 'stalled' && this.phase !== 'stalled') {
221
- // `lyra-recover` fires unconditionally -- a host may still want the
222
- // event for any exit from 'stalled' -- but the *announced text* must
223
- // not claim the connection was "restored" when the destination is
224
- // 'idle'/'connecting': that's the host abandoning the stream, not it
225
- // recovering, and telling a screen-reader user otherwise would be the
226
- // opposite of what a sighted user sees on screen.
227
- this.emit('lyra-recover');
228
- const text = this.phase === 'streaming' ? RECOVER_ANNOUNCEMENT : STALL_CLEARED_ANNOUNCEMENT;
229
- this.announceTransition('polite', text);
230
- }
231
- }
232
- armStallTimer() {
233
- this.disarmStallTimer();
234
- const threshold = this.stallThresholdMs;
235
- if (!Number.isFinite(threshold) || threshold <= 0)
236
- return;
237
- this.stallTimer = setTimeout(() => {
238
- this.stallTimer = undefined;
239
- this.phase = 'stalled';
240
- }, threshold);
241
- }
242
- disarmStallTimer() {
243
- if (this.stallTimer !== undefined) {
244
- clearTimeout(this.stallTimer);
245
- this.stallTimer = undefined;
246
- }
247
- }
248
- announceTransition(mode, text) {
249
- const region = this.liveRegion;
250
- if (!region)
251
- return;
252
- region.mode = mode;
253
- region.announce(text, { force: true });
254
- }
255
- hasSlotted(name) {
256
- return Array.from(this.children).some((el) => el.getAttribute('slot') === name);
257
- }
258
- render() {
259
- return html `
260
- <div part="base">
261
- <span part="indicator" aria-hidden="true"></span>
262
- ${this.phase === 'stalled'
263
- ? html `<div part="message">
264
- <slot @slotchange=${this.onMessageSlotChange}></slot>${this.hasMessageContent
265
- ? nothing
266
- : DEFAULT_STALL_MESSAGE}
267
- </div>`
268
- : nothing}
269
- <div part="actions" ?hidden=${!this.hasActionsSlot}>
270
- <slot name="actions" @slotchange=${this.onActionsSlotChange}></slot>
271
- </div>
272
- <lyra-live-region></lyra-live-region>
273
- </div>
274
- `;
275
- }
276
- }
277
- __decorate([
278
- property({ reflect: true })
279
- ], LyraStreamStatus.prototype, "phase", void 0);
280
- __decorate([
281
- property({ type: Number, attribute: 'stall-threshold-ms' })
282
- ], LyraStreamStatus.prototype, "stallThresholdMs", void 0);
283
- __decorate([
284
- state()
285
- ], LyraStreamStatus.prototype, "hasActionsSlot", void 0);
286
- __decorate([
287
- state()
288
- ], LyraStreamStatus.prototype, "hasMessageContent", void 0);
289
- __decorate([
290
- query('lyra-live-region')
291
- ], LyraStreamStatus.prototype, "liveRegion", void 0);
4
+ import "../live-region/live-region.js";
292
5
  defineElement('stream-status', LyraStreamStatus);
6
+ //# sourceMappingURL=stream-status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stream-status.js","sourceRoot":"","sources":["../../../src/components/stream-status/stream-status.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,+BAA+B,CAAC;AACvC,aAAa,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC"}