@luzmo/lucero 1.0.3-alpha.2 → 1.0.3-alpha.20

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 (412) hide show
  1. package/LICENSE +16 -16
  2. package/README.md +0 -4
  3. package/components/accordion/index.cjs +17 -17
  4. package/components/accordion/index.js +18 -18
  5. package/components/{accordion-DC7cjb1c.js → accordion-BDchhAjE.js} +20 -20
  6. package/components/accordion-CW7xAsId.cjs +43 -0
  7. package/components/action-bar/index.cjs +17 -17
  8. package/components/action-bar/index.js +18 -18
  9. package/components/{action-bar-Dn4IDXEF.js → action-bar-Bg4e-l3a.js} +22 -22
  10. package/components/action-bar-DMwIDDPw.cjs +39 -0
  11. package/components/action-button/action-button.d.ts +12 -1
  12. package/components/action-button/index.cjs +17 -17
  13. package/components/action-button/index.d.ts +1 -1
  14. package/components/action-button/index.js +18 -18
  15. package/components/{action-button-BSofLc03.js → action-button-NzV0nn14.js} +25 -25
  16. package/components/action-button-fCvHkuEM.cjs +22 -0
  17. package/components/action-group/index.cjs +17 -17
  18. package/components/action-group/index.js +18 -18
  19. package/components/{action-group-DYKpp-mz.js → action-group-BQ-fyPYS.js} +19 -19
  20. package/components/action-group-D1G30Iir.cjs +20 -0
  21. package/components/action-menu/index.cjs +17 -17
  22. package/components/action-menu/index.js +18 -18
  23. package/components/{action-menu-C04EVpwz.js → action-menu-B4rFNFVf.js} +24 -24
  24. package/components/{action-menu-NSNMnYa0.cjs → action-menu-BBubpnCw.cjs} +18 -18
  25. package/components/avatar/avatar.d.ts +17 -1
  26. package/components/avatar/index.cjs +17 -17
  27. package/components/avatar/index.js +18 -18
  28. package/components/avatar-BA5FPKYf.cjs +34 -0
  29. package/components/avatar-Nb0368Wi.js +98 -0
  30. package/components/badge/badge.d.ts +1 -1
  31. package/components/badge/index.cjs +17 -17
  32. package/components/badge/index.js +18 -18
  33. package/components/badge-6_IAkej3.cjs +23 -0
  34. package/components/badge-CKqoYhAy.js +94 -0
  35. package/components/button/button-base.d.ts +1 -0
  36. package/components/button/button.d.ts +1 -2
  37. package/components/button/index.cjs +17 -17
  38. package/components/button/index.js +19 -19
  39. package/components/button-BeF6gpKm.cjs +20 -0
  40. package/components/{button-base-CzTYjZND.js → button-base-Cr7Ri4lG.js} +42 -28
  41. package/components/{button-base-Dj2qQqwO.cjs → button-base-DC6VHp5W.cjs} +19 -19
  42. package/components/button-group/index.cjs +17 -17
  43. package/components/button-group/index.js +18 -18
  44. package/components/button-group-6M8M-TUI.cjs +18 -0
  45. package/components/{button-group-BiQxYcQ2.js → button-group-DaANSInm.js} +18 -18
  46. package/components/{button-BQlc1FVG.js → button-yeMxaZCR.js} +23 -22
  47. package/components/calendar/index.cjs +17 -17
  48. package/components/calendar/index.js +18 -18
  49. package/components/{calendar-CFIH72Za.js → calendar-BPnO-Ai8.js} +20 -20
  50. package/components/calendar-CCY5YDpD.cjs +142 -0
  51. package/components/chat-message/index.cjs +17 -17
  52. package/components/chat-message/index.js +18 -18
  53. package/components/{chat-message-DJgocVNj.js → chat-message-BDTAV-Ph.js} +695 -517
  54. package/components/chat-message-SBnm0ITB.cjs +150 -0
  55. package/components/chat-message-group/index.cjs +17 -17
  56. package/components/chat-message-group/index.js +18 -18
  57. package/components/chat-message-group-CzCwyW7F.cjs +24 -0
  58. package/components/{chat-message-group-B4U2MzHx.js → chat-message-group-D7vdn2gG.js} +18 -18
  59. package/components/checkbox/checkbox.d.ts +8 -1
  60. package/components/checkbox/index.cjs +17 -17
  61. package/components/checkbox/index.js +18 -18
  62. package/components/{checkbox-CPS-tR_i.js → checkbox-6YzkdHR4.js} +25 -21
  63. package/components/checkbox-DdatW4xE.cjs +25 -0
  64. package/components/{checkbox-mixin-C5sLMo5L.js → checkbox-mixin-jqmrh48O.js} +18 -18
  65. package/components/{checkbox-mixin-D4HeLrMj.cjs → checkbox-mixin-rFRXqyrK.cjs} +19 -19
  66. package/components/{close-button-MgaJT7yO.js → close-button-LSSbv5ia.js} +20 -20
  67. package/components/close-button-hePosu7B.cjs +18 -0
  68. package/components/color-area/color-area.d.ts +7 -0
  69. package/components/color-area/index.cjs +17 -17
  70. package/components/color-area/index.js +18 -18
  71. package/components/color-area-B5OHLqtm.cjs +80 -0
  72. package/components/{color-area-DViRjuKo.js → color-area-CAM3uysY.js} +30 -28
  73. package/components/color-controller-DZe3_BMD.cjs +18 -0
  74. package/components/{color-controller-G2_v2xSl.js → color-controller-Rg_Zl0sT.js} +16 -16
  75. package/components/color-field/index.cjs +17 -17
  76. package/components/color-field/index.js +18 -18
  77. package/components/{color-field-CxdIoSq6.js → color-field-BBUgyihj.js} +19 -19
  78. package/components/{color-field-D7_7z2A2.cjs → color-field-BKBpEfot.cjs} +18 -18
  79. package/components/color-handle/index.cjs +17 -17
  80. package/components/color-handle/index.js +18 -18
  81. package/components/color-handle-BwV3Nia5.cjs +24 -0
  82. package/components/{color-handle-BOusOFFx.js → color-handle-DioEcX1V.js} +18 -18
  83. package/components/color-loupe/index.cjs +17 -17
  84. package/components/color-loupe/index.js +18 -18
  85. package/components/color-loupe-C_C2hy-m.cjs +56 -0
  86. package/components/{color-loupe-bEzi2P0y.js → color-loupe-ZcCecT0r.js} +17 -17
  87. package/components/color-menu/index.cjs +17 -17
  88. package/components/color-menu/index.js +18 -18
  89. package/components/{color-menu-Lxc9PTzl.js → color-menu-CZGDEdC4.js} +25 -25
  90. package/components/color-menu-etodAPbs.cjs +89 -0
  91. package/components/color-palette/index.cjs +17 -17
  92. package/components/color-palette/index.js +18 -18
  93. package/components/color-palette-C6G0Tdla.cjs +18 -0
  94. package/components/{color-palette-BAdaNySC.js → color-palette-FQyIMSwP.js} +19 -19
  95. package/components/color-palette-group/index.cjs +17 -17
  96. package/components/color-palette-group/index.js +18 -18
  97. package/components/color-palette-group-B4r4tPfY.cjs +28 -0
  98. package/components/{color-palette-group-D8Mavsd2.js → color-palette-group-o6bnF-Ir.js} +19 -19
  99. package/components/color-picker/index.cjs +17 -17
  100. package/components/color-picker/index.js +18 -18
  101. package/components/{color-picker-DqjfTvYf.js → color-picker-BPHkTsWA.js} +22 -22
  102. package/components/{color-picker-CSWiU-X5.cjs → color-picker-TV7ke61W.cjs} +18 -18
  103. package/components/color-slider/index.cjs +17 -17
  104. package/components/color-slider/index.js +18 -18
  105. package/components/{color-slider-ihAIFt5p.js → color-slider-BZ3G8Zgn.js} +22 -21
  106. package/components/color-slider-CVSEpLOP.cjs +57 -0
  107. package/components/{condition-attribute-with-id-Duo51HZ7.js → condition-attribute-with-id-BdnTdWKz.js} +16 -16
  108. package/components/{condition-attribute-with-id-DauPaLSS.cjs → condition-attribute-with-id-Cw92IbcP.cjs} +17 -17
  109. package/components/date-range-picker/index.cjs +17 -17
  110. package/components/date-range-picker/index.js +18 -18
  111. package/components/{date-range-picker-0s9hOMwi.js → date-range-picker-DJuCh24v.js} +34 -41
  112. package/components/date-range-picker-Z2Zu2Iji.cjs +180 -0
  113. package/components/date-time-picker/index.cjs +17 -17
  114. package/components/date-time-picker/index.js +18 -18
  115. package/components/date-time-picker-Ch8xgasP.cjs +105 -0
  116. package/components/{date-time-picker-6__gpQQK.js → date-time-picker-D_2YM-f1.js} +28 -28
  117. package/components/{decorate-aGxJUVxg.js → decorate-CkCg3wfh.js} +17 -17
  118. package/components/decorate-Dq34MBGe.cjs +18 -0
  119. package/components/{dependency-manger-CHy9t__e.cjs → dependency-manger-BSaHw9ju.cjs} +17 -17
  120. package/components/{dependency-manger-DMrulWcJ.js → dependency-manger-wHEXoU92.js} +16 -16
  121. package/components/divider/index.cjs +17 -17
  122. package/components/divider/index.js +18 -18
  123. package/components/{divider-cU0lVwOp.js → divider-CGbT-CL8.js} +19 -19
  124. package/components/divider-wana0uPI.cjs +18 -0
  125. package/components/{divider.module-CL60P_z8.cjs → divider.module-BV6tmpOY.cjs} +17 -17
  126. package/components/{divider.module-C65RfSUa.js → divider.module-CPEKsaqR.js} +16 -16
  127. package/components/{element-resolution-C0aiOB0Y.cjs → element-resolution-BjaAlqwX.cjs} +17 -17
  128. package/components/{element-resolution-Bs1x89vU.js → element-resolution-gap51AVo.js} +16 -16
  129. package/components/field-group/index.cjs +17 -17
  130. package/components/field-group/index.js +18 -18
  131. package/components/{field-group-C7ROsWq3.js → field-group-EZzkXa2e.js} +18 -18
  132. package/components/{field-group-OcI5Lgu7.cjs → field-group-aWhlzhoj.cjs} +18 -18
  133. package/components/field-label/index.cjs +17 -17
  134. package/components/field-label/index.js +18 -18
  135. package/components/{field-label-CtGCEmdp.js → field-label-B9S41b7c.js} +21 -21
  136. package/components/field-label-C5vdJ1ys.cjs +25 -0
  137. package/components/focus-group-C8lOjbi9.cjs +18 -0
  138. package/components/{focus-group-BshI1RpM.js → focus-group-DVPa1zxz.js} +17 -17
  139. package/components/{focus-visible-CrooVCUu.js → focus-visible-Bt2uDmuM.js} +18 -18
  140. package/components/focus-visible-eQdwUM9k.cjs +18 -0
  141. package/components/focusable-DTxxQ3yJ.cjs +18 -0
  142. package/components/{focusable-BmS8IzhH.js → focusable-DuP0-Kuy.js} +18 -18
  143. package/components/{focusable-selectors-Bg60_Kra.js → focusable-selectors-BWpiuXz5.js} +16 -16
  144. package/components/{focusable-selectors-5n5liBn0.cjs → focusable-selectors-DJqGLTJo.cjs} +17 -17
  145. package/components/{get-label-from-slot-5vVnfSgN.js → get-label-from-slot-Bo9mqYCZ.js} +16 -16
  146. package/components/{get-label-from-slot-LO_DZP60.cjs → get-label-from-slot-TV4APBYs.cjs} +17 -17
  147. package/components/icon/index.cjs +17 -17
  148. package/components/icon/index.js +18 -18
  149. package/components/icon-CSqR-OOO.cjs +18 -0
  150. package/components/{icon-CwBAE1eU.js → icon-DB1DRieA.js} +21 -18
  151. package/components/index.cjs +17 -17
  152. package/components/index.js +87 -85
  153. package/components/infield-button/index.cjs +17 -17
  154. package/components/infield-button/index.js +18 -18
  155. package/components/infield-button-BH9eZ-wh.cjs +22 -0
  156. package/components/{infield-button-BvKsbtKr.js → infield-button-Be8fAlwl.js} +19 -19
  157. package/components/label/index.cjs +17 -17
  158. package/components/label/index.js +18 -18
  159. package/components/{label-ClJE2esm.js → label-B1HYQ4Pp.js} +17 -17
  160. package/components/label-DPG13Ib0.cjs +18 -0
  161. package/components/{language-resolution-BYemISJC.cjs → language-resolution-BUeKpSce.cjs} +17 -17
  162. package/components/{language-resolution-BpfGTC29.js → language-resolution-DR30FsWE.js} +16 -16
  163. package/components/{like-anchor-BZJXts_H.cjs → like-anchor-BX4PSB3d.cjs} +18 -18
  164. package/components/{like-anchor-DeOXX-MX.js → like-anchor-DXCaEv7O.js} +17 -17
  165. package/components/{manage-help-text-D9VbYRf_.cjs → manage-help-text-D20THJ3U.cjs} +18 -18
  166. package/components/{manage-help-text-CF0xBh0F.js → manage-help-text-DwfUBgHK.js} +18 -18
  167. package/components/menu/index.cjs +17 -17
  168. package/components/menu/index.d.ts +6 -4
  169. package/components/menu/index.js +18 -18
  170. package/components/menu/menu-item.d.ts +15 -1
  171. package/components/menu/menu.d.ts +12 -1
  172. package/components/menu-CANwe_S_.cjs +108 -0
  173. package/components/{menu--ukVtSq7.js → menu-CFuHyNrJ.js} +112 -86
  174. package/components/multi-language-field/index.cjs +17 -17
  175. package/components/multi-language-field/index.js +18 -18
  176. package/components/{multi-language-field-DmoMyCBH.cjs → multi-language-field-CpDYvREK.cjs} +18 -18
  177. package/components/{multi-language-field-BzY75rOY.js → multi-language-field-ccoVXf52.js} +20 -20
  178. package/components/notice/index.cjs +18 -0
  179. package/components/notice/index.d.ts +8 -0
  180. package/components/notice/index.js +25 -0
  181. package/components/notice/notice.d.ts +121 -0
  182. package/components/notice-DM0t8OGE.cjs +60 -0
  183. package/components/notice-Dh4ZSFiD.js +218 -0
  184. package/components/number-field/index.cjs +17 -17
  185. package/components/number-field/index.js +18 -18
  186. package/components/{number-field-DrJURvoW.js → number-field-Bq5UYCe4.js} +23 -23
  187. package/components/number-field-CjqUSR4r.cjs +57 -0
  188. package/components/{observe-slot-presence-BCqd3VSd.js → observe-slot-presence-BKY6n06-.js} +16 -16
  189. package/components/observe-slot-presence-CS8pMePk.cjs +18 -0
  190. package/components/{observe-slot-text-Ddf1OC6F.js → observe-slot-text-97nX6NyX.js} +17 -17
  191. package/components/observe-slot-text-DzUSxLpj.cjs +18 -0
  192. package/components/options/index.cjs +17 -17
  193. package/components/options/index.d.ts +5 -3
  194. package/components/options/index.js +18 -18
  195. package/components/options/option.d.ts +0 -1
  196. package/components/{options-BPNAm4MW.cjs → options-B2n3Z0hu.cjs} +19 -19
  197. package/components/{options-Dz-ejkxF.js → options-Cz3bzQcl.js} +37 -27
  198. package/components/overlay/index.cjs +17 -17
  199. package/components/overlay/index.d.ts +3 -2
  200. package/components/overlay/index.js +20 -20
  201. package/components/overlay/overlay-trigger.d.ts +1 -1
  202. package/components/overlay/placement-controller.d.ts +8 -0
  203. package/components/{overlay-8tN0KPbR.js → overlay-CQGim3da.js} +150 -143
  204. package/components/overlay-CjpXF18_.cjs +47 -0
  205. package/components/{overlay-CMd2Dnpv.cjs → overlay-DPa_xLrt.cjs} +18 -18
  206. package/components/{overlay-CwR_36OV.js → overlay-D_W2gqGD.js} +19 -19
  207. package/components/{pending-state-DFcNf5rd.js → pending-state-BeG7qBDP.js} +17 -17
  208. package/components/{pending-state-DIeF18qg.cjs → pending-state-a527YMWV.cjs} +18 -18
  209. package/components/picker/index.cjs +17 -17
  210. package/components/picker/index.js +18 -18
  211. package/components/picker/picker.d.ts +8 -0
  212. package/components/{picker-agQW7YNo.js → picker-CsdtFxM2.js} +92 -91
  213. package/components/picker-Dlb6GY69.cjs +124 -0
  214. package/components/picker-button/index.cjs +17 -17
  215. package/components/picker-button/index.js +18 -18
  216. package/components/{picker-button-VAxzuhhg.js → picker-button-BJPlw2LD.js} +21 -21
  217. package/components/picker-button-d90ILvsN.cjs +37 -0
  218. package/components/platform-BAjeJp2W.cjs +18 -0
  219. package/components/{platform-D4V_cOJF.js → platform-Ce9pNsR9.js} +18 -18
  220. package/components/popover/index.cjs +17 -17
  221. package/components/popover/index.js +18 -18
  222. package/components/{popover-DyC9xGhX.js → popover-CFawf-z9.js} +19 -19
  223. package/components/popover-R-fdNBvR.cjs +30 -0
  224. package/components/progress-bar/index.cjs +17 -17
  225. package/components/progress-bar/index.js +18 -18
  226. package/components/{progress-bar-DHgFRml1.js → progress-bar-BU_h5i27.js} +19 -19
  227. package/components/progress-bar-DHmthnzp.cjs +31 -0
  228. package/components/progress-circle/index.cjs +17 -17
  229. package/components/progress-circle/index.js +18 -18
  230. package/components/{progress-circle-Cg_ua9Ff.js → progress-circle-BVToDWX8.js} +19 -19
  231. package/components/progress-circle-DyApSKdm.cjs +33 -0
  232. package/components/progress-steps/index.cjs +17 -17
  233. package/components/progress-steps/index.js +18 -18
  234. package/components/{progress-steps-Da8aZWx3.js → progress-steps-9unA0ptN.js} +18 -18
  235. package/components/progress-steps-BgRH7KAn.cjs +96 -0
  236. package/components/prompt-box/controllers/attachments-controller.d.ts +1 -0
  237. package/components/prompt-box/index.cjs +17 -17
  238. package/components/prompt-box/index.d.ts +2 -1
  239. package/components/prompt-box/index.js +19 -19
  240. package/components/prompt-box/prompt-box-templates.d.ts +4 -0
  241. package/components/prompt-box/prompt-box.d.ts +33 -4
  242. package/components/prompt-box/types.d.ts +8 -0
  243. package/components/{prompt-box-BeC7ug1f.js → prompt-box-B5D8JXC5.js} +254 -198
  244. package/components/prompt-box-C6zr6tsk.cjs +314 -0
  245. package/components/question-box/index.cjs +18 -0
  246. package/components/question-box/index.d.ts +11 -0
  247. package/components/question-box/index.js +25 -0
  248. package/components/question-box/question-box-elicitation.d.ts +58 -0
  249. package/components/question-box/question-box-model.d.ts +25 -0
  250. package/components/question-box/question-box-templates.d.ts +65 -0
  251. package/components/question-box/question-box.d.ts +182 -0
  252. package/components/question-box/types.d.ts +124 -0
  253. package/components/question-box-DH5MHYH8.js +1171 -0
  254. package/components/question-box-bSNyfRmw.cjs +401 -0
  255. package/components/radio/index.cjs +17 -17
  256. package/components/radio/index.js +18 -18
  257. package/components/radio/radio-group.d.ts +5 -1
  258. package/components/radio/radio.d.ts +7 -1
  259. package/components/{radio-BzEPGUmQ.js → radio-BRHNAlZa.js} +46 -42
  260. package/components/radio-B_K-hwKG.cjs +22 -0
  261. package/components/{random-id-B51lUxUB.cjs → random-id-BcUJAxUZ.cjs} +17 -17
  262. package/components/{random-id-Dd4boCPV.js → random-id-CiMDyX7v.js} +17 -17
  263. package/components/{chunk-D-qHiVGv.cjs → rolldown-runtime-DWNI8pZO.cjs} +17 -17
  264. package/components/{rolldown-runtime-CAFD8bLK.js → rolldown-runtime-Dy4uBu1J.js} +16 -16
  265. package/components/{roving-tabindex-B7x5ePUB.cjs → roving-tabindex-BoPao4td.cjs} +17 -17
  266. package/components/{roving-tabindex-BP6mQbXf.js → roving-tabindex-pomAn3z-.js} +17 -17
  267. package/components/{scaled-indicator-BoLeYSgL.js → scaled-indicator-C-TupV4L.js} +16 -16
  268. package/components/{scaled-indicator-DF45Sc3W.cjs → scaled-indicator-DLJIztx0.cjs} +18 -18
  269. package/components/search/index.cjs +17 -17
  270. package/components/search/index.js +18 -18
  271. package/components/search/search.d.ts +1 -0
  272. package/components/search-BBl2dsHy.cjs +47 -0
  273. package/components/{search-DUBf5t9V.js → search-DXscuR-a.js} +44 -38
  274. package/components/{segments-factory-D0IveW-q.js → segments-factory-BCRi1NKb.js} +16 -16
  275. package/components/segments-factory-DtPyN5sh.cjs +18 -0
  276. package/components/select/index.cjs +17 -17
  277. package/components/select/index.js +18 -18
  278. package/components/select/select.d.ts +10 -3
  279. package/components/{select-DPeI0jP9.js → select-DZFvhLsJ.js} +54 -40
  280. package/components/select-DuWhvQ-k.cjs +158 -0
  281. package/components/sized-mixin-BT7cv-fT.cjs +18 -0
  282. package/components/{sized-mixin-DaBoZkVS.js → sized-mixin-DzQTebN-.js} +17 -17
  283. package/components/skeleton-loader/index.cjs +17 -17
  284. package/components/skeleton-loader/index.js +18 -18
  285. package/components/{skeleton-loader-C1XG3m_u.js → skeleton-loader-C0LH3prK.js} +17 -17
  286. package/components/skeleton-loader-Cm50Ztzk.cjs +18 -0
  287. package/components/slider/index.cjs +17 -17
  288. package/components/slider/index.js +18 -18
  289. package/components/{slider-3QBnq0S8.js → slider-BLaYicz8.js} +18 -18
  290. package/components/slider-CfZ2IRgC.cjs +18 -0
  291. package/components/{slottable-request-event-gAcEQan2.cjs → slottable-request-event-C6eb7Ch3.cjs} +17 -17
  292. package/components/{slottable-request-event-DZ2Z_BLk.js → slottable-request-event-MRSZbgTu.js} +16 -16
  293. package/components/status-light/index.cjs +17 -17
  294. package/components/status-light/index.js +18 -18
  295. package/components/{status-light-Bf8jGu4G.js → status-light-BlfBJpqa.js} +18 -18
  296. package/components/status-light-Bu0G8-lH.cjs +21 -0
  297. package/components/strategies-BwNbUXYS.cjs +18 -0
  298. package/components/{strategies-DhxJGIZT.js → strategies-Cl59wdNZ.js} +37 -35
  299. package/components/streaming-listener-Bfyk6Fsx.cjs +18 -0
  300. package/components/{streaming-listener-2NcP7ys7.js → streaming-listener-CtcMpYfS.js} +16 -16
  301. package/components/swatch/index.cjs +17 -17
  302. package/components/swatch/index.js +18 -18
  303. package/components/{swatch-BLuV-hlF.js → swatch-C2ty27bJ.js} +20 -20
  304. package/components/{swatch-G70JUe6I.cjs → swatch-DcUK5qDv.cjs} +18 -18
  305. package/components/switch/index.cjs +17 -17
  306. package/components/switch/index.js +18 -18
  307. package/components/{switch-C5g5t5x2.js → switch-Dyl_B21d.js} +20 -20
  308. package/components/switch-NLIF9Tpk.cjs +22 -0
  309. package/components/tabs/index.cjs +17 -17
  310. package/components/tabs/index.js +18 -18
  311. package/components/{tabs-NAfmrkG9.cjs → tabs-D2VpPBQl.cjs} +18 -18
  312. package/components/{tabs-3Bw_PICo.js → tabs-iDDff0OX.js} +27 -27
  313. package/components/tags/index.cjs +17 -17
  314. package/components/tags/index.js +18 -18
  315. package/components/tags/tag.d.ts +4 -3
  316. package/components/tags-BkGjSc7D.cjs +47 -0
  317. package/components/{tags-DOH-sF2s.js → tags-FChVGpMh.js} +28 -25
  318. package/components/text-field/help-text.d.ts +4 -0
  319. package/components/text-field/index.cjs +17 -17
  320. package/components/text-field/index.js +19 -19
  321. package/components/text-field/text-field.d.ts +9 -0
  322. package/components/text-field-BzZ4jEr6.cjs +21 -0
  323. package/components/{text-field-Cs8HYRYL.js → text-field-C56-sBct.js} +21 -21
  324. package/components/{text-field-FJr8ZUhI.cjs → text-field-COHW36-x.cjs} +18 -18
  325. package/components/{text-field-BoGAvXvh.js → text-field-nBag7DTk.js} +19 -19
  326. package/components/{text-field.module-Btsve-VN.js → text-field.module-BHhBReKL.js} +17 -17
  327. package/components/{text-field.module-D5oDP7MB.cjs → text-field.module-l8CaTCwE.cjs} +17 -17
  328. package/components/toast/index.cjs +17 -17
  329. package/components/toast/index.js +18 -18
  330. package/components/{toast-Bd0fleYT.js → toast-3eJGRjSl.js} +20 -20
  331. package/components/toast-B5vlhIVK.cjs +51 -0
  332. package/components/tooltip/index.cjs +17 -17
  333. package/components/tooltip/index.js +18 -18
  334. package/components/tooltip/tooltip.d.ts +30 -2
  335. package/components/{tooltip-C3O4AQ1l.js → tooltip-Byl1h4nN.js} +43 -28
  336. package/components/tooltip-Sm0pruxL.cjs +45 -0
  337. package/components/top-nav/index.cjs +17 -17
  338. package/components/top-nav/index.js +18 -18
  339. package/components/{top-nav-CMVB3G_v.js → top-nav-D3Iqfth0.js} +22 -22
  340. package/components/top-nav-Dqa5pB4f.cjs +45 -0
  341. package/components/utils.cjs +17 -17
  342. package/components/utils.js +23 -23
  343. package/components/{voice-recorder-BUtmSvPO.cjs → voice-recorder-B1tBrGTV.cjs} +17 -17
  344. package/components/{voice-recorder-477xPHRU.js → voice-recorder-CTg3kRxx.js} +16 -16
  345. package/custom-elements.json +1 -1
  346. package/index.d.ts +2 -0
  347. package/package.json +14 -2
  348. package/utils/button-interaction-controllers/interaction-controller.d.ts +2 -0
  349. package/utils/reactive-controllers/match-media.d.ts +1 -0
  350. package/components/accordion-BHBIfsLU.cjs +0 -43
  351. package/components/action-bar-BSMX042X.cjs +0 -39
  352. package/components/action-button-Cajz7Hgr.cjs +0 -24
  353. package/components/action-group-CH8FTW0i.cjs +0 -20
  354. package/components/avatar-CyY_ZSD0.js +0 -65
  355. package/components/avatar-PulwjkMI.cjs +0 -24
  356. package/components/badge-D1Ry32wi.cjs +0 -23
  357. package/components/badge-D6p2hPj8.js +0 -94
  358. package/components/button-CpaSKGC_.cjs +0 -20
  359. package/components/button-group-DIz5TZvc.cjs +0 -18
  360. package/components/calendar-CY6JMJfi.cjs +0 -142
  361. package/components/chat-message-CNE-mGuP.cjs +0 -149
  362. package/components/chat-message-group-COmhCN-R.cjs +0 -24
  363. package/components/checkbox-DFwDrIdY.cjs +0 -25
  364. package/components/close-button-_EXjp6_m.cjs +0 -18
  365. package/components/color-area-DA3ps2-c.cjs +0 -80
  366. package/components/color-controller-DueaXfnX.cjs +0 -18
  367. package/components/color-handle-Cka48yPY.cjs +0 -24
  368. package/components/color-loupe-DMk8uWZW.cjs +0 -56
  369. package/components/color-menu-DwbTxeqv.cjs +0 -89
  370. package/components/color-palette-349EkPMg.cjs +0 -18
  371. package/components/color-palette-group-BvP09zmT.cjs +0 -28
  372. package/components/color-slider-DxjJ72ue.cjs +0 -57
  373. package/components/date-range-picker-D-jd-to9.cjs +0 -187
  374. package/components/date-time-picker-BMb1clUv.cjs +0 -105
  375. package/components/decorate-B2wePfNm.cjs +0 -18
  376. package/components/divider-Dn8XqbB6.cjs +0 -18
  377. package/components/field-label-BCl6R1uO.cjs +0 -25
  378. package/components/focus-group-SF8Kj7iB.cjs +0 -18
  379. package/components/focus-visible-B0NNezGc.cjs +0 -18
  380. package/components/focusable-CupEoHmn.cjs +0 -18
  381. package/components/icon-B7hKwn_q.cjs +0 -18
  382. package/components/infield-button-D5cuBWE5.cjs +0 -22
  383. package/components/label-CqolZbJo.cjs +0 -18
  384. package/components/menu-DAA51y45.cjs +0 -108
  385. package/components/number-field-BmWODnnR.cjs +0 -57
  386. package/components/observe-slot-presence-Dx8hzNzK.cjs +0 -18
  387. package/components/observe-slot-text-BhTcGuHY.cjs +0 -18
  388. package/components/overlay-DdrfkOry.cjs +0 -47
  389. package/components/picker-C4RVOxLq.cjs +0 -123
  390. package/components/picker-button-adl1JO5u.cjs +0 -37
  391. package/components/platform-B7Sk7Qon.cjs +0 -18
  392. package/components/popover-dgL04x6P.cjs +0 -30
  393. package/components/progress-bar-BR28tISC.cjs +0 -31
  394. package/components/progress-circle-DuzwUiGN.cjs +0 -33
  395. package/components/progress-steps-WriXaZpE.cjs +0 -96
  396. package/components/prompt-box-CfKZ5VQx.cjs +0 -299
  397. package/components/radio-d-2GUbYE.cjs +0 -22
  398. package/components/search-CJtgI88g.cjs +0 -45
  399. package/components/segments-factory-CHo9oQw7.cjs +0 -18
  400. package/components/select--vrG59GQ.cjs +0 -158
  401. package/components/sized-mixin-StFA4y0J.cjs +0 -18
  402. package/components/skeleton-loader-B8NgELvX.cjs +0 -18
  403. package/components/slider-uXRKcOz5.cjs +0 -18
  404. package/components/status-light-CBaAFRUc.cjs +0 -21
  405. package/components/strategies-kuvLVIKO.cjs +0 -18
  406. package/components/streaming-listener-BnDW38lt.cjs +0 -18
  407. package/components/switch-COhz9ka9.cjs +0 -22
  408. package/components/tags-CTs77FhK.cjs +0 -47
  409. package/components/text-field-A4Obzs4l.cjs +0 -21
  410. package/components/toast-NZ0Z1lz9.cjs +0 -51
  411. package/components/tooltip-DY1trLtg.cjs +0 -45
  412. package/components/top-nav-bekRXHUk.cjs +0 -45
@@ -1,25 +1,25 @@
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.
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
17
  * */
18
18
  (() => {
19
19
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
20
20
  let e = document.createElement("style");
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 25%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 45%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 25%);--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);
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-accent-on-subtle-color: var(--luzmo-primary);--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-on-subtle-color: var(--luzmo-negative-color);--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-on-subtle-color: color-mix( in oklch, var(--luzmo-positive-color), var(--luzmo-font-color) 11% );--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-neutral-on-subtle-color: var(--luzmo-selected-color-hard);--luzmo-informative-color: #1670dd;--luzmo-informative-color-hover: color-mix(in oklch, var(--luzmo-informative-color), black 8%);--luzmo-informative-color-down: color-mix(in oklch, var(--luzmo-informative-color), black 20%);--luzmo-informative-color-focus: var(--luzmo-informative-color-hover);--luzmo-informative-on-subtle-color: color-mix( in oklch, var(--luzmo-informative-color), var(--luzmo-font-color) 9% );--luzmo-informative-color-rgb: 22, 112, 221;--luzmo-informative-inverse-color: #ffffff;--luzmo-notice-color: rgb(229, 127, 0);--luzmo-notice-color-hover: color-mix(in oklch, var(--luzmo-notice-color), black 8%);--luzmo-notice-color-down: color-mix(in oklch, var(--luzmo-notice-color), black 20%);--luzmo-notice-color-focus: var(--luzmo-notice-color-hover);--luzmo-notice-on-subtle-color: color-mix( in oklch, var(--luzmo-notice-color), var(--luzmo-font-color) 40% );--luzmo-notice-inverse-color: var(--luzmo-selected-color-hard);--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}html.dark,html.dark-theme,:where(.dark-theme){--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.2);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.35);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-rgb: 255, 255, 255;--luzmo-border-color-full: #4c4c57;--luzmo-border-color-full-hover: color-mix(in oklch, var(--luzmo-border-color-full), white 20%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), white 35%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), white 20%);--luzmo-border-color-disabled: #333;--luzmo-font-color: #ced4da;--luzmo-font-color-extra-dimmed: #72787f;--luzmo-font-color-hover: color-mix(in oklch, var(--luzmo-font-color), white 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), white 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), white 8%);--luzmo-primary: #7b90ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), white 12%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), white 24%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), white 12%);--luzmo-accent-on-subtle-color: color-mix( in oklch, var(--luzmo-primary), var(--luzmo-font-color) 1% );--luzmo-background-color: #262626;--luzmo-background-color-rgb: 0, 0, 0;--luzmo-background-color-disabled: #939ea8;--luzmo-background-color-hover: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 3%), white 14%);--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 3%), white 25%);--luzmo-background-color-focus: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 3%), white 14%);--luzmo-background-color-highlight: rgb(72, 72, 72);--luzmo-background-color-highlight-disabled: #313131;--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), white 20%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), white 35%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), white 20%);--luzmo-primary-inverse-color: var(--luzmo-background-color);--luzmo-indicator-color: var(--luzmo-primary);--luzmo-primary-rgb: 94, 113, 208;--luzmo-secondary: #ebff00;--luzmo-secondary-inverse-color: #333;--luzmo-secondary-rgb: 200, 219, 0;--luzmo-negative-color: #f76d74;--luzmo-negative-color-hover: color-mix(in oklch, var(--luzmo-negative-color), white 12%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), white 24%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), white 12%);--luzmo-negative-on-subtle-color: color-mix( in oklch, var(--luzmo-negative-color), var(--luzmo-font-color) 40% );--luzmo-negative-color-rgb: 247, 109, 116;--luzmo-negative-inverse-color: var(--luzmo-background-color);--luzmo-positive-color: #39a875;--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), white 12%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), white 24%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), white 12%);--luzmo-positive-on-subtle-color: color-mix( in oklch, var(--luzmo-positive-color), var(--luzmo-font-color) 35% );--luzmo-positive-color-rgb: 57, 168, 117;--luzmo-positive-inverse-color: var(--luzmo-background-color);--luzmo-selected-color: #afafaf;--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), white 20%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), white 35%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), white 20%);--luzmo-selected-color-hard: #e9e9e9;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), white 20%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), white 35%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), white 20%);--luzmo-neutral-on-subtle-color: var(--luzmo-selected-color-hard);--luzmo-informative-color: #5c94ff;--luzmo-informative-color-hover: color-mix(in oklch, var(--luzmo-informative-color), white 12%);--luzmo-informative-color-down: color-mix(in oklch, var(--luzmo-informative-color), white 24%);--luzmo-informative-color-focus: var(--luzmo-informative-color-hover);--luzmo-informative-on-subtle-color: color-mix( in oklch, var(--luzmo-informative-color), var(--luzmo-font-color) 36% );--luzmo-informative-color-rgb: 92, 148, 255;--luzmo-informative-inverse-color: var(--luzmo-background-color);--luzmo-notice-color-hover: color-mix(in oklch, var(--luzmo-notice-color), white 12%);--luzmo-notice-color-down: color-mix(in oklch, var(--luzmo-notice-color), white 24%);--luzmo-notice-color-focus: var(--luzmo-notice-color-hover);--luzmo-notice-on-subtle-color: var(--luzmo-notice-color);--luzmo-notice-inverse-color: var(--luzmo-background-color);--luzmo-disabled-color: #75797b}", document.head.appendChild(e);
22
22
  }
23
23
  })();
24
- import { t as e } from "../multi-language-field-BzY75rOY.js";
24
+ import { t as e } from "../multi-language-field-ccoVXf52.js";
25
25
  export { e as LuzmoMultiLangField };
@@ -1,21 +1,21 @@
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.
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
17
  * */
18
- require(`./chunk-D-qHiVGv.cjs`);const e=require(`./decorate-B2wePfNm.cjs`),t=require(`./sized-mixin-StFA4y0J.cjs`),n=require(`./manage-help-text-D9VbYRf_.cjs`);require(`./text-field-A4Obzs4l.cjs`);let r=require(`lit`),i=require(`lit/decorators.js`);var a=`:host{display:inline-block}:host luzmo-text-field{width:100%}`,o=class extends n.t(t.n(e.n,{noDefaultSize:!0})){constructor(...e){super(...e),this.label=``,this.allowedKeys=``,this.i18nPlaceholder={},this.type=`text`,this.grows=!1,this.maxlength=-1,this.minlength=-1,this.multiline=!1,this.rows=-1,this.quiet=!1,this.disabled=!1,this.required=!1,this.readonly=!1,this.language=`en`,this.defaultLanguage=`en`,this.value={}}static get styles(){return[(0,r.unsafeCSS)(a)]}get _localizedValue(){let e={...this.value};return e[this.language]??e[this.defaultLanguage]??Object.values(e)[0]??``}get _localizedPlaceholder(){let e={...this.i18nPlaceholder};return e[this.language]??e[this.defaultLanguage]??Object.values(e)[0]??``}handleChange(e){e.stopPropagation(),e.preventDefault();let t=e.target;this.value[this.language]!==t.value&&(this.value={...this.value,[this.language]:t.value},this.dispatchEvent(new CustomEvent(`change`,{bubbles:!0,composed:!0,cancelable:!0,detail:{value:this.value}})))}render(){return r.html`
18
+ const e=require("./decorate-Dq34MBGe.cjs"),t=require("./sized-mixin-BT7cv-fT.cjs"),n=require("./manage-help-text-D20THJ3U.cjs");require("./text-field-BzZ4jEr6.cjs");let r=require("lit"),i=require("lit/decorators.js");var a=`:host{display:inline-block}:host luzmo-text-field{width:100%}`,o=class extends n.t(t.n(e.n,{noDefaultSize:!0})){constructor(...e){super(...e),this.label=``,this.allowedKeys=``,this.i18nPlaceholder={},this.type=`text`,this.grows=!1,this.maxlength=-1,this.minlength=-1,this.multiline=!1,this.rows=-1,this.quiet=!1,this.disabled=!1,this.required=!1,this.readonly=!1,this.language=`en`,this.defaultLanguage=`en`,this.value={}}static get styles(){return[(0,r.unsafeCSS)(a)]}get _localizedValue(){let e={...this.value};return e[this.language]??e[this.defaultLanguage]??Object.values(e)[0]??``}get _localizedPlaceholder(){let e={...this.i18nPlaceholder};return e[this.language]??e[this.defaultLanguage]??Object.values(e)[0]??``}handleChange(e){e.stopPropagation(),e.preventDefault();let t=e.target;this.value[this.language]!==t.value&&(this.value={...this.value,[this.language]:t.value},this.dispatchEvent(new CustomEvent(`change`,{bubbles:!0,composed:!0,cancelable:!0,detail:{value:this.value}})))}render(){return r.html`
19
19
  <luzmo-text-field
20
20
  .label=${this.label}
21
21
  .value=${this._localizedValue}
@@ -37,4 +37,4 @@ require(`./chunk-D-qHiVGv.cjs`);const e=require(`./decorate-B2wePfNm.cjs`),t=req
37
37
  @input=${this.handleChange}
38
38
  @change=${this.handleChange}
39
39
  ></luzmo-text-field>
40
- `}};e.t([(0,i.property)({type:String})],o.prototype,`label`,void 0),e.t([(0,i.property)({attribute:`allowed-keys`})],o.prototype,`allowedKeys`,void 0),e.t([(0,i.property)({type:String,reflect:!0})],o.prototype,`name`,void 0),e.t([(0,i.property)({type:Object,attribute:`i18n-placeholder`})],o.prototype,`i18nPlaceholder`,void 0),e.t([(0,i.property)({attribute:`type`,reflect:!0})],o.prototype,`type`,void 0),e.t([(0,i.property)()],o.prototype,`pattern`,void 0),e.t([(0,i.property)({type:Boolean,reflect:!0})],o.prototype,`grows`,void 0),e.t([(0,i.property)({type:Number})],o.prototype,`maxlength`,void 0),e.t([(0,i.property)({type:Number})],o.prototype,`minlength`,void 0),e.t([(0,i.property)({type:Boolean,reflect:!0})],o.prototype,`multiline`,void 0),e.t([(0,i.property)({type:Number})],o.prototype,`rows`,void 0),e.t([(0,i.property)({type:Boolean,reflect:!0})],o.prototype,`quiet`,void 0),e.t([(0,i.property)({type:Boolean,reflect:!0})],o.prototype,`disabled`,void 0),e.t([(0,i.property)({type:Boolean,reflect:!0})],o.prototype,`required`,void 0),e.t([(0,i.property)({type:Boolean,reflect:!0})],o.prototype,`readonly`,void 0),e.t([(0,i.property)({type:String,reflect:!0})],o.prototype,`autocomplete`,void 0),e.t([(0,i.property)({type:String,reflect:!0})],o.prototype,`language`,void 0),e.t([(0,i.property)({type:String,reflect:!0})],o.prototype,`defaultLanguage`,void 0),e.t([(0,i.property)({type:Object,reflect:!0})],o.prototype,`value`,void 0),customElements.get(`luzmo-multi-language-field`)||customElements.define(`luzmo-multi-language-field`,o),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return o}});
40
+ `}};e.t([(0,i.property)({type:String})],o.prototype,`label`,void 0),e.t([(0,i.property)({attribute:`allowed-keys`})],o.prototype,`allowedKeys`,void 0),e.t([(0,i.property)({type:String,reflect:!0})],o.prototype,`name`,void 0),e.t([(0,i.property)({type:Object,attribute:`i18n-placeholder`})],o.prototype,`i18nPlaceholder`,void 0),e.t([(0,i.property)({attribute:`type`,reflect:!0})],o.prototype,`type`,void 0),e.t([(0,i.property)()],o.prototype,`pattern`,void 0),e.t([(0,i.property)({type:Boolean,reflect:!0})],o.prototype,`grows`,void 0),e.t([(0,i.property)({type:Number})],o.prototype,`maxlength`,void 0),e.t([(0,i.property)({type:Number})],o.prototype,`minlength`,void 0),e.t([(0,i.property)({type:Boolean,reflect:!0})],o.prototype,`multiline`,void 0),e.t([(0,i.property)({type:Number})],o.prototype,`rows`,void 0),e.t([(0,i.property)({type:Boolean,reflect:!0})],o.prototype,`quiet`,void 0),e.t([(0,i.property)({type:Boolean,reflect:!0})],o.prototype,`disabled`,void 0),e.t([(0,i.property)({type:Boolean,reflect:!0})],o.prototype,`required`,void 0),e.t([(0,i.property)({type:Boolean,reflect:!0})],o.prototype,`readonly`,void 0),e.t([(0,i.property)({type:String,reflect:!0})],o.prototype,`autocomplete`,void 0),e.t([(0,i.property)({type:String,reflect:!0})],o.prototype,`language`,void 0),e.t([(0,i.property)({type:String,reflect:!0})],o.prototype,`defaultLanguage`,void 0),e.t([(0,i.property)({type:Object,reflect:!0})],o.prototype,`value`,void 0),customElements.get(`luzmo-multi-language-field`)||customElements.define(`luzmo-multi-language-field`,o),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
@@ -1,24 +1,24 @@
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.
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
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 "./manage-help-text-CF0xBh0F.js";
21
- import "./text-field-BoGAvXvh.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 "./manage-help-text-DwfUBgHK.js";
21
+ import "./text-field-nBag7DTk.js";
22
22
  import { html as i, unsafeCSS as a } from "lit";
23
23
  import { property as o } from "lit/decorators.js";
24
24
  //#region src/components/multi-language-field/multi-language-field.module.scss?inline
@@ -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
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../notice-DM0t8OGE.cjs");exports.DEFAULT_NOTICE_LABELS=e.t,exports.LuzmoNotice=e.n,exports.noticeVariants=e.r;
@@ -0,0 +1,8 @@
1
+ import { LuzmoNotice } from './notice';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'luzmo-notice': LuzmoNotice & HTMLElement;
5
+ }
6
+ }
7
+ export { DEFAULT_NOTICE_LABELS, LuzmoNotice, noticeVariants } from './notice';
8
+ export type { NoticeCloseDetail, NoticeCloseReason, NoticeLabels, NoticeVariant } from './notice';
@@ -0,0 +1,25 @@
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
+ (() => {
19
+ if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
20
+ let e = document.createElement("style");
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-accent-on-subtle-color: var(--luzmo-primary);--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-on-subtle-color: var(--luzmo-negative-color);--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-on-subtle-color: color-mix( in oklch, var(--luzmo-positive-color), var(--luzmo-font-color) 11% );--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-neutral-on-subtle-color: var(--luzmo-selected-color-hard);--luzmo-informative-color: #1670dd;--luzmo-informative-color-hover: color-mix(in oklch, var(--luzmo-informative-color), black 8%);--luzmo-informative-color-down: color-mix(in oklch, var(--luzmo-informative-color), black 20%);--luzmo-informative-color-focus: var(--luzmo-informative-color-hover);--luzmo-informative-on-subtle-color: color-mix( in oklch, var(--luzmo-informative-color), var(--luzmo-font-color) 9% );--luzmo-informative-color-rgb: 22, 112, 221;--luzmo-informative-inverse-color: #ffffff;--luzmo-notice-color: rgb(229, 127, 0);--luzmo-notice-color-hover: color-mix(in oklch, var(--luzmo-notice-color), black 8%);--luzmo-notice-color-down: color-mix(in oklch, var(--luzmo-notice-color), black 20%);--luzmo-notice-color-focus: var(--luzmo-notice-color-hover);--luzmo-notice-on-subtle-color: color-mix( in oklch, var(--luzmo-notice-color), var(--luzmo-font-color) 40% );--luzmo-notice-inverse-color: var(--luzmo-selected-color-hard);--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}html.dark,html.dark-theme,:where(.dark-theme){--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.2);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.35);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-rgb: 255, 255, 255;--luzmo-border-color-full: #4c4c57;--luzmo-border-color-full-hover: color-mix(in oklch, var(--luzmo-border-color-full), white 20%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), white 35%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), white 20%);--luzmo-border-color-disabled: #333;--luzmo-font-color: #ced4da;--luzmo-font-color-extra-dimmed: #72787f;--luzmo-font-color-hover: color-mix(in oklch, var(--luzmo-font-color), white 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), white 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), white 8%);--luzmo-primary: #7b90ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), white 12%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), white 24%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), white 12%);--luzmo-accent-on-subtle-color: color-mix( in oklch, var(--luzmo-primary), var(--luzmo-font-color) 1% );--luzmo-background-color: #262626;--luzmo-background-color-rgb: 0, 0, 0;--luzmo-background-color-disabled: #939ea8;--luzmo-background-color-hover: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 3%), white 14%);--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 3%), white 25%);--luzmo-background-color-focus: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 3%), white 14%);--luzmo-background-color-highlight: rgb(72, 72, 72);--luzmo-background-color-highlight-disabled: #313131;--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), white 20%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), white 35%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), white 20%);--luzmo-primary-inverse-color: var(--luzmo-background-color);--luzmo-indicator-color: var(--luzmo-primary);--luzmo-primary-rgb: 94, 113, 208;--luzmo-secondary: #ebff00;--luzmo-secondary-inverse-color: #333;--luzmo-secondary-rgb: 200, 219, 0;--luzmo-negative-color: #f76d74;--luzmo-negative-color-hover: color-mix(in oklch, var(--luzmo-negative-color), white 12%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), white 24%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), white 12%);--luzmo-negative-on-subtle-color: color-mix( in oklch, var(--luzmo-negative-color), var(--luzmo-font-color) 40% );--luzmo-negative-color-rgb: 247, 109, 116;--luzmo-negative-inverse-color: var(--luzmo-background-color);--luzmo-positive-color: #39a875;--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), white 12%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), white 24%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), white 12%);--luzmo-positive-on-subtle-color: color-mix( in oklch, var(--luzmo-positive-color), var(--luzmo-font-color) 35% );--luzmo-positive-color-rgb: 57, 168, 117;--luzmo-positive-inverse-color: var(--luzmo-background-color);--luzmo-selected-color: #afafaf;--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), white 20%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), white 35%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), white 20%);--luzmo-selected-color-hard: #e9e9e9;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), white 20%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), white 35%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), white 20%);--luzmo-neutral-on-subtle-color: var(--luzmo-selected-color-hard);--luzmo-informative-color: #5c94ff;--luzmo-informative-color-hover: color-mix(in oklch, var(--luzmo-informative-color), white 12%);--luzmo-informative-color-down: color-mix(in oklch, var(--luzmo-informative-color), white 24%);--luzmo-informative-color-focus: var(--luzmo-informative-color-hover);--luzmo-informative-on-subtle-color: color-mix( in oklch, var(--luzmo-informative-color), var(--luzmo-font-color) 36% );--luzmo-informative-color-rgb: 92, 148, 255;--luzmo-informative-inverse-color: var(--luzmo-background-color);--luzmo-notice-color-hover: color-mix(in oklch, var(--luzmo-notice-color), white 12%);--luzmo-notice-color-down: color-mix(in oklch, var(--luzmo-notice-color), white 24%);--luzmo-notice-color-focus: var(--luzmo-notice-color-hover);--luzmo-notice-on-subtle-color: var(--luzmo-notice-color);--luzmo-notice-inverse-color: var(--luzmo-background-color);--luzmo-disabled-color: #75797b}", document.head.appendChild(e);
22
+ }
23
+ })();
24
+ import { n as e, r as t, t as n } from "../notice-Dh4ZSFiD.js";
25
+ export { n as DEFAULT_NOTICE_LABELS, e as LuzmoNotice, t as noticeVariants };
@@ -0,0 +1,121 @@
1
+ import { CSSResultArray, PropertyValues, TemplateResult } from 'lit';
2
+ import { LuzmoElement } from '../../utils/base';
3
+ import '../button';
4
+ import '../icon';
5
+ export declare const noticeVariants: readonly ["negative", "positive", "notice", "info"];
6
+ export type NoticeVariant = (typeof noticeVariants)[number];
7
+ export type NoticeCloseReason = 'manual' | 'automatic' | 'programmatic';
8
+ export interface NoticeCloseDetail {
9
+ reason: NoticeCloseReason;
10
+ }
11
+ export interface NoticeLabels {
12
+ close?: string;
13
+ negative?: string;
14
+ positive?: string;
15
+ notice?: string;
16
+ info?: string;
17
+ }
18
+ export declare const DEFAULT_NOTICE_LABELS: Required<NoticeLabels>;
19
+ declare const LuzmoNotice_base: typeof LuzmoElement & {
20
+ new (...args: any[]): import("../..").SizedElementInterface;
21
+ prototype: import("../..").SizedElementInterface;
22
+ };
23
+ /**
24
+ * An inline semantic message with optional dismissal behavior.
25
+ *
26
+ * @element luzmo-notice
27
+ *
28
+ * @slot - Rich description content. Replaces the `description` fallback.
29
+ * @slot heading - Rich heading content. Replaces the `heading` fallback.
30
+ * @slot icon - Icon that replaces the automatic semantic icon.
31
+ *
32
+ * @fires {CustomEvent<NoticeCloseDetail>} luzmo-notice-close - Cancelable
33
+ * request to close the notice. Detail contains the `manual`, `automatic`, or
34
+ * `programmatic` reason.
35
+ *
36
+ * @attr hide-icon - Hides the automatic semantic icon.
37
+ * @attr size - The size of the notice: `s`, `m`, `l` or `xl`.
38
+ *
39
+ * @cssprop --luzmo-notice-background-color - Background surface color.
40
+ * @cssprop --luzmo-notice-border-color - Semantic border color.
41
+ * @cssprop --luzmo-notice-border-radius - Corner radius.
42
+ * @cssprop --luzmo-notice-border-width - Border width.
43
+ * @cssprop --luzmo-notice-column-gap - Gap between icon, content, and close control.
44
+ * @cssprop --luzmo-notice-content-gap - Gap between heading and description.
45
+ * @cssprop --luzmo-notice-font-family - Content font family.
46
+ * @cssprop --luzmo-notice-font-size - Content font size.
47
+ * @cssprop --luzmo-notice-text-color - Main text color.
48
+ * @cssprop --luzmo-notice-heading-color - Heading text color.
49
+ * @cssprop --luzmo-notice-heading-font-weight - Heading font weight.
50
+ * @cssprop --luzmo-notice-icon-color - Semantic icon color.
51
+ * @cssprop --luzmo-notice-icon-size - Semantic icon size.
52
+ * @cssprop --luzmo-notice-line-height - Content line height.
53
+ * @cssprop --luzmo-notice-max-inline-size - Maximum inline size.
54
+ * @cssprop --luzmo-notice-padding-block - Block padding.
55
+ * @cssprop --luzmo-notice-padding-inline - Inline padding.
56
+ * @cssprop --luzmo-notice-progress-color - Automatic-close progress color.
57
+ * @cssprop --luzmo-notice-progress-size - Automatic-close progress thickness.
58
+ */
59
+ export declare class LuzmoNotice extends LuzmoNotice_base {
60
+ static get styles(): CSSResultArray;
61
+ /** Whether the notice is visible. */
62
+ open: boolean;
63
+ private _variant;
64
+ /** The semantic appearance and live-region priority. */
65
+ get variant(): NoticeVariant;
66
+ set variant(value: NoticeVariant);
67
+ /** Whether to hide the automatic semantic icon. */
68
+ hideIcon: boolean;
69
+ /** Whether to render a manual close control. Timed notices always render it. */
70
+ closeable: boolean;
71
+ /** Plain-text heading fallback for the `heading` slot. */
72
+ heading: string;
73
+ /** Plain-text description fallback for the default slot. */
74
+ description: string;
75
+ private _duration;
76
+ /**
77
+ * Automatic-close delay in seconds. Positive values are clamped to at least
78
+ * six seconds; null and non-positive values disable automatic closing.
79
+ * Hover pauses the countdown while the pointer stays inside. The first
80
+ * keyboard focus latches the pause until the notice is dismissed.
81
+ */
82
+ get duration(): number | null;
83
+ set duration(value: number | null);
84
+ /** Localized close-control and semantic-icon labels. */
85
+ labels: NoticeLabels;
86
+ private get _resolvedLabels();
87
+ private _hasCustomIcon;
88
+ private _hasSlottedHeading;
89
+ private _hasSlottedDescription;
90
+ private _timerPaused;
91
+ private _slotObserver?;
92
+ private _timerId?;
93
+ private _timerStartedAt;
94
+ private _remainingMilliseconds;
95
+ private _pauseReasons;
96
+ connectedCallback(): void;
97
+ disconnectedCallback(): void;
98
+ /** Requests closure and emits the cancelable `luzmo-notice-close` event. */
99
+ close(reason?: 'manual' | 'automatic' | 'programmatic'): void;
100
+ protected willUpdate(changes: PropertyValues<this>): void;
101
+ protected updated(changes: PropertyValues<this>): void;
102
+ protected render(): TemplateResult;
103
+ private _renderAutomaticIcon;
104
+ private _syncSlottedContent;
105
+ private _handleManualClose;
106
+ private _requestClose;
107
+ private _handlePointerEnter;
108
+ private _handlePointerLeave;
109
+ private _handleFocusIn;
110
+ private _handleFocusOut;
111
+ private _startNewCountdown;
112
+ private _pauseCountdown;
113
+ private _resumeCountdown;
114
+ private _stopCountdown;
115
+ }
116
+ declare global {
117
+ interface GlobalEventHandlersEventMap {
118
+ 'luzmo-notice-close': CustomEvent<NoticeCloseDetail>;
119
+ }
120
+ }
121
+ export {};
@@ -0,0 +1,60 @@
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");require("./icon-CSqR-OOO.cjs"),require("./button-BeF6gpKm.cjs");let n=require("lit"),r=require("lit/decorators.js"),i=require("@luzmo/icons");var a=`:host{border-radius:var(--luzmo-notice-border-radius,var(--notice-border-radius));box-sizing:border-box;align-items:flex-start;gap:var(--luzmo-notice-column-gap,var(--notice-column-gap));inline-size:100%;max-inline-size:var(--luzmo-notice-max-inline-size,var(--notice-max-inline-size));min-inline-size:0;padding-block:var(--luzmo-notice-padding-block,var(--notice-padding-block));padding-inline:var(--luzmo-notice-padding-inline,var(--notice-padding-inline));background-color:var(--highcontrast-notice-background-color,var(--luzmo-notice-background-color,var(--notice-background-color)));color:var(--highcontrast-notice-text-color,var(--luzmo-notice-text-color,var(--notice-text-color)));font-family:var(--luzmo-notice-font-family,var(--notice-font-family));font-size:var(--luzmo-notice-font-size,var(--notice-font-size));line-height:var(--luzmo-notice-line-height,var(--notice-line-height));display:flex;position:relative;overflow:hidden;border-width:var(--luzmo-notice-border-width,var(--notice-border-width))!important;border-style:solid!important;border-color:var(--highcontrast-notice-border-color,var(--luzmo-notice-border-color,var(--notice-border-color)))!important}:host(:not([open])){display:none}.icon{color:var(--highcontrast-notice-icon-color,var(--luzmo-notice-icon-color,var(--notice-icon-color)));min-block-size:var(--notice-first-line-size);flex:none;justify-content:center;align-items:center;display:inline-flex}.icon luzmo-icon,::slotted([slot=icon]){--luzmo-icon-size:var(--luzmo-notice-icon-size,var(--notice-icon-size));--luzmo-icon-vertical-align:top;flex:none;display:flex}.content{gap:var(--luzmo-notice-content-gap,var(--notice-content-gap));overflow-wrap:anywhere;flex-direction:column;flex:auto;min-inline-size:0;display:flex}:host([closeable]) .content>:first-child,:host([duration]) .content>:first-child{padding-inline-end:var(--notice-first-content-end-padding)}.heading{color:var(--highcontrast-notice-heading-color,var(--luzmo-notice-heading-color,var(--notice-heading-color)));font-weight:var(--luzmo-notice-heading-font-weight,var(--notice-heading-font-weight))}.description{min-inline-size:0}.close-control{block-size:var(--notice-close-size);inline-size:var(--notice-close-size);align-items:center;display:flex;position:absolute;inset-block-start:var(--notice-close-inset);inset-inline-end:var(--notice-close-inset)}.close{--luzmo-close-button-background-color-default:transparent;--luzmo-close-button-background-color-hover:color-mix(in srgb, var(--notice-variant-color) 12%, transparent);--luzmo-close-button-background-color-down:color-mix(in srgb, var(--notice-variant-color) 20%, transparent);--luzmo-close-button-background-color-focus:color-mix(in srgb, var(--notice-variant-color) 12%, transparent);--notice-close-icon-color:var(--highcontrast-notice-icon-color,var(--luzmo-notice-icon-color,var(--notice-icon-color)));--luzmo-close-button-icon-color-default:var(--notice-close-icon-color);--luzmo-close-button-icon-color-hover:var(--notice-close-icon-color);--luzmo-close-button-icon-color-down:var(--notice-close-icon-color);--luzmo-close-button-icon-color-focus:var(--notice-close-icon-color);flex:none}.progress{block-size:var(--luzmo-notice-progress-size,var(--notice-progress-size));background-color:var(--highcontrast-notice-progress-color,var(--luzmo-notice-progress-color,var(--notice-progress-color)));transform-origin:100%;animation:notice-progress var(--notice-progress-duration) linear forwards;position:absolute;inset-block-end:0;inset-inline:0}:host([dir=rtl]) .progress{transform-origin:0}.progress.paused{animation-play-state:paused}@keyframes notice-progress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@media (prefers-reduced-motion:reduce){.progress{animation:none}}@media (forced-colors:active){:host{--highcontrast-notice-background-color:Canvas;--highcontrast-notice-border-color:CanvasText;--highcontrast-notice-text-color:CanvasText;--highcontrast-notice-heading-color:CanvasText;--highcontrast-notice-icon-color:CanvasText;--highcontrast-notice-progress-color:Highlight;forced-color-adjust:none}}:host{--notice-variant-color:var(--luzmo-informative-color);--notice-semantic-content-color:var(--luzmo-informative-on-subtle-color);--notice-background-color:color-mix(in srgb, var(--notice-variant-color) 10%, var(--luzmo-background-color));--notice-border-color:var(--notice-variant-color);--notice-border-radius:var(--luzmo-border-radius);--notice-border-width:var(--luzmo-border-width);--notice-text-color:var(--luzmo-font-color);--notice-heading-color:var(--notice-semantic-content-color);--notice-font-family:var(--luzmo-font-family);--notice-font-size:var(--luzmo-font-size);--notice-heading-font-weight:var(--luzmo-font-weight-bold);--notice-line-height:1.4;--notice-icon-color:var(--notice-semantic-content-color);--notice-icon-size:var(--luzmo-icon-size-l);--notice-max-inline-size:none;--notice-padding-block:var(--luzmo-spacing-4);--notice-padding-inline:var(--luzmo-spacing-5);--notice-content-gap:var(--luzmo-spacing-1);--notice-column-gap:var(--luzmo-spacing-3);--notice-close-size:var(--luzmo-component-height);--notice-progress-color:var(--notice-variant-color);--notice-progress-size:var(--luzmo-border-width);--notice-first-line-size:calc(var(--luzmo-notice-font-size,var(--notice-font-size)) * var(--luzmo-notice-line-height,var(--notice-line-height)));--notice-close-inset:calc(var(--luzmo-notice-padding-block,var(--notice-padding-block)) + ( var(--notice-first-line-size) - var(--notice-close-size) ) / 2);--notice-first-content-end-padding:calc(var(--notice-close-size) + var(--notice-close-inset) - var(--luzmo-notice-padding-inline,var(--notice-padding-inline)) + var(--luzmo-notice-column-gap,var(--notice-column-gap)))}:host([size=s]){--notice-font-size:var(--luzmo-font-size-s);--notice-icon-size:var(--luzmo-icon-size-m);--notice-close-size:var(--luzmo-component-height-s);--notice-padding-block:var(--luzmo-spacing-3);--notice-padding-inline:var(--luzmo-spacing-4);--notice-border-radius:var(--luzmo-border-radius-s)}:host([size=l]){--notice-font-size:var(--luzmo-font-size-l);--notice-icon-size:var(--luzmo-icon-size-xl);--notice-close-size:var(--luzmo-component-height-l);--notice-padding-block:var(--luzmo-spacing-5);--notice-padding-inline:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-2));--notice-content-gap:var(--luzmo-spacing-2);--notice-column-gap:var(--luzmo-spacing-4);--notice-border-radius:var(--luzmo-border-radius-l)}:host([size=xl]){--notice-font-size:var(--luzmo-font-size-xl);--notice-icon-size:var(--luzmo-icon-size-xl);--notice-close-size:var(--luzmo-component-height-xl);--notice-padding-block:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-2));--notice-padding-inline:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-3));--notice-content-gap:var(--luzmo-spacing-2);--notice-column-gap:var(--luzmo-spacing-4);--notice-border-radius:var(--luzmo-border-radius-xl)}:host([variant=negative]){--notice-variant-color:var(--luzmo-negative-color);--notice-semantic-content-color:var(--luzmo-negative-on-subtle-color)}:host([variant=positive]){--notice-variant-color:var(--luzmo-positive-color);--notice-semantic-content-color:var(--luzmo-positive-on-subtle-color)}:host([variant=notice]){--notice-variant-color:var(--luzmo-notice-color);--notice-semantic-content-color:var(--luzmo-notice-on-subtle-color)}:host([variant=info]){--notice-variant-color:var(--luzmo-informative-color);--notice-semantic-content-color:var(--luzmo-informative-on-subtle-color)}`,o=[`negative`,`positive`,`notice`,`info`],s={close:`Close`,negative:`Error`,positive:`Success`,notice:`Warning`,info:`Information`},c=6,l={negative:i.luzmoExclamationCircle,positive:i.luzmoCheck,notice:i.luzmoAlertOutline,info:i.luzmoInfoCircleOutline},u=class extends t.n(e.n,{validSizes:[`s`,`m`,`l`,`xl`],defaultSize:`m`}){constructor(...e){super(...e),this.open=!0,this._variant=`info`,this.hideIcon=!1,this.closeable=!1,this.heading=``,this.description=``,this._duration=null,this.labels={},this._hasCustomIcon=!1,this._hasSlottedHeading=!1,this._hasSlottedDescription=!1,this._timerPaused=!1,this._timerStartedAt=0,this._remainingMilliseconds=0,this._pauseReasons=new Set,this._handleManualClose=()=>{this._requestClose(`manual`)},this._handlePointerEnter=()=>{this._pauseCountdown(`pointer`)},this._handlePointerLeave=()=>{this._pauseReasons.delete(`pointer`),this._resumeCountdown()},this._handleFocusIn=()=>{this._pauseCountdown(`focus`),this._pauseCountdown(`sticky`)},this._handleFocusOut=e=>{let t=e.relatedTarget;t&&(this.contains(t)||this.shadowRoot?.contains(t))||(this._pauseReasons.delete(`focus`),this._resumeCountdown())}}static get styles(){let e=super.styles;return[...Array.isArray(e)?e:e?[e]:[],(0,n.unsafeCSS)(a)]}get variant(){return this._variant}set variant(e){let t=this._variant;this._variant=o.includes(e)?e:`info`,this.getAttribute(`variant`)!==this._variant&&this.setAttribute(`variant`,this._variant),this.requestUpdate(`variant`,t)}get duration(){return this._duration}set duration(e){let t=this._duration,n=Number(e);this._duration=e!==null&&Number.isFinite(n)&&n>0?Math.max(c,n):null;let r=this._duration===null?null:String(this._duration);this.getAttribute(`duration`)!==r&&(r===null?this.removeAttribute(`duration`):this.setAttribute(`duration`,r)),this.requestUpdate(`duration`,t)}get _resolvedLabels(){return{close:this.labels.close??s.close,negative:this.labels.negative??s.negative,positive:this.labels.positive??s.positive,notice:this.labels.notice??s.notice,info:this.labels.info??s.info}}connectedCallback(){super.connectedCallback(),this._syncSlottedContent(),this._slotObserver=new MutationObserver(()=>this._syncSlottedContent()),this._slotObserver.observe(this,{childList:!0,subtree:!0,attributes:!0,characterData:!0,attributeFilter:[`slot`]}),this.addEventListener(`pointerenter`,this._handlePointerEnter),this.addEventListener(`pointerleave`,this._handlePointerLeave),this.addEventListener(`focusin`,this._handleFocusIn),this.addEventListener(`focusout`,this._handleFocusOut),this._pauseReasons.delete(`disconnect`)?this._resumeCountdown():this.hasUpdated&&this.open&&this.duration&&this._startNewCountdown()}disconnectedCallback(){this._pauseCountdown(`disconnect`),this._pauseReasons.delete(`pointer`),this._pauseReasons.delete(`focus`),this._slotObserver?.disconnect(),this._slotObserver=void 0,this.removeEventListener(`pointerenter`,this._handlePointerEnter),this.removeEventListener(`pointerleave`,this._handlePointerLeave),this.removeEventListener(`focusin`,this._handleFocusIn),this.removeEventListener(`focusout`,this._handleFocusOut),super.disconnectedCallback()}close(e){this._requestClose(e??`programmatic`)}willUpdate(e){if(super.willUpdate(e),e.has(`variant`)||!this.hasAttribute(`role`)){let e=this.variant===`negative`;this.setAttribute(`role`,e?`alert`:`status`),this.setAttribute(`aria-live`,e?`assertive`:`polite`),this.setAttribute(`aria-atomic`,`true`)}}updated(e){super.updated(e),(e.has(`open`)||e.has(`duration`))&&(this.open&&this.duration?this._startNewCountdown():this._stopCountdown(!0))}render(){let e=this._resolvedLabels,t=this._hasCustomIcon||!this.hideIcon,r=this._hasSlottedHeading||!!this.heading,i=this._hasSlottedDescription||!!this.description;return n.html`
19
+ ${t?n.html`
20
+ <div class="icon">
21
+ <slot name="icon">
22
+ ${this.hideIcon?n.nothing:this._renderAutomaticIcon(e)}
23
+ </slot>
24
+ </div>
25
+ `:n.nothing}
26
+ <div class="content">
27
+ ${r?n.html`
28
+ <div class="heading">
29
+ ${this._hasSlottedHeading?n.html`<slot name="heading"></slot>`:this.heading}
30
+ </div>
31
+ `:n.nothing}
32
+ ${i?n.html`
33
+ <div class="description">
34
+ ${this._hasSlottedDescription?n.html`<slot></slot>`:this.description}
35
+ </div>
36
+ `:n.nothing}
37
+ </div>
38
+ ${this.closeable||this.duration?n.html`
39
+ <div class="close-control">
40
+ <luzmo-close-button
41
+ class="close"
42
+ .size=${this.size}
43
+ .label=${e.close}
44
+ @click=${this._handleManualClose}
45
+ ></luzmo-close-button>
46
+ </div>
47
+ `:n.nothing}
48
+ ${this.open&&this.duration?n.html`
49
+ <div
50
+ class=${this._timerPaused?`progress paused`:`progress`}
51
+ aria-hidden="true"
52
+ style="--notice-progress-duration: ${this.duration}s"
53
+ ></div>
54
+ `:n.nothing}
55
+ `}_renderAutomaticIcon(e){return n.html`
56
+ <luzmo-icon
57
+ .icon=${l[this.variant]}
58
+ .label=${e[this.variant]}
59
+ ></luzmo-icon>
60
+ `}_syncSlottedContent(){let e=[...this.children];this._hasCustomIcon=e.some(e=>e.getAttribute(`slot`)===`icon`),this._hasSlottedHeading=e.some(e=>e.getAttribute(`slot`)===`heading`),this._hasSlottedDescription=[...this.childNodes].some(e=>e.nodeType===Node.TEXT_NODE?!!e.textContent?.trim():e.nodeType===Node.ELEMENT_NODE&&!e.getAttribute(`slot`))}_requestClose(e){let t=new CustomEvent(`luzmo-notice-close`,{detail:{reason:e},bubbles:!0,composed:!0,cancelable:!0});this.dispatchEvent(t)?(this._stopCountdown(!0),this.open=!1):e===`automatic`&&this._stopCountdown(!0)}_startNewCountdown(){this._stopCountdown(!1),this._remainingMilliseconds=this.duration*1e3,this._resumeCountdown()}_pauseCountdown(e){this._timerId!==void 0&&(window.clearTimeout(this._timerId),this._timerId=void 0,this._remainingMilliseconds=Math.max(0,this._remainingMilliseconds-(Date.now()-this._timerStartedAt))),this._pauseReasons.add(e),this._timerPaused=!0}_resumeCountdown(){this._pauseReasons.size>0||(this._timerPaused=!1,!(!this.isConnected||!this.open||!this.duration||this._remainingMilliseconds<=0||this._timerId!==void 0)&&(this._timerStartedAt=Date.now(),this._timerId=window.setTimeout(()=>{this._timerId=void 0,this._remainingMilliseconds=0,this._requestClose(`automatic`)},this._remainingMilliseconds)))}_stopCountdown(e){this._timerId!==void 0&&(window.clearTimeout(this._timerId),this._timerId=void 0),e&&(this._remainingMilliseconds=0,this._pauseReasons.delete(`pointer`),this._pauseReasons.delete(`focus`),this._pauseReasons.delete(`sticky`),this._timerPaused=!1),this._timerStartedAt=0}};e.t([(0,r.property)({type:Boolean,reflect:!0})],u.prototype,`open`,void 0),e.t([(0,r.property)({reflect:!0})],u.prototype,`variant`,null),e.t([(0,r.property)({type:Boolean,reflect:!0,attribute:`hide-icon`})],u.prototype,`hideIcon`,void 0),e.t([(0,r.property)({type:Boolean,reflect:!0})],u.prototype,`closeable`,void 0),e.t([(0,r.property)({type:String,reflect:!0})],u.prototype,`heading`,void 0),e.t([(0,r.property)({type:String,reflect:!0})],u.prototype,`description`,void 0),e.t([(0,r.property)({type:Number,reflect:!0})],u.prototype,`duration`,null),e.t([(0,r.property)({attribute:!1})],u.prototype,`labels`,void 0),e.t([(0,r.state)()],u.prototype,`_hasCustomIcon`,void 0),e.t([(0,r.state)()],u.prototype,`_hasSlottedHeading`,void 0),e.t([(0,r.state)()],u.prototype,`_hasSlottedDescription`,void 0),e.t([(0,r.state)()],u.prototype,`_timerPaused`,void 0),typeof customElements<`u`&&!customElements.get(`luzmo-notice`)&&customElements.define(`luzmo-notice`,u),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});