@aceshooting/lyra-ui 2.11.0 → 2.13.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 (651) hide show
  1. package/README.md +31 -2
  2. package/custom-elements.json +38146 -19163
  3. package/dist/components/app-rail/app-rail.class.d.ts.map +1 -1
  4. package/dist/components/app-rail/app-rail.class.js +2 -1
  5. package/dist/components/app-rail/app-rail.class.js.map +1 -1
  6. package/dist/components/attachment-chip/attachment-chip.class.d.ts +16 -22
  7. package/dist/components/attachment-chip/attachment-chip.class.d.ts.map +1 -1
  8. package/dist/components/attachment-chip/attachment-chip.class.js +37 -42
  9. package/dist/components/attachment-chip/attachment-chip.class.js.map +1 -1
  10. package/dist/components/attachment-chip/attachment-chip.styles.d.ts.map +1 -1
  11. package/dist/components/attachment-chip/attachment-chip.styles.js +3 -2
  12. package/dist/components/attachment-chip/attachment-chip.styles.js.map +1 -1
  13. package/dist/components/avatar/avatar.class.d.ts +4 -3
  14. package/dist/components/avatar/avatar.class.d.ts.map +1 -1
  15. package/dist/components/avatar/avatar.class.js +12 -6
  16. package/dist/components/avatar/avatar.class.js.map +1 -1
  17. package/dist/components/badge/badge.class.d.ts +21 -0
  18. package/dist/components/badge/badge.class.d.ts.map +1 -0
  19. package/dist/components/badge/badge.class.js +29 -0
  20. package/dist/components/badge/badge.class.js.map +1 -0
  21. package/dist/components/badge/badge.d.ts +2 -0
  22. package/dist/components/badge/badge.d.ts.map +1 -0
  23. package/dist/components/badge/badge.js +5 -0
  24. package/dist/components/badge/badge.js.map +1 -0
  25. package/dist/components/badge/badge.styles.d.ts +2 -0
  26. package/dist/components/badge/badge.styles.d.ts.map +1 -0
  27. package/dist/components/badge/badge.styles.js +10 -0
  28. package/dist/components/badge/badge.styles.js.map +1 -0
  29. package/dist/components/badge/tag.class.d.ts +10 -0
  30. package/dist/components/badge/tag.class.d.ts.map +1 -0
  31. package/dist/components/badge/tag.class.js +5 -0
  32. package/dist/components/badge/tag.class.js.map +1 -0
  33. package/dist/components/badge/tag.d.ts +2 -0
  34. package/dist/components/badge/tag.d.ts.map +1 -0
  35. package/dist/components/badge/tag.js +5 -0
  36. package/dist/components/badge/tag.js.map +1 -0
  37. package/dist/components/breadcrumb/breadcrumb-item.class.d.ts +22 -0
  38. package/dist/components/breadcrumb/breadcrumb-item.class.d.ts.map +1 -0
  39. package/dist/components/breadcrumb/breadcrumb-item.class.js +40 -0
  40. package/dist/components/breadcrumb/breadcrumb-item.class.js.map +1 -0
  41. package/dist/components/breadcrumb/breadcrumb-item.d.ts +2 -0
  42. package/dist/components/breadcrumb/breadcrumb-item.d.ts.map +1 -0
  43. package/dist/components/breadcrumb/breadcrumb-item.js +5 -0
  44. package/dist/components/breadcrumb/breadcrumb-item.js.map +1 -0
  45. package/dist/components/breadcrumb/breadcrumb.class.d.ts +20 -0
  46. package/dist/components/breadcrumb/breadcrumb.class.d.ts.map +1 -0
  47. package/dist/components/breadcrumb/breadcrumb.class.js +29 -0
  48. package/dist/components/breadcrumb/breadcrumb.class.js.map +1 -0
  49. package/dist/components/breadcrumb/breadcrumb.d.ts +2 -0
  50. package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -0
  51. package/dist/components/breadcrumb/breadcrumb.js +5 -0
  52. package/dist/components/breadcrumb/breadcrumb.js.map +1 -0
  53. package/dist/components/breadcrumb/breadcrumb.styles.d.ts +2 -0
  54. package/dist/components/breadcrumb/breadcrumb.styles.d.ts.map +1 -0
  55. package/dist/components/breadcrumb/breadcrumb.styles.js +8 -0
  56. package/dist/components/breadcrumb/breadcrumb.styles.js.map +1 -0
  57. package/dist/components/button/button.class.d.ts +8 -1
  58. package/dist/components/button/button.class.d.ts.map +1 -1
  59. package/dist/components/button/button.class.js +14 -2
  60. package/dist/components/button/button.class.js.map +1 -1
  61. package/dist/components/button/button.styles.d.ts.map +1 -1
  62. package/dist/components/button/button.styles.js +34 -0
  63. package/dist/components/button/button.styles.js.map +1 -1
  64. package/dist/components/button-group/button-group.class.d.ts +25 -0
  65. package/dist/components/button-group/button-group.class.d.ts.map +1 -0
  66. package/dist/components/button-group/button-group.class.js +39 -0
  67. package/dist/components/button-group/button-group.class.js.map +1 -0
  68. package/dist/components/button-group/button-group.d.ts +2 -0
  69. package/dist/components/button-group/button-group.d.ts.map +1 -0
  70. package/dist/components/button-group/button-group.js +5 -0
  71. package/dist/components/button-group/button-group.js.map +1 -0
  72. package/dist/components/button-group/button-group.styles.d.ts +2 -0
  73. package/dist/components/button-group/button-group.styles.d.ts.map +1 -0
  74. package/dist/components/button-group/button-group.styles.js +33 -0
  75. package/dist/components/button-group/button-group.styles.js.map +1 -0
  76. package/dist/components/callout/callout.class.d.ts +39 -0
  77. package/dist/components/callout/callout.class.d.ts.map +1 -0
  78. package/dist/components/callout/callout.class.js +85 -0
  79. package/dist/components/callout/callout.class.js.map +1 -0
  80. package/dist/components/callout/callout.d.ts +2 -0
  81. package/dist/components/callout/callout.d.ts.map +1 -0
  82. package/dist/components/callout/callout.js +5 -0
  83. package/dist/components/callout/callout.js.map +1 -0
  84. package/dist/components/callout/callout.styles.d.ts +2 -0
  85. package/dist/components/callout/callout.styles.d.ts.map +1 -0
  86. package/dist/components/callout/callout.styles.js +16 -0
  87. package/dist/components/callout/callout.styles.js.map +1 -0
  88. package/dist/components/card/card.class.d.ts +3 -0
  89. package/dist/components/card/card.class.d.ts.map +1 -1
  90. package/dist/components/card/card.class.js +3 -0
  91. package/dist/components/card/card.class.js.map +1 -1
  92. package/dist/components/card/card.styles.d.ts.map +1 -1
  93. package/dist/components/card/card.styles.js +7 -0
  94. package/dist/components/card/card.styles.js.map +1 -1
  95. package/dist/components/carousel/carousel-item.class.d.ts +21 -0
  96. package/dist/components/carousel/carousel-item.class.d.ts.map +1 -0
  97. package/dist/components/carousel/carousel-item.class.js +19 -0
  98. package/dist/components/carousel/carousel-item.class.js.map +1 -0
  99. package/dist/components/carousel/carousel-item.d.ts +2 -0
  100. package/dist/components/carousel/carousel-item.d.ts.map +1 -0
  101. package/dist/components/carousel/carousel-item.js +5 -0
  102. package/dist/components/carousel/carousel-item.js.map +1 -0
  103. package/dist/components/carousel/carousel-item.styles.d.ts +2 -0
  104. package/dist/components/carousel/carousel-item.styles.d.ts.map +1 -0
  105. package/dist/components/carousel/carousel-item.styles.js +12 -0
  106. package/dist/components/carousel/carousel-item.styles.js.map +1 -0
  107. package/dist/components/carousel/carousel.class.d.ts +61 -0
  108. package/dist/components/carousel/carousel.class.d.ts.map +1 -0
  109. package/dist/components/carousel/carousel.class.js +223 -0
  110. package/dist/components/carousel/carousel.class.js.map +1 -0
  111. package/dist/components/carousel/carousel.d.ts +3 -0
  112. package/dist/components/carousel/carousel.d.ts.map +1 -0
  113. package/dist/components/carousel/carousel.js +5 -0
  114. package/dist/components/carousel/carousel.js.map +1 -0
  115. package/dist/components/carousel/carousel.styles.d.ts +2 -0
  116. package/dist/components/carousel/carousel.styles.d.ts.map +1 -0
  117. package/dist/components/carousel/carousel.styles.js +81 -0
  118. package/dist/components/carousel/carousel.styles.js.map +1 -0
  119. package/dist/components/chart/box-plot.class.d.ts +4 -1
  120. package/dist/components/chart/box-plot.class.d.ts.map +1 -1
  121. package/dist/components/chart/box-plot.class.js +28 -8
  122. package/dist/components/chart/box-plot.class.js.map +1 -1
  123. package/dist/components/chart/box-plot.styles.d.ts.map +1 -1
  124. package/dist/components/chart/box-plot.styles.js +2 -0
  125. package/dist/components/chart/box-plot.styles.js.map +1 -1
  126. package/dist/components/chart/chart.class.d.ts +3 -1
  127. package/dist/components/chart/chart.class.d.ts.map +1 -1
  128. package/dist/components/chart/chart.class.js +17 -6
  129. package/dist/components/chart/chart.class.js.map +1 -1
  130. package/dist/components/chart/chart.styles.d.ts.map +1 -1
  131. package/dist/components/chart/chart.styles.js +2 -0
  132. package/dist/components/chart/chart.styles.js.map +1 -1
  133. package/dist/components/chart/histogram.class.d.ts +2 -0
  134. package/dist/components/chart/histogram.class.d.ts.map +1 -1
  135. package/dist/components/chart/histogram.class.js +6 -0
  136. package/dist/components/chart/histogram.class.js.map +1 -1
  137. package/dist/components/chart/lite-chart.class.d.ts +5 -5
  138. package/dist/components/chart/lite-chart.class.d.ts.map +1 -1
  139. package/dist/components/chart/lite-chart.class.js +35 -9
  140. package/dist/components/chart/lite-chart.class.js.map +1 -1
  141. package/dist/components/chart/lite-chart.styles.d.ts.map +1 -1
  142. package/dist/components/chart/lite-chart.styles.js +5 -0
  143. package/dist/components/chart/lite-chart.styles.js.map +1 -1
  144. package/dist/components/chat-composer/chat-composer.class.d.ts +28 -3
  145. package/dist/components/chat-composer/chat-composer.class.d.ts.map +1 -1
  146. package/dist/components/chat-composer/chat-composer.class.js +82 -4
  147. package/dist/components/chat-composer/chat-composer.class.js.map +1 -1
  148. package/dist/components/chat-message/chat-message.class.d.ts +3 -0
  149. package/dist/components/chat-message/chat-message.class.d.ts.map +1 -1
  150. package/dist/components/chat-message/chat-message.class.js +8 -6
  151. package/dist/components/chat-message/chat-message.class.js.map +1 -1
  152. package/dist/components/chat-message/chat-message.styles.d.ts.map +1 -1
  153. package/dist/components/chat-message/chat-message.styles.js +2 -1
  154. package/dist/components/chat-message/chat-message.styles.js.map +1 -1
  155. package/dist/components/checkbox/checkbox.class.d.ts +15 -2
  156. package/dist/components/checkbox/checkbox.class.d.ts.map +1 -1
  157. package/dist/components/checkbox/checkbox.class.js +28 -8
  158. package/dist/components/checkbox/checkbox.class.js.map +1 -1
  159. package/dist/components/chip/chip-group.class.d.ts +3 -3
  160. package/dist/components/chip/chip-group.class.d.ts.map +1 -1
  161. package/dist/components/chip/chip-group.class.js +3 -1
  162. package/dist/components/chip/chip-group.class.js.map +1 -1
  163. package/dist/components/citation-badge/citation-badge.class.d.ts +4 -1
  164. package/dist/components/citation-badge/citation-badge.class.d.ts.map +1 -1
  165. package/dist/components/citation-badge/citation-badge.class.js +8 -3
  166. package/dist/components/citation-badge/citation-badge.class.js.map +1 -1
  167. package/dist/components/code-block/code-block-core.class.d.ts +7 -1
  168. package/dist/components/code-block/code-block-core.class.d.ts.map +1 -1
  169. package/dist/components/code-block/code-block-core.class.js +11 -2
  170. package/dist/components/code-block/code-block-core.class.js.map +1 -1
  171. package/dist/components/code-block/code-block.class.d.ts +9 -0
  172. package/dist/components/code-block/code-block.class.d.ts.map +1 -1
  173. package/dist/components/code-block/code-block.class.js +13 -1
  174. package/dist/components/code-block/code-block.class.js.map +1 -1
  175. package/dist/components/color-picker/color-picker.class.d.ts +46 -0
  176. package/dist/components/color-picker/color-picker.class.d.ts.map +1 -0
  177. package/dist/components/color-picker/color-picker.class.js +81 -0
  178. package/dist/components/color-picker/color-picker.class.js.map +1 -0
  179. package/dist/components/color-picker/color-picker.d.ts +2 -0
  180. package/dist/components/color-picker/color-picker.d.ts.map +1 -0
  181. package/dist/components/color-picker/color-picker.js +5 -0
  182. package/dist/components/color-picker/color-picker.js.map +1 -0
  183. package/dist/components/color-picker/color-picker.styles.d.ts +2 -0
  184. package/dist/components/color-picker/color-picker.styles.d.ts.map +1 -0
  185. package/dist/components/color-picker/color-picker.styles.js +9 -0
  186. package/dist/components/color-picker/color-picker.styles.js.map +1 -0
  187. package/dist/components/combobox/combobox.class.d.ts +36 -0
  188. package/dist/components/combobox/combobox.class.d.ts.map +1 -1
  189. package/dist/components/combobox/combobox.class.js +111 -4
  190. package/dist/components/combobox/combobox.class.js.map +1 -1
  191. package/dist/components/combobox/option.class.d.ts.map +1 -1
  192. package/dist/components/combobox/option.class.js +3 -9
  193. package/dist/components/combobox/option.class.js.map +1 -1
  194. package/dist/components/combobox/option.styles.d.ts +2 -0
  195. package/dist/components/combobox/option.styles.d.ts.map +1 -0
  196. package/dist/components/combobox/option.styles.js +7 -0
  197. package/dist/components/combobox/option.styles.js.map +1 -0
  198. package/dist/components/context-meter/context-meter.class.d.ts +2 -0
  199. package/dist/components/context-meter/context-meter.class.d.ts.map +1 -1
  200. package/dist/components/context-meter/context-meter.class.js +18 -7
  201. package/dist/components/context-meter/context-meter.class.js.map +1 -1
  202. package/dist/components/context-meter/context-meter.styles.d.ts.map +1 -1
  203. package/dist/components/context-meter/context-meter.styles.js +3 -0
  204. package/dist/components/context-meter/context-meter.styles.js.map +1 -1
  205. package/dist/components/conversation-item/conversation-item.class.d.ts +5 -4
  206. package/dist/components/conversation-item/conversation-item.class.d.ts.map +1 -1
  207. package/dist/components/conversation-item/conversation-item.class.js +2 -0
  208. package/dist/components/conversation-item/conversation-item.class.js.map +1 -1
  209. package/dist/components/copy-button/copy-button.class.d.ts +10 -0
  210. package/dist/components/copy-button/copy-button.class.d.ts.map +1 -1
  211. package/dist/components/copy-button/copy-button.class.js +35 -4
  212. package/dist/components/copy-button/copy-button.class.js.map +1 -1
  213. package/dist/components/copy-button/copy-button.styles.d.ts.map +1 -1
  214. package/dist/components/copy-button/copy-button.styles.js +5 -1
  215. package/dist/components/copy-button/copy-button.styles.js.map +1 -1
  216. package/dist/components/date-picker/date-input.styles.d.ts.map +1 -1
  217. package/dist/components/date-picker/date-input.styles.js +4 -0
  218. package/dist/components/date-picker/date-input.styles.js.map +1 -1
  219. package/dist/components/details/accordion-item.class.d.ts +10 -0
  220. package/dist/components/details/accordion-item.class.d.ts.map +1 -0
  221. package/dist/components/details/accordion-item.class.js +5 -0
  222. package/dist/components/details/accordion-item.class.js.map +1 -0
  223. package/dist/components/details/accordion-item.d.ts +2 -0
  224. package/dist/components/details/accordion-item.d.ts.map +1 -0
  225. package/dist/components/details/accordion-item.js +5 -0
  226. package/dist/components/details/accordion-item.js.map +1 -0
  227. package/dist/components/details/accordion.class.d.ts +23 -0
  228. package/dist/components/details/accordion.class.d.ts.map +1 -0
  229. package/dist/components/details/accordion.class.js +48 -0
  230. package/dist/components/details/accordion.class.js.map +1 -0
  231. package/dist/components/details/accordion.d.ts +2 -0
  232. package/dist/components/details/accordion.d.ts.map +1 -0
  233. package/dist/components/details/accordion.js +5 -0
  234. package/dist/components/details/accordion.js.map +1 -0
  235. package/dist/components/details/details.class.d.ts +33 -0
  236. package/dist/components/details/details.class.d.ts.map +1 -0
  237. package/dist/components/details/details.class.js +63 -0
  238. package/dist/components/details/details.class.js.map +1 -0
  239. package/dist/components/details/details.d.ts +2 -0
  240. package/dist/components/details/details.d.ts.map +1 -0
  241. package/dist/components/details/details.js +5 -0
  242. package/dist/components/details/details.js.map +1 -0
  243. package/dist/components/details/details.styles.d.ts +2 -0
  244. package/dist/components/details/details.styles.d.ts.map +1 -0
  245. package/dist/components/details/details.styles.js +13 -0
  246. package/dist/components/details/details.styles.js.map +1 -0
  247. package/dist/components/diff-view/diff-view.styles.d.ts.map +1 -1
  248. package/dist/components/diff-view/diff-view.styles.js +3 -0
  249. package/dist/components/diff-view/diff-view.styles.js.map +1 -1
  250. package/dist/components/divider/divider.class.d.ts +20 -0
  251. package/dist/components/divider/divider.class.d.ts.map +1 -0
  252. package/dist/components/divider/divider.class.js +28 -0
  253. package/dist/components/divider/divider.class.js.map +1 -0
  254. package/dist/components/divider/divider.d.ts +2 -0
  255. package/dist/components/divider/divider.d.ts.map +1 -0
  256. package/dist/components/divider/divider.js +5 -0
  257. package/dist/components/divider/divider.js.map +1 -0
  258. package/dist/components/divider/divider.styles.d.ts +2 -0
  259. package/dist/components/divider/divider.styles.d.ts.map +1 -0
  260. package/dist/components/divider/divider.styles.js +8 -0
  261. package/dist/components/divider/divider.styles.js.map +1 -0
  262. package/dist/components/document-preview/document-preview.class.d.ts +14 -2
  263. package/dist/components/document-preview/document-preview.class.d.ts.map +1 -1
  264. package/dist/components/document-preview/document-preview.class.js +45 -6
  265. package/dist/components/document-preview/document-preview.class.js.map +1 -1
  266. package/dist/components/document-preview/document-preview.styles.js +1 -1
  267. package/dist/components/drawer/drawer.class.d.ts +26 -0
  268. package/dist/components/drawer/drawer.class.d.ts.map +1 -0
  269. package/dist/components/drawer/drawer.class.js +34 -0
  270. package/dist/components/drawer/drawer.class.js.map +1 -0
  271. package/dist/components/drawer/drawer.d.ts +3 -0
  272. package/dist/components/drawer/drawer.d.ts.map +1 -0
  273. package/dist/components/drawer/drawer.js +5 -0
  274. package/dist/components/drawer/drawer.js.map +1 -0
  275. package/dist/components/drawer/drawer.styles.d.ts +2 -0
  276. package/dist/components/drawer/drawer.styles.d.ts.map +1 -0
  277. package/dist/components/drawer/drawer.styles.js +73 -0
  278. package/dist/components/drawer/drawer.styles.js.map +1 -0
  279. package/dist/components/export-button/export-button.class.d.ts +9 -2
  280. package/dist/components/export-button/export-button.class.d.ts.map +1 -1
  281. package/dist/components/export-button/export-button.class.js +21 -3
  282. package/dist/components/export-button/export-button.class.js.map +1 -1
  283. package/dist/components/export-button/export-button.styles.d.ts.map +1 -1
  284. package/dist/components/export-button/export-button.styles.js +21 -2
  285. package/dist/components/export-button/export-button.styles.js.map +1 -1
  286. package/dist/components/file-input/file-input.class.d.ts +9 -3
  287. package/dist/components/file-input/file-input.class.d.ts.map +1 -1
  288. package/dist/components/file-input/file-input.class.js +23 -8
  289. package/dist/components/file-input/file-input.class.js.map +1 -1
  290. package/dist/components/flag/flag.class.d.ts +7 -1
  291. package/dist/components/flag/flag.class.d.ts.map +1 -1
  292. package/dist/components/flag/flag.class.js +11 -3
  293. package/dist/components/flag/flag.class.js.map +1 -1
  294. package/dist/components/flag/flag.styles.js +2 -2
  295. package/dist/components/format/format-bytes.class.d.ts +21 -0
  296. package/dist/components/format/format-bytes.class.d.ts.map +1 -0
  297. package/dist/components/format/format-bytes.class.js +46 -0
  298. package/dist/components/format/format-bytes.class.js.map +1 -0
  299. package/dist/components/format/format-bytes.d.ts +2 -0
  300. package/dist/components/format/format-bytes.d.ts.map +1 -0
  301. package/dist/components/format/format-bytes.js +5 -0
  302. package/dist/components/format/format-bytes.js.map +1 -0
  303. package/dist/components/format/format-date.class.d.ts +25 -0
  304. package/dist/components/format/format-date.class.d.ts.map +1 -0
  305. package/dist/components/format/format-date.class.js +59 -0
  306. package/dist/components/format/format-date.class.js.map +1 -0
  307. package/dist/components/format/format-date.d.ts +2 -0
  308. package/dist/components/format/format-date.d.ts.map +1 -0
  309. package/dist/components/format/format-date.js +5 -0
  310. package/dist/components/format/format-date.js.map +1 -0
  311. package/dist/components/format/format-number.class.d.ts +24 -0
  312. package/dist/components/format/format-number.class.d.ts.map +1 -0
  313. package/dist/components/format/format-number.class.js +58 -0
  314. package/dist/components/format/format-number.class.js.map +1 -0
  315. package/dist/components/format/format-number.d.ts +2 -0
  316. package/dist/components/format/format-number.d.ts.map +1 -0
  317. package/dist/components/format/format-number.js +5 -0
  318. package/dist/components/format/format-number.js.map +1 -0
  319. package/dist/components/format/format.styles.d.ts +2 -0
  320. package/dist/components/format/format.styles.d.ts.map +1 -0
  321. package/dist/components/format/format.styles.js +3 -0
  322. package/dist/components/format/format.styles.js.map +1 -0
  323. package/dist/components/format/relative-time.class.d.ts +29 -0
  324. package/dist/components/format/relative-time.class.d.ts.map +1 -0
  325. package/dist/components/format/relative-time.class.js +62 -0
  326. package/dist/components/format/relative-time.class.js.map +1 -0
  327. package/dist/components/format/relative-time.d.ts +2 -0
  328. package/dist/components/format/relative-time.d.ts.map +1 -0
  329. package/dist/components/format/relative-time.js +5 -0
  330. package/dist/components/format/relative-time.js.map +1 -0
  331. package/dist/components/generation-status/generation-status.class.d.ts.map +1 -1
  332. package/dist/components/generation-status/generation-status.class.js +35 -27
  333. package/dist/components/generation-status/generation-status.class.js.map +1 -1
  334. package/dist/components/graph/graph.class.d.ts +1 -0
  335. package/dist/components/graph/graph.class.d.ts.map +1 -1
  336. package/dist/components/graph/graph.class.js +11 -3
  337. package/dist/components/graph/graph.class.js.map +1 -1
  338. package/dist/components/heatmap/calendar-grid.d.ts +7 -1
  339. package/dist/components/heatmap/calendar-grid.d.ts.map +1 -1
  340. package/dist/components/heatmap/calendar-grid.js +9 -2
  341. package/dist/components/heatmap/calendar-grid.js.map +1 -1
  342. package/dist/components/heatmap/heatmap.class.d.ts +9 -0
  343. package/dist/components/heatmap/heatmap.class.d.ts.map +1 -1
  344. package/dist/components/heatmap/heatmap.class.js +33 -12
  345. package/dist/components/heatmap/heatmap.class.js.map +1 -1
  346. package/dist/components/heatmap/heatmap.styles.d.ts.map +1 -1
  347. package/dist/components/heatmap/heatmap.styles.js +6 -0
  348. package/dist/components/heatmap/heatmap.styles.js.map +1 -1
  349. package/dist/components/image-comparer/image-comparer.class.d.ts +43 -0
  350. package/dist/components/image-comparer/image-comparer.class.d.ts.map +1 -0
  351. package/dist/components/image-comparer/image-comparer.class.js +92 -0
  352. package/dist/components/image-comparer/image-comparer.class.js.map +1 -0
  353. package/dist/components/image-comparer/image-comparer.d.ts +3 -0
  354. package/dist/components/image-comparer/image-comparer.d.ts.map +1 -0
  355. package/dist/components/image-comparer/image-comparer.js +5 -0
  356. package/dist/components/image-comparer/image-comparer.js.map +1 -0
  357. package/dist/components/image-comparer/image-comparer.styles.d.ts +2 -0
  358. package/dist/components/image-comparer/image-comparer.styles.d.ts.map +1 -0
  359. package/dist/components/image-comparer/image-comparer.styles.js +70 -0
  360. package/dist/components/image-comparer/image-comparer.styles.js.map +1 -0
  361. package/dist/components/input/input.class.d.ts +12 -3
  362. package/dist/components/input/input.class.d.ts.map +1 -1
  363. package/dist/components/input/input.class.js +35 -2
  364. package/dist/components/input/input.class.js.map +1 -1
  365. package/dist/components/input/input.styles.d.ts.map +1 -1
  366. package/dist/components/input/input.styles.js +3 -0
  367. package/dist/components/input/input.styles.js.map +1 -1
  368. package/dist/components/input/number-input.class.d.ts +17 -0
  369. package/dist/components/input/number-input.class.d.ts.map +1 -0
  370. package/dist/components/input/number-input.class.js +18 -0
  371. package/dist/components/input/number-input.class.js.map +1 -0
  372. package/dist/components/input/number-input.d.ts +2 -0
  373. package/dist/components/input/number-input.d.ts.map +1 -0
  374. package/dist/components/input/number-input.js +5 -0
  375. package/dist/components/input/number-input.js.map +1 -0
  376. package/dist/components/input/time-input.class.d.ts +16 -0
  377. package/dist/components/input/time-input.class.d.ts.map +1 -0
  378. package/dist/components/input/time-input.class.js +17 -0
  379. package/dist/components/input/time-input.class.js.map +1 -0
  380. package/dist/components/input/time-input.d.ts +2 -0
  381. package/dist/components/input/time-input.d.ts.map +1 -0
  382. package/dist/components/input/time-input.js +5 -0
  383. package/dist/components/input/time-input.js.map +1 -0
  384. package/dist/components/intersection-observer/intersection-observer.class.d.ts +37 -0
  385. package/dist/components/intersection-observer/intersection-observer.class.d.ts.map +1 -0
  386. package/dist/components/intersection-observer/intersection-observer.class.js +77 -0
  387. package/dist/components/intersection-observer/intersection-observer.class.js.map +1 -0
  388. package/dist/components/intersection-observer/intersection-observer.d.ts +2 -0
  389. package/dist/components/intersection-observer/intersection-observer.d.ts.map +1 -0
  390. package/dist/components/intersection-observer/intersection-observer.js +5 -0
  391. package/dist/components/intersection-observer/intersection-observer.js.map +1 -0
  392. package/dist/components/intersection-observer/intersection-observer.styles.d.ts +2 -0
  393. package/dist/components/intersection-observer/intersection-observer.styles.d.ts.map +1 -0
  394. package/dist/components/intersection-observer/intersection-observer.styles.js +8 -0
  395. package/dist/components/intersection-observer/intersection-observer.styles.js.map +1 -0
  396. package/dist/components/json-viewer/json-viewer.class.js +1 -1
  397. package/dist/components/json-viewer/json-viewer.class.js.map +1 -1
  398. package/dist/components/json-viewer/json-viewer.styles.d.ts.map +1 -1
  399. package/dist/components/json-viewer/json-viewer.styles.js +7 -0
  400. package/dist/components/json-viewer/json-viewer.styles.js.map +1 -1
  401. package/dist/components/map/map.class.d.ts +3 -5
  402. package/dist/components/map/map.class.d.ts.map +1 -1
  403. package/dist/components/map/map.class.js +8 -6
  404. package/dist/components/map/map.class.js.map +1 -1
  405. package/dist/components/markdown/markdown.class.d.ts +5 -5
  406. package/dist/components/markdown/markdown.class.d.ts.map +1 -1
  407. package/dist/components/markdown/markdown.class.js +6 -6
  408. package/dist/components/markdown/markdown.class.js.map +1 -1
  409. package/dist/components/markdown/markdown.styles.d.ts.map +1 -1
  410. package/dist/components/markdown/markdown.styles.js +11 -4
  411. package/dist/components/markdown/markdown.styles.js.map +1 -1
  412. package/dist/components/media-card/media-card.class.d.ts +12 -1
  413. package/dist/components/media-card/media-card.class.d.ts.map +1 -1
  414. package/dist/components/media-card/media-card.class.js +27 -7
  415. package/dist/components/media-card/media-card.class.js.map +1 -1
  416. package/dist/components/mention-popover/mention-popover.styles.d.ts.map +1 -1
  417. package/dist/components/mention-popover/mention-popover.styles.js +2 -0
  418. package/dist/components/mention-popover/mention-popover.styles.js.map +1 -1
  419. package/dist/components/menu/dropdown-item.class.d.ts +18 -0
  420. package/dist/components/menu/dropdown-item.class.d.ts.map +1 -0
  421. package/dist/components/menu/dropdown-item.class.js +13 -0
  422. package/dist/components/menu/dropdown-item.class.js.map +1 -0
  423. package/dist/components/menu/dropdown-item.d.ts +2 -0
  424. package/dist/components/menu/dropdown-item.d.ts.map +1 -0
  425. package/dist/components/menu/dropdown-item.js +5 -0
  426. package/dist/components/menu/dropdown-item.js.map +1 -0
  427. package/dist/components/mutation-observer/mutation-observer.class.d.ts +40 -0
  428. package/dist/components/mutation-observer/mutation-observer.class.d.ts.map +1 -0
  429. package/dist/components/mutation-observer/mutation-observer.class.js +96 -0
  430. package/dist/components/mutation-observer/mutation-observer.class.js.map +1 -0
  431. package/dist/components/mutation-observer/mutation-observer.d.ts +2 -0
  432. package/dist/components/mutation-observer/mutation-observer.d.ts.map +1 -0
  433. package/dist/components/mutation-observer/mutation-observer.js +5 -0
  434. package/dist/components/mutation-observer/mutation-observer.js.map +1 -0
  435. package/dist/components/mutation-observer/mutation-observer.styles.d.ts +2 -0
  436. package/dist/components/mutation-observer/mutation-observer.styles.d.ts.map +1 -0
  437. package/dist/components/mutation-observer/mutation-observer.styles.js +8 -0
  438. package/dist/components/mutation-observer/mutation-observer.styles.js.map +1 -0
  439. package/dist/components/overlay/dropdown.class.d.ts +21 -0
  440. package/dist/components/overlay/dropdown.class.d.ts.map +1 -0
  441. package/dist/components/overlay/dropdown.class.js +18 -0
  442. package/dist/components/overlay/dropdown.class.js.map +1 -0
  443. package/dist/components/overlay/dropdown.d.ts +2 -0
  444. package/dist/components/overlay/dropdown.d.ts.map +1 -0
  445. package/dist/components/overlay/dropdown.js +5 -0
  446. package/dist/components/overlay/dropdown.js.map +1 -0
  447. package/dist/components/overlay/overlay.styles.d.ts +3 -0
  448. package/dist/components/overlay/overlay.styles.d.ts.map +1 -0
  449. package/dist/components/overlay/overlay.styles.js +29 -0
  450. package/dist/components/overlay/overlay.styles.js.map +1 -0
  451. package/dist/components/overlay/popover.class.d.ts +48 -0
  452. package/dist/components/overlay/popover.class.d.ts.map +1 -0
  453. package/dist/components/overlay/popover.class.js +132 -0
  454. package/dist/components/overlay/popover.class.js.map +1 -0
  455. package/dist/components/overlay/popover.d.ts +2 -0
  456. package/dist/components/overlay/popover.d.ts.map +1 -0
  457. package/dist/components/overlay/popover.js +5 -0
  458. package/dist/components/overlay/popover.js.map +1 -0
  459. package/dist/components/overlay/tooltip.class.d.ts +41 -0
  460. package/dist/components/overlay/tooltip.class.d.ts.map +1 -0
  461. package/dist/components/overlay/tooltip.class.js +118 -0
  462. package/dist/components/overlay/tooltip.class.js.map +1 -0
  463. package/dist/components/overlay/tooltip.d.ts +2 -0
  464. package/dist/components/overlay/tooltip.d.ts.map +1 -0
  465. package/dist/components/overlay/tooltip.js +5 -0
  466. package/dist/components/overlay/tooltip.js.map +1 -0
  467. package/dist/components/pagination/pagination.class.d.ts +11 -0
  468. package/dist/components/pagination/pagination.class.d.ts.map +1 -1
  469. package/dist/components/pagination/pagination.class.js +28 -1
  470. package/dist/components/pagination/pagination.class.js.map +1 -1
  471. package/dist/components/phone-input/phone-input.class.d.ts +16 -2
  472. package/dist/components/phone-input/phone-input.class.d.ts.map +1 -1
  473. package/dist/components/phone-input/phone-input.class.js +43 -2
  474. package/dist/components/phone-input/phone-input.class.js.map +1 -1
  475. package/dist/components/playback/playback.class.d.ts +11 -0
  476. package/dist/components/playback/playback.class.d.ts.map +1 -1
  477. package/dist/components/playback/playback.class.js +26 -1
  478. package/dist/components/playback/playback.class.js.map +1 -1
  479. package/dist/components/poll-status/poll-status.styles.d.ts.map +1 -1
  480. package/dist/components/poll-status/poll-status.styles.js +4 -0
  481. package/dist/components/poll-status/poll-status.styles.js.map +1 -1
  482. package/dist/components/progress/progress-bar.class.d.ts +30 -0
  483. package/dist/components/progress/progress-bar.class.d.ts.map +1 -0
  484. package/dist/components/progress/progress-bar.class.js +61 -0
  485. package/dist/components/progress/progress-bar.class.js.map +1 -0
  486. package/dist/components/progress/progress-bar.d.ts +2 -0
  487. package/dist/components/progress/progress-bar.d.ts.map +1 -0
  488. package/dist/components/progress/progress-bar.js +5 -0
  489. package/dist/components/progress/progress-bar.js.map +1 -0
  490. package/dist/components/progress/progress-ring.class.d.ts +27 -0
  491. package/dist/components/progress/progress-ring.class.d.ts.map +1 -0
  492. package/dist/components/progress/progress-ring.class.js +59 -0
  493. package/dist/components/progress/progress-ring.class.js.map +1 -0
  494. package/dist/components/progress/progress-ring.d.ts +2 -0
  495. package/dist/components/progress/progress-ring.d.ts.map +1 -0
  496. package/dist/components/progress/progress-ring.js +5 -0
  497. package/dist/components/progress/progress-ring.js.map +1 -0
  498. package/dist/components/progress/progress.styles.d.ts +3 -0
  499. package/dist/components/progress/progress.styles.d.ts.map +1 -0
  500. package/dist/components/progress/progress.styles.js +23 -0
  501. package/dist/components/progress/progress.styles.js.map +1 -0
  502. package/dist/components/radio/radio-group.class.d.ts +49 -0
  503. package/dist/components/radio/radio-group.class.d.ts.map +1 -0
  504. package/dist/components/radio/radio-group.class.js +137 -0
  505. package/dist/components/radio/radio-group.class.js.map +1 -0
  506. package/dist/components/radio/radio-group.d.ts +2 -0
  507. package/dist/components/radio/radio-group.d.ts.map +1 -0
  508. package/dist/components/radio/radio-group.js +5 -0
  509. package/dist/components/radio/radio-group.js.map +1 -0
  510. package/dist/components/radio/radio-group.styles.d.ts +2 -0
  511. package/dist/components/radio/radio-group.styles.d.ts.map +1 -0
  512. package/dist/components/radio/radio-group.styles.js +11 -0
  513. package/dist/components/radio/radio-group.styles.js.map +1 -0
  514. package/dist/components/radio/radio.class.d.ts +97 -0
  515. package/dist/components/radio/radio.class.d.ts.map +1 -0
  516. package/dist/components/radio/radio.class.js +159 -0
  517. package/dist/components/radio/radio.class.js.map +1 -0
  518. package/dist/components/radio/radio.d.ts +2 -0
  519. package/dist/components/radio/radio.d.ts.map +1 -0
  520. package/dist/components/radio/radio.js +5 -0
  521. package/dist/components/radio/radio.js.map +1 -0
  522. package/dist/components/radio/radio.styles.d.ts +2 -0
  523. package/dist/components/radio/radio.styles.d.ts.map +1 -0
  524. package/dist/components/radio/radio.styles.js +57 -0
  525. package/dist/components/radio/radio.styles.js.map +1 -0
  526. package/dist/components/rating/rating.class.d.ts +34 -0
  527. package/dist/components/rating/rating.class.d.ts.map +1 -0
  528. package/dist/components/rating/rating.class.js +92 -0
  529. package/dist/components/rating/rating.class.js.map +1 -0
  530. package/dist/components/rating/rating.d.ts +2 -0
  531. package/dist/components/rating/rating.d.ts.map +1 -0
  532. package/dist/components/rating/rating.js +5 -0
  533. package/dist/components/rating/rating.js.map +1 -0
  534. package/dist/components/rating/rating.styles.d.ts +2 -0
  535. package/dist/components/rating/rating.styles.d.ts.map +1 -0
  536. package/dist/components/rating/rating.styles.js +10 -0
  537. package/dist/components/rating/rating.styles.js.map +1 -0
  538. package/dist/components/resize-observer/resize-observer.class.d.ts +37 -0
  539. package/dist/components/resize-observer/resize-observer.class.d.ts.map +1 -0
  540. package/dist/components/resize-observer/resize-observer.class.js +74 -0
  541. package/dist/components/resize-observer/resize-observer.class.js.map +1 -0
  542. package/dist/components/resize-observer/resize-observer.d.ts +2 -0
  543. package/dist/components/resize-observer/resize-observer.d.ts.map +1 -0
  544. package/dist/components/resize-observer/resize-observer.js +5 -0
  545. package/dist/components/resize-observer/resize-observer.js.map +1 -0
  546. package/dist/components/resize-observer/resize-observer.styles.d.ts +2 -0
  547. package/dist/components/resize-observer/resize-observer.styles.d.ts.map +1 -0
  548. package/dist/components/resize-observer/resize-observer.styles.js +11 -0
  549. package/dist/components/resize-observer/resize-observer.styles.js.map +1 -0
  550. package/dist/components/scroller/scroller.class.d.ts +54 -0
  551. package/dist/components/scroller/scroller.class.d.ts.map +1 -0
  552. package/dist/components/scroller/scroller.class.js +138 -0
  553. package/dist/components/scroller/scroller.class.js.map +1 -0
  554. package/dist/components/scroller/scroller.d.ts +2 -0
  555. package/dist/components/scroller/scroller.d.ts.map +1 -0
  556. package/dist/components/scroller/scroller.js +5 -0
  557. package/dist/components/scroller/scroller.js.map +1 -0
  558. package/dist/components/scroller/scroller.styles.d.ts +2 -0
  559. package/dist/components/scroller/scroller.styles.d.ts.map +1 -0
  560. package/dist/components/scroller/scroller.styles.js +94 -0
  561. package/dist/components/scroller/scroller.styles.js.map +1 -0
  562. package/dist/components/segmented/segmented.styles.d.ts.map +1 -1
  563. package/dist/components/segmented/segmented.styles.js +3 -0
  564. package/dist/components/segmented/segmented.styles.js.map +1 -1
  565. package/dist/components/select/select.class.d.ts +10 -0
  566. package/dist/components/select/select.class.d.ts.map +1 -1
  567. package/dist/components/select/select.class.js +22 -2
  568. package/dist/components/select/select.class.js.map +1 -1
  569. package/dist/components/skeleton/skeleton.class.d.ts +5 -0
  570. package/dist/components/skeleton/skeleton.class.d.ts.map +1 -1
  571. package/dist/components/skeleton/skeleton.class.js +17 -2
  572. package/dist/components/skeleton/skeleton.class.js.map +1 -1
  573. package/dist/components/skeleton/skeleton.styles.js +2 -2
  574. package/dist/components/sparkline/sparkline.class.d.ts +3 -1
  575. package/dist/components/sparkline/sparkline.class.d.ts.map +1 -1
  576. package/dist/components/sparkline/sparkline.class.js +24 -8
  577. package/dist/components/sparkline/sparkline.class.js.map +1 -1
  578. package/dist/components/spinner/spinner.class.d.ts +24 -0
  579. package/dist/components/spinner/spinner.class.d.ts.map +1 -0
  580. package/dist/components/spinner/spinner.class.js +41 -0
  581. package/dist/components/spinner/spinner.class.js.map +1 -0
  582. package/dist/components/spinner/spinner.d.ts +2 -0
  583. package/dist/components/spinner/spinner.d.ts.map +1 -0
  584. package/dist/components/spinner/spinner.js +5 -0
  585. package/dist/components/spinner/spinner.js.map +1 -0
  586. package/dist/components/spinner/spinner.styles.d.ts +2 -0
  587. package/dist/components/spinner/spinner.styles.d.ts.map +1 -0
  588. package/dist/components/spinner/spinner.styles.js +17 -0
  589. package/dist/components/spinner/spinner.styles.js.map +1 -0
  590. package/dist/components/stepper/stepper.styles.d.ts.map +1 -1
  591. package/dist/components/stepper/stepper.styles.js +4 -0
  592. package/dist/components/stepper/stepper.styles.js.map +1 -1
  593. package/dist/components/table/table.class.d.ts +134 -0
  594. package/dist/components/table/table.class.d.ts.map +1 -1
  595. package/dist/components/table/table.class.js +446 -80
  596. package/dist/components/table/table.class.js.map +1 -1
  597. package/dist/components/table/table.styles.d.ts.map +1 -1
  598. package/dist/components/table/table.styles.js +95 -0
  599. package/dist/components/table/table.styles.js.map +1 -1
  600. package/dist/components/textarea/textarea.class.d.ts +6 -2
  601. package/dist/components/textarea/textarea.class.d.ts.map +1 -1
  602. package/dist/components/textarea/textarea.class.js +6 -2
  603. package/dist/components/textarea/textarea.class.js.map +1 -1
  604. package/dist/components/tool-call-chip/tool-call-chip.class.d.ts +8 -1
  605. package/dist/components/tool-call-chip/tool-call-chip.class.d.ts.map +1 -1
  606. package/dist/components/tool-call-chip/tool-call-chip.class.js +19 -16
  607. package/dist/components/tool-call-chip/tool-call-chip.class.js.map +1 -1
  608. package/dist/components/tool-call-chip/tool-call-chip.styles.d.ts.map +1 -1
  609. package/dist/components/tool-call-chip/tool-call-chip.styles.js +3 -2
  610. package/dist/components/tool-call-chip/tool-call-chip.styles.js.map +1 -1
  611. package/dist/components/tool-result-dialog/tool-result-dialog.class.d.ts +12 -1
  612. package/dist/components/tool-result-dialog/tool-result-dialog.class.d.ts.map +1 -1
  613. package/dist/components/tool-result-dialog/tool-result-dialog.class.js +25 -11
  614. package/dist/components/tool-result-dialog/tool-result-dialog.class.js.map +1 -1
  615. package/dist/components/tool-result-dialog/tool-result-dialog.styles.d.ts.map +1 -1
  616. package/dist/components/tool-result-dialog/tool-result-dialog.styles.js +3 -1
  617. package/dist/components/tool-result-dialog/tool-result-dialog.styles.js.map +1 -1
  618. package/dist/components/zoomable-frame/zoomable-frame.class.d.ts +48 -0
  619. package/dist/components/zoomable-frame/zoomable-frame.class.d.ts.map +1 -0
  620. package/dist/components/zoomable-frame/zoomable-frame.class.js +115 -0
  621. package/dist/components/zoomable-frame/zoomable-frame.class.js.map +1 -0
  622. package/dist/components/zoomable-frame/zoomable-frame.d.ts +3 -0
  623. package/dist/components/zoomable-frame/zoomable-frame.d.ts.map +1 -0
  624. package/dist/components/zoomable-frame/zoomable-frame.js +5 -0
  625. package/dist/components/zoomable-frame/zoomable-frame.js.map +1 -0
  626. package/dist/components/zoomable-frame/zoomable-frame.styles.d.ts +2 -0
  627. package/dist/components/zoomable-frame/zoomable-frame.styles.d.ts.map +1 -0
  628. package/dist/components/zoomable-frame/zoomable-frame.styles.js +77 -0
  629. package/dist/components/zoomable-frame/zoomable-frame.styles.js.map +1 -0
  630. package/dist/internal/localization.d.ts +1 -1
  631. package/dist/internal/localization.d.ts.map +1 -1
  632. package/dist/internal/localization.js +46 -0
  633. package/dist/internal/localization.js.map +1 -1
  634. package/dist/internal/root-registration-allowlist.d.ts +1 -1
  635. package/dist/internal/root-registration-allowlist.d.ts.map +1 -1
  636. package/dist/internal/root-registration-allowlist.js +36 -0
  637. package/dist/internal/root-registration-allowlist.js.map +1 -1
  638. package/dist/internal/tokens.styles.d.ts.map +1 -1
  639. package/dist/internal/tokens.styles.js +17 -0
  640. package/dist/internal/tokens.styles.js.map +1 -1
  641. package/dist/lyra.d.ts +97 -4
  642. package/dist/lyra.d.ts.map +1 -1
  643. package/dist/lyra.js +72 -0
  644. package/dist/lyra.js.map +1 -1
  645. package/dist/testing/happy-dom-shims.d.ts +5 -1
  646. package/dist/testing/happy-dom-shims.d.ts.map +1 -1
  647. package/dist/testing/happy-dom-shims.js +7 -1
  648. package/dist/testing/happy-dom-shims.js.map +1 -1
  649. package/llms-full.txt +643 -82
  650. package/llms.txt +13 -0
  651. package/package.json +73 -1
@@ -13,6 +13,8 @@ import { isRtl } from '../../internal/rtl.js';
13
13
  import { styles } from './table.styles.js';
14
14
  import { chevronIcon } from '../../internal/icons.js';
15
15
  import '../empty/empty.class.js';
16
+ import '../pagination/pagination.js';
17
+ import '../spinner/spinner.js';
16
18
  /** Interactive elements a nested `cell()` template may render (e.g. an
17
19
  * actions-column button). Clicks/keydowns landing on one of these — or
18
20
  * bubbling up through one — must not be re-interpreted as row/column
@@ -92,6 +94,35 @@ function closestInteractive(target, boundary) {
92
94
  * header/cells to the inline-start (default/`true`) or inline-end (`'end'`)
93
95
  * edge while the table scrolls horizontally.
94
96
  *
97
+ * `expandedContent` (a table-level `(row: T) => unknown`, not a per-column
98
+ * hook, since the resulting panel spans every column via `colspan`) makes
99
+ * every row render a leading chevron-toggle cell before its data columns.
100
+ * `canExpand` optionally gates which rows actually get an interactive
101
+ * toggle — a row that fails it still gets a blank leading cell for column
102
+ * alignment. Which rows are currently open is fully consumer-owned via
103
+ * `expandedKeys` (a `Set<string | number>` of row keys, per `rowKey`/
104
+ * `keyOf()`) — the table only reads it and emits `lyra-row-expand-toggle`
105
+ * on activation, mirroring `sortKey`/`selectedKey`'s existing
106
+ * presentational-only convention.
107
+ *
108
+ * Selection is opt-in through the `selectionMode` property. Use `single` or
109
+ * `multiple` to self-manage row selection; the default `none` remains
110
+ * presentational. `selectedKeys` contains the raw keys selected in multiple
111
+ * mode.
112
+ *
113
+ * `filterable` adds a compact search field above the grid. `filterText` is
114
+ * controlled and emits `lyra-filter-change`; `filter` can provide a typed
115
+ * predicate, otherwise the row is matched against its JSON representation.
116
+ * `pageSize` enables controlled pagination through the existing
117
+ * `<lyra-pagination>` primitive. Client mode slices `rows`; server mode
118
+ * renders the supplied page unchanged while using `totalItems` for the
119
+ * navigation summary. `loading` keeps the table shell busy and renders an
120
+ * indeterminate spinner.
121
+ * Columns with `editable: true` open a native text/number editor on
122
+ * double-click and emit `lyra-cell-edit`; row mutation remains consumer-owned.
123
+ * `groupBy` inserts non-focusable group header rows before each group; use
124
+ * `groupLabel` when the raw group key needs custom content.
125
+ *
95
126
  * @customElement lyra-table
96
127
  * @event lyra-sort - A sortable header was activated. `detail: { key }`.
97
128
  * @event lyra-row-click - A row was activated. `detail: { row }`.
@@ -102,6 +133,14 @@ function closestInteractive(target, boundary) {
102
133
  * `priority` column was hidden). `detail: { hidden: boolean }`.
103
134
  * @event lyra-columns-revealed - `showAllColumns` was toggled by
104
135
  * `[part='reveal-columns-button']`. `detail: { revealed: boolean }`.
136
+ * @event lyra-row-expand-toggle - The row-expand chevron was activated.
137
+ * `detail: { row, key }`. Fired only when `expandedContent` is set and
138
+ * the row passes `canExpand`; does not itself mutate `expandedKeys` — the
139
+ * consumer updates it and passes the new value back in.
140
+ * @event lyra-selection-change - Opt-in row selection changed. `detail: { keys }`.
141
+ * @event lyra-filter-change - The filter field changed. `detail: { text }`.
142
+ * @event lyra-page-change - A pagination control requested a page. `detail: { page }`.
143
+ * @event lyra-cell-edit - An inline editor committed a value. `detail: { row, key, value }`.
105
144
  * @csspart base - The root wrapper around the `<table>` and its footer controls.
106
145
  * @csspart table - The `<table role="grid">` element.
107
146
  * @csspart head - The `<thead>` element.
@@ -111,9 +150,26 @@ function closestInteractive(target, boundary) {
111
150
  * @csspart foot - The `<tfoot>`, only rendered when at least one column defines `footer`.
112
151
  * @csspart footer-row - The single footer row.
113
152
  * @csspart footer-cell - A single footer cell.
153
+ * @csspart cell-editor - The native inline cell editor, shown after a double-click on an editable cell.
154
+ * @csspart group-row - A non-focusable group header row.
155
+ * @csspart group-cell - The group header cell.
114
156
  * @csspart more-button - The "load more" control, shown when `hasMore` is true.
115
157
  * @csspart sort-icon - The chevron shown in the active sortable column's header cell.
116
158
  * @csspart reveal-columns-button - The button that toggles `priority`-hidden columns back into view.
159
+ * @csspart expand-toggle-cell - Each row's (and the header's) leading
160
+ * chevron-toggle cell, rendered only when `expandedContent` is set.
161
+ * @csspart row-expand-toggle - The `<button>` inside `expand-toggle-cell`,
162
+ * absent for a row that fails `canExpand`.
163
+ * @csspart row-expand-icon - The chevron icon inside `row-expand-toggle`.
164
+ * @csspart expanded-row - The full-width panel `<tr>` rendered beneath a
165
+ * row whose key is in `expandedKeys`.
166
+ * @csspart expanded-cell - The single `colspan`-spanning `<td>` inside
167
+ * `expanded-row`, containing `expandedContent(row)`.
168
+ * @csspart group-row - A non-focusable group header row.
169
+ * @csspart group-cell - The full-width group header cell.
170
+ * @csspart filter - The optional row-filter input.
171
+ * @csspart loading - The loading-state wrapper.
172
+ * @csspart pagination - The optional pagination component.
117
173
  */
118
174
  export class LyraTable extends LyraElement {
119
175
  constructor() {
@@ -123,6 +179,27 @@ export class LyraTable extends LyraElement {
123
179
  this.sortKey = '';
124
180
  this.sortDir = 'asc';
125
181
  this.selectedKey = null;
182
+ this.selectionMode = 'none';
183
+ this.selectedKeys = new Set();
184
+ this.filterable = false;
185
+ this.filterText = '';
186
+ this.filterLabel = '';
187
+ this.filterPlaceholder = '';
188
+ this.loading = false;
189
+ this.loadingLabel = '';
190
+ /** Set to a positive value to enable the controlled pagination footer. */
191
+ this.pageSize = 0;
192
+ /** Controlled current page used when `pageSize` is positive. */
193
+ this.page = 1;
194
+ /** Total item count for server pagination; `-1` derives it from filtered rows. */
195
+ this.totalItems = -1;
196
+ this.paginationMode = 'client';
197
+ /** Consumer-owned open/closed state, keyed the same way as `rowKey`/
198
+ * `selectedKey`. The table never mutates this itself — it only reads it
199
+ * to decide which rows currently render `expandedContent`; toggle it in
200
+ * response to `lyra-row-expand-toggle`, mirroring how `sortKey`/
201
+ * `selectedKey` already work. */
202
+ this.expandedKeys = new Set();
126
203
  this.hasMore = false;
127
204
  this.moreLabel = '';
128
205
  this.emptyHeading = '';
@@ -158,9 +235,41 @@ export class LyraTable extends LyraElement {
158
235
  * clicked/navigated to, at which point `focusedRowKey()` falls back to
159
236
  * `selectedKey` (if it matches a row) or the first row. */
160
237
  this.activeRowKey = null;
238
+ this.editingCell = null;
161
239
  this.rowsByKey = new Map();
162
240
  this.columnsByKey = new Map();
163
241
  this.observedHeaders = new Set();
242
+ this.onFilterInput = (event) => {
243
+ const input = event.currentTarget;
244
+ this.filterText = input.value;
245
+ this.emit('lyra-filter-change', { text: this.filterText });
246
+ };
247
+ this.onPaginationChange = (event) => {
248
+ event.stopPropagation();
249
+ this.emit('lyra-page-change', event.detail);
250
+ };
251
+ this.onEditorKeyDown = (event, rowKey, columnKey) => {
252
+ event.stopPropagation();
253
+ if (event.key === 'Enter') {
254
+ event.preventDefault();
255
+ this.commitEdit(event, rowKey, columnKey);
256
+ }
257
+ else if (event.key === 'Escape') {
258
+ event.preventDefault();
259
+ this.editingCell = null;
260
+ }
261
+ };
262
+ this.onTableDoubleClick = (event) => {
263
+ const target = event.target;
264
+ const table = event.currentTarget;
265
+ if (closestInteractive(target, table))
266
+ return;
267
+ const cell = target.closest('[part="cell"][data-col-key]');
268
+ const row = target.closest('[data-row-key]');
269
+ if (cell && row?.dataset.rowKey && cell.dataset.colKey) {
270
+ this.startEditing(row.dataset.rowKey, cell.dataset.colKey);
271
+ }
272
+ };
164
273
  this.toggleColumns = () => {
165
274
  this.showAllColumns = !this.showAllColumns;
166
275
  this.emit('lyra-columns-revealed', { revealed: this.showAllColumns });
@@ -280,6 +389,43 @@ export class LyraTable extends LyraElement {
280
389
  keyOf(row, index) {
281
390
  return this.rowKey ? this.rowKey(row) : index;
282
391
  }
392
+ matchingEntries() {
393
+ const text = this.filterText.trim();
394
+ if (text === '')
395
+ return this.rows.map((row, index) => ({ row, index }));
396
+ const normalized = text.toLocaleLowerCase(this.effectiveLocale);
397
+ return this.rows.flatMap((row, index) => {
398
+ const matches = this.filter
399
+ ? this.filter(row, text)
400
+ : JSON.stringify(row).toLocaleLowerCase(this.effectiveLocale).includes(normalized);
401
+ return matches ? [{ row, index }] : [];
402
+ });
403
+ }
404
+ get normalizedPageSize() {
405
+ return Number.isFinite(this.pageSize) ? Math.max(0, Math.trunc(this.pageSize)) : 0;
406
+ }
407
+ get matchingTotalItems() {
408
+ if (Number.isFinite(this.totalItems) && this.totalItems >= 0)
409
+ return Math.trunc(this.totalItems);
410
+ return this.matchingEntries().length;
411
+ }
412
+ get pageCount() {
413
+ const pageSize = this.normalizedPageSize;
414
+ return pageSize > 0 ? Math.ceil(this.matchingTotalItems / pageSize) : 0;
415
+ }
416
+ get appliedPage() {
417
+ if (this.pageCount === 0)
418
+ return 1;
419
+ const page = Number.isFinite(this.page) ? Math.trunc(this.page) : 1;
420
+ return Math.min(this.pageCount, Math.max(1, page));
421
+ }
422
+ renderedEntries() {
423
+ const entries = this.matchingEntries();
424
+ if (this.normalizedPageSize === 0 || this.paginationMode === 'server')
425
+ return entries;
426
+ const start = (this.appliedPage - 1) * this.normalizedPageSize;
427
+ return entries.slice(start, start + this.normalizedPageSize);
428
+ }
283
429
  /** The header cell that currently owns `tabindex="0"`. */
284
430
  focusedColKey() {
285
431
  const visible = this.visibleHeaders();
@@ -300,11 +446,22 @@ export class LyraTable extends LyraElement {
300
446
  if (this.rowsByKey.has(selected))
301
447
  return selected;
302
448
  }
303
- return this.rows.length > 0 ? encodeKey(this.keyOf(this.rows[0], 0)) : null;
449
+ const first = this.renderedEntries()[0];
450
+ return first ? encodeKey(this.keyOf(first.row, first.index)) : null;
304
451
  }
305
452
  willUpdate(changed) {
306
- if (changed.has('rows') || changed.has('rowKey')) {
307
- this.rowsByKey = new Map(this.rows.map((row, i) => [encodeKey(this.keyOf(row, i)), row]));
453
+ if (changed.has('rows') ||
454
+ changed.has('rowKey') ||
455
+ changed.has('filterText') ||
456
+ changed.has('filter') ||
457
+ changed.has('page') ||
458
+ changed.has('pageSize') ||
459
+ changed.has('paginationMode') ||
460
+ changed.has('totalItems')) {
461
+ this.rowsByKey = new Map(this.renderedEntries().map((entry) => [
462
+ encodeKey(this.keyOf(entry.row, entry.index)),
463
+ entry,
464
+ ]));
308
465
  }
309
466
  if (changed.has('columns')) {
310
467
  this.columnsByKey = new Map(this.columns.map((c) => [c.key, c]));
@@ -381,6 +538,11 @@ export class LyraTable extends LyraElement {
381
538
  if (base)
382
539
  this.observeBase(base);
383
540
  this.observeHeaders();
541
+ if (changed.has('editingCell') && this.editingCell) {
542
+ queueMicrotask(() => {
543
+ this.renderRoot.querySelector('[part="cell-editor"]')?.focus();
544
+ });
545
+ }
384
546
  // Deferred to a microtask rather than called synchronously here: a real
385
547
  // priority-hidden transition mutates the reactive `columnsHidden`
386
548
  // property, and doing that from inside this same updated() call stack
@@ -399,9 +561,50 @@ export class LyraTable extends LyraElement {
399
561
  }
400
562
  activateRow(key) {
401
563
  this.activeRowKey = key;
402
- const row = this.rowsByKey.get(key);
403
- if (row !== undefined)
404
- this.emit('lyra-row-click', { row });
564
+ const entry = this.rowsByKey.get(key);
565
+ if (entry === undefined)
566
+ return;
567
+ const { row, index } = entry;
568
+ this.emit('lyra-row-click', { row });
569
+ if (this.selectionMode === 'single') {
570
+ this.selectedKey = this.keyOf(row, index);
571
+ this.emit('lyra-selection-change', { keys: this.selectedKey === null ? [] : [this.selectedKey] });
572
+ }
573
+ else if (this.selectionMode === 'multiple') {
574
+ const rawKey = this.keyOf(row, index);
575
+ const next = new Set(this.selectedKeys);
576
+ if (next.has(rawKey))
577
+ next.delete(rawKey);
578
+ else
579
+ next.add(rawKey);
580
+ this.selectedKeys = next;
581
+ this.emit('lyra-selection-change', { keys: [...next] });
582
+ }
583
+ }
584
+ editorValue(row, column) {
585
+ const value = column.editValue?.(row) ?? row[column.key] ?? '';
586
+ return String(value);
587
+ }
588
+ startEditing(rowKey, columnKey) {
589
+ const column = this.columnsByKey.get(columnKey);
590
+ if (!column?.editable || !this.rowsByKey.has(rowKey))
591
+ return;
592
+ this.editingCell = { rowKey, columnKey };
593
+ }
594
+ commitEdit(event, rowKey, columnKey) {
595
+ const input = event.currentTarget;
596
+ const entry = this.rowsByKey.get(rowKey);
597
+ const column = this.columnsByKey.get(columnKey);
598
+ if (!entry || !column?.editable)
599
+ return;
600
+ const value = column.editType === 'number' && input.value !== '' ? Number(input.value) : input.value;
601
+ this.emit('lyra-cell-edit', { row: entry.row, key: columnKey, value });
602
+ this.editingCell = null;
603
+ }
604
+ activateExpandToggle(key) {
605
+ const entry = this.rowsByKey.get(encodeKey(key));
606
+ if (entry !== undefined)
607
+ this.emit('lyra-row-expand-toggle', { row: entry.row, key });
405
608
  }
406
609
  /** Header cells currently in the tab sequence — excludes columns hidden by
407
610
  * a `priority`-driven `@container` rule (table.styles.ts), so Left/Right/
@@ -513,7 +716,17 @@ export class LyraTable extends LyraElement {
513
716
  description=${this.noColumnsDescription}
514
717
  ></lyra-empty>`;
515
718
  }
516
- if (this.rows.length === 0) {
719
+ if (this.loading) {
720
+ return html `<div part="base" aria-busy="true">
721
+ <div part="loading" role="status" aria-live="polite">
722
+ <lyra-spinner label-placement="after" accessible-label=${this.localize('tableLoading', this.loadingLabel || undefined)}>
723
+ ${this.localize('tableLoading', this.loadingLabel || undefined)}
724
+ </lyra-spinner>
725
+ </div>
726
+ </div>`;
727
+ }
728
+ const matchingEntries = this.matchingEntries();
729
+ if (this.rows.length === 0 && !this.filterable && this.normalizedPageSize === 0) {
517
730
  return html `<lyra-empty
518
731
  heading=${this.localize('noData', this.emptyHeading || undefined)}
519
732
  description=${this.emptyDescription}
@@ -522,83 +735,168 @@ export class LyraTable extends LyraElement {
522
735
  const focusedCol = this.focusedColKey();
523
736
  const focusedRow = this.focusedRowKey();
524
737
  const hasColumnWidths = this.columns.some((col) => col.width);
525
- return html `
526
- <div part="base" ?data-force-visible=${this.showAllColumns}>
527
- <table
528
- part="table"
529
- role="grid"
530
- aria-label=${this.getAttribute('aria-label') || nothing}
531
- ?data-has-column-widths=${hasColumnWidths}
532
- @click=${this.onTableClick}
533
- @keydown=${this.onTableKeyDown}
534
- >
535
- <colgroup>
536
- ${this.columns.map((col) => html `<col style=${styleMap({ 'inline-size': col.width, 'min-inline-size': col.minWidth })} />`)}
537
- </colgroup>
538
- <thead part="head">
539
- <tr role="row">
540
- ${this.columns.map((col) => {
541
- const active = Boolean(col.sortable) && this.sortKey === col.key;
542
- const ariaSort = active ? (this.sortDir === 'asc' ? 'ascending' : 'descending') : 'none';
543
- return html `<th
544
- part="header-cell"
545
- role="columnheader"
546
- scope="col"
547
- data-col-key=${col.key}
548
- data-align=${col.align ?? 'start'}
549
- data-priority=${col.priority ?? nothing}
550
- data-sticky=${stickyDirection(col.sticky) ?? nothing}
551
- ?data-sortable=${col.sortable}
552
- aria-sort=${col.sortable ? ariaSort : nothing}
553
- tabindex=${col.key === focusedCol ? '0' : '-1'}
554
- >
555
- ${col.headerCell ? col.headerCell(col) : col.label}
556
- ${active
557
- ? html `<span part="sort-icon" data-dir=${this.sortDir} aria-hidden="true"
558
- >${chevronIcon()}</span
559
- >`
738
+ const hasExpand = Boolean(this.expandedContent);
739
+ const renderedEntries = this.renderedEntries();
740
+ const hasPagination = this.normalizedPageSize > 0;
741
+ const filterLabel = this.localize('tableFilterLabel', this.filterLabel || undefined);
742
+ const filterPlaceholder = this.localize('tableFilterPlaceholder', this.filterPlaceholder || undefined);
743
+ const tableContent = renderedEntries.length === 0
744
+ ? html `<lyra-empty
745
+ compact
746
+ heading=${this.localize('noData', this.emptyHeading || undefined)}
747
+ description=${this.emptyDescription}
748
+ ></lyra-empty>`
749
+ : html `<table
750
+ part="table"
751
+ role="grid"
752
+ aria-label=${this.getAttribute('aria-label') || nothing}
753
+ ?data-has-column-widths=${hasColumnWidths}
754
+ @click=${this.onTableClick}
755
+ @keydown=${this.onTableKeyDown}
756
+ @dblclick=${this.onTableDoubleClick}
757
+ >
758
+ <colgroup>
759
+ ${hasExpand ? html `<col style=${styleMap({ 'inline-size': '2.5rem' })} />` : nothing}
760
+ ${this.columns.map((col) => html `<col style=${styleMap({ 'inline-size': col.width, 'min-inline-size': col.minWidth })} />`)}
761
+ </colgroup>
762
+ <thead part="head">
763
+ <tr role="row">
764
+ ${hasExpand
765
+ ? html `<th part="header-cell" data-row-expand-toggle aria-hidden="true"></th>`
560
766
  : nothing}
561
- </th>`;
562
- })}
563
- </tr>
564
- </thead>
565
- <tbody>
566
- ${repeat(this.rows, (row, i) => this.keyOf(row, i), (row, i) => {
567
- const key = this.keyOf(row, i);
568
- const selected = this.selectedKey !== null && this.selectedKey === key;
569
- return html `<tr
570
- part="row"
571
- role="row"
572
- data-row-key=${encodeKey(key)}
573
- aria-selected=${selected ? 'true' : 'false'}
574
- tabindex=${encodeKey(key) === focusedRow ? '0' : '-1'}
575
- >
576
- ${this.columns.map((col) => html `<td
577
- part="cell"
578
- role="gridcell"
767
+ ${this.columns.map((col) => {
768
+ const active = Boolean(col.sortable) && this.sortKey === col.key;
769
+ const ariaSort = active ? (this.sortDir === 'asc' ? 'ascending' : 'descending') : 'none';
770
+ return html `<th
771
+ part="header-cell"
772
+ role="columnheader"
773
+ scope="col"
774
+ data-col-key=${col.key}
775
+ data-align=${col.align ?? 'start'}
776
+ data-priority=${col.priority ?? nothing}
777
+ data-sticky=${stickyDirection(col.sticky) ?? nothing}
778
+ ?data-sortable=${col.sortable}
779
+ aria-sort=${col.sortable ? ariaSort : nothing}
780
+ tabindex=${col.key === focusedCol ? '0' : '-1'}
781
+ >
782
+ ${col.headerCell ? col.headerCell(col) : col.label}
783
+ ${active
784
+ ? html `<span part="sort-icon" data-dir=${this.sortDir} aria-hidden="true"
785
+ >${chevronIcon()}</span
786
+ >`
787
+ : nothing}
788
+ </th>`;
789
+ })}
790
+ </tr>
791
+ </thead>
792
+ <tbody>
793
+ ${repeat(renderedEntries, (entry) => this.keyOf(entry.row, entry.index), (entry, entryIndex) => {
794
+ const { row, index } = entry;
795
+ const key = this.keyOf(row, index);
796
+ const selected = (this.selectedKey !== null && this.selectedKey === key) || this.selectedKeys.has(key);
797
+ const canExpandRow = hasExpand && (this.canExpand ? this.canExpand(row) : true);
798
+ const rowExpanded = canExpandRow && this.expandedKeys.has(key);
799
+ const groupKey = this.groupBy?.(row);
800
+ const previousGroupKey = entryIndex > 0 ? this.groupBy?.(renderedEntries[entryIndex - 1].row) : undefined;
801
+ const isNewGroup = this.groupBy !== undefined && (entryIndex === 0 || groupKey !== previousGroupKey);
802
+ return [
803
+ isNewGroup
804
+ ? html `<tr part="group-row" role="row">
805
+ <td
806
+ part="group-cell"
807
+ role="gridcell"
808
+ colspan=${this.columns.length + (hasExpand ? 1 : 0)}
809
+ >
810
+ ${this.groupLabel
811
+ ? this.groupLabel(groupKey, renderedEntries
812
+ .filter((candidate) => this.groupBy?.(candidate.row) === groupKey)
813
+ .map((candidate) => candidate.row))
814
+ : String(groupKey)}
815
+ </td>
816
+ </tr>`
817
+ : nothing,
818
+ html `<tr
819
+ part="row"
820
+ role="row"
821
+ data-row-key=${encodeKey(key)}
822
+ aria-selected=${selected ? 'true' : 'false'}
823
+ tabindex=${encodeKey(key) === focusedRow ? '0' : '-1'}
824
+ >
825
+ ${hasExpand
826
+ ? html `<td part="expand-toggle-cell">
827
+ ${canExpandRow
828
+ ? html `<button
829
+ type="button"
830
+ part="row-expand-toggle"
831
+ aria-expanded=${String(rowExpanded)}
832
+ aria-label=${this.localize(rowExpanded ? 'collapse' : 'expand')}
833
+ @click=${() => this.activateExpandToggle(key)}
834
+ >
835
+ <span part="row-expand-icon" aria-hidden="true">${chevronIcon()}</span>
836
+ </button>`
837
+ : nothing}
838
+ </td>`
839
+ : nothing}
840
+ ${this.columns.map((col) => html `<td
841
+ part="cell"
842
+ role="gridcell"
843
+ data-col-key=${col.key}
844
+ data-align=${col.align ?? 'start'}
845
+ data-priority=${col.priority ?? nothing}
846
+ data-sticky=${stickyDirection(col.sticky) ?? nothing}
847
+ style=${col.cellStyle ? styleMap(col.cellStyle(row) ?? {}) : nothing}
848
+ >
849
+ ${this.editingCell?.rowKey === encodeKey(key) && this.editingCell.columnKey === col.key
850
+ ? html `<input
851
+ part="cell-editor"
852
+ type=${col.editType ?? 'text'}
853
+ .value=${this.editorValue(row, col)}
854
+ aria-label=${this.localize('tableEditCell', undefined, { column: col.label })}
855
+ @change=${(event) => this.commitEdit(event, encodeKey(key), col.key)}
856
+ @keydown=${(event) => this.onEditorKeyDown(event, encodeKey(key), col.key)}
857
+ />`
858
+ : col.cell(row)}
859
+ </td>`)}
860
+ </tr>`,
861
+ rowExpanded
862
+ ? html `<tr part="expanded-row" role="row">
863
+ <td part="expanded-cell" role="gridcell" colspan=${this.columns.length + (hasExpand ? 1 : 0)}>
864
+ ${this.expandedContent?.(row)}
865
+ </td>
866
+ </tr>`
867
+ : nothing,
868
+ ];
869
+ })}
870
+ </tbody>
871
+ ${this.columns.some((c) => c.footer)
872
+ ? html `<tfoot part="foot">
873
+ <tr part="footer-row">
874
+ ${hasExpand ? html `<td part="footer-cell" aria-hidden="true"></td>` : nothing}
875
+ ${this.columns.map((col) => html `<td
876
+ part="footer-cell"
579
877
  data-col-key=${col.key}
580
878
  data-align=${col.align ?? 'start'}
581
- data-priority=${col.priority ?? nothing}
582
- data-sticky=${stickyDirection(col.sticky) ?? nothing}
583
- style=${col.cellStyle ? styleMap(col.cellStyle(row) ?? {}) : nothing}
584
- >
585
- ${col.cell(row)}
586
- </td>`)}
587
- </tr>`;
588
- })}
589
- </tbody>
590
- ${this.columns.some((c) => c.footer)
591
- ? html `<tfoot part="foot">
592
- <tr part="footer-row">
593
- ${this.columns.map((col) => html `<td
594
- part="footer-cell"
595
- data-col-key=${col.key}
596
- data-align=${col.align ?? 'start'}
597
- >${col.footer?.(this.rows) ?? ''}</td>`)}
598
- </tr>
599
- </tfoot>`
879
+ >${col.footer?.(matchingEntries.map((entry) => entry.row)) ?? ''}</td>`)}
880
+ </tr>
881
+ </tfoot>`
882
+ : nothing}
883
+ </table>`;
884
+ return html `
885
+ <div part="base" ?data-force-visible=${this.showAllColumns} aria-busy="false">
886
+ ${this.filterable
887
+ ? html `<label part="filter-label">
888
+ ${filterLabel}
889
+ <input
890
+ part="filter"
891
+ type="search"
892
+ .value=${this.filterText}
893
+ placeholder=${filterPlaceholder}
894
+ aria-label=${filterLabel}
895
+ @input=${this.onFilterInput}
896
+ />
897
+ </label>`
600
898
  : nothing}
601
- </table>
899
+ ${tableContent}
602
900
  ${this.columnsHidden
603
901
  ? html `<button
604
902
  part="reveal-columns-button"
@@ -620,6 +918,17 @@ export class LyraTable extends LyraElement {
620
918
  ${this.localize('loadMore', this.moreLabel || undefined)}
621
919
  </button>`
622
920
  : nothing}
921
+ ${hasPagination
922
+ ? html `<lyra-pagination
923
+ part="pagination"
924
+ .page=${this.page}
925
+ .pageSize=${this.normalizedPageSize}
926
+ .totalItems=${this.matchingTotalItems}
927
+ .strings=${this.strings}
928
+ hide-summary
929
+ @lyra-page-change=${this.onPaginationChange}
930
+ ></lyra-pagination>`
931
+ : nothing}
623
932
  </div>
624
933
  `;
625
934
  }
@@ -642,6 +951,60 @@ __decorate([
642
951
  __decorate([
643
952
  property({ attribute: false })
644
953
  ], LyraTable.prototype, "selectedKey", void 0);
954
+ __decorate([
955
+ property({ reflect: true, attribute: 'selection-mode' })
956
+ ], LyraTable.prototype, "selectionMode", void 0);
957
+ __decorate([
958
+ property({ attribute: false })
959
+ ], LyraTable.prototype, "selectedKeys", void 0);
960
+ __decorate([
961
+ property({ type: Boolean, reflect: true })
962
+ ], LyraTable.prototype, "filterable", void 0);
963
+ __decorate([
964
+ property({ attribute: 'filter-text' })
965
+ ], LyraTable.prototype, "filterText", void 0);
966
+ __decorate([
967
+ property({ attribute: false })
968
+ ], LyraTable.prototype, "filter", void 0);
969
+ __decorate([
970
+ property({ attribute: 'filter-label' })
971
+ ], LyraTable.prototype, "filterLabel", void 0);
972
+ __decorate([
973
+ property({ attribute: 'filter-placeholder' })
974
+ ], LyraTable.prototype, "filterPlaceholder", void 0);
975
+ __decorate([
976
+ property({ type: Boolean, reflect: true })
977
+ ], LyraTable.prototype, "loading", void 0);
978
+ __decorate([
979
+ property({ attribute: 'loading-label' })
980
+ ], LyraTable.prototype, "loadingLabel", void 0);
981
+ __decorate([
982
+ property({ attribute: false })
983
+ ], LyraTable.prototype, "groupBy", void 0);
984
+ __decorate([
985
+ property({ attribute: false })
986
+ ], LyraTable.prototype, "groupLabel", void 0);
987
+ __decorate([
988
+ property({ type: Number, attribute: 'page-size' })
989
+ ], LyraTable.prototype, "pageSize", void 0);
990
+ __decorate([
991
+ property({ type: Number, reflect: true })
992
+ ], LyraTable.prototype, "page", void 0);
993
+ __decorate([
994
+ property({ type: Number, attribute: 'total-items' })
995
+ ], LyraTable.prototype, "totalItems", void 0);
996
+ __decorate([
997
+ property({ reflect: true, attribute: 'pagination-mode' })
998
+ ], LyraTable.prototype, "paginationMode", void 0);
999
+ __decorate([
1000
+ property({ attribute: false })
1001
+ ], LyraTable.prototype, "expandedContent", void 0);
1002
+ __decorate([
1003
+ property({ attribute: false })
1004
+ ], LyraTable.prototype, "canExpand", void 0);
1005
+ __decorate([
1006
+ property({ attribute: false })
1007
+ ], LyraTable.prototype, "expandedKeys", void 0);
645
1008
  __decorate([
646
1009
  property({ type: Boolean, attribute: 'has-more', reflect: true })
647
1010
  ], LyraTable.prototype, "hasMore", void 0);
@@ -678,4 +1041,7 @@ __decorate([
678
1041
  __decorate([
679
1042
  state()
680
1043
  ], LyraTable.prototype, "activeRowKey", void 0);
1044
+ __decorate([
1045
+ state()
1046
+ ], LyraTable.prototype, "editingCell", void 0);
681
1047
  //# sourceMappingURL=table.class.js.map