@luzmo/lucero 1.0.3-alpha.5 → 1.0.3-alpha.7

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 (364) hide show
  1. package/components/accordion/index.cjs +1 -1
  2. package/components/accordion/index.js +1 -1
  3. package/components/{accordion-DC7cjb1c.js → accordion-BDchhAjE.js} +4 -4
  4. package/components/accordion-CW7xAsId.cjs +43 -0
  5. package/components/action-bar/index.cjs +1 -1
  6. package/components/action-bar/index.js +1 -1
  7. package/components/{action-bar-Dn4IDXEF.js → action-bar-BO65QnWi.js} +6 -6
  8. package/components/action-bar-CSf3qi0f.cjs +39 -0
  9. package/components/action-button/index.cjs +1 -1
  10. package/components/action-button/index.js +1 -1
  11. package/components/action-button-CMRoRRWo.cjs +22 -0
  12. package/components/{action-button-DC-ZFZTm.js → action-button-CfpJ8ybz.js} +3 -3
  13. package/components/action-group/index.cjs +1 -1
  14. package/components/action-group/index.js +1 -1
  15. package/components/{action-group-DYKpp-mz.js → action-group-BQ-fyPYS.js} +3 -3
  16. package/components/action-group-D1G30Iir.cjs +20 -0
  17. package/components/action-menu/index.cjs +1 -1
  18. package/components/action-menu/index.js +1 -1
  19. package/components/{action-menu-DAzm6TyR.js → action-menu-CBSyW4O8.js} +8 -8
  20. package/components/{action-menu-BdCk6AXo.cjs → action-menu-CnkzFDHK.cjs} +2 -2
  21. package/components/avatar/index.cjs +1 -1
  22. package/components/avatar/index.js +1 -1
  23. package/components/{avatar-CyY_ZSD0.js → avatar-79Zd9NiA.js} +4 -4
  24. package/components/avatar-BRfwsoBh.cjs +24 -0
  25. package/components/badge/index.cjs +1 -1
  26. package/components/badge/index.js +1 -1
  27. package/components/{badge-D6p2hPj8.js → badge-2zAt91bn.js} +3 -3
  28. package/components/badge-BjusWIAn.cjs +23 -0
  29. package/components/button/index.cjs +1 -1
  30. package/components/button/index.js +2 -2
  31. package/components/{button-D1a4B85S.js → button-CPh-7eos.js} +5 -5
  32. package/components/button-D7RUI_x1.cjs +20 -0
  33. package/components/{button-base-CzTYjZND.js → button-base-CgZijING.js} +4 -4
  34. package/components/{button-base-Dj2qQqwO.cjs → button-base-UZcvbkXl.cjs} +2 -2
  35. package/components/button-group/index.cjs +1 -1
  36. package/components/button-group/index.js +1 -1
  37. package/components/button-group-6M8M-TUI.cjs +18 -0
  38. package/components/{button-group-BiQxYcQ2.js → button-group-DaANSInm.js} +2 -2
  39. package/components/calendar/index.cjs +1 -1
  40. package/components/calendar/index.js +1 -1
  41. package/components/calendar-9tmSkAp2.cjs +142 -0
  42. package/components/{calendar-BNRjXf9B.js → calendar-Ck40E6VN.js} +4 -4
  43. package/components/chat-message/index.cjs +1 -1
  44. package/components/chat-message/index.js +1 -1
  45. package/components/{chat-message-DJgocVNj.js → chat-message-BDTAV-Ph.js} +679 -501
  46. package/components/chat-message-SBnm0ITB.cjs +150 -0
  47. package/components/chat-message-group/index.cjs +1 -1
  48. package/components/chat-message-group/index.js +1 -1
  49. package/components/chat-message-group-CzCwyW7F.cjs +24 -0
  50. package/components/{chat-message-group-B4U2MzHx.js → chat-message-group-D7vdn2gG.js} +2 -2
  51. package/components/checkbox/index.cjs +1 -1
  52. package/components/checkbox/index.js +1 -1
  53. package/components/checkbox-C-HC6f2c.cjs +25 -0
  54. package/components/{checkbox-CPS-tR_i.js → checkbox-DrbacuOs.js} +3 -3
  55. package/components/{checkbox-mixin-C5sLMo5L.js → checkbox-mixin-ClK1paqU.js} +1 -1
  56. package/components/{checkbox-mixin-D4HeLrMj.cjs → checkbox-mixin-PEFpw1Ep.cjs} +2 -2
  57. package/components/{close-button-MgaJT7yO.js → close-button-BG--crbw.js} +4 -4
  58. package/components/close-button-BQUJeFCq.cjs +18 -0
  59. package/components/color-area/color-area.d.ts +7 -0
  60. package/components/color-area/index.cjs +1 -1
  61. package/components/color-area/index.js +1 -1
  62. package/components/color-area-B5OHLqtm.cjs +80 -0
  63. package/components/{color-area-DViRjuKo.js → color-area-CAM3uysY.js} +14 -12
  64. package/components/color-controller-DZe3_BMD.cjs +18 -0
  65. package/components/color-field/index.cjs +1 -1
  66. package/components/color-field/index.js +1 -1
  67. package/components/{color-field-CxdIoSq6.js → color-field-Bq0IEitn.js} +3 -3
  68. package/components/{color-field-D7_7z2A2.cjs → color-field-IpL7Z89G.cjs} +2 -2
  69. package/components/color-handle/index.cjs +1 -1
  70. package/components/color-handle/index.js +1 -1
  71. package/components/color-handle-BwV3Nia5.cjs +24 -0
  72. package/components/{color-handle-BOusOFFx.js → color-handle-DioEcX1V.js} +2 -2
  73. package/components/color-loupe/index.cjs +1 -1
  74. package/components/color-loupe/index.js +1 -1
  75. package/components/color-loupe-C_C2hy-m.cjs +56 -0
  76. package/components/{color-loupe-bEzi2P0y.js → color-loupe-ZcCecT0r.js} +1 -1
  77. package/components/color-menu/index.cjs +1 -1
  78. package/components/color-menu/index.js +1 -1
  79. package/components/color-menu-CBpuPimx.cjs +89 -0
  80. package/components/{color-menu-Lxc9PTzl.js → color-menu-DtYUtPee.js} +9 -9
  81. package/components/color-palette/index.cjs +1 -1
  82. package/components/color-palette/index.js +1 -1
  83. package/components/color-palette-C6G0Tdla.cjs +18 -0
  84. package/components/{color-palette-BAdaNySC.js → color-palette-FQyIMSwP.js} +3 -3
  85. package/components/color-palette-group/index.cjs +1 -1
  86. package/components/color-palette-group/index.js +1 -1
  87. package/components/color-palette-group-B4r4tPfY.cjs +28 -0
  88. package/components/{color-palette-group-D8Mavsd2.js → color-palette-group-o6bnF-Ir.js} +3 -3
  89. package/components/color-picker/index.cjs +1 -1
  90. package/components/color-picker/index.js +1 -1
  91. package/components/{color-picker-CSWiU-X5.cjs → color-picker-CajJUS1c.cjs} +2 -2
  92. package/components/{color-picker-DqjfTvYf.js → color-picker-WCIGRufq.js} +6 -6
  93. package/components/color-slider/index.cjs +1 -1
  94. package/components/color-slider/index.js +1 -1
  95. package/components/{color-slider-ihAIFt5p.js → color-slider-BZ3G8Zgn.js} +6 -5
  96. package/components/color-slider-CVSEpLOP.cjs +57 -0
  97. package/components/{condition-attribute-with-id-DauPaLSS.cjs → condition-attribute-with-id-Cw92IbcP.cjs} +1 -1
  98. package/components/date-range-picker/index.cjs +1 -1
  99. package/components/date-range-picker/index.js +1 -1
  100. package/components/{date-range-picker-DaV1vcVx.js → date-range-picker-B2cRO9e5.js} +10 -10
  101. package/components/date-range-picker-nnN0b_N4.cjs +180 -0
  102. package/components/date-time-picker/index.cjs +1 -1
  103. package/components/date-time-picker/index.js +1 -1
  104. package/components/{date-time-picker-qVon-GIh.js → date-time-picker-CStBWop1.js} +11 -11
  105. package/components/date-time-picker-Cj4n6nG-.cjs +105 -0
  106. package/components/{decorate-aGxJUVxg.js → decorate-CkCg3wfh.js} +1 -1
  107. package/components/decorate-Dq34MBGe.cjs +18 -0
  108. package/components/{dependency-manger-CHy9t__e.cjs → dependency-manger-BSaHw9ju.cjs} +1 -1
  109. package/components/divider/index.cjs +1 -1
  110. package/components/divider/index.js +1 -1
  111. package/components/{divider-cU0lVwOp.js → divider-CGbT-CL8.js} +3 -3
  112. package/components/divider-wana0uPI.cjs +18 -0
  113. package/components/{divider.module-CL60P_z8.cjs → divider.module-BV6tmpOY.cjs} +1 -1
  114. package/components/{element-resolution-C0aiOB0Y.cjs → element-resolution-BjaAlqwX.cjs} +1 -1
  115. package/components/field-group/index.cjs +1 -1
  116. package/components/field-group/index.js +1 -1
  117. package/components/{field-group-C7ROsWq3.js → field-group-EZzkXa2e.js} +2 -2
  118. package/components/{field-group-OcI5Lgu7.cjs → field-group-aWhlzhoj.cjs} +2 -2
  119. package/components/field-label/index.cjs +1 -1
  120. package/components/field-label/index.js +1 -1
  121. package/components/{field-label-CtGCEmdp.js → field-label-B9S41b7c.js} +5 -5
  122. package/components/field-label-C5vdJ1ys.cjs +25 -0
  123. package/components/focus-group-C8lOjbi9.cjs +18 -0
  124. package/components/{focus-group-BshI1RpM.js → focus-group-DVPa1zxz.js} +1 -1
  125. package/components/{focus-visible-CrooVCUu.js → focus-visible-Bt2uDmuM.js} +2 -2
  126. package/components/focus-visible-eQdwUM9k.cjs +18 -0
  127. package/components/focusable-DTxxQ3yJ.cjs +18 -0
  128. package/components/{focusable-BmS8IzhH.js → focusable-DuP0-Kuy.js} +2 -2
  129. package/components/{focusable-selectors-5n5liBn0.cjs → focusable-selectors-DJqGLTJo.cjs} +1 -1
  130. package/components/{get-label-from-slot-LO_DZP60.cjs → get-label-from-slot-TV4APBYs.cjs} +1 -1
  131. package/components/icon/index.cjs +1 -1
  132. package/components/icon/index.js +1 -1
  133. package/components/{icon-CwBAE1eU.js → icon-M3agnqx7.js} +1 -1
  134. package/components/icon-xwNfYSkj.cjs +18 -0
  135. package/components/index.cjs +1 -1
  136. package/components/index.js +67 -67
  137. package/components/infield-button/index.cjs +1 -1
  138. package/components/infield-button/index.js +1 -1
  139. package/components/{infield-button-BvKsbtKr.js → infield-button-CMcy_QGt.js} +3 -3
  140. package/components/infield-button-DKlrlNuX.cjs +22 -0
  141. package/components/label/index.cjs +1 -1
  142. package/components/label/index.js +1 -1
  143. package/components/{label-ClJE2esm.js → label-B1HYQ4Pp.js} +1 -1
  144. package/components/label-DPG13Ib0.cjs +18 -0
  145. package/components/{language-resolution-BYemISJC.cjs → language-resolution-BUeKpSce.cjs} +1 -1
  146. package/components/{like-anchor-BZJXts_H.cjs → like-anchor-BX4PSB3d.cjs} +2 -2
  147. package/components/{like-anchor-DeOXX-MX.js → like-anchor-DXCaEv7O.js} +1 -1
  148. package/components/{manage-help-text-D9VbYRf_.cjs → manage-help-text-D20THJ3U.cjs} +2 -2
  149. package/components/{manage-help-text-CF0xBh0F.js → manage-help-text-DwfUBgHK.js} +2 -2
  150. package/components/menu/index.cjs +1 -1
  151. package/components/menu/index.js +1 -1
  152. package/components/menu/menu-item.d.ts +14 -0
  153. package/components/menu-BS_hemfn.cjs +108 -0
  154. package/components/{menu--ukVtSq7.js → menu-qMByaBwZ.js} +27 -18
  155. package/components/multi-language-field/index.cjs +1 -1
  156. package/components/multi-language-field/index.js +1 -1
  157. package/components/{multi-language-field-DmoMyCBH.cjs → multi-language-field-B7dnlCK9.cjs} +2 -2
  158. package/components/{multi-language-field-BzY75rOY.js → multi-language-field-DqAlPXww.js} +4 -4
  159. package/components/number-field/index.cjs +1 -1
  160. package/components/number-field/index.js +1 -1
  161. package/components/{number-field-DrJURvoW.js → number-field-B6BiDw0B.js} +7 -7
  162. package/components/number-field-BEBoSI-_.cjs +57 -0
  163. package/components/observe-slot-presence-CS8pMePk.cjs +18 -0
  164. package/components/{observe-slot-text-Ddf1OC6F.js → observe-slot-text-97nX6NyX.js} +1 -1
  165. package/components/observe-slot-text-DzUSxLpj.cjs +18 -0
  166. package/components/options/index.cjs +1 -1
  167. package/components/options/index.js +1 -1
  168. package/components/{options-BGwKMvng.js → options-BV5E4ygY.js} +8 -8
  169. package/components/{options-CKi3VkNR.cjs → options-Cq9Gx9UR.cjs} +2 -2
  170. package/components/overlay/index.cjs +1 -1
  171. package/components/overlay/index.js +3 -3
  172. package/components/overlay/placement-controller.d.ts +8 -0
  173. package/components/{overlay-CMd2Dnpv.cjs → overlay-CO_JAhWD.cjs} +2 -2
  174. package/components/{overlay-CwR_36OV.js → overlay-DR9oYpb5.js} +3 -3
  175. package/components/{overlay-8tN0KPbR.js → overlay-DpBGFUBW.js} +130 -123
  176. package/components/overlay-duS52Rsb.cjs +47 -0
  177. package/components/{pending-state-DFcNf5rd.js → pending-state-BeG7qBDP.js} +1 -1
  178. package/components/{pending-state-DIeF18qg.cjs → pending-state-a527YMWV.cjs} +2 -2
  179. package/components/picker/index.cjs +1 -1
  180. package/components/picker/index.js +1 -1
  181. package/components/picker/picker.d.ts +7 -0
  182. package/components/{picker-agQW7YNo.js → picker-D5AyIL5x.js} +24 -21
  183. package/components/picker-D_lZ-gXW.cjs +123 -0
  184. package/components/picker-button/index.cjs +1 -1
  185. package/components/picker-button/index.js +1 -1
  186. package/components/{picker-button-VAxzuhhg.js → picker-button-Bg1oKrx4.js} +5 -5
  187. package/components/picker-button-COrTSUL5.cjs +37 -0
  188. package/components/platform-BAjeJp2W.cjs +18 -0
  189. package/components/{platform-D4V_cOJF.js → platform-Ce9pNsR9.js} +2 -2
  190. package/components/popover/index.cjs +1 -1
  191. package/components/popover/index.js +1 -1
  192. package/components/{popover-DyC9xGhX.js → popover-CFawf-z9.js} +3 -3
  193. package/components/popover-R-fdNBvR.cjs +30 -0
  194. package/components/progress-bar/index.cjs +1 -1
  195. package/components/progress-bar/index.js +1 -1
  196. package/components/{progress-bar-DHgFRml1.js → progress-bar-BU_h5i27.js} +3 -3
  197. package/components/progress-bar-DHmthnzp.cjs +31 -0
  198. package/components/progress-circle/index.cjs +1 -1
  199. package/components/progress-circle/index.js +1 -1
  200. package/components/{progress-circle-Cg_ua9Ff.js → progress-circle-BVToDWX8.js} +3 -3
  201. package/components/progress-circle-DyApSKdm.cjs +33 -0
  202. package/components/progress-steps/index.cjs +1 -1
  203. package/components/progress-steps/index.js +1 -1
  204. package/components/{progress-steps-Da8aZWx3.js → progress-steps-9unA0ptN.js} +2 -2
  205. package/components/progress-steps-BgRH7KAn.cjs +96 -0
  206. package/components/prompt-box/index.cjs +1 -1
  207. package/components/prompt-box/index.js +1 -1
  208. package/components/{prompt-box-CCh9aOjY.js → prompt-box-B1eJoNNC.js} +13 -13
  209. package/components/{prompt-box-BjjBnJ7C.cjs → prompt-box-DG4G19Vq.cjs} +3 -3
  210. package/components/radio/index.cjs +1 -1
  211. package/components/radio/index.js +1 -1
  212. package/components/radio-Ch4iR6e1.cjs +22 -0
  213. package/components/{radio-BzEPGUmQ.js → radio-DhrwxuSB.js} +5 -5
  214. package/components/{random-id-B51lUxUB.cjs → random-id-BcUJAxUZ.cjs} +1 -1
  215. package/components/{random-id-Dd4boCPV.js → random-id-CiMDyX7v.js} +1 -1
  216. package/components/{chunk-D-qHiVGv.cjs → rolldown-runtime-DWNI8pZO.cjs} +1 -1
  217. package/components/{roving-tabindex-B7x5ePUB.cjs → roving-tabindex-BoPao4td.cjs} +1 -1
  218. package/components/{roving-tabindex-BP6mQbXf.js → roving-tabindex-pomAn3z-.js} +1 -1
  219. package/components/{scaled-indicator-DF45Sc3W.cjs → scaled-indicator-DLJIztx0.cjs} +2 -2
  220. package/components/search/index.cjs +1 -1
  221. package/components/search/index.js +1 -1
  222. package/components/search/search.d.ts +1 -0
  223. package/components/search-COpGXyHi.cjs +47 -0
  224. package/components/{search-IXGErIHW.js → search-DJa1-_UC.js} +19 -13
  225. package/components/segments-factory-DtPyN5sh.cjs +18 -0
  226. package/components/select/index.cjs +1 -1
  227. package/components/select/index.js +1 -1
  228. package/components/select/select.d.ts +7 -0
  229. package/components/{select-BNDNv50o.js → select-CzZZmuWl.js} +18 -15
  230. package/components/select-DV38y5iI.cjs +158 -0
  231. package/components/sized-mixin-BT7cv-fT.cjs +18 -0
  232. package/components/{sized-mixin-DaBoZkVS.js → sized-mixin-DzQTebN-.js} +1 -1
  233. package/components/skeleton-loader/index.cjs +1 -1
  234. package/components/skeleton-loader/index.js +1 -1
  235. package/components/{skeleton-loader-C1XG3m_u.js → skeleton-loader-C0LH3prK.js} +1 -1
  236. package/components/skeleton-loader-Cm50Ztzk.cjs +18 -0
  237. package/components/slider/index.cjs +1 -1
  238. package/components/slider/index.js +1 -1
  239. package/components/{slider-3QBnq0S8.js → slider-BLaYicz8.js} +2 -2
  240. package/components/slider-CfZ2IRgC.cjs +18 -0
  241. package/components/{slottable-request-event-gAcEQan2.cjs → slottable-request-event-C6eb7Ch3.cjs} +1 -1
  242. package/components/status-light/index.cjs +1 -1
  243. package/components/status-light/index.js +1 -1
  244. package/components/{status-light-Bf8jGu4G.js → status-light-BlfBJpqa.js} +2 -2
  245. package/components/status-light-Bu0G8-lH.cjs +21 -0
  246. package/components/{strategies-kuvLVIKO.cjs → strategies-CPWEHFe1.cjs} +1 -1
  247. package/components/{strategies-DhxJGIZT.js → strategies-Dbb3w-JB.js} +1 -1
  248. package/components/streaming-listener-Bfyk6Fsx.cjs +18 -0
  249. package/components/swatch/index.cjs +1 -1
  250. package/components/swatch/index.js +1 -1
  251. package/components/{swatch-BLuV-hlF.js → swatch-C2ty27bJ.js} +4 -4
  252. package/components/{swatch-G70JUe6I.cjs → swatch-DcUK5qDv.cjs} +2 -2
  253. package/components/switch/index.cjs +1 -1
  254. package/components/switch/index.js +1 -1
  255. package/components/{switch-C5g5t5x2.js → switch-B10exYOk.js} +4 -4
  256. package/components/switch-BKDJ3dZ9.cjs +22 -0
  257. package/components/tabs/index.cjs +1 -1
  258. package/components/tabs/index.js +1 -1
  259. package/components/{tabs-CTKkW-L8.cjs → tabs-C07QGZbj.cjs} +2 -2
  260. package/components/{tabs-DYpbsO58.js → tabs-CqYK2mFY.js} +11 -11
  261. package/components/tags/index.cjs +1 -1
  262. package/components/tags/index.js +1 -1
  263. package/components/tags-CX8xqWyH.cjs +47 -0
  264. package/components/{tags-DQLiHnTr.js → tags-DrDRVcwq.js} +11 -8
  265. package/components/text-field/index.cjs +1 -1
  266. package/components/text-field/index.js +2 -2
  267. package/components/{text-field-FJr8ZUhI.cjs → text-field-BG6dB1fv.cjs} +2 -2
  268. package/components/{text-field-BoGAvXvh.js → text-field-C9_95TpH.js} +3 -3
  269. package/components/text-field-D0Z0K_7q.cjs +21 -0
  270. package/components/{text-field-Cs8HYRYL.js → text-field-DItC9-FS.js} +5 -5
  271. package/components/{text-field.module-D5oDP7MB.cjs → text-field.module-DDRcQM7Y.cjs} +1 -1
  272. package/components/toast/index.cjs +1 -1
  273. package/components/toast/index.js +1 -1
  274. package/components/{toast-Bd0fleYT.js → toast-B2rcl_2b.js} +3 -3
  275. package/components/toast-BzIN9rHc.cjs +51 -0
  276. package/components/tooltip/index.cjs +1 -1
  277. package/components/tooltip/index.js +1 -1
  278. package/components/tooltip/tooltip.d.ts +30 -2
  279. package/components/{tooltip-C3O4AQ1l.js → tooltip-Byl1h4nN.js} +27 -12
  280. package/components/tooltip-Sm0pruxL.cjs +45 -0
  281. package/components/top-nav/index.cjs +1 -1
  282. package/components/top-nav/index.js +1 -1
  283. package/components/{top-nav-CMVB3G_v.js → top-nav-D3Iqfth0.js} +6 -6
  284. package/components/top-nav-Dqa5pB4f.cjs +45 -0
  285. package/components/utils.cjs +1 -1
  286. package/components/utils.js +7 -7
  287. package/components/{voice-recorder-BUtmSvPO.cjs → voice-recorder-B1tBrGTV.cjs} +1 -1
  288. package/custom-elements.json +1 -1
  289. package/package.json +1 -1
  290. package/components/accordion-BHBIfsLU.cjs +0 -43
  291. package/components/action-bar-BSMX042X.cjs +0 -39
  292. package/components/action-button-Cr_QN4On.cjs +0 -22
  293. package/components/action-group-CH8FTW0i.cjs +0 -20
  294. package/components/avatar-PulwjkMI.cjs +0 -24
  295. package/components/badge-D1Ry32wi.cjs +0 -23
  296. package/components/button-C5hcfigl.cjs +0 -20
  297. package/components/button-group-DIz5TZvc.cjs +0 -18
  298. package/components/calendar-BWArK3rh.cjs +0 -142
  299. package/components/chat-message-CNE-mGuP.cjs +0 -149
  300. package/components/chat-message-group-COmhCN-R.cjs +0 -24
  301. package/components/checkbox-DFwDrIdY.cjs +0 -25
  302. package/components/close-button-_EXjp6_m.cjs +0 -18
  303. package/components/color-area-DA3ps2-c.cjs +0 -80
  304. package/components/color-controller-DueaXfnX.cjs +0 -18
  305. package/components/color-handle-Cka48yPY.cjs +0 -24
  306. package/components/color-loupe-DMk8uWZW.cjs +0 -56
  307. package/components/color-menu-DwbTxeqv.cjs +0 -89
  308. package/components/color-palette-349EkPMg.cjs +0 -18
  309. package/components/color-palette-group-BvP09zmT.cjs +0 -28
  310. package/components/color-slider-DxjJ72ue.cjs +0 -57
  311. package/components/date-range-picker-BOTudFdP.cjs +0 -180
  312. package/components/date-time-picker-DpQWIAg0.cjs +0 -105
  313. package/components/decorate-B2wePfNm.cjs +0 -18
  314. package/components/divider-Dn8XqbB6.cjs +0 -18
  315. package/components/field-label-BCl6R1uO.cjs +0 -25
  316. package/components/focus-group-SF8Kj7iB.cjs +0 -18
  317. package/components/focus-visible-B0NNezGc.cjs +0 -18
  318. package/components/focusable-CupEoHmn.cjs +0 -18
  319. package/components/icon-B7hKwn_q.cjs +0 -18
  320. package/components/infield-button-D5cuBWE5.cjs +0 -22
  321. package/components/label-CqolZbJo.cjs +0 -18
  322. package/components/menu-DAA51y45.cjs +0 -108
  323. package/components/number-field-BmWODnnR.cjs +0 -57
  324. package/components/observe-slot-presence-Dx8hzNzK.cjs +0 -18
  325. package/components/observe-slot-text-BhTcGuHY.cjs +0 -18
  326. package/components/overlay-DdrfkOry.cjs +0 -47
  327. package/components/picker-C4RVOxLq.cjs +0 -123
  328. package/components/picker-button-adl1JO5u.cjs +0 -37
  329. package/components/platform-B7Sk7Qon.cjs +0 -18
  330. package/components/popover-dgL04x6P.cjs +0 -30
  331. package/components/progress-bar-BR28tISC.cjs +0 -31
  332. package/components/progress-circle-DuzwUiGN.cjs +0 -33
  333. package/components/progress-steps-WriXaZpE.cjs +0 -96
  334. package/components/radio-d-2GUbYE.cjs +0 -22
  335. package/components/search-DICDMqwa.cjs +0 -45
  336. package/components/segments-factory-CHo9oQw7.cjs +0 -18
  337. package/components/select-L6dKp-qu.cjs +0 -158
  338. package/components/sized-mixin-StFA4y0J.cjs +0 -18
  339. package/components/skeleton-loader-B8NgELvX.cjs +0 -18
  340. package/components/slider-uXRKcOz5.cjs +0 -18
  341. package/components/status-light-CBaAFRUc.cjs +0 -21
  342. package/components/streaming-listener-BnDW38lt.cjs +0 -18
  343. package/components/switch-COhz9ka9.cjs +0 -22
  344. package/components/tags-DBD74tKB.cjs +0 -47
  345. package/components/text-field-A4Obzs4l.cjs +0 -21
  346. package/components/toast-NZ0Z1lz9.cjs +0 -51
  347. package/components/tooltip-DY1trLtg.cjs +0 -45
  348. package/components/top-nav-bekRXHUk.cjs +0 -45
  349. /package/components/{color-controller-G2_v2xSl.js → color-controller-Rg_Zl0sT.js} +0 -0
  350. /package/components/{condition-attribute-with-id-Duo51HZ7.js → condition-attribute-with-id-BdnTdWKz.js} +0 -0
  351. /package/components/{dependency-manger-DMrulWcJ.js → dependency-manger-wHEXoU92.js} +0 -0
  352. /package/components/{divider.module-C65RfSUa.js → divider.module-CPEKsaqR.js} +0 -0
  353. /package/components/{element-resolution-Bs1x89vU.js → element-resolution-gap51AVo.js} +0 -0
  354. /package/components/{focusable-selectors-Bg60_Kra.js → focusable-selectors-BWpiuXz5.js} +0 -0
  355. /package/components/{get-label-from-slot-5vVnfSgN.js → get-label-from-slot-Bo9mqYCZ.js} +0 -0
  356. /package/components/{language-resolution-BpfGTC29.js → language-resolution-DR30FsWE.js} +0 -0
  357. /package/components/{observe-slot-presence-BCqd3VSd.js → observe-slot-presence-BKY6n06-.js} +0 -0
  358. /package/components/{rolldown-runtime-CAFD8bLK.js → rolldown-runtime-Dy4uBu1J.js} +0 -0
  359. /package/components/{scaled-indicator-BoLeYSgL.js → scaled-indicator-C-TupV4L.js} +0 -0
  360. /package/components/{segments-factory-D0IveW-q.js → segments-factory-BCRi1NKb.js} +0 -0
  361. /package/components/{slottable-request-event-DZ2Z_BLk.js → slottable-request-event-MRSZbgTu.js} +0 -0
  362. /package/components/{streaming-listener-2NcP7ys7.js → streaming-listener-CtcMpYfS.js} +0 -0
  363. /package/components/{text-field.module-Btsve-VN.js → text-field.module-BrBqDht3.js} +0 -0
  364. /package/components/{voice-recorder-477xPHRU.js → voice-recorder-CTg3kRxx.js} +0 -0
@@ -0,0 +1,180 @@
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
+ const e=require("./decorate-Dq34MBGe.cjs"),t=require("./sized-mixin-BT7cv-fT.cjs"),n=require("./focusable-DTxxQ3yJ.cjs");require("./icon-xwNfYSkj.cjs"),require("./overlay-CO_JAhWD.cjs"),require("./popover/index.cjs"),require("./calendar-9tmSkAp2.cjs");const r=require("./manage-help-text-D20THJ3U.cjs"),i=require("./text-field.module-DDRcQM7Y.cjs");require("./picker-button-COrTSUL5.cjs");const a=require("./segments-factory-DtPyN5sh.cjs");let o=require("lit"),s=require("lit/decorators.js"),c=require("@luzmo/icons"),l=require("lit/directives/when.js"),u=require("lit/directives/if-defined.js"),d=require("lit/directives/class-map.js"),f=require("@internationalized/date"),p=require("@internationalized/number");var m=`:host{font-family:var(--luzmo-font-family);--date-range-picker-border-radius:var(--luzmo-date-range-picker-border-radius,var(--luzmo-border-radius));--date-range-picker-border-width:var(--luzmo-border-width);--date-range-picker-button-border-color:var(--luzmo-date-range-picker-pickerbutton-border-color,var(--luzmo-border-color));--date-range-picker-button-border-color-focus:var(--luzmo-date-range-picker-pickerbutton-border-color-focus,var(--luzmo-primary));--date-range-picker-button-border-color-invalid:var(--luzmo-date-range-picker-pickerbutton-border-color-invalid,var(--luzmo-negative-color));--date-range-picker-dash-color:var(--luzmo-date-range-picker-dash-color,var(--luzmo-font-color));--date-range-picker-dash-font-size:var(--luzmo-date-range-picker-dash-font-size,var(--luzmo-font-size));--date-range-picker-focus-ring-color:var(--luzmo-date-range-picker-focus-ring-color,var(--luzmo-indicator-color));--date-range-picker-focus-ring-gap:var(--luzmo-date-range-picker-focus-ring-gap,0px);--date-range-picker-focus-ring-width:var(--luzmo-date-range-picker-focus-ring-width,var(--luzmo-border-width));--date-range-picker-focus-animation:var(--luzmo-date-range-picker-focus-animation,var(--luzmo-animation-duration));--date-range-picker-calendar-padding:var(--luzmo-date-range-picker-calendar-padding,var(--luzmo-spacing-4));border-radius:var(--date-range-picker-border-radius);flex-flow:row;display:inline-flex;position:relative}:host([disabled]) luzmo-picker-button{cursor:default}:host([disabled]){--luzmo-date-range-picker-dash-color:var(--luzmo-date-range-picker-dash-color-disabled,var(--luzmo-font-color-disabled))}:host([disabled]) .luzmo-DatePicker-rangeDash{background-color:var(--luzmo-text-field-background-color-disabled,var(--luzmo-background-color-disabled));border-block-color:#0000}:host([readonly]) .luzmo-DatePicker-rangeDash{background-color:initial;border-block-color:#0000}:host([invalid]:not([quiet])) .range-wrapper:after{border-color:var(--date-range-picker-button-border-color-invalid)}:host([invalid]:not([quiet])) .range-wrapper .input,:host([invalid]:not([quiet])) .range-wrapper .input:read-only{border-color:#0000}:host([invalid]:not([quiet])) .luzmo-DatePicker-rangeDash{background-color:#0000;border-block-color:#0000}:host(:not([quiet],[disabled])){--luzmo-picker-button-border-color:var(--date-range-picker-button-border-color)}:host([focused]),:host([focused]:not([quiet],[disabled])){--luzmo-picker-button-border-color:var(--date-range-picker-button-border-color-focus)}:host([invalid]:not([quiet],[disabled])){--luzmo-picker-button-border-color:var(--date-range-picker-button-border-color-invalid)}.range-wrapper{border-radius:var(--date-range-picker-border-radius);flex-flow:row;flex:1;align-items:stretch;display:inline-flex;position:relative}.range-wrapper:after{pointer-events:none;content:"";border:var(--date-range-picker-focus-ring-width) solid transparent;border-radius:var(--date-range-picker-border-radius);transition:border-color var(--date-range-picker-focus-animation) ease-in-out;position:absolute;inset:0}:host([focused]) .range-wrapper:not(.luzmo-DatePicker--quiet):after{border-color:var(--date-range-picker-focus-ring-color)}:host([focused]) .range-wrapper:not(.luzmo-DatePicker--quiet) #text-field:after{display:none}:host([focused]) .range-wrapper .input,:host([focused]) .range-wrapper .input:read-only,:host([focused]) .range-wrapper #text-field .input,:host([focused]) .range-wrapper #text-field:hover .input{border-color:var(--date-range-picker-focus-ring-color);outline:none}:host([focused]) .range-wrapper .luzmo-DatePicker-rangeDash{border-block-color:var(--date-range-picker-focus-ring-color)}:host .input:read-only{border-color:var(--luzmo-date-range-picker-border-color,var(--luzmo-border-color))}.input.luzmo-DatePicker-startField{border-inline-end:0;border-start-end-radius:0;border-end-end-radius:0}.input.luzmo-DatePicker-endField{border-inline-start:0;border-start-start-radius:0;border-end-start-radius:0}.luzmo-DatePicker-rangeDash{color:var(--date-range-picker-dash-color);font-size:var(--date-range-picker-dash-font-size);flex:initial;z-index:1;background-color:var(--luzmo-background-color,#fff);border-block:var(--date-range-picker-border-width) solid var(--luzmo-border-color,#ccc);transition:border-block-color var(--luzmo-text-field-animation-duration,var(--luzmo-animation-duration)) ease-in-out;align-items:center;display:flex}.luzmo-DatePicker-rangeDash:before{content:"→";margin-inline:var(--luzmo-spacing-2,4px);text-align:center;display:inline-block}luzmo-picker-button{cursor:pointer;z-index:2;position:absolute;inset-inline-end:0}:host([quiet]) .luzmo-DatePicker-rangeDash{background-color:#0000;border-block-start-width:0;border-inline-width:0;border-radius:0}:host([quiet]) .range-wrapper:after{display:none}:host([quiet][focused]) .range-wrapper:after{border-color:#0000;border-block-end-color:var(--date-range-picker-focus-ring-color);border-radius:0;display:block;inset-block-end:0}:host([quiet]) luzmo-picker-button{inline-size:auto}:host([quiet]) luzmo-picker-button:not(:disabled,.is-open){--luzmo-picker-button-background-color:transparent}@media (hover:hover){:host(:hover:not([focused],[disabled],[invalid],[readonly])){--luzmo-picker-button-border-color:var(--highcontrast-text-field-border-color-hover,var(--luzmo-text-field-border-color-hover,rgba(var(--luzmo-primary-rgb), .3)))}:host(:hover:not([focused],[disabled],[invalid],[readonly])) .range-wrapper #text-field .input{border-color:var(--highcontrast-text-field-border-color-hover,var(--luzmo-text-field-border-color-hover,rgba(var(--luzmo-primary-rgb), .3)))}:host(:hover:not([focused],[disabled],[invalid],[readonly])) .luzmo-DatePicker-rangeDash{border-block-color:var(--highcontrast-text-field-border-color-hover,var(--luzmo-text-field-border-color-hover,rgba(var(--luzmo-primary-rgb), .3)))}:host([focused]:hover:not([disabled],[invalid],[readonly])) .luzmo-DatePicker-rangeDash{border-block-color:var(--highcontrast-text-field-border-color-focus-hover,var(--luzmo-text-field-border-color-focus-hover,var(--luzmo-primary)))}}@media (forced-colors:active){:host{--date-range-picker-dash-color:CanvasText;--date-range-picker-focus-ring-color:Highlight}:host([disabled]){--date-range-picker-dash-color:GrayText}}:host{--date-range-picker-calendar-padding:var(--luzmo-spacing-4);--date-range-picker-icon-size:18px;--date-range-picker-dash-font-size:var(--luzmo-font-size);--text-field-focus-indicator-color:var(--luzmo-background-color-highlight)}:host([size=s]){--date-range-picker-calendar-padding:var(--luzmo-spacing-3);--date-range-picker-icon-size:16px;--date-range-picker-dash-font-size:var(--luzmo-font-size-s)}:host([size=m]){--date-range-picker-calendar-padding:var(--luzmo-spacing-4);--date-range-picker-icon-size:18px;--date-range-picker-dash-font-size:var(--luzmo-font-size-m)}:host([size=l]){--date-range-picker-calendar-padding:var(--luzmo-spacing-5);--date-range-picker-icon-size:20px;--date-range-picker-dash-font-size:var(--luzmo-font-size-l)}:host([size=xl]){--date-range-picker-calendar-padding:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--date-range-picker-icon-size:22px;--date-range-picker-dash-font-size:var(--luzmo-font-size-xl)}:host{--picker-button-size:var(--luzmo-text-field-height,var(--text-field-height));--input-spacing:var(--luzmo-text-field-spacing-inline,var(--text-field-spacing-inline));--input-border-width:var(--luzmo-text-field-border-width,var(--luzmo-border-width));--status-icon-size:var(--luzmo-text-field-icon-size-invalid,var(--text-field-icon-size-invalid));flex-wrap:wrap}:host #text-field{flex:1;display:inline-block}:host #text-field .input,:host([quiet]) #text-field .input,:host([invalid]) #text-field .input{inline-size:100%}:host #text-field:last-of-type .input{padding-inline-end:calc(var(--picker-button-size) + var(--input-spacing) - var(--input-border-width))}:host([invalid]) .input.luzmo-DatePicker-startField{padding-inline-end:calc(var(--input-spacing) - var(--input-border-width))}:host([invalid]) #text-field:last-of-type .input{padding-inline-end:calc(var(--picker-button-size) + var(--status-icon-size) + 2 * var(--luzmo-text-field-icon-spacing-inline-end-invalid,var(--text-field-icon-spacing-inline-end-invalid)))}:host([invalid]) .range-wrapper .icon{z-index:3;pointer-events:none;font-size:var(--luzmo-text-field-icon-size-invalid,var(--text-field-icon-size-invalid));color:var(--luzmo-negative-color);justify-content:center;align-items:center;display:flex;position:absolute;inset-block-start:var(--luzmo-text-field-icon-spacing-block-invalid,var(--text-field-icon-spacing-block-invalid));inset-block-end:var(--luzmo-text-field-icon-spacing-block-invalid,var(--text-field-icon-spacing-block-invalid));inset-inline-end:calc(var(--picker-button-size) + var(--luzmo-text-field-icon-spacing-inline-end-invalid,var(--text-field-icon-spacing-inline-end-invalid)))}luzmo-picker-button:focus-visible{outline:none}luzmo-popover{overflow-y:auto}luzmo-popover .popover-content{padding:var(--luzmo-date-range-picker-calendar-padding,var(--date-range-picker-calendar-padding))}.input-content{scrollbar-width:none;align-items:center;height:100%;line-height:normal;display:flex;overflow:auto hidden}.input-content::-webkit-scrollbar{width:0;height:0;display:none}.literal-segment,.editable-segment{color:var(--luzmo-date-range-picker-font-color-default,var(--luzmo-font-color));display:inline-block}.editable-segment{font-variant-numeric:tabular-nums;text-align:end;white-space:nowrap;caret-color:#0000;outline:none;padding:0 .15em}[dir=ltr] .editable-segment{text-align:start}.literal-segment{white-space:pre;-webkit-user-select:none;user-select:none}.is-placeholder,.is-placeholder+.literal-segment{color:var(--luzmo-font-color-disabled)}.editable-segment:focus-visible{color:var(--luzmo-date-range-picker-segment-text-color-focus,var(--luzmo-font-color));background-color:var(--highcontrast-text-field-focus-indicator-color,var(--luzmo-text-field-focus-indicator-color,var(--text-field-focus-indicator-color)))}.editable-segment::selection{background-color:#0000}.calendar-layout,.calendar-layout--dual .calendars-row{gap:var(--luzmo-spacing-4,16px);flex-direction:row;display:flex}.calendar-container{flex-shrink:0}.defined-ranges{gap:var(--luzmo-spacing-1,2px);border-inline-start:var(--luzmo-border-width,1px) solid var(--luzmo-border-color,#e0e0e0);flex-direction:column;min-inline-size:120px;padding-inline-start:var(--luzmo-spacing-4,16px);display:flex}.defined-range-item{inline-size:100%;padding:var(--luzmo-spacing-2,4px) var(--luzmo-spacing-3,8px);border-radius:var(--luzmo-border-radius,4px);color:var(--luzmo-font-color,inherit);font-family:var(--luzmo-font-family,inherit);font-size:var(--luzmo-font-size,inherit);text-align:start;cursor:pointer;transition:background-color var(--luzmo-animation-duration,.13s) ease;white-space:nowrap;background:0 0;border:none;display:block}.defined-range-item:hover{background-color:var(--luzmo-background-color-hover,#0000000d)}.defined-range-item:focus-visible{outline:var(--luzmo-indicator-width,2px) solid var(--luzmo-indicator-color,var(--luzmo-primary));outline-offset:var(--luzmo-indicator-gap,2px)}.defined-range-item[aria-selected=true]{background-color:var(--luzmo-background-color-highlight,#00000014);font-weight:var(--bold-font-weight,bold)}`;function h(){let e=new Date;e.setHours(0,0,0,0);let t=new Date(e);t.setDate(t.getDate()-1);let n=new Date(e),r=n.getDay();n.setDate(n.getDate()-r);let i=new Date(n);i.setDate(i.getDate()+6);let a=new Date(n);a.setDate(a.getDate()-7);let o=new Date(n);o.setDate(o.getDate()-1);let s=new Date(e.getFullYear(),e.getMonth(),1),c=new Date(e.getFullYear(),e.getMonth()+1,0),l=new Date(e.getFullYear(),e.getMonth()-1,1),u=new Date(e.getFullYear(),e.getMonth(),0);return[{label:`Today`,startDate:e,endDate:e},{label:`Yesterday`,startDate:t,endDate:t},{label:`This Week`,startDate:n,endDate:i},{label:`Last Week`,startDate:a,endDate:o},{label:`This Month`,startDate:s,endDate:c},{label:`Last Month`,startDate:l,endDate:u}]}function g(e){return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,`0`)}-${String(e.getDate()).padStart(2,`0`)}`}var _=class extends r.t(t.n(n.t,{validSizes:Object.values(t.t)})){static get styles(){return[(0,o.unsafeCSS)(m),(0,o.unsafeCSS)(i.t)]}get _language(){try{return this.language?new Intl.Locale(this.language).language:`en`}catch{return`en`}}get focusElement(){return this.firstEditableSegment}clear(){this._startDate=void 0,this._endDate=void 0,this.startDate=void 0,this.endDate=void 0,this.setStartSegments(),this.setEndSegments()}constructor(){super(),this.precision=a.f.Day,this.calendars=1,this.showDefinedRanges=!1,this.definedRanges=h(),this.invalid=!1,this.readonly=!1,this.quiet=!1,this.placement=`bottom`,this.language=`en`,this.labels={previous:`Previous`,next:`Next`,today:`Today`,selected:`Selected`,empty:`Empty`,calendar:`Calendar`,startDate:`Start date`,endDate:`End date`},this.focused=!1,this.startSegments=new a.o([]),this.endSegments=new a.o([]),this.isCalendarOpen=!1,this._timeZone=this.timeZone??(0,f.getLocalTimeZone)(),this._skipMonthSync=!1,this.handleFocusIn=()=>{this.focused=!this.readonly},this.handleFocusOut=()=>{this.focused=!1},this.setNumberParser(),this.setDateFormatter(),this.setAriaDateFormatter(),this.addEventListener(`focusin`,this.handleFocusIn),this.addEventListener(`focusout`,this.handleFocusOut)}willUpdate(e){let t=e.has(`startDate`),n=e.has(`endDate`),r=e.has(`min`),i=e.has(`max`),a=e.has(`language`),o=e.has(`dateFormat`),s=e.has(`dateSeparator`),c=e.has(`precision`),l=e.has(`disabled`);e.has(`timeZone`)&&(this._timeZone=this.timeZone??(0,f.getLocalTimeZone)()),a&&this.setNumberParser(),(a||c)&&(this.setDateFormatter(),this.setAriaDateFormatter()),(t||n||r||i)&&this.parseAllDates(),(t||a||c||o||s)&&this.setStartSegments(),(n||a||c||o||s)&&this.setEndSegments(),l&&this.isCalendarOpen&&(this.isCalendarOpen=!1);let u=e.has(`isCalendarOpen`)&&this.isCalendarOpen;(t||n)&&(this._skipMonthSync||this.syncCalendarMonths(),this._skipMonthSync=!1),u&&this.calendars===2&&this.syncCalendarMonths(),this.updateAriaLabel()}initCalendarMonths(){let e=this._startDate??(0,f.toCalendarDate)((0,f.today)(this._timeZone)),t=(0,f.startOfMonth)(e);this._leftMonth=t.toString(),this._rightMonth=this._endDate&&!(0,f.isSameMonth)(e,this._endDate)?(0,f.startOfMonth)(this._endDate).toString():t.add({months:1}).toString()}syncCalendarMonths(){if(this.calendars!==2)return;let e=this._startDate??(0,f.toCalendarDate)((0,f.today)(this._timeZone)),t=(0,f.startOfMonth)(e);this._endDate&&!(0,f.isSameMonth)(e,this._endDate)?(this._leftMonth=t.toString(),this._rightMonth=(0,f.startOfMonth)(this._endDate).toString()):(this._leftMonth=t.toString(),this._rightMonth=t.add({months:1}).toString())}parseDateValue(e){return e?e.includes(`T`)?(0,f.parseDateTime)(e).set({era:`AD`}):(0,f.toCalendarDate)((0,f.parseDate)(e)).set({era:`AD`}):void 0}parseAllDates(){this._startDate=this.parseDateValue(this.startDate),this._endDate=this.parseDateValue(this.endDate)}updateAriaLabel(){if(this._startDate&&this._endDate){let e=this.ariaDateFormatter.format(a.s(this._startDate)),t=this.ariaDateFormatter.format(a.s(this._endDate));this.setAttribute(`aria-label`,`${this.labels.selected}: ${e} – ${t}`)}else this.setAttribute(`aria-label`,this.labels.empty)}render(){return o.html`
19
+ <div class="luzmo-DatePicker--range range-wrapper">
20
+ <div id="text-field">${this.renderStartInput()}</div>
21
+ <div class="luzmo-DatePicker-rangeDash"></div>
22
+ <div id="text-field">${this.renderEndInput()}</div>
23
+ ${this.renderStateIcons()} ${this.renderPicker()}
24
+ </div>
25
+ ${this.renderHelpText(this.invalid)}
26
+ `}renderStateIcons(){return this.invalid?o.html`
27
+ <luzmo-icon
28
+ .icon=${c.luzmoAlert}
29
+ .size=${this.size}
30
+ id="invalid"
31
+ class="icon"
32
+ ></luzmo-icon>
33
+ `:o.nothing}renderPicker(){return this.readonly?o.nothing:o.html`
34
+ <luzmo-picker-button
35
+ ?open=${this.isCalendarOpen}
36
+ ?quiet=${this.quiet}
37
+ ?invalid=${this.invalid}
38
+ ?disabled=${this.disabled}
39
+ .size=${this.size}
40
+ @click=${()=>this.isCalendarOpen=!0}
41
+ label=${this.labels.calendar}
42
+ >
43
+ <slot name="calendar-icon" slot="icon">
44
+ <luzmo-icon
45
+ .icon=${c.luzmoCalendar}
46
+ .size=${this.size}
47
+ block
48
+ ></luzmo-icon>
49
+ </slot>
50
+ </luzmo-picker-button>
51
+
52
+ <luzmo-overlay
53
+ .triggerElement=${this.rangeWrapper}
54
+ type="modal"
55
+ placement=${this.placement??`bottom`}
56
+ offset="0"
57
+ ?open=${this.isCalendarOpen}
58
+ @luzmo-closed=${()=>this.isCalendarOpen=!1}
59
+ >
60
+ <luzmo-popover>
61
+ <div class="popover-content">${this.renderPopoverContent()}</div>
62
+ </luzmo-popover>
63
+ </luzmo-overlay>
64
+ `}renderPopoverContent(){return this.calendars===2?this.renderDualCalendar():this.renderSingleCalendar()}renderSingleCalendar(){return o.html`
65
+ <div class="calendar-layout">
66
+ <div class="calendar-container">
67
+ <luzmo-calendar
68
+ selection-mode="range"
69
+ .startDate=${this.startDate}
70
+ .endDate=${this.endDate}
71
+ .min=${this.min}
72
+ .max=${this.max}
73
+ .labels=${this.labels}
74
+ .size=${this.size}
75
+ .language=${this.language}
76
+ @range-select=${this.handleRangeSelect}
77
+ ></luzmo-calendar>
78
+ </div>
79
+ ${this.renderDefinedRanges()}
80
+ </div>
81
+ `}renderDualCalendar(){return(!this._leftMonth||!this._rightMonth)&&this.initCalendarMonths(),o.html`
82
+ <div class="calendar-layout calendar-layout--dual">
83
+ <div class="calendars-row">
84
+ <div class="calendar-container">
85
+ <luzmo-calendar
86
+ selection-mode="range"
87
+ .startDate=${this.startDate}
88
+ .endDate=${this.endDate}
89
+ .value=${this._leftMonth}
90
+ .min=${this.min}
91
+ .max=${this.max}
92
+ .labels=${this.labels}
93
+ .size=${this.size}
94
+ .language=${this.language}
95
+ @range-select=${this.handleRangeSelect}
96
+ @hover-date=${this.handleHoverDateLeft}
97
+ @month-change=${this.handleLeftMonthChange}
98
+ ></luzmo-calendar>
99
+ </div>
100
+ <div class="calendar-container">
101
+ <luzmo-calendar
102
+ selection-mode="range"
103
+ .startDate=${this.startDate}
104
+ .endDate=${this.endDate}
105
+ .value=${this._rightMonth}
106
+ .min=${this.min}
107
+ .max=${this.max}
108
+ .labels=${this.labels}
109
+ .size=${this.size}
110
+ .language=${this.language}
111
+ @range-select=${this.handleRangeSelect}
112
+ @hover-date=${this.handleHoverDateRight}
113
+ @month-change=${this.handleRightMonthChange}
114
+ ></luzmo-calendar>
115
+ </div>
116
+ </div>
117
+ ${this.renderDefinedRanges()}
118
+ </div>
119
+ `}renderDefinedRanges(){return!this.showDefinedRanges||!this.definedRanges||this.definedRanges.length===0?o.nothing:o.html`
120
+ <div
121
+ class="defined-ranges"
122
+ role="listbox"
123
+ aria-label="Predefined date ranges"
124
+ >
125
+ ${this.definedRanges.map(e=>o.html`
126
+ <button
127
+ class="defined-range-item"
128
+ role="option"
129
+ aria-selected=${this.isDefinedRangeSelected(e)}
130
+ @click=${()=>this.selectDefinedRange(e)}
131
+ >
132
+ ${e.label}
133
+ </button>
134
+ `)}
135
+ </div>
136
+ `}isDefinedRangeSelected(e){return!this.startDate||!this.endDate?!1:this.startDate===g(e.startDate)&&this.endDate===g(e.endDate)}selectDefinedRange(e){this.startDate=g(e.startDate),this.endDate=g(e.endDate),this.isCalendarOpen=!1,this.dispatchChange()}handleRangeSelect(e){e.stopPropagation();let{startDate:t,endDate:n}=e.detail;this._skipMonthSync=!0,this.startDate=t,this.endDate=n??void 0,t&&n&&(this.isCalendarOpen=!1,this.dispatchChange())}handleHoverDateLeft(e){let t=this.shadowRoot?.querySelectorAll(`luzmo-calendar`)[1];t&&(t.hoveredDate=(0,f.parseDate)(e.detail.date))}handleHoverDateRight(e){let t=this.shadowRoot?.querySelectorAll(`luzmo-calendar`)[0];t&&(t.hoveredDate=(0,f.parseDate)(e.detail.date))}renderStartInput(){return o.html`
137
+ <div class="input luzmo-DatePicker-startField">
138
+ <span
139
+ class="input-content"
140
+ aria-label=${this.labels.startDate}
141
+ @keydown=${e=>this.handleKeydown(e,`start`)}
142
+ @input=${e=>this.handleInput(e,`start`)}
143
+ >
144
+ ${this.renderSegmentsFor(this.startSegments)}
145
+ </span>
146
+ </div>
147
+ `}renderEndInput(){return o.html`
148
+ <div class="input luzmo-DatePicker-endField">
149
+ <span
150
+ class="input-content"
151
+ aria-label=${this.labels.endDate}
152
+ @keydown=${e=>this.handleKeydown(e,`end`)}
153
+ @input=${e=>this.handleInput(e,`end`)}
154
+ >
155
+ ${this.renderSegmentsFor(this.endSegments)}
156
+ </span>
157
+ </div>
158
+ `}renderSegmentsFor(e){return e.all.map(e=>(0,l.when)(e.type===a.p.Literal,()=>this.renderLiteralSegment(e),()=>this.renderEditableSegment(e)))}renderLiteralSegment(e){return o.html`
159
+ <span
160
+ class="literal-segment"
161
+ data-test-id=${e.type}
162
+ aria-hidden="true"
163
+ >${e.formatted}</span>
164
+ `}renderEditableSegment(e){let t=!this.disabled&&!this.readonly,n={"editable-segment":!0,"is-placeholder":e.value===void 0},r=e.type!==a.p.Year&&String(e.maxValue).length>0;return o.html`
165
+ <div
166
+ role="spinbutton"
167
+ aria-valuenow=${(0,u.ifDefined)(e.value)}
168
+ aria-valuemin=${e.minValue}
169
+ aria-valuemax=${e.maxValue}
170
+ aria-label=${e.label}
171
+ aria-valuetext=${(0,u.ifDefined)(e.value===void 0?this.labels.empty:e.formatted)}
172
+ contenteditable=${(0,u.ifDefined)(t?!0:void 0)}
173
+ inputmode=${(0,u.ifDefined)(t?`numeric`:void 0)}
174
+ tabindex=${(0,u.ifDefined)(t?`0`:void 0)}
175
+ class=${(0,d.classMap)(n)}
176
+ style=${r?`min-width: ${r}ch`:``}
177
+ data-type=${e.type}
178
+ .innerText=${e.value===void 0?e.placeholder??``:e.formatted??``}
179
+ ></div>
180
+ `}getSegments(e){return e===`start`?this.startSegments:this.endSegments}setSegmentsForField(e,t){e===`start`?this.startSegments=t:this.endSegments=t}getModifierParams(e){return{dateFormatter:this.dateFormatter,segments:this.getSegments(e),currentDate:(0,f.now)(this._timeZone)}}handleKeydown(e,t){let n=e.target,r=n.dataset.type;if(r)switch(e.code){case`ArrowUp`:{let e=new a.r(this.getModifierParams(t));this.setSegmentsForField(t,e.modify(r)),this.updateValueFromSegments(t),this.dispatchInputEvent();break}case`ArrowDown`:{let e=new a.i(this.getModifierParams(t));this.setSegmentsForField(t,e.modify(r)),this.updateValueFromSegments(t),this.dispatchInputEvent();break}case`ArrowRight`:this.focusSegment(n,`next`);break;case`ArrowLeft`:this.focusSegment(n,`previous`);break;case`Enter`:case`Space`:this.commitValue();break;case`Backspace`:case`Delete`:if(e.preventDefault(),this.getSegments(t).getByType(r)?.value===void 0)this.focusSegment(n,`previous`);else{let e=new a.a(this.getModifierParams(t));this.setSegmentsForField(t,e.modify(r)),this.updateValueFromSegments(t),this.dispatchInputEvent()}break}}handleInput(e,t){e.stopPropagation();let n=e.target.dataset.type,r=this.getSegments(t).editableValues,i=new a.n({...this.getModifierParams(t),eventData:e.data,numberParser:this.numberParser}).modify(n);this.setSegmentsForField(t,i);let o=i.getByType(n),s=e.target;s.textContent=o.value===void 0?o.placeholder:o.formatted,this.updateValueFromSegments(t);let c=i.editableValues;a.c(r,c)||this.dispatchInputEvent()}focusSegment(e,t){let n=e;for(;;){let e=t===`previous`?n.previousElementSibling:n.nextElementSibling;if(!e)break;if(e.getAttribute(`contenteditable`)){e.focus();return}n=e}}updateValueFromSegments(e){let t=this.getSegments(e).getFormattedDate(this.precision);if(t&&(a.l(t)||a.u(t))){let n=t.toString();e===`start`?(this._startDate=t,this.startDate=n):(this._endDate=t,this.endDate=n)}else e===`start`?(this._startDate=void 0,this.startDate=void 0):(this._endDate=void 0,this.endDate=void 0)}commitValue(){if(this._startDate&&this._endDate){if(this._startDate.compare(this._endDate)>0){let e=this._startDate;this._startDate=this._endDate,this._endDate=e,this.startDate=this._startDate.toString(),this.endDate=this._endDate.toString(),this.setStartSegments(),this.setEndSegments()}this.dispatchChange()}}handleLeftMonthChange(e){let t=e.detail,n=(0,f.parseDate)(t.date);this._leftMonth=t.date,this._rightMonth&&(0,f.isSameMonth)(n,(0,f.parseDate)(this._rightMonth))&&(this._rightMonth=(0,f.startOfMonth)(n).add({months:1}).toString())}handleRightMonthChange(e){let t=e.detail,n=(0,f.parseDate)(t.date);this._rightMonth=t.date,this._leftMonth&&(0,f.isSameMonth)(n,(0,f.parseDate)(this._leftMonth))&&(this._leftMonth=(0,f.startOfMonth)(n).subtract({months:1}).toString())}dispatchChange(){this.dispatchEvent(new CustomEvent(`change`,{bubbles:!0,composed:!0,cancelable:!0,detail:{startDate:this.startDate??``,endDate:this.endDate??``}}))}dispatchInputEvent(){this.dispatchEvent(new CustomEvent(`input`,{bubbles:!0,composed:!0,cancelable:!0,detail:{startDate:this.startDate??``,endDate:this.endDate??``}}))}setStartSegments(){this.startSegments=this.createSegmentsFromDate(this._startDate)}setEndSegments(){this.endSegments=this.createSegmentsFromDate(this._endDate)}createSegmentsFromDate(e){let t=(0,f.now)(this._timeZone),n=e?{year:e.year,month:e.month,day:e.day}:{};e&&a.u(e)&&(n.hour=e.hour,n.minute=e.minute,n.second=e.second,n.millisecond=e.millisecond);let r=e?t.set(n):t,i=new a.t(this.dateFormatter).createSegments(r,e!==void 0);if(this.dateFormat){let e=i.all.findIndex(e=>e.type===a.p.Month),t=i.all.findIndex(e=>e.type===a.p.Day);if(e!==-1&&t!==-1){if(this.dateFormat===`mmdd`&&e>t){let n=i.all[e];i.all[e]=i.all[t],i.all[t]=n}else if(this.dateFormat===`ddmm`&&t>e){let n=i.all[t];i.all[t]=i.all[e],i.all[e]=n}}}return typeof this.dateSeparator==`string`&&this.dateSeparator&&(i.all?.[1]?.type===a.p.Literal&&(i.all[1].formatted=this.dateSeparator),i.all?.[3]?.type===a.p.Literal&&(i.all[3].formatted=this.dateSeparator)),this.precision===a.f.Day?new a.o(i.all.filter(e=>{let t=e.type;return t===a.p.Year||t===a.p.Month||t===a.p.Day||t===a.p.Literal})):i}setNumberParser(){this.numberParser=new p.NumberParser(this._language,{maximumFractionDigits:0})}setDateFormatter(){this.dateFormatter=new f.DateFormatter(this._language,{day:`2-digit`,month:`2-digit`,year:`numeric`,...this.getTimeOptions(`2-digit`)})}setAriaDateFormatter(){this.ariaDateFormatter=new f.DateFormatter(this._language,{day:`numeric`,month:`long`,year:`numeric`,...this.getTimeOptions(`numeric`)})}getTimeOptions(e){switch(this.precision){case a.f.Millisecond:return{hour:e,minute:e,second:e,fractionalSecondDigits:3};case a.f.Second:return{hour:e,minute:e,second:e};case a.f.Minute:return{hour:e,minute:e};case a.f.Hour:return{hour:e};default:return{}}}};e.t([(0,s.property)({type:String,attribute:`start-date`,reflect:!0})],_.prototype,`startDate`,void 0),e.t([(0,s.property)({type:String,attribute:`end-date`,reflect:!0})],_.prototype,`endDate`,void 0),e.t([(0,s.property)({type:String,reflect:!0})],_.prototype,`min`,void 0),e.t([(0,s.property)({type:String,reflect:!0})],_.prototype,`max`,void 0),e.t([(0,s.property)({type:String,attribute:`date-format`,reflect:!0})],_.prototype,`dateFormat`,void 0),e.t([(0,s.property)({type:String,attribute:`date-separator`,reflect:!0})],_.prototype,`dateSeparator`,void 0),e.t([(0,s.property)({type:String,reflect:!0})],_.prototype,`precision`,void 0),e.t([(0,s.property)({type:Number,reflect:!0})],_.prototype,`calendars`,void 0),e.t([(0,s.property)({type:Boolean,attribute:`show-defined-ranges`,reflect:!0})],_.prototype,`showDefinedRanges`,void 0),e.t([(0,s.property)({attribute:!1})],_.prototype,`definedRanges`,void 0),e.t([(0,s.property)({type:Boolean,reflect:!0})],_.prototype,`invalid`,void 0),e.t([(0,s.property)({type:Boolean,reflect:!0})],_.prototype,`readonly`,void 0),e.t([(0,s.property)({type:Boolean,reflect:!0})],_.prototype,`quiet`,void 0),e.t([(0,s.property)({type:String,reflect:!0})],_.prototype,`placement`,void 0),e.t([(0,s.property)({type:String,attribute:`time-zone`,reflect:!0})],_.prototype,`timeZone`,void 0),e.t([(0,s.property)({type:String,reflect:!0})],_.prototype,`language`,void 0),e.t([(0,s.property)({attribute:!1})],_.prototype,`labels`,void 0),e.t([(0,s.property)({type:Boolean,reflect:!0})],_.prototype,`focused`,void 0),e.t([(0,s.state)()],_.prototype,`_startDate`,void 0),e.t([(0,s.state)()],_.prototype,`_endDate`,void 0),e.t([(0,s.state)()],_.prototype,`startSegments`,void 0),e.t([(0,s.state)()],_.prototype,`endSegments`,void 0),e.t([(0,s.state)()],_.prototype,`isCalendarOpen`,void 0),e.t([(0,s.state)()],_.prototype,`_leftMonth`,void 0),e.t([(0,s.state)()],_.prototype,`_rightMonth`,void 0),e.t([(0,s.query)(`.editable-segment`)],_.prototype,`firstEditableSegment`,void 0),e.t([(0,s.query)(`.range-wrapper`)],_.prototype,`rangeWrapper`,void 0),customElements.get(`luzmo-date-range-picker`)||customElements.define(`luzmo-date-range-picker`,_),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return _}});
@@ -15,4 +15,4 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../date-time-picker-DpQWIAg0.cjs`);exports.LuzmoDateTimePicker=e.t;
18
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../date-time-picker-Cj4n6nG-.cjs");exports.LuzmoDateTimePicker=e.t;
@@ -21,5 +21,5 @@
21
21
  e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), black 45%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), black 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-primary: #4434ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), black 20%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5%);--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 7%), black 1%);--luzmo-background-color-focus: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5%);--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 20%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-secondary: #d000d0;--luzmo-secondary-hover: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-down: color-mix(in oklch, var(--luzmo-secondary), black 20%);--luzmo-secondary-focus: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 208, 0, 208;--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba( var(--luzmo-border-color-rgb), 0.4 );--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-width: thin;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), black 20%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-negative-inverse-color: #ffffff;--luzmo-positive-color: rgb(18, 133, 90);--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), black 20%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-rgb: 18, 133, 90;--luzmo-positive-inverse-color: #ffffff;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), black 45%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), black 45%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-informative-color: #1670dd;--luzmo-informative-color-rgb: 22, 112, 221;--luzmo-notice-color: rgb(229, 127, 0);--luzmo-seafoam-color: rgb(0, 140, 140);--luzmo-indigo-color: rgb(68, 52, 255);--luzmo-purple-color: rgb(112, 48, 210);--luzmo-fuchsia-color: rgb(205, 30, 170);--luzmo-magenta-color: rgb(203, 36, 98);--luzmo-yellow-color: rgb(228, 208, 0);--luzmo-gray-color: rgb(110, 110, 110);--luzmo-red-color: rgb(202, 34, 28);--luzmo-orange-color: rgb(218, 123, 17);--luzmo-chartreuse-color: rgb(85, 135, 0);--luzmo-celery-color: rgb(48, 134, 22);--luzmo-green-color: rgb(18, 133, 90);--luzmo-cyan-color: rgb(0, 134, 180);--luzmo-blue-color: rgb(22, 112, 221);--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 10px;--luzmo-icon-size-xs: 12px;--luzmo-icon-size-s: 14px;--luzmo-icon-size-m: 16px;--luzmo-icon-size-l: 18px;--luzmo-icon-size-xl: 20px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
22
22
  }
23
23
  })();
24
- import { t as e } from "../date-time-picker-qVon-GIh.js";
24
+ import { t as e } from "../date-time-picker-CStBWop1.js";
25
25
  export { e as LuzmoDateTimePicker };
@@ -15,17 +15,17 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- import { t as e } from "./decorate-aGxJUVxg.js";
19
- import { n as t, t as n } from "./sized-mixin-DaBoZkVS.js";
20
- import { t as r } from "./focusable-BmS8IzhH.js";
21
- import "./icon-CwBAE1eU.js";
22
- import "./overlay-CwR_36OV.js";
18
+ import { t as e } from "./decorate-CkCg3wfh.js";
19
+ import { n as t, t as n } from "./sized-mixin-DzQTebN-.js";
20
+ import { t as r } from "./focusable-DuP0-Kuy.js";
21
+ import "./icon-M3agnqx7.js";
22
+ import "./overlay-DR9oYpb5.js";
23
23
  import "./popover/index.js";
24
- import "./calendar-BNRjXf9B.js";
25
- import { t as i } from "./manage-help-text-CF0xBh0F.js";
26
- import { t as a } from "./text-field.module-Btsve-VN.js";
27
- import "./picker-button-VAxzuhhg.js";
28
- import { a as o, c as s, d as c, f as l, i as u, l as d, n as f, o as p, p as m, r as h, s as g, t as _, u as v } from "./segments-factory-D0IveW-q.js";
24
+ import "./calendar-Ck40E6VN.js";
25
+ import { t as i } from "./manage-help-text-DwfUBgHK.js";
26
+ import { t as a } from "./text-field.module-BrBqDht3.js";
27
+ import "./picker-button-Bg1oKrx4.js";
28
+ import { a as o, c as s, d as c, f as l, i as u, l as d, n as f, o as p, p as m, r as h, s as g, t as _, u as v } from "./segments-factory-BCRi1NKb.js";
29
29
  import { html as y, nothing as b, unsafeCSS as x } from "lit";
30
30
  import { property as S, query as C, state as w } from "lit/decorators.js";
31
31
  import { luzmoAlert as T, luzmoCalendar as E } from "@luzmo/icons";
@@ -120,7 +120,7 @@ var V = ":host{font-family:var(--luzmo-font-family);--date-time-picker-border-ra
120
120
  e && this._min && this._max && (this._min.compare(this._max) < 0 || (console.warn(this, `<${this.localName}> expects the 'min' to be less than 'max'. Please ensure that 'min' property's date is earlier than 'max' property's date.`), this._min = void 0, this._max = void 0)), this.isNonCompliantValue() && (console.warn(this, `<${this.localName}> expects the preselected value to comply with the min and max constraints. Please ensure that 'value' property's date is in between the dates for the 'min' and 'max' properties.`), this._value = void 0), !this._min && !this._max && !this._value && (this._timeZone = N());
121
121
  }
122
122
  isNonCompliantValue() {
123
- return this._value === void 0 ? !1 : !!(this._min && this._value.compare(this._min) < 0 || this._max && this._value.compare(this._max) > 0);
123
+ return this._value !== void 0 && !!(this._min && this._value.compare(this._min) < 0 || this._max && this._value.compare(this._max) > 0);
124
124
  }
125
125
  updateDateProps() {
126
126
  let e = this.mostSpecificDateValue;
@@ -0,0 +1,105 @@
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
+ const e=require("./decorate-Dq34MBGe.cjs"),t=require("./sized-mixin-BT7cv-fT.cjs"),n=require("./focusable-DTxxQ3yJ.cjs");require("./icon-xwNfYSkj.cjs"),require("./overlay-CO_JAhWD.cjs"),require("./popover/index.cjs"),require("./calendar-9tmSkAp2.cjs");const r=require("./manage-help-text-D20THJ3U.cjs"),i=require("./text-field.module-DDRcQM7Y.cjs");require("./picker-button-COrTSUL5.cjs");const a=require("./segments-factory-DtPyN5sh.cjs");let o=require("lit"),s=require("lit/decorators.js"),c=require("@luzmo/icons"),l=require("lit/directives/when.js"),u=require("lit/directives/if-defined.js"),d=require("lit/directives/class-map.js"),f=require("lit/directives/style-map.js"),p=require("@internationalized/date"),m=require("@internationalized/number");var h=`:host{font-family:var(--luzmo-font-family);--date-time-picker-border-radius:var(--luzmo-date-time-picker-border-radius,var(--luzmo-border-radius));--date-time-picker-border-radius-quiet:var(--luzmo-date-time-picker-border-radius-quiet,0);--date-time-picker-border-width:var(--luzmo-border-width);--date-time-picker-button-border-color:var(--highcontrast-datepicker-pickerbutton-border-color,var(--luzmo-date-time-picker-pickerbutton-border-color,var(--luzmo-border-color)));--date-time-picker-button-border-color-focus:var(--highcontrast-datepicker-pickerbutton-border-color,var(--luzmo-date-time-picker-pickerbutton-border-color-focus,var(--luzmo-primary)));--date-time-picker-button-border-color-invalid:var(--highcontrast-datepicker-pickerbutton-border-color,var(--luzmo-date-time-picker-pickerbutton-border-color-invalid,var(--luzmo-negative-color)));--date-time-picker-button-width:calc(var(--date-time-picker-edge-to-disclosure-icon) * 2 + var(--date-time-picker-icon-size));--date-time-picker-quiet-button-offset:var(--luzmo-date-time-picker-quiet-button-offset,var(--date-time-picker-text-to-visual));--date-time-picker-icon-to-text:var(--date-time-picker-edge-to-text);--date-time-picker-button-width-quiet:calc(var(--date-time-picker-button-width) - var(--date-time-picker-quiet-button-offset));--date-time-picker-focus-ring-gap:var(--luzmo-date-time-picker-focus-ring-gap,var(--luzmo-indicator-gap));--date-time-picker-focus-thickness:var(--luzmo-date-time-picker-focus-thickness,var(--luzmo-indicator-width));--date-time-picker-focus-animation:var(--luzmo-date-time-picker-focus-animation,var(--luzmo-animation-duration));--date-time-picker-focus-ring-width:var(--luzmo-date-time-picker-focus-ring-width,var(--luzmo-border-width));--date-time-picker-focus-ring-color:var(--highcontrast-datepicker-focus-ring-color,var(--luzmo-date-time-picker-focus-ring-color,var(--luzmo-indicator-color)));--date-time-picker-focus-line-gap:var(--luzmo-date-time-picker-focus-line-gap,var(--luzmo-spacing-2));--date-time-picker-invalid-quiet-color:var(--luzmo-date-time-picker-invalid-quiet-color,var(--luzmo-negative-color));--date-time-picker-quiet-border-color-hover:var(--luzmo-date-time-picker-quiet-border-color-hover,var(--luzmo-border-color-hover));--date-time-picker-border-color-disabled:var(--luzmo-date-time-picker-border-color-disabled,var(--luzmo-border-color-disabled));--date-time-picker-dash-font-size:var(--luzmo-date-time-picker-dash-font-size,var(--date-time-picker-dash-font-size));--date-time-picker-dash-color:var(--highcontrast-datepicker-dash-color,var(--luzmo-date-time-picker-dash-color,var(--luzmo-font-color)));--date-time-picker-range-dash-padding-top:var(--luzmo-date-time-picker-range-dash-padding-top,0);--date-time-picker-range-dash-margin-inline-start:var(--luzmo-date-time-picker-range-dash-margin-left,calc(var(--date-time-picker-dash-font-size) * -.5));--date-time-picker-range-input-width-first:var(--luzmo-date-time-picker-range-input-width-first,calc(var(--date-time-picker-initial-width) - var(--date-time-picker-generic-padding) * 2));--date-time-picker-input-width-base:calc(var(--date-time-picker-range-input-width-first) + var(--date-time-picker-icon-size));--date-time-picker-input-width:var(--luzmo-date-time-picker-input-width,calc(var(--date-time-picker-input-width-base) + var(--date-time-picker-initial-height)));--date-time-picker-range-input-width-quiet-first:var(--luzmo-date-time-picker-range-input-width-quiet-first,calc(var(--date-time-picker-width-quiet-first) + var(--date-time-picker-width-quiet-second)));--date-time-picker-input-width-quiet:var(--luzmo-date-time-picker-input-width-quiet,calc(var(--date-time-picker-range-input-width-quiet-first) + var(--date-time-picker-icon-size) + var(--date-time-picker-initial-height)));--date-time-picker-datetime-input-width-first:var(--luzmo-date-time-picker-datetime-input-width-first,calc(var(--date-time-picker-input-width-base) + var(--date-time-picker-datetime-width-first)));--date-time-picker-datetime-input-width:var(--luzmo-date-time-picker-datetime-input-width,calc(var(--date-time-picker-datetime-input-width-first) + var(--date-time-picker-icon-size) + var(--date-time-picker-initial-height)));--date-time-picker-datetime-quiet-input-width-first:var(--luzmo-date-time-picker-datetime-quiet-input-width-first,calc(var(--date-time-picker-input-width-base) + var(--date-time-picker-input-datetime-width)));--date-time-picker-datetime-quiet-input-width:var(--luzmo-date-time-picker-datetime-quiet-input-width,calc(var(--date-time-picker-datetime-quiet-input-width-first) + var(--date-time-picker-icon-size) + var(--date-time-picker-initial-height)));--date-time-picker-padding-inline-end:var(--luzmo-date-time-picker-padding-inline,calc(var(--date-time-picker-button-width) + var(--date-time-picker-edge-to-text) - var(--date-time-picker-border-width) * 2));--date-time-picker-padding-inline-end-quiet:var(--luzmo-date-time-picker-padding-inline-quiet,calc(var(--date-time-picker-button-width) + var(--date-time-picker-edge-to-text) - var(--date-time-picker-quiet-button-offset)));--date-time-picker-padding-inline-end-invalid-quiet:var(--luzmo-date-time-picker-padding-inline-end-invalid-quiet,calc(var(--date-time-picker-button-width-quiet) + var(--date-time-picker-icon-size) + var(--date-time-picker-icon-to-text)));min-inline-size:var(--luzmo-date-time-picker-min-width,var(--date-time-picker-min-width));border-radius:var(--date-time-picker-border-radius);flex-flow:row;display:inline-flex;position:relative}:host([disabled]) luzmo-picker-button{cursor:default}:host([disabled]){--luzmo-date-time-picker-dash-color:var(--luzmo-date-time-picker-dash-color-disabled,var(--disabled-content-color));--luzmo-text-field-border-color-disabled:transparent}:host([invalid]),:host([invalid]) #text-field .icon{--luzmo-text-field-icon-spacing-inline-end-invalid:calc(var(--date-time-picker-button-width) + var(--date-time-picker-invalid-icon-to-button));--luzmo-text-field-icon-spacing-inline-end-quiet-invalid:calc(var(--date-time-picker-button-width-quiet) + var(--date-time-picker-invalid-icon-to-button-quiet))}:host(:not([quiet])){inline-size:var(--luzmo-date-time-picker-width,var(--date-time-picker-width))}:host([quiet]){inline-size:var(--luzmo-date-time-picker-width-quiet,var(--date-time-picker-width-quiet,var(--date-time-picker-width)))}:host(:not([quiet],[disabled])){--luzmo-picker-button-border-color:var(--date-time-picker-button-border-color)}:host([focused]),:host([focused]:not([quiet],[disabled])){--luzmo-picker-button-border-color:var(--date-time-picker-button-border-color-focus)}:host([invalid]:not([quiet],[disabled])){--luzmo-picker-button-border-color:var(--date-time-picker-button-border-color-invalid)}.input{inline-size:100%;border-color:var(--luzmo-date-time-picker-border-color,var(--datepicker-border-color));flex:1;padding-inline-end:var(--date-time-picker-padding-inline-end)}:host .input:read-only{border-color:var(--luzmo-date-time-picker-border-color,var(--datepicker-border-color))}.input.luzmo-DatePicker-startField{border-inline-end:0;border-start-end-radius:0;border-end-end-radius:0;padding-inline-end:var(--luzmo-date-time-picker-generic-padding,var(--date-time-picker-generic-padding))}.input.luzmo-DatePicker-endField{border-inline-start:0;border-start-start-radius:0;border-end-start-radius:0;padding-inline-start:var(--luzmo-date-time-picker-generic-padding,var(--date-time-picker-generic-padding))}luzmo-picker-button{cursor:pointer;position:absolute;inset-inline-end:0}.luzmo-DatePicker-rangeDash{color:var(--date-time-picker-dash-color);line-height:var(--luzmo-date-time-picker-dash-line-height,var(--date-time-picker-dash-line-height));flex:initial;z-index:1;inline-size:0;padding-block-start:var(--date-time-picker-range-dash-padding-top)}.luzmo-DatePicker-rangeDash:before{content:"–";margin-block:0;margin-inline:var(--date-time-picker-range-dash-margin-inline-start);text-align:center;vertical-align:middle;inline-size:var(--date-time-picker-dash-font-size);display:inline-block;overflow:hidden}:host([quiet]){--luzmo-date-time-picker-border-radius:var(--date-time-picker-border-radius-quiet);--luzmo-date-time-picker-padding-inline:var(--date-time-picker-padding-inline-end-quiet);--luzmo-picker-button-border-color-disabled:var(--date-time-picker-border-color-disabled);--luzmo-picker-button-background-color-hover-disabled:var(--date-time-picker-border-color-disabled)}:host([quiet][disabled]){--luzmo-text-field-border-color-disabled:var(--date-time-picker-border-color-disabled)}:host([quiet][invalid]) .input:not(.luzmo-DatePicker-startField){padding-inline-end:var(--date-time-picker-padding-inline-end-invalid-quiet)}@media (hover:hover){:host(:hover):not([focused],[disabled],[invalid]){--luzmo-picker-button-border-color:var(--date-time-picker-quiet-border-color-hover)}}:host([quiet][invalid]){--luzmo-picker-button-border-color:var(--date-time-picker-invalid-quiet-color)}:host([quiet]) luzmo-picker-button{inline-size:auto;inset-inline-end:calc(var(--date-time-picker-quiet-button-offset) * -1)}:host([quiet]) luzmo-picker-button:not(.is-open){--luzmo-picker-button-border-color-disabled:transparent}:host([quiet]) luzmo-picker-button:not(:disabled,.is-open){--luzmo-picker-button-background-color:transparent}.luzmo-DatePicker--range{--luzmo-date-time-picker-border-radius:var(--date-time-picker-border-radius)}.luzmo-DatePicker--range:after{pointer-events:none;content:"";margin:calc(var(--date-time-picker-focus-ring-gap) * -1);border-radius:calc(var(--date-time-picker-border-radius) + var(--date-time-picker-focus-ring-gap));transition:box-shadow var(--date-time-picker-focus-animation) ease-in-out, border-color var(--date-time-picker-focus-animation) ease-in-out;border-color:#0000;position:absolute;inset:0}:host([focused]) .luzmo-DatePicker--range:not(.luzmo-DatePicker--quiet):after{box-shadow:0 0 0 var(--date-time-picker-focus-ring-width) var(--date-time-picker-focus-ring-color)}:host([focused]) .luzmo-DatePicker--range:not(.luzmo-DatePicker--quiet) #text-field:after{display:none}:host([quiet]) .luzmo-DatePicker--range{--luzmo-date-time-picker-border-radius:var(--date-time-picker-border-radius-quiet)}:host([quiet][focused]) .luzmo-DatePicker--range:after{box-shadow:none;border-block-end:var(--date-time-picker-focus-thickness) solid var(--date-time-picker-focus-ring-color);border-radius:0;margin:0;inset-block-end:calc(var(--date-time-picker-focus-line-gap) * -1)}:host([quiet]) .luzmo-DatePicker--range #text-field{min-inline-size:0;inline-size:var(--date-time-picker-input-width-quiet)}:host([quiet]) .luzmo-DatePicker--range #text-field:first-of-type{inline-size:var(--date-time-picker-range-input-width-quiet-first)}.luzmo-DatePicker--range.luzmo-DatePicker--datetimeRange #text-field{inline-size:var(--date-time-picker-datetime-input-width);min-inline-size:0}.luzmo-DatePicker--range.luzmo-DatePicker--datetimeRange #text-field:first-of-type{inline-size:var(--date-time-picker-datetime-input-width-first)}:host([quiet]) .luzmo-DatePicker--range.luzmo-DatePicker--datetimeRange #text-field{inline-size:var(--date-time-picker-datetime-quiet-input-width)}:host([quiet]) .luzmo-DatePicker--range.luzmo-DatePicker--datetimeRange #text-field:first-of-type{inline-size:var(--date-time-picker-datetime-quiet-input-width-first)}.luzmo-DatePicker--range #text-field{flex:initial;min-inline-size:0;inline-size:var(--date-time-picker-input-width)}.luzmo-DatePicker--range #text-field:first-of-type{inline-size:var(--date-time-picker-range-input-width-first)}@media (forced-colors:active){:host{--highcontrast-datepicker-dash-color:CanvasText;--highcontrast-datepicker-focus-ring-color:Highlight;--highcontrast-datepicker-pickerbutton-border-color:Highlight}:host([disabled]){--highcontrast-datepicker-dash-color:GrayText}:host([quiet][invalid]){--highcontrast-datepicker-pickerbutton-border-color:Highlight}}:host{--date-time-picker-width:auto;--date-time-picker-initial-height:var(--system-date-picker-initial-height);--date-time-picker-font-color-default:var(--luzmo-font-color);--datepicker-border-color:var(--luzmo-border-color);--date-time-picker-button-indicator-color:var(--luzmo-indicator-color);--text-field-focus-indicator-color:var(--luzmo-background-color-highlight);--date-time-picker-initial-width:120px;--date-time-picker-min-width:160px;--date-time-picker-calendar-padding:var(--luzmo-spacing-4);--date-time-picker-icon-size:18px;--date-time-picker-dash-font-size:var(--luzmo-font-size);--date-time-picker-text-to-visual:var(--luzmo-spacing-3);--date-time-picker-edge-to-disclosure-icon:var(--luzmo-spacing-3);--date-time-picker-edge-to-text:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--date-time-picker-icon-to-text:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--date-time-picker-invalid-icon-to-button:var(--luzmo-spacing-3);--date-time-picker-generic-padding:var(--luzmo-spacing-4)}:host([size=s]){--date-time-picker-min-width:140px;--date-time-picker-calendar-padding:var(--luzmo-spacing-3);--date-time-picker-icon-size:16px;--date-time-picker-dash-font-size:var(--luzmo-font-size-s);--date-time-picker-text-to-visual:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--date-time-picker-edge-to-disclosure-icon:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--date-time-picker-edge-to-text:var(--luzmo-spacing-3);--date-time-picker-invalid-icon-to-button:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--date-time-picker-icon-to-text:var(--luzmo-spacing-3)}:host([invalid][size=s]){--text-field-icon-spacing-block-invalid:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1))}:host([size=m]){--date-time-picker-min-width:160px;--date-time-picker-calendar-padding:var(--luzmo-spacing-4);--date-time-picker-icon-size:18px;--date-time-picker-dash-font-size:var(--luzmo-font-size-m);--date-time-picker-text-to-visual:var(--luzmo-spacing-3);--date-time-picker-edge-to-disclosure-icon:var(--luzmo-spacing-3);--date-time-picker-edge-to-text:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--date-time-picker-invalid-icon-to-button:var(--luzmo-spacing-3);--date-time-picker-icon-to-text:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1))}:host([size=l]){--date-time-picker-min-width:180px;--date-time-picker-calendar-padding:var(--luzmo-spacing-5);--date-time-picker-icon-size:20px;--date-time-picker-dash-font-size:var(--luzmo-font-size-l);--date-time-picker-text-to-visual:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--date-time-picker-edge-to-disclosure-icon:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--date-time-picker-edge-to-text:var(--luzmo-spacing-4);--date-time-picker-invalid-icon-to-button:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--date-time-picker-icon-to-text:var(--luzmo-spacing-4)}:host([size=xl]){--date-time-picker-min-width:200px;--date-time-picker-calendar-padding:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--date-time-picker-icon-size:22px;--date-time-picker-dash-font-size:var(--luzmo-font-size-xl);--date-time-picker-text-to-visual:var(--luzmo-spacing-4);--date-time-picker-edge-to-disclosure-icon:var(--luzmo-spacing-4);--date-time-picker-edge-to-text:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--date-time-picker-invalid-icon-to-button:var(--luzmo-spacing-4);--date-time-picker-icon-to-text:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1))}:host{--status-icon-size:var(--luzmo-text-field-icon-size-invalid,var(--text-field-icon-size-invalid));--picker-button-size:var(--luzmo-text-field-height,var(--text-field-height));--input-spacing:var(--luzmo-text-field-spacing-inline,var(--text-field-spacing-inline));--input-border-width:var(--luzmo-text-field-border-width,var(--luzmo-border-width));--text-to-icon:var(--luzmo-text-field-icon-spacing-inline-start-invalid,var(--text-field-icon-spacing-inline-start-invalid));--date-time-picker-input-width:var(--date-time-picker-width);flex-wrap:wrap}:host #text-field{display:inline-block}:host #text-field .input,:host([quiet]) #text-field .input,:host([valid]) #text-field .input,:host([invalid]) #text-field .input{inline-size:100%}:host #text-field .input,:host([quiet]) #text-field .input{padding-inline-end:calc(var(--picker-button-size) + var(--input-spacing) - var(--input-border-width))}:host([valid]) #text-field .input,:host([invalid]) #text-field .input{inline-size:100%;padding-inline-end:calc(var(--status-icon-size) + var(--picker-button-size) + var(--input-spacing) - var(--input-border-width) + var(--text-to-icon))}@media (hover:hover){:host([invalid]) #text-field:hover .input,:host([focused][invalid]) .input:hover,:host([focused][invalid]) #text-field:hover .input{border-color:var(--highcontrast-text-field-border-color-invalid-default,var(--luzmo-text-field-border-color-invalid-default,var(--luzmo-negative-color-hover)))}}luzmo-picker-button:focus-visible{outline:none}luzmo-popover{overflow-y:auto}luzmo-popover .popover-content{padding:var(--luzmo-date-time-picker-calendar-padding,var(--date-time-picker-calendar-padding))}.input-content{scrollbar-width:none;align-items:center;height:100%;line-height:normal;display:flex;overflow:auto hidden}.input-content::-webkit-scrollbar{width:0;height:0;display:none}.literal-segment,.editable-segment{color:var(--luzmo-date-time-picker-font-color-default,var(--date-time-picker-font-color-default));display:inline-block}.editable-segment{font-variant-numeric:tabular-nums;text-align:end;white-space:nowrap;caret-color:#0000;outline:none;padding:0 .15em}[dir=ltr] .editable-segment{text-align:start}.literal-segment{white-space:pre;-webkit-user-select:none;user-select:none}.is-placeholder,.is-placeholder+.literal-segment{color:var(--luzmo-font-color-disabled)}.editable-segment:focus-visible{color:var(--white);background-color:var(--highcontrast-text-field-focus-indicator-color,var(--luzmo-text-field-focus-indicator-color,var(--text-field-focus-indicator-color)))}.editable-segment::selection{background-color:#0000}`,g=class extends r.t(t.n(n.t,{validSizes:Object.values(t.t)})){static get styles(){return[(0,o.unsafeCSS)(h),(0,o.unsafeCSS)(i.t)]}get precision(){return this._precision}set precision(e){this.isUserSetPrecision=!0;let t=this._precision;e!==t&&(this._precision=e,this.requestUpdate(`precision`,t))}get _language(){try{return this.language?new Intl.Locale(this.language).language:`en`}catch{return`en`}}get focusElement(){return this.firstEditableSegment}get currentDate(){return this._value?(0,p.toZoned)(this._value,this._timeZone):this.cachedLocalTime}get includesTime(){return[a.f.Hour,a.f.Minute,a.f.Second,a.f.Millisecond].includes(this.precision)}clear(){this._value=void 0,this.setSegments()}constructor(){super(),this._precision=a.f.Minute,this.isUserSetPrecision=!1,this.invalid=!1,this.readonly=!1,this.quiet=!1,this.placement=`bottom`,this.language=`en`,this.labels={previous:`Previous`,next:`Next`,today:`Today`,selected:`Selected`,empty:`Empty`,calendar:`Calendar`},this.focused=!1,this.segments=new a.o([]),this.isCalendarOpen=!1,this._timeZone=this.timeZone??(0,p.getLocalTimeZone)(),this.cachedLocalTime=(0,p.now)(this._timeZone),this.setNumberParser(),this.setDateFormatter(),this.setAriaDateFormatter(),this.addEventListener(`focusin`,()=>this.previousCommitedValue=this._value),this.addEventListener(`focusout`,()=>this.commitValue())}willUpdate(e){let t=e.has(`value`),n=e.has(`timeZone`),r=e.has(`min`),i=e.has(`max`),o=e.has(`language`),s=e.has(`dateFormat`),c=e.has(`dateSeparator`),l=e.has(`precision`),u=e.has(`segments`),d=e.has(`disabled`);if(o&&this.setNumberParser(),(o||l)&&(this.setDateFormatter(),this.setAriaDateFormatter()),t||r||i||n){this._value=this.value?(0,p.parseAbsolute)(new Date(this.value).toISOString(),`UTC`):void 0,this._min=this.min?(0,p.parseAbsolute)(new Date(this.min).toISOString(),`UTC`):void 0,this._max=this.max?(0,p.parseAbsolute)(new Date(this.max).toISOString(),`UTC`):void 0;let e=this.mostSpecificDateValue;e&&(this.convertDatePropsToMatch(e),this.checkDatePropsCompliance(r||i),this.updateDateProps(),this.updateDefaultPrecision())}(t||o||l||s||n||c)&&this.setSegments(),u&&this.setValueFromSegments(),d&&this.isCalendarOpen&&(this.isCalendarOpen=!1);let f=this._value&&this.labels.selected+`: `+this.ariaDateFormatter.format(a.s(this._value));this.setAttribute(`aria-label`,f??this.labels.empty)}get mostSpecificDateValue(){let e=[this._value,this._min,this._max].filter(e=>e!==void 0);if(e.length===0)return;let t=e.filter(e=>a.d(e));if(t.length>0)return t[0];let n=e.filter(e=>a.u(e));return n.length>0?n[0]:e.find(e=>a.l(e))}convertDatePropsToMatch(e){if(a.d(e)){this._timeZone=this.timeZone??e.timeZone,this._value=this._value&&(0,p.toZoned)(this._value,this._timeZone),this._min=this._min&&(0,p.toZoned)(this._min,this._timeZone),this._max=this._max&&(0,p.toZoned)(this._max,this._timeZone);return}if(this._timeZone=this.timeZone??(0,p.getLocalTimeZone)(),a.u(e)){this._value=this._value&&(0,p.toCalendarDateTime)(this._value),this._min=this._min&&(0,p.toCalendarDateTime)(this._min),this._max=this._max&&(0,p.toCalendarDateTime)(this._max);return}this._value=this._value&&(0,p.toCalendarDate)(this._value),this._min=this._min&&(0,p.toCalendarDate)(this._min),this._max=this._max&&(0,p.toCalendarDate)(this._max)}checkDatePropsCompliance(e){e&&this._min&&this._max&&(this._min.compare(this._max)<0||(console.warn(this,`<${this.localName}> expects the 'min' to be less than 'max'. Please ensure that 'min' property's date is earlier than 'max' property's date.`),this._min=void 0,this._max=void 0)),this.isNonCompliantValue()&&(console.warn(this,`<${this.localName}> expects the preselected value to comply with the min and max constraints. Please ensure that 'value' property's date is in between the dates for the 'min' and 'max' properties.`),this._value=void 0),!this._min&&!this._max&&!this._value&&(this._timeZone=(0,p.getLocalTimeZone)())}isNonCompliantValue(){return this._value!==void 0&&!!(this._min&&this._value.compare(this._min)<0||this._max&&this._value.compare(this._max)>0)}updateDateProps(){let e=this.mostSpecificDateValue;!e||!this.isUserSetPrecision||this.includesTime&&a.l(e)&&this.convertDatePropsToMatch((0,p.toCalendarDateTime)(e))}updateDefaultPrecision(){if(this.isUserSetPrecision)return;let e=this.mostSpecificDateValue;e&&(this._precision=a.l(e)?a.f.Day:a.f.Minute)}render(){return o.html`
19
+ <div id="text-field">
20
+ ${this.renderStateIcons()} ${this.renderInputContent()}
21
+ </div>
22
+ ${this.renderHelpText(this.invalid)}${this.renderPicker()}
23
+ `}renderStateIcons(){return this.invalid?o.html`
24
+ <luzmo-icon
25
+ .icon=${c.luzmoAlert}
26
+ .size=${this.size}
27
+ id="invalid"
28
+ class="icon"
29
+ ></luzmo-icon>
30
+ `:o.nothing}renderPicker(){return this.readonly?o.nothing:o.html`
31
+ <luzmo-picker-button
32
+ ?open=${this.isCalendarOpen}
33
+ ?quiet=${this.quiet}
34
+ ?invalid=${this.invalid}
35
+ ?disabled=${this.disabled}
36
+ .size=${this.size}
37
+ @click=${()=>this.isCalendarOpen=!0}
38
+ label=${this.labels.calendar}
39
+ >
40
+ <slot name="calendar-icon" slot="icon">
41
+ <luzmo-icon
42
+ .icon=${c.luzmoCalendar}
43
+ .size=${this.size}
44
+ block
45
+ ></luzmo-icon>
46
+ </slot>
47
+ </luzmo-picker-button>
48
+
49
+ <luzmo-overlay
50
+ .triggerElement=${this.input}
51
+ type="modal"
52
+ placement=${this.placement??`bottom`}
53
+ offset="0"
54
+ ?open=${this.isCalendarOpen}
55
+ @luzmo-closed=${()=>this.isCalendarOpen=!1}
56
+ >
57
+ <luzmo-popover>
58
+ <div class="popover-content">
59
+ <luzmo-calendar
60
+ .value=${this._value?this._value.toString().slice(0,10):void 0}
61
+ .min=${this._min?this._min.toString():void 0}
62
+ .max=${this._max?this._max.toString():void 0}
63
+ .labels=${this.labels}
64
+ .size=${this.size}
65
+ .language=${this.language}
66
+ @change=${this.handleChange}
67
+ ></luzmo-calendar>
68
+ </div>
69
+ </luzmo-popover>
70
+ </luzmo-overlay>
71
+ `}handleChange(e){e.stopPropagation(),this.isCalendarOpen=!1,e.target?.value&&(this.value=e.target?.value);let t=(0,p.parseDate)(e.target?.value??``);if(this.includesTime){let e=new p.Time(this.segments.hour?.value??0,this.segments.minute?.value??0,this.segments.second?.value??0,this.segments.millisecond?.value??0),n=this.mostSpecificDateValue;this._value=(0,p.toCalendarDateTime)(t,e),n&&a.d(n)&&(this._value=(0,p.toZoned)(this._value,this._timeZone))}else this._value=t;this.commitValue()}renderInputContent(){return o.html`
72
+ <div class="input">
73
+ <span
74
+ class="input-content"
75
+ @focusin=${()=>this.focused=!this.readonly}
76
+ @focusout=${()=>this.focused=!1}
77
+ @keydown=${this.handleKeydown}
78
+ @input=${this.handleInput}
79
+ >
80
+ ${this.renderSegments()}
81
+ </span>
82
+ </div>
83
+ `}renderSegments(){return this.segments.all.map(e=>(0,l.when)(e.type===a.p.Literal,()=>this.renderLiteralSegment(e),()=>this.renderEditableSegment(e)))}renderLiteralSegment(e){return o.html`
84
+ <span
85
+ class="literal-segment"
86
+ data-test-id=${e.type}
87
+ aria-hidden="true"
88
+ >${e.formatted}</span>
89
+ `}renderEditableSegment(e){let t=!this.disabled&&!this.readonly,n=e.value===void 0,r=e.type===a.p.DayPeriod?`text`:`numeric`,i={"editable-segment":!0,"is-placeholder":n},s=e.type!==a.p.Year&&String(e.maxValue).length>0,c={minWidth:s?`${s}ch`:void 0};return o.html`
90
+ <div
91
+ role="spinbutton"
92
+ aria-valuenow=${(0,u.ifDefined)(e.value)}
93
+ aria-valuemin=${e.minValue}
94
+ aria-valuemax=${e.maxValue}
95
+ aria-label=${e.label}
96
+ aria-valuetext=${(0,u.ifDefined)(e.value===void 0?this.labels.empty:e.formatted)}
97
+ contenteditable=${(0,u.ifDefined)(t?!0:void 0)}
98
+ inputmode=${(0,u.ifDefined)(t?r:void 0)}
99
+ tabindex=${(0,u.ifDefined)(t?`0`:void 0)}
100
+ class=${(0,d.classMap)(i)}
101
+ style=${(0,f.styleMap)(c)}
102
+ data-type=${e.type}
103
+ .innerText=${this.renderSegmentText(e)}
104
+ ></div>
105
+ `}renderSegmentText(e){return(0,l.when)(e.value===void 0,()=>e.placeholder??``,()=>e.formatted??``)}handleKeydown(e){let t=e.target,n=t.dataset.type;if(n)switch(e.code){case`ArrowUp`:this.incrementValue(n);break;case`ArrowDown`:this.decrementValue(n);break;case`ArrowRight`:this.focusSegment(t,`next`);break;case`ArrowLeft`:this.focusSegment(t,`previous`);break;case`Enter`:case`Space`:this.commitValue();break;case`Backspace`:case`Delete`:e.preventDefault(),this.segments.getByType(n)?.value===void 0?this.focusSegment(t,`previous`):this.clearSegmentContent(n);break}}get modifierParams(){return{dateFormatter:this.dateFormatter,segments:this.segments,currentDate:this.currentDate}}incrementValue(e){let t=new a.r(this.modifierParams);this.segments=t.modify(e),this.dispatchInput()}decrementValue(e){let t=new a.i(this.modifierParams);this.segments=t.modify(e),this.dispatchInput()}focusSegment(e,t){let n=!1,r=e;for(;!n;){let e=t===`previous`?r.previousElementSibling:r.nextElementSibling;if(!e)break;e.getAttribute(`contenteditable`)&&(e.focus(),n=!0),r=e}}commitValue(){if(!(this._value&&this.previousCommitedValue&&this._value.compare(this.previousCommitedValue)===0)){if(this._value===void 0&&this.previousCommitedValue===void 0){let e=this.segments.editableValues.every(e=>e===void 0);this.invalid=!e;return}this.invalid=!!(this._value===void 0||this.isNonCompliantValue()),this.previousCommitedValue=this._value,this.dispatchChange()}}clearSegmentContent(e){let t=this.segments.editableValues,n=new a.a(this.modifierParams);this.segments=n.modify(e);let r=this.segments.editableValues;a.c(t,r)||this.dispatchInput()}handleInput(e){e.stopPropagation();let t=e.target.dataset.type,n=this.segments.editableValues,r=new a.n({...this.modifierParams,eventData:e.data,numberParser:this.numberParser});this.segments=r.modify(t),this.updateSegmentContent(this.segments.getByType(t),e.target);let i=this.segments.editableValues;a.c(n,i)||this.dispatchInput()}updateSegmentContent(e,t){t.textContent=e.value===void 0?e.placeholder:e.formatted}createOutputString(e){return e?a.d(e)?this._value.toAbsoluteString():new Date(this._value.toString()).toISOString():``}dispatchChange(){let e=this.createOutputString(this._value);this.dispatchEvent(new CustomEvent(`change`,{bubbles:!0,composed:!0,cancelable:!0,detail:{value:e}}))}dispatchInput(){let e=this.createOutputString(this._value);this.dispatchEvent(new CustomEvent(`input`,{bubbles:!0,composed:!0,cancelable:!0,detail:{value:e}}))}setValueFromSegments(){let e=this.segments.getFormattedDate(this.precision);if(!e){this._value&&this.dispatchChange(),this._value=void 0;return}this._value===void 0&&this.dispatchChange();let t=this.mostSpecificDateValue;t?a.d(t)?this._value=(0,p.toZoned)(e,this._timeZone):a.u(t)?this._value=(0,p.toCalendarDateTime)(e):this._value=(0,p.toCalendarDate)(e):this._value=e}setSegments(){let e=new a.t(this.dateFormatter).createSegments(this.currentDate,this._value!==void 0);if(this.dateFormat){let t=e.all.findIndex(e=>e.type===a.p.Month),n=e.all.findIndex(e=>e.type===a.p.Day);if(t!==-1&&n!==-1){if(this.dateFormat===`mmdd`&&t>n){let r=e.all[t];e.all[t]=e.all[n],e.all[n]=r}else if(this.dateFormat===`ddmm`&&n>t){let r=e.all[n];e.all[n]=e.all[t],e.all[t]=r}}}typeof this.dateSeparator==`string`&&this.dateSeparator&&(e.all?.[1]?.type===a.p.Literal&&(e.all[1].formatted=this.dateSeparator),e.all?.[3]?.type===a.p.Literal&&(e.all[3].formatted=this.dateSeparator)),this.segments=e}setNumberParser(){this.numberParser=new m.NumberParser(this._language,{maximumFractionDigits:0})}setDateFormatter(){this.dateFormatter=new p.DateFormatter(this._language,{day:`2-digit`,month:`2-digit`,year:`numeric`,...this.getTimeOptions(`2-digit`)})}setAriaDateFormatter(){this.ariaDateFormatter=new p.DateFormatter(this._language,{day:`numeric`,month:`long`,year:`numeric`,...this.getTimeOptions(`numeric`)})}getTimeOptions(e){switch(this.precision){case a.f.Millisecond:return{hour:e,minute:e,second:e,fractionalSecondDigits:3};case a.f.Second:return{hour:e,minute:e,second:e};case a.f.Minute:return{hour:e,minute:e};case a.f.Hour:return{hour:e};default:return{}}}};e.t([(0,s.property)({type:String,reflect:!0})],g.prototype,`value`,void 0),e.t([(0,s.property)({type:String,reflect:!0})],g.prototype,`min`,void 0),e.t([(0,s.property)({type:String,reflect:!0})],g.prototype,`max`,void 0),e.t([(0,s.property)({type:String,attribute:`date-format`,reflect:!0})],g.prototype,`dateFormat`,void 0),e.t([(0,s.property)({type:String,attribute:`date-separator`,reflect:!0})],g.prototype,`dateSeparator`,void 0),e.t([(0,s.property)({type:String,reflect:!0})],g.prototype,`precision`,null),e.t([(0,s.property)({type:Boolean,reflect:!0})],g.prototype,`invalid`,void 0),e.t([(0,s.property)({type:Boolean,reflect:!0})],g.prototype,`readonly`,void 0),e.t([(0,s.property)({type:Boolean,reflect:!0})],g.prototype,`quiet`,void 0),e.t([(0,s.property)({type:String,reflect:!0})],g.prototype,`placement`,void 0),e.t([(0,s.property)({type:String,attribute:`time-zone`,reflect:!0})],g.prototype,`timeZone`,void 0),e.t([(0,s.property)({type:String,reflect:!0})],g.prototype,`language`,void 0),e.t([(0,s.property)({attribute:!1})],g.prototype,`labels`,void 0),e.t([(0,s.property)({type:Boolean,reflect:!0})],g.prototype,`focused`,void 0),e.t([(0,s.state)()],g.prototype,`_value`,void 0),e.t([(0,s.state)()],g.prototype,`_min`,void 0),e.t([(0,s.state)()],g.prototype,`_max`,void 0),e.t([(0,s.state)()],g.prototype,`segments`,void 0),e.t([(0,s.state)()],g.prototype,`isCalendarOpen`,void 0),e.t([(0,s.query)(`.editable-segment`)],g.prototype,`firstEditableSegment`,void 0),e.t([(0,s.query)(`.input`)],g.prototype,`input`,void 0),customElements.get(`luzmo-date-time-picker`)||customElements.define(`luzmo-date-time-picker`,g),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return g}});
@@ -80,7 +80,7 @@ function a(e) {
80
80
  }
81
81
  var o = class extends a(e) {};
82
82
  //#endregion
83
- //#region \0@oxc-project+runtime@0.126.0/helpers/decorate.js
83
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/decorate.js
84
84
  function s(e, t, n, r) {
85
85
  var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
86
86
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
@@ -0,0 +1,18 @@
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
+ let e=require("lit");var t=new Set,n=()=>{if(typeof document>`u`)return;let e=document.documentElement.dir===`rtl`?document.documentElement.dir:`ltr`;t.forEach(t=>{t.setAttribute(`dir`,e)})},r=null;typeof document<`u`&&(r=new MutationObserver(n),r.observe(document.documentElement,{attributes:!0,attributeFilter:[`dir`]}));var i=e=>e.startManagingContentDirection!==void 0||e.tagName===`LUZMO-THEME`;function a(e){class n extends e{get isLTR(){return this.dir===`ltr`}hasVisibleFocusInTree(){if(typeof document>`u`)return!1;let e=((e=document)=>{let t=e.activeElement;for(;t?.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;let n=t?[t]:[];for(;t;){let e=t.assignedSlot||t.parentElement||t.getRootNode()?.host;e&&n.push(e),t=e}return n})(this.getRootNode())[0];if(!e)return!1;try{return e.matches(`:focus-visible`)||e.matches(`.focus-visible`)}catch{return e.matches(`.focus-visible`)}}connectedCallback(){if(typeof document>`u`){super.connectedCallback();return}if(!this.hasAttribute(`dir`)){let e=this.assignedSlot||this.parentNode;for(;e!==document?.documentElement&&!i(e);)e=e.assignedSlot||e.parentNode||e.host;if(this.dir=e.dir===`rtl`?e.dir:this.dir||`ltr`,e===document?.documentElement)t.add(this);else{let{localName:t}=e;t.search(`-`)>-1&&typeof customElements<`u`&&!customElements.get(t)?customElements.whenDefined(t).then(()=>{e.startManagingContentDirection(this)}):e.startManagingContentDirection(this)}this._dirParent=e}super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._dirParent&&(this._dirParent===document?.documentElement?t.delete(this):typeof this._dirParent.stopManagingContentDirection==`function`&&this._dirParent.stopManagingContentDirection(this),this.removeAttribute(`dir`))}}return n}var o=class extends a(e.LitElement){};function s(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
@@ -15,4 +15,4 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- var e=Symbol(`dependency manager loaded`),t=class{get loaded(){return this._loaded}set loaded(t){t!==this.loaded&&(this._loaded=t,this.host.requestUpdate(e,!this.loaded))}constructor(e){this.dependencies={},this._loaded=!1,this.host=e}add(e,t){let n=!!t||typeof customElements<`u`&&!!customElements.get(e)||this.dependencies[e];!n&&typeof customElements<`u`&&customElements.whenDefined(e).then(()=>{this.add(e,!0)}),this.dependencies={...this.dependencies,[e]:n},this.loaded=Object.values(this.dependencies).every(Boolean)}};Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return t}});
18
+ var e=Symbol(`dependency manager loaded`),t=class{get loaded(){return this._loaded}set loaded(t){t!==this.loaded&&(this._loaded=t,this.host.requestUpdate(e,!this.loaded))}constructor(e){this.dependencies={},this._loaded=!1,this.host=e}add(e,t){let n=!!t||typeof customElements<`u`&&!!customElements.get(e)||this.dependencies[e];!n&&typeof customElements<`u`&&customElements.whenDefined(e).then(()=>{this.add(e,!0)}),this.dependencies={...this.dependencies,[e]:n},this.loaded=Object.values(this.dependencies).every(Boolean)}};Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return t}});
@@ -15,4 +15,4 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../divider-Dn8XqbB6.cjs`);exports.LuzmoDivider=e.t;
18
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../divider-wana0uPI.cjs");exports.LuzmoDivider=e.t;
@@ -21,5 +21,5 @@
21
21
  e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), black 45%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), black 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-primary: #4434ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), black 20%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5%);--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 7%), black 1%);--luzmo-background-color-focus: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5%);--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 20%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-secondary: #d000d0;--luzmo-secondary-hover: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-down: color-mix(in oklch, var(--luzmo-secondary), black 20%);--luzmo-secondary-focus: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 208, 0, 208;--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba( var(--luzmo-border-color-rgb), 0.4 );--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-width: thin;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), black 20%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-negative-inverse-color: #ffffff;--luzmo-positive-color: rgb(18, 133, 90);--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), black 20%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-rgb: 18, 133, 90;--luzmo-positive-inverse-color: #ffffff;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), black 45%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), black 45%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-informative-color: #1670dd;--luzmo-informative-color-rgb: 22, 112, 221;--luzmo-notice-color: rgb(229, 127, 0);--luzmo-seafoam-color: rgb(0, 140, 140);--luzmo-indigo-color: rgb(68, 52, 255);--luzmo-purple-color: rgb(112, 48, 210);--luzmo-fuchsia-color: rgb(205, 30, 170);--luzmo-magenta-color: rgb(203, 36, 98);--luzmo-yellow-color: rgb(228, 208, 0);--luzmo-gray-color: rgb(110, 110, 110);--luzmo-red-color: rgb(202, 34, 28);--luzmo-orange-color: rgb(218, 123, 17);--luzmo-chartreuse-color: rgb(85, 135, 0);--luzmo-celery-color: rgb(48, 134, 22);--luzmo-green-color: rgb(18, 133, 90);--luzmo-cyan-color: rgb(0, 134, 180);--luzmo-blue-color: rgb(22, 112, 221);--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 10px;--luzmo-icon-size-xs: 12px;--luzmo-icon-size-s: 14px;--luzmo-icon-size-m: 16px;--luzmo-icon-size-l: 18px;--luzmo-icon-size-xl: 20px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
22
22
  }
23
23
  })();
24
- import { t as e } from "../divider-cU0lVwOp.js";
24
+ import { t as e } from "../divider-CGbT-CL8.js";
25
25
  export { e as LuzmoDivider };
@@ -15,9 +15,9 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
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 "./divider.module-C65RfSUa.js";
18
+ import { n as e, t } from "./decorate-CkCg3wfh.js";
19
+ import { n } from "./sized-mixin-DzQTebN-.js";
20
+ import { t as r } from "./divider.module-CPEKsaqR.js";
21
21
  import { html as i, unsafeCSS as a } from "lit";
22
22
  import { property as o } from "lit/decorators.js";
23
23
  //#region src/components/divider/divider.ts
@@ -0,0 +1,18 @@
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
+ const e=require("./decorate-Dq34MBGe.cjs"),t=require("./sized-mixin-BT7cv-fT.cjs"),n=require("./divider.module-BV6tmpOY.cjs");let r=require("lit"),i=require("lit/decorators.js");var a=class extends t.n(e.n,{validSizes:[`s`,`m`,`l`],noDefaultSize:!0}){constructor(...e){super(...e),this.vertical=!1}static{this.styles=[(0,r.unsafeCSS)(n.t)]}render(){return r.html``}firstUpdated(e){super.firstUpdated(e),this.setAttribute(`role`,`separator`)}updated(e){super.updated(e),e.has(`vertical`)&&(this.vertical?this.setAttribute(`aria-orientation`,`vertical`):this.removeAttribute(`aria-orientation`))}};e.t([(0,i.property)({type:Boolean,reflect:!0})],a.prototype,`vertical`,void 0),e.t([(0,i.property)({type:String,reflect:!0,attribute:`static-color`})],a.prototype,`staticColor`,void 0),customElements.get(`luzmo-divider`)||customElements.define(`luzmo-divider`,a),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return a}});
@@ -15,4 +15,4 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- var e=`@media (forced-colors:active){:host{background-color:canvastext!important}}:host{block-size:var(--luzmo-divider-thickness,var(--divider-thickness));border-radius:var(--luzmo-divider-thickness,var(--divider-thickness));background-color:var(--luzmo-divider-background-color,var(--divider-background-color));inline-size:100%;overflow:visible;border:none!important;border-width:var(--luzmo-divider-thickness,var(--divider-thickness))!important}:host([size=s]){--divider-thickness:var(--divider-thickness-small,var(--luzmo-border-width));--divider-background-color:var(--divider-background-color-small)}:host,:host{--divider-thickness:var(--divider-thickness-medium,var(--luzmo-border-width));--divider-background-color:var(--divider-background-color-medium)}:host([size=l]){--divider-thickness:var(--divider-thickness-large,var(--luzmo-border-width));--divider-background-color:var(--divider-background-color-large)}:host([static-color=white][size=s]){--divider-background-color:var(--luzmo-divider-background-color-small-static-white,var(--divider-background-color-small-static-white))}:host([static-color=white]){--divider-background-color:var(--luzmo-divider-background-color-medium-static-white,var(--divider-background-color-medium-static-white))}:host([static-color=white][size=l]){--divider-background-color:var(--luzmo-divider-background-color-large-static-white,var(--divider-background-color-large-static-white))}:host([static-color=black][size=s]){--divider-background-color:var(--luzmo-divider-background-color-small-static-black,var(--divider-background-color-small-static-black))}:host([static-color=black]){--divider-background-color:var(--luzmo-divider-background-color-medium-static-black,var(--divider-background-color-medium-static-black))}:host([static-color=black][size=l]){--divider-background-color:var(--luzmo-divider-background-color-large-static-black,var(--divider-background-color-large-static-black))}:host([vertical]){inline-size:var(--luzmo-divider-thickness,var(--divider-thickness,var(--luzmo-border-width)));margin-block:var(--luzmo-divider-vertical-margin);block-size:100%;block-size:var(--luzmo-divider-vertical-height,100%);align-self:var(--luzmo-divider-vertical-align)}:host{--divider-background-color-small:#d5d5d5;--divider-background-color-medium:#d5d5d5;--divider-background-color-large:#d5d5d5;--divider-background-color-small-static-white:#ffffff40;--divider-background-color-medium-static-white:#ffffff40;--divider-background-color-large-static-white:#ffffffe6;--divider-background-color-small-static-black:#00000040;--divider-background-color-medium-static-black:#00000040;--divider-background-color-large-static-black:#000000e6;display:block}hr{border:none;margin:0}`;Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
18
+ Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return`@media (forced-colors:active){:host{background-color:canvastext!important}}:host{block-size:var(--luzmo-divider-thickness,var(--divider-thickness));border-radius:var(--luzmo-divider-thickness,var(--divider-thickness));background-color:var(--luzmo-divider-background-color,var(--divider-background-color));inline-size:100%;overflow:visible;border:none!important;border-width:var(--luzmo-divider-thickness,var(--divider-thickness))!important}:host([size=s]){--divider-thickness:var(--divider-thickness-small,var(--luzmo-border-width));--divider-background-color:var(--divider-background-color-small)}:host,:host{--divider-thickness:var(--divider-thickness-medium,var(--luzmo-border-width));--divider-background-color:var(--divider-background-color-medium)}:host([size=l]){--divider-thickness:var(--divider-thickness-large,var(--luzmo-border-width));--divider-background-color:var(--divider-background-color-large)}:host([static-color=white][size=s]){--divider-background-color:var(--luzmo-divider-background-color-small-static-white,var(--divider-background-color-small-static-white))}:host([static-color=white]){--divider-background-color:var(--luzmo-divider-background-color-medium-static-white,var(--divider-background-color-medium-static-white))}:host([static-color=white][size=l]){--divider-background-color:var(--luzmo-divider-background-color-large-static-white,var(--divider-background-color-large-static-white))}:host([static-color=black][size=s]){--divider-background-color:var(--luzmo-divider-background-color-small-static-black,var(--divider-background-color-small-static-black))}:host([static-color=black]){--divider-background-color:var(--luzmo-divider-background-color-medium-static-black,var(--divider-background-color-medium-static-black))}:host([static-color=black][size=l]){--divider-background-color:var(--luzmo-divider-background-color-large-static-black,var(--divider-background-color-large-static-black))}:host([vertical]){inline-size:var(--luzmo-divider-thickness,var(--divider-thickness,var(--luzmo-border-width)));margin-block:var(--luzmo-divider-vertical-margin);block-size:100%;block-size:var(--luzmo-divider-vertical-height,100%);align-self:var(--luzmo-divider-vertical-align)}:host{--divider-background-color-small:#d5d5d5;--divider-background-color-medium:#d5d5d5;--divider-background-color-large:#d5d5d5;--divider-background-color-small-static-white:#ffffff40;--divider-background-color-medium-static-white:#ffffff40;--divider-background-color-large-static-white:#ffffffe6;--divider-background-color-small-static-black:#00000040;--divider-background-color-medium-static-black:#00000040;--divider-background-color-large-static-black:#000000e6;display:block}hr{border:none;margin:0}`}});
@@ -15,4 +15,4 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- var e=Symbol(`element resolver updated`),t=class{get element(){return this._element}set element(t){if(t===this.element)return;let n=this.element;this._element=t,this.host.requestUpdate(e,n)}get selector(){return this._selector}set selector(e){e!==this.selector&&(this.releaseElement(),this._selector=e,this.resolveElement())}get selectorAsId(){return this.selector.slice(1)}get selectorIsId(){return!!this.selector&&this.selector.startsWith(`#`)}constructor(e,{selector:t}={selector:``}){this._element=null,this._selector=``,this.mutationCallback=e=>{let t=!1;e.forEach(e=>{if(!t){if(e.type===`childList`){let n=this.element&&[...e.removedNodes].includes(this.element),r=!!this.selector&&[...e.addedNodes].some(e=>this.elementIsSelected(e));t=t||n||r}if(e.type===`attributes`){let n=e.target===this.element,r=!!this.selector&&this.elementIsSelected(e.target);t=t||n||r}}}),t&&this.resolveElement()},this.elementIsSelected=e=>this.selectorIsId?e?.id===this.selectorAsId:e?.matches?.(this.selector),this.host=e,this.selector=t,this.observer=new MutationObserver(this.mutationCallback),this.host.addController(this)}hostConnected(){this.resolveElement(),this.observer.observe(this.host.getRootNode(),{subtree:!0,childList:!0,attributes:!0})}hostDisconnected(){this.releaseElement(),this.observer.disconnect()}resolveElement(){if(!this.selector){this.releaseElement();return}let e=this.host.getRootNode();this.element=this.selectorIsId?e.getElementById(this.selectorAsId):e.querySelector(this.selector)}releaseElement(){this.element=null}};Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return e}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return t}});
18
+ var e=Symbol(`element resolver updated`),t=class{get element(){return this._element}set element(t){if(t===this.element)return;let n=this.element;this._element=t,this.host.requestUpdate(e,n)}get selector(){return this._selector}set selector(e){e!==this.selector&&(this.releaseElement(),this._selector=e,this.resolveElement())}get selectorAsId(){return this.selector.slice(1)}get selectorIsId(){return!!this.selector&&this.selector.startsWith(`#`)}constructor(e,{selector:t}={selector:``}){this._element=null,this._selector=``,this.mutationCallback=e=>{let t=!1;e.forEach(e=>{if(!t){if(e.type===`childList`){let n=this.element&&[...e.removedNodes].includes(this.element),r=!!this.selector&&[...e.addedNodes].some(e=>this.elementIsSelected(e));t=t||n||r}if(e.type===`attributes`){let n=e.target===this.element,r=!!this.selector&&this.elementIsSelected(e.target);t=t||n||r}}}),t&&this.resolveElement()},this.elementIsSelected=e=>this.selectorIsId?e?.id===this.selectorAsId:e?.matches?.(this.selector),this.host=e,this.selector=t,this.observer=new MutationObserver(this.mutationCallback),this.host.addController(this)}hostConnected(){this.resolveElement(),this.observer.observe(this.host.getRootNode(),{subtree:!0,childList:!0,attributes:!0})}hostDisconnected(){this.releaseElement(),this.observer.disconnect()}resolveElement(){if(!this.selector){this.releaseElement();return}let e=this.host.getRootNode();this.element=this.selectorIsId?e.getElementById(this.selectorAsId):e.querySelector(this.selector)}releaseElement(){this.element=null}};Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return e}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return t}});
@@ -15,4 +15,4 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../field-group-OcI5Lgu7.cjs`);customElements.get(`luzmo-field-group`)||customElements.define(`luzmo-field-group`,e.t),exports.LuzmoFieldGroup=e.t;
18
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../field-group-aWhlzhoj.cjs");customElements.get(`luzmo-field-group`)||customElements.define(`luzmo-field-group`,e.t),exports.LuzmoFieldGroup=e.t;