@luzmo/lucero 1.0.1-alpha.9 → 1.0.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 (487) hide show
  1. package/README.md +74 -9
  2. package/components/accordion/index.cjs +1 -26
  3. package/components/accordion/index.js +8 -164
  4. package/components/accordion-BHBIfsLU.cjs +43 -0
  5. package/components/accordion-DC7cjb1c.js +152 -0
  6. package/components/action-bar/index.cjs +1 -22
  7. package/components/action-bar/index.js +8 -90
  8. package/components/action-bar-BMHZ4e_p.cjs +39 -0
  9. package/components/action-bar-CmLjsljR.js +92 -0
  10. package/components/action-button/index.cjs +1 -7
  11. package/components/action-button/index.js +8 -144
  12. package/components/action-button-B4_UEJle.js +121 -0
  13. package/components/action-button-G0PWSrZo.cjs +24 -0
  14. package/components/action-group/index.cjs +1 -1
  15. package/components/action-group/index.js +11 -12
  16. package/components/action-group-CH8FTW0i.cjs +20 -0
  17. package/components/action-group-DYKpp-mz.js +211 -0
  18. package/components/action-menu/index.cjs +1 -39
  19. package/components/action-menu/index.js +8 -109
  20. package/components/action-menu-CJyB0mmO.cjs +56 -0
  21. package/components/action-menu-FiS1vhW7.js +105 -0
  22. package/components/avatar/avatar.d.ts +5 -0
  23. package/components/avatar/index.cjs +1 -7
  24. package/components/avatar/index.js +8 -64
  25. package/components/avatar-CyY_ZSD0.js +65 -0
  26. package/components/avatar-PulwjkMI.cjs +24 -0
  27. package/components/badge/badge.d.ts +35 -0
  28. package/components/{random-id-CqvckpWe.cjs → badge/index.cjs} +1 -1
  29. package/components/badge/index.d.ts +8 -0
  30. package/components/badge/index.js +25 -0
  31. package/components/badge-D1Ry32wi.cjs +23 -0
  32. package/components/badge-D6p2hPj8.js +94 -0
  33. package/components/button/button-base.d.ts +16 -0
  34. package/components/button/button.d.ts +38 -2
  35. package/components/button/index.cjs +1 -3
  36. package/components/button/index.js +9 -110
  37. package/components/button-CRNRP8P0.js +115 -0
  38. package/components/button-D3ZTogni.cjs +20 -0
  39. package/components/button-base-BYV3Lp3P.cjs +25 -0
  40. package/components/button-base-SHgEJgk2.js +123 -0
  41. package/components/button-group/index.cjs +1 -1
  42. package/components/button-group/index.js +8 -42
  43. package/components/button-group-CJVpgiLq.js +46 -0
  44. package/components/button-group-rEK_YaF3.cjs +18 -0
  45. package/components/calendar/calendar.d.ts +67 -0
  46. package/components/calendar/index.cjs +1 -1
  47. package/components/calendar/index.d.ts +1 -0
  48. package/components/calendar/index.js +8 -11
  49. package/components/calendar-CKr5T_zV.js +619 -0
  50. package/components/calendar-WRhzTEyZ.cjs +142 -0
  51. package/components/chat-message/chat-message.d.ts +139 -0
  52. package/components/{random-id-ByCz1xaq.js → chat-message/index.cjs} +1 -9
  53. package/components/chat-message/index.d.ts +8 -0
  54. package/components/chat-message/index.js +25 -0
  55. package/components/chat-message-CNE-mGuP.cjs +149 -0
  56. package/components/chat-message-DJgocVNj.js +2295 -0
  57. package/components/chat-message-group/chat-message-group.d.ts +50 -0
  58. package/components/{when-CDZyJPvd.cjs → chat-message-group/index.cjs} +1 -5
  59. package/components/chat-message-group/index.d.ts +7 -0
  60. package/components/chat-message-group/index.js +25 -0
  61. package/components/chat-message-group-B4U2MzHx.js +100 -0
  62. package/components/chat-message-group-COmhCN-R.cjs +24 -0
  63. package/components/checkbox/checkbox.d.ts +7 -0
  64. package/components/checkbox/index.cjs +1 -8
  65. package/components/checkbox/index.js +8 -79
  66. package/components/checkbox-CPS-tR_i.js +89 -0
  67. package/components/checkbox-DFwDrIdY.cjs +25 -0
  68. package/components/checkbox-mixin-C5sLMo5L.js +67 -0
  69. package/components/{checkbox-mixin-BDN0dBtS.cjs → checkbox-mixin-D4HeLrMj.cjs} +3 -3
  70. package/components/chunk-D-qHiVGv.cjs +18 -0
  71. package/components/close-button-BeXYep8K.js +42 -0
  72. package/components/close-button-BzapEpcF.cjs +18 -0
  73. package/components/color-area/index.cjs +1 -63
  74. package/components/color-area/index.js +8 -364
  75. package/components/color-area-DA3ps2-c.cjs +80 -0
  76. package/components/color-area-DViRjuKo.js +300 -0
  77. package/components/color-controller-DueaXfnX.cjs +18 -0
  78. package/components/color-controller-G2_v2xSl.js +247 -0
  79. package/components/color-field/color-field.d.ts +1 -0
  80. package/components/color-field/index.cjs +1 -6
  81. package/components/color-field/index.js +8 -68
  82. package/components/color-field-CxdIoSq6.js +75 -0
  83. package/components/color-field-D7_7z2A2.cjs +23 -0
  84. package/components/color-handle/index.cjs +1 -7
  85. package/components/color-handle/index.js +8 -56
  86. package/components/color-handle-BOusOFFx.js +62 -0
  87. package/components/color-handle-Cka48yPY.cjs +24 -0
  88. package/components/color-loupe/index.cjs +1 -1
  89. package/components/color-loupe/index.js +11 -12
  90. package/components/color-loupe-DMk8uWZW.cjs +56 -0
  91. package/components/color-loupe-bEzi2P0y.js +76 -0
  92. package/components/color-menu/index.cjs +1 -69
  93. package/components/color-menu/index.js +8 -189
  94. package/components/color-menu-DwbTxeqv.cjs +89 -0
  95. package/components/color-menu-Lxc9PTzl.js +183 -0
  96. package/components/color-palette/index.cjs +1 -1
  97. package/components/color-palette/index.js +8 -71
  98. package/components/color-palette-349EkPMg.cjs +18 -0
  99. package/components/color-palette-BAdaNySC.js +80 -0
  100. package/components/color-palette-group/index.cjs +1 -11
  101. package/components/color-palette-group/index.js +8 -188
  102. package/components/color-palette-group-BvP09zmT.cjs +28 -0
  103. package/components/color-palette-group-D8Mavsd2.js +163 -0
  104. package/components/color-picker/color-picker.d.ts +3 -3
  105. package/components/color-picker/index.cjs +1 -31
  106. package/components/color-picker/index.js +8 -128
  107. package/components/color-picker-CSWiU-X5.cjs +48 -0
  108. package/components/color-picker-DqjfTvYf.js +126 -0
  109. package/components/color-slider/index.cjs +1 -1
  110. package/components/color-slider/index.js +8 -11
  111. package/components/color-slider-DxjJ72ue.cjs +57 -0
  112. package/components/color-slider-ihAIFt5p.js +421 -0
  113. package/components/{condition-attribute-with-id-Dv4lSRbe.js → condition-attribute-with-id-DauPaLSS.cjs} +1 -14
  114. package/components/{query-assigned-nodes-C76XVPWY.js → condition-attribute-with-id-Duo51HZ7.js} +10 -18
  115. package/components/date-range-picker/date-range-picker.d.ts +184 -0
  116. package/components/{if-defined-C9YGdo33.cjs → date-range-picker/index.cjs} +1 -5
  117. package/components/date-range-picker/index.d.ts +8 -0
  118. package/components/date-range-picker/index.js +25 -0
  119. package/components/date-range-picker/types.d.ts +16 -0
  120. package/components/date-range-picker-BdRQep--.js +626 -0
  121. package/components/date-range-picker-CgitOe0i.cjs +187 -0
  122. package/components/date-time-picker/date-time-picker.d.ts +3 -3
  123. package/components/date-time-picker/index.cjs +1 -88
  124. package/components/date-time-picker/index.d.ts +1 -0
  125. package/components/date-time-picker/index.js +8 -1109
  126. package/components/date-time-picker/{types.d.ts → shared/types.d.ts} +1 -1
  127. package/components/date-time-picker-Bz8XwSOR.cjs +105 -0
  128. package/components/date-time-picker-Ct_ln8Ot.js +470 -0
  129. package/components/decorate-B2wePfNm.cjs +18 -0
  130. package/components/decorate-aGxJUVxg.js +91 -0
  131. package/components/{condition-attribute-with-id-DrQYZzFS.cjs → dependency-manger-CHy9t__e.cjs} +1 -1
  132. package/components/dependency-manger-DMrulWcJ.js +40 -0
  133. package/components/divider/index.cjs +1 -1
  134. package/components/divider/index.js +8 -44
  135. package/components/divider-Dn8XqbB6.cjs +18 -0
  136. package/components/divider-cU0lVwOp.js +59 -0
  137. package/components/divider.module-C65RfSUa.js +21 -0
  138. package/components/divider.module-CL60P_z8.cjs +18 -0
  139. package/components/element-resolution-Bs1x89vU.js +80 -0
  140. package/components/element-resolution-C0aiOB0Y.cjs +18 -0
  141. package/components/field-group/index.cjs +1 -1
  142. package/components/field-group/index.js +11 -12
  143. package/components/field-group-C7ROsWq3.js +57 -0
  144. package/components/field-group-OcI5Lgu7.cjs +23 -0
  145. package/components/field-label/index.cjs +1 -1
  146. package/components/field-label/index.js +11 -12
  147. package/components/field-label-BCl6R1uO.cjs +25 -0
  148. package/components/field-label-CtGCEmdp.js +87 -0
  149. package/components/focus-group-BshI1RpM.js +164 -0
  150. package/components/focus-group-SF8Kj7iB.cjs +18 -0
  151. package/components/focus-visible-B0NNezGc.cjs +18 -0
  152. package/components/focus-visible-CrooVCUu.js +58 -0
  153. package/components/focusable-BmS8IzhH.js +117 -0
  154. package/components/focusable-CupEoHmn.cjs +18 -0
  155. package/components/{base-BjTwmyRF.cjs → focusable-selectors-5n5liBn0.cjs} +1 -5
  156. package/components/{focusable-selectors-BgFlyFcY.cjs → focusable-selectors-Bg60_Kra.js} +13 -1
  157. package/components/{state-Deh-vKYE.js → get-label-from-slot-5vVnfSgN.js} +7 -11
  158. package/components/get-label-from-slot-LO_DZP60.cjs +18 -0
  159. package/components/icon/index.cjs +1 -1
  160. package/components/icon/index.js +8 -71
  161. package/components/icon-B7hKwn_q.cjs +18 -0
  162. package/components/icon-CwBAE1eU.js +59 -0
  163. package/components/index.cjs +1 -1
  164. package/components/index.js +78 -176
  165. package/components/infield-button/index.cjs +1 -5
  166. package/components/infield-button/index.js +8 -47
  167. package/components/infield-button-B2z0dLzq.js +54 -0
  168. package/components/infield-button-BVKotWqr.cjs +22 -0
  169. package/components/label/index.cjs +1 -1
  170. package/components/label/index.js +8 -34
  171. package/components/label-ClJE2esm.js +41 -0
  172. package/components/label-CqolZbJo.cjs +18 -0
  173. package/components/language-resolution-BYemISJC.cjs +18 -0
  174. package/components/language-resolution-BpfGTC29.js +43 -0
  175. package/components/like-anchor-BZJXts_H.cjs +32 -0
  176. package/components/like-anchor-DeOXX-MX.js +46 -0
  177. package/components/manage-help-text-CF0xBh0F.js +81 -0
  178. package/components/manage-help-text-D9VbYRf_.cjs +30 -0
  179. package/components/menu/index.cjs +1 -66
  180. package/components/menu/index.js +8 -879
  181. package/components/menu/menu-item.d.ts +8 -1
  182. package/components/menu/menu.d.ts +1 -0
  183. package/components/menu--ukVtSq7.js +749 -0
  184. package/components/menu-DAA51y45.cjs +108 -0
  185. package/components/multi-language-field/index.cjs +1 -22
  186. package/components/multi-language-field/index.js +8 -131
  187. package/components/multi-language-field/multi-language-field.d.ts +1 -0
  188. package/components/multi-language-field-BzY75rOY.js +122 -0
  189. package/components/multi-language-field-DmoMyCBH.cjs +40 -0
  190. package/components/number-field/index.cjs +1 -40
  191. package/components/number-field/index.js +8 -453
  192. package/components/number-field/number-field.d.ts +145 -0
  193. package/components/number-field-B4RSFeTR.cjs +57 -0
  194. package/components/number-field-C66dTUMM.js +402 -0
  195. package/components/observe-slot-presence-BCqd3VSd.js +55 -0
  196. package/components/observe-slot-presence-Dx8hzNzK.cjs +18 -0
  197. package/components/observe-slot-text-BhTcGuHY.cjs +18 -0
  198. package/components/observe-slot-text-Ddf1OC6F.js +71 -0
  199. package/components/options/index.cjs +1 -84
  200. package/components/options/index.js +8 -1160
  201. package/components/options/option.d.ts +16 -0
  202. package/components/options/options.d.ts +44 -4
  203. package/components/options-BPNAm4MW.cjs +101 -0
  204. package/components/options-Dz-ejkxF.js +484 -0
  205. package/components/overlay/index.cjs +1 -56
  206. package/components/overlay/index.js +10 -329
  207. package/components/overlay/overlay.d.ts +12 -1
  208. package/components/overlay/virtual-trigger.d.ts +3 -2
  209. package/components/overlay-8tN0KPbR.js +1115 -0
  210. package/components/overlay-CMd2Dnpv.cjs +73 -0
  211. package/components/overlay-CwR_36OV.js +227 -0
  212. package/components/overlay-DdrfkOry.cjs +47 -0
  213. package/components/pending-state-DFcNf5rd.js +50 -0
  214. package/components/{pending-state-CaH1si5b.cjs → pending-state-DIeF18qg.cjs} +4 -3
  215. package/components/picker/index.cjs +1 -1
  216. package/components/picker/index.js +11 -15
  217. package/components/picker/picker.d.ts +1 -0
  218. package/components/picker-C4RVOxLq.cjs +123 -0
  219. package/components/picker-agQW7YNo.js +394 -0
  220. package/components/picker-button/index.cjs +1 -20
  221. package/components/picker-button/index.js +8 -70
  222. package/components/picker-button-BLbeT3Yu.js +72 -0
  223. package/components/picker-button-D34YXyXp.cjs +37 -0
  224. package/components/platform-B7Sk7Qon.cjs +18 -0
  225. package/components/{platform-BM-uMWpX.js → platform-D4V_cOJF.js} +29 -38
  226. package/components/popover/index.cjs +1 -1
  227. package/components/popover/index.js +11 -12
  228. package/components/popover-DyC9xGhX.js +58 -0
  229. package/components/popover-dgL04x6P.cjs +30 -0
  230. package/components/progress-bar/index.cjs +18 -0
  231. package/components/progress-bar/index.d.ts +7 -0
  232. package/components/progress-bar/index.js +25 -0
  233. package/components/progress-bar/progress-bar.d.ts +34 -0
  234. package/components/progress-bar-BR28tISC.cjs +31 -0
  235. package/components/progress-bar-DHgFRml1.js +119 -0
  236. package/components/progress-circle/index.cjs +1 -1
  237. package/components/progress-circle/index.js +11 -12
  238. package/components/progress-circle-Cg_ua9Ff.js +78 -0
  239. package/components/progress-circle-DuzwUiGN.cjs +33 -0
  240. package/components/progress-steps/index.cjs +18 -0
  241. package/components/progress-steps/index.d.ts +8 -0
  242. package/components/progress-steps/index.js +25 -0
  243. package/components/progress-steps/progress-steps.d.ts +148 -0
  244. package/components/progress-steps/types.d.ts +32 -0
  245. package/components/progress-steps-Da8aZWx3.js +262 -0
  246. package/components/progress-steps-WriXaZpE.cjs +96 -0
  247. package/components/prompt-box/controllers/attachments-controller.d.ts +35 -0
  248. package/components/prompt-box/controllers/recording-controller.d.ts +23 -0
  249. package/components/prompt-box/controllers/rich-input-controller.d.ts +89 -0
  250. package/components/prompt-box/controllers/trigger-menu-controller.d.ts +107 -0
  251. package/components/prompt-box/index.cjs +18 -0
  252. package/components/prompt-box/index.d.ts +9 -0
  253. package/components/prompt-box/index.js +25 -0
  254. package/components/prompt-box/keyboard-focus-tracker.d.ts +3 -0
  255. package/components/prompt-box/prompt-box-templates.d.ts +10 -0
  256. package/components/prompt-box/prompt-box.d.ts +194 -0
  257. package/components/prompt-box/range-from-point.d.ts +21 -0
  258. package/components/prompt-box/selection-utils.d.ts +39 -0
  259. package/components/prompt-box/slot-state-sync.d.ts +10 -0
  260. package/components/prompt-box/types.d.ts +112 -0
  261. package/components/prompt-box-BEloQP-R.js +1506 -0
  262. package/components/prompt-box-DV8Smf3Q.cjs +282 -0
  263. package/components/radio/index.cjs +1 -5
  264. package/components/radio/index.js +8 -174
  265. package/components/radio-BzEPGUmQ.js +141 -0
  266. package/components/radio-d-2GUbYE.cjs +22 -0
  267. package/components/{if-defined-DOaE2coe.js → random-id-B51lUxUB.cjs} +1 -10
  268. package/components/{when-CDK1Tt5Y.js → random-id-Dd4boCPV.js} +5 -10
  269. package/components/{focusable-selectors-B4YgbghQ.js → rolldown-runtime-CAFD8bLK.js} +10 -13
  270. package/components/roving-tabindex-B7x5ePUB.cjs +18 -0
  271. package/components/roving-tabindex-BP6mQbXf.js +62 -0
  272. package/components/{directive-oAbCiebi.js → scaled-indicator-BcO2BOsf.js} +24 -26
  273. package/components/scaled-indicator-p8-3k2cJ.cjs +26 -0
  274. package/components/search/index.cjs +1 -28
  275. package/components/search/index.js +8 -114
  276. package/components/search-CmLfd2dF.js +94 -0
  277. package/components/search-DRTD4xsE.cjs +45 -0
  278. package/components/segments-factory-CHo9oQw7.cjs +18 -0
  279. package/components/segments-factory-D0IveW-q.js +417 -0
  280. package/components/select/index.cjs +1 -140
  281. package/components/select/index.js +8 -602
  282. package/components/select/select.d.ts +26 -17
  283. package/components/select--vrG59GQ.cjs +158 -0
  284. package/components/select-DPeI0jP9.js +518 -0
  285. package/components/{language-resolution-8yZa5r_P.js → sized-mixin-DaBoZkVS.js} +38 -35
  286. package/components/sized-mixin-StFA4y0J.cjs +18 -0
  287. package/components/skeleton-loader/index.cjs +18 -0
  288. package/components/skeleton-loader/index.d.ts +7 -0
  289. package/components/skeleton-loader/index.js +25 -0
  290. package/components/skeleton-loader/skeleton-loader.d.ts +22 -0
  291. package/components/skeleton-loader-B8NgELvX.cjs +18 -0
  292. package/components/skeleton-loader-C1XG3m_u.js +46 -0
  293. package/components/slider/index.cjs +1 -1
  294. package/components/slider/index.js +8 -1141
  295. package/components/slider/slider.d.ts +2 -0
  296. package/components/slider-3QBnq0S8.js +96 -0
  297. package/components/slider-uXRKcOz5.cjs +18 -0
  298. package/components/slottable-request-event-DZ2Z_BLk.js +29 -0
  299. package/components/{base-D76d76ww.js → slottable-request-event-gAcEQan2.cjs} +1 -9
  300. package/components/status-light/index.cjs +18 -0
  301. package/components/status-light/index.d.ts +8 -0
  302. package/components/status-light/index.js +25 -0
  303. package/components/status-light/status-light.d.ts +26 -0
  304. package/components/status-light-Bf8jGu4G.js +85 -0
  305. package/components/status-light-CBaAFRUc.cjs +21 -0
  306. package/components/strategies-DhxJGIZT.js +137 -0
  307. package/components/strategies-kuvLVIKO.cjs +18 -0
  308. package/components/streaming-listener-2NcP7ys7.js +77 -0
  309. package/components/streaming-listener-BnDW38lt.cjs +18 -0
  310. package/components/suggestion/index.cjs +18 -0
  311. package/components/suggestion/index.d.ts +8 -0
  312. package/components/suggestion/index.js +25 -0
  313. package/components/suggestion/suggestion.d.ts +45 -0
  314. package/components/suggestion-CEJiW_7y.cjs +23 -0
  315. package/components/suggestion-DK5gxxDI.js +76 -0
  316. package/components/swatch/index.cjs +1 -32
  317. package/components/swatch/index.js +8 -325
  318. package/components/swatch-BLuV-hlF.js +271 -0
  319. package/components/swatch-G70JUe6I.cjs +49 -0
  320. package/components/switch/index.cjs +1 -5
  321. package/components/switch/index.js +8 -56
  322. package/components/switch-BdE-hI69.js +60 -0
  323. package/components/switch-KzkrF-ob.cjs +22 -0
  324. package/components/tabs/index.cjs +1 -76
  325. package/components/tabs/index.js +8 -619
  326. package/components/tabs/tabs.d.ts +3 -9
  327. package/components/tabs-BfTgzdid.cjs +76 -0
  328. package/components/tabs-BthdwrmW.js +434 -0
  329. package/components/tags/index.cjs +1 -15
  330. package/components/tags/index.d.ts +1 -0
  331. package/components/tags/index.js +8 -156
  332. package/components/tags/tag.d.ts +28 -0
  333. package/components/tags/tags.d.ts +3 -1
  334. package/components/tags-B89eYzsB.js +203 -0
  335. package/components/tags-OBPAvjdV.cjs +47 -0
  336. package/components/text-field/index.cjs +1 -4
  337. package/components/text-field/index.js +9 -45
  338. package/components/text-field/text-field.d.ts +27 -0
  339. package/components/text-field-A4Obzs4l.cjs +21 -0
  340. package/components/text-field-BoGAvXvh.js +44 -0
  341. package/components/text-field-Cs8HYRYL.js +256 -0
  342. package/components/text-field-FJr8ZUhI.cjs +81 -0
  343. package/components/text-field.module-Btsve-VN.js +21 -0
  344. package/components/text-field.module-D5oDP7MB.cjs +18 -0
  345. package/components/toast/index.cjs +1 -34
  346. package/components/toast/index.js +8 -136
  347. package/components/toast-CJSQUzoW.cjs +51 -0
  348. package/components/toast-DKwphMrp.js +133 -0
  349. package/components/tooltip/index.cjs +1 -28
  350. package/components/tooltip/index.js +8 -205
  351. package/components/tooltip/tooltip.d.ts +12 -1
  352. package/components/tooltip-C3O4AQ1l.js +192 -0
  353. package/components/tooltip-DY1trLtg.cjs +45 -0
  354. package/components/top-nav/index.cjs +18 -0
  355. package/components/top-nav/index.d.ts +10 -0
  356. package/components/top-nav/index.js +25 -0
  357. package/components/top-nav/top-nav-item.d.ts +26 -0
  358. package/components/top-nav/top-nav.d.ts +45 -0
  359. package/components/top-nav-DVQ5ASMa.js +203 -0
  360. package/components/top-nav-DlTojz8S.cjs +45 -0
  361. package/components/utils.cjs +1 -1
  362. package/components/utils.js +8 -25
  363. package/components/voice-recorder-477xPHRU.js +134 -0
  364. package/components/voice-recorder-BUtmSvPO.cjs +18 -0
  365. package/custom-elements.json +1 -1
  366. package/index.d.ts +11 -1
  367. package/package.json +134 -5
  368. package/utils/button-interaction-controllers/interaction-controller.d.ts +1 -1
  369. package/utils/index.d.ts +1 -0
  370. package/utils/scaled-indicator.d.ts +8 -0
  371. package/utils/voice-recorder.d.ts +121 -0
  372. package/components/NumberFormatter-DewVDY5w.cjs +0 -18
  373. package/components/NumberFormatter-DgOUVrge.js +0 -136
  374. package/components/NumberParser-Dik4a0h-.cjs +0 -18
  375. package/components/NumberParser-ci9J5EKv.js +0 -173
  376. package/components/action-group-DBImibFn.js +0 -258
  377. package/components/action-group-DJGMcRHb.cjs +0 -20
  378. package/components/async-directive-BX1T1e1_.cjs +0 -22
  379. package/components/async-directive-BfcqVjDp.js +0 -82
  380. package/components/base-CBCg3yyw.cjs +0 -40
  381. package/components/base-WsynuqaS.js +0 -677
  382. package/components/button-base-DbkDzb71.js +0 -144
  383. package/components/button-base-XgPLmwP-.cjs +0 -25
  384. package/components/checkbox-mixin-Do7EgtpQ.js +0 -70
  385. package/components/class-map-Di1D_rCm.cjs +0 -22
  386. package/components/class-map-NbVXqBU0.js +0 -51
  387. package/components/clear-button-DQcRdcUa.js +0 -53
  388. package/components/clear-button-OFUFFe7G.cjs +0 -18
  389. package/components/close-button-Cbnb7XXj.cjs +0 -18
  390. package/components/close-button-CqHYZhum.js +0 -51
  391. package/components/color-controller-DTp1juRz.js +0 -3198
  392. package/components/color-controller-_ZwyhvaU.cjs +0 -18
  393. package/components/color-loupe-CaA_Lfkk.cjs +0 -56
  394. package/components/color-loupe-CmMsXbjT.js +0 -81
  395. package/components/dependency-manger-C5HCkMMB.cjs +0 -18
  396. package/components/dependency-manger-CEXvGQUV.js +0 -54
  397. package/components/directive-C7oCP5Bh.cjs +0 -22
  398. package/components/directive-helpers-Cm6gitnu.js +0 -62
  399. package/components/directive-helpers-DyIRTWwA.cjs +0 -22
  400. package/components/divider.module-DDvBo9zo.cjs +0 -18
  401. package/components/divider.module-DoQWQEIJ.js +0 -21
  402. package/components/element-resolution-BvRLGqIU.cjs +0 -18
  403. package/components/element-resolution-FCUT-wql.js +0 -91
  404. package/components/field-group-DXfBWrkO.js +0 -66
  405. package/components/field-group-DkGst3r5.cjs +0 -23
  406. package/components/field-label-CZ2zzChK.js +0 -106
  407. package/components/field-label-mO1AkUgR.cjs +0 -25
  408. package/components/flow-D-0MTYCm.js +0 -527
  409. package/components/flow-DM3dNAKs.cjs +0 -30
  410. package/components/focus-group-DHeTq18L.js +0 -218
  411. package/components/focus-group-DnxZUBhQ.cjs +0 -18
  412. package/components/focus-visible-B0P9aY_G.cjs +0 -18
  413. package/components/focus-visible-DBlJGoEW.js +0 -74
  414. package/components/focusable-BxtpnzWp.js +0 -153
  415. package/components/focusable-EbipgXRh.cjs +0 -18
  416. package/components/index-BwxgAdzi.cjs +0 -57
  417. package/components/index-Cl54m8Yh.js +0 -1490
  418. package/components/index-HjQa8tew.js +0 -1174
  419. package/components/index-Wq3qZJGh.cjs +0 -113
  420. package/components/language-resolution-DJzmyzZq.cjs +0 -18
  421. package/components/like-anchor-Bvn_vLQ8.js +0 -69
  422. package/components/like-anchor-sod1C1fR.cjs +0 -32
  423. package/components/luzmo-icons-4nDFv1Lq.js +0 -229
  424. package/components/luzmo-icons-D4IvHgVd.cjs +0 -29
  425. package/components/manage-help-text-DhgARkZX.cjs +0 -30
  426. package/components/manage-help-text-syYnjKGL.js +0 -92
  427. package/components/mutation-controller-DH7YOCyj.js +0 -52
  428. package/components/mutation-controller-DkOMCW-c.cjs +0 -22
  429. package/components/observe-slot-presence-CmVi0zTc.js +0 -68
  430. package/components/observe-slot-presence-bc9chhsi.cjs +0 -18
  431. package/components/observe-slot-text-BPfIQQtz.js +0 -87
  432. package/components/observe-slot-text-Ceb7SvYT.cjs +0 -18
  433. package/components/overlay-Cig9r6uU.js +0 -2747
  434. package/components/overlay-KSKMzzkh.cjs +0 -47
  435. package/components/pending-state-DTX7ggyF.js +0 -61
  436. package/components/picker-BfBP7XJN.js +0 -461
  437. package/components/picker-xIphqE6d.cjs +0 -123
  438. package/components/platform-BiXhwqk3.cjs +0 -18
  439. package/components/popover-DjX0aAnY.js +0 -67
  440. package/components/popover-KFfO0IYL.cjs +0 -30
  441. package/components/progress-circle-BvRJNuNo.cjs +0 -33
  442. package/components/progress-circle-DXH9z8-6.js +0 -97
  443. package/components/query-BL-TJj7K.cjs +0 -22
  444. package/components/query-D_KR_GUc.js +0 -51
  445. package/components/query-assigned-elements-DjfhL1cl.js +0 -36
  446. package/components/query-assigned-elements-DsKsfk7G.cjs +0 -22
  447. package/components/query-assigned-nodes-BcKWmGzy.cjs +0 -22
  448. package/components/roving-tabindex-By_fCy_e.cjs +0 -18
  449. package/components/roving-tabindex-DOg4z6ZU.js +0 -66
  450. package/components/sized-mixin-CPxE5C96.cjs +0 -18
  451. package/components/sized-mixin-D4ACoVUr.js +0 -63
  452. package/components/slottable-request-event-BfUUt1Mh.cjs +0 -18
  453. package/components/slottable-request-event-DggLA4Rx.js +0 -31
  454. package/components/state-D8JEtYqe.cjs +0 -22
  455. package/components/strategies-9indNIEb.js +0 -195
  456. package/components/strategies-BACP6MhR.cjs +0 -18
  457. package/components/streaming-listener-B00MvALi.cjs +0 -18
  458. package/components/streaming-listener-CP-JE6Fa.js +0 -91
  459. package/components/style-map-CeilmSgs.cjs +0 -22
  460. package/components/style-map-IgqIKvlE.js +0 -53
  461. package/components/text-field-BTkr42k4.cjs +0 -85
  462. package/components/text-field-ol9Ed5lQ.js +0 -314
  463. package/components/text-field.module-ColtFhf_.js +0 -21
  464. package/components/text-field.module-p_VF2tC_.cjs +0 -18
  465. package/components/unit-input/index.cjs +0 -43
  466. package/components/unit-input/index.d.ts +0 -7
  467. package/components/unit-input/index.js +0 -183
  468. package/components/unit-input/unit-input.d.ts +0 -33
  469. /package/components/date-time-picker/{helpers.d.ts → shared/helpers.d.ts} +0 -0
  470. /package/components/date-time-picker/{segments → shared/segments}/date/day-segment.d.ts +0 -0
  471. /package/components/date-time-picker/{segments → shared/segments}/date/month-segment.d.ts +0 -0
  472. /package/components/date-time-picker/{segments → shared/segments}/date/year-segment.d.ts +0 -0
  473. /package/components/date-time-picker/{segments → shared/segments}/date-time-segments.d.ts +0 -0
  474. /package/components/date-time-picker/{segments → shared/segments}/editable-segment.d.ts +0 -0
  475. /package/components/date-time-picker/{segments → shared/segments}/literal-segment.d.ts +0 -0
  476. /package/components/date-time-picker/{segments → shared/segments}/modifiers/clear-modifier.d.ts +0 -0
  477. /package/components/date-time-picker/{segments → shared/segments}/modifiers/decrement-modifier.d.ts +0 -0
  478. /package/components/date-time-picker/{segments → shared/segments}/modifiers/increment-modifier.d.ts +0 -0
  479. /package/components/date-time-picker/{segments → shared/segments}/modifiers/input-modifier.d.ts +0 -0
  480. /package/components/date-time-picker/{segments → shared/segments}/modifiers/segments-modifier.d.ts +0 -0
  481. /package/components/date-time-picker/{segments → shared/segments}/segments-factory.d.ts +0 -0
  482. /package/components/date-time-picker/{segments → shared/segments}/segments-formatter.d.ts +0 -0
  483. /package/components/date-time-picker/{segments → shared/segments}/time/day-period-segment.d.ts +0 -0
  484. /package/components/date-time-picker/{segments → shared/segments}/time/hour-segment.d.ts +0 -0
  485. /package/components/date-time-picker/{segments → shared/segments}/time/millisecond-segment.d.ts +0 -0
  486. /package/components/date-time-picker/{segments → shared/segments}/time/minute-segment.d.ts +0 -0
  487. /package/components/date-time-picker/{segments → shared/segments}/time/second-segment.d.ts +0 -0
@@ -1,15 +1,10 @@
1
1
  import { ResizeController } from '@lit-labs/observers/resize-controller.js';
2
- import { CSSResult, CSSResultArray, PropertyValueMap, PropertyValues, TemplateResult } from 'lit';
2
+ import { CSSResultArray, PropertyValueMap, PropertyValues, TemplateResult } from 'lit';
3
3
  import { Focusable } from '../../utils/focusable.js';
4
4
  import { RovingTabindexController } from '../../utils/reactive-controllers/roving-tabindex.js';
5
+ import { ScaledIndicator } from '../../utils/scaled-indicator.js';
5
6
  import { LuzmoTab } from './tab';
6
- export declare const ScaledIndicator: {
7
- baseSize: 100;
8
- noSelectionStyle: string;
9
- transformX(left: number, width: number): string;
10
- transformY(top: number, height: number): string;
11
- baseStyles(): CSSResult;
12
- };
7
+ export { ScaledIndicator };
13
8
  /**
14
9
  * Given that the scroll needs to be on the right side of the viewport.
15
10
  * Returns the coordonate x it needs to scroll so that the tab with given index is visible.
@@ -102,4 +97,3 @@ export declare class LuzmoTabs extends LuzmoTabs_base {
102
97
  connectedCallback(): void;
103
98
  disconnectedCallback(): void;
104
99
  }
105
- export {};
@@ -0,0 +1,76 @@
1
+ /*! * Lucero - The design system for Luzmo.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
6
+ * This license allows users with a current active Luzmo account to use Lucero.
7
+ * This license terminates automatically if a user no longer has an active Luzmo account.
8
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
9
+ *
10
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
+ * SOFTWARE.
17
+ * */
18
+ require(`./chunk-D-qHiVGv.cjs`);const e=require(`./decorate-B2wePfNm.cjs`),t=require(`./sized-mixin-StFA4y0J.cjs`),n=require(`./focus-visible-B0NNezGc.cjs`),r=require(`./focusable-CupEoHmn.cjs`),i=require(`./roving-tabindex-B7x5ePUB.cjs`);require(`./icon-B7hKwn_q.cjs`);const a=require(`./observe-slot-text-BhTcGuHY.cjs`),o=require(`./random-id-B51lUxUB.cjs`);require(`./action-button-G0PWSrZo.cjs`);const s=require(`./observe-slot-presence-Dx8hzNzK.cjs`),c=require(`./scaled-indicator-p8-3k2cJ.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
+ ${this.hasIcon?l.html` <slot name="icon"></slot> `:l.nothing}
20
+ <label id="item-label" ?hidden=${!this.hasLabel}>
21
+ <slot>${this.label}</slot>
22
+ </label>
23
+ `}firstUpdated(e){super.firstUpdated(e),this.setAttribute(`role`,`tab`),this.hasAttribute(`id`)||(this.id=`luzmo-tab-${o.t()}`)}updated(e){super.updated(e),e.has(`selected`)&&(this.setAttribute(`aria-selected`,this.selected?`true`:`false`),this.setAttribute(`tabindex`,this.selected?`0`:`-1`)),e.has(`disabled`)&&(this.disabled?this.setAttribute(`aria-disabled`,`true`):this.removeAttribute(`aria-disabled`))}};e.t([(0,m.property)({type:Boolean,reflect:!0})],v.prototype,`disabled`,void 0),e.t([(0,m.property)({reflect:!0})],v.prototype,`label`,void 0),e.t([(0,m.property)({type:Boolean,reflect:!0})],v.prototype,`selected`,void 0),e.t([(0,m.property)({type:Boolean,reflect:!0})],v.prototype,`vertical`,void 0),e.t([(0,m.property)({type:String,reflect:!0})],v.prototype,`value`,void 0);var y=`:host{font-family:var(--luzmo-tab-panel-font-family,var(--luzmo-font-family));display:inline-flex}:host(:not([selected])){display:none}:host(:focus-visible){outline:var(--luzmo-tab-panel-indicator-color,var(--luzmo-indicator-color)) solid var(--luzmo-tab-panel-indicator-width,var(--luzmo-indicator-width))}`,b=class extends e.n{constructor(...e){super(...e),this.selected=!1,this.value=``}static get styles(){return[(0,l.unsafeCSS)(y)]}handleFocusin(){this.removeAttribute(`tabindex`)}handleFocusout(){this.tabIndex=this.selected?0:-1}render(){return l.html`
24
+ <slot
25
+ @focusin=${this.handleFocusin}
26
+ @focusout=${this.handleFocusout}
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`
29
+ <div
30
+ class=${(0,p.classMap)({scroll:this.enableTabsScroll})}
31
+ aria-label=${(0,f.ifDefined)(this.label??void 0)}
32
+ @click=${this.onClick}
33
+ @keydown=${this.onKeyDown}
34
+ @scroll=${this.onTabsScroll}
35
+ id="list"
36
+ role="tablist"
37
+ part="tablist"
38
+ >
39
+ <slot @slotchange=${this.onSlotChange}></slot>
40
+ <div
41
+ id="selection-indicator"
42
+ class=${(0,f.ifDefined)(this.shouldAnimate?void 0:`first-position`)}
43
+ style=${this.selectionIndicatorStyle}
44
+ role="presentation"
45
+ ></div>
46
+ </div>
47
+ <slot name="tab-panel" @slotchange=${this.managePanels}></slot>
48
+ `}willUpdate(e){if(!this.hasUpdated){let e=this.querySelector(`:scope > [selected]`);e&&this.selectTarget(e)}if(super.willUpdate(e),e.has(`selected`)){if(this.tabs.length>0&&this.updateCheckedState(),e.get(`selected`)){let t=this.querySelector(`[role="tabpanel"][value="${e.get(`selected`)}"]`);t&&(t.selected=!1)}let t=this.querySelector(`[role="tabpanel"][value="${this.selected}"]`);t&&(t.selected=!0)}e.has(`direction`)&&(this.direction===`horizontal`?this.removeAttribute(`aria-orientation`):this.setAttribute(`aria-orientation`,`vertical`)),e.has(`dir`)&&this.updateSelectionIndicator(),e.has(`disabled`)&&(this.disabled?this.setAttribute(`aria-disabled`,`true`):this.removeAttribute(`aria-disabled`)),!this.shouldAnimate&&e.get(`shouldAnimate`)!==void 0&&(this.shouldAnimate=!0)}selectTarget(e){let t=e.getAttribute(`value`);if(t){let e=this.selected;this.selected=t,this.dispatchEvent(new Event(`change`,{cancelable:!0}))||(this.selected=e)}}onSlotChange(){this.tabs=this.slotEl.assignedElements().filter(e=>e.getAttribute(`role`)===`tab`),this.updateCheckedState()}connectedCallback(){super.connectedCallback(),window.addEventListener(`resize`,this.updateSelectionIndicator),`fonts`in document&&document.fonts.addEventListener(`loadingdone`,this.updateSelectionIndicator)}disconnectedCallback(){window.removeEventListener(`resize`,this.updateSelectionIndicator),`fonts`in document&&document.fonts.removeEventListener(`loadingdone`,this.updateSelectionIndicator),super.disconnectedCallback()}};e.t([(0,u.property)({type:Boolean})],T.prototype,`auto`,void 0),e.t([(0,u.property)({type:Boolean,reflect:!0})],T.prototype,`compact`,void 0),e.t([(0,u.property)({reflect:!0})],T.prototype,`dir`,void 0),e.t([(0,u.property)({reflect:!0})],T.prototype,`direction`,void 0),e.t([(0,u.property)({type:Boolean,reflect:!0})],T.prototype,`emphasized`,void 0),e.t([(0,u.property)()],T.prototype,`label`,void 0),e.t([(0,u.property)({type:Boolean})],T.prototype,`enableTabsScroll`,void 0),e.t([(0,u.property)({type:Boolean,reflect:!0})],T.prototype,`quiet`,void 0),e.t([(0,u.property)({attribute:!1})],T.prototype,`selectionIndicatorStyle`,void 0),e.t([(0,u.property)({attribute:!1})],T.prototype,`shouldAnimate`,void 0),e.t([(0,u.query)(`slot`)],T.prototype,`slotEl`,void 0),e.t([(0,u.query)(`#list`)],T.prototype,`tabList`,void 0),e.t([(0,u.property)({reflect:!0})],T.prototype,`selected`,void 0);var E=`:host{--tabs-divider-size:2px;--tab-item-height-m:calc(var(--luzmo-component-height) + var(--luzmo-spacing-5));--tabs-overflow-button-height:calc(var(--tab-item-height-m) - var(--luzmo-tabs-divider-size,var(--tabs-divider-size)));--tabs-overflow-button-size:var(--tab-item-height-m);--tabs-overflow-icon-color:var(--luzmo-font-color-focus);--tabs-overflow-shadow-color:var(--luzmo-background-color);--tabs-overflow-shadow-width:50px;--luzmo-action-button-icon-size:var(--luzmo-font-size);--tabs-overflow-next-button-right:calc(-1 * var(--luzmo-spacing-4));--tabs-overflow-previous-button-left:calc(-1 * var(--luzmo-spacing-4));width:100%;inset:0}:host([size=s]){--tab-item-height-s:calc(var(--luzmo-component-height-s) + var(--luzmo-spacing-4));--tabs-overflow-button-height:calc(var(--tab-item-height-s) - var(--luzmo-tabs-divider-size,var(--tabs-divider-size)));--tabs-overflow-button-size:var(--tab-item-height-s);--luzmo-action-button-icon-size:var(--luzmo-font-size-s);--tabs-overflow-next-button-right:calc(-1 * var(--luzmo-spacing-3));--tabs-overflow-previous-button-left:calc(-1 * var(--luzmo-spacing-3))}:host([size=l]){--tab-item-height-l:calc(var(--luzmo-component-height-l) + var(--luzmo-spacing-5));--tabs-overflow-button-height:calc(var(--tab-item-height-l) - var(--luzmo-tabs-divider-size,var(--tabs-divider-size)));--tabs-overflow-button-size:var(--tab-item-height-l);--luzmo-action-button-icon-size:var(--luzmo-font-size-l);--tabs-overflow-next-button-right:calc(-1 * calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1)));--tabs-overflow-previous-button-left:calc(-1 * calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1)))}:host([size=xl]){--tab-item-height-xl:calc(var(--luzmo-component-height-xl) + var(--luzmo-spacing-5));--tabs-overflow-button-height:calc(var(--tab-item-height-xl) - var(--luzmo-tabs-divider-size,var(--tabs-divider-size)));--tabs-overflow-button-size:var(--tab-item-height-xl);--luzmo-action-button-icon-size:var(--luzmo-font-size-xl);--tabs-overflow-next-button-right:calc(-1 * calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-2)));--tabs-overflow-previous-button-left:calc(-1 * calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-2)))}:host([compact]){--tabs-overflow-button-height:calc(var(--tab-item-compact-height-m) - var(--luzmo-tabs-divider-size,var(--tabs-divider-size)));--luzmo-action-button-icon-size:var(--luzmo-font-size-s)}luzmo-action-button{width:var(--luzmo-tabs-overflow-button-size,var(--tabs-overflow-button-size));height:var(--luzmo-tabs-overflow-button-height,var(--tabs-overflow-button-height));z-index:2;text-align:center;box-shadow:none;color:var(--luzmo-tabs-overflow-icon-color,var(--tabs-overflow-icon-color));background:0 0;border:none;position:absolute}luzmo-action-button.left-scroll{visibility:hidden;left:var(--luzmo-tabs-overflow-previous-button-left,var(--tabs-overflow-previous-button-left))}luzmo-action-button.right-scroll{visibility:hidden;right:var(--luzmo-tabs-overflow-next-button-right,var(--tabs-overflow-next-button-right))}luzmo-action-button.left-scroll.show,luzmo-action-button.right-scroll.show{visibility:visible}.tabs-overflow-container{position:relative}.tabs-overflow-container:before,.tabs-overflow-container:after{content:"";visibility:hidden;z-index:1;height:var(--luzmo-tabs-overflow-button-height,var(--tabs-overflow-button-height));width:var(--luzmo-tabs-overflow-shadow-width,var(--tabs-overflow-shadow-width));pointer-events:none;position:absolute;inset-block-start:0}.tabs-overflow-container:before{background:transparent linear-gradient(270deg, transparent, var(--luzmo-tabs-overflow-shadow-color,var(--tabs-overflow-shadow-color))) 0 0 no-repeat padding-box;left:0}.tabs-overflow-container:after{background:transparent linear-gradient(90deg, transparent, var(--luzmo-tabs-overflow-shadow-color,var(--tabs-overflow-shadow-color))) 0 0 no-repeat padding-box;right:0}.tabs-overflow-container.left-shadow:before,.tabs-overflow-container.right-shadow:after{visibility:visible}`,D=class extends t.n(e.n){static get styles(){return[(0,l.unsafeCSS)(E),(0,l.unsafeCSS)(x)]}get scrollContent(){return this.tabs}constructor(){super(),this.compact=!1,this.labelPrevious=`Scroll to previous tabs`,this.labelNext=`Scroll to next tabs`,this.overflowState={canScrollLeft:!1,canScrollRight:!1},this.scrollFactor=.5,this.resizeController=new g.ResizeController(this,{target:this,callback:()=>{this._updateScrollState()}})}firstUpdated(e){super.firstUpdated(e);let[t]=this.scrollContent;t&&(t.enableTabsScroll=!0),this.resizeController.observe(this.overflowContainer)}async _handleSlotChange(){let[e]=this.scrollContent;await e?.updateComplete,this._updateScrollState()}_updateScrollState(){let{scrollContent:e,overflowState:t}=this;if(e){let[e]=this.scrollContent,{canScrollLeft:n,canScrollRight:r}=e?.scrollState||{canScrollLeft:!1,canScrollRight:!1};this.overflowState={...t,canScrollLeft:n,canScrollRight:r}}}_handleScrollClick(e){let t=e.currentTarget,[n]=this.scrollContent,r=n.clientWidth*this.scrollFactor,i=t.classList.contains(`left-scroll`)?-r:r;n.scrollTabs(i,`smooth`)}updated(e){super.updated(e),e.has(`dir`)&&this._updateScrollState()}render(){let{canScrollRight:e,canScrollLeft:t}=this.overflowState,n=this.labelPrevious,r=this.labelNext;return l.html`
49
+ <div
50
+ class=${(0,p.classMap)({"tabs-overflow-container":!0,"left-shadow":t,"right-shadow":e})}
51
+ >
52
+ <luzmo-action-button
53
+ class=${(0,p.classMap)({"left-scroll":!0,show:t})}
54
+ aria-label=${n}
55
+ quiet
56
+ dir="rtl"
57
+ tabindex="-1"
58
+ @click=${this._handleScrollClick}
59
+ >
60
+ <luzmo-icon slot="icon" .icon=${d.luzmoAngleLeft}></luzmo-icon>
61
+ </luzmo-action-button>
62
+ <luzmo-action-button
63
+ class=${(0,p.classMap)({"right-scroll":!0,show:e})}
64
+ aria-label=${r}
65
+ quiet
66
+ tabindex="-1"
67
+ @click=${this._handleScrollClick}
68
+ >
69
+ <luzmo-icon slot="icon" .icon=${d.luzmoAngleRight}></luzmo-icon>
70
+ </luzmo-action-button>
71
+ <slot
72
+ @slotchange=${this._handleSlotChange}
73
+ @luzmo-tabs-scroll=${this._updateScrollState}
74
+ ></slot>
75
+ </div>
76
+ `}};e.t([(0,u.property)({type:Boolean,reflect:!0})],D.prototype,`compact`,void 0),e.t([(0,u.property)({type:String,attribute:`label-previous`})],D.prototype,`labelPrevious`,void 0),e.t([(0,u.property)({type:String,attribute:`label-next`})],D.prototype,`labelNext`,void 0),e.t([(0,u.property)({reflect:!0})],D.prototype,`dir`,void 0),e.t([(0,u.state)()],D.prototype,`overflowState`,void 0),e.t([(0,u.queryAssignedElements)({selector:`luzmo-tabs`,flatten:!0})],D.prototype,`tabs`,void 0),e.t([(0,u.query)(`.tabs-overflow-container`)],D.prototype,`overflowContainer`,void 0),customElements.get(`luzmo-tab`)||customElements.define(`luzmo-tab`,v),customElements.get(`luzmo-tabs`)||customElements.define(`luzmo-tabs`,T),customElements.get(`luzmo-tab-panel`)||customElements.define(`luzmo-tab-panel`,b),customElements.get(`luzmo-tabs-overflow`)||customElements.define(`luzmo-tabs-overflow`,D),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return T}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return b}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return D}});
@@ -0,0 +1,434 @@
1
+ /*! * Lucero - The design system for Luzmo.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
6
+ * This license allows users with a current active Luzmo account to use Lucero.
7
+ * This license terminates automatically if a user no longer has an active Luzmo account.
8
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
9
+ *
10
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
+ * SOFTWARE.
17
+ * */
18
+ import { n as e, t } from "./decorate-aGxJUVxg.js";
19
+ import { n } from "./sized-mixin-DaBoZkVS.js";
20
+ import { t as r } from "./focus-visible-CrooVCUu.js";
21
+ import { t as i } from "./focusable-BmS8IzhH.js";
22
+ import { t as a } from "./roving-tabindex-BP6mQbXf.js";
23
+ import "./icon-CwBAE1eU.js";
24
+ import { t as o } from "./observe-slot-text-Ddf1OC6F.js";
25
+ import { t as s } from "./random-id-Dd4boCPV.js";
26
+ import "./action-button-B4_UEJle.js";
27
+ import { t as c } from "./observe-slot-presence-BCqd3VSd.js";
28
+ import { t as l } from "./scaled-indicator-BcO2BOsf.js";
29
+ import { html as u, nothing as d, unsafeCSS as f } from "lit";
30
+ import { property as p, query as m, queryAssignedElements as h, state as g } from "lit/decorators.js";
31
+ import { luzmoAngleLeft as _, luzmoAngleRight as v } from "@luzmo/icons";
32
+ import { ifDefined as y } from "lit/directives/if-defined.js";
33
+ import { classMap as b } from "lit/directives/class-map.js";
34
+ import { property as x } from "lit/decorators/property.js";
35
+ import { IntersectionController as S } from "@lit-labs/observers/intersection-controller.js";
36
+ import { ResizeController as C } from "@lit-labs/observers/resize-controller.js";
37
+ //#region src/components/tabs/tab.module.scss?inline
38
+ var w = ":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)}", T = class extends r(o(c(e, "[slot=\"icon\"]"), "")) {
39
+ constructor(...e) {
40
+ super(...e), this.disabled = !1, this.label = "", this.selected = !1, this.vertical = !1, this.value = "";
41
+ }
42
+ static get styles() {
43
+ return [f(w)];
44
+ }
45
+ get hasIcon() {
46
+ return this.slotContentIsPresent;
47
+ }
48
+ get hasLabel() {
49
+ return !!this.label || this.slotHasContent;
50
+ }
51
+ render() {
52
+ return u`
53
+ ${this.hasIcon ? u` <slot name="icon"></slot> ` : d}
54
+ <label id="item-label" ?hidden=${!this.hasLabel}>
55
+ <slot>${this.label}</slot>
56
+ </label>
57
+ `;
58
+ }
59
+ firstUpdated(e) {
60
+ super.firstUpdated(e), this.setAttribute("role", "tab"), this.hasAttribute("id") || (this.id = `luzmo-tab-${s()}`);
61
+ }
62
+ updated(e) {
63
+ super.updated(e), e.has("selected") && (this.setAttribute("aria-selected", this.selected ? "true" : "false"), this.setAttribute("tabindex", this.selected ? "0" : "-1")), e.has("disabled") && (this.disabled ? this.setAttribute("aria-disabled", "true") : this.removeAttribute("aria-disabled"));
64
+ }
65
+ };
66
+ t([x({
67
+ type: Boolean,
68
+ reflect: !0
69
+ })], T.prototype, "disabled", void 0), t([x({ reflect: !0 })], T.prototype, "label", void 0), t([x({
70
+ type: Boolean,
71
+ reflect: !0
72
+ })], T.prototype, "selected", void 0), t([x({
73
+ type: Boolean,
74
+ reflect: !0
75
+ })], T.prototype, "vertical", void 0), t([x({
76
+ type: String,
77
+ reflect: !0
78
+ })], T.prototype, "value", void 0);
79
+ //#endregion
80
+ //#region src/components/tabs/tab-panel.module.scss?inline
81
+ var E = ":host{font-family:var(--luzmo-tab-panel-font-family,var(--luzmo-font-family));display:inline-flex}:host(:not([selected])){display:none}:host(:focus-visible){outline:var(--luzmo-tab-panel-indicator-color,var(--luzmo-indicator-color)) solid var(--luzmo-tab-panel-indicator-width,var(--luzmo-indicator-width))}", D = class extends e {
82
+ constructor(...e) {
83
+ super(...e), this.selected = !1, this.value = "";
84
+ }
85
+ static get styles() {
86
+ return [f(E)];
87
+ }
88
+ handleFocusin() {
89
+ this.removeAttribute("tabindex");
90
+ }
91
+ handleFocusout() {
92
+ this.tabIndex = this.selected ? 0 : -1;
93
+ }
94
+ render() {
95
+ return u`
96
+ <slot
97
+ @focusin=${this.handleFocusin}
98
+ @focusout=${this.handleFocusout}
99
+ ></slot>
100
+ `;
101
+ }
102
+ firstUpdated() {
103
+ this.slot = "tab-panel", this.setAttribute("role", "tabpanel"), this.tabIndex = 0, this.hasAttribute("id") || (this.id = `luzmo-tab-panel-${s()}`);
104
+ }
105
+ updated(e) {
106
+ e.has("selected") && (this.selected ? (this.removeAttribute("aria-hidden"), this.tabIndex = 0) : (this.setAttribute("aria-hidden", "true"), this.tabIndex = -1));
107
+ }
108
+ };
109
+ t([x({
110
+ type: Boolean,
111
+ reflect: !0
112
+ })], D.prototype, "selected", void 0), t([x({
113
+ type: String,
114
+ reflect: !0
115
+ })], D.prototype, "value", void 0);
116
+ //#endregion
117
+ //#region src/components/tabs/tabs-sizes.module.scss?inline
118
+ var O = "#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)))}", k = "#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}";
119
+ //#endregion
120
+ //#region src/components/tabs/tabs.ts
121
+ function A(e, t, n, r) {
122
+ let i = n[e + (t === "rtl" ? -1 : 1)], a = r.scrollLeft + r.offsetWidth;
123
+ return i ? i.offsetLeft - r.offsetWidth : a;
124
+ }
125
+ function j(e, t, n, r) {
126
+ let i = n[e + (t === "rtl" ? 1 : -1)], a = t === "rtl" ? -r.offsetWidth : 0;
127
+ return i ? i.offsetLeft + i.offsetWidth : a;
128
+ }
129
+ var M = class extends n(i, { noDefaultSize: !0 }) {
130
+ static get styles() {
131
+ return [
132
+ f(O),
133
+ f(k),
134
+ l.baseStyles()
135
+ ];
136
+ }
137
+ set tabs(e) {
138
+ e !== this.tabs && (this._tabs.forEach((e) => {
139
+ this.resizeController.unobserve(e);
140
+ }), e.forEach((e) => {
141
+ this.resizeController.observe(e);
142
+ }), this._tabs = e, this.rovingTabindexController.clearElementCache());
143
+ }
144
+ get tabs() {
145
+ return this._tabs;
146
+ }
147
+ constructor() {
148
+ super(), this.auto = !1, this.compact = !1, this.direction = "horizontal", this.emphasized = !1, this.label = "", this.enableTabsScroll = !1, this.quiet = !1, this.selectionIndicatorStyle = l.noSelectionStyle, this.shouldAnimate = !1, this.selected = "", this._tabs = [], this.resizeController = new C(this, { callback: () => {
149
+ this.updateSelectionIndicator();
150
+ } }), this.rovingTabindexController = new a(this, {
151
+ focusInIndex: (e) => {
152
+ let t = 0;
153
+ return e.find((e, n) => {
154
+ let r = this.selected ? e.value === this.selected : !e.disabled;
155
+ return t = n, r;
156
+ }) ? t : -1;
157
+ },
158
+ direction: () => "both",
159
+ elementEnterAction: (e) => {
160
+ this.auto && (this.shouldAnimate = !0, this.selectTarget(e));
161
+ },
162
+ elements: () => this.tabs,
163
+ isFocusableElement: (e) => !this.disabled && !e.disabled,
164
+ listenerScope: () => this.tabList
165
+ }), this.onTabsScroll = () => {
166
+ this.dispatchEvent(new Event("luzmo-tabs-scroll", {
167
+ bubbles: !0,
168
+ composed: !0
169
+ }));
170
+ }, this.onClick = (e) => {
171
+ if (this.disabled) return;
172
+ let t = e.composedPath().find((e) => e.parentElement === this);
173
+ !t || t.disabled || (this.shouldAnimate = !0, this.selectTarget(t));
174
+ }, this.onKeyDown = (e) => {
175
+ if (e.code === "Enter" || e.code === "Space") {
176
+ e.preventDefault();
177
+ let t = e.target;
178
+ t && this.selectTarget(t);
179
+ }
180
+ }, this.updateCheckedState = () => {
181
+ if (this.tabs.forEach((e) => {
182
+ e.removeAttribute("selected");
183
+ }), this.selected) {
184
+ let e = this.tabs.find((e) => e.value === this.selected);
185
+ e ? e.selected = !0 : this.selected = "";
186
+ } else {
187
+ let e = this.tabs[0];
188
+ e && e.setAttribute("tabindex", "0");
189
+ }
190
+ this.updateSelectionIndicator();
191
+ }, this.updateSelectionIndicator = async () => {
192
+ let e = this.tabs.find((e) => e.selected);
193
+ if (!e) {
194
+ this.selectionIndicatorStyle = l.noSelectionStyle;
195
+ return;
196
+ }
197
+ await Promise.all([e.updateComplete, document.fonts ? document.fonts.ready : Promise.resolve()]);
198
+ let { width: t, height: n } = e.getBoundingClientRect();
199
+ this.selectionIndicatorStyle = this.direction === "horizontal" ? l.transformX(e.offsetLeft, t) : l.transformY(e.offsetTop, n);
200
+ }, new S(this, {
201
+ config: {
202
+ root: null,
203
+ rootMargin: "0px",
204
+ threshold: [0, 1]
205
+ },
206
+ callback: () => {
207
+ this.updateSelectionIndicator();
208
+ }
209
+ });
210
+ }
211
+ get focusElement() {
212
+ return this.rovingTabindexController.focusInElement || this;
213
+ }
214
+ limitDeltaToInterval(e, t) {
215
+ return (n) => n < e ? e : n > t ? t : n;
216
+ }
217
+ scrollTabs(e, t = "smooth") {
218
+ if (e === 0) return;
219
+ 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));
220
+ this.tabList?.scrollBy({
221
+ left: o(e),
222
+ top: 0,
223
+ behavior: t
224
+ });
225
+ }
226
+ get scrollState() {
227
+ if (this.tabList) {
228
+ let { scrollLeft: e, clientWidth: t, scrollWidth: n } = this.tabList, r = Math.abs(e) > 0, i = Math.ceil(Math.abs(e)) < n - t;
229
+ return {
230
+ canScrollLeft: this.dir === "ltr" ? r : i,
231
+ canScrollRight: this.dir === "ltr" ? i : r
232
+ };
233
+ }
234
+ return {};
235
+ }
236
+ async getUpdateComplete() {
237
+ let e = await super.getUpdateComplete(), t = [...this.children].map((e) => e.updateComplete === void 0 ? Promise.resolve(!0) : e.updateComplete);
238
+ return await Promise.all(t), e;
239
+ }
240
+ getNecessaryAutoScroll(e) {
241
+ let t = this.tabs[e], n = t.offsetLeft + t.offsetWidth, r = this.tabList.scrollLeft + this.tabList.offsetWidth, i = t.offsetLeft, a = this.tabList.scrollLeft;
242
+ return n > r ? A(e, this.dir, this.tabs, this.tabList) : i < a ? j(e, this.dir, this.tabs, this.tabList) : -1;
243
+ }
244
+ async scrollToSelection() {
245
+ if (!this.enableTabsScroll || !this.selected) return;
246
+ await this.updateComplete;
247
+ let e = this.tabs.findIndex((e) => e.value === this.selected);
248
+ if (e !== -1 && this.tabList) {
249
+ let t = this.getNecessaryAutoScroll(e);
250
+ t !== -1 && this.tabList.scrollTo({ left: t });
251
+ }
252
+ }
253
+ updated(e) {
254
+ super.updated(e), e.has("selected") && this.scrollToSelection();
255
+ }
256
+ managePanels({ target: e }) {
257
+ e.assignedElements().map((e) => {
258
+ let { value: t, id: n } = e, r = this.querySelector(`[role="tab"][value="${t}"]`);
259
+ r && (r.setAttribute("aria-controls", n), e.setAttribute("aria-labelledby", r.id)), e.selected = t === this.selected;
260
+ });
261
+ }
262
+ render() {
263
+ return u`
264
+ <div
265
+ class=${b({ scroll: this.enableTabsScroll })}
266
+ aria-label=${y(this.label ?? void 0)}
267
+ @click=${this.onClick}
268
+ @keydown=${this.onKeyDown}
269
+ @scroll=${this.onTabsScroll}
270
+ id="list"
271
+ role="tablist"
272
+ part="tablist"
273
+ >
274
+ <slot @slotchange=${this.onSlotChange}></slot>
275
+ <div
276
+ id="selection-indicator"
277
+ class=${y(this.shouldAnimate ? void 0 : "first-position")}
278
+ style=${this.selectionIndicatorStyle}
279
+ role="presentation"
280
+ ></div>
281
+ </div>
282
+ <slot name="tab-panel" @slotchange=${this.managePanels}></slot>
283
+ `;
284
+ }
285
+ willUpdate(e) {
286
+ if (!this.hasUpdated) {
287
+ let e = this.querySelector(":scope > [selected]");
288
+ e && this.selectTarget(e);
289
+ }
290
+ if (super.willUpdate(e), e.has("selected")) {
291
+ if (this.tabs.length > 0 && this.updateCheckedState(), e.get("selected")) {
292
+ let t = this.querySelector(`[role="tabpanel"][value="${e.get("selected")}"]`);
293
+ t && (t.selected = !1);
294
+ }
295
+ let t = this.querySelector(`[role="tabpanel"][value="${this.selected}"]`);
296
+ t && (t.selected = !0);
297
+ }
298
+ e.has("direction") && (this.direction === "horizontal" ? this.removeAttribute("aria-orientation") : this.setAttribute("aria-orientation", "vertical")), e.has("dir") && this.updateSelectionIndicator(), e.has("disabled") && (this.disabled ? this.setAttribute("aria-disabled", "true") : this.removeAttribute("aria-disabled")), !this.shouldAnimate && e.get("shouldAnimate") !== void 0 && (this.shouldAnimate = !0);
299
+ }
300
+ selectTarget(e) {
301
+ let t = e.getAttribute("value");
302
+ if (t) {
303
+ let e = this.selected;
304
+ this.selected = t, this.dispatchEvent(new Event("change", { cancelable: !0 })) || (this.selected = e);
305
+ }
306
+ }
307
+ onSlotChange() {
308
+ this.tabs = this.slotEl.assignedElements().filter((e) => e.getAttribute("role") === "tab"), this.updateCheckedState();
309
+ }
310
+ connectedCallback() {
311
+ super.connectedCallback(), window.addEventListener("resize", this.updateSelectionIndicator), "fonts" in document && document.fonts.addEventListener("loadingdone", this.updateSelectionIndicator);
312
+ }
313
+ disconnectedCallback() {
314
+ window.removeEventListener("resize", this.updateSelectionIndicator), "fonts" in document && document.fonts.removeEventListener("loadingdone", this.updateSelectionIndicator), super.disconnectedCallback();
315
+ }
316
+ };
317
+ t([p({ type: Boolean })], M.prototype, "auto", void 0), t([p({
318
+ type: Boolean,
319
+ reflect: !0
320
+ })], M.prototype, "compact", void 0), t([p({ reflect: !0 })], M.prototype, "dir", void 0), t([p({ reflect: !0 })], M.prototype, "direction", void 0), t([p({
321
+ type: Boolean,
322
+ reflect: !0
323
+ })], M.prototype, "emphasized", void 0), t([p()], M.prototype, "label", void 0), t([p({ type: Boolean })], M.prototype, "enableTabsScroll", void 0), t([p({
324
+ type: Boolean,
325
+ reflect: !0
326
+ })], M.prototype, "quiet", void 0), t([p({ attribute: !1 })], M.prototype, "selectionIndicatorStyle", void 0), t([p({ attribute: !1 })], M.prototype, "shouldAnimate", void 0), t([m("slot")], M.prototype, "slotEl", void 0), t([m("#list")], M.prototype, "tabList", void 0), t([p({ reflect: !0 })], M.prototype, "selected", void 0);
327
+ //#endregion
328
+ //#region src/components/tabs/tabs-overflow.module.scss?inline
329
+ var N = ":host{--tabs-divider-size:2px;--tab-item-height-m:calc(var(--luzmo-component-height) + var(--luzmo-spacing-5));--tabs-overflow-button-height:calc(var(--tab-item-height-m) - var(--luzmo-tabs-divider-size,var(--tabs-divider-size)));--tabs-overflow-button-size:var(--tab-item-height-m);--tabs-overflow-icon-color:var(--luzmo-font-color-focus);--tabs-overflow-shadow-color:var(--luzmo-background-color);--tabs-overflow-shadow-width:50px;--luzmo-action-button-icon-size:var(--luzmo-font-size);--tabs-overflow-next-button-right:calc(-1 * var(--luzmo-spacing-4));--tabs-overflow-previous-button-left:calc(-1 * var(--luzmo-spacing-4));width:100%;inset:0}:host([size=s]){--tab-item-height-s:calc(var(--luzmo-component-height-s) + var(--luzmo-spacing-4));--tabs-overflow-button-height:calc(var(--tab-item-height-s) - var(--luzmo-tabs-divider-size,var(--tabs-divider-size)));--tabs-overflow-button-size:var(--tab-item-height-s);--luzmo-action-button-icon-size:var(--luzmo-font-size-s);--tabs-overflow-next-button-right:calc(-1 * var(--luzmo-spacing-3));--tabs-overflow-previous-button-left:calc(-1 * var(--luzmo-spacing-3))}:host([size=l]){--tab-item-height-l:calc(var(--luzmo-component-height-l) + var(--luzmo-spacing-5));--tabs-overflow-button-height:calc(var(--tab-item-height-l) - var(--luzmo-tabs-divider-size,var(--tabs-divider-size)));--tabs-overflow-button-size:var(--tab-item-height-l);--luzmo-action-button-icon-size:var(--luzmo-font-size-l);--tabs-overflow-next-button-right:calc(-1 * calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1)));--tabs-overflow-previous-button-left:calc(-1 * calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1)))}:host([size=xl]){--tab-item-height-xl:calc(var(--luzmo-component-height-xl) + var(--luzmo-spacing-5));--tabs-overflow-button-height:calc(var(--tab-item-height-xl) - var(--luzmo-tabs-divider-size,var(--tabs-divider-size)));--tabs-overflow-button-size:var(--tab-item-height-xl);--luzmo-action-button-icon-size:var(--luzmo-font-size-xl);--tabs-overflow-next-button-right:calc(-1 * calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-2)));--tabs-overflow-previous-button-left:calc(-1 * calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-2)))}:host([compact]){--tabs-overflow-button-height:calc(var(--tab-item-compact-height-m) - var(--luzmo-tabs-divider-size,var(--tabs-divider-size)));--luzmo-action-button-icon-size:var(--luzmo-font-size-s)}luzmo-action-button{width:var(--luzmo-tabs-overflow-button-size,var(--tabs-overflow-button-size));height:var(--luzmo-tabs-overflow-button-height,var(--tabs-overflow-button-height));z-index:2;text-align:center;box-shadow:none;color:var(--luzmo-tabs-overflow-icon-color,var(--tabs-overflow-icon-color));background:0 0;border:none;position:absolute}luzmo-action-button.left-scroll{visibility:hidden;left:var(--luzmo-tabs-overflow-previous-button-left,var(--tabs-overflow-previous-button-left))}luzmo-action-button.right-scroll{visibility:hidden;right:var(--luzmo-tabs-overflow-next-button-right,var(--tabs-overflow-next-button-right))}luzmo-action-button.left-scroll.show,luzmo-action-button.right-scroll.show{visibility:visible}.tabs-overflow-container{position:relative}.tabs-overflow-container:before,.tabs-overflow-container:after{content:\"\";visibility:hidden;z-index:1;height:var(--luzmo-tabs-overflow-button-height,var(--tabs-overflow-button-height));width:var(--luzmo-tabs-overflow-shadow-width,var(--tabs-overflow-shadow-width));pointer-events:none;position:absolute;inset-block-start:0}.tabs-overflow-container:before{background:transparent linear-gradient(270deg, transparent, var(--luzmo-tabs-overflow-shadow-color,var(--tabs-overflow-shadow-color))) 0 0 no-repeat padding-box;left:0}.tabs-overflow-container:after{background:transparent linear-gradient(90deg, transparent, var(--luzmo-tabs-overflow-shadow-color,var(--tabs-overflow-shadow-color))) 0 0 no-repeat padding-box;right:0}.tabs-overflow-container.left-shadow:before,.tabs-overflow-container.right-shadow:after{visibility:visible}", P = class extends n(e) {
330
+ static get styles() {
331
+ return [f(N), f(O)];
332
+ }
333
+ get scrollContent() {
334
+ return this.tabs;
335
+ }
336
+ constructor() {
337
+ super(), this.compact = !1, this.labelPrevious = "Scroll to previous tabs", this.labelNext = "Scroll to next tabs", this.overflowState = {
338
+ canScrollLeft: !1,
339
+ canScrollRight: !1
340
+ }, this.scrollFactor = .5, this.resizeController = new C(this, {
341
+ target: this,
342
+ callback: () => {
343
+ this._updateScrollState();
344
+ }
345
+ });
346
+ }
347
+ firstUpdated(e) {
348
+ super.firstUpdated(e);
349
+ let [t] = this.scrollContent;
350
+ t && (t.enableTabsScroll = !0), this.resizeController.observe(this.overflowContainer);
351
+ }
352
+ async _handleSlotChange() {
353
+ let [e] = this.scrollContent;
354
+ await e?.updateComplete, this._updateScrollState();
355
+ }
356
+ _updateScrollState() {
357
+ let { scrollContent: e, overflowState: t } = this;
358
+ if (e) {
359
+ let [e] = this.scrollContent, { canScrollLeft: n, canScrollRight: r } = e?.scrollState || {
360
+ canScrollLeft: !1,
361
+ canScrollRight: !1
362
+ };
363
+ this.overflowState = {
364
+ ...t,
365
+ canScrollLeft: n,
366
+ canScrollRight: r
367
+ };
368
+ }
369
+ }
370
+ _handleScrollClick(e) {
371
+ let t = e.currentTarget, [n] = this.scrollContent, r = n.clientWidth * this.scrollFactor, i = t.classList.contains("left-scroll") ? -r : r;
372
+ n.scrollTabs(i, "smooth");
373
+ }
374
+ updated(e) {
375
+ super.updated(e), e.has("dir") && this._updateScrollState();
376
+ }
377
+ render() {
378
+ let { canScrollRight: e, canScrollLeft: t } = this.overflowState, n = this.labelPrevious, r = this.labelNext;
379
+ return u`
380
+ <div
381
+ class=${b({
382
+ "tabs-overflow-container": !0,
383
+ "left-shadow": t,
384
+ "right-shadow": e
385
+ })}
386
+ >
387
+ <luzmo-action-button
388
+ class=${b({
389
+ "left-scroll": !0,
390
+ show: t
391
+ })}
392
+ aria-label=${n}
393
+ quiet
394
+ dir="rtl"
395
+ tabindex="-1"
396
+ @click=${this._handleScrollClick}
397
+ >
398
+ <luzmo-icon slot="icon" .icon=${_}></luzmo-icon>
399
+ </luzmo-action-button>
400
+ <luzmo-action-button
401
+ class=${b({
402
+ "right-scroll": !0,
403
+ show: e
404
+ })}
405
+ aria-label=${r}
406
+ quiet
407
+ tabindex="-1"
408
+ @click=${this._handleScrollClick}
409
+ >
410
+ <luzmo-icon slot="icon" .icon=${v}></luzmo-icon>
411
+ </luzmo-action-button>
412
+ <slot
413
+ @slotchange=${this._handleSlotChange}
414
+ @luzmo-tabs-scroll=${this._updateScrollState}
415
+ ></slot>
416
+ </div>
417
+ `;
418
+ }
419
+ };
420
+ t([p({
421
+ type: Boolean,
422
+ reflect: !0
423
+ })], P.prototype, "compact", void 0), t([p({
424
+ type: String,
425
+ attribute: "label-previous"
426
+ })], P.prototype, "labelPrevious", void 0), t([p({
427
+ type: String,
428
+ attribute: "label-next"
429
+ })], P.prototype, "labelNext", void 0), t([p({ reflect: !0 })], P.prototype, "dir", void 0), t([g()], P.prototype, "overflowState", void 0), t([h({
430
+ selector: "luzmo-tabs",
431
+ flatten: !0
432
+ })], P.prototype, "tabs", void 0), t([m(".tabs-overflow-container")], P.prototype, "overflowContainer", void 0), customElements.get("luzmo-tab") || customElements.define("luzmo-tab", T), customElements.get("luzmo-tabs") || customElements.define("luzmo-tabs", M), customElements.get("luzmo-tab-panel") || customElements.define("luzmo-tab-panel", D), customElements.get("luzmo-tabs-overflow") || customElements.define("luzmo-tabs-overflow", P);
433
+ //#endregion
434
+ export { T as i, M as n, D as r, P as t };