@luzmo/lucero 2.5.1 → 2.5.2

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 (470) hide show
  1. package/components/accordion/index.cjs +1 -1
  2. package/components/accordion/index.js +1 -2
  3. package/components/{accordion-ciplqKwM.js → accordion-BJLsCC-2.js} +7 -8
  4. package/components/{accordion-BK0LfhmL.cjs → accordion-OQ0RoC_7.cjs} +1 -1
  5. package/components/action-bar/index.cjs +1 -1
  6. package/components/action-bar/index.js +1 -2
  7. package/components/{action-bar-BZBIeGo7.js → action-bar-B-Y-gJ8B.js} +9 -17
  8. package/components/{action-bar-DAqG_7VG.cjs → action-bar-Dyt2tyjr.cjs} +1 -1
  9. package/components/action-button/index.cjs +1 -1
  10. package/components/action-button/index.js +1 -2
  11. package/components/{action-button-DU95RNNi.js → action-button-BB3ZZFNN.js} +6 -8
  12. package/components/{action-button-B4_uvHiN.cjs → action-button-CL4ZlryE.cjs} +1 -1
  13. package/components/action-group/index.cjs +1 -1
  14. package/components/action-group/index.js +1 -2
  15. package/components/{action-group-oo7YV0EW.cjs → action-group-Doll-3Bf.cjs} +1 -1
  16. package/components/{action-group-DSiruuF0.js → action-group-HECoPCas.js} +7 -9
  17. package/components/action-menu/index.cjs +1 -1
  18. package/components/action-menu/index.js +1 -2
  19. package/components/{action-menu-C_vyFNJt.cjs → action-menu-BW-XpCVO.cjs} +1 -1
  20. package/components/{action-menu-B6nNYwlL.js → action-menu-LnXQ7reF.js} +11 -13
  21. package/components/avatar/index.cjs +1 -1
  22. package/components/avatar/index.js +1 -2
  23. package/components/{avatar-CwSyYAKV.js → avatar-CVRQDsx6.js} +7 -9
  24. package/components/{avatar-DHS5UGTJ.cjs → avatar-DFzJbtId.cjs} +1 -1
  25. package/components/badge/index.cjs +1 -1
  26. package/components/badge/index.js +1 -2
  27. package/components/{badge-Bp-1d70q.js → badge-BSfzmBRf.js} +6 -8
  28. package/components/{badge-CNeUkS4b.cjs → badge-DzElGOcl.cjs} +1 -1
  29. package/components/button/index.cjs +1 -1
  30. package/components/button/index.js +2 -2
  31. package/components/{button-B1V_2tHk.cjs → button-BGEWdRbY.cjs} +2 -2
  32. package/components/{button-QXavBh1X.js → button-CpaltgRZ.js} +12 -13
  33. package/components/{button-base-DiPzVpp4.js → button-base-BzakIKd0.js} +12 -35
  34. package/components/{button-base-DiNxrttk.cjs → button-base-CpK2ktvQ.cjs} +3 -3
  35. package/components/button-group/index.cjs +1 -1
  36. package/components/button-group/index.js +1 -2
  37. package/components/{button-group-Du7R4SxZ.cjs → button-group-C23OtGC0.cjs} +1 -1
  38. package/components/{button-group-Duf-Igst.js → button-group-DMsT6N0P.js} +4 -6
  39. package/components/calendar/index.cjs +1 -1
  40. package/components/calendar/index.js +1 -2
  41. package/components/{calendar-CLGqcox8.cjs → calendar-BqyGW8gU.cjs} +3 -3
  42. package/components/{calendar-BNGwCJsG.js → calendar-D4x5gp_0.js} +14 -33
  43. package/components/chat-message/index.cjs +1 -1
  44. package/components/chat-message/index.js +1 -2
  45. package/components/{chat-message-D6U-sprD.js → chat-message-5gP_qbiz.js} +665 -654
  46. package/components/chat-message-Dn5GKsSD.cjs +148 -0
  47. package/components/chat-message-group/index.cjs +1 -1
  48. package/components/chat-message-group/index.js +1 -2
  49. package/components/{chat-message-group-k9lo-ZqD.js → chat-message-group-Bp4mshBY.js} +18 -18
  50. package/components/{chat-message-group-CvxdX3jt.cjs → chat-message-group-CJddlS85.cjs} +1 -1
  51. package/components/checkbox/index.cjs +1 -1
  52. package/components/checkbox/index.js +1 -2
  53. package/components/checkbox-CVi4GMoo.cjs +25 -0
  54. package/components/{checkbox-CydI9yXG.js → checkbox-CvRvgRzh.js} +7 -13
  55. package/components/{checkbox-mixin-jqmrh48O.js → checkbox-mixin-BIuvxtEt.js} +2 -3
  56. package/components/{checkbox-mixin-rFRXqyrK.cjs → checkbox-mixin-DAdnTm-F.cjs} +1 -1
  57. package/components/{close-button-Dlvtf9lB.js → close-button-7zS6PUzh.js} +5 -6
  58. package/components/{close-button-BAELImQY.cjs → close-button-B06i2hJn.cjs} +1 -1
  59. package/components/color-area/index.cjs +1 -1
  60. package/components/color-area/index.js +1 -2
  61. package/components/{color-area-CmKlQG1i.cjs → color-area-D1fRozE0.cjs} +1 -1
  62. package/components/{color-area-lbg8wwZG.js → color-area-qlEAp8ZN.js} +10 -20
  63. package/components/color-controller-BpdydwTO.cjs +18 -0
  64. package/components/{color-controller-Rg_Zl0sT.js → color-controller-CauSxC_r.js} +1 -2
  65. package/components/color-field/index.cjs +1 -1
  66. package/components/color-field/index.js +1 -2
  67. package/components/{color-field-BH9x46k_.cjs → color-field-CN8shDl_.cjs} +1 -1
  68. package/components/{color-field-C9S-Fv46.js → color-field-CVyDNZ4b.js} +5 -7
  69. package/components/color-handle/index.cjs +1 -1
  70. package/components/color-handle/index.js +1 -2
  71. package/components/{color-handle-2iFLp9FN.cjs → color-handle-BE0Z1gTU.cjs} +1 -1
  72. package/components/{color-handle-BEDQ1RcS.js → color-handle-Dc0uLgkf.js} +4 -6
  73. package/components/color-loupe/index.cjs +1 -1
  74. package/components/color-loupe/index.js +1 -2
  75. package/components/{color-loupe-6NcLbFco.cjs → color-loupe-2X1bCYU9.cjs} +1 -1
  76. package/components/{color-loupe-CqHyyvjQ.js → color-loupe-Bu37Uwk6.js} +3 -5
  77. package/components/color-menu/index.cjs +1 -1
  78. package/components/color-menu/index.js +1 -2
  79. package/components/{color-menu-qJK_clDq.js → color-menu-BxFQnH79.js} +12 -14
  80. package/components/{color-menu-BYTgxLQG.cjs → color-menu-Cus3S-Re.cjs} +1 -1
  81. package/components/color-palette/index.cjs +1 -1
  82. package/components/color-palette/index.js +1 -2
  83. package/components/{color-palette-x6W09EBL.cjs → color-palette-D5NZDz5I.cjs} +1 -1
  84. package/components/{color-palette-CqiO5ohz.js → color-palette-UU7Feiwh.js} +7 -8
  85. package/components/color-palette-group/index.cjs +1 -1
  86. package/components/color-palette-group/index.js +1 -2
  87. package/components/{color-palette-group-zByrO_qb.js → color-palette-group-CwmC9iR1.js} +5 -7
  88. package/components/{color-palette-group-D4k_7pW6.cjs → color-palette-group-DhGh0Db8.cjs} +1 -1
  89. package/components/color-picker/index.cjs +1 -1
  90. package/components/color-picker/index.js +1 -2
  91. package/components/{color-picker-BAikpqUT.cjs → color-picker-BTT1O-76.cjs} +1 -1
  92. package/components/{color-picker-CSuAPo5X.js → color-picker-orFSIqoZ.js} +9 -11
  93. package/components/color-slider/index.cjs +1 -1
  94. package/components/color-slider/index.js +1 -2
  95. package/components/{color-slider-CMW8gJ0Z.cjs → color-slider-9Ck28Qdk.cjs} +1 -1
  96. package/components/{color-slider-0JzdSRTy.js → color-slider-X1EArAnx.js} +8 -14
  97. package/components/{condition-attribute-with-id-BdnTdWKz.js → condition-attribute-with-id-v1wjKZc3.js} +1 -2
  98. package/components/date-range-picker/index.cjs +1 -1
  99. package/components/date-range-picker/index.js +1 -2
  100. package/components/{date-range-picker-5SDPe2fQ.js → date-range-picker-CoCz3uDz.js} +28 -29
  101. package/components/{date-range-picker-CLfEEYkE.cjs → date-range-picker-DyJdcFiA.cjs} +3 -3
  102. package/components/date-time-picker/index.cjs +1 -1
  103. package/components/date-time-picker/index.js +1 -2
  104. package/components/{date-time-picker-DXTksnPd.cjs → date-time-picker-CEEeMXGn.cjs} +3 -3
  105. package/components/{date-time-picker-s3xujamC.js → date-time-picker-CsgO17tA.js} +23 -36
  106. package/components/{decorate-CkCg3wfh.js → decorate-CpKsOs9z.js} +18 -19
  107. package/components/{decorate-Dq34MBGe.cjs → decorate-SO02l0A6.cjs} +1 -1
  108. package/components/{dependency-manger-wHEXoU92.js → dependency-manger-BneVBZQi.js} +1 -2
  109. package/components/divider/index.cjs +1 -1
  110. package/components/divider/index.js +1 -2
  111. package/components/{divider-Cz5nyvP9.js → divider-Bt0NIqfu.js} +5 -7
  112. package/components/{divider-BcE8D-pH.cjs → divider-fWGUxO6A.cjs} +1 -1
  113. package/components/{divider.module-CPEKsaqR.js → divider.module-B_GRUJ4d.js} +1 -2
  114. package/components/{element-resolution-gap51AVo.js → element-resolution-BYvcpZwK.js} +1 -2
  115. package/components/field-group/index.cjs +1 -1
  116. package/components/field-group/index.js +2 -3
  117. package/components/{field-group-Dd5xYczm.cjs → field-group-B8mhEhNJ.cjs} +1 -1
  118. package/components/{field-group-C_kRq7pJ.js → field-group-CdDcdMO1.js} +3 -4
  119. package/components/field-label/index.cjs +1 -1
  120. package/components/field-label/index.js +1 -2
  121. package/components/{field-label-C0vfY1b6.cjs → field-label-B3IsGUTv.cjs} +2 -2
  122. package/components/{field-label-C28wWqC5.js → field-label-DOUnHwwh.js} +9 -15
  123. package/components/focus-group-C0ncbmUD.cjs +18 -0
  124. package/components/{focus-group-DVPa1zxz.js → focus-group-lQqPbdDl.js} +5 -7
  125. package/components/{focus-visible-DNHNlrty.cjs → focus-visible-BQAhwoxi.cjs} +1 -1
  126. package/components/{focus-visible-Bt2uDmuM.js → focus-visible-D6TRtUd7.js} +2 -3
  127. package/components/focusable-BIHTrJd6.cjs +18 -0
  128. package/components/{focusable-selectors-BWpiuXz5.js → focusable-selectors-BDNeWxbe.js} +1 -2
  129. package/components/{focusable-DuP0-Kuy.js → focusable-xjv79E40.js} +9 -17
  130. package/components/{get-label-from-slot-Bo9mqYCZ.js → get-label-from-slot-Bw5crGFw.js} +1 -2
  131. package/components/icon/index.cjs +1 -1
  132. package/components/icon/index.js +1 -2
  133. package/components/{icon-zOPAWCdx.cjs → icon-BlbMP3mJ.cjs} +1 -1
  134. package/components/{icon-CsJZMhIm.js → icon-DADJww_a.js} +4 -7
  135. package/components/index.cjs +1 -1
  136. package/components/index.js +71 -71
  137. package/components/infield-button/index.cjs +1 -1
  138. package/components/infield-button/index.js +1 -2
  139. package/components/{infield-button-DiE8R6ol.js → infield-button-CeE_JxR6.js} +5 -7
  140. package/components/{infield-button-kilVRjwB.cjs → infield-button-uD1GqTLW.cjs} +1 -1
  141. package/components/label/index.cjs +1 -1
  142. package/components/label/index.js +1 -2
  143. package/components/{label-e6Y13vrS.js → label-D1v4e6mN.js} +3 -5
  144. package/components/{label-B3zs6OX0.cjs → label-uuwIy_Ge.cjs} +1 -1
  145. package/components/{language-resolution-BaKYDD1a.js → language-resolution-7rc0khIK.js} +3 -4
  146. package/components/{language-resolution-CSjktYg5.cjs → language-resolution-B7D3hQ6_.cjs} +1 -1
  147. package/components/{like-anchor-DXCaEv7O.js → like-anchor-DcFv8rEo.js} +2 -3
  148. package/components/{like-anchor-BX4PSB3d.cjs → like-anchor-De9STeWr.cjs} +1 -1
  149. package/components/{manage-help-text-ByLb0QYX.js → manage-help-text-CFUaqINN.js} +4 -6
  150. package/components/{match-media-C5X2OZiD.js → match-media-UNh23w4s.js} +1 -2
  151. package/components/menu/index.cjs +1 -1
  152. package/components/menu/index.js +1 -2
  153. package/components/menu-BKwt6rnv.cjs +108 -0
  154. package/components/{menu-fdJseu1y.js → menu-L5qYivn6.js} +43 -67
  155. package/components/multi-language-field/index.cjs +1 -1
  156. package/components/multi-language-field/index.js +1 -2
  157. package/components/{multi-language-field-vJMK-osi.js → multi-language-field-NY2XwK2M.js} +6 -8
  158. package/components/{multi-language-field-BndVikur.cjs → multi-language-field-djoM4Okc.cjs} +1 -1
  159. package/components/notice/index.cjs +1 -1
  160. package/components/notice/index.js +1 -2
  161. package/components/{notice-CQI5kFRd.js → notice-CrLVNmqL.js} +6 -8
  162. package/components/{notice-CQFyo6OE.cjs → notice-f0p0TiGw.cjs} +1 -1
  163. package/components/number-field/index.cjs +1 -1
  164. package/components/number-field/index.js +1 -2
  165. package/components/{number-field-xxXgR70l.cjs → number-field-Ceeli_mh.cjs} +2 -2
  166. package/components/{number-field-DAOy_AvQ.js → number-field-D9UqpqpW.js} +12 -20
  167. package/components/{observe-slot-presence-BKY6n06-.js → observe-slot-presence-t2N_C6Ud.js} +1 -2
  168. package/components/{observe-slot-text-CvL-2ey3.cjs → observe-slot-text-BqwCIv2a.cjs} +1 -1
  169. package/components/{observe-slot-text-Db8Kx3P-.js → observe-slot-text-Dzkb_VqN.js} +2 -3
  170. package/components/options/index.cjs +1 -1
  171. package/components/options/index.js +1 -2
  172. package/components/{options-D_ifU0DH.js → options-BHDesKbF.js} +20 -31
  173. package/components/{options-CP9V2CSJ.cjs → options-Dk1uFeUT.cjs} +5 -5
  174. package/components/overlay/index.cjs +1 -1
  175. package/components/overlay/index.js +2 -2
  176. package/components/overlay-DAOyrYJL.cjs +102 -0
  177. package/components/{overlay-DpHIYJtd.js → overlay-D_Xfq92b.js} +62 -118
  178. package/components/{pending-state-CGHvTtKR.cjs → pending-state-A6NrvaQj.cjs} +1 -1
  179. package/components/{pending-state-D_b45qvi.js → pending-state-BuYmUP6G.js} +2 -3
  180. package/components/picker/index.cjs +1 -1
  181. package/components/picker/index.js +2 -3
  182. package/components/{picker-Czkf6auL.js → picker-C5eX5WBl.js} +24 -40
  183. package/components/{picker-C1tD-4ac.cjs → picker-CQCAt4Mx.cjs} +4 -4
  184. package/components/picker-button/index.cjs +1 -1
  185. package/components/picker-button/index.js +1 -2
  186. package/components/{picker-button-B8Jbf9jK.cjs → picker-button-BWDfzx38.cjs} +2 -2
  187. package/components/{picker-button-CJQJshbo.js → picker-button-BhfY9gyk.js} +11 -12
  188. package/components/{platform-Ce9pNsR9.js → platform-CDW-WdXN.js} +1 -2
  189. package/components/popover/index.cjs +1 -1
  190. package/components/popover/index.js +1 -2
  191. package/components/{popover-BsdqkvKI.cjs → popover-CFzz83f8.cjs} +1 -1
  192. package/components/{popover-DC8tkee-.js → popover-CWrRLzOL.js} +4 -6
  193. package/components/progress-bar/index.cjs +1 -1
  194. package/components/progress-bar/index.js +1 -2
  195. package/components/{progress-bar-CrodWzcc.cjs → progress-bar-9Qg0PYAq.cjs} +2 -2
  196. package/components/{progress-bar-D4iFHkp7.js → progress-bar-D6wIZV5l.js} +16 -22
  197. package/components/progress-circle/index.cjs +1 -1
  198. package/components/progress-circle/index.js +1 -2
  199. package/components/{progress-circle-bO_VAX3N.cjs → progress-circle-C_9UZs2Y.cjs} +1 -1
  200. package/components/{progress-circle-By6qUQYe.js → progress-circle-DcGKwBTC.js} +5 -7
  201. package/components/progress-steps/index.cjs +1 -1
  202. package/components/progress-steps/index.js +1 -2
  203. package/components/progress-steps/progress-steps-model.d.ts +5 -0
  204. package/components/progress-steps/progress-steps.d.ts +4 -3
  205. package/components/progress-steps-5MhpnGKv.cjs +98 -0
  206. package/components/{progress-steps-CXJEaaUg.js → progress-steps-Byem5ieS.js} +43 -51
  207. package/components/prompt-box/index.cjs +1 -1
  208. package/components/prompt-box/index.js +1 -2
  209. package/components/{prompt-box-CA8bsoZP.js → prompt-box-CrtFGmjm.js} +80 -112
  210. package/components/{prompt-box-DyODaKXV.cjs → prompt-box-D7owyhfG.cjs} +15 -15
  211. package/components/question-box/index.cjs +1 -1
  212. package/components/question-box/index.js +1 -2
  213. package/components/{question-box-DSwTpxAW.js → question-box-BJYYLghb.js} +40 -86
  214. package/components/{question-box-cBeVshAq.cjs → question-box-ym1eakXA.cjs} +3 -3
  215. package/components/radio/index.cjs +1 -1
  216. package/components/radio/index.js +1 -2
  217. package/components/{radio-B6hX9Klr.js → radio-CyxICbLM.js} +9 -15
  218. package/components/{radio-CRTfoEX_.cjs → radio-Dd-GgUMm.cjs} +2 -2
  219. package/components/{random-id-CiMDyX7v.js → random-id-CO3s9i3n.js} +1 -2
  220. package/components/{rolldown-runtime-Dy4uBu1J.js → rolldown-runtime-CGnMp29N.js} +1 -2
  221. package/components/{roving-tabindex-pomAn3z-.js → roving-tabindex-BKMkfzY0.js} +2 -3
  222. package/components/{roving-tabindex-BoPao4td.cjs → roving-tabindex-BUFR8hPH.cjs} +1 -1
  223. package/components/{scaled-indicator-C-TupV4L.js → scaled-indicator-CsfzvTDr.js} +1 -2
  224. package/components/search/index.cjs +1 -1
  225. package/components/search/index.js +1 -2
  226. package/components/{search-CFTOvmWA.js → search-C5uFmm6S.js} +7 -9
  227. package/components/{search-DJ6KwOam.cjs → search-DiCwSHFf.cjs} +1 -1
  228. package/components/segments-factory-BFgL5o9K.cjs +18 -0
  229. package/components/{segments-factory-BCRi1NKb.js → segments-factory-B_IBjpdp.js} +5 -12
  230. package/components/select/index.cjs +1 -1
  231. package/components/select/index.js +1 -2
  232. package/components/{select-CKMCEJf7.cjs → select-2Fvb7tpj.cjs} +6 -6
  233. package/components/{select-B86uAHme.js → select-HqF3tcHz.js} +31 -56
  234. package/components/{sized-mixin-DzQTebN-.js → sized-mixin-BmxIAuoH.js} +2 -3
  235. package/components/{sized-mixin-BT7cv-fT.cjs → sized-mixin-CSajkMro.cjs} +1 -1
  236. package/components/skeleton-loader/index.cjs +1 -1
  237. package/components/skeleton-loader/index.js +1 -2
  238. package/components/{skeleton-loader-CNcwCh4V.cjs → skeleton-loader-CEca0cqz.cjs} +1 -1
  239. package/components/{skeleton-loader-BeCsYADg.js → skeleton-loader-tin9y3xc.js} +3 -5
  240. package/components/slider/index.cjs +1 -1
  241. package/components/slider/index.js +1 -2
  242. package/components/{slider-C_8pSK4N.cjs → slider-C1AdDTfB.cjs} +2 -2
  243. package/components/{slider-Bsl8Xrme.js → slider-Ch7OgTdj.js} +13 -26
  244. package/components/{slottable-request-event-MRSZbgTu.js → slottable-request-event-24jJOhbh.js} +1 -2
  245. package/components/split-view/index.cjs +1 -1
  246. package/components/split-view/index.js +1 -2
  247. package/components/{split-view-CDwHDmII.js → split-view-DDwpoN2O.js} +8 -11
  248. package/components/{split-view-BwCFYey6.cjs → split-view-DNVlr5VD.cjs} +1 -1
  249. package/components/status-light/index.cjs +1 -1
  250. package/components/status-light/index.js +1 -2
  251. package/components/{status-light-COApWq-B.cjs → status-light-Do6z53mM.cjs} +1 -1
  252. package/components/{status-light-B1T3aGJs.js → status-light-DqHhhZed.js} +5 -7
  253. package/components/strategies-C6hzAW86.cjs +18 -0
  254. package/components/{strategies-COS7mShJ.js → strategies-DgPG-vNk.js} +6 -13
  255. package/components/{streaming-listener-CtcMpYfS.js → streaming-listener-B6mDl4pZ.js} +1 -2
  256. package/components/swatch/index.cjs +1 -1
  257. package/components/swatch/index.js +1 -2
  258. package/components/{swatch-Bj2FARl1.js → swatch-BBVsuSAV.js} +25 -44
  259. package/components/{swatch-CQ0inIHK.cjs → swatch-DiNMN-SZ.cjs} +3 -3
  260. package/components/switch/index.cjs +1 -1
  261. package/components/switch/index.js +1 -2
  262. package/components/{switch-CpG-hSWY.js → switch-BBtewLDD.js} +6 -8
  263. package/components/{switch-qwpYXVnO.cjs → switch-DMhCYTgq.cjs} +1 -1
  264. package/components/table/index.cjs +1 -1
  265. package/components/table/index.js +1 -2
  266. package/components/{table-Bcq2K21l.cjs → table-CLMLGloR.cjs} +11 -11
  267. package/components/{table-BckZkgeh.js → table-DlOWqm5C.js} +47 -103
  268. package/components/tabs/index.cjs +1 -1
  269. package/components/tabs/index.js +1 -2
  270. package/components/{tabs-CMU8X4ho.cjs → tabs-B0WHKMuF.cjs} +2 -2
  271. package/components/{tabs-D8U2PxcE.js → tabs-Dkt0B_-A.js} +17 -22
  272. package/components/tags/index.cjs +1 -1
  273. package/components/tags/index.js +1 -2
  274. package/components/{tags-ZzY_q4TH.js → tags-Be4yrNPw.js} +9 -11
  275. package/components/{tags-D8F1o4UZ.cjs → tags-CHDNXpxh.cjs} +1 -1
  276. package/components/{template-property-DNDi7lQv.js → template-property-Bks4Db5C.js} +1 -2
  277. package/components/text-field/index.cjs +1 -1
  278. package/components/text-field/index.js +2 -2
  279. package/components/{text-field-3fDtTQkR.cjs → text-field-BVl-HWzb.cjs} +1 -1
  280. package/components/{text-field-CmyqQxq0.js → text-field-D49lAD7L.js} +4 -5
  281. package/components/{text-field-CbN4nydd.cjs → text-field-DCcOZSvY.cjs} +1 -1
  282. package/components/{text-field-CmSym2QK.js → text-field-DpvP_tCP.js} +7 -10
  283. package/components/{text-field.module-BHhBReKL.js → text-field.module-hEHhPVFf.js} +1 -2
  284. package/components/toast/index.cjs +1 -1
  285. package/components/toast/index.js +1 -2
  286. package/components/{toast-DRrGgznK.cjs → toast-B6yesIcI.cjs} +1 -1
  287. package/components/{toast-KwHx-agn.js → toast-CXZUVaYz.js} +5 -7
  288. package/components/tokens.js +1 -2
  289. package/components/tooltip/index.cjs +1 -1
  290. package/components/tooltip/index.js +1 -2
  291. package/components/{tooltip-DjOW52n2.cjs → tooltip-BE01O3Sg.cjs} +1 -1
  292. package/components/{tooltip-xTa9Q5JW.js → tooltip-g2jd5Wsv.js} +19 -24
  293. package/components/top-nav/index.cjs +1 -1
  294. package/components/top-nav/index.js +1 -2
  295. package/components/{top-nav-81IKEGjR.cjs → top-nav-B0E1K_zf.cjs} +1 -1
  296. package/components/{top-nav-CXjnpdFR.js → top-nav-DiUCsUpZ.js} +9 -11
  297. package/components/utils.cjs +1 -1
  298. package/components/utils.js +8 -8
  299. package/components/{voice-recorder-CTg3kRxx.js → voice-recorder-BXY_l_78.js} +1 -2
  300. package/custom-elements.json +1 -1
  301. package/package.json +1 -1
  302. package/standalone/accordion.js +6 -2
  303. package/standalone/action-bar.js +1 -1
  304. package/standalone/action-button.js +1 -1
  305. package/standalone/action-group.js +1 -1
  306. package/standalone/action-menu.js +1 -1
  307. package/standalone/avatar.js +1 -1
  308. package/standalone/badge.js +1 -1
  309. package/standalone/button-group.js +1 -1
  310. package/standalone/button.js +1 -1
  311. package/standalone/calendar.js +1 -1
  312. package/standalone/chat-message-group.js +1 -1
  313. package/standalone/chat-message.js +31 -31
  314. package/standalone/checkbox.js +1 -1
  315. package/standalone/chunks/NumberFormatter-COykocAS.js +2 -0
  316. package/standalone/chunks/NumberParser--1Rm0Yk7.js +2 -0
  317. package/standalone/chunks/{action-button-BJGE_BDu.js → action-button-0d4u0dWv.js} +1 -1
  318. package/standalone/chunks/{action-group-DTxf-0tP.js → action-group-DlClwXLO.js} +5 -1
  319. package/standalone/chunks/async-directive-ByLzVnWY.js +2 -0
  320. package/standalone/chunks/async-directive-DNgXlN7F.js +2 -0
  321. package/standalone/chunks/{badge-SNXdnyCZ.js → badge-DPFbBRCY.js} +1 -1
  322. package/standalone/chunks/{button-DTL9dD2r.js → button-Bgc3zdEa.js} +1 -1
  323. package/standalone/chunks/{button-DHan4NJY.js → button-BhSe7abg.js} +1 -1
  324. package/standalone/chunks/button-base-DLYrzCSm.js +9 -0
  325. package/standalone/chunks/calendar-BxARYymw.js +122 -0
  326. package/standalone/chunks/checkbox-Cl6YBcGA.js +9 -0
  327. package/standalone/chunks/{checkbox-mixin-BAQWmwps.js → checkbox-mixin-HnfmivU3.js} +1 -1
  328. package/standalone/chunks/class-map-E9JVium5.js +2 -0
  329. package/standalone/chunks/{clear-button-3zpCVxG5.js → clear-button-B4r_oxfc.js} +1 -1
  330. package/standalone/chunks/{close-button-C96dazyi.js → close-button-DVCeu3_f.js} +1 -1
  331. package/standalone/chunks/{color-area-Cj8oPsIF.js → color-area-BCI2oMGd.js} +3 -1
  332. package/standalone/chunks/color-controller-BlFueK6Y.js +2 -0
  333. package/standalone/chunks/{color-field-BFvUGE4L.js → color-field-BaVvupq0.js} +1 -1
  334. package/standalone/chunks/{color-handle-BHrAxEG2.js → color-handle-BLQiuRSS.js} +1 -1
  335. package/standalone/chunks/{color-loupe-C34cms5t.js → color-loupe-_dC69K1Z.js} +1 -1
  336. package/standalone/chunks/{color-menu-BIKuitbH.js → color-menu-BDZh85nX.js} +1 -1
  337. package/standalone/chunks/color-slider-Bipcekrc.js +49 -0
  338. package/standalone/chunks/{directive-helpers-Bu8icI7Y.js → directive-helpers-DM8VtBpR.js} +1 -1
  339. package/standalone/chunks/{divider-Bf9Drp2z.js → divider-vAjIOfo1.js} +1 -1
  340. package/standalone/chunks/{field-group-D8EjgC6F.js → field-group-C1oDgW9m.js} +1 -1
  341. package/standalone/chunks/{field-label-VWHDlW9_.js → field-label-Djcst_hn.js} +2 -2
  342. package/standalone/chunks/flow-CL5kBpdV.js +2 -0
  343. package/standalone/chunks/focus-group-xdTxdfaB.js +4 -0
  344. package/standalone/chunks/{icon-BypO7M7G.js → icon-6P1RsbD1.js} +1 -1
  345. package/standalone/chunks/{infield-button-D03MpU_s.js → infield-button-B8EkjwP9.js} +1 -1
  346. package/standalone/chunks/keyed-DYJaQjip.js +2 -0
  347. package/standalone/chunks/{language-resolution-BWHk9A73.js → language-resolution-BwIkGyuH.js} +1 -1
  348. package/standalone/chunks/lit-DWANyjiY.js +3 -0
  349. package/standalone/chunks/lucero-runtime-DMlHjBe_.js +18 -0
  350. package/standalone/chunks/{luzmo-icons-B-pCv-xg.js → luzmo-icons-vtQE0BSI.js} +1 -1
  351. package/standalone/chunks/{manage-help-text-Cl9OJ2xf.js → manage-help-text-DO3PkWgh.js} +1 -1
  352. package/standalone/chunks/menu-CefrRBIS.js +100 -0
  353. package/standalone/chunks/{number-field-B6BDXkL7.js → number-field-Dc4nBa6l.js} +2 -2
  354. package/standalone/chunks/observe-slot-presence-BxmG6A0m.js +2 -0
  355. package/standalone/chunks/options-rb_zaAJ6.js +89 -0
  356. package/standalone/chunks/overlay-CgQMEmrM.js +122 -0
  357. package/standalone/chunks/{pending-state-DxeRqe6Q.js → pending-state-DnTXKvtm.js} +1 -1
  358. package/standalone/chunks/{picker-jZI5AjVJ.js → picker-HoERLlkx.js} +4 -4
  359. package/standalone/chunks/{picker-button-BZWqDoNQ.js → picker-button-DbamPU-T.js} +2 -2
  360. package/standalone/chunks/platform-wNs7qaiE.js +10 -0
  361. package/standalone/chunks/{popover-BsB3dmQe.js → popover-Ca-FBqiU.js} +1 -1
  362. package/standalone/chunks/{progress-circle-CEx1b5Sv.js → progress-circle-CFtVq9Ou.js} +1 -1
  363. package/standalone/chunks/property-BsDbx7Z2.js +2 -0
  364. package/standalone/chunks/{radio-2vHhfmHw.js → radio-BJ3RhyUD.js} +2 -2
  365. package/standalone/chunks/random-id-0GBXy8EY.js +2 -0
  366. package/standalone/chunks/repeat-CtNle5_O.js +2 -0
  367. package/standalone/chunks/{roving-tabindex-CB4xC55P.js → roving-tabindex-CivopiNn.js} +1 -1
  368. package/standalone/chunks/scaled-indicator-Do5uhz24.js +10 -0
  369. package/standalone/chunks/segments-factory-B6oGyosS.js +2 -0
  370. package/standalone/chunks/{skeleton-loader-BxYcRRJr.js → skeleton-loader-CymPdQl3.js} +1 -1
  371. package/standalone/chunks/strategies-yujlVHBS.js +4 -0
  372. package/standalone/chunks/streaming-listener-DbMoHlSj.js +8 -0
  373. package/standalone/chunks/style-map-DmBaq1-c.js +2 -0
  374. package/standalone/chunks/{swatch-CGR_GWqO.js → swatch-DivHeYOK.js} +4 -4
  375. package/standalone/chunks/{template-property-Dn64faHO.js → template-property-CyrkVY0Q.js} +1 -1
  376. package/standalone/chunks/{text-field-4OKvLOXG.js → text-field-D5ncaa2n.js} +1 -1
  377. package/standalone/chunks/{text-field-C2oROxum.js → text-field-DXzpM1Qn.js} +1 -1
  378. package/standalone/chunks/{tooltip-DB6jRVyB.js → tooltip-B-j8PrNl.js} +13 -1
  379. package/standalone/chunks/{unsafe-html-BPQaWy0v.js → unsafe-html-BeDipvu3.js} +1 -1
  380. package/standalone/clear-button.js +1 -1
  381. package/standalone/close-button.js +1 -1
  382. package/standalone/color-area.js +1 -1
  383. package/standalone/color-field.js +1 -1
  384. package/standalone/color-handle.js +1 -1
  385. package/standalone/color-loupe.js +1 -1
  386. package/standalone/color-menu.js +1 -1
  387. package/standalone/color-palette-group.js +1 -1
  388. package/standalone/color-palette.js +1 -1
  389. package/standalone/color-picker.js +1 -1
  390. package/standalone/color-slider.js +1 -1
  391. package/standalone/date-range-picker.js +3 -3
  392. package/standalone/date-time-picker.js +3 -3
  393. package/standalone/divider.js +1 -1
  394. package/standalone/field-group.js +1 -1
  395. package/standalone/field-label.js +1 -1
  396. package/standalone/icon.js +1 -1
  397. package/standalone/infield-button.js +1 -1
  398. package/standalone/label.js +1 -1
  399. package/standalone/lit.js +1 -1
  400. package/standalone/manifest.json +65 -66
  401. package/standalone/menu.js +1 -1
  402. package/standalone/multi-language-field.js +1 -1
  403. package/standalone/notice.js +1 -1
  404. package/standalone/number-field.js +1 -1
  405. package/standalone/options.js +1 -1
  406. package/standalone/overlay.js +1 -1
  407. package/standalone/picker-button.js +1 -1
  408. package/standalone/picker.js +1 -1
  409. package/standalone/popover.js +1 -1
  410. package/standalone/progress-bar.js +2 -2
  411. package/standalone/progress-circle.js +1 -1
  412. package/standalone/progress-steps.js +10 -10
  413. package/standalone/prompt-box.js +17 -17
  414. package/standalone/question-box.js +3 -3
  415. package/standalone/radio.js +1 -1
  416. package/standalone/search.js +1 -1
  417. package/standalone/select.js +6 -6
  418. package/standalone/skeleton-loader.js +1 -1
  419. package/standalone/slider.js +2 -2
  420. package/standalone/split-view.js +1 -1
  421. package/standalone/status-light.js +1 -1
  422. package/standalone/swatch.js +1 -1
  423. package/standalone/switch.js +1 -1
  424. package/standalone/table.js +22 -22
  425. package/standalone/tabs.js +2 -2
  426. package/standalone/tags.js +1 -1
  427. package/standalone/text-field.js +1 -1
  428. package/standalone/toast.js +1 -1
  429. package/standalone/tooltip.js +1 -1
  430. package/standalone/top-nav.js +1 -1
  431. package/standalone/utils.js +1 -1
  432. package/components/chat-message-BDfomRm-.cjs +0 -148
  433. package/components/checkbox-JCvBro0K.cjs +0 -25
  434. package/components/color-controller-DbyPc33Y.cjs +0 -18
  435. package/components/focus-group-C8lOjbi9.cjs +0 -18
  436. package/components/focusable-B6h03pAe.cjs +0 -18
  437. package/components/menu-CrhA2iPZ.cjs +0 -108
  438. package/components/overlay-Dn7EbA_W.cjs +0 -102
  439. package/components/progress-steps-Dqh53oC1.cjs +0 -98
  440. package/components/segments-factory-DtPyN5sh.cjs +0 -18
  441. package/components/strategies-Bb7zEjrU.cjs +0 -18
  442. package/standalone/chunks/NumberFormatter-DMCfW685.js +0 -2
  443. package/standalone/chunks/NumberParser-r_jv94LA.js +0 -2
  444. package/standalone/chunks/async-directive-BA2_dM-5.js +0 -2
  445. package/standalone/chunks/async-directive-CPdA0BOw.js +0 -2
  446. package/standalone/chunks/button-base-C7jeeyLp.js +0 -9
  447. package/standalone/chunks/calendar-BOzu003d.js +0 -122
  448. package/standalone/chunks/checkbox-DQ4wPgG_.js +0 -9
  449. package/standalone/chunks/class-map-CxQ0PcQP.js +0 -2
  450. package/standalone/chunks/color-controller-fJNWRHVI.js +0 -2
  451. package/standalone/chunks/color-slider-CAqvxsgS.js +0 -41
  452. package/standalone/chunks/flow-aCcJ5kgi.js +0 -2
  453. package/standalone/chunks/focus-group-Cl6MLy-C.js +0 -2
  454. package/standalone/chunks/keyed-CNWmQd2J.js +0 -2
  455. package/standalone/chunks/lit-BN_lRQbJ.js +0 -3
  456. package/standalone/chunks/lucero-runtime-DGJ9-isg.js +0 -16
  457. package/standalone/chunks/menu-DSMoQt1w.js +0 -92
  458. package/standalone/chunks/observe-slot-presence-DWPtw22K.js +0 -2
  459. package/standalone/chunks/options-CkmITqgV.js +0 -89
  460. package/standalone/chunks/overlay-C4ir0iyC.js +0 -31
  461. package/standalone/chunks/overlay-C_XW8yry.js +0 -57
  462. package/standalone/chunks/platform-BfrBbd97.js +0 -2
  463. package/standalone/chunks/property-CLXrnTGx.js +0 -2
  464. package/standalone/chunks/random-id-CeLe5NEk.js +0 -2
  465. package/standalone/chunks/repeat-CZdNcszA.js +0 -2
  466. package/standalone/chunks/scaled-indicator-k-1JmS0b.js +0 -10
  467. package/standalone/chunks/segments-factory-Da9ojsLC.js +0 -2
  468. package/standalone/chunks/strategies-C-vW4MlK.js +0 -2
  469. package/standalone/chunks/streaming-listener-DFczLm8I.js +0 -2
  470. package/standalone/chunks/style-map-D4QeV3m0.js +0 -2
@@ -16,13 +16,13 @@
16
16
  * SOFTWARE.
17
17
  * */
18
18
  import "./tokens.js";
19
- import { n as e, t } from "./decorate-CkCg3wfh.js";
20
- import { n } from "./sized-mixin-DzQTebN-.js";
21
- import { t as r } from "./roving-tabindex-pomAn3z-.js";
22
- import { r as i, t as a } from "./language-resolution-BaKYDD1a.js";
23
- import { r as o } from "./match-media-C5X2OZiD.js";
24
- import "./checkbox-CydI9yXG.js";
25
- import { n as s } from "./template-property-DNDi7lQv.js";
19
+ import { n as e, t } from "./decorate-CpKsOs9z.js";
20
+ import { n } from "./sized-mixin-BmxIAuoH.js";
21
+ import { t as r } from "./roving-tabindex-BKMkfzY0.js";
22
+ import { r as i, t as a } from "./language-resolution-7rc0khIK.js";
23
+ import { r as o } from "./match-media-UNh23w4s.js";
24
+ import "./checkbox-CvRvgRzh.js";
25
+ import { n as s } from "./template-property-Bks4Db5C.js";
26
26
  import { html as c, nothing as l, unsafeCSS as u } from "lit";
27
27
  import { property as d, query as f, state as p } from "lit/decorators.js";
28
28
  import { luzmoAngleDown as m, luzmoArrowDown as h, luzmoArrowUp as g, luzmoIcon as _ } from "@luzmo/icons";
@@ -32,7 +32,7 @@ import { styleMap as b } from "lit/directives/style-map.js";
32
32
  import { repeat as ee } from "lit/directives/repeat.js";
33
33
  import { createTable as te, getCoreRowModel as ne, getSortedRowModel as re } from "@tanstack/table-core";
34
34
  import { Virtualizer as ie, elementScroll as ae, observeElementOffset as oe, observeElementRect as se } from "@tanstack/virtual-core";
35
- //#region src/components/table/controllers/table-announcer.ts
35
+ // src/components/table/controllers/table-announcer.ts
36
36
  var ce = "data-luzmo-table-announcer", x, S = 0, C = 0, le = () => {
37
37
  let e = document.createElement("div");
38
38
  return e.setAttribute(ce, ""), e.setAttribute("aria-live", "polite"), e.setAttribute("aria-atomic", "true"), Object.assign(e.style, {
@@ -153,7 +153,7 @@ var ce = "data-luzmo-table-announcer", x, S = 0, C = 0, le = () => {
153
153
  onRowSelectionChange: (e) => {
154
154
  this.pendingSelection = Se(e, this.rowSelection);
155
155
  }
156
- }), this.compare = (e, t) => typeof e == "number" && typeof t == "number" ? e - t : ((!this.collator || this.collatorLocale !== this.locale) && (this.collatorLocale = this.locale, this.collator = new Intl.Collator(this.locale, {
156
+ }), this.compare = (e, t) => typeof e == "number" && typeof t == "number" ? e - t : (this.collator && this.collatorLocale === this.locale || (this.collatorLocale = this.locale, this.collator = new Intl.Collator(this.locale, {
157
157
  numeric: !0,
158
158
  sensitivity: "base"
159
159
  })), this.collator.compare(String(e), String(t)));
@@ -165,14 +165,10 @@ var ce = "data-luzmo-table-announcer", x, S = 0, C = 0, le = () => {
165
165
  this.selectedOrder = [...e], this.rowSelection = Object.fromEntries(e.map((e) => [e, !0]));
166
166
  }
167
167
  setSorting(e, t = !1) {
168
- if (this.manualSorting = t, !e) {
169
- this.sorting = [];
170
- return;
171
- }
172
- this.columns.some((t) => t.id === e.key) || (this.columns = [...this.columns, this.createSortColumn(e.key)]), this.sorting = [{
168
+ this.manualSorting = t, e ? (this.columns.some((t) => t.id === e.key) || (this.columns = [...this.columns, this.createSortColumn(e.key)]), this.sorting = [{
173
169
  id: e.key,
174
170
  desc: e.direction === "desc"
175
- }];
171
+ }]) : this.sorting = [];
176
172
  }
177
173
  get rows() {
178
174
  this.sync();
@@ -310,7 +306,7 @@ var ce = "data-luzmo-table-announcer", x, S = 0, C = 0, le = () => {
310
306
  }
311
307
  formatWidth(e) {
312
308
  let t = this.options.language();
313
- return (!this.widthFormatter || this.formatterLanguage !== t) && (this.formatterLanguage = t, this.widthFormatter = new Intl.NumberFormat(t)), this.widthFormatter.format(e);
309
+ return this.widthFormatter && this.formatterLanguage === t || (this.formatterLanguage = t, this.widthFormatter = new Intl.NumberFormat(t)), this.widthFormatter.format(e);
314
310
  }
315
311
  cellFromPath(e) {
316
312
  return e.find((e) => e instanceof HTMLElement && we.has(e.localName));
@@ -521,7 +517,7 @@ var ce = "data-luzmo-table-announcer", x, S = 0, C = 0, le = () => {
521
517
  }
522
518
  watchBodyScrollbar() {
523
519
  let e = this.body();
524
- !e || e === this.observedBody || (this.bodyObserver?.disconnect(), this.observedBody = e, this.bodyObserver ??= new ResizeObserver(() => {
520
+ e && e !== this.observedBody && (this.bodyObserver?.disconnect(), this.observedBody = e, this.bodyObserver ??= new ResizeObserver(() => {
525
521
  this.syncHeadScroll();
526
522
  }), this.bodyObserver.observe(e, { box: "content-box" }));
527
523
  }
@@ -591,13 +587,7 @@ var ce = "data-luzmo-table-announcer", x, S = 0, C = 0, le = () => {
591
587
  return !!this.virtualizer;
592
588
  }
593
589
  set enabled(e) {
594
- if (e !== this.enabled) {
595
- if (e) {
596
- this.virtualizer = new ie(this.createOptions()), this.connected && (this.cleanup = this.virtualizer._didMount());
597
- return;
598
- }
599
- this.cleanup?.(), this.cleanup = void 0, this.virtualizer = void 0, this.range = void 0;
600
- }
590
+ e !== this.enabled && (e ? (this.virtualizer = new ie(this.createOptions()), this.connected && (this.cleanup = this.virtualizer._didMount())) : (this.cleanup?.(), this.cleanup = void 0, this.virtualizer = void 0, this.range = void 0));
601
591
  }
602
592
  sync(e) {
603
593
  return this.virtualizer ? (e !== this.keys && (this.keys = e, this.virtualizer.setOptions(this.createOptions())), this.virtualizer.getVirtualItems()) : [];
@@ -660,13 +650,11 @@ var ce = "data-luzmo-table-announcer", x, S = 0, C = 0, le = () => {
660
650
  }), !0);
661
651
  }
662
652
  }, Ne = ":host{grid-template-columns:var(--table-grid-columns);min-inline-size:var(--table-min-inline-size,0);box-sizing:border-box;display:grid;overflow:hidden;border-block-start:none!important;border-inline:none!important;border-block-end-width:var(--table-row-divider-width)!important;border-block-end-style:solid!important;border-block-end-color:var(--highcontrast-table-row-divider-color,var(--luzmo-table-border-color,var(--table-row-divider-color)))!important}:host([data-last-row]){border-block-end-width:0!important}:host([hidden]){display:none!important}.cell{outline:none;grid-column:1/-1;grid-template-rows:1fr;min-inline-size:0;display:grid;overflow:hidden}:host([data-last-row]) .cell{--table-focus-end-start-radius:var(--table-corner-radius);--table-focus-end-end-radius:var(--table-corner-radius)}.cell:focus-visible{outline:var(--luzmo-indicator-width,2px) solid var(--highcontrast-table-details-focus-indicator-color,var(--luzmo-indicator-color,currentColor));outline-offset:calc(var(--luzmo-indicator-width,2px) * -1);border-start-start-radius:var(--table-focus-start-start-radius,0);border-start-end-radius:var(--table-focus-start-end-radius,0);border-end-end-radius:var(--table-focus-end-end-radius,0);border-end-start-radius:var(--table-focus-end-start-radius,0)}.content{padding-block:var(--table-details-padding-block);padding-inline:var(--table-details-padding-inline);overflow:hidden}:host([opening]) .content,:host([closing]) .content{min-block-size:0}:host([opening]) .cell{animation:table-details-open var(--luzmo-animation-duration) ease-out}:host([closing]) .cell{animation:table-details-close var(--luzmo-animation-duration) ease-in}@keyframes table-details-open{0%{opacity:0;grid-template-rows:0fr}}@keyframes table-details-close{to{opacity:0;grid-template-rows:0fr}}@media (prefers-reduced-motion:reduce){:host([opening]) .cell,:host([closing]) .cell{animation:none}}:host{--table-row-divider-color:var(--luzmo-border-color);--table-row-divider-width:var(--luzmo-border-width);--table-details-padding-block:var(--luzmo-spacing-4);--table-details-padding-inline:var(--luzmo-table-cell-padding-inline,var(--table-cell-padding-inline))}@media (forced-colors:active){:host{--highcontrast-table-row-divider-color:CanvasText;--highcontrast-table-details-focus-indicator-color:Highlight}}";
663
- //#endregion
664
- //#region src/components/table/table-styles.ts
653
+ // src/components/table/table-styles.ts
665
654
  function z(e, t) {
666
655
  return [...Array.isArray(e) ? e : e ? [e] : [], u(t)];
667
656
  }
668
- //#endregion
669
- //#region src/components/table/table-row-details.ts
657
+ // src/components/table/table-row-details.ts
670
658
  var B = class extends e {
671
659
  constructor(...e) {
672
660
  super(...e), this.role = "row", this.open = !1, this._phase = "closed", this.reducedMotion = new o(this, "(prefers-reduced-motion: reduce)"), this.handleAnimationEnd = (e) => {
@@ -685,17 +673,7 @@ var B = class extends e {
685
673
  window.clearTimeout(this._closeFallback), super.disconnectedCallback();
686
674
  }
687
675
  willUpdate(e) {
688
- if (super.willUpdate(e), !(!e.has("open") && this.hasUpdated)) {
689
- if (this.open) {
690
- this.hidden = !1, this._phase = this.hasUpdated && !this.reducedMotion.matches ? "opening" : "open";
691
- return;
692
- }
693
- if (!this.hasUpdated || this.reducedMotion.matches || this._phase === "closed") {
694
- this._phase = "closed", this.hidden = !0;
695
- return;
696
- }
697
- this._phase = "closing";
698
- }
676
+ super.willUpdate(e), (e.has("open") || !this.hasUpdated) && (this.open ? (this.hidden = !1, this._phase = this.hasUpdated && !this.reducedMotion.matches ? "opening" : "open") : !this.hasUpdated || this.reducedMotion.matches || this._phase === "closed" ? (this._phase = "closed", this.hidden = !0) : this._phase = "closing");
699
677
  }
700
678
  render() {
701
679
  return c`
@@ -716,8 +694,7 @@ t([d({ reflect: !0 })], B.prototype, "role", void 0), t([d({
716
694
  type: Boolean,
717
695
  reflect: !0
718
696
  })], B.prototype, "open", void 0), t([p()], B.prototype, "_phase", void 0);
719
- //#endregion
720
- //#region src/components/table/table-templates.ts
697
+ // src/components/table/table-templates.ts
721
698
  var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
722
699
  let n = t[e.accessorKey ?? e.id];
723
700
  return typeof n == "string" || typeof n == "number" ? String(n) : "";
@@ -766,7 +743,7 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
766
743
  <luzmo-table-body>
767
744
  ${o ? U(e.paddingStart) : l}
768
745
  ${ee(t, ({ record: e }) => e.value, ({ record: t, position: s }) => {
769
- let u = !!i && !t.information, d = e.expandable && !t.information, f = d && e.isExpanded(t.value), p = s === e.rowCount - 1, m = e.ariaIndexes?.get(t.value), h = m?.row ?? (a === void 0 ? void 0 : s + a), g = c`${c`
746
+ let u = !!i && !t.information, d = e.expandable && !t.information, f = d && e.isExpanded(t.value), p = s === e.rowCount - 1, m = e.ariaIndexes?.get(t.value), h = m?.row ?? (a === void 0 ? void 0 : s + a), g = c`
770
747
  <luzmo-table-row
771
748
  value=${t.value}
772
749
  data-index=${v(o ? void 0 : s)}
@@ -787,7 +764,7 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
787
764
  .detailsId=${d ? T(t.value) : ""}
788
765
  >${Fe(t, n, r)}</luzmo-table-row
789
766
  >
790
- `}${d ? c`
767
+ `, _ = d ? c`
791
768
  <luzmo-table-row-details
792
769
  id=${T(t.value)}
793
770
  .open=${f}
@@ -795,8 +772,8 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
795
772
  ?data-last-row=${p}
796
773
  >${e.renderDetails?.(t.item, t.index)}</luzmo-table-row-details
797
774
  >
798
- ` : l}`;
799
- return o ? c`<div class="row-group" data-index=${s}>${g}</div>` : g;
775
+ ` : l, y = c`${g}${_}`;
776
+ return o ? c`<div class="row-group" data-index=${s}>${y}</div>` : y;
800
777
  })}
801
778
  ${o ? U(e.paddingEnd) : l}
802
779
  </luzmo-table-body>
@@ -824,22 +801,7 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
824
801
  "luzmo-table-cell",
825
802
  "luzmo-table-head-cell",
826
803
  "luzmo-table-checkbox-cell"
827
- ]), Ve = [
828
- "a[href]",
829
- "button",
830
- "input",
831
- "select",
832
- "textarea",
833
- "label",
834
- "summary",
835
- "[contenteditable=\"\"]",
836
- "[contenteditable=\"true\"]",
837
- "[role=\"button\"]",
838
- "[role=\"link\"]",
839
- "[role=\"checkbox\"]",
840
- "[role=\"switch\"]",
841
- "[role=\"menuitem\"]"
842
- ].join(","), He = "textarea, select, [contenteditable=\"\"], [contenteditable=\"true\"], input:not([type=\"checkbox\"]):not([type=\"radio\"]):not([type=\"button\"]):not([type=\"submit\"]):not([type=\"reset\"])", Ue = [
804
+ ]), Ve = "a[href],button,input,select,textarea,label,summary,[contenteditable=\"\"],[contenteditable=\"true\"],[role=\"button\"],[role=\"link\"],[role=\"checkbox\"],[role=\"switch\"],[role=\"menuitem\"]", He = "textarea, select, [contenteditable=\"\"], [contenteditable=\"true\"], input:not([type=\"checkbox\"]):not([type=\"radio\"]):not([type=\"button\"]):not([type=\"submit\"]):not([type=\"reset\"])", Ue = [
843
805
  "columns",
844
806
  "columnWidths",
845
807
  "selects",
@@ -908,13 +870,7 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
908
870
  }
909
871
  if (!r) return;
910
872
  let i = t.indexOf(r);
911
- if (!t.slice(0, i).some((e) => G(e) && (e.localName === "luzmo-table-checkbox-cell" || e.localName === "luzmo-table-disclosure-cell" || e.matches(Ve)))) {
912
- if (this.selects) {
913
- this._toggleRow(r);
914
- return;
915
- }
916
- r.expandable && this.expansion.toggle(r);
917
- }
873
+ t.slice(0, i).some((e) => G(e) && (e.localName === "luzmo-table-checkbox-cell" || e.localName === "luzmo-table-disclosure-cell" || e.matches(Ve))) || (this.selects ? this._toggleRow(r) : r.expandable && this.expansion.toggle(r));
918
874
  }, this.handleFocusin = (e) => {
919
875
  if (!this._owns(e)) return;
920
876
  let t = this._gridElementFromPath(e.composedPath());
@@ -932,11 +888,8 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
932
888
  return;
933
889
  }
934
890
  let o = this._virtualNavigationTarget(e);
935
- if (o) {
936
- e.preventDefault(), e.stopImmediatePropagation(), this._focusVirtualCell(o.index, o.column);
937
- return;
938
- }
939
- if (r && (e.code === "Space" || e.code === "Enter" || e.code === "NumpadEnter")) {
891
+ if (o) e.preventDefault(), e.stopImmediatePropagation(), this._focusVirtualCell(o.index, o.column);
892
+ else if (r && (e.code === "Space" || e.code === "Enter" || e.code === "NumpadEnter")) {
940
893
  if (e.repeat) {
941
894
  a && e.preventDefault();
942
895
  return;
@@ -969,11 +922,7 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
969
922
  n && this.navigation.focusElement(n, e);
970
923
  }
971
924
  scrollToIndex(e) {
972
- if (this.virtualizer.enabled) {
973
- this.virtualizer.scrollToIndex(e);
974
- return;
975
- }
976
- this._rowElements()[e]?.scrollIntoView({ block: "nearest" });
925
+ this.virtualizer.enabled ? this.virtualizer.scrollToIndex(e) : this._rowElements()[e]?.scrollIntoView({ block: "nearest" });
977
926
  }
978
927
  startManagingContentDirection(e) {
979
928
  this.directionManaged.add(e), this._syncDirection(e);
@@ -1025,10 +974,12 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
1025
974
  updated(e) {
1026
975
  super.updated(e), e.has("selects") && (this.selects === "multiple" ? this.setAttribute("aria-multiselectable", "true") : this.removeAttribute("aria-multiselectable"));
1027
976
  let t = this._modelSynced;
1028
- if (this._modelSynced = !1, t || e.has("virtualized")) if (this.virtualizer.enabled) {
1029
- let e = this._rows.filter((e) => this.expanded.includes(e.value)).length;
1030
- this.setAttribute("aria-rowcount", String(this._rows.length + e + +!!this._head()));
1031
- } else this.removeAttribute("aria-rowcount");
977
+ if (this._modelSynced = !1, t || e.has("virtualized")) {
978
+ if (this.virtualizer.enabled) {
979
+ let e = this._rows.filter((e) => this.expanded.includes(e.value)).length;
980
+ this.setAttribute("aria-rowcount", String(this._rows.length + e + +!!this._head()));
981
+ } else this.removeAttribute("aria-rowcount");
982
+ }
1032
983
  let n = e;
1033
984
  (t || Be.some((e) => n.has(e))) && (this.layout.syncPresentation(), this._isDataMode && this._warnSlottedRows()), (t || n.has("columnWidths") || n.has("virtualized") || n.has("renderItem") || n.has(L)) && this._refreshNavigation();
1034
985
  }
@@ -1263,8 +1214,7 @@ t([d({ reflect: !0 })], K.prototype, "role", void 0), t([d({ reflect: !0 })], K.
1263
1214
  type: Boolean,
1264
1215
  reflect: !0
1265
1216
  })], K.prototype, "virtualized", void 0), t([d({ attribute: !1 })], K.prototype, "labels", void 0), t([p()], K.prototype, "_sort", void 0), t([p()], K.prototype, "_clientSort", void 0), t([p()], K.prototype, "_lightDomVersion", void 0);
1266
- //#endregion
1267
- //#region src/components/table/table-body.module.scss?inline
1217
+ // src/components/table/table-body.module.scss?inline
1268
1218
  var We = ":host{box-sizing:border-box;min-block-size:0;min-inline-size:0;overflow-x:auto;overflow-y:var(--table-body-overflow,visible);overflow-anchor:none;outline:none;flex:auto;display:block}:host::-webkit-scrollbar{width:var(--luzmo-table-scrollbar-width,var(--table-body-scrollbar-width));height:var(--luzmo-table-scrollbar-width,var(--table-body-scrollbar-width))}:host::-webkit-scrollbar-track{background:var(--luzmo-table-scrollbar-track-background,var(--table-body-scrollbar-track-background));border-radius:var(--luzmo-table-scrollbar-track-border-radius,var(--table-body-scrollbar-track-border-radius))}:host::-webkit-scrollbar-thumb{background:var(--luzmo-table-scrollbar-thumb-background,var(--table-body-scrollbar-thumb-background));border-radius:var(--luzmo-table-scrollbar-thumb-border-radius,var(--table-body-scrollbar-thumb-border-radius))}:host::-webkit-scrollbar-thumb:hover{background:var(--luzmo-table-scrollbar-thumb-hover-background,var(--table-body-scrollbar-thumb-hover-background))}:host{scrollbar-width:var(--luzmo-scrollbar-width,thin);scrollbar-color:var(--luzmo-table-scrollbar-thumb-background,var(--table-body-scrollbar-thumb-background)) var(--luzmo-table-scrollbar-track-background,var(--table-body-scrollbar-track-background))}::slotted(.row-group),::slotted(.virtual-spacer){min-inline-size:var(--table-min-inline-size,0);overflow-anchor:none;display:flow-root}:host(:focus-visible){outline:var(--table-body-focus-indicator-width) solid var(--highcontrast-table-body-focus-indicator-color,var(--table-body-focus-indicator-color));outline-offset:calc(var(--table-body-focus-indicator-width) * -1);border-end-end-radius:var(--table-corner-radius,0);border-end-start-radius:var(--table-corner-radius,0)}:host{--table-body-scrollbar-width:var(--luzmo-scrollbar-size);--table-body-scrollbar-track-background:var(--luzmo-scrollbar-track-background);--table-body-scrollbar-track-border-radius:var(--luzmo-scrollbar-track-border-radius);--table-body-scrollbar-thumb-background:var(--luzmo-scrollbar-thumb-background);--table-body-scrollbar-thumb-border-radius:var(--luzmo-scrollbar-thumb-border-radius);--table-body-scrollbar-thumb-hover-background:var(--luzmo-scrollbar-thumb-hover-background);--table-body-focus-indicator-width:calc(var(--luzmo-indicator-width) * 2);--table-body-focus-indicator-color:var(--luzmo-indicator-color)}@media (forced-colors:active){:host{--highcontrast-table-body-focus-indicator-color:Highlight}}", q = class extends e {
1269
1219
  static get styles() {
1270
1220
  return z(super.styles, We);
@@ -1291,8 +1241,7 @@ var We = ":host{box-sizing:border-box;min-block-size:0;min-inline-size:0;overflo
1291
1241
  }
1292
1242
  };
1293
1243
  t([d({ reflect: !0 })], q.prototype, "role", void 0);
1294
- //#endregion
1295
- //#region src/components/table/table-cell.module.scss?inline
1244
+ // src/components/table/table-cell.module.scss?inline
1296
1245
  var Ge = ":host{box-sizing:border-box;min-inline-size:0;padding-block:var(--table-cell-padding-block);padding-inline:var(--luzmo-table-cell-padding-inline,var(--table-cell-padding-inline));outline:none;align-self:stretch;align-items:center;display:flex;border-block:none!important;border-inline-start:none!important;border-inline-end-width:var(--luzmo-table-column-divider-width,var(--table-column-divider-width))!important;border-inline-end-style:solid!important;border-inline-end-color:var(--highcontrast-table-column-divider-color,var(--luzmo-table-column-divider-color,var(--table-column-divider-color)))!important}:host([span-all]){grid-column:1/-1;border-inline-end-width:0!important}:host(:last-of-type){border-inline-end-width:0!important}.content{overflow-wrap:anywhere;min-inline-size:0;overflow:hidden}.content.clamped{-webkit-line-clamp:var(--table-cell-line-clamp);line-clamp:var(--table-cell-line-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:host(:focus-visible){outline:var(--luzmo-indicator-width,2px) solid var(--highcontrast-table-cell-focus-indicator-color,var(--luzmo-indicator-color,currentColor));outline-offset:calc(var(--luzmo-indicator-width,2px) * -1);border-start-start-radius:var(--table-focus-start-start-radius,0);border-start-end-radius:var(--table-focus-start-end-radius,0);border-end-end-radius:var(--table-focus-end-end-radius,0);border-end-start-radius:var(--table-focus-end-start-radius,0)}:host{--table-cell-focus-indicator-width:var(--luzmo-indicator-width);--table-cell-focus-indicator-color:var(--luzmo-indicator-color)}@media (forced-colors:active){:host{--highcontrast-table-cell-focus-indicator-color:Highlight}}", J = class extends e {
1297
1246
  constructor(...e) {
1298
1247
  super(...e), this.role = "gridcell", this.spanAll = !1;
@@ -1327,15 +1276,14 @@ t([d({ reflect: !0 })], J.prototype, "role", void 0), t([d({
1327
1276
  reflect: !0,
1328
1277
  attribute: "span-all"
1329
1278
  })], J.prototype, "spanAll", void 0), t([p()], J.prototype, "columnLineClamp", void 0);
1330
- //#endregion
1331
- //#region src/components/table/table-checkbox-cell.module.scss?inline
1279
+ // src/components/table/table-checkbox-cell.module.scss?inline
1332
1280
  var Ke = ":host{flex:0 0 var(--table-checkbox-cell-inline-size);box-sizing:border-box;padding-block:var(--table-cell-padding-block);outline:none;justify-content:center;align-self:stretch;align-items:center;display:flex;border-block:none!important;border-inline-start:none!important;border-inline-end-width:var(--luzmo-table-column-divider-width,var(--table-column-divider-width))!important;border-inline-end-style:solid!important;border-inline-end-color:var(--highcontrast-table-column-divider-color,var(--luzmo-table-column-divider-color,var(--table-column-divider-color)))!important}:host(:focus-visible){outline:var(--luzmo-indicator-width,2px) solid var(--highcontrast-table-checkbox-cell-focus-indicator-color,var(--luzmo-indicator-color,currentColor));outline-offset:calc(var(--luzmo-indicator-width,2px) * -1);border-start-start-radius:var(--table-focus-start-start-radius,0);border-start-end-radius:var(--table-focus-start-end-radius,0);border-end-end-radius:var(--table-focus-end-end-radius,0);border-end-start-radius:var(--table-focus-end-start-radius,0)}.checkbox{margin:0}.label{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:host{--table-checkbox-cell-focus-indicator-width:var(--luzmo-indicator-width);--table-checkbox-cell-focus-indicator-color:var(--luzmo-indicator-color)}@media (forced-colors:active){:host{--highcontrast-table-checkbox-cell-focus-indicator-color:Highlight}}", Y = class extends e {
1333
1281
  static get styles() {
1334
1282
  return z(super.styles, Ke);
1335
1283
  }
1336
1284
  constructor() {
1337
1285
  super(), this.role = "gridcell", this.headCell = !1, this.checked = !1, this.indeterminate = !1, this.disabled = !1, this.selectsSingle = !1, this.emphasized = !1, this.label = "", this.size = "m", this.handleClick = (e) => {
1338
- !this.checkbox || e.composedPath().includes(this.checkbox) || this.checkbox.click();
1286
+ this.checkbox && !e.composedPath().includes(this.checkbox) && this.checkbox.click();
1339
1287
  }, this.addEventListener("click", this.handleClick);
1340
1288
  }
1341
1289
  render() {
@@ -1379,8 +1327,7 @@ t([d({ reflect: !0 })], Y.prototype, "role", void 0), t([d({
1379
1327
  type: Boolean,
1380
1328
  reflect: !0
1381
1329
  })], Y.prototype, "emphasized", void 0), t([d({ reflect: !0 })], Y.prototype, "label", void 0), t([p()], Y.prototype, "size", void 0), t([f("luzmo-checkbox")], Y.prototype, "checkbox", void 0);
1382
- //#endregion
1383
- //#region src/components/table/table-head.module.scss?inline
1330
+ // src/components/table/table-head.module.scss?inline
1384
1331
  var qe = ":host{grid-template-columns:var(--table-grid-columns);min-inline-size:var(--table-min-inline-size,0);box-sizing:border-box;min-block-size:calc(var(--luzmo-table-row-min-block-size,var(--table-row-min-block-size)) + var(--table-row-density-offset));background-color:var(--table-head-background-color);flex:none;align-items:stretch;display:grid;border-block-start:none!important;border-inline:none!important;border-block-end-width:var(--table-head-divider-width)!important;border-block-end-style:solid!important;border-block-end-color:var(--highcontrast-table-head-divider-color,var(--luzmo-table-border-color,var(--table-head-divider-color)))!important}luzmo-table-checkbox-cell,.leading::slotted(luzmo-table-head-cell:first-of-type){--table-focus-start-start-radius:var(--table-corner-radius)}.disclosure-spacer{box-sizing:border-box;inline-size:var(--table-disclosure-cell-inline-size);align-self:stretch;border-block:none!important;border-inline-start:none!important;border-inline-end-width:var(--luzmo-table-column-divider-width,var(--table-column-divider-width))!important;border-inline-end-style:solid!important;border-inline-end-color:var(--highcontrast-table-column-divider-color,var(--luzmo-table-column-divider-color,var(--table-column-divider-color)))!important}:host{--table-head-background-color:rgba(var(--luzmo-background-color-rgb), 0);--table-head-divider-color:var(--luzmo-border-color);--table-head-divider-width:var(--luzmo-border-width)}@media (forced-colors:active){:host{--highcontrast-table-head-divider-color:CanvasText}}", X = class extends e {
1385
1332
  static get styles() {
1386
1333
  return z(super.styles, qe);
@@ -1393,7 +1340,7 @@ var qe = ":host{grid-template-columns:var(--table-grid-columns);min-inline-size:
1393
1340
  }, this.addEventListener("luzmo-table-sorted", this.handleSorted);
1394
1341
  }
1395
1342
  render() {
1396
- return c`${this.selects ? c`
1343
+ let e = this.selects ? c`
1397
1344
  <luzmo-table-checkbox-cell
1398
1345
  head-cell
1399
1346
  .checked=${this.checked}
@@ -1403,8 +1350,9 @@ var qe = ":host{grid-template-columns:var(--table-grid-columns);min-inline-size:
1403
1350
  .label=${this.checkboxLabel}
1404
1351
  .size=${this.checkboxSize}
1405
1352
  ></luzmo-table-checkbox-cell>
1406
- ` : l}${this.expandable ? c`<span class="disclosure-spacer" role="gridcell"></span>` : l}<slot
1407
- class=${!this.selects && !this.expandable ? "leading" : ""}
1353
+ ` : l, t = this.expandable ? c`<span class="disclosure-spacer" role="gridcell"></span>` : l, n = !this.selects && !this.expandable;
1354
+ return c`${e}${t}<slot
1355
+ class=${n ? "leading" : ""}
1408
1356
  ></slot>`;
1409
1357
  }
1410
1358
  };
@@ -1412,8 +1360,7 @@ t([d({ reflect: !0 })], X.prototype, "role", void 0), t([d({
1412
1360
  type: Boolean,
1413
1361
  reflect: !0
1414
1362
  })], X.prototype, "selected", void 0), t([p()], X.prototype, "selects", void 0), t([p()], X.prototype, "checked", void 0), t([p()], X.prototype, "indeterminate", void 0), t([p()], X.prototype, "emphasized", void 0), t([p()], X.prototype, "checkboxLabel", void 0), t([p()], X.prototype, "checkboxSize", void 0), t([p()], X.prototype, "expandable", void 0);
1415
- //#endregion
1416
- //#region src/components/table/table-head-cell.module.scss?inline
1363
+ // src/components/table/table-head-cell.module.scss?inline
1417
1364
  var Je = ":host{align-self:stretch;align-items:center;gap:var(--luzmo-spacing-2);box-sizing:border-box;min-inline-size:0;padding-block:var(--table-cell-padding-block);padding-inline:var(--luzmo-table-cell-padding-inline,var(--table-cell-padding-inline));font-weight:var(--table-head-cell-font-weight);color:var(--table-head-cell-font-color);text-align:start;outline:none;display:flex;position:relative;border-block:none!important;border-inline-start:none!important;border-inline-end-width:var(--luzmo-table-column-divider-width,var(--table-column-divider-width))!important;border-inline-end-style:solid!important;border-inline-end-color:var(--highcontrast-table-column-divider-color,var(--luzmo-table-column-divider-color,var(--table-column-divider-color)))!important}:host(:last-of-type){--table-focus-start-end-radius:var(--table-corner-radius);border-inline-end-width:0!important}.content{overflow-wrap:anywhere;flex:auto;min-inline-size:0;overflow:hidden}.content.clamped{-webkit-line-clamp:var(--table-cell-line-clamp);line-clamp:var(--table-cell-line-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.resize-handle{z-index:1;inline-size:var(--luzmo-component-height-xs);box-sizing:border-box;cursor:col-resize;touch-action:none;justify-content:center;align-items:stretch;display:flex;position:absolute;inset-block:0;inset-inline-end:calc(var(--luzmo-spacing-4) * -1)}.resize-handle:before{content:\"\";inline-size:var(--luzmo-indicator-gap,2px);background:var(--luzmo-indicator-color,currentColor);opacity:0}.resize-handle:hover:before,.resize-handle:active:before,.resize-handle:focus-visible:before{opacity:1}:host(:last-of-type) .resize-handle{justify-content:flex-end;inset-inline-end:0}.resize-handle:focus,.resize-handle:focus-visible{outline:none}:host([sortable]){cursor:pointer;-webkit-user-select:none;user-select:none}:host([sortable]:hover){color:var(--table-head-cell-font-color-hover)}:host([active]){color:var(--table-head-cell-font-color-down)}:host(:focus-visible){outline:var(--luzmo-indicator-width,2px) solid var(--highcontrast-table-head-cell-focus-indicator-color,var(--luzmo-indicator-color,currentColor));outline-offset:calc(var(--luzmo-indicator-width,2px) * -1);border-start-start-radius:var(--table-focus-start-start-radius,0);border-start-end-radius:var(--table-focus-start-end-radius,0);border-end-end-radius:var(--table-focus-end-end-radius,0);border-end-start-radius:var(--table-focus-end-start-radius,0)}.sort-icon{inline-size:var(--table-sort-icon-size);block-size:var(--table-sort-icon-size);flex:none;display:inline-flex}.sort-icon svg{fill:currentColor;block-size:100%;inline-size:100%}@media (forced-colors:active){.resize-handle:before{background:canvastext}}:host{--table-head-cell-font-weight:var(--luzmo-font-weight-bold);--table-head-cell-font-color:var(--luzmo-font-color);--table-head-cell-font-color-hover:var(--luzmo-font-color-hover);--table-head-cell-font-color-down:var(--luzmo-font-color-down);--table-head-cell-focus-indicator-width:var(--luzmo-indicator-width);--table-head-cell-focus-indicator-color:var(--luzmo-indicator-color)}@media (forced-colors:active){:host{--highcontrast-table-head-cell-focus-indicator-color:Highlight}}", Z = class extends e {
1418
1365
  static get styles() {
1419
1366
  return z(super.styles, Je);
@@ -1422,9 +1369,9 @@ var Je = ":host{align-self:stretch;align-items:center;gap:var(--luzmo-spacing-2)
1422
1369
  super(), this.role = "columnheader", this.active = !1, this.sortable = !1, this.sortKey = "", this.columnId = "", this.resizable = !1, this.currentWidth = 0, this.resizeLabel = "", this.handleClick = (e) => {
1423
1370
  e.composedPath().some((e) => e instanceof HTMLElement && e.classList.contains("resize-handle")) || this._sort();
1424
1371
  }, this.handleKeydown = (e) => {
1425
- !this.sortable || e.composedPath()[0] !== this || (e.code === "Enter" || e.code === "NumpadEnter" ? (e.preventDefault(), this._sort()) : e.code === "Space" && (e.preventDefault(), this.active = !0));
1372
+ this.sortable && e.composedPath()[0] === this && (e.code === "Enter" || e.code === "NumpadEnter" ? (e.preventDefault(), this._sort()) : e.code === "Space" && (e.preventDefault(), this.active = !0));
1426
1373
  }, this.handleKeyup = (e) => {
1427
- e.code !== "Space" || !this.active || (this.active = !1, this._sort());
1374
+ e.code === "Space" && this.active && (this.active = !1, this._sort());
1428
1375
  }, this.handleBlur = () => {
1429
1376
  this.active = !1;
1430
1377
  }, this.addEventListener("click", this.handleClick), this.addEventListener("keydown", this.handleKeydown), this.addEventListener("keyup", this.handleKeyup), this.addEventListener("blur", this.handleBlur);
@@ -1518,8 +1465,7 @@ t([d({ reflect: !0 })], Z.prototype, "role", void 0), t([d({
1518
1465
  reflect: !0,
1519
1466
  attribute: "line-clamp"
1520
1467
  })], Z.prototype, "lineClamp", void 0), t([p()], Z.prototype, "currentWidth", void 0), t([p()], Z.prototype, "resizeLabel", void 0);
1521
- //#endregion
1522
- //#region src/components/table/table-disclosure-cell.module.scss?inline
1468
+ // src/components/table/table-disclosure-cell.module.scss?inline
1523
1469
  var Ye = ":host{flex:0 0 var(--table-disclosure-cell-inline-size);box-sizing:border-box;min-inline-size:var(--table-disclosure-cell-inline-size);outline:none;justify-content:center;align-self:stretch;align-items:center;display:flex;border-block:none!important;border-inline-start:none!important;border-inline-end-width:var(--luzmo-table-column-divider-width,var(--table-column-divider-width))!important;border-inline-end-style:solid!important;border-inline-end-color:var(--highcontrast-table-column-divider-color,var(--luzmo-table-column-divider-color,var(--table-column-divider-color)))!important}:host(:focus-visible){outline:var(--luzmo-indicator-width,2px) solid var(--highcontrast-table-disclosure-cell-focus-indicator-color,var(--luzmo-indicator-color,currentColor));outline-offset:calc(var(--luzmo-indicator-width,2px) * -1);border-start-start-radius:var(--table-focus-start-start-radius,0);border-start-end-radius:var(--table-focus-start-end-radius,0);border-end-end-radius:var(--table-focus-end-end-radius,0);border-end-start-radius:var(--table-focus-end-start-radius,0)}.button{block-size:100%;inline-size:100%;min-inline-size:var(--luzmo-component-height-xs);min-block-size:var(--luzmo-component-height-xs);background:rgba(var(--luzmo-background-color-rgb), 0);color:inherit;cursor:pointer;border:0;outline:none;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.icon{inline-size:var(--table-sort-icon-size);block-size:var(--table-sort-icon-size);display:inline-flex;transform:rotate(-90deg)}.icon svg{fill:currentColor;block-size:100%;inline-size:100%}:host([expanded]) .icon{transform:rotate(0)}:host([dir=rtl]:not([expanded])) .icon{transform:rotate(90deg)}@media (prefers-reduced-motion:no-preference){.icon{transition:transform var(--luzmo-animation-duration) ease}}:host{--table-disclosure-cell-focus-indicator-width:var(--luzmo-indicator-width);--table-disclosure-cell-focus-indicator-color:var(--luzmo-indicator-color)}@media (forced-colors:active){:host{--highcontrast-table-disclosure-cell-focus-indicator-color:Highlight}}", Q = class extends e {
1524
1470
  constructor(...e) {
1525
1471
  super(...e), this.role = "gridcell", this.expanded = !1, this.label = "";
@@ -1547,8 +1493,7 @@ t([d({ reflect: !0 })], Q.prototype, "role", void 0), t([d({
1547
1493
  type: Boolean,
1548
1494
  reflect: !0
1549
1495
  })], Q.prototype, "expanded", void 0), t([d({ reflect: !0 })], Q.prototype, "label", void 0);
1550
- //#endregion
1551
- //#region src/components/table/table-row.module.scss?inline
1496
+ // src/components/table/table-row.module.scss?inline
1552
1497
  var Xe = ":host{grid-template-columns:var(--table-grid-columns);min-inline-size:var(--table-min-inline-size,0);box-sizing:border-box;min-block-size:calc(var(--luzmo-table-row-min-block-size,var(--table-row-min-block-size)) + var(--table-row-density-offset));align-items:stretch;display:grid;border-block-start:none!important;border-inline:none!important;border-block-end-width:var(--table-row-divider-width)!important;border-block-end-style:solid!important;border-block-end-color:var(--highcontrast-table-row-divider-color,var(--luzmo-table-border-color,var(--table-row-divider-color)))!important}:host([data-last-row]:not([expanded])){border-block-end-width:0!important}:host([data-last-row]:not([expanded])) .leading:not(slot),:host([data-last-row]:not([expanded])) slot.leading::slotted(luzmo-table-cell:first-of-type){--table-focus-end-start-radius:var(--table-corner-radius)}:host([data-last-row]:not([expanded])) ::slotted(luzmo-table-cell:last-of-type){--table-focus-end-end-radius:var(--table-corner-radius)}:host([selectable]){cursor:pointer}:host([selectable]:hover){background-color:var(--table-row-hover-background-color)}:host([selected]){background-color:var(--luzmo-table-row-selected-background-color,var(--table-row-selected-background-color))}:host([selected]:hover){background-color:var(--luzmo-table-row-selected-background-color,var(--table-row-selected-hover-background-color))}.selection-spacer{inline-size:var(--table-checkbox-cell-inline-size)}.selection-spacer,.disclosure-spacer{box-sizing:border-box;align-self:stretch;border-block:none!important;border-inline-start:none!important;border-inline-end-width:var(--luzmo-table-column-divider-width,var(--table-column-divider-width))!important;border-inline-end-style:solid!important;border-inline-end-color:var(--highcontrast-table-column-divider-color,var(--luzmo-table-column-divider-color,var(--table-column-divider-color)))!important}.disclosure-spacer{inline-size:var(--table-disclosure-cell-inline-size)}@media (forced-colors:active){:host([selected]){forced-color-adjust:none;color:highlighttext;background-color:highlight}}:host{--table-row-divider-color:var(--luzmo-border-color);--table-row-divider-width:var(--luzmo-border-width);--table-row-hover-background-color:var(--luzmo-background-color-hover)}@media (forced-colors:active){:host{--highcontrast-table-row-divider-color:CanvasText}}", $ = class extends e {
1553
1498
  constructor(...e) {
1554
1499
  super(...e), this.role = "row", this.value = "", this.selected = !1, this.selectable = !1, this.expanded = !1, this.expandable = !1, this.selectsSingle = !1, this.emphasized = !1, this.selectionColumn = !1, this.expansionColumn = !1, this.spanAll = !1, this.checkboxLabel = "", this.disclosureLabel = "", this.detailsId = "", this.checkboxSize = "m";
@@ -1597,5 +1542,4 @@ t([d({ reflect: !0 })], $.prototype, "role", void 0), t([d({ reflect: !0 })], $.
1597
1542
  type: Boolean,
1598
1543
  reflect: !0
1599
1544
  })], $.prototype, "expandable", void 0), t([p()], $.prototype, "selectsSingle", void 0), t([p()], $.prototype, "emphasized", void 0), t([p()], $.prototype, "selectionColumn", void 0), t([p()], $.prototype, "expansionColumn", void 0), t([p()], $.prototype, "spanAll", void 0), t([p()], $.prototype, "checkboxLabel", void 0), t([p()], $.prototype, "disclosureLabel", void 0), t([p()], $.prototype, "detailsId", void 0), t([p()], $.prototype, "checkboxSize", void 0), typeof customElements < "u" && !customElements.get("luzmo-table") && customElements.define("luzmo-table", K), typeof customElements < "u" && !customElements.get("luzmo-table-head") && customElements.define("luzmo-table-head", X), typeof customElements < "u" && !customElements.get("luzmo-table-head-cell") && customElements.define("luzmo-table-head-cell", Z), typeof customElements < "u" && !customElements.get("luzmo-table-body") && customElements.define("luzmo-table-body", q), typeof customElements < "u" && !customElements.get("luzmo-table-row") && customElements.define("luzmo-table-row", $), typeof customElements < "u" && !customElements.get("luzmo-table-cell") && customElements.define("luzmo-table-cell", J), typeof customElements < "u" && !customElements.get("luzmo-table-checkbox-cell") && customElements.define("luzmo-table-checkbox-cell", Y), typeof customElements < "u" && !customElements.get("luzmo-table-disclosure-cell") && customElements.define("luzmo-table-disclosure-cell", Q), typeof customElements < "u" && !customElements.get("luzmo-table-row-details") && customElements.define("luzmo-table-row-details", B);
1600
- //#endregion
1601
1545
  export { Y as a, K as c, X as i, B as l, Q as n, J as o, Z as r, q as s, $ as t, k as u };
@@ -15,4 +15,4 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require("../tokens.cjs");const e=require("../tabs-CMU8X4ho.cjs");exports.LuzmoTab=e.i,exports.LuzmoTabPanel=e.r,exports.LuzmoTabs=e.n,exports.LuzmoTabsOverflow=e.t;
18
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require("../tokens.cjs");const e=require("../tabs-B0WHKMuF.cjs");exports.LuzmoTab=e.i,exports.LuzmoTabPanel=e.r,exports.LuzmoTabs=e.n,exports.LuzmoTabsOverflow=e.t;
@@ -16,5 +16,4 @@
16
16
  * SOFTWARE.
17
17
  * */
18
18
  import "../tokens.js";
19
- import { i as e, n as t, r as n, t as r } from "../tabs-D8U2PxcE.js";
20
- export { e as LuzmoTab, n as LuzmoTabPanel, t as LuzmoTabs, r as LuzmoTabsOverflow };
19
+ export { i as LuzmoTab, r as LuzmoTabPanel, n as LuzmoTabs, t as LuzmoTabsOverflow } from "../tabs-Dkt0B_-A.js";
@@ -15,7 +15,7 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- require("./tokens.cjs");const e=require("./decorate-Dq34MBGe.cjs"),t=require("./sized-mixin-BT7cv-fT.cjs"),n=require("./focus-visible-DNHNlrty.cjs"),r=require("./focusable-B6h03pAe.cjs"),i=require("./roving-tabindex-BoPao4td.cjs");require("./icon-zOPAWCdx.cjs");const a=require("./observe-slot-text-CvL-2ey3.cjs"),o=require("./random-id-BcUJAxUZ.cjs");require("./action-button-B4_uvHiN.cjs");const s=require("./observe-slot-presence-CS8pMePk.cjs"),c=require("./scaled-indicator-DLJIztx0.cjs");let l=require("lit"),u=require("lit/decorators.js"),d=require("@luzmo/icons"),f=require("lit/directives/if-defined.js"),p=require("lit/directives/class-map.js"),m=require("lit/decorators/property.js"),h=require("@lit-labs/observers/intersection-controller.js"),g=require("@lit-labs/observers/resize-controller.js");var _=`:host{font-family:var(--luzmo-tab-font-family,var(--luzmo-font-family));box-sizing:border-box;block-size:calc(var(--luzmo-tabs-item-height,var(--tabs-item-height)) - var(--luzmo-tabs-divider-size,var(--tabs-divider-size)));z-index:1;white-space:nowrap;color:var(--highcontrast-tabs-color,var(--luzmo-tabs-color,var(--tabs-color)));transition:color var(--luzmo-tabs-animation-duration,var(--tabs-animation-duration)) ease-out;cursor:pointer;outline:none;-webkit-text-decoration:none;text-decoration:none;position:relative}::slotted([slot=icon]){block-size:var(--luzmo-tabs-icon-size,var(--tabs-icon-size));inline-size:var(--luzmo-tabs-icon-size,var(--tabs-icon-size));margin-block-start:var(--luzmo-tabs-top-to-icon,var(--tabs-top-to-icon))}[name=icon]+#item-label{margin-inline-start:var(--luzmo-tabs-icon-to-text,var(--tabs-icon-to-text))}:host:before{content:"";box-sizing:border-box;block-size:calc(100% - var(--luzmo-tabs-top-to-text,var(--tabs-top-to-text)));inline-size:calc(100% + var(--luzmo-tabs-focus-indicator-gap,var(--tabs-focus-indicator-gap)) * 2);border-radius:var(--luzmo-tabs-focus-indicator-border-radius,var(--tabs-focus-indicator-border-radius));pointer-events:none;position:absolute;inset-block-start:calc(var(--luzmo-tabs-top-to-text,var(--tabs-top-to-text)) / 2);inset-inline-start:calc(var(--luzmo-tabs-focus-indicator-gap,var(--tabs-focus-indicator-gap)) * -1);inset-inline-end:calc(var(--luzmo-tabs-focus-indicator-gap,var(--tabs-focus-indicator-gap)) * -1);border:var(--luzmo-tabs-focus-indicator-width,var(--tabs-focus-indicator-width)) solid transparent!important}@media (hover:hover){:host(:hover){color:var(--highcontrast-tabs-color-hover,var(--luzmo-tabs-color-hover,var(--tabs-color-hover)))}}:host([selected]){color:var(--highcontrast-tabs-color-selected,var(--luzmo-tabs-color-selected,var(--tabs-color-selected)))}:host([disabled]){cursor:default;color:var(--highcontrast-tabs-color-disabled,var(--luzmo-tabs-color-disabled,var(--tabs-color-disabled)))}:host([disabled]) #item-label{cursor:default}:host(:focus-visible){color:var(--highcontrast-tabs-color-key-focus,var(--luzmo-tabs-color-key-focus,var(--tabs-color-key-focus)))}:host(:focus-visible):before{border-color:var(--highcontrast-tabs-focus-indicator-color,var(--luzmo-tabs-focus-indicator-color,var(--tabs-focus-indicator-color)))!important}#item-label{cursor:pointer;vertical-align:top;font-family:var(--luzmo-tabs-font-family,var(--tabs-font-family));font-style:var(--luzmo-tabs-font-style,var(--tabs-font-style));font-size:var(--luzmo-tabs-font-size,var(--tabs-font-size));font-weight:var(--luzmo-tabs-font-weight,var(--tabs-font-weight));line-height:var(--luzmo-tabs-line-height,var(--tabs-line-height));margin-block-start:var(--luzmo-tabs-top-to-text,var(--tabs-top-to-text));margin-block-end:var(--luzmo-tabs-bottom-to-text,var(--tabs-bottom-to-text));-webkit-text-decoration:none;text-decoration:none;display:inline-block}#item-label:empty{display:none}:host{scroll-margin-inline:var(--luzmo-tabs-item-horizontal-spacing,var(--tabs-item-horizontal-spacing))}:host([disabled]){pointer-events:none}#item-label[hidden]{display:none}@media (forced-colors:active){:host:before{background-color:buttonface}:host ::slotted([slot=icon]){z-index:1;color:inherit;position:relative}#item-label{z-index:1;position:relative}:host([selected]),:host([selected]) ::slotted([slot=icon]),:host([selected]) #item-label{color:highlighttext}}:host([vertical]){flex-direction:column;justify-content:center;align-items:center;height:auto;display:flex}:host([dir][vertical]) slot[name=icon]+#item-label{margin-inline-start:0;margin-block:calc(var(--luzmo-tabs-top-to-text,var(--tabs-top-to-text)) / 2) calc(var(--luzmo-tabs-bottom-to-text,var(--tabs-bottom-to-text)) / 2)}:host([vertical]) ::slotted([slot=icon]){margin-block-start:calc(var(--luzmo-tabs-top-to-icon,var(--tabs-top-to-icon)) / 2)}`,v=class extends n.t(a.t(s.t(e.n,`[slot="icon"]`),``)){constructor(...e){super(...e),this.disabled=!1,this.label=``,this.selected=!1,this.vertical=!1,this.value=``}static get styles(){return[(0,l.unsafeCSS)(_)]}get hasIcon(){return this.slotContentIsPresent}get hasLabel(){return!!this.label||this.slotHasContent}render(){return l.html`
18
+ require("./tokens.cjs");const e=require("./decorate-SO02l0A6.cjs"),t=require("./sized-mixin-CSajkMro.cjs"),n=require("./focus-visible-BQAhwoxi.cjs"),r=require("./focusable-BIHTrJd6.cjs"),i=require("./roving-tabindex-BUFR8hPH.cjs");require("./icon-BlbMP3mJ.cjs");const a=require("./observe-slot-text-BqwCIv2a.cjs"),o=require("./random-id-BcUJAxUZ.cjs");require("./action-button-CL4ZlryE.cjs");const s=require("./observe-slot-presence-CS8pMePk.cjs"),c=require("./scaled-indicator-DLJIztx0.cjs");let l=require("lit"),u=require("lit/decorators.js"),d=require("@luzmo/icons"),f=require("lit/directives/if-defined.js"),p=require("lit/directives/class-map.js"),m=require("lit/decorators/property.js"),h=require("@lit-labs/observers/intersection-controller.js"),g=require("@lit-labs/observers/resize-controller.js");var _=`:host{font-family:var(--luzmo-tab-font-family,var(--luzmo-font-family));box-sizing:border-box;block-size:calc(var(--luzmo-tabs-item-height,var(--tabs-item-height)) - var(--luzmo-tabs-divider-size,var(--tabs-divider-size)));z-index:1;white-space:nowrap;color:var(--highcontrast-tabs-color,var(--luzmo-tabs-color,var(--tabs-color)));transition:color var(--luzmo-tabs-animation-duration,var(--tabs-animation-duration)) ease-out;cursor:pointer;outline:none;-webkit-text-decoration:none;text-decoration:none;position:relative}::slotted([slot=icon]){block-size:var(--luzmo-tabs-icon-size,var(--tabs-icon-size));inline-size:var(--luzmo-tabs-icon-size,var(--tabs-icon-size));margin-block-start:var(--luzmo-tabs-top-to-icon,var(--tabs-top-to-icon))}[name=icon]+#item-label{margin-inline-start:var(--luzmo-tabs-icon-to-text,var(--tabs-icon-to-text))}:host:before{content:"";box-sizing:border-box;block-size:calc(100% - var(--luzmo-tabs-top-to-text,var(--tabs-top-to-text)));inline-size:calc(100% + var(--luzmo-tabs-focus-indicator-gap,var(--tabs-focus-indicator-gap)) * 2);border-radius:var(--luzmo-tabs-focus-indicator-border-radius,var(--tabs-focus-indicator-border-radius));pointer-events:none;position:absolute;inset-block-start:calc(var(--luzmo-tabs-top-to-text,var(--tabs-top-to-text)) / 2);inset-inline-start:calc(var(--luzmo-tabs-focus-indicator-gap,var(--tabs-focus-indicator-gap)) * -1);inset-inline-end:calc(var(--luzmo-tabs-focus-indicator-gap,var(--tabs-focus-indicator-gap)) * -1);border:var(--luzmo-tabs-focus-indicator-width,var(--tabs-focus-indicator-width)) solid transparent!important}@media (hover:hover){:host(:hover){color:var(--highcontrast-tabs-color-hover,var(--luzmo-tabs-color-hover,var(--tabs-color-hover)))}}:host([selected]){color:var(--highcontrast-tabs-color-selected,var(--luzmo-tabs-color-selected,var(--tabs-color-selected)))}:host([disabled]){cursor:default;color:var(--highcontrast-tabs-color-disabled,var(--luzmo-tabs-color-disabled,var(--tabs-color-disabled)))}:host([disabled]) #item-label{cursor:default}:host(:focus-visible){color:var(--highcontrast-tabs-color-key-focus,var(--luzmo-tabs-color-key-focus,var(--tabs-color-key-focus)))}:host(:focus-visible):before{border-color:var(--highcontrast-tabs-focus-indicator-color,var(--luzmo-tabs-focus-indicator-color,var(--tabs-focus-indicator-color)))!important}#item-label{cursor:pointer;vertical-align:top;font-family:var(--luzmo-tabs-font-family,var(--tabs-font-family));font-style:var(--luzmo-tabs-font-style,var(--tabs-font-style));font-size:var(--luzmo-tabs-font-size,var(--tabs-font-size));font-weight:var(--luzmo-tabs-font-weight,var(--tabs-font-weight));line-height:var(--luzmo-tabs-line-height,var(--tabs-line-height));margin-block-start:var(--luzmo-tabs-top-to-text,var(--tabs-top-to-text));margin-block-end:var(--luzmo-tabs-bottom-to-text,var(--tabs-bottom-to-text));-webkit-text-decoration:none;text-decoration:none;display:inline-block}#item-label:empty{display:none}:host{scroll-margin-inline:var(--luzmo-tabs-item-horizontal-spacing,var(--tabs-item-horizontal-spacing))}:host([disabled]){pointer-events:none}#item-label[hidden]{display:none}@media (forced-colors:active){:host:before{background-color:buttonface}:host ::slotted([slot=icon]){z-index:1;color:inherit;position:relative}#item-label{z-index:1;position:relative}:host([selected]),:host([selected]) ::slotted([slot=icon]),:host([selected]) #item-label{color:highlighttext}}:host([vertical]){flex-direction:column;justify-content:center;align-items:center;height:auto;display:flex}:host([dir][vertical]) slot[name=icon]+#item-label{margin-inline-start:0;margin-block:calc(var(--luzmo-tabs-top-to-text,var(--tabs-top-to-text)) / 2) calc(var(--luzmo-tabs-bottom-to-text,var(--tabs-bottom-to-text)) / 2)}:host([vertical]) ::slotted([slot=icon]){margin-block-start:calc(var(--luzmo-tabs-top-to-icon,var(--tabs-top-to-icon)) / 2)}`,v=class extends n.t(a.t(s.t(e.n,`[slot="icon"]`),``)){constructor(...e){super(...e),this.disabled=!1,this.label=``,this.selected=!1,this.vertical=!1,this.value=``}static get styles(){return[(0,l.unsafeCSS)(_)]}get hasIcon(){return this.slotContentIsPresent}get hasLabel(){return!!this.label||this.slotHasContent}render(){return l.html`
19
19
  ${this.hasIcon?l.html` <slot name="icon"></slot> `:l.nothing}
20
20
  <label id="item-label" ?hidden=${!this.hasLabel}>
21
21
  <slot>${this.label}</slot>
@@ -25,7 +25,7 @@ require("./tokens.cjs");const e=require("./decorate-Dq34MBGe.cjs"),t=require("./
25
25
  @focusin=${this.handleFocusin}
26
26
  @focusout=${this.handleFocusout}
27
27
  ></slot>
28
- `}firstUpdated(){this.slot=`tab-panel`,this.setAttribute(`role`,`tabpanel`),this.tabIndex=0,this.hasAttribute(`id`)||(this.id=`luzmo-tab-panel-${o.t()}`)}updated(e){e.has(`selected`)&&(this.selected?(this.removeAttribute(`aria-hidden`),this.tabIndex=0):(this.setAttribute(`aria-hidden`,`true`),this.tabIndex=-1))}};e.t([(0,m.property)({type:Boolean,reflect:!0})],b.prototype,`selected`,void 0),e.t([(0,m.property)({type:String,reflect:!0})],b.prototype,`value`,void 0);var x=`#list{--tabs-item-height:calc(var(--luzmo-component-height) + var(--luzmo-spacing-5));--tabs-item-horizontal-spacing:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-3));--tabs-item-vertical-spacing:var(--luzmo-spacing-2);--tabs-start-to-edge:var(--luzmo-spacing-4);--tabs-top-to-text:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-bottom-to-text:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-icon-size:var(--luzmo-icon-size-s);--tabs-icon-to-text:var(--luzmo-spacing-3);--tabs-top-to-icon:var(--luzmo-spacing-4);--tabs-focus-indicator-gap:var(--luzmo-spacing-3);--tabs-font-size:var(--luzmo-font-size)}:host([size=s]) #list{--tabs-item-height:calc(var(--luzmo-component-height-s) + var(--luzmo-spacing-4));--tabs-item-horizontal-spacing:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-2));--tabs-item-vertical-spacing:var(--luzmo-spacing-2);--tabs-start-to-edge:var(--luzmo-spacing-4);--tabs-top-to-text:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-bottom-to-text:var(--luzmo-spacing-4);--tabs-icon-size:var(--luzmo-icon-size-xs);--tabs-icon-to-text:var(--luzmo-spacing-3);--tabs-top-to-icon:var(--luzmo-spacing-4);--tabs-focus-indicator-gap:var(--luzmo-spacing-3);--tabs-font-size:var(--luzmo-font-size-s)}:host([size=l]) #list{--tabs-item-height:calc(var(--luzmo-component-height-l) + var(--luzmo-spacing-5));--tabs-item-horizontal-spacing:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-4));--tabs-item-vertical-spacing:var(--luzmo-spacing-2);--tabs-start-to-edge:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-top-to-text:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--tabs-bottom-to-text:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--tabs-icon-size:var(--luzmo-icon-size-m);--tabs-icon-to-text:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--tabs-top-to-icon:var(--luzmo-spacing-5);--tabs-focus-indicator-gap:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--tabs-font-size:var(--luzmo-font-size-l)}:host([size=xl]) #list{--tabs-item-height:calc(var(--luzmo-component-height-xl) + var(--luzmo-spacing-5));--tabs-item-horizontal-spacing:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-4));--tabs-item-vertical-spacing:var(--luzmo-spacing-2);--tabs-start-to-edge:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-top-to-text:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--tabs-bottom-to-text:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--tabs-icon-size:var(--luzmo-icon-size-l);--tabs-icon-to-text:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--tabs-top-to-icon:var(--luzmo-spacing-5);--tabs-focus-indicator-gap:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--tabs-font-size:var(--luzmo-font-size-xl)}:host([compact]) #list{--luzmo-tabs-item-height:var(--luzmo-tabs-item-height-compact,var(--luzmo-component-height));--luzmo-tabs-top-to-text:var(--luzmo-tabs-top-to-text-compact,calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1)));--luzmo-tabs-bottom-to-text:var(--luzmo-tabs-bottom-to-text-compact,calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1)));--luzmo-tabs-top-to-icon:var(--luzmo-tabs-top-to-icon-compact,var(--luzmo-spacing-2))}:host([size=s][compact]) #list{--luzmo-tabs-item-height:var(--luzmo-tabs-item-height-compact,var(--luzmo-component-height-s));--luzmo-tabs-top-to-text:var(--luzmo-tabs-top-to-text-compact,var(--luzmo-spacing-2));--luzmo-tabs-bottom-to-text:var(--luzmo-tabs-bottom-to-text-compact,var(--luzmo-spacing-2));--luzmo-tabs-top-to-icon:var(--luzmo-tabs-top-to-icon-compact,var(--luzmo-spacing-1))}:host([size=l][compact]) #list{--luzmo-tabs-item-height:var(--luzmo-tabs-item-height-compact,var(--luzmo-component-height-l));--luzmo-tabs-top-to-text:var(--luzmo-tabs-top-to-text-compact,calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1)));--luzmo-tabs-bottom-to-text:var(--luzmo-tabs-bottom-to-text-compact,calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1)));--luzmo-tabs-top-to-icon:var(--luzmo-tabs-top-to-icon-compact,calc(var(--luzmo-spacing-3)))}:host([size=xl][compact]) #list{--luzmo-tabs-item-height:var(--luzmo-tabs-item-height-compact,var(--luzmo-component-height-xl));--luzmo-tabs-top-to-text:var(--luzmo-tabs-top-to-text-compact,var(--luzmo-spacing-4));--luzmo-tabs-bottom-to-text:var(--luzmo-tabs-bottom-to-text-compact,var(--luzmo-spacing-4));--luzmo-tabs-top-to-icon:var(--luzmo-tabs-top-to-icon-compact,calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1)))}`,S=`#list{--tabs-color:var(--luzmo-font-color);--tabs-color-selected:var(--luzmo-font-color-down);--tabs-color-hover:var(--luzmo-font-color-hover);--tabs-color-key-focus:var(--luzmo-font-color-focus);--tabs-color-disabled:var(--luzmo-disabled-color);--tabs-font-family:var(--luzmo-font-family);--tabs-font-style:var(--luzmo-font-style);--tabs-font-size:var(--luzmo-font-size);--tabs-line-height:var(--luzmo-line-height);--tabs-focus-indicator-width:var(--luzmo-indicator-width);--tabs-focus-indicator-border-radius:var(--luzmo-border-radius);--tabs-focus-indicator-color:var(--luzmo-indicator-color);--tabs-selection-indicator-color:var(--luzmo-font-color-down);--tabs-list-background-direction:top;--tabs-divider-size:2px;--tabs-divider-border-radius:1px;--tabs-animation-duration:var(--luzmo-animation-duration);--tabs-animation-ease:ease-in-out}:host([emphasized]) #list{--luzmo-tabs-color-selected:var(--luzmo-tabs-color-selected-emphasized,var(--luzmo-primary));--luzmo-tabs-color-hover:var(--luzmo-tabs-color-hover-emphasized,var(--luzmo-primary-hover));--luzmo-tabs-color-key-focus:var(--luzmo-tabs-color-key-focus-emphasized,var(--luzmo-primary-focus));--luzmo-tabs-selection-indicator-color:var(--luzmo-tabs-selection-indicator-color-emphasized,var(--luzmo-primary-down))}:host([direction^=vertical]) #list{--luzmo-tabs-list-background-direction:var(--luzmo-tabs-list-background-direction-vertical,right)}:host([direction^=vertical-right]) #list{--luzmo-tabs-list-background-direction:var(--luzmo-tabs-list-background-direction-vertical-right,left)}:is(:host([direction^=vertical]) #list:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),:host([dir=rtl][direction^=vertical]) #list){--luzmo-tabs-list-background-direction:var(--luzmo-tabs-list-background-direction-vertical,left)}:is(:host([direction^=vertical-right]) #list:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),:host([dir=rtl][direction^=vertical-right]) #list){--luzmo-tabs-list-background-direction:var(--luzmo-tabs-list-background-direction-vertical,right)}#list{z-index:0;vertical-align:top;background:linear-gradient(to var(--luzmo-tabs-list-background-direction,var(--tabs-list-background-direction)), var(--highcontrast-tabs-divider-background-color,var(--luzmo-tabs-divider-background-color,var(--tabs-divider-background-color))) 0 var(--luzmo-tabs-divider-size,var(--tabs-divider-size)), transparent var(--luzmo-tabs-divider-size,var(--tabs-divider-size)));margin:0;padding-block:0;display:flex;position:relative}::slotted([selected]:not([slot])){color:var(--highcontrast-tabs-color-selected,var(--luzmo-tabs-color-selected,var(--tabs-color-selected)))}::slotted([disabled]:not([slot])){cursor:default;color:var(--highcontrast-tabs-color-disabled,var(--luzmo-tabs-color-disabled,var(--tabs-color-disabled)))}#selection-indicator{background-color:var(--highcontrast-tabs-selection-indicator-color,var(--luzmo-tabs-selection-indicator-color,var(--tabs-selection-indicator-color)));z-index:0;transition:transform var(--luzmo-tabs-animation-duration,var(--tabs-animation-duration)) var(--luzmo-tabs-animation-ease,var(--tabs-animation-ease));transform-origin:0 0;border-radius:var(--luzmo-tabs-divider-border-radius,var(--tabs-divider-border-radius));position:absolute;inset-inline-start:0}:host([direction^=horizontal]) #list{align-items:center}:host([direction^=horizontal]) #list ::slotted(:not([slot])){vertical-align:top}:host([direction^=horizontal]) ::slotted(:not(:first-child)){margin-inline-start:var(--luzmo-tabs-item-horizontal-spacing,var(--tabs-item-horizontal-spacing))}:host([direction^=horizontal]) #list #selection-indicator{block-size:var(--luzmo-tabs-divider-size,var(--tabs-divider-size));position:absolute;inset-block-end:0}:host([direction^=horizontal][compact]) #list{box-sizing:initial;align-items:end}:host([quiet]) #list{background:0 0;border-color:#0000;display:inline-flex}:host([quiet]) #selection-indicator{padding-inline-start:var(--luzmo-tabs-start-to-item-quiet)}:host([direction^=vertical]) #list,:host([direction^=vertical-right]) #list{flex-direction:column;padding:0;display:inline-flex}:host([direction^=vertical-right][quiet]) #list,:host([direction^=vertical][quiet]) #list{border-color:#0000}:host([direction^=vertical]) #list ::slotted(:not([slot])),:host([direction^=vertical-right]) #list ::slotted(:not([slot])){block-size:var(--luzmo-tabs-item-height,var(--tabs-item-height));line-height:var(--luzmo-tabs-item-height,var(--tabs-item-height));margin-block-end:var(--luzmo-tabs-item-vertical-spacing,var(--tabs-item-vertical-spacing));margin-inline-start:var(--luzmo-tabs-start-to-edge,var(--tabs-start-to-edge));margin-inline-end:var(--luzmo-tabs-start-to-edge,var(--tabs-start-to-edge));padding-block:0}:host([direction^=vertical]) #list ::slotted(:not([slot])):before,:host([direction^=vertical-right]) #list ::slotted(:not([slot])):before{inset-inline-start:calc(var(--luzmo-tabs-focus-indicator-gap,var(--tabs-focus-indicator-gap)) * -1)}:host([direction^=vertical]) #list #selection-indicator,:host([direction^=vertical-right]) #list #selection-indicator{inline-size:var(--luzmo-tabs-divider-size,var(--tabs-divider-size));position:absolute;inset-block-start:0;inset-inline-start:0}:host([direction^=vertical-right]) #list #selection-indicator{inset-inline:auto 0}@media (forced-colors:active){#list{--highcontrast-tabs-divider-background-color:var(--luzmo-border-color);--highcontrast-tabs-selection-indicator-color:Highlight;--highcontrast-tabs-focus-indicator-color:CanvasText;--highcontrast-tabs-focus-indicator-background-color:Highlight;--highcontrast-tabs-color:ButtonText;--highcontrast-tabs-color-hover:ButtonText;--highcontrast-tabs-color-selected:HighlightText;--highcontrast-tabs-color-key-focus:ButtonText;--highcontrast-tabs-color-disabled:GrayText;forced-color-adjust:none}#list ::slotted([selected]:not([slot])):before{background-color:var(--highcontrast-tabs-focus-indicator-background-color)}:host([direction^=vertical][compact]) #list #list ::slotted(:not([slot])):before{block-size:100%;inset-block-start:0}:host([quiet]) #list{background:linear-gradient(to var(--luzmo-tabs-list-background-direction,var(--tabs-list-background-direction)), var(--highcontrast-tabs-divider-background-color,var(--luzmo-tabs-divider-background-color,var(--tabs-divider-background-color))) 0 var(--luzmo-tabs-divider-size,var(--tabs-divider-size)), transparent var(--luzmo-tabs-divider-size,var(--tabs-divider-size)))}}#list{--tabs-font-weight:var(--luzmo-font-weight);--tabs-divider-background-color:var(--luzmo-border-color)}:host{grid-template-columns:100%;display:grid;position:relative}:host(:not([direction^=vertical])){grid-template-rows:auto 1fr}:host([direction^=vertical]){grid-template-columns:auto 1fr}:host([dir=rtl]) #selection-indicator{left:0;right:auto}:host([direction=vertical-right]) #list #selection-indicator{inset-inline:auto 0}#list{justify-content:var(--luzmo-tabs-list-justify-content)}:host([disabled]) #list{pointer-events:none}:host([disabled]) #list #selection-indicator{background-color:var(--luzmo-tabs-color-disabled,var(--tabs-color-disabled))}:host([disabled]) ::slotted(sp-tab){color:var(--luzmo-tabs-color-disabled,var(--tabs-color-disabled))}:host([direction=vertical-right]) #list #selection-indicator,:host([direction=vertical]) #list #selection-indicator{inset-block-start:0}#selection-indicator.first-position{transition:none}:host([dir][direction=horizontal]) #list.scroll{scrollbar-width:none;overflow:auto hidden}:host([dir][direction=horizontal]) #list.scroll::-webkit-scrollbar{display:none}`;function C(e,t,n,r){let i=n[e+(t===`rtl`?-1:1)],a=r.scrollLeft+r.offsetWidth;return i?i.offsetLeft-r.offsetWidth:a}function w(e,t,n,r){let i=n[e+(t===`rtl`?1:-1)],a=t===`rtl`?-r.offsetWidth:0;return i?i.offsetLeft+i.offsetWidth:a}var T=class extends t.n(r.t,{noDefaultSize:!0}){static get styles(){return[(0,l.unsafeCSS)(x),(0,l.unsafeCSS)(S),c.t.baseStyles()]}set tabs(e){e!==this.tabs&&(this._tabs.forEach(e=>{this.resizeController.unobserve(e)}),e.forEach(e=>{this.resizeController.observe(e)}),this._tabs=e,this.rovingTabindexController.clearElementCache())}get tabs(){return this._tabs}constructor(){super(),this.auto=!1,this.compact=!1,this.direction=`horizontal`,this.emphasized=!1,this.label=``,this.enableTabsScroll=!1,this.quiet=!1,this.selectionIndicatorStyle=c.t.noSelectionStyle,this.shouldAnimate=!1,this.selected=``,this._tabs=[],this.resizeController=new g.ResizeController(this,{callback:()=>{this.updateSelectionIndicator()}}),this.rovingTabindexController=new i.t(this,{focusInIndex:e=>{let t=0;return e.find((e,n)=>{let r=this.selected?e.value===this.selected:!e.disabled;return t=n,r})?t:-1},direction:()=>`both`,elementEnterAction:e=>{this.auto&&(this.shouldAnimate=!0,this.selectTarget(e))},elements:()=>this.tabs,isFocusableElement:e=>!this.disabled&&!e.disabled,listenerScope:()=>this.tabList}),this.onTabsScroll=()=>{this.dispatchEvent(new Event(`luzmo-tabs-scroll`,{bubbles:!0,composed:!0}))},this.onClick=e=>{if(this.disabled)return;let t=e.composedPath().find(e=>e.parentElement===this);!t||t.disabled||(this.shouldAnimate=!0,this.selectTarget(t))},this.onKeyDown=e=>{if(e.code===`Enter`||e.code===`Space`){e.preventDefault();let t=e.target;t&&this.selectTarget(t)}},this.updateCheckedState=()=>{if(this.tabs.forEach(e=>{e.removeAttribute(`selected`)}),this.selected){let e=this.tabs.find(e=>e.value===this.selected);e?e.selected=!0:this.selected=``}else{let e=this.tabs[0];e&&e.setAttribute(`tabindex`,`0`)}this.updateSelectionIndicator()},this.updateSelectionIndicator=async()=>{let e=this.tabs.find(e=>e.selected);if(!e){this.selectionIndicatorStyle=c.t.noSelectionStyle;return}await Promise.all([e.updateComplete,document.fonts?document.fonts.ready:Promise.resolve()]);let{width:t,height:n}=e.getBoundingClientRect();this.selectionIndicatorStyle=this.direction===`horizontal`?c.t.transformX(e.offsetLeft,t):c.t.transformY(e.offsetTop,n)},new h.IntersectionController(this,{config:{root:null,rootMargin:`0px`,threshold:[0,1]},callback:()=>{this.updateSelectionIndicator()}})}get focusElement(){return this.rovingTabindexController.focusInElement||this}limitDeltaToInterval(e,t){return n=>n<e?e:n>t?t:n}scrollTabs(e,t=`smooth`){if(e===0)return;let{scrollLeft:n,clientWidth:r,scrollWidth:i}=this.tabList,a=i-r-Math.abs(n),o=this.dir===`ltr`?this.limitDeltaToInterval(-n,a):this.limitDeltaToInterval(-a,Math.abs(n));this.tabList?.scrollBy({left:o(e),top:0,behavior:t})}get scrollState(){if(this.tabList){let{scrollLeft:e,clientWidth:t,scrollWidth:n}=this.tabList,r=Math.abs(e)>0,i=Math.ceil(Math.abs(e))<n-t;return{canScrollLeft:this.dir===`ltr`?r:i,canScrollRight:this.dir===`ltr`?i:r}}return{}}async getUpdateComplete(){let e=await super.getUpdateComplete(),t=[...this.children].map(e=>e.updateComplete===void 0?Promise.resolve(!0):e.updateComplete);return await Promise.all(t),e}getNecessaryAutoScroll(e){let t=this.tabs[e],n=t.offsetLeft+t.offsetWidth,r=this.tabList.scrollLeft+this.tabList.offsetWidth,i=t.offsetLeft,a=this.tabList.scrollLeft;return n>r?C(e,this.dir,this.tabs,this.tabList):i<a?w(e,this.dir,this.tabs,this.tabList):-1}async scrollToSelection(){if(!this.enableTabsScroll||!this.selected)return;await this.updateComplete;let e=this.tabs.findIndex(e=>e.value===this.selected);if(e!==-1&&this.tabList){let t=this.getNecessaryAutoScroll(e);t!==-1&&this.tabList.scrollTo({left:t})}}updated(e){super.updated(e),e.has(`selected`)&&this.scrollToSelection()}managePanels({target:e}){e.assignedElements().map(e=>{let{value:t,id:n}=e,r=this.querySelector(`[role="tab"][value="${t}"]`);r&&(r.setAttribute(`aria-controls`,n),e.setAttribute(`aria-labelledby`,r.id)),e.selected=t===this.selected})}render(){return l.html`
28
+ `}firstUpdated(){this.slot=`tab-panel`,this.setAttribute(`role`,`tabpanel`),this.tabIndex=0,this.hasAttribute(`id`)||(this.id=`luzmo-tab-panel-${o.t()}`)}updated(e){e.has(`selected`)&&(this.selected?(this.removeAttribute(`aria-hidden`),this.tabIndex=0):(this.setAttribute(`aria-hidden`,`true`),this.tabIndex=-1))}};e.t([(0,m.property)({type:Boolean,reflect:!0})],b.prototype,`selected`,void 0),e.t([(0,m.property)({type:String,reflect:!0})],b.prototype,`value`,void 0);var x=`#list{--tabs-item-height:calc(var(--luzmo-component-height) + var(--luzmo-spacing-5));--tabs-item-horizontal-spacing:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-3));--tabs-item-vertical-spacing:var(--luzmo-spacing-2);--tabs-start-to-edge:var(--luzmo-spacing-4);--tabs-top-to-text:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-bottom-to-text:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-icon-size:var(--luzmo-icon-size-s);--tabs-icon-to-text:var(--luzmo-spacing-3);--tabs-top-to-icon:var(--luzmo-spacing-4);--tabs-focus-indicator-gap:var(--luzmo-spacing-3);--tabs-font-size:var(--luzmo-font-size)}:host([size=s]) #list{--tabs-item-height:calc(var(--luzmo-component-height-s) + var(--luzmo-spacing-4));--tabs-item-horizontal-spacing:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-2));--tabs-item-vertical-spacing:var(--luzmo-spacing-2);--tabs-start-to-edge:var(--luzmo-spacing-4);--tabs-top-to-text:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-bottom-to-text:var(--luzmo-spacing-4);--tabs-icon-size:var(--luzmo-icon-size-xs);--tabs-icon-to-text:var(--luzmo-spacing-3);--tabs-top-to-icon:var(--luzmo-spacing-4);--tabs-focus-indicator-gap:var(--luzmo-spacing-3);--tabs-font-size:var(--luzmo-font-size-s)}:host([size=l]) #list{--tabs-item-height:calc(var(--luzmo-component-height-l) + var(--luzmo-spacing-5));--tabs-item-horizontal-spacing:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-4));--tabs-item-vertical-spacing:var(--luzmo-spacing-2);--tabs-start-to-edge:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-top-to-text:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--tabs-bottom-to-text:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--tabs-icon-size:var(--luzmo-icon-size-m);--tabs-icon-to-text:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--tabs-top-to-icon:var(--luzmo-spacing-5);--tabs-focus-indicator-gap:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--tabs-font-size:var(--luzmo-font-size-l)}:host([size=xl]) #list{--tabs-item-height:calc(var(--luzmo-component-height-xl) + var(--luzmo-spacing-5));--tabs-item-horizontal-spacing:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-4));--tabs-item-vertical-spacing:var(--luzmo-spacing-2);--tabs-start-to-edge:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-top-to-text:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--tabs-bottom-to-text:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--tabs-icon-size:var(--luzmo-icon-size-l);--tabs-icon-to-text:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--tabs-top-to-icon:var(--luzmo-spacing-5);--tabs-focus-indicator-gap:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--tabs-font-size:var(--luzmo-font-size-xl)}:host([compact]) #list{--luzmo-tabs-item-height:var(--luzmo-tabs-item-height-compact,var(--luzmo-component-height));--luzmo-tabs-top-to-text:var(--luzmo-tabs-top-to-text-compact,calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1)));--luzmo-tabs-bottom-to-text:var(--luzmo-tabs-bottom-to-text-compact,calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1)));--luzmo-tabs-top-to-icon:var(--luzmo-tabs-top-to-icon-compact,var(--luzmo-spacing-2))}:host([size=s][compact]) #list{--luzmo-tabs-item-height:var(--luzmo-tabs-item-height-compact,var(--luzmo-component-height-s));--luzmo-tabs-top-to-text:var(--luzmo-tabs-top-to-text-compact,var(--luzmo-spacing-2));--luzmo-tabs-bottom-to-text:var(--luzmo-tabs-bottom-to-text-compact,var(--luzmo-spacing-2));--luzmo-tabs-top-to-icon:var(--luzmo-tabs-top-to-icon-compact,var(--luzmo-spacing-1))}:host([size=l][compact]) #list{--luzmo-tabs-item-height:var(--luzmo-tabs-item-height-compact,var(--luzmo-component-height-l));--luzmo-tabs-top-to-text:var(--luzmo-tabs-top-to-text-compact,calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1)));--luzmo-tabs-bottom-to-text:var(--luzmo-tabs-bottom-to-text-compact,calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1)));--luzmo-tabs-top-to-icon:var(--luzmo-tabs-top-to-icon-compact,calc(var(--luzmo-spacing-3)))}:host([size=xl][compact]) #list{--luzmo-tabs-item-height:var(--luzmo-tabs-item-height-compact,var(--luzmo-component-height-xl));--luzmo-tabs-top-to-text:var(--luzmo-tabs-top-to-text-compact,var(--luzmo-spacing-4));--luzmo-tabs-bottom-to-text:var(--luzmo-tabs-bottom-to-text-compact,var(--luzmo-spacing-4));--luzmo-tabs-top-to-icon:var(--luzmo-tabs-top-to-icon-compact,calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1)))}`,S=`#list{--tabs-color:var(--luzmo-font-color);--tabs-color-selected:var(--luzmo-font-color-down);--tabs-color-hover:var(--luzmo-font-color-hover);--tabs-color-key-focus:var(--luzmo-font-color-focus);--tabs-color-disabled:var(--luzmo-disabled-color);--tabs-font-family:var(--luzmo-font-family);--tabs-font-style:var(--luzmo-font-style);--tabs-font-size:var(--luzmo-font-size);--tabs-line-height:var(--luzmo-line-height);--tabs-focus-indicator-width:var(--luzmo-indicator-width);--tabs-focus-indicator-border-radius:var(--luzmo-border-radius);--tabs-focus-indicator-color:var(--luzmo-indicator-color);--tabs-selection-indicator-color:var(--luzmo-font-color-down);--tabs-list-background-direction:top;--tabs-divider-size:2px;--tabs-divider-border-radius:1px;--tabs-animation-duration:var(--luzmo-animation-duration);--tabs-animation-ease:ease-in-out}:host([emphasized]) #list{--luzmo-tabs-color-selected:var(--luzmo-tabs-color-selected-emphasized,var(--luzmo-primary));--luzmo-tabs-color-hover:var(--luzmo-tabs-color-hover-emphasized,var(--luzmo-primary-hover));--luzmo-tabs-color-key-focus:var(--luzmo-tabs-color-key-focus-emphasized,var(--luzmo-primary-focus));--luzmo-tabs-selection-indicator-color:var(--luzmo-tabs-selection-indicator-color-emphasized,var(--luzmo-primary-down))}:host([direction^=vertical]) #list{--luzmo-tabs-list-background-direction:var(--luzmo-tabs-list-background-direction-vertical,right)}:host([direction^=vertical-right]) #list{--luzmo-tabs-list-background-direction:var(--luzmo-tabs-list-background-direction-vertical-right,left)}:is(:host([direction^=vertical]) #list:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),:host([dir=rtl][direction^=vertical]) #list){--luzmo-tabs-list-background-direction:var(--luzmo-tabs-list-background-direction-vertical,left)}:is(:host([direction^=vertical-right]) #list:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),:host([dir=rtl][direction^=vertical-right]) #list){--luzmo-tabs-list-background-direction:var(--luzmo-tabs-list-background-direction-vertical,right)}#list{z-index:0;vertical-align:top;background:linear-gradient(to var(--luzmo-tabs-list-background-direction,var(--tabs-list-background-direction)), var(--highcontrast-tabs-divider-background-color,var(--luzmo-tabs-divider-background-color,var(--tabs-divider-background-color))) 0 var(--luzmo-tabs-divider-size,var(--tabs-divider-size)), transparent var(--luzmo-tabs-divider-size,var(--tabs-divider-size)));margin:0;padding-block:0;display:flex;position:relative}::slotted([selected]:not([slot])){color:var(--highcontrast-tabs-color-selected,var(--luzmo-tabs-color-selected,var(--tabs-color-selected)))}::slotted([disabled]:not([slot])){cursor:default;color:var(--highcontrast-tabs-color-disabled,var(--luzmo-tabs-color-disabled,var(--tabs-color-disabled)))}#selection-indicator{background-color:var(--highcontrast-tabs-selection-indicator-color,var(--luzmo-tabs-selection-indicator-color,var(--tabs-selection-indicator-color)));z-index:0;transition:transform var(--luzmo-tabs-animation-duration,var(--tabs-animation-duration)) var(--luzmo-tabs-animation-ease,var(--tabs-animation-ease));transform-origin:0 0;border-radius:var(--luzmo-tabs-divider-border-radius,var(--tabs-divider-border-radius));position:absolute;inset-inline-start:0}:host([direction^=horizontal]) #list{align-items:center}:host([direction^=horizontal]) #list ::slotted(:not([slot])){vertical-align:top}:host([direction^=horizontal]) ::slotted(:not(:first-child)){margin-inline-start:var(--luzmo-tabs-item-horizontal-spacing,var(--tabs-item-horizontal-spacing))}:host([direction^=horizontal]) #list #selection-indicator{block-size:var(--luzmo-tabs-divider-size,var(--tabs-divider-size));position:absolute;inset-block-end:0}:host([direction^=horizontal][compact]) #list{box-sizing:initial;align-items:end}:host([quiet]) #list{background:0 0;border-color:#0000;display:inline-flex}:host([quiet]) #selection-indicator{padding-inline-start:var(--luzmo-tabs-start-to-item-quiet)}:host([direction^=vertical]) #list,:host([direction^=vertical-right]) #list{flex-direction:column;padding:0;display:inline-flex}:host([direction^=vertical-right][quiet]) #list,:host([direction^=vertical][quiet]) #list{border-color:#0000}:host([direction^=vertical]) #list ::slotted(:not([slot])),:host([direction^=vertical-right]) #list ::slotted(:not([slot])){block-size:var(--luzmo-tabs-item-height,var(--tabs-item-height));line-height:var(--luzmo-tabs-item-height,var(--tabs-item-height));margin-block-end:var(--luzmo-tabs-item-vertical-spacing,var(--tabs-item-vertical-spacing));margin-inline-start:var(--luzmo-tabs-start-to-edge,var(--tabs-start-to-edge));margin-inline-end:var(--luzmo-tabs-start-to-edge,var(--tabs-start-to-edge));padding-block:0}:host([direction^=vertical]) #list ::slotted(:not([slot])):before,:host([direction^=vertical-right]) #list ::slotted(:not([slot])):before{inset-inline-start:calc(var(--luzmo-tabs-focus-indicator-gap,var(--tabs-focus-indicator-gap)) * -1)}:host([direction^=vertical]) #list #selection-indicator,:host([direction^=vertical-right]) #list #selection-indicator{inline-size:var(--luzmo-tabs-divider-size,var(--tabs-divider-size));position:absolute;inset-block-start:0;inset-inline-start:0}:host([direction^=vertical-right]) #list #selection-indicator{inset-inline:auto 0}@media (forced-colors:active){#list{--highcontrast-tabs-divider-background-color:var(--luzmo-border-color);--highcontrast-tabs-selection-indicator-color:Highlight;--highcontrast-tabs-focus-indicator-color:CanvasText;--highcontrast-tabs-focus-indicator-background-color:Highlight;--highcontrast-tabs-color:ButtonText;--highcontrast-tabs-color-hover:ButtonText;--highcontrast-tabs-color-selected:HighlightText;--highcontrast-tabs-color-key-focus:ButtonText;--highcontrast-tabs-color-disabled:GrayText;forced-color-adjust:none}#list ::slotted([selected]:not([slot])):before{background-color:var(--highcontrast-tabs-focus-indicator-background-color)}:host([direction^=vertical][compact]) #list #list ::slotted(:not([slot])):before{block-size:100%;inset-block-start:0}:host([quiet]) #list{background:linear-gradient(to var(--luzmo-tabs-list-background-direction,var(--tabs-list-background-direction)), var(--highcontrast-tabs-divider-background-color,var(--luzmo-tabs-divider-background-color,var(--tabs-divider-background-color))) 0 var(--luzmo-tabs-divider-size,var(--tabs-divider-size)), transparent var(--luzmo-tabs-divider-size,var(--tabs-divider-size)))}}#list{--tabs-font-weight:var(--luzmo-font-weight);--tabs-divider-background-color:var(--luzmo-border-color)}:host{grid-template-columns:100%;display:grid;position:relative}:host(:not([direction^=vertical])){grid-template-rows:auto 1fr}:host([direction^=vertical]){grid-template-columns:auto 1fr}:host([dir=rtl]) #selection-indicator{left:0;right:auto}:host([direction=vertical-right]) #list #selection-indicator{inset-inline:auto 0}#list{justify-content:var(--luzmo-tabs-list-justify-content)}:host([disabled]) #list{pointer-events:none}:host([disabled]) #list #selection-indicator{background-color:var(--luzmo-tabs-color-disabled,var(--tabs-color-disabled))}:host([disabled]) ::slotted(sp-tab){color:var(--luzmo-tabs-color-disabled,var(--tabs-color-disabled))}:host([direction=vertical-right]) #list #selection-indicator,:host([direction=vertical]) #list #selection-indicator{inset-block-start:0}#selection-indicator.first-position{transition:none}:host([dir][direction=horizontal]) #list.scroll{scrollbar-width:none;overflow:auto hidden}:host([dir][direction=horizontal]) #list.scroll::-webkit-scrollbar{display:none}`;function C(e,t,n,r){let i=n[e+(t===`rtl`?-1:1)],a=r.scrollLeft+r.offsetWidth;return i?i.offsetLeft-r.offsetWidth:a}function w(e,t,n,r){let i=n[e+(t===`rtl`?1:-1)],a=t===`rtl`?-r.offsetWidth:0;return i?i.offsetLeft+i.offsetWidth:a}var T=class extends t.n(r.t,{noDefaultSize:!0}){static get styles(){return[(0,l.unsafeCSS)(x),(0,l.unsafeCSS)(S),c.t.baseStyles()]}set tabs(e){e!==this.tabs&&(this._tabs.forEach(e=>{this.resizeController.unobserve(e)}),e.forEach(e=>{this.resizeController.observe(e)}),this._tabs=e,this.rovingTabindexController.clearElementCache())}get tabs(){return this._tabs}constructor(){super(),this.auto=!1,this.compact=!1,this.direction=`horizontal`,this.emphasized=!1,this.label=``,this.enableTabsScroll=!1,this.quiet=!1,this.selectionIndicatorStyle=c.t.noSelectionStyle,this.shouldAnimate=!1,this.selected=``,this._tabs=[],this.resizeController=new g.ResizeController(this,{callback:()=>{this.updateSelectionIndicator()}}),this.rovingTabindexController=new i.t(this,{focusInIndex:e=>{let t=0;return e.find((e,n)=>{let r=this.selected?e.value===this.selected:!e.disabled;return t=n,r})?t:-1},direction:()=>`both`,elementEnterAction:e=>{this.auto&&(this.shouldAnimate=!0,this.selectTarget(e))},elements:()=>this.tabs,isFocusableElement:e=>!this.disabled&&!e.disabled,listenerScope:()=>this.tabList}),this.onTabsScroll=()=>{this.dispatchEvent(new Event(`luzmo-tabs-scroll`,{bubbles:!0,composed:!0}))},this.onClick=e=>{if(this.disabled)return;let t=e.composedPath().find(e=>e.parentElement===this);t&&!t.disabled&&(this.shouldAnimate=!0,this.selectTarget(t))},this.onKeyDown=e=>{if(e.code===`Enter`||e.code===`Space`){e.preventDefault();let t=e.target;t&&this.selectTarget(t)}},this.updateCheckedState=()=>{if(this.tabs.forEach(e=>{e.removeAttribute(`selected`)}),this.selected){let e=this.tabs.find(e=>e.value===this.selected);e?e.selected=!0:this.selected=``}else{let e=this.tabs[0];e&&e.setAttribute(`tabindex`,`0`)}this.updateSelectionIndicator()},this.updateSelectionIndicator=async()=>{let e=this.tabs.find(e=>e.selected);if(!e){this.selectionIndicatorStyle=c.t.noSelectionStyle;return}await Promise.all([e.updateComplete,document.fonts?document.fonts.ready:Promise.resolve()]);let{width:t,height:n}=e.getBoundingClientRect();this.selectionIndicatorStyle=this.direction===`horizontal`?c.t.transformX(e.offsetLeft,t):c.t.transformY(e.offsetTop,n)},new h.IntersectionController(this,{config:{root:null,rootMargin:`0px`,threshold:[0,1]},callback:()=>{this.updateSelectionIndicator()}})}get focusElement(){return this.rovingTabindexController.focusInElement||this}limitDeltaToInterval(e,t){return n=>n<e?e:n>t?t:n}scrollTabs(e,t=`smooth`){if(e===0)return;let{scrollLeft:n,clientWidth:r,scrollWidth:i}=this.tabList,a=i-r-Math.abs(n),o=this.dir===`ltr`?this.limitDeltaToInterval(-n,a):this.limitDeltaToInterval(-a,Math.abs(n));this.tabList?.scrollBy({left:o(e),top:0,behavior:t})}get scrollState(){if(this.tabList){let{scrollLeft:e,clientWidth:t,scrollWidth:n}=this.tabList,r=Math.abs(e)>0,i=Math.ceil(Math.abs(e))<n-t;return{canScrollLeft:this.dir===`ltr`?r:i,canScrollRight:this.dir===`ltr`?i:r}}return{}}async getUpdateComplete(){let e=await super.getUpdateComplete(),t=[...this.children].map(e=>e.updateComplete===void 0?Promise.resolve(!0):e.updateComplete);return await Promise.all(t),e}getNecessaryAutoScroll(e){let t=this.tabs[e],n=t.offsetLeft+t.offsetWidth,r=this.tabList.scrollLeft+this.tabList.offsetWidth,i=t.offsetLeft,a=this.tabList.scrollLeft;return n>r?C(e,this.dir,this.tabs,this.tabList):i<a?w(e,this.dir,this.tabs,this.tabList):-1}async scrollToSelection(){if(!this.enableTabsScroll||!this.selected)return;await this.updateComplete;let e=this.tabs.findIndex(e=>e.value===this.selected);if(e!==-1&&this.tabList){let t=this.getNecessaryAutoScroll(e);t!==-1&&this.tabList.scrollTo({left:t})}}updated(e){super.updated(e),e.has(`selected`)&&this.scrollToSelection()}managePanels({target:e}){e.assignedElements().map(e=>{let{value:t,id:n}=e,r=this.querySelector(`[role="tab"][value="${t}"]`);r&&(r.setAttribute(`aria-controls`,n),e.setAttribute(`aria-labelledby`,r.id)),e.selected=t===this.selected})}render(){return l.html`
29
29
  <div
30
30
  class=${(0,p.classMap)({scroll:this.enableTabsScroll})}
31
31
  aria-label=${(0,f.ifDefined)(this.label??void 0)}