@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.
- package/LICENSE +16 -16
- package/README.md +0 -4
- package/components/accordion/index.cjs +17 -17
- package/components/accordion/index.js +18 -18
- package/components/{accordion-DC7cjb1c.js → accordion-BDchhAjE.js} +20 -20
- package/components/accordion-CW7xAsId.cjs +43 -0
- package/components/action-bar/index.cjs +17 -17
- package/components/action-bar/index.js +18 -18
- package/components/{action-bar-Dn4IDXEF.js → action-bar-Bg4e-l3a.js} +22 -22
- package/components/action-bar-DMwIDDPw.cjs +39 -0
- package/components/action-button/action-button.d.ts +12 -1
- package/components/action-button/index.cjs +17 -17
- package/components/action-button/index.d.ts +1 -1
- package/components/action-button/index.js +18 -18
- package/components/{action-button-BSofLc03.js → action-button-NzV0nn14.js} +25 -25
- package/components/action-button-fCvHkuEM.cjs +22 -0
- package/components/action-group/index.cjs +17 -17
- package/components/action-group/index.js +18 -18
- package/components/{action-group-DYKpp-mz.js → action-group-BQ-fyPYS.js} +19 -19
- package/components/action-group-D1G30Iir.cjs +20 -0
- package/components/action-menu/index.cjs +17 -17
- package/components/action-menu/index.js +18 -18
- package/components/{action-menu-C04EVpwz.js → action-menu-B4rFNFVf.js} +24 -24
- package/components/{action-menu-NSNMnYa0.cjs → action-menu-BBubpnCw.cjs} +18 -18
- package/components/avatar/avatar.d.ts +17 -1
- package/components/avatar/index.cjs +17 -17
- package/components/avatar/index.js +18 -18
- package/components/avatar-BA5FPKYf.cjs +34 -0
- package/components/avatar-Nb0368Wi.js +98 -0
- package/components/badge/badge.d.ts +1 -1
- package/components/badge/index.cjs +17 -17
- package/components/badge/index.js +18 -18
- package/components/badge-6_IAkej3.cjs +23 -0
- package/components/badge-CKqoYhAy.js +94 -0
- package/components/button/button-base.d.ts +1 -0
- package/components/button/button.d.ts +1 -2
- package/components/button/index.cjs +17 -17
- package/components/button/index.js +19 -19
- package/components/button-BeF6gpKm.cjs +20 -0
- package/components/{button-base-CzTYjZND.js → button-base-Cr7Ri4lG.js} +42 -28
- package/components/{button-base-Dj2qQqwO.cjs → button-base-DC6VHp5W.cjs} +19 -19
- package/components/button-group/index.cjs +17 -17
- package/components/button-group/index.js +18 -18
- package/components/button-group-6M8M-TUI.cjs +18 -0
- package/components/{button-group-BiQxYcQ2.js → button-group-DaANSInm.js} +18 -18
- package/components/{button-BQlc1FVG.js → button-yeMxaZCR.js} +23 -22
- package/components/calendar/index.cjs +17 -17
- package/components/calendar/index.js +18 -18
- package/components/{calendar-CFIH72Za.js → calendar-BPnO-Ai8.js} +20 -20
- package/components/calendar-CCY5YDpD.cjs +142 -0
- package/components/chat-message/index.cjs +17 -17
- package/components/chat-message/index.js +18 -18
- package/components/{chat-message-DJgocVNj.js → chat-message-BDTAV-Ph.js} +695 -517
- package/components/chat-message-SBnm0ITB.cjs +150 -0
- package/components/chat-message-group/index.cjs +17 -17
- package/components/chat-message-group/index.js +18 -18
- package/components/chat-message-group-CzCwyW7F.cjs +24 -0
- package/components/{chat-message-group-B4U2MzHx.js → chat-message-group-D7vdn2gG.js} +18 -18
- package/components/checkbox/checkbox.d.ts +8 -1
- package/components/checkbox/index.cjs +17 -17
- package/components/checkbox/index.js +18 -18
- package/components/{checkbox-CPS-tR_i.js → checkbox-6YzkdHR4.js} +25 -21
- package/components/checkbox-DdatW4xE.cjs +25 -0
- package/components/{checkbox-mixin-C5sLMo5L.js → checkbox-mixin-jqmrh48O.js} +18 -18
- package/components/{checkbox-mixin-D4HeLrMj.cjs → checkbox-mixin-rFRXqyrK.cjs} +19 -19
- package/components/{close-button-MgaJT7yO.js → close-button-LSSbv5ia.js} +20 -20
- package/components/close-button-hePosu7B.cjs +18 -0
- package/components/color-area/color-area.d.ts +7 -0
- package/components/color-area/index.cjs +17 -17
- package/components/color-area/index.js +18 -18
- package/components/color-area-B5OHLqtm.cjs +80 -0
- package/components/{color-area-DViRjuKo.js → color-area-CAM3uysY.js} +30 -28
- package/components/color-controller-DZe3_BMD.cjs +18 -0
- package/components/{color-controller-G2_v2xSl.js → color-controller-Rg_Zl0sT.js} +16 -16
- package/components/color-field/index.cjs +17 -17
- package/components/color-field/index.js +18 -18
- package/components/{color-field-CxdIoSq6.js → color-field-BBUgyihj.js} +19 -19
- package/components/{color-field-D7_7z2A2.cjs → color-field-BKBpEfot.cjs} +18 -18
- package/components/color-handle/index.cjs +17 -17
- package/components/color-handle/index.js +18 -18
- package/components/color-handle-BwV3Nia5.cjs +24 -0
- package/components/{color-handle-BOusOFFx.js → color-handle-DioEcX1V.js} +18 -18
- package/components/color-loupe/index.cjs +17 -17
- package/components/color-loupe/index.js +18 -18
- package/components/color-loupe-C_C2hy-m.cjs +56 -0
- package/components/{color-loupe-bEzi2P0y.js → color-loupe-ZcCecT0r.js} +17 -17
- package/components/color-menu/index.cjs +17 -17
- package/components/color-menu/index.js +18 -18
- package/components/{color-menu-Lxc9PTzl.js → color-menu-CZGDEdC4.js} +25 -25
- package/components/color-menu-etodAPbs.cjs +89 -0
- package/components/color-palette/index.cjs +17 -17
- package/components/color-palette/index.js +18 -18
- package/components/color-palette-C6G0Tdla.cjs +18 -0
- package/components/{color-palette-BAdaNySC.js → color-palette-FQyIMSwP.js} +19 -19
- package/components/color-palette-group/index.cjs +17 -17
- package/components/color-palette-group/index.js +18 -18
- package/components/color-palette-group-B4r4tPfY.cjs +28 -0
- package/components/{color-palette-group-D8Mavsd2.js → color-palette-group-o6bnF-Ir.js} +19 -19
- package/components/color-picker/index.cjs +17 -17
- package/components/color-picker/index.js +18 -18
- package/components/{color-picker-DqjfTvYf.js → color-picker-BPHkTsWA.js} +22 -22
- package/components/{color-picker-CSWiU-X5.cjs → color-picker-TV7ke61W.cjs} +18 -18
- package/components/color-slider/index.cjs +17 -17
- package/components/color-slider/index.js +18 -18
- package/components/{color-slider-ihAIFt5p.js → color-slider-BZ3G8Zgn.js} +22 -21
- package/components/color-slider-CVSEpLOP.cjs +57 -0
- package/components/{condition-attribute-with-id-Duo51HZ7.js → condition-attribute-with-id-BdnTdWKz.js} +16 -16
- package/components/{condition-attribute-with-id-DauPaLSS.cjs → condition-attribute-with-id-Cw92IbcP.cjs} +17 -17
- package/components/date-range-picker/index.cjs +17 -17
- package/components/date-range-picker/index.js +18 -18
- package/components/{date-range-picker-0s9hOMwi.js → date-range-picker-DJuCh24v.js} +34 -41
- package/components/date-range-picker-Z2Zu2Iji.cjs +180 -0
- package/components/date-time-picker/index.cjs +17 -17
- package/components/date-time-picker/index.js +18 -18
- package/components/date-time-picker-Ch8xgasP.cjs +105 -0
- package/components/{date-time-picker-6__gpQQK.js → date-time-picker-D_2YM-f1.js} +28 -28
- package/components/{decorate-aGxJUVxg.js → decorate-CkCg3wfh.js} +17 -17
- package/components/decorate-Dq34MBGe.cjs +18 -0
- package/components/{dependency-manger-CHy9t__e.cjs → dependency-manger-BSaHw9ju.cjs} +17 -17
- package/components/{dependency-manger-DMrulWcJ.js → dependency-manger-wHEXoU92.js} +16 -16
- package/components/divider/index.cjs +17 -17
- package/components/divider/index.js +18 -18
- package/components/{divider-cU0lVwOp.js → divider-CGbT-CL8.js} +19 -19
- package/components/divider-wana0uPI.cjs +18 -0
- package/components/{divider.module-CL60P_z8.cjs → divider.module-BV6tmpOY.cjs} +17 -17
- package/components/{divider.module-C65RfSUa.js → divider.module-CPEKsaqR.js} +16 -16
- package/components/{element-resolution-C0aiOB0Y.cjs → element-resolution-BjaAlqwX.cjs} +17 -17
- package/components/{element-resolution-Bs1x89vU.js → element-resolution-gap51AVo.js} +16 -16
- package/components/field-group/index.cjs +17 -17
- package/components/field-group/index.js +18 -18
- package/components/{field-group-C7ROsWq3.js → field-group-EZzkXa2e.js} +18 -18
- package/components/{field-group-OcI5Lgu7.cjs → field-group-aWhlzhoj.cjs} +18 -18
- package/components/field-label/index.cjs +17 -17
- package/components/field-label/index.js +18 -18
- package/components/{field-label-CtGCEmdp.js → field-label-B9S41b7c.js} +21 -21
- package/components/field-label-C5vdJ1ys.cjs +25 -0
- package/components/focus-group-C8lOjbi9.cjs +18 -0
- package/components/{focus-group-BshI1RpM.js → focus-group-DVPa1zxz.js} +17 -17
- package/components/{focus-visible-CrooVCUu.js → focus-visible-Bt2uDmuM.js} +18 -18
- package/components/focus-visible-eQdwUM9k.cjs +18 -0
- package/components/focusable-DTxxQ3yJ.cjs +18 -0
- package/components/{focusable-BmS8IzhH.js → focusable-DuP0-Kuy.js} +18 -18
- package/components/{focusable-selectors-Bg60_Kra.js → focusable-selectors-BWpiuXz5.js} +16 -16
- package/components/{focusable-selectors-5n5liBn0.cjs → focusable-selectors-DJqGLTJo.cjs} +17 -17
- package/components/{get-label-from-slot-5vVnfSgN.js → get-label-from-slot-Bo9mqYCZ.js} +16 -16
- package/components/{get-label-from-slot-LO_DZP60.cjs → get-label-from-slot-TV4APBYs.cjs} +17 -17
- package/components/icon/index.cjs +17 -17
- package/components/icon/index.js +18 -18
- package/components/icon-CSqR-OOO.cjs +18 -0
- package/components/{icon-CwBAE1eU.js → icon-DB1DRieA.js} +21 -18
- package/components/index.cjs +17 -17
- package/components/index.js +87 -85
- package/components/infield-button/index.cjs +17 -17
- package/components/infield-button/index.js +18 -18
- package/components/infield-button-BH9eZ-wh.cjs +22 -0
- package/components/{infield-button-BvKsbtKr.js → infield-button-Be8fAlwl.js} +19 -19
- package/components/label/index.cjs +17 -17
- package/components/label/index.js +18 -18
- package/components/{label-ClJE2esm.js → label-B1HYQ4Pp.js} +17 -17
- package/components/label-DPG13Ib0.cjs +18 -0
- package/components/{language-resolution-BYemISJC.cjs → language-resolution-BUeKpSce.cjs} +17 -17
- package/components/{language-resolution-BpfGTC29.js → language-resolution-DR30FsWE.js} +16 -16
- package/components/{like-anchor-BZJXts_H.cjs → like-anchor-BX4PSB3d.cjs} +18 -18
- package/components/{like-anchor-DeOXX-MX.js → like-anchor-DXCaEv7O.js} +17 -17
- package/components/{manage-help-text-D9VbYRf_.cjs → manage-help-text-D20THJ3U.cjs} +18 -18
- package/components/{manage-help-text-CF0xBh0F.js → manage-help-text-DwfUBgHK.js} +18 -18
- package/components/menu/index.cjs +17 -17
- package/components/menu/index.d.ts +6 -4
- package/components/menu/index.js +18 -18
- package/components/menu/menu-item.d.ts +15 -1
- package/components/menu/menu.d.ts +12 -1
- package/components/menu-CANwe_S_.cjs +108 -0
- package/components/{menu--ukVtSq7.js → menu-CFuHyNrJ.js} +112 -86
- package/components/multi-language-field/index.cjs +17 -17
- package/components/multi-language-field/index.js +18 -18
- package/components/{multi-language-field-DmoMyCBH.cjs → multi-language-field-CpDYvREK.cjs} +18 -18
- package/components/{multi-language-field-BzY75rOY.js → multi-language-field-ccoVXf52.js} +20 -20
- package/components/notice/index.cjs +18 -0
- package/components/notice/index.d.ts +8 -0
- package/components/notice/index.js +25 -0
- package/components/notice/notice.d.ts +121 -0
- package/components/notice-DM0t8OGE.cjs +60 -0
- package/components/notice-Dh4ZSFiD.js +218 -0
- package/components/number-field/index.cjs +17 -17
- package/components/number-field/index.js +18 -18
- package/components/{number-field-DrJURvoW.js → number-field-Bq5UYCe4.js} +23 -23
- package/components/number-field-CjqUSR4r.cjs +57 -0
- package/components/{observe-slot-presence-BCqd3VSd.js → observe-slot-presence-BKY6n06-.js} +16 -16
- package/components/observe-slot-presence-CS8pMePk.cjs +18 -0
- package/components/{observe-slot-text-Ddf1OC6F.js → observe-slot-text-97nX6NyX.js} +17 -17
- package/components/observe-slot-text-DzUSxLpj.cjs +18 -0
- package/components/options/index.cjs +17 -17
- package/components/options/index.d.ts +5 -3
- package/components/options/index.js +18 -18
- package/components/options/option.d.ts +0 -1
- package/components/{options-BPNAm4MW.cjs → options-B2n3Z0hu.cjs} +19 -19
- package/components/{options-Dz-ejkxF.js → options-Cz3bzQcl.js} +37 -27
- package/components/overlay/index.cjs +17 -17
- package/components/overlay/index.d.ts +3 -2
- package/components/overlay/index.js +20 -20
- package/components/overlay/overlay-trigger.d.ts +1 -1
- package/components/overlay/placement-controller.d.ts +8 -0
- package/components/{overlay-8tN0KPbR.js → overlay-CQGim3da.js} +150 -143
- package/components/overlay-CjpXF18_.cjs +47 -0
- package/components/{overlay-CMd2Dnpv.cjs → overlay-DPa_xLrt.cjs} +18 -18
- package/components/{overlay-CwR_36OV.js → overlay-D_W2gqGD.js} +19 -19
- package/components/{pending-state-DFcNf5rd.js → pending-state-BeG7qBDP.js} +17 -17
- package/components/{pending-state-DIeF18qg.cjs → pending-state-a527YMWV.cjs} +18 -18
- package/components/picker/index.cjs +17 -17
- package/components/picker/index.js +18 -18
- package/components/picker/picker.d.ts +8 -0
- package/components/{picker-agQW7YNo.js → picker-CsdtFxM2.js} +92 -91
- package/components/picker-Dlb6GY69.cjs +124 -0
- package/components/picker-button/index.cjs +17 -17
- package/components/picker-button/index.js +18 -18
- package/components/{picker-button-VAxzuhhg.js → picker-button-BJPlw2LD.js} +21 -21
- package/components/picker-button-d90ILvsN.cjs +37 -0
- package/components/platform-BAjeJp2W.cjs +18 -0
- package/components/{platform-D4V_cOJF.js → platform-Ce9pNsR9.js} +18 -18
- package/components/popover/index.cjs +17 -17
- package/components/popover/index.js +18 -18
- package/components/{popover-DyC9xGhX.js → popover-CFawf-z9.js} +19 -19
- package/components/popover-R-fdNBvR.cjs +30 -0
- package/components/progress-bar/index.cjs +17 -17
- package/components/progress-bar/index.js +18 -18
- package/components/{progress-bar-DHgFRml1.js → progress-bar-BU_h5i27.js} +19 -19
- package/components/progress-bar-DHmthnzp.cjs +31 -0
- package/components/progress-circle/index.cjs +17 -17
- package/components/progress-circle/index.js +18 -18
- package/components/{progress-circle-Cg_ua9Ff.js → progress-circle-BVToDWX8.js} +19 -19
- package/components/progress-circle-DyApSKdm.cjs +33 -0
- package/components/progress-steps/index.cjs +17 -17
- package/components/progress-steps/index.js +18 -18
- package/components/{progress-steps-Da8aZWx3.js → progress-steps-9unA0ptN.js} +18 -18
- package/components/progress-steps-BgRH7KAn.cjs +96 -0
- package/components/prompt-box/controllers/attachments-controller.d.ts +1 -0
- package/components/prompt-box/index.cjs +17 -17
- package/components/prompt-box/index.d.ts +2 -1
- package/components/prompt-box/index.js +19 -19
- package/components/prompt-box/prompt-box-templates.d.ts +4 -0
- package/components/prompt-box/prompt-box.d.ts +33 -4
- package/components/prompt-box/types.d.ts +8 -0
- package/components/{prompt-box-BeC7ug1f.js → prompt-box-B5D8JXC5.js} +254 -198
- package/components/prompt-box-C6zr6tsk.cjs +314 -0
- package/components/question-box/index.cjs +18 -0
- package/components/question-box/index.d.ts +11 -0
- package/components/question-box/index.js +25 -0
- package/components/question-box/question-box-elicitation.d.ts +58 -0
- package/components/question-box/question-box-model.d.ts +25 -0
- package/components/question-box/question-box-templates.d.ts +65 -0
- package/components/question-box/question-box.d.ts +182 -0
- package/components/question-box/types.d.ts +124 -0
- package/components/question-box-DH5MHYH8.js +1171 -0
- package/components/question-box-bSNyfRmw.cjs +401 -0
- package/components/radio/index.cjs +17 -17
- package/components/radio/index.js +18 -18
- package/components/radio/radio-group.d.ts +5 -1
- package/components/radio/radio.d.ts +7 -1
- package/components/{radio-BzEPGUmQ.js → radio-BRHNAlZa.js} +46 -42
- package/components/radio-B_K-hwKG.cjs +22 -0
- package/components/{random-id-B51lUxUB.cjs → random-id-BcUJAxUZ.cjs} +17 -17
- package/components/{random-id-Dd4boCPV.js → random-id-CiMDyX7v.js} +17 -17
- package/components/{chunk-D-qHiVGv.cjs → rolldown-runtime-DWNI8pZO.cjs} +17 -17
- package/components/{rolldown-runtime-CAFD8bLK.js → rolldown-runtime-Dy4uBu1J.js} +16 -16
- package/components/{roving-tabindex-B7x5ePUB.cjs → roving-tabindex-BoPao4td.cjs} +17 -17
- package/components/{roving-tabindex-BP6mQbXf.js → roving-tabindex-pomAn3z-.js} +17 -17
- package/components/{scaled-indicator-BoLeYSgL.js → scaled-indicator-C-TupV4L.js} +16 -16
- package/components/{scaled-indicator-DF45Sc3W.cjs → scaled-indicator-DLJIztx0.cjs} +18 -18
- package/components/search/index.cjs +17 -17
- package/components/search/index.js +18 -18
- package/components/search/search.d.ts +1 -0
- package/components/search-BBl2dsHy.cjs +47 -0
- package/components/{search-DUBf5t9V.js → search-DXscuR-a.js} +44 -38
- package/components/{segments-factory-D0IveW-q.js → segments-factory-BCRi1NKb.js} +16 -16
- package/components/segments-factory-DtPyN5sh.cjs +18 -0
- package/components/select/index.cjs +17 -17
- package/components/select/index.js +18 -18
- package/components/select/select.d.ts +10 -3
- package/components/{select-DPeI0jP9.js → select-DZFvhLsJ.js} +54 -40
- package/components/select-DuWhvQ-k.cjs +158 -0
- package/components/sized-mixin-BT7cv-fT.cjs +18 -0
- package/components/{sized-mixin-DaBoZkVS.js → sized-mixin-DzQTebN-.js} +17 -17
- package/components/skeleton-loader/index.cjs +17 -17
- package/components/skeleton-loader/index.js +18 -18
- package/components/{skeleton-loader-C1XG3m_u.js → skeleton-loader-C0LH3prK.js} +17 -17
- package/components/skeleton-loader-Cm50Ztzk.cjs +18 -0
- package/components/slider/index.cjs +17 -17
- package/components/slider/index.js +18 -18
- package/components/{slider-3QBnq0S8.js → slider-BLaYicz8.js} +18 -18
- package/components/slider-CfZ2IRgC.cjs +18 -0
- package/components/{slottable-request-event-gAcEQan2.cjs → slottable-request-event-C6eb7Ch3.cjs} +17 -17
- package/components/{slottable-request-event-DZ2Z_BLk.js → slottable-request-event-MRSZbgTu.js} +16 -16
- package/components/status-light/index.cjs +17 -17
- package/components/status-light/index.js +18 -18
- package/components/{status-light-Bf8jGu4G.js → status-light-BlfBJpqa.js} +18 -18
- package/components/status-light-Bu0G8-lH.cjs +21 -0
- package/components/strategies-BwNbUXYS.cjs +18 -0
- package/components/{strategies-DhxJGIZT.js → strategies-Cl59wdNZ.js} +37 -35
- package/components/streaming-listener-Bfyk6Fsx.cjs +18 -0
- package/components/{streaming-listener-2NcP7ys7.js → streaming-listener-CtcMpYfS.js} +16 -16
- package/components/swatch/index.cjs +17 -17
- package/components/swatch/index.js +18 -18
- package/components/{swatch-BLuV-hlF.js → swatch-C2ty27bJ.js} +20 -20
- package/components/{swatch-G70JUe6I.cjs → swatch-DcUK5qDv.cjs} +18 -18
- package/components/switch/index.cjs +17 -17
- package/components/switch/index.js +18 -18
- package/components/{switch-C5g5t5x2.js → switch-Dyl_B21d.js} +20 -20
- package/components/switch-NLIF9Tpk.cjs +22 -0
- package/components/tabs/index.cjs +17 -17
- package/components/tabs/index.js +18 -18
- package/components/{tabs-NAfmrkG9.cjs → tabs-D2VpPBQl.cjs} +18 -18
- package/components/{tabs-3Bw_PICo.js → tabs-iDDff0OX.js} +27 -27
- package/components/tags/index.cjs +17 -17
- package/components/tags/index.js +18 -18
- package/components/tags/tag.d.ts +4 -3
- package/components/tags-BkGjSc7D.cjs +47 -0
- package/components/{tags-DOH-sF2s.js → tags-FChVGpMh.js} +28 -25
- package/components/text-field/help-text.d.ts +4 -0
- package/components/text-field/index.cjs +17 -17
- package/components/text-field/index.js +19 -19
- package/components/text-field/text-field.d.ts +9 -0
- package/components/text-field-BzZ4jEr6.cjs +21 -0
- package/components/{text-field-Cs8HYRYL.js → text-field-C56-sBct.js} +21 -21
- package/components/{text-field-FJr8ZUhI.cjs → text-field-COHW36-x.cjs} +18 -18
- package/components/{text-field-BoGAvXvh.js → text-field-nBag7DTk.js} +19 -19
- package/components/{text-field.module-Btsve-VN.js → text-field.module-BHhBReKL.js} +17 -17
- package/components/{text-field.module-D5oDP7MB.cjs → text-field.module-l8CaTCwE.cjs} +17 -17
- package/components/toast/index.cjs +17 -17
- package/components/toast/index.js +18 -18
- package/components/{toast-Bd0fleYT.js → toast-3eJGRjSl.js} +20 -20
- package/components/toast-B5vlhIVK.cjs +51 -0
- package/components/tooltip/index.cjs +17 -17
- package/components/tooltip/index.js +18 -18
- package/components/tooltip/tooltip.d.ts +30 -2
- package/components/{tooltip-C3O4AQ1l.js → tooltip-Byl1h4nN.js} +43 -28
- package/components/tooltip-Sm0pruxL.cjs +45 -0
- package/components/top-nav/index.cjs +17 -17
- package/components/top-nav/index.js +18 -18
- package/components/{top-nav-CMVB3G_v.js → top-nav-D3Iqfth0.js} +22 -22
- package/components/top-nav-Dqa5pB4f.cjs +45 -0
- package/components/utils.cjs +17 -17
- package/components/utils.js +23 -23
- package/components/{voice-recorder-BUtmSvPO.cjs → voice-recorder-B1tBrGTV.cjs} +17 -17
- package/components/{voice-recorder-477xPHRU.js → voice-recorder-CTg3kRxx.js} +16 -16
- package/custom-elements.json +1 -1
- package/index.d.ts +2 -0
- package/package.json +14 -2
- package/utils/button-interaction-controllers/interaction-controller.d.ts +2 -0
- package/utils/reactive-controllers/match-media.d.ts +1 -0
- package/components/accordion-BHBIfsLU.cjs +0 -43
- package/components/action-bar-BSMX042X.cjs +0 -39
- package/components/action-button-Cajz7Hgr.cjs +0 -24
- package/components/action-group-CH8FTW0i.cjs +0 -20
- package/components/avatar-CyY_ZSD0.js +0 -65
- package/components/avatar-PulwjkMI.cjs +0 -24
- package/components/badge-D1Ry32wi.cjs +0 -23
- package/components/badge-D6p2hPj8.js +0 -94
- package/components/button-CpaSKGC_.cjs +0 -20
- package/components/button-group-DIz5TZvc.cjs +0 -18
- package/components/calendar-CY6JMJfi.cjs +0 -142
- package/components/chat-message-CNE-mGuP.cjs +0 -149
- package/components/chat-message-group-COmhCN-R.cjs +0 -24
- package/components/checkbox-DFwDrIdY.cjs +0 -25
- package/components/close-button-_EXjp6_m.cjs +0 -18
- package/components/color-area-DA3ps2-c.cjs +0 -80
- package/components/color-controller-DueaXfnX.cjs +0 -18
- package/components/color-handle-Cka48yPY.cjs +0 -24
- package/components/color-loupe-DMk8uWZW.cjs +0 -56
- package/components/color-menu-DwbTxeqv.cjs +0 -89
- package/components/color-palette-349EkPMg.cjs +0 -18
- package/components/color-palette-group-BvP09zmT.cjs +0 -28
- package/components/color-slider-DxjJ72ue.cjs +0 -57
- package/components/date-range-picker-D-jd-to9.cjs +0 -187
- package/components/date-time-picker-BMb1clUv.cjs +0 -105
- package/components/decorate-B2wePfNm.cjs +0 -18
- package/components/divider-Dn8XqbB6.cjs +0 -18
- package/components/field-label-BCl6R1uO.cjs +0 -25
- package/components/focus-group-SF8Kj7iB.cjs +0 -18
- package/components/focus-visible-B0NNezGc.cjs +0 -18
- package/components/focusable-CupEoHmn.cjs +0 -18
- package/components/icon-B7hKwn_q.cjs +0 -18
- package/components/infield-button-D5cuBWE5.cjs +0 -22
- package/components/label-CqolZbJo.cjs +0 -18
- package/components/menu-DAA51y45.cjs +0 -108
- package/components/number-field-BmWODnnR.cjs +0 -57
- package/components/observe-slot-presence-Dx8hzNzK.cjs +0 -18
- package/components/observe-slot-text-BhTcGuHY.cjs +0 -18
- package/components/overlay-DdrfkOry.cjs +0 -47
- package/components/picker-C4RVOxLq.cjs +0 -123
- package/components/picker-button-adl1JO5u.cjs +0 -37
- package/components/platform-B7Sk7Qon.cjs +0 -18
- package/components/popover-dgL04x6P.cjs +0 -30
- package/components/progress-bar-BR28tISC.cjs +0 -31
- package/components/progress-circle-DuzwUiGN.cjs +0 -33
- package/components/progress-steps-WriXaZpE.cjs +0 -96
- package/components/prompt-box-CfKZ5VQx.cjs +0 -299
- package/components/radio-d-2GUbYE.cjs +0 -22
- package/components/search-CJtgI88g.cjs +0 -45
- package/components/segments-factory-CHo9oQw7.cjs +0 -18
- package/components/select--vrG59GQ.cjs +0 -158
- package/components/sized-mixin-StFA4y0J.cjs +0 -18
- package/components/skeleton-loader-B8NgELvX.cjs +0 -18
- package/components/slider-uXRKcOz5.cjs +0 -18
- package/components/status-light-CBaAFRUc.cjs +0 -21
- package/components/strategies-kuvLVIKO.cjs +0 -18
- package/components/streaming-listener-BnDW38lt.cjs +0 -18
- package/components/switch-COhz9ka9.cjs +0 -22
- package/components/tags-CTs77FhK.cjs +0 -47
- package/components/text-field-A4Obzs4l.cjs +0 -21
- package/components/toast-NZ0Z1lz9.cjs +0 -51
- package/components/tooltip-DY1trLtg.cjs +0 -45
- package/components/top-nav-bekRXHUk.cjs +0 -45
|
@@ -1,42 +1,42 @@
|
|
|
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 { t as e } from "./rolldown-runtime-
|
|
19
|
-
import { n as t, t as n } from "./decorate-
|
|
20
|
-
import { t as r } from "./condition-attribute-with-id-
|
|
21
|
-
import { t as i } from "./random-id-
|
|
22
|
-
import { n as a, t as o } from "./element-resolution-
|
|
23
|
-
import { n as s, t as c } from "./slottable-request-event-
|
|
24
|
-
import { n as l } from "./focusable-selectors-
|
|
25
|
-
import { a as u, t as d, u as f } from "./platform-
|
|
26
|
-
import { html as p, unsafeCSS as
|
|
27
|
-
import { property as
|
|
28
|
-
import { ifDefined as
|
|
29
|
-
import { styleMap as
|
|
30
|
-
import { arrow as
|
|
18
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
19
|
+
import { n as t, t as n } from "./decorate-CkCg3wfh.js";
|
|
20
|
+
import { t as r } from "./condition-attribute-with-id-BdnTdWKz.js";
|
|
21
|
+
import { t as i } from "./random-id-CiMDyX7v.js";
|
|
22
|
+
import { n as a, t as o } from "./element-resolution-gap51AVo.js";
|
|
23
|
+
import { n as s, t as c } from "./slottable-request-event-MRSZbgTu.js";
|
|
24
|
+
import { n as l } from "./focusable-selectors-BWpiuXz5.js";
|
|
25
|
+
import { a as u, t as d, u as f } from "./platform-Ce9pNsR9.js";
|
|
26
|
+
import { html as p, unsafeCSS as m } from "lit";
|
|
27
|
+
import { property as h, query as g, queryAssignedElements as _, state as ee } from "lit/decorators.js";
|
|
28
|
+
import { ifDefined as v } from "lit/directives/if-defined.js";
|
|
29
|
+
import { styleMap as y } from "lit/directives/style-map.js";
|
|
30
|
+
import { arrow as te, autoUpdate as b, computePosition as x, flip as S, offset as ne, shift as re, size as ie } from "@floating-ui/dom";
|
|
31
31
|
//#region src/utils/reparent-child.ts
|
|
32
|
-
function
|
|
32
|
+
function ae(e, t, n = []) {
|
|
33
33
|
for (let [r, i] of t.entries()) {
|
|
34
34
|
let t = e[r], a = t.parentElement || t.getRootNode();
|
|
35
35
|
n[r] && n[r](i), a && a !== t && t.replaceWith(i), delete e[r];
|
|
36
36
|
}
|
|
37
37
|
return t;
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var oe = (e, t, { position: n, prepareCallback: r } = { position: "beforeend" }) => {
|
|
40
40
|
let { length: i } = e;
|
|
41
41
|
if (i === 0) return () => e;
|
|
42
42
|
let a = 1, o = 0;
|
|
@@ -49,11 +49,11 @@ var se = (e, t, { position: n, prepareCallback: r } = { position: "beforeend" })
|
|
|
49
49
|
u && u !== i && u.replaceChild(s[o], i), t.insertAdjacentElement(n, i), o += a;
|
|
50
50
|
} while (--i > 0);
|
|
51
51
|
return function() {
|
|
52
|
-
return
|
|
52
|
+
return ae(s, e, c);
|
|
53
53
|
};
|
|
54
|
-
},
|
|
54
|
+
}, se = 1e3, C = 1e3, w = new class {
|
|
55
55
|
constructor(e = {}) {
|
|
56
|
-
this.warmUpDelay =
|
|
56
|
+
this.warmUpDelay = se, this.coolDownDelay = C, this.isWarm = !1, this.timeout = 0, Object.assign(this, e);
|
|
57
57
|
}
|
|
58
58
|
openTimer(e) {
|
|
59
59
|
if (this.cancelCooldownTimer(), !this.component || e !== this.component) return this.component && (this.close(this.component), this.cancelCooldownTimer()), this.component = e, this.isWarm ? Promise.resolve(!1) : (this.promise = new Promise((e) => {
|
|
@@ -75,7 +75,7 @@ var se = (e, t, { position: n, prepareCallback: r } = { position: "beforeend" })
|
|
|
75
75
|
cancelCooldownTimer() {
|
|
76
76
|
this.cooldownTimeout && typeof window < "u" && window.clearTimeout(this.cooldownTimeout), delete this.cooldownTimeout;
|
|
77
77
|
}
|
|
78
|
-
}(),
|
|
78
|
+
}(), T = () => {}, E = (e, t, n) => {
|
|
79
79
|
let r = new AbortController(), i = /* @__PURE__ */ new Map(), a = () => {
|
|
80
80
|
r.abort(), n();
|
|
81
81
|
}, o, s, c = requestAnimationFrame(() => {
|
|
@@ -91,12 +91,12 @@ var se = (e, t, { position: n, prepareCallback: r } = { position: "beforeend" })
|
|
|
91
91
|
t.target === e && (i.has(t.propertyName) || i.set(t.propertyName, 0), i.set(t.propertyName, i.get(t.propertyName) + 1), cancelAnimationFrame(c), cancelAnimationFrame(o), cancelAnimationFrame(s));
|
|
92
92
|
}, { signal: r.signal }), e.addEventListener("transitionend", l, { signal: r.signal }), e.addEventListener("transitioncancel", l, { signal: r.signal }), t();
|
|
93
93
|
};
|
|
94
|
-
function
|
|
94
|
+
function D() {
|
|
95
95
|
return new Promise((e) => requestAnimationFrame(() => e()));
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var O = class e extends t {
|
|
98
98
|
constructor(...e) {
|
|
99
|
-
super(...e), this.dispose =
|
|
99
|
+
super(...e), this.dispose = T, this.offset = 0, this.willPreventClose = !1;
|
|
100
100
|
}
|
|
101
101
|
applyFocus(e, t) {}
|
|
102
102
|
/* c8 ignore next 6 */
|
|
@@ -158,7 +158,7 @@ var D = class e extends t {
|
|
|
158
158
|
}
|
|
159
159
|
static async open(t, n, r, i) {
|
|
160
160
|
await Promise.resolve().then(() => Z);
|
|
161
|
-
let a = arguments.length === 2, o = r || t, s = new this(), c = !1, l =
|
|
161
|
+
let a = arguments.length === 2, o = r || t, s = new this(), c = !1, l = oe([o], s, {
|
|
162
162
|
position: "beforeend",
|
|
163
163
|
prepareCallback: (e) => {
|
|
164
164
|
let t = e.slot;
|
|
@@ -172,7 +172,7 @@ var D = class e extends t {
|
|
|
172
172
|
c ||= (l(), !0), requestAnimationFrame(() => {
|
|
173
173
|
s.remove();
|
|
174
174
|
});
|
|
175
|
-
}), s.open = !1, s.dispose =
|
|
175
|
+
}), s.open = !1, s.dispose = T;
|
|
176
176
|
}, !a && o && i) {
|
|
177
177
|
let r = t, a = n, c = i;
|
|
178
178
|
return e.applyOptions(s, {
|
|
@@ -193,21 +193,21 @@ var D = class e extends t {
|
|
|
193
193
|
static applyOptions(e, t) {
|
|
194
194
|
e.delayed = !!t.delayed, e.receivesFocus = t.receivesFocus ?? "auto", e.triggerElement = t.trigger || null, e.type = t.type || "modal", e.offset = t.offset ?? 0, e.placement = t.placement, e.willPreventClose = !!t.notImmediatelyClosable;
|
|
195
195
|
}
|
|
196
|
-
},
|
|
196
|
+
}, k = (e) => e.querySelector(l), A = (e) => e.assignedElements().find((e) => e.matches(l)), j = class extends Event {
|
|
197
197
|
constructor() {
|
|
198
198
|
super("beforetoggle", {
|
|
199
199
|
bubbles: !1,
|
|
200
200
|
composed: !1
|
|
201
201
|
}), this.currentState = "open", this.newState = "closed";
|
|
202
202
|
}
|
|
203
|
-
},
|
|
203
|
+
}, M = class extends Event {
|
|
204
204
|
constructor() {
|
|
205
205
|
super("beforetoggle", {
|
|
206
206
|
bubbles: !1,
|
|
207
207
|
composed: !1
|
|
208
208
|
}), this.currentState = "closed", this.newState = "open";
|
|
209
209
|
}
|
|
210
|
-
},
|
|
210
|
+
}, N = class extends Event {
|
|
211
211
|
constructor(e, t, { publish: n, interaction: r, reason: i }) {
|
|
212
212
|
super(e, {
|
|
213
213
|
bubbles: n,
|
|
@@ -217,12 +217,12 @@ var D = class e extends t {
|
|
|
217
217
|
reason: i
|
|
218
218
|
};
|
|
219
219
|
}
|
|
220
|
-
},
|
|
220
|
+
}, P = class {
|
|
221
221
|
constructor(e, t, n) {
|
|
222
222
|
this.x = 0, this.y = 0, this.x = e, this.y = t, this.rectTop = n;
|
|
223
223
|
}
|
|
224
224
|
updateBoundingClientRect(e, t, n) {
|
|
225
|
-
this.x = e, this.y = t, this.rectTop = n,
|
|
225
|
+
this.x = e, this.y = t, this.rectTop = n, O.update();
|
|
226
226
|
}
|
|
227
227
|
getBoundingClientRect() {
|
|
228
228
|
let e = this.rectTop ?? this.y;
|
|
@@ -235,17 +235,18 @@ var D = class e extends t {
|
|
|
235
235
|
x: this.x,
|
|
236
236
|
bottom: this.y,
|
|
237
237
|
left: this.x,
|
|
238
|
+
/* c8 ignore next 3 */
|
|
238
239
|
toJSON() {}
|
|
239
240
|
};
|
|
240
241
|
}
|
|
241
242
|
};
|
|
242
243
|
//#endregion
|
|
243
244
|
//#region src/components/overlay/overlay-dialog.ts
|
|
244
|
-
function
|
|
245
|
+
function ce(e) {
|
|
245
246
|
class t extends e {
|
|
246
247
|
async manageDialogOpen() {
|
|
247
248
|
let e = this.open;
|
|
248
|
-
if (await
|
|
249
|
+
if (await D(), await this.managePosition(), this.open !== e) return;
|
|
249
250
|
let t = await this.dialogMakeTransition(e);
|
|
250
251
|
this.open === e && await this.dialogApplyFocus(e, t);
|
|
251
252
|
}
|
|
@@ -258,15 +259,15 @@ function le(e) {
|
|
|
258
259
|
n.addEventListener("close", e);
|
|
259
260
|
}
|
|
260
261
|
if (r > 0) return;
|
|
261
|
-
let i = e ?
|
|
262
|
-
this.dispatchEvent(new i()), e && (n.matches(l) && (t = n), t ||=
|
|
263
|
-
t ||=
|
|
262
|
+
let i = e ? M : j;
|
|
263
|
+
this.dispatchEvent(new i()), e && (n.matches(l) && (t = n), t ||= k(n), t || n.querySelectorAll("slot").forEach((e) => {
|
|
264
|
+
t ||= A(e);
|
|
264
265
|
}), !(!this.isConnected || this.dialogEl.open) && this.dialogEl.showModal());
|
|
265
266
|
}, r = (t, n) => () => {
|
|
266
267
|
if (this.open !== e) return;
|
|
267
268
|
let r = e ? "luzmo-opened" : "luzmo-closed";
|
|
268
269
|
if (n > 0) {
|
|
269
|
-
t.dispatchEvent(new
|
|
270
|
+
t.dispatchEvent(new N(r, this, {
|
|
270
271
|
interaction: this.type,
|
|
271
272
|
publish: !1
|
|
272
273
|
}));
|
|
@@ -274,24 +275,24 @@ function le(e) {
|
|
|
274
275
|
}
|
|
275
276
|
if (!this.isConnected || e !== this.open) return;
|
|
276
277
|
let i = async () => {
|
|
277
|
-
let n = this.triggerElement instanceof
|
|
278
|
-
this.dispatchEvent(new
|
|
278
|
+
let n = this.triggerElement instanceof P;
|
|
279
|
+
this.dispatchEvent(new N(r, this, {
|
|
279
280
|
interaction: this.type,
|
|
280
281
|
publish: n
|
|
281
|
-
})), t.dispatchEvent(new
|
|
282
|
+
})), t.dispatchEvent(new N(r, this, {
|
|
282
283
|
interaction: this.type,
|
|
283
284
|
publish: !1
|
|
284
|
-
})), this.triggerElement && !n && this.triggerElement.dispatchEvent(new
|
|
285
|
+
})), this.triggerElement && !n && this.triggerElement.dispatchEvent(new N(r, this, {
|
|
285
286
|
interaction: this.type,
|
|
286
287
|
publish: !0
|
|
287
|
-
})), this.state = e ? "opened" : "closed", this.returnFocus(), await
|
|
288
|
+
})), this.state = e ? "opened" : "closed", this.returnFocus(), await D(), await D(), e === this.open && e === !1 && this.requestSlottable();
|
|
288
289
|
};
|
|
289
290
|
!e && this.dialogEl.open ? (this.dialogEl.addEventListener("close", () => {
|
|
290
291
|
i();
|
|
291
292
|
}, { once: !0 }), this.dialogEl.close()) : i();
|
|
292
293
|
};
|
|
293
294
|
return this.elements.forEach((e, t) => {
|
|
294
|
-
|
|
295
|
+
E(e, n(e, t), r(e, t));
|
|
295
296
|
}), t;
|
|
296
297
|
}
|
|
297
298
|
dialogApplyFocus(e, t) {
|
|
@@ -302,17 +303,17 @@ function le(e) {
|
|
|
302
303
|
}
|
|
303
304
|
//#endregion
|
|
304
305
|
//#region src/components/overlay/overlay-no-popover.ts
|
|
305
|
-
function
|
|
306
|
+
function le(e) {
|
|
306
307
|
class t extends e {
|
|
307
308
|
async managePopoverOpen() {
|
|
308
309
|
await this.managePosition();
|
|
309
310
|
}
|
|
310
311
|
async manageDelay(e) {
|
|
311
312
|
if (e === !1 || e !== this.open) {
|
|
312
|
-
|
|
313
|
+
w.close(this);
|
|
313
314
|
return;
|
|
314
315
|
}
|
|
315
|
-
this.delayed && await
|
|
316
|
+
this.delayed && await w.openTimer(this) && (this.open = !e);
|
|
316
317
|
}
|
|
317
318
|
ensureOnDOM(e) {
|
|
318
319
|
document.body.offsetHeight;
|
|
@@ -322,28 +323,28 @@ function ue(e) {
|
|
|
322
323
|
let t = null, n = (n, r) => () => {
|
|
323
324
|
if (e === this.open) {
|
|
324
325
|
if (n.open = e, r === 0) {
|
|
325
|
-
let t = e ?
|
|
326
|
+
let t = e ? M : j;
|
|
326
327
|
this.dispatchEvent(new t());
|
|
327
328
|
}
|
|
328
|
-
e === !0 && (n.matches(l) && (t = n), t ||=
|
|
329
|
-
t ||=
|
|
329
|
+
e === !0 && (n.matches(l) && (t = n), t ||= k(n), !t && n.querySelectorAll("slot").forEach((e) => {
|
|
330
|
+
t ||= A(e);
|
|
330
331
|
}));
|
|
331
332
|
}
|
|
332
333
|
}, r = (t, n) => async () => {
|
|
333
334
|
if (this.open !== e) return;
|
|
334
335
|
let r = e ? "luzmo-opened" : "luzmo-closed";
|
|
335
|
-
if (t.dispatchEvent(new
|
|
336
|
-
let i = this.triggerElement instanceof
|
|
337
|
-
this.dispatchEvent(new
|
|
336
|
+
if (t.dispatchEvent(new N(r, this, { interaction: this.type })), n > 0) return;
|
|
337
|
+
let i = this.triggerElement instanceof P;
|
|
338
|
+
this.dispatchEvent(new N(r, this, {
|
|
338
339
|
interaction: this.type,
|
|
339
340
|
publish: i
|
|
340
|
-
})), this.triggerElement && !i && this.triggerElement.dispatchEvent(new
|
|
341
|
+
})), this.triggerElement && !i && this.triggerElement.dispatchEvent(new N(r, this, {
|
|
341
342
|
interaction: this.type,
|
|
342
343
|
publish: !0
|
|
343
|
-
})), this.state = e ? "opened" : "closed", this.returnFocus(), await
|
|
344
|
+
})), this.state = e ? "opened" : "closed", this.returnFocus(), await D(), await D(), e === this.open && e === !1 && this.requestSlottable();
|
|
344
345
|
};
|
|
345
346
|
return this.elements.forEach((e, t) => {
|
|
346
|
-
|
|
347
|
+
E(e, n(e, t), r(e, t));
|
|
347
348
|
}), t;
|
|
348
349
|
}
|
|
349
350
|
}
|
|
@@ -351,8 +352,8 @@ function ue(e) {
|
|
|
351
352
|
}
|
|
352
353
|
//#endregion
|
|
353
354
|
//#region src/components/overlay/overlay-popover.ts
|
|
354
|
-
var
|
|
355
|
-
function
|
|
355
|
+
var ue = typeof CSS < "u" && CSS.supports("(overlay: auto)");
|
|
356
|
+
function F(e) {
|
|
356
357
|
let t = !1;
|
|
357
358
|
try {
|
|
358
359
|
t = e.matches(":popover-open");
|
|
@@ -363,21 +364,21 @@ function P(e) {
|
|
|
363
364
|
} catch {}
|
|
364
365
|
return t || n;
|
|
365
366
|
}
|
|
366
|
-
function
|
|
367
|
+
function de(e) {
|
|
367
368
|
class t extends e {
|
|
368
369
|
async manageDelay(e) {
|
|
369
370
|
if (e === !1 || e !== this.open) {
|
|
370
|
-
|
|
371
|
+
w.close(this);
|
|
371
372
|
return;
|
|
372
373
|
}
|
|
373
|
-
this.delayed && await
|
|
374
|
+
this.delayed && await w.openTimer(this) && (this.open = !e);
|
|
374
375
|
}
|
|
375
376
|
shouldHidePopover(e) {
|
|
376
377
|
if (e && this.open !== e) return;
|
|
377
378
|
let t = async ({ newState: e } = {}) => {
|
|
378
379
|
e !== "open" && await this.placementController.resetOverlayPosition();
|
|
379
380
|
};
|
|
380
|
-
if (!
|
|
381
|
+
if (!F(this.dialogEl)) {
|
|
381
382
|
t();
|
|
382
383
|
return;
|
|
383
384
|
}
|
|
@@ -395,23 +396,23 @@ function F(e) {
|
|
|
395
396
|
e && this.open === e && !t && !n && this.isConnected && (this.dialogEl.showPopover(), this.managePosition());
|
|
396
397
|
}
|
|
397
398
|
async ensureOnDOM(e) {
|
|
398
|
-
|
|
399
|
+
ue || await this.shouldHidePopover(e), this.shouldShowPopover(e), await D();
|
|
399
400
|
}
|
|
400
401
|
makeTransition(e) {
|
|
401
402
|
if (this.open !== e) return null;
|
|
402
403
|
let t = null, n = (n, r) => () => {
|
|
403
404
|
if (n.open = e, r === 0) {
|
|
404
|
-
let t = e ?
|
|
405
|
+
let t = e ? M : j;
|
|
405
406
|
this.dispatchEvent(new t());
|
|
406
407
|
}
|
|
407
|
-
e && (n.matches(l) && (t = n), t ||=
|
|
408
|
-
t ||=
|
|
408
|
+
e && (n.matches(l) && (t = n), t ||= k(n), !t && n.querySelectorAll("slot").forEach((e) => {
|
|
409
|
+
t ||= A(e);
|
|
409
410
|
}));
|
|
410
411
|
}, r = (t, n) => () => {
|
|
411
412
|
if (this.open !== e) return;
|
|
412
413
|
let r = e ? "luzmo-opened" : "luzmo-closed";
|
|
413
414
|
if (n > 0) {
|
|
414
|
-
t.dispatchEvent(new
|
|
415
|
+
t.dispatchEvent(new N(r, this, {
|
|
415
416
|
interaction: this.type,
|
|
416
417
|
publish: !1
|
|
417
418
|
}));
|
|
@@ -419,27 +420,27 @@ function F(e) {
|
|
|
419
420
|
}
|
|
420
421
|
let i = async () => {
|
|
421
422
|
if (this.open !== e) return;
|
|
422
|
-
await
|
|
423
|
-
let n = this.triggerElement instanceof
|
|
424
|
-
this.dispatchEvent(new
|
|
423
|
+
await D();
|
|
424
|
+
let n = this.triggerElement instanceof P;
|
|
425
|
+
this.dispatchEvent(new N(r, this, {
|
|
425
426
|
interaction: this.type,
|
|
426
427
|
publish: n
|
|
427
|
-
})), t.dispatchEvent(new
|
|
428
|
+
})), t.dispatchEvent(new N(r, this, {
|
|
428
429
|
interaction: this.type,
|
|
429
430
|
publish: !1
|
|
430
|
-
})), this.triggerElement && !n && this.triggerElement.dispatchEvent(new
|
|
431
|
+
})), this.triggerElement && !n && this.triggerElement.dispatchEvent(new N(r, this, {
|
|
431
432
|
interaction: this.type,
|
|
432
433
|
publish: !0
|
|
433
|
-
})), this.state = e ? "opened" : "closed", this.returnFocus(), await
|
|
434
|
+
})), this.state = e ? "opened" : "closed", this.returnFocus(), await D(), await D(), e === this.open && e === !1 && this.requestSlottable();
|
|
434
435
|
};
|
|
435
436
|
if (this.open !== e) return;
|
|
436
|
-
let a =
|
|
437
|
+
let a = F(this.dialogEl);
|
|
437
438
|
e !== !0 && a && this.isConnected ? (this.dialogEl.addEventListener("beforetoggle", () => {
|
|
438
439
|
i();
|
|
439
440
|
}, { once: !0 }), this.dialogEl.hidePopover()) : i();
|
|
440
441
|
};
|
|
441
442
|
return this.elements.forEach((e, t) => {
|
|
442
|
-
|
|
443
|
+
E(e, n(e, t), r(e, t));
|
|
443
444
|
}), t;
|
|
444
445
|
}
|
|
445
446
|
}
|
|
@@ -604,7 +605,7 @@ var z = 8, B = 100, pe = (e) => ({
|
|
|
604
605
|
]
|
|
605
606
|
})[e] ?? [e], me = Symbol("placement updated"), V = class {
|
|
606
607
|
constructor(e) {
|
|
607
|
-
this.originalPlacements = /* @__PURE__ */ new WeakMap(), this.allowPlacementUpdate = !1, this.closeForAncestorUpdate = () => {
|
|
608
|
+
this.originalPlacements = /* @__PURE__ */ new WeakMap(), this.placementGeneration = 0, this.allowPlacementUpdate = !1, this.closeForAncestorUpdate = () => {
|
|
608
609
|
!this.allowPlacementUpdate && this.options.type !== "modal" && this.cleanup && this.target.dispatchEvent(new Event("close", { bubbles: !0 })), this.allowPlacementUpdate = !1;
|
|
609
610
|
}, this.updatePlacement = () => {
|
|
610
611
|
this.computePlacement();
|
|
@@ -613,35 +614,39 @@ var z = 8, B = 100, pe = (e) => ({
|
|
|
613
614
|
}, this.host = e, this.host.addController(this);
|
|
614
615
|
}
|
|
615
616
|
placeOverlay(e = this.target, t = this.options) {
|
|
616
|
-
if (this.target = e, this.options = t, !e || !t) return;
|
|
617
|
-
let n =
|
|
617
|
+
if (this.cleanup?.(), this.cleanup = void 0, this.target = e, this.options = t, !e || !t) return;
|
|
618
|
+
let n = b(t.trigger, e, this.closeForAncestorUpdate, {
|
|
618
619
|
ancestorResize: !1,
|
|
619
620
|
elementResize: !1,
|
|
620
621
|
layoutShift: !1
|
|
621
|
-
}), r =
|
|
622
|
-
|
|
623
|
-
|
|
622
|
+
}), r = b(t.trigger, e, this.updatePlacement, { ancestorScroll: !1 }), i = window.visualViewport, a = 0, o = !1, s = () => {
|
|
623
|
+
o || a || (a = requestAnimationFrame(() => {
|
|
624
|
+
a = 0, !o && this.updatePlacement();
|
|
625
|
+
}));
|
|
626
|
+
};
|
|
627
|
+
i && f() && (i.addEventListener("resize", s, { passive: !0 }), i.addEventListener("scroll", s, { passive: !0 })), this.cleanup = () => {
|
|
628
|
+
this.placementGeneration += 1, o = !0, this.host.elements?.forEach((e) => {
|
|
624
629
|
e.addEventListener("luzmo-closed", () => {
|
|
625
630
|
let t = this.originalPlacements.get(e);
|
|
626
631
|
t && e.setAttribute("placement", t), this.originalPlacements.delete(e);
|
|
627
632
|
}, { once: !0 });
|
|
628
|
-
}), n(), r();
|
|
633
|
+
}), n(), r(), i && f() && (i.removeEventListener("resize", s), i.removeEventListener("scroll", s), a &&= (cancelAnimationFrame(a), 0));
|
|
629
634
|
};
|
|
630
635
|
}
|
|
631
636
|
async computePlacement() {
|
|
632
|
-
let { options: e, target: t } = this;
|
|
633
|
-
await (document.fonts ? document.fonts.ready : Promise.resolve());
|
|
634
|
-
let
|
|
637
|
+
let { options: e, target: t } = this, n = this.placementGeneration, r = () => this.placementGeneration === n && !!this.target && this.target === t;
|
|
638
|
+
if (await (document.fonts ? document.fonts.ready : Promise.resolve()), !r() || f() && (await new Promise((e) => requestAnimationFrame(e)), !r())) return;
|
|
639
|
+
let i = e.trigger instanceof HTMLElement ? S() : S({
|
|
635
640
|
padding: z,
|
|
636
641
|
fallbackPlacements: pe(e.placement)
|
|
637
|
-
}), [
|
|
638
|
-
|
|
639
|
-
mainAxis:
|
|
640
|
-
crossAxis:
|
|
642
|
+
}), [a = 0, o = 0] = Array.isArray(e?.offset) ? e.offset : [e.offset, 0], s = this.host.elements.find((e) => e.tipElement)?.tipElement, c = [
|
|
643
|
+
ne({
|
|
644
|
+
mainAxis: a,
|
|
645
|
+
crossAxis: o
|
|
641
646
|
}),
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
647
|
+
re({ padding: z }),
|
|
648
|
+
i,
|
|
649
|
+
ie({
|
|
645
650
|
padding: z,
|
|
646
651
|
apply: ({ availableWidth: e, availableHeight: n, rects: { floating: r } }) => {
|
|
647
652
|
let i = Math.max(B, Math.floor(n)), a = r.height;
|
|
@@ -653,26 +658,28 @@ var z = 8, B = 100, pe = (e) => ({
|
|
|
653
658
|
});
|
|
654
659
|
}
|
|
655
660
|
}),
|
|
656
|
-
...
|
|
657
|
-
element:
|
|
661
|
+
...s ? [te({
|
|
662
|
+
element: s,
|
|
658
663
|
padding: e.tipPadding || z
|
|
659
664
|
})] : []
|
|
660
|
-
], { x:
|
|
665
|
+
], { x: l, y: u, placement: d, middlewareData: p } = await x(e.trigger, t, {
|
|
661
666
|
placement: e.placement,
|
|
662
|
-
middleware:
|
|
667
|
+
middleware: c,
|
|
663
668
|
strategy: "fixed"
|
|
664
669
|
});
|
|
665
|
-
if (
|
|
670
|
+
if (!r()) return;
|
|
671
|
+
let m = l, h = u, g = window.visualViewport;
|
|
672
|
+
if (g && f() && (m -= g.offsetLeft, h -= g.offsetTop), Object.assign(t.style, {
|
|
666
673
|
top: "0px",
|
|
667
674
|
left: "0px",
|
|
668
|
-
translate: `${R(
|
|
669
|
-
}), t.setAttribute("actual-placement",
|
|
670
|
-
this.originalPlacements.has(e) || this.originalPlacements.set(e, e.getAttribute("placement")), e.setAttribute("placement",
|
|
671
|
-
}),
|
|
672
|
-
let { x: e, y: t } =
|
|
673
|
-
Object.assign(
|
|
674
|
-
top:
|
|
675
|
-
left:
|
|
675
|
+
translate: `${R(m)}px ${R(h)}px`
|
|
676
|
+
}), t.setAttribute("actual-placement", d), this.host.elements?.forEach((e) => {
|
|
677
|
+
this.originalPlacements.has(e) || this.originalPlacements.set(e, e.getAttribute("placement")), e.setAttribute("placement", d);
|
|
678
|
+
}), s && p.arrow) {
|
|
679
|
+
let { x: e, y: t } = p.arrow;
|
|
680
|
+
Object.assign(s.style, {
|
|
681
|
+
top: d.startsWith("right") || d.startsWith("left") ? "0px" : "",
|
|
682
|
+
left: d.startsWith("bottom") || d.startsWith("top") ? "0px" : "",
|
|
676
683
|
translate: `${R(e)}px ${R(t)}px`
|
|
677
684
|
});
|
|
678
685
|
}
|
|
@@ -788,7 +795,7 @@ var z = 8, B = 100, pe = (e) => ({
|
|
|
788
795
|
prepareOverlayRelativeDescription() {
|
|
789
796
|
let e = r(this.target, "aria-describedby", [this.overlay.id]);
|
|
790
797
|
this.releaseDescription = () => {
|
|
791
|
-
e(), this.releaseDescription =
|
|
798
|
+
e(), this.releaseDescription = T;
|
|
792
799
|
};
|
|
793
800
|
}
|
|
794
801
|
prepareContentRelativeDescription() {
|
|
@@ -798,7 +805,7 @@ var z = 8, B = 100, pe = (e) => ({
|
|
|
798
805
|
this.releaseDescription = () => {
|
|
799
806
|
n(), this.overlay.elements.map((e, t) => {
|
|
800
807
|
e.id = this.elementIds[t];
|
|
801
|
-
}), this.releaseDescription =
|
|
808
|
+
}), this.releaseDescription = T;
|
|
802
809
|
};
|
|
803
810
|
}
|
|
804
811
|
doPointerleave() {
|
|
@@ -827,7 +834,7 @@ var z = 8, B = 100, pe = (e) => ({
|
|
|
827
834
|
mouse: "Click and hold for additional options"
|
|
828
835
|
}, Y = class extends G {
|
|
829
836
|
constructor(...e) {
|
|
830
|
-
super(...e), this.type = H.longpress, this.longpressState = null, this.releaseDescription =
|
|
837
|
+
super(...e), this.type = H.longpress, this.longpressState = null, this.releaseDescription = T, this.handlePointerup = () => {
|
|
831
838
|
clearTimeout(this.timeout), this.target && (this.longpressState = this.overlay?.state === "opening" ? "pressed" : null, document.removeEventListener("pointerup", this.handlePointerup), document.removeEventListener("pointercancel", this.handlePointerup));
|
|
832
839
|
};
|
|
833
840
|
}
|
|
@@ -864,14 +871,14 @@ var z = 8, B = 100, pe = (e) => ({
|
|
|
864
871
|
}
|
|
865
872
|
}
|
|
866
873
|
prepareDescription(e) {
|
|
867
|
-
if (this.releaseDescription !==
|
|
874
|
+
if (this.releaseDescription !== T || this.overlay.elements.length === 0) return;
|
|
868
875
|
let t = document.createElement("div");
|
|
869
876
|
t.id = `longpress-describedby-descriptor-${i()}`, t.textContent = J[u() || d() ? "touch" : "keyboard"], t.slot = "longpress-describedby-descriptor";
|
|
870
877
|
let n = e.getRootNode();
|
|
871
878
|
n === this.overlay.getRootNode() ? this.overlay.append(t) : (t.hidden = !("host" in n), e.after(t));
|
|
872
879
|
let a = r(e, "aria-describedby", [t.id]);
|
|
873
880
|
this.releaseDescription = () => {
|
|
874
|
-
a(), t.remove(), this.releaseDescription =
|
|
881
|
+
a(), t.remove(), this.releaseDescription = T;
|
|
875
882
|
};
|
|
876
883
|
}
|
|
877
884
|
shouldCompleteOpen() {
|
|
@@ -886,8 +893,8 @@ var z = 8, B = 100, pe = (e) => ({
|
|
|
886
893
|
click: K,
|
|
887
894
|
longpress: Y,
|
|
888
895
|
hover: q
|
|
889
|
-
}, Z = /* @__PURE__ */ e({ LuzmoOverlay: () => $ }), _e = typeof document < "u" && "showPopover" in document.createElement("div"), Q =
|
|
890
|
-
Q = _e ?
|
|
896
|
+
}, Z = /* @__PURE__ */ e({ LuzmoOverlay: () => $ }), _e = typeof document < "u" && "showPopover" in document.createElement("div"), Q = ce(O);
|
|
897
|
+
Q = _e ? de(Q) : le(Q);
|
|
891
898
|
var $ = class e extends Q {
|
|
892
899
|
constructor(...e) {
|
|
893
900
|
super(...e), this._delayed = !1, this._disabled = !1, this.offset = 0, this._open = !1, this.lastRequestSlottableState = !1, this.receivesFocus = "auto", this._state = "closed", this.triggerElement = null, this.type = "auto", this.wasOpen = !1, this.closeOnFocusOut = (e) => {
|
|
@@ -902,7 +909,7 @@ var $ = class e extends Q {
|
|
|
902
909
|
};
|
|
903
910
|
}
|
|
904
911
|
static {
|
|
905
|
-
this.styles = [
|
|
912
|
+
this.styles = [m(L)];
|
|
906
913
|
}
|
|
907
914
|
get delayed() {
|
|
908
915
|
return this.elements.at(-1)?.hasAttribute("delayed") || this._delayed;
|
|
@@ -917,7 +924,7 @@ var $ = class e extends Q {
|
|
|
917
924
|
this._disabled = e, e ? (this.strategy?.abort(), this.wasOpen = this.open, this.open = !1) : (this.bindEvents(), this.open = this.open || this.wasOpen, this.wasOpen = !1);
|
|
918
925
|
}
|
|
919
926
|
get hasNonVirtualTrigger() {
|
|
920
|
-
return !!this.triggerElement && !(this.triggerElement instanceof
|
|
927
|
+
return !!this.triggerElement && !(this.triggerElement instanceof P);
|
|
921
928
|
}
|
|
922
929
|
get placementController() {
|
|
923
930
|
return this._placementController ||= new V(this), this._placementController;
|
|
@@ -970,13 +977,13 @@ var $ = class e extends Q {
|
|
|
970
977
|
async managePopoverOpen() {
|
|
971
978
|
super.managePopoverOpen();
|
|
972
979
|
let e = this.open;
|
|
973
|
-
if (this.open !== e || (await this.manageDelay(e), this.open !== e) || (this.triggerInteraction === "longpress" && await
|
|
980
|
+
if (this.open !== e || (await this.manageDelay(e), this.open !== e) || (this.triggerInteraction === "longpress" && await D(), await this.ensureOnDOM(e), this.open !== e)) return;
|
|
974
981
|
let t = await this.makeTransition(e);
|
|
975
982
|
this.open === e && await this.applyFocus(e, t);
|
|
976
983
|
}
|
|
977
984
|
async applyFocus(e, t) {
|
|
978
985
|
if (!(this.receivesFocus === "false" || this.type === "hint")) {
|
|
979
|
-
if (await
|
|
986
|
+
if (await D(), await D(), e === this.open && !this.open) {
|
|
980
987
|
this.hasNonVirtualTrigger && this.contains(this.getRootNode().activeElement) && this.triggerElement.focus();
|
|
981
988
|
return;
|
|
982
989
|
}
|
|
@@ -1057,8 +1064,8 @@ var $ = class e extends Q {
|
|
|
1057
1064
|
<dialog
|
|
1058
1065
|
class="dialog"
|
|
1059
1066
|
part="dialog"
|
|
1060
|
-
placement=${
|
|
1061
|
-
style=${
|
|
1067
|
+
placement=${v(this.requiresPositioning ? this.placement || "right" : void 0)}
|
|
1068
|
+
style=${y(this.dialogStyleMap)}
|
|
1062
1069
|
@close=${this.handleBrowserClose}
|
|
1063
1070
|
@cancel=${this.handleDialogCancel}
|
|
1064
1071
|
@beforetoggle=${this.handleBeforetoggle}
|
|
@@ -1073,9 +1080,9 @@ var $ = class e extends Q {
|
|
|
1073
1080
|
<div
|
|
1074
1081
|
class="dialog"
|
|
1075
1082
|
part="dialog"
|
|
1076
|
-
placement=${
|
|
1077
|
-
popover=${
|
|
1078
|
-
style=${
|
|
1083
|
+
placement=${v(this.requiresPositioning ? this.placement || "right" : void 0)}
|
|
1084
|
+
popover=${v(this.popoverValue)}
|
|
1085
|
+
style=${y(this.dialogStyleMap)}
|
|
1079
1086
|
@beforetoggle=${this.handleBeforetoggle}
|
|
1080
1087
|
@close=${this.handleBrowserClose}
|
|
1081
1088
|
?is-visible=${this.state !== "closed"}
|
|
@@ -1091,25 +1098,25 @@ var $ = class e extends Q {
|
|
|
1091
1098
|
`;
|
|
1092
1099
|
}
|
|
1093
1100
|
connectedCallback() {
|
|
1094
|
-
super.connectedCallback(), this.addEventListener("close", () => {
|
|
1095
|
-
this.open = !1;
|
|
1096
|
-
}), this.addEventListener("luzmo-close", () => {
|
|
1097
|
-
this.open = !1;
|
|
1101
|
+
super.connectedCallback(), this.addEventListener("close", (e) => {
|
|
1102
|
+
e.defaultPrevented || (this.open = !1);
|
|
1103
|
+
}), this.addEventListener("luzmo-close", (e) => {
|
|
1104
|
+
e.defaultPrevented || (this.open = !1);
|
|
1098
1105
|
}), this.hasUpdated && this.bindEvents();
|
|
1099
1106
|
}
|
|
1100
1107
|
disconnectedCallback() {
|
|
1101
1108
|
this.strategy?.releaseDescription(), this.open = !1, super.disconnectedCallback();
|
|
1102
1109
|
}
|
|
1103
1110
|
};
|
|
1104
|
-
n([
|
|
1111
|
+
n([h({ type: Boolean })], $.prototype, "delayed", null), n([g(".dialog")], $.prototype, "dialogEl", void 0), n([h({ type: Boolean })], $.prototype, "disabled", null), n([_({
|
|
1105
1112
|
flatten: !0,
|
|
1106
1113
|
selector: ":not([slot=\"longpress-describedby-descriptor\"], slot)"
|
|
1107
|
-
})], $.prototype, "elements", void 0), n([
|
|
1114
|
+
})], $.prototype, "elements", void 0), n([h({ type: Number })], $.prototype, "offset", void 0), n([h({
|
|
1108
1115
|
type: Boolean,
|
|
1109
1116
|
reflect: !0
|
|
1110
|
-
})], $.prototype, "open", null), n([
|
|
1117
|
+
})], $.prototype, "open", null), n([h()], $.prototype, "placement", void 0), n([h({ attribute: "receives-focus" })], $.prototype, "receivesFocus", void 0), n([g("slot")], $.prototype, "slotEl", void 0), n([ee()], $.prototype, "state", null), n([h({
|
|
1111
1118
|
type: Number,
|
|
1112
1119
|
attribute: "tip-padding"
|
|
1113
|
-
})], $.prototype, "tipPadding", void 0), n([
|
|
1120
|
+
})], $.prototype, "tipPadding", void 0), n([h()], $.prototype, "trigger", void 0), n([h({ attribute: !1 })], $.prototype, "triggerElement", void 0), n([h({ attribute: !1 })], $.prototype, "triggerInteraction", void 0), n([h()], $.prototype, "type", void 0);
|
|
1114
1121
|
//#endregion
|
|
1115
|
-
export {
|
|
1122
|
+
export { D as _, Y as a, G as c, U as d, V as f, E as g, O as h, J as i, H as l, P as m, Z as n, q as o, me as p, X as r, K as s, $ as t, W as u, T as v, w as y };
|