@luzmo/lucero 1.0.3-alpha.7 → 1.0.3-alpha.9
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/components/accordion/index.cjs +1 -1
- package/components/accordion/index.js +1 -1
- package/components/accordion-BHBIfsLU.cjs +43 -0
- package/components/{accordion-BDchhAjE.js → accordion-DC7cjb1c.js} +4 -4
- package/components/action-bar/index.cjs +1 -1
- package/components/action-bar/index.js +1 -1
- package/components/action-bar-BSMX042X.cjs +39 -0
- package/components/{action-bar-BO65QnWi.js → action-bar-Dn4IDXEF.js} +6 -6
- package/components/action-button/index.cjs +1 -1
- package/components/action-button/index.js +1 -1
- package/components/action-button-Cr_QN4On.cjs +22 -0
- package/components/{action-button-CfpJ8ybz.js → action-button-DC-ZFZTm.js} +3 -3
- package/components/action-group/index.cjs +1 -1
- package/components/action-group/index.js +1 -1
- package/components/action-group-CH8FTW0i.cjs +20 -0
- package/components/{action-group-BQ-fyPYS.js → action-group-DYKpp-mz.js} +3 -3
- package/components/action-menu/index.cjs +1 -1
- package/components/action-menu/index.js +1 -1
- package/components/{action-menu-CBSyW4O8.js → action-menu-BlR6cLpi.js} +8 -8
- package/components/{action-menu-CnkzFDHK.cjs → action-menu-C1C1Gx39.cjs} +2 -2
- package/components/avatar/index.cjs +1 -1
- package/components/avatar/index.js +1 -1
- package/components/{avatar-79Zd9NiA.js → avatar-CyY_ZSD0.js} +4 -4
- package/components/avatar-PulwjkMI.cjs +24 -0
- package/components/badge/index.cjs +1 -1
- package/components/badge/index.js +1 -1
- package/components/badge-D1Ry32wi.cjs +23 -0
- package/components/{badge-2zAt91bn.js → badge-D6p2hPj8.js} +3 -3
- package/components/button/index.cjs +1 -1
- package/components/button/index.js +2 -2
- package/components/button-C5hcfigl.cjs +20 -0
- package/components/{button-CPh-7eos.js → button-D1a4B85S.js} +5 -5
- package/components/{button-base-CgZijING.js → button-base-CzTYjZND.js} +4 -4
- package/components/{button-base-UZcvbkXl.cjs → button-base-Dj2qQqwO.cjs} +2 -2
- package/components/button-group/index.cjs +1 -1
- package/components/button-group/index.js +1 -1
- package/components/{button-group-DaANSInm.js → button-group-BiQxYcQ2.js} +2 -2
- package/components/button-group-DIz5TZvc.cjs +18 -0
- package/components/calendar/index.cjs +1 -1
- package/components/calendar/index.js +1 -1
- package/components/{calendar-Ck40E6VN.js → calendar-BNRjXf9B.js} +4 -4
- package/components/calendar-BWArK3rh.cjs +142 -0
- package/components/chat-message/index.cjs +1 -1
- package/components/chat-message/index.js +1 -1
- package/components/chat-message-CNE-mGuP.cjs +149 -0
- package/components/{chat-message-BDTAV-Ph.js → chat-message-DJgocVNj.js} +501 -679
- package/components/chat-message-group/index.cjs +1 -1
- package/components/chat-message-group/index.js +1 -1
- package/components/{chat-message-group-D7vdn2gG.js → chat-message-group-B4U2MzHx.js} +2 -2
- package/components/chat-message-group-COmhCN-R.cjs +24 -0
- package/components/checkbox/index.cjs +1 -1
- package/components/checkbox/index.js +1 -1
- package/components/{checkbox-DrbacuOs.js → checkbox-CPS-tR_i.js} +3 -3
- package/components/checkbox-DFwDrIdY.cjs +25 -0
- package/components/{checkbox-mixin-ClK1paqU.js → checkbox-mixin-C5sLMo5L.js} +1 -1
- package/components/{checkbox-mixin-PEFpw1Ep.cjs → checkbox-mixin-D4HeLrMj.cjs} +2 -2
- package/components/{rolldown-runtime-DWNI8pZO.cjs → chunk-D-qHiVGv.cjs} +1 -1
- package/components/{close-button-BG--crbw.js → close-button-MgaJT7yO.js} +4 -4
- package/components/close-button-_EXjp6_m.cjs +18 -0
- package/components/color-area/index.cjs +1 -1
- package/components/color-area/index.js +1 -1
- package/components/color-area-C3Y2d5cu.cjs +80 -0
- package/components/{color-area-CAM3uysY.js → color-area-mWOctRNt.js} +6 -6
- package/components/color-controller-DueaXfnX.cjs +18 -0
- package/components/color-field/index.cjs +1 -1
- package/components/color-field/index.js +1 -1
- package/components/{color-field-Bq0IEitn.js → color-field-CxdIoSq6.js} +3 -3
- package/components/{color-field-IpL7Z89G.cjs → color-field-D7_7z2A2.cjs} +2 -2
- package/components/color-handle/index.cjs +1 -1
- package/components/color-handle/index.js +1 -1
- package/components/{color-handle-DioEcX1V.js → color-handle-BOusOFFx.js} +2 -2
- package/components/color-handle-Cka48yPY.cjs +24 -0
- package/components/color-loupe/index.cjs +1 -1
- package/components/color-loupe/index.js +1 -1
- package/components/color-loupe-DMk8uWZW.cjs +56 -0
- package/components/{color-loupe-ZcCecT0r.js → color-loupe-bEzi2P0y.js} +1 -1
- package/components/color-menu/index.cjs +1 -1
- package/components/color-menu/index.js +1 -1
- package/components/color-menu-BAKmi_EI.cjs +89 -0
- package/components/{color-menu-DtYUtPee.js → color-menu-Cryp_5Gh.js} +9 -9
- package/components/color-palette/index.cjs +1 -1
- package/components/color-palette/index.js +1 -1
- package/components/color-palette-349EkPMg.cjs +18 -0
- package/components/{color-palette-FQyIMSwP.js → color-palette-BAdaNySC.js} +3 -3
- package/components/color-palette-group/index.cjs +1 -1
- package/components/color-palette-group/index.js +1 -1
- package/components/color-palette-group-BvP09zmT.cjs +28 -0
- package/components/{color-palette-group-o6bnF-Ir.js → color-palette-group-D8Mavsd2.js} +3 -3
- package/components/color-picker/index.cjs +1 -1
- package/components/color-picker/index.js +1 -1
- package/components/{color-picker-CajJUS1c.cjs → color-picker-DL7rqWnW.cjs} +2 -2
- package/components/{color-picker-WCIGRufq.js → color-picker-DgjqWiVd.js} +6 -6
- package/components/color-slider/index.cjs +1 -1
- package/components/color-slider/index.js +1 -1
- package/components/color-slider-DxjJ72ue.cjs +57 -0
- package/components/{color-slider-BZ3G8Zgn.js → color-slider-ihAIFt5p.js} +5 -6
- package/components/{condition-attribute-with-id-Cw92IbcP.cjs → condition-attribute-with-id-DauPaLSS.cjs} +1 -1
- package/components/date-range-picker/index.cjs +1 -1
- package/components/date-range-picker/index.js +1 -1
- package/components/date-range-picker-A-XRRg1X.cjs +180 -0
- package/components/{date-range-picker-B2cRO9e5.js → date-range-picker-CcDzRDm5.js} +11 -11
- package/components/date-time-picker/index.cjs +1 -1
- package/components/date-time-picker/index.js +1 -1
- package/components/date-time-picker-Ca9GEA4N.cjs +105 -0
- package/components/{date-time-picker-CStBWop1.js → date-time-picker-PHKHDgL9.js} +12 -12
- package/components/decorate-B2wePfNm.cjs +18 -0
- package/components/{decorate-CkCg3wfh.js → decorate-aGxJUVxg.js} +1 -1
- package/components/{dependency-manger-BSaHw9ju.cjs → dependency-manger-CHy9t__e.cjs} +1 -1
- package/components/divider/index.cjs +1 -1
- package/components/divider/index.js +1 -1
- package/components/divider-Dn8XqbB6.cjs +18 -0
- package/components/{divider-CGbT-CL8.js → divider-cU0lVwOp.js} +3 -3
- package/components/{divider.module-BV6tmpOY.cjs → divider.module-CL60P_z8.cjs} +1 -1
- package/components/{element-resolution-BjaAlqwX.cjs → element-resolution-C0aiOB0Y.cjs} +1 -1
- package/components/field-group/index.cjs +1 -1
- package/components/field-group/index.js +1 -1
- package/components/{field-group-EZzkXa2e.js → field-group-C7ROsWq3.js} +2 -2
- package/components/{field-group-aWhlzhoj.cjs → field-group-OcI5Lgu7.cjs} +2 -2
- package/components/field-label/index.cjs +1 -1
- package/components/field-label/index.js +1 -1
- package/components/field-label-BCl6R1uO.cjs +25 -0
- package/components/{field-label-B9S41b7c.js → field-label-CtGCEmdp.js} +5 -5
- package/components/{focus-group-DVPa1zxz.js → focus-group-BshI1RpM.js} +1 -1
- package/components/focus-group-SF8Kj7iB.cjs +18 -0
- package/components/focus-visible-B0NNezGc.cjs +18 -0
- package/components/{focus-visible-Bt2uDmuM.js → focus-visible-CrooVCUu.js} +2 -2
- package/components/{focusable-DuP0-Kuy.js → focusable-BmS8IzhH.js} +2 -2
- package/components/focusable-CupEoHmn.cjs +18 -0
- package/components/{focusable-selectors-DJqGLTJo.cjs → focusable-selectors-5n5liBn0.cjs} +1 -1
- package/components/{get-label-from-slot-TV4APBYs.cjs → get-label-from-slot-LO_DZP60.cjs} +1 -1
- package/components/icon/index.cjs +1 -1
- package/components/icon/index.js +1 -1
- package/components/icon-B7hKwn_q.cjs +18 -0
- package/components/{icon-M3agnqx7.js → icon-CwBAE1eU.js} +1 -1
- package/components/index.cjs +1 -1
- package/components/index.js +68 -68
- package/components/infield-button/index.cjs +1 -1
- package/components/infield-button/index.js +1 -1
- package/components/{infield-button-CMcy_QGt.js → infield-button-BvKsbtKr.js} +3 -3
- package/components/infield-button-D5cuBWE5.cjs +22 -0
- package/components/label/index.cjs +1 -1
- package/components/label/index.js +1 -1
- package/components/{label-B1HYQ4Pp.js → label-ClJE2esm.js} +1 -1
- package/components/label-CqolZbJo.cjs +18 -0
- package/components/{language-resolution-BUeKpSce.cjs → language-resolution-BYemISJC.cjs} +1 -1
- package/components/{like-anchor-BX4PSB3d.cjs → like-anchor-BZJXts_H.cjs} +2 -2
- package/components/{like-anchor-DXCaEv7O.js → like-anchor-DeOXX-MX.js} +1 -1
- package/components/{manage-help-text-DwfUBgHK.js → manage-help-text-CF0xBh0F.js} +2 -2
- package/components/{manage-help-text-D20THJ3U.cjs → manage-help-text-D9VbYRf_.cjs} +2 -2
- package/components/menu/index.cjs +1 -1
- package/components/menu/index.d.ts +6 -4
- package/components/menu/index.js +1 -1
- package/components/{menu-qMByaBwZ.js → menu-Cdz2FEB7.js} +12 -12
- package/components/{menu-BS_hemfn.cjs → menu-DFKS4sRU.cjs} +4 -4
- package/components/multi-language-field/index.cjs +1 -1
- package/components/multi-language-field/index.js +1 -1
- package/components/{multi-language-field-DqAlPXww.js → multi-language-field-BzY75rOY.js} +4 -4
- package/components/{multi-language-field-B7dnlCK9.cjs → multi-language-field-DmoMyCBH.cjs} +2 -2
- package/components/number-field/index.cjs +1 -1
- package/components/number-field/index.js +1 -1
- package/components/number-field-BmWODnnR.cjs +57 -0
- package/components/{number-field-B6BiDw0B.js → number-field-DrJURvoW.js} +7 -7
- package/components/observe-slot-presence-Dx8hzNzK.cjs +18 -0
- package/components/observe-slot-text-BhTcGuHY.cjs +18 -0
- package/components/{observe-slot-text-97nX6NyX.js → observe-slot-text-Ddf1OC6F.js} +1 -1
- package/components/options/index.cjs +1 -1
- package/components/options/index.js +1 -1
- package/components/{options-BV5E4ygY.js → options-BGwKMvng.js} +8 -8
- package/components/{options-Cq9Gx9UR.cjs → options-CKi3VkNR.cjs} +2 -2
- package/components/overlay/index.cjs +1 -1
- package/components/overlay/index.js +3 -3
- package/components/{overlay-CO_JAhWD.cjs → overlay-BGI4wOGe.cjs} +2 -2
- package/components/{overlay-DpBGFUBW.js → overlay-BbQuYBxp.js} +8 -9
- package/components/overlay-DU_p8MNs.cjs +47 -0
- package/components/{overlay-DR9oYpb5.js → overlay-mdk7-NOt.js} +3 -3
- package/components/{pending-state-BeG7qBDP.js → pending-state-DFcNf5rd.js} +1 -1
- package/components/{pending-state-a527YMWV.cjs → pending-state-DIeF18qg.cjs} +2 -2
- package/components/picker/index.cjs +1 -1
- package/components/picker/index.js +1 -1
- package/components/picker-CssPvvau.cjs +123 -0
- package/components/{picker-D5AyIL5x.js → picker-DOiM_cUu.js} +9 -9
- package/components/picker-button/index.cjs +1 -1
- package/components/picker-button/index.js +1 -1
- package/components/{picker-button-Bg1oKrx4.js → picker-button-VAxzuhhg.js} +5 -5
- package/components/picker-button-adl1JO5u.cjs +37 -0
- package/components/platform-B7Sk7Qon.cjs +18 -0
- package/components/{platform-Ce9pNsR9.js → platform-D4V_cOJF.js} +2 -2
- package/components/popover/index.cjs +1 -1
- package/components/popover/index.js +1 -1
- package/components/{popover-CFawf-z9.js → popover-DyC9xGhX.js} +3 -3
- package/components/popover-dgL04x6P.cjs +30 -0
- package/components/progress-bar/index.cjs +1 -1
- package/components/progress-bar/index.js +1 -1
- package/components/progress-bar-BR28tISC.cjs +31 -0
- package/components/{progress-bar-BU_h5i27.js → progress-bar-DHgFRml1.js} +3 -3
- package/components/progress-circle/index.cjs +1 -1
- package/components/progress-circle/index.js +1 -1
- package/components/{progress-circle-BVToDWX8.js → progress-circle-Cg_ua9Ff.js} +3 -3
- package/components/progress-circle-DuzwUiGN.cjs +33 -0
- package/components/progress-steps/index.cjs +1 -1
- package/components/progress-steps/index.js +1 -1
- package/components/{progress-steps-9unA0ptN.js → progress-steps-Da8aZWx3.js} +2 -2
- package/components/progress-steps-WriXaZpE.cjs +96 -0
- package/components/prompt-box/controllers/attachments-controller.d.ts +1 -0
- package/components/prompt-box/index.cjs +1 -1
- package/components/prompt-box/index.d.ts +2 -1
- package/components/prompt-box/index.js +2 -2
- package/components/prompt-box/prompt-box-templates.d.ts +3 -0
- package/components/prompt-box/prompt-box.d.ts +30 -4
- package/components/prompt-box/types.d.ts +8 -0
- package/components/{prompt-box-B1eJoNNC.js → prompt-box-DahvVbcc.js} +215 -165
- package/components/prompt-box-DfTe3nG0.cjs +311 -0
- package/components/radio/index.cjs +1 -1
- package/components/radio/index.js +1 -1
- package/components/{radio-DhrwxuSB.js → radio-BzEPGUmQ.js} +5 -5
- package/components/radio-d-2GUbYE.cjs +22 -0
- package/components/{random-id-BcUJAxUZ.cjs → random-id-B51lUxUB.cjs} +1 -1
- package/components/{random-id-CiMDyX7v.js → random-id-Dd4boCPV.js} +1 -1
- package/components/{roving-tabindex-BoPao4td.cjs → roving-tabindex-B7x5ePUB.cjs} +1 -1
- package/components/{roving-tabindex-pomAn3z-.js → roving-tabindex-BP6mQbXf.js} +1 -1
- package/components/{scaled-indicator-DLJIztx0.cjs → scaled-indicator-Bl-3A2gz.cjs} +2 -2
- package/components/search/index.cjs +1 -1
- package/components/search/index.js +1 -1
- package/components/search-CCvT87FX.cjs +47 -0
- package/components/{search-DJa1-_UC.js → search-Dtff2EzC.js} +4 -4
- package/components/segments-factory-CHo9oQw7.cjs +18 -0
- package/components/select/index.cjs +1 -1
- package/components/select/index.js +1 -1
- package/components/{select-CzZZmuWl.js → select-C2gh8zRr.js} +10 -10
- package/components/select-qAKOLhmQ.cjs +158 -0
- package/components/{sized-mixin-DzQTebN-.js → sized-mixin-DaBoZkVS.js} +1 -1
- package/components/sized-mixin-StFA4y0J.cjs +18 -0
- package/components/skeleton-loader/index.cjs +1 -1
- package/components/skeleton-loader/index.js +1 -1
- package/components/skeleton-loader-dNRfq6lt.cjs +18 -0
- package/components/{skeleton-loader-C0LH3prK.js → skeleton-loader-oJVESWls.js} +1 -1
- package/components/slider/index.cjs +1 -1
- package/components/slider/index.js +1 -1
- package/components/slider-D8w2ipBg.cjs +18 -0
- package/components/{slider-BLaYicz8.js → slider-Fy-VeKrU.js} +2 -2
- package/components/{slottable-request-event-C6eb7Ch3.cjs → slottable-request-event-gAcEQan2.cjs} +1 -1
- package/components/status-light/index.cjs +1 -1
- package/components/status-light/index.js +1 -1
- package/components/status-light-BG_kopZQ.cjs +21 -0
- package/components/{status-light-BlfBJpqa.js → status-light-DXWPBufE.js} +2 -2
- package/components/{strategies-Dbb3w-JB.js → strategies-DhxJGIZT.js} +1 -1
- package/components/{strategies-CPWEHFe1.cjs → strategies-kuvLVIKO.cjs} +1 -1
- package/components/streaming-listener-BnDW38lt.cjs +18 -0
- package/components/swatch/index.cjs +1 -1
- package/components/swatch/index.js +1 -1
- package/components/{swatch-C2ty27bJ.js → swatch-BLuV-hlF.js} +4 -4
- package/components/{swatch-DcUK5qDv.cjs → swatch-G70JUe6I.cjs} +2 -2
- package/components/switch/index.cjs +1 -1
- package/components/switch/index.js +1 -1
- package/components/{switch-B10exYOk.js → switch-CSuMgmAh.js} +4 -4
- package/components/switch-nuCOB2P3.cjs +22 -0
- package/components/tabs/index.cjs +1 -1
- package/components/tabs/index.js +1 -1
- package/components/{tabs-CqYK2mFY.js → tabs-B54ELQtU.js} +11 -11
- package/components/{tabs-C07QGZbj.cjs → tabs-Jo_qqM_H.cjs} +2 -2
- package/components/tags/index.cjs +1 -1
- package/components/tags/index.js +1 -1
- package/components/{tags-DrDRVcwq.js → tags-Bpl4u-eo.js} +6 -6
- package/components/tags-Dj7Xm3KI.cjs +47 -0
- package/components/text-field/index.cjs +1 -1
- package/components/text-field/index.js +2 -2
- package/components/text-field-A4Obzs4l.cjs +21 -0
- package/components/{text-field-C9_95TpH.js → text-field-BoGAvXvh.js} +3 -3
- package/components/{text-field-DItC9-FS.js → text-field-Cs8HYRYL.js} +5 -5
- package/components/{text-field-BG6dB1fv.cjs → text-field-FJr8ZUhI.cjs} +2 -2
- package/components/{text-field.module-DDRcQM7Y.cjs → text-field.module-D5oDP7MB.cjs} +1 -1
- package/components/toast/index.cjs +1 -1
- package/components/toast/index.js +1 -1
- package/components/{toast-B2rcl_2b.js → toast-Bd0fleYT.js} +3 -3
- package/components/toast-NZ0Z1lz9.cjs +51 -0
- package/components/tooltip/index.cjs +1 -1
- package/components/tooltip/index.js +1 -1
- package/components/tooltip-6y-g7e9V.cjs +45 -0
- package/components/{tooltip-Byl1h4nN.js → tooltip-CVSSKlDP.js} +4 -4
- package/components/top-nav/index.cjs +1 -1
- package/components/top-nav/index.js +1 -1
- package/components/{top-nav-D3Iqfth0.js → top-nav-B3w3DZ56.js} +6 -6
- package/components/top-nav-DZO8yZs6.cjs +45 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +7 -7
- package/components/{voice-recorder-B1tBrGTV.cjs → voice-recorder-BUtmSvPO.cjs} +1 -1
- package/custom-elements.json +1 -1
- package/package.json +1 -1
- package/components/accordion-CW7xAsId.cjs +0 -43
- package/components/action-bar-CSf3qi0f.cjs +0 -39
- package/components/action-button-CMRoRRWo.cjs +0 -22
- package/components/action-group-D1G30Iir.cjs +0 -20
- package/components/avatar-BRfwsoBh.cjs +0 -24
- package/components/badge-BjusWIAn.cjs +0 -23
- package/components/button-D7RUI_x1.cjs +0 -20
- package/components/button-group-6M8M-TUI.cjs +0 -18
- package/components/calendar-9tmSkAp2.cjs +0 -142
- package/components/chat-message-SBnm0ITB.cjs +0 -150
- package/components/chat-message-group-CzCwyW7F.cjs +0 -24
- package/components/checkbox-C-HC6f2c.cjs +0 -25
- package/components/close-button-BQUJeFCq.cjs +0 -18
- package/components/color-area-B5OHLqtm.cjs +0 -80
- package/components/color-controller-DZe3_BMD.cjs +0 -18
- package/components/color-handle-BwV3Nia5.cjs +0 -24
- package/components/color-loupe-C_C2hy-m.cjs +0 -56
- package/components/color-menu-CBpuPimx.cjs +0 -89
- package/components/color-palette-C6G0Tdla.cjs +0 -18
- package/components/color-palette-group-B4r4tPfY.cjs +0 -28
- package/components/color-slider-CVSEpLOP.cjs +0 -57
- package/components/date-range-picker-nnN0b_N4.cjs +0 -180
- package/components/date-time-picker-Cj4n6nG-.cjs +0 -105
- package/components/decorate-Dq34MBGe.cjs +0 -18
- package/components/divider-wana0uPI.cjs +0 -18
- package/components/field-label-C5vdJ1ys.cjs +0 -25
- package/components/focus-group-C8lOjbi9.cjs +0 -18
- package/components/focus-visible-eQdwUM9k.cjs +0 -18
- package/components/focusable-DTxxQ3yJ.cjs +0 -18
- package/components/icon-xwNfYSkj.cjs +0 -18
- package/components/infield-button-DKlrlNuX.cjs +0 -22
- package/components/label-DPG13Ib0.cjs +0 -18
- package/components/number-field-BEBoSI-_.cjs +0 -57
- package/components/observe-slot-presence-CS8pMePk.cjs +0 -18
- package/components/observe-slot-text-DzUSxLpj.cjs +0 -18
- package/components/overlay-duS52Rsb.cjs +0 -47
- package/components/picker-D_lZ-gXW.cjs +0 -123
- package/components/picker-button-COrTSUL5.cjs +0 -37
- package/components/platform-BAjeJp2W.cjs +0 -18
- package/components/popover-R-fdNBvR.cjs +0 -30
- package/components/progress-bar-DHmthnzp.cjs +0 -31
- package/components/progress-circle-DyApSKdm.cjs +0 -33
- package/components/progress-steps-BgRH7KAn.cjs +0 -96
- package/components/prompt-box-DG4G19Vq.cjs +0 -299
- package/components/radio-Ch4iR6e1.cjs +0 -22
- package/components/search-COpGXyHi.cjs +0 -47
- package/components/segments-factory-DtPyN5sh.cjs +0 -18
- package/components/select-DV38y5iI.cjs +0 -158
- package/components/sized-mixin-BT7cv-fT.cjs +0 -18
- package/components/skeleton-loader-Cm50Ztzk.cjs +0 -18
- package/components/slider-CfZ2IRgC.cjs +0 -18
- package/components/status-light-Bu0G8-lH.cjs +0 -21
- package/components/streaming-listener-Bfyk6Fsx.cjs +0 -18
- package/components/switch-BKDJ3dZ9.cjs +0 -22
- package/components/tags-CX8xqWyH.cjs +0 -47
- package/components/text-field-D0Z0K_7q.cjs +0 -21
- package/components/toast-BzIN9rHc.cjs +0 -51
- package/components/tooltip-Sm0pruxL.cjs +0 -45
- package/components/top-nav-Dqa5pB4f.cjs +0 -45
- /package/components/{color-controller-Rg_Zl0sT.js → color-controller-G2_v2xSl.js} +0 -0
- /package/components/{condition-attribute-with-id-BdnTdWKz.js → condition-attribute-with-id-Duo51HZ7.js} +0 -0
- /package/components/{dependency-manger-wHEXoU92.js → dependency-manger-DMrulWcJ.js} +0 -0
- /package/components/{divider.module-CPEKsaqR.js → divider.module-C65RfSUa.js} +0 -0
- /package/components/{element-resolution-gap51AVo.js → element-resolution-Bs1x89vU.js} +0 -0
- /package/components/{focusable-selectors-BWpiuXz5.js → focusable-selectors-Bg60_Kra.js} +0 -0
- /package/components/{get-label-from-slot-Bo9mqYCZ.js → get-label-from-slot-5vVnfSgN.js} +0 -0
- /package/components/{language-resolution-DR30FsWE.js → language-resolution-BpfGTC29.js} +0 -0
- /package/components/{observe-slot-presence-BKY6n06-.js → observe-slot-presence-BCqd3VSd.js} +0 -0
- /package/components/{rolldown-runtime-Dy4uBu1J.js → rolldown-runtime-CAFD8bLK.js} +0 -0
- /package/components/{scaled-indicator-C-TupV4L.js → scaled-indicator-fMYan6VK.js} +0 -0
- /package/components/{segments-factory-BCRi1NKb.js → segments-factory-D0IveW-q.js} +0 -0
- /package/components/{slottable-request-event-MRSZbgTu.js → slottable-request-event-DZ2Z_BLk.js} +0 -0
- /package/components/{streaming-listener-CtcMpYfS.js → streaming-listener-2NcP7ys7.js} +0 -0
- /package/components/{text-field.module-BrBqDht3.js → text-field.module-Btsve-VN.js} +0 -0
- /package/components/{voice-recorder-CTg3kRxx.js → voice-recorder-477xPHRU.js} +0 -0
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*! * Lucero - The design system for Luzmo.
|
|
2
|
-
*
|
|
3
|
-
* Copyright © 2025 Luzmo
|
|
4
|
-
* All rights reserved.
|
|
5
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
|
6
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
|
7
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
|
8
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
9
|
-
*
|
|
10
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
11
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
12
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
13
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
14
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
15
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
|
-
* SOFTWARE.
|
|
17
|
-
* */
|
|
18
|
-
const e=require("./decorate-Dq34MBGe.cjs"),t=require("./sized-mixin-BT7cv-fT.cjs"),n=require("./text-field-BG6dB1fv.cjs");let r=require("lit"),i=require("lit/decorators.js"),a=require("@luzmo/icons");var o=`@media (forced-colors:active){:host{--highcontrast-helptext-content-color-default:CanvasText;--highcontrast-helptext-icon-color-default:CanvasText}:host,.text,.icon{forced-color-adjust:none}}:host{--helptext-bottom-to-workflow-icon:3px;color:var(--highcontrast-helptext-content-color-default,var(--luzmo-helptext-content-color-default,var(--helptext-content-color-default)));font-family:var(--luzmo-helptext-font-family,var(--luzmo-font-family));font-weight:var(--luzmo-helptext-font-weight,var(--luzmo-font-weight));font-size:var(--luzmo-helptext-font-size,var(--helptext-font-size,var(--luzmo-font-size-s)));min-block-size:var(--luzmo-helptext-min-height,var(--helptext-min-height,24px));display:flex}.icon{block-size:var(--luzmo-helptext-icon-size,var(--helptext-icon-size,18px));inline-size:var(--luzmo-helptext-icon-size,var(--helptext-icon-size,18px));flex-shrink:0;margin-inline-end:var(--luzmo-helptext-text-to-visual,var(--helptext-text-to-visual,7px));padding-block-start:var(--luzmo-helptext-top-to-workflow-icon,var(--helptext-top-to-workflow-icon,3px));padding-block-end:var(--luzmo-helptext-bottom-to-workflow-icon,var(--helptext-bottom-to-workflow-icon,3px))}.text{line-height:var(--luzmo-helptext-line-height,var(--helptext-line-height,1.3));padding-block-start:var(--luzmo-helptext-top-to-text,var(--helptext-top-to-text,4px));padding-block-end:var(--luzmo-helptext-bottom-to-text,var(--helptext-bottom-to-text,5px))}:host(:lang(ja)) .text,:host(:lang(ko)) .text,:host(:lang(zh)) .text{line-height:var(--luzmo-helptext-line-height-cjk,var(--helptext-line-height-cjk,1.4))}:host([variant=neutral]) .text{color:var(--highcontrast-helptext-content-color-default,var(--luzmo-helptext-content-color-default,var(--helptext-content-color-default)))}:host([variant=neutral]) .icon{color:var(--highcontrast-helptext-icon-color-default,var(--luzmo-helptext-icon-color-default,var(--helptext-icon-color-default)))}:host([variant=negative]) .text{color:var(--highcontrast-helptext-content-color-default,var(--luzmo-helptext-content-color-default,var(--luzmo-negative-color-down)))}:host([variant=negative]) .icon{color:var(--highcontrast-helptext-icon-color-default,var(--luzmo-helptext-icon-color-default,var(--helptext-icon-color-default)))}:host([disabled]) .text{color:var(--highcontrast-helptext-content-color-default,var(--luzmo-helptext-content-color-default,var(--luzmo-font-color)))}:host([disabled]) .icon{color:var(--highcontrast-helptext-icon-color-default,var(--luzmo-helptext-icon-color-default,var(--helptext-icon-color-default)))}:host{--helptext-line-height:1.3;--helptext-content-color-default:var(--luzmo-font-color);--helptext-icon-color-default:var(--luzmo-font-color);--helptext-disabled-content-color:var(--luzmo-font-color-disabled)}:host([variant=neutral]){--helptext-content-color-default:var(--luzmo-font-color);--helptext-icon-color-default:var(--luzmo-font-color)}:host([variant=negative]){--helptext-content-color-default:var(--luzmo-negative-color);--helptext-icon-color-default:var(--luzmo-negative-color)}:host([disabled]){--helptext-content-color-default:var(--luzmo-font-color-disabled);--helptext-icon-color-default:var(--luzmo-font-color-disabled)}:host(:lang(ja)),:host(:lang(zh)),:host(:lang(ko)){--helptext-line-height-cjk:1.4}:host([size=s]){--helptext-min-height:24px;--helptext-icon-size:16px;--helptext-font-size:12px;--helptext-text-to-visual:7px;--helptext-top-to-workflow-icon:4px;--helptext-top-to-text:4px;--helptext-bottom-to-text:5px}:host{--helptext-min-height:24px;--helptext-icon-size:18px;--helptext-font-size:12px;--helptext-text-to-visual:7px;--helptext-top-to-workflow-icon:3px;--helptext-top-to-text:4px;--helptext-bottom-to-text:5px}:host([size=l]){--helptext-min-height:32px;--helptext-icon-size:20px;--helptext-font-size:14px;--helptext-text-to-visual:8px;--helptext-top-to-workflow-icon:6px;--helptext-top-to-text:6px;--helptext-bottom-to-text:5px}:host([size=xl]){--helptext-min-height:40px;--helptext-icon-size:22px;--helptext-font-size:16px;--helptext-text-to-visual:9px;--helptext-top-to-workflow-icon:9px;--helptext-top-to-text:9px;--helptext-bottom-to-text:12px}`,s=class extends t.n(e.n,{noDefaultSize:!0}){constructor(...e){super(...e),this.icon=!1,this.variant=`neutral`}static get styles(){return[(0,r.unsafeCSS)(o)]}render(){return r.html`
|
|
19
|
-
${this.variant===`negative`&&this.icon?r.html` ${(0,a.luzmoIcon)(a.luzmoClose14)} `:r.nothing}
|
|
20
|
-
<div class="text"><slot></slot></div>
|
|
21
|
-
`}};e.t([(0,i.property)({type:Boolean,reflect:!0})],s.prototype,`icon`,void 0),e.t([(0,i.property)({reflect:!0})],s.prototype,`variant`,void 0),customElements.get(`luzmo-text-field`)||customElements.define(`luzmo-text-field`,n.t),customElements.get(`luzmo-help-text`)||customElements.define(`luzmo-help-text`,s),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
|
|
@@ -1,51 +0,0 @@
|
|
|
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("./focus-visible-eQdwUM9k.cjs");require("./close-button-BQUJeFCq.cjs");let n=require("lit"),r=require("lit/decorators.js"),i=require("@luzmo/icons");var a=`@media (forced-colors:active){:host{--highcontrast-toast-border-color:ButtonText;border:var(--luzmo-toast-border-width,var(--toast-border-width)) solid var(--highcontrast-toast-border-color,transparent)}}:host{font-family:var(--luzmo-font-family);box-sizing:border-box;min-block-size:var(--luzmo-toast-block-size,var(--toast-block-size));max-inline-size:var(--luzmo-toast-max-inline-size,var(--toast-max-inline-size));border-radius:var(--luzmo-toast-border-radius,var(--toast-border-radius));font-size:var(--luzmo-toast-font-size,var(--toast-font-size));font-weight:var(--luzmo-toast-font-weight,var(--toast-font-weight));-webkit-font-smoothing:antialiased;background-color:var(--highcontrast-toast-background-color-default,var(--luzmo-toast-background-color-default,var(--toast-background-color-default)));color:var(--highcontrast-toast-background-color-default,var(--luzmo-toast-background-color-default,var(--toast-background-color-default)));overflow-wrap:anywhere;flex-direction:row;align-items:stretch;padding-inline-start:var(--luzmo-toast-spacing-start-edge-to-text-and-icon,var(--toast-spacing-start-edge-to-text-and-icon));display:inline-flex}:host([variant=negative]){background-color:var(--highcontrast-toast-negative-background-color-default,var(--luzmo-toast-negative-background-color-default,var(--toast-negative-background-color-default)))}:host([variant=negative]),:host([variant=negative]) .closeButton:focus-visible:not(:active){color:var(--highcontrast-toast-negative-background-color-default,var(--luzmo-toast-negative-background-color-default,var(--toast-negative-background-color-default)))}:host([variant=info]){background-color:var(--highcontrast-toast-informative-background-color-default,var(--luzmo-toast-informative-background-color-default,var(--toast-informative-background-color-default)))}:host([variant=info]),:host([variant=info]) .closeButton:focus-visible:not(:active){color:var(--highcontrast-toast-informative-background-color-default,var(--luzmo-toast-informative-background-color-default,var(--toast-informative-background-color-default)))}:host([variant=positive]){background-color:var(--highcontrast-toast-positive-background-color-default,var(--luzmo-toast-positive-background-color-default,var(--toast-positive-background-color-default)))}:host([variant=positive]),:host([variant=positive]) .closeButton:focus-visible:not(:active){color:var(--highcontrast-toast-positive-background-color-default,var(--luzmo-toast-positive-background-color-default,var(--toast-positive-background-color-default)))}.type{flex-grow:0;flex-shrink:0;margin-block-start:var(--luzmo-toast-spacing-top-edge-to-icon,var(--toast-spacing-top-edge-to-icon));margin-inline-start:0;margin-inline-end:var(--luzmo-toast-spacing-icon-to-text,var(--toast-spacing-icon-to-text))}.content,.type{color:var(--highcontrast-toast-text-and-icon-color,var(--luzmo-toast-text-and-icon-color,var(--toast-text-and-icon-color)))}.content{box-sizing:border-box;line-height:var(--luzmo-toast-line-height,var(--toast-line-height));text-align:start;flex:auto;padding-block-start:calc(var(--luzmo-toast-spacing-top-edge-to-text,var(--toast-spacing-top-edge-to-text)) - var(--luzmo-toast-spacing-block-start,var(--toast-spacing-block-start)));padding-block-end:calc(var(--luzmo-toast-spacing-bottom-edge-to-text,var(--toast-spacing-bottom-edge-to-text)) - var(--luzmo-toast-spacing-block-end,var(--toast-spacing-block-end)));padding-inline-start:0;padding-inline-end:var(--luzmo-toast-spacing-text-to-action-button-horizontal,var(--toast-spacing-text-to-action-button-horizontal));display:inline-block}.content:lang(ja),.content:lang(ko),.content:lang(zh){line-height:var(--luzmo-toast-line-height-cjk,var(--toast-line-height-cjk))}.buttons{border-inline-start-color:var(--luzmo-toast-divider-color,var(--toast-divider-color));flex:none;align-items:flex-start;margin-block-start:var(--luzmo-toast-spacing-top-edge-to-divider,var(--toast-spacing-top-edge-to-divider));margin-block-end:var(--luzmo-toast-spacing-bottom-edge-to-divider,var(--toast-spacing-bottom-edge-to-divider));padding-inline-end:var(--luzmo-toast-spacing-close-button,var(--toast-spacing-close-button));display:flex}.buttons .luzmo-CloseButton{align-self:flex-start}.body{flex-wrap:wrap;flex:auto;align-self:center;align-items:center;padding-block-start:var(--luzmo-toast-spacing-block-start,var(--toast-spacing-block-start));padding-block-end:var(--luzmo-toast-spacing-block-end,var(--toast-spacing-block-end));display:flex}.body ::slotted([slot=action]){margin-inline-start:auto;margin-inline-end:var(--luzmo-toast-spacing-text-and-action-button-to-divider,var(--toast-spacing-text-and-action-button-to-divider))}.body ::slotted([slot=action]:dir(rtl)),:host([dir=rtl]) .body ::slotted([slot=action]){margin-inline-end:var(--luzmo-toast-spacing-text-and-action-button-to-divider,var(--toast-spacing-text-and-action-button-to-divider))}.body+.buttons{border-inline-start-style:solid;border-inline-start-width:1px;padding-inline-start:var(--luzmo-toast-spacing-close-button,var(--toast-spacing-close-button))}:host{--toast-background-color-default:#505050;--toast-font-weight:var(--luzmo-font-weight);--toast-font-size:var(--luzmo-font-size);--toast-border-radius:var(--luzmo-border-radius);--toast-block-size:var(--luzmo-component-height);--toast-max-inline-size:360px;--toast-border-width:var(--luzmo-border-width);--toast-line-height:var(--luzmo-line-height);--toast-line-height-cjk:1.5;--toast-spacing-icon-to-text:calc(var(--luzmo-spacing-3));--toast-spacing-start-edge-to-text-and-icon:var(--luzmo-spacing-5);--toast-spacing-text-and-action-button-to-divider:var(--luzmo-spacing-5);--toast-spacing-top-edge-to-divider:var(--luzmo-spacing-3);--toast-spacing-bottom-edge-to-divider:var(--luzmo-spacing-3);--toast-spacing-top-edge-to-icon:calc(var(--luzmo-spacing-5));--toast-spacing-text-to-action-button-horizontal:var(--luzmo-spacing-5);--toast-spacing-close-button:var(--luzmo-spacing-3);--toast-spacing-block-start:var(--luzmo-spacing-3);--toast-spacing-block-end:var(--luzmo-spacing-3);--toast-spacing-top-edge-to-text:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--toast-spacing-bottom-edge-to-text:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--toast-negative-background-color-default:var(--luzmo-negative-color);--toast-positive-background-color-default:var(--luzmo-positive-color);--toast-informative-background-color-default:var(--luzmo-informative-color);--toast-text-and-icon-color:#fff;--toast-divider-color:#fff3;--overlay-animation-distance:var(--spacing-100);--overlay-animation-duration:var(--animation-duration-100);opacity:0;pointer-events:none;transition:transform var(--overlay-animation-duration) ease-in-out, opacity var(--overlay-animation-duration) ease-in-out, visibility 0s linear var(--overlay-animation-duration);visibility:hidden}:host([open]){opacity:1;pointer-events:auto;visibility:visible;transition-delay:0s}:host([variant=error]),:host([variant=warning]){background-color:var(--highcontrast-toast-negative-background-color-default,var(--luzmo-toast-negative-background-color-default,var(--toast-negative-background-color-default)))}:host([variant=negative]),:host([variant=negative]) .closeButton:focus-visible:not(:active),:host([variant=warning]),:host([variant=warning]) .closeButton:focus-visible:not(:active){color:var(--highcontrast-toast-negative-background-color-default,var(--luzmo-toast-negative-background-color-default,var(--toast-negative-background-color-default)))}`,o=[`negative`,`positive`,`info`],s=class extends t.t(e.n){constructor(...e){super(...e),this.open=!1,this._timeout=null,this._variant=``,this.countdownStart=0,this.nextCount=-1,this.doCountdown=e=>{this.countdownStart||=performance.now(),e-this.countdownStart>this._timeout?(this.shouldClose(),this.countdownStart=0):this.countdown()},this.countdown=()=>{cancelAnimationFrame(this.nextCount),this.nextCount=requestAnimationFrame(this.doCountdown)},this.holdCountdown=()=>{this.stopCountdown(),this.addEventListener(`focusout`,this.resumeCountdown)},this.resumeCountdown=()=>{this.removeEventListener(`focusout`,this.holdCountdown),this.countdown()}}static get styles(){return[(0,n.unsafeCSS)(a)]}set timeout(e){let t=e>0?Math.max(6e3,e):null,n=this.timeout;t&&this.countdownStart&&(this.countdownStart=performance.now()),this._timeout=t,this.requestUpdate(`timeout`,n)}get timeout(){return this._timeout}set variant(e){if(e===this.variant)return;let t=this.variant;o.includes(e)?(this.setAttribute(`variant`,e),this._variant=e):(this.removeAttribute(`variant`),this._variant=``),this.requestUpdate(`variant`,t)}get variant(){return this._variant}renderIcon(e,t){switch(e){case`info`:return n.html`
|
|
19
|
-
<luzmo-icon
|
|
20
|
-
.icon=${i.luzmoInfoCircleOutline}
|
|
21
|
-
label=${t||`Information`}
|
|
22
|
-
class="type"
|
|
23
|
-
></luzmo-icon>
|
|
24
|
-
`;case`negative`:return n.html`
|
|
25
|
-
<luzmo-icon
|
|
26
|
-
.icon=${i.luzmoAlertOutline}
|
|
27
|
-
label=${t||`Error`}
|
|
28
|
-
class="type"
|
|
29
|
-
></luzmo-icon>
|
|
30
|
-
`;case`positive`:return n.html`
|
|
31
|
-
<luzmo-icon
|
|
32
|
-
.icon=${i.luzmoCheckCircleOutline}
|
|
33
|
-
label=${t||`Success`}
|
|
34
|
-
class="type"
|
|
35
|
-
></luzmo-icon>
|
|
36
|
-
`;default:return n.html``}}startCountdown(){this.countdown(),this.addEventListener(`focusin`,this.holdCountdown)}stopCountdown(){cancelAnimationFrame(this.nextCount),this.countdownStart=0}shouldClose(){this.dispatchEvent(new CustomEvent(`close`,{composed:!0,bubbles:!0,cancelable:!0}))&&this.close()}close(){this.open=!1}render(){return n.html`
|
|
37
|
-
${this.renderIcon(this.variant,this.iconLabel)}
|
|
38
|
-
<div class="body" role="alert">
|
|
39
|
-
<div class="content">
|
|
40
|
-
<slot></slot>
|
|
41
|
-
</div>
|
|
42
|
-
<slot name="action"></slot>
|
|
43
|
-
</div>
|
|
44
|
-
<div class="buttons">
|
|
45
|
-
<luzmo-close-button
|
|
46
|
-
@click=${this.shouldClose}
|
|
47
|
-
label="Close"
|
|
48
|
-
static-color="white"
|
|
49
|
-
></luzmo-close-button>
|
|
50
|
-
</div>
|
|
51
|
-
`}updated(e){super.updated(e),e.has(`open`)&&(this.open?this.timeout&&this.startCountdown():this.timeout&&this.stopCountdown()),e.has(`timeout`)&&(this.timeout!==null&&this.open?this.startCountdown():this.stopCountdown())}};e.t([(0,r.property)({type:Boolean,reflect:!0})],s.prototype,`open`,void 0),e.t([(0,r.property)({type:Number})],s.prototype,`timeout`,null),e.t([(0,r.property)({type:String})],s.prototype,`variant`,null),e.t([(0,r.property)({type:String,attribute:`icon-label`})],s.prototype,`iconLabel`,void 0),customElements.get(`luzmo-toast`)||customElements.define(`luzmo-toast`,s),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/*! * Lucero - The design system for Luzmo.
|
|
2
|
-
*
|
|
3
|
-
* Copyright © 2025 Luzmo
|
|
4
|
-
* All rights reserved.
|
|
5
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
|
6
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
|
7
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
|
8
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
9
|
-
*
|
|
10
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
11
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
12
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
13
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
14
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
15
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
|
-
* SOFTWARE.
|
|
17
|
-
* */
|
|
18
|
-
const e=require("./decorate-Dq34MBGe.cjs"),t=require("./sized-mixin-BT7cv-fT.cjs"),n=require("./dependency-manger-BSaHw9ju.cjs"),r=require("./focusable-selectors-DJqGLTJo.cjs");let i=require("lit"),a=require("lit/decorators.js"),o=require("lit/directives/if-defined.js");var s=`#tooltip{pointer-events:none;visibility:hidden;opacity:0;transition:transform .13s ease-in-out,opacity .13s ease-in-out,visibility 0s linear .13s;transition:transform var(--luzmo-overlay-animation-duration,.13s) ease-in-out, opacity var(--luzmo-overlay-animation-duration,.13s) ease-in-out, visibility 0s linear var(--luzmo-overlay-animation-duration,.13s)}:host([open]) #tooltip{pointer-events:auto;visibility:visible;opacity:1;transition-delay:0s;transition-delay:var(--luzmo-overlay-animation-duration-opened,0s)}@media (forced-colors:active){#tooltip{border:1px solid #0000}#tip{--highcontrast-tooltip-background-color-default:CanvasText;--highcontrast-tooltip-background-color-informative:CanvasText;--highcontrast-tooltip-background-color-positive:CanvasText;--highcontrast-tooltip-background-color-negative:CanvasText;forced-color-adjust:none}}#tooltip{box-sizing:border-box;vertical-align:top;inline-size:auto;padding-inline:var(--luzmo-tooltip-spacing-inline,.688rem);border-radius:var(--luzmo-tooltip-border-radius,.313rem);block-size:auto;min-block-size:var(--luzmo-tooltip-height,1.875rem);max-inline-size:var(--luzmo-tooltip-max-inline-size,12.5rem);background-color:var(--highcontrast-tooltip-background-color-default,var(--luzmo-tooltip-background-color-default,#6d6d6d));color:var(--luzmo-tooltip-content-color,white);font-size:var(--luzmo-tooltip-font-size,var(--tooltip-font-size,.938rem));font-weight:var(--luzmo-tooltip-font-weight,400);line-height:var(--luzmo-tooltip-line-height,1.3);word-break:break-word;-webkit-font-smoothing:antialiased;cursor:default;-webkit-user-select:none;user-select:none;flex-direction:row;align-items:center;display:inline-flex;position:relative}:host(:lang(ja)) #tooltip,:host(:lang(ko)) #tooltip,:host(:lang(zh)) #tooltip{line-height:var(--luzmo-tooltip-cjk-line-height,1.5)}#tooltip p{margin:0}:host([variant=info]) #tooltip{background-color:var(--highcontrast-tooltip-background-color-informative,var(--luzmo-tooltip-background-color-informative,#0265dc))}:host([variant=positive]) #tooltip{background-color:var(--highcontrast-tooltip-background-color-positive,var(--luzmo-tooltip-background-color-positive,#007a4d))}:host([variant=negative]) #tooltip{background-color:var(--highcontrast-tooltip-background-color-negative,var(--luzmo-tooltip-background-color-negative,#d31510))}#tip{block-size:var(--luzmo-tooltip-tip-square-size,.625rem);inline-size:var(--luzmo-tooltip-tip-square-size,.625rem);background-color:var(--highcontrast-tooltip-background-color-default,var(--luzmo-tooltip-background-color-default,#6d6d6d));clip-path:polygon(0 calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset,.5px)), 50% var(--luzmo-tooltip-tip-height-percentage,50%), 100% calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset,.5px)));inset-block-start:100%;position:absolute;left:50%;transform:translate(-50%)}:host([variant=info]) #tooltip #tip{background-color:var(--highcontrast-tooltip-background-color-informative,var(--luzmo-tooltip-background-color-informative,#0265dc))}:host([variant=positive]) #tooltip #tip{background-color:var(--highcontrast-tooltip-background-color-positive,var(--luzmo-tooltip-background-color-positive,#007a4d))}:host([variant=negative]) #tooltip #tip{background-color:var(--highcontrast-tooltip-background-color-negative,var(--luzmo-tooltip-background-color-negative,#d31510))}:host([placement*=top]) #tooltip #tip,.luzmo-Tooltip--top-end #tip,.luzmo-Tooltip--top-left #tip,.luzmo-Tooltip--top-right #tip,.luzmo-Tooltip--top-start #tip{inset-block-start:100%}:host([placement*=bottom]) #tooltip #tip,.luzmo-Tooltip--bottom-end #tip,.luzmo-Tooltip--bottom-left #tip,.luzmo-Tooltip--bottom-right #tip,.luzmo-Tooltip--bottom-start #tip{clip-path:polygon(50% calc(100% - var(--luzmo-tooltip-tip-height-percentage,50%)), 0 calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset,.5px)), 100% calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset,.5px)));inset-block:auto 100%}.luzmo-Tooltip--bottom-end #tip,.luzmo-Tooltip--bottom-left #tip,.luzmo-Tooltip--bottom-right #tip,.luzmo-Tooltip--bottom-start #tip,.luzmo-Tooltip--top-end #tip,.luzmo-Tooltip--top-left #tip,.luzmo-Tooltip--top-right #tip,.luzmo-Tooltip--top-start #tip{transform:none}.luzmo-Tooltip--bottom-left #tip,.luzmo-Tooltip--top-left #tip{inset-inline-start:var(--luzmo-tooltip-pointer-corner-spacing,.313rem)}.luzmo-Tooltip--bottom-right #tip,.luzmo-Tooltip--top-right #tip{inset-inline:auto var(--luzmo-tooltip-pointer-corner-spacing,.313rem)}.luzmo-Tooltip--bottom-start #tip,.luzmo-Tooltip--top-start #tip{inset-inline:var(--luzmo-tooltip-pointer-corner-spacing,.313rem) auto}:host([dir=rtl]) .luzmo-Tooltip--bottom-start #tip,:host([dir=rtl]) .luzmo-Tooltip--top-start #tip{right:var(--luzmo-tooltip-pointer-corner-spacing,.313rem);left:auto}.luzmo-Tooltip--bottom-start #tip:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:var(--luzmo-tooltip-pointer-corner-spacing,.313rem);left:auto}.luzmo-Tooltip--top-start #tip:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:var(--luzmo-tooltip-pointer-corner-spacing,.313rem);left:auto}.luzmo-Tooltip--bottom-end #tip,.luzmo-Tooltip--top-end #tip{inset-inline:auto var(--luzmo-tooltip-pointer-corner-spacing,.313rem)}:host([dir=rtl]) .luzmo-Tooltip--bottom-end #tip,:host([dir=rtl]) .luzmo-Tooltip--top-end #tip{left:var(--luzmo-tooltip-pointer-corner-spacing,.313rem);right:auto}.luzmo-Tooltip--bottom-end #tip:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:var(--luzmo-tooltip-pointer-corner-spacing,.313rem);right:auto}.luzmo-Tooltip--top-end #tip:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:var(--luzmo-tooltip-pointer-corner-spacing,.313rem);right:auto}.luzmo-Tooltip--end #tip,.luzmo-Tooltip--end-bottom #tip,.luzmo-Tooltip--end-top #tip,:host([placement*=left]) #tooltip #tip,.luzmo-Tooltip--left-bottom #tip,.luzmo-Tooltip--left-top #tip,:host([placement*=right]) #tooltip #tip,.luzmo-Tooltip--right-bottom #tip,.luzmo-Tooltip--right-top #tip,.luzmo-Tooltip--start #tip,.luzmo-Tooltip--start-bottom #tip,.luzmo-Tooltip--start-top #tip{inset-block-start:50%;transform:translateY(-50%)}.luzmo-Tooltip--end-bottom #tip,.luzmo-Tooltip--end-top #tip,.luzmo-Tooltip--left-bottom #tip,.luzmo-Tooltip--left-top #tip,.luzmo-Tooltip--right-bottom #tip,.luzmo-Tooltip--right-top #tip,.luzmo-Tooltip--start-bottom #tip,.luzmo-Tooltip--start-top #tip{inset-block-start:auto;transform:none}.luzmo-Tooltip--end #tip,.luzmo-Tooltip--end-bottom #tip,.luzmo-Tooltip--end-top #tip,:host([placement*=right]) #tooltip #tip,.luzmo-Tooltip--right-bottom #tip,.luzmo-Tooltip--right-top #tip{clip-path:polygon(calc(100% - var(--luzmo-tooltip-tip-height-percentage,50%)) 50%, calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 100%, calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 0);inset-inline:auto 100%}:host([placement*=left]) #tooltip #tip,.luzmo-Tooltip--left-bottom #tip,.luzmo-Tooltip--left-top #tip,.luzmo-Tooltip--start #tip,.luzmo-Tooltip--start-bottom #tip,.luzmo-Tooltip--start-top #tip{clip-path:polygon(calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 0, calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 100%, var(--luzmo-tooltip-tip-height-percentage,50%) 50%);inset-inline-start:100%}.luzmo-Tooltip--end-top #tip,.luzmo-Tooltip--left-top #tip,.luzmo-Tooltip--right-top #tip,.luzmo-Tooltip--start-top #tip{inset-block-start:var(--luzmo-tooltip-pointer-corner-spacing,.313rem)}.luzmo-Tooltip--end-bottom #tip,.luzmo-Tooltip--left-bottom #tip,.luzmo-Tooltip--right-bottom #tip,.luzmo-Tooltip--start-bottom #tip{inset-block-end:var(--luzmo-tooltip-pointer-corner-spacing,.313rem)}:host([dir=rtl]) .luzmo-Tooltip--end #tip,:host([dir=rtl]) .luzmo-Tooltip--end-bottom #tip,:host([dir=rtl]) .luzmo-Tooltip--end-top #tip,:host([dir=rtl][placement*=left]) #tooltip #tip,:host([dir=rtl]) .luzmo-Tooltip--left-bottom #tip,:host([dir=rtl]) .luzmo-Tooltip--left-top #tip{clip-path:polygon(calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 0, calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 100%, var(--luzmo-tooltip-tip-height-percentage,50%) 50%);left:100%;right:auto}.luzmo-Tooltip--end #tip:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){clip-path:polygon(calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 0, calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 100%, var(--luzmo-tooltip-tip-height-percentage,50%) 50%);left:100%;right:auto}.luzmo-Tooltip--end-bottom #tip:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){clip-path:polygon(calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 0, calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 100%, var(--luzmo-tooltip-tip-height-percentage,50%) 50%);left:100%;right:auto}.luzmo-Tooltip--end-top #tip:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){clip-path:polygon(calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 0, calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 100%, var(--luzmo-tooltip-tip-height-percentage,50%) 50%);left:100%;right:auto}:host([placement*=left]) #tooltip #tip:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){clip-path:polygon(calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 0, calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 100%, var(--luzmo-tooltip-tip-height-percentage,50%) 50%);left:100%;right:auto}.luzmo-Tooltip--left-bottom #tip:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){clip-path:polygon(calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 0, calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 100%, var(--luzmo-tooltip-tip-height-percentage,50%) 50%);left:100%;right:auto}.luzmo-Tooltip--left-top #tip:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){clip-path:polygon(calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 0, calc(0% - var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 100%, var(--luzmo-tooltip-tip-height-percentage,50%) 50%);left:100%;right:auto}:host([dir=rtl][placement*=right]) #tooltip #tip,:host([dir=rtl]) .luzmo-Tooltip--right-bottom #tip,:host([dir=rtl]) .luzmo-Tooltip--right-top #tip,:host([dir=rtl]) .luzmo-Tooltip--start #tip,:host([dir=rtl]) .luzmo-Tooltip--start-bottom #tip,:host([dir=rtl]) .luzmo-Tooltip--start-top #tip{clip-path:polygon(var(--luzmo-tooltip-tip-height-percentage,50%) 50%, calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 100%, calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 0);left:auto;right:100%}:host([placement*=right]) #tooltip #tip:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){clip-path:polygon(var(--luzmo-tooltip-tip-height-percentage,50%) 50%, calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 100%, calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 0);left:auto;right:100%}.luzmo-Tooltip--right-bottom #tip:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){clip-path:polygon(var(--luzmo-tooltip-tip-height-percentage,50%) 50%, calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 100%, calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 0);left:auto;right:100%}.luzmo-Tooltip--right-top #tip:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){clip-path:polygon(var(--luzmo-tooltip-tip-height-percentage,50%) 50%, calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 100%, calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 0);left:auto;right:100%}.luzmo-Tooltip--start #tip:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){clip-path:polygon(var(--luzmo-tooltip-tip-height-percentage,50%) 50%, calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 100%, calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 0);left:auto;right:100%}.luzmo-Tooltip--start-bottom #tip:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){clip-path:polygon(var(--luzmo-tooltip-tip-height-percentage,50%) 50%, calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 100%, calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 0);left:auto;right:100%}.luzmo-Tooltip--start-top #tip:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){clip-path:polygon(var(--luzmo-tooltip-tip-height-percentage,50%) 50%, calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 100%, calc(100% + var(--luzmo-tooltip-tip-antialiasing-inset,.5px)) 0);left:auto;right:100%}::slotted([slot=icon]){inline-size:var(--luzmo-tooltip-icon-width,1.125rem);block-size:var(--luzmo-tooltip-icon-height,1.125rem);flex-shrink:0;align-self:flex-start;margin-block-start:var(--luzmo-tooltip-icon-spacing-block-start,.313rem);margin-inline-start:calc(var(--luzmo-tooltip-icon-spacing-inline-start,.563rem) - var(--luzmo-tooltip-spacing-inline,.688rem));margin-inline-end:var(--luzmo-tooltip-icon-spacing-inline-end,.563rem)}#label{line-height:var(--luzmo-tooltip-line-height,1.3);margin-block-start:var(--luzmo-tooltip-spacing-block-start,.313rem);margin-block-end:var(--luzmo-tooltip-spacing-block-end,.375rem)}#tooltip,:host([placement*=top]) #tooltip,.luzmo-Tooltip--top-end,.luzmo-Tooltip--top-left,.luzmo-Tooltip--top-right,.luzmo-Tooltip--top-start{margin-block-end:calc(var(--luzmo-tooltip-tip-block-size,.313rem) + var(--luzmo-tooltip-margin,0rem))}:host([open]) .luzmo-Tooltip--top-end,:host([open]) .luzmo-Tooltip--top-left,:host([open]) .luzmo-Tooltip--top-right,:host([open]) .luzmo-Tooltip--top-start,:host([placement*=top][open]) #tooltip,:host([open]) #tooltip{transform:translateY(calc(var(--luzmo-tooltip-animation-distance,.313rem) * -1))}:host([placement*=bottom]) #tooltip,.luzmo-Tooltip--bottom-end,.luzmo-Tooltip--bottom-left,.luzmo-Tooltip--bottom-right,.luzmo-Tooltip--bottom-start{margin-block-start:calc(var(--luzmo-tooltip-tip-block-size,.313rem) + var(--luzmo-tooltip-margin,0rem))}:host([open]) .luzmo-Tooltip--bottom-end,:host([open]) .luzmo-Tooltip--bottom-left,:host([open]) .luzmo-Tooltip--bottom-right,:host([open]) .luzmo-Tooltip--bottom-start,:host([placement*=bottom][open]) #tooltip{transform:translateY(var(--luzmo-tooltip-animation-distance,.313rem))}:host([placement*=right]) #tooltip,.luzmo-Tooltip--right-bottom,.luzmo-Tooltip--right-top{margin-left:calc(var(--luzmo-tooltip-tip-block-size,.313rem) + var(--luzmo-tooltip-margin,0rem))}:host([open]) .luzmo-Tooltip--right-bottom,:host([open]) .luzmo-Tooltip--right-top,:host([placement*=right][open]) #tooltip{transform:translateX(var(--luzmo-tooltip-animation-distance,.313rem))}:host([placement*=left]) #tooltip,.luzmo-Tooltip--left-bottom,.luzmo-Tooltip--left-top{margin-right:calc(var(--luzmo-tooltip-tip-block-size,.313rem) + var(--luzmo-tooltip-margin,0rem))}:host([open]) .luzmo-Tooltip--left-bottom,:host([open]) .luzmo-Tooltip--left-top,:host([placement*=left][open]) #tooltip{transform:translateX(calc(var(--luzmo-tooltip-animation-distance,.313rem) * -1))}.luzmo-Tooltip--start,.luzmo-Tooltip--start-bottom,.luzmo-Tooltip--start-top{margin-inline-end:calc(var(--luzmo-tooltip-tip-block-size,.313rem) + var(--luzmo-tooltip-margin,0rem))}:host([open]) .luzmo-Tooltip--start-bottom,:host([open]) .luzmo-Tooltip--start-top,:host([open]) .luzmo-Tooltip--start{transform:translateX(calc(var(--luzmo-tooltip-animation-distance,.313rem) * -1))}:is(:host([open]) .luzmo-Tooltip--start-bottom:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),:host([open]) .luzmo-Tooltip--start-top:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),:host([open]) .luzmo-Tooltip--start:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),:host([dir=rtl][open]) .luzmo-Tooltip--start-bottom,:host([dir=rtl][open]) .luzmo-Tooltip--start-top,:host([dir=rtl][open]) .luzmo-Tooltip--start){transform:translateX(var(--luzmo-tooltip-animation-distance,.313rem))}.luzmo-Tooltip--end,.luzmo-Tooltip--end-bottom,.luzmo-Tooltip--end-top{margin-inline-start:calc(var(--luzmo-tooltip-tip-block-size,.313rem) + var(--luzmo-tooltip-margin,0rem))}:host([open]) .luzmo-Tooltip--end-bottom,:host([open]) .luzmo-Tooltip--end-top,:host([open]) .luzmo-Tooltip--end{transform:translateX(var(--luzmo-tooltip-animation-distance,.313rem))}:is(:host([open]) .luzmo-Tooltip--end-bottom:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),:host([open]) .luzmo-Tooltip--end-top:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),:host([open]) .luzmo-Tooltip--end:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),:host([dir=rtl][open]) .luzmo-Tooltip--end-bottom,:host([dir=rtl][open]) .luzmo-Tooltip--end-top,:host([dir=rtl][open]) .luzmo-Tooltip--end){transform:translateX(calc(var(--luzmo-tooltip-animation-distance,.313rem) * -1))}:host{--luzmo-tooltip-background-color-default:#000;--tooltip-font-size:var(--luzmo-font-size);font-family:var(--luzmo-tooltip-font-family,var(--luzmo-font-family))}:host([size=s]){--tooltip-font-size:var(--luzmo-font-size-s)}:host([size=m]){--tooltip-font-size:var(--luzmo-font-size-m)}:host([size=l]){--tooltip-font-size:var(--luzmo-font-size-l)}:host([size=xl]){--tooltip-font-size:var(--luzmo-font-size-xl)}:host{white-space:initial;display:contents}#tooltip{inline-size:max-content}#tip{clip-path:polygon(0 -5%,50% 50%,100% -5%);width:.625rem!important;height:.625rem!important}#tip[style]{transform:none!important}:host(:not([placement*=top])) #tooltip{margin-bottom:0}:host([placement*=top]) #tooltip #tip{inset-block-start:100%}:host([placement*=bottom]) #tooltip #tip{clip-path:polygon(50% 50%,0 105%,100% 105%);inset-block-end:100%;top:auto}:host([placement*=left]) #tooltip #tip,:host([placement*=right]) #tooltip #tip{inset-block-start:50%;transform:translateY(-50%)}:host([placement*=right]) #tooltip #tip{clip-path:polygon(50% 50%,105% 100%,105% 0);inset-inline:calc(var(--luzmo-tooltip-tip-block-size,.313rem) * -2) 100%}:host([placement*=left]) #tooltip #tip{clip-path:polygon(-5% 0,-5% 100%,50% 50%);inset-inline-start:100%}luzmo-overlay:not(:defined){display:none}`,c=class extends HTMLElement{constructor(){super(),this._open=!1,this._placement=`top`,this.addEventListener(`luzmo-opened`,this.redispatchEvent),this.addEventListener(`luzmo-closed`,this.redispatchEvent)}redispatchEvent(e){e.stopPropagation(),this.tooltip.dispatchEvent(new CustomEvent(e.type,{bubbles:e.bubbles,composed:e.composed,detail:e.detail}))}get tooltip(){return this.getRootNode().host}static get observedAttributes(){return[`open`,`placement`]}attributeChangedCallback(e,t,n){switch(e){case`open`:this.open=n!==null;break;case`placement`:this.placement=n;break}}set open(e){this._open=e;let{tooltip:t}=this;t&&(t.open=e)}get open(){return this._open}set placement(e){this._placement=e;let{tooltip:t}=this;t&&(t.placement=e)}get placement(){return this._placement}get tipElement(){return this.tooltip.tipElement}};customElements.get(`luzmo-tooltip-openable`)||customElements.define(`luzmo-tooltip-openable`,c);var l=class extends t.n(e.n,{defaultSize:`s`}){constructor(...e){super(...e),this.delayed=!1,this.dependencyManager=new n.t(this),this.disabled=!1,this.showOnlyIfTruncated=!1,this.selfManaged=!1,this.offset=0,this._open=!1,this._variant=``,this.handleOpenOverlay=()=>{this.open=!0},this.handleCloseOverlay=()=>{this.open=!1},this._overlayDependencyRegistered=!1,this._triggerElement=null}static get styles(){return[(0,i.unsafeCSS)(s)]}get open(){return this._open}set open(e){e&&this.showOnlyIfTruncated&&!this.isContentTruncated()||(this._open=e)}get variant(){return this._variant}set variant(e){if(e!==this.variant){if([`info`,`positive`,`negative`].includes(e)){this.setAttribute(`variant`,e),this._variant=e;return}this.removeAttribute(`variant`),this._variant=``}}isContentTruncated(){let e=this.triggerElement;if(!e)return!1;if(this.truncatedElementSelector){let t=e.querySelector(this.truncatedElementSelector);if(t)return t.scrollWidth>t.clientWidth}return e.scrollWidth>e.clientWidth}forwardTransitionEvent(e){this.dispatchEvent(new TransitionEvent(e.type,{bubbles:!0,composed:!0,propertyName:e.propertyName}))}ensureOverlayDependency(){this._overlayDependencyRegistered||(this._overlayDependencyRegistered=!0,this.dependencyManager.add(`luzmo-overlay`),Promise.resolve().then(()=>require("./overlay/index.cjs")))}willUpdate(e){super.willUpdate(e),e.has(`selfManaged`)&&this.selfManaged&&this.ensureOverlayDependency()}set triggerElement(e){this._triggerElement=e,this.overlayElement&&(this.overlayElement.triggerElement=e)}get triggerElement(){return this._triggerElement||this.resolveSelfManagedTriggerElement()}resolveSelfManagedTriggerElement(){let e=this.assignedSlot||this,t=e.getRootNode();if(t===document)return null;let n=e.parentElement||t.host||t,i=0;for(;!n?.matches?.(r.t);){if(!n.isConnected)return null;let r=n;if(e=n.assignedSlot||n,t=e.getRootNode(),t===document||(n=e.parentElement||t.host||t,n===r||++i>1e3))return null}return n}render(){let e=i.html`
|
|
19
|
-
<luzmo-tooltip-openable
|
|
20
|
-
id="tooltip"
|
|
21
|
-
placement=${(0,o.ifDefined)(this.placement)}
|
|
22
|
-
@transitionrun=${this.forwardTransitionEvent}
|
|
23
|
-
@transitionend=${this.forwardTransitionEvent}
|
|
24
|
-
@transitioncancel=${this.forwardTransitionEvent}
|
|
25
|
-
>
|
|
26
|
-
<slot name="icon"></slot>
|
|
27
|
-
<span id="label"><slot></slot></span>
|
|
28
|
-
<span id="tip" aria-hidden="true"></span>
|
|
29
|
-
</luzmo-tooltip-openable>
|
|
30
|
-
`;return this.selfManaged?i.html`
|
|
31
|
-
<luzmo-overlay
|
|
32
|
-
?open=${this.open&&!this.disabled&&this.dependencyManager.loaded}
|
|
33
|
-
?delayed=${this.delayed}
|
|
34
|
-
?disabled=${this.disabled}
|
|
35
|
-
offset=${this.offset}
|
|
36
|
-
.placement=${this.placement}
|
|
37
|
-
type="hint"
|
|
38
|
-
.tipPadding=${this.tipPadding}
|
|
39
|
-
.triggerInteraction=${`hover`}
|
|
40
|
-
@luzmo-opened=${this.handleOpenOverlay}
|
|
41
|
-
@luzmo-closed=${this.handleCloseOverlay}
|
|
42
|
-
>
|
|
43
|
-
${e}
|
|
44
|
-
</luzmo-overlay>
|
|
45
|
-
`:e}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{if(!this.selfManaged||!this.isConnected)return;let e=this.overlayElement;e&&(e.triggerElement=this.triggerElement)})}disconnectedCallback(){this._triggerElement=null,super.disconnectedCallback()}};e.t([(0,a.property)({type:Boolean})],l.prototype,`delayed`,void 0),e.t([(0,a.property)({type:Boolean})],l.prototype,`disabled`,void 0),e.t([(0,a.property)({type:Boolean,attribute:`show-only-if-truncated`})],l.prototype,`showOnlyIfTruncated`,void 0),e.t([(0,a.property)({type:String,attribute:`truncated-element-selector`})],l.prototype,`truncatedElementSelector`,void 0),e.t([(0,a.property)({type:Boolean,attribute:`self-managed`})],l.prototype,`selfManaged`,void 0),e.t([(0,a.property)({type:Number})],l.prototype,`offset`,void 0),e.t([(0,a.property)({type:Boolean,reflect:!0})],l.prototype,`open`,null),e.t([(0,a.query)(`luzmo-overlay`)],l.prototype,`overlayElement`,void 0),e.t([(0,a.property)({reflect:!0})],l.prototype,`placement`,void 0),e.t([(0,a.query)(`#tip`)],l.prototype,`tipElement`,void 0),e.t([(0,a.property)({type:Number})],l.prototype,`tipPadding`,void 0),e.t([(0,a.property)({type:String})],l.prototype,`variant`,null),customElements.get(`luzmo-tooltip`)||customElements.define(`luzmo-tooltip`,l),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return l}});
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/*! * Lucero - The design system for Luzmo.
|
|
2
|
-
*
|
|
3
|
-
* Copyright © 2025 Luzmo
|
|
4
|
-
* All rights reserved.
|
|
5
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
|
6
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
|
7
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
|
8
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
9
|
-
*
|
|
10
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
11
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
12
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
13
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
14
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
15
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
|
-
* SOFTWARE.
|
|
17
|
-
* */
|
|
18
|
-
const e=require("./decorate-Dq34MBGe.cjs"),t=require("./sized-mixin-BT7cv-fT.cjs"),n=require("./focus-visible-eQdwUM9k.cjs"),r=require("./focusable-DTxxQ3yJ.cjs"),i=require("./roving-tabindex-BoPao4td.cjs"),a=require("./scaled-indicator-DLJIztx0.cjs");let o=require("lit"),s=require("lit/decorators.js"),c=require("lit/directives/if-defined.js"),l=require("@lit-labs/observers/intersection-controller.js"),u=require("@lit-labs/observers/resize-controller.js");var d=`#list{--top-nav-item-height:calc(var(--luzmo-component-height) + var(--luzmo-spacing-5));--top-nav-item-horizontal-spacing:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-3));--top-nav-top-to-text:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--top-nav-bottom-to-text:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--top-nav-focus-indicator-gap:var(--luzmo-spacing-3);--top-nav-font-size:var(--luzmo-font-size)}:host([size=s]) #list{--top-nav-item-height:calc(var(--luzmo-component-height-s) + var(--luzmo-spacing-4));--top-nav-item-horizontal-spacing:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-2));--top-nav-top-to-text:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--top-nav-bottom-to-text:var(--luzmo-spacing-4);--top-nav-focus-indicator-gap:var(--luzmo-spacing-3);--top-nav-font-size:var(--luzmo-font-size-s)}:host([size=l]) #list{--top-nav-item-height:calc(var(--luzmo-component-height-l) + var(--luzmo-spacing-5));--top-nav-item-horizontal-spacing:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-4));--top-nav-top-to-text:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--top-nav-bottom-to-text:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--top-nav-focus-indicator-gap:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--top-nav-font-size:var(--luzmo-font-size-l)}:host([size=xl]) #list{--top-nav-item-height:calc(var(--luzmo-component-height-xl) + var(--luzmo-spacing-5));--top-nav-item-horizontal-spacing:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-4));--top-nav-top-to-text:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--top-nav-bottom-to-text:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--top-nav-focus-indicator-gap:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--top-nav-font-size:var(--luzmo-font-size-xl)}`,f=`:host{display:block}#list{--top-nav-color:var(--luzmo-font-color);--top-nav-color-selected:var(--luzmo-font-color-down);--top-nav-color-hover:var(--luzmo-font-color-hover);--top-nav-color-key-focus:var(--luzmo-font-color-focus);--top-nav-color-disabled:var(--luzmo-disabled-color);--top-nav-font-family:var(--luzmo-font-family);--top-nav-font-style:var(--luzmo-font-style);--top-nav-font-size:var(--luzmo-font-size);--top-nav-font-weight:var(--luzmo-font-weight);--top-nav-line-height:var(--luzmo-line-height);--top-nav-focus-indicator-width:var(--luzmo-indicator-width);--top-nav-focus-indicator-border-radius:var(--luzmo-border-radius);--top-nav-focus-indicator-color:var(--luzmo-indicator-color);--top-nav-selection-indicator-color:var(--luzmo-font-color-down);--top-nav-divider-size:2px;--top-nav-divider-border-radius:1px;--top-nav-animation-duration:var(--luzmo-animation-duration);--top-nav-animation-ease:ease-in-out;z-index:0;vertical-align:top;background:linear-gradient(to top, var(--highcontrast-top-nav-divider-background-color,var(--luzmo-top-nav-divider-background-color,var(--top-nav-divider-background-color,var(--luzmo-border-color)))) 0 var(--luzmo-top-nav-divider-size,var(--top-nav-divider-size)), transparent var(--luzmo-top-nav-divider-size,var(--top-nav-divider-size)));align-items:center;margin:0;padding-block:0;display:flex;position:relative}::slotted(:not(:first-child)){margin-inline-start:var(--luzmo-top-nav-item-horizontal-spacing,var(--top-nav-item-horizontal-spacing))}::slotted([selected]){color:var(--highcontrast-top-nav-color-selected,var(--luzmo-top-nav-color-selected,var(--top-nav-color-selected)))}::slotted([disabled]){cursor:default;color:var(--highcontrast-top-nav-color-disabled,var(--luzmo-top-nav-color-disabled,var(--top-nav-color-disabled)))}#selection-indicator{background-color:var(--highcontrast-top-nav-selection-indicator-color,var(--luzmo-top-nav-selection-indicator-color,var(--top-nav-selection-indicator-color)));z-index:0;transition:transform var(--luzmo-top-nav-animation-duration,var(--top-nav-animation-duration)) var(--luzmo-top-nav-animation-ease,var(--top-nav-animation-ease));transform-origin:0 0;border-radius:var(--luzmo-top-nav-divider-border-radius,var(--top-nav-divider-border-radius));block-size:var(--luzmo-top-nav-divider-size,var(--top-nav-divider-size));width:100px;position:absolute;inset-block-end:0;inset-inline-start:0}#selection-indicator.first-position{transition:none}:host([quiet]) #list{--top-nav-quiet-unselected-opacity:.7;--top-nav-quiet-unselected-opacity-hover:.85;background:0 0;border-color:#0000;display:inline-flex}:host([quiet]) ::slotted(:not([selected])){opacity:var(--luzmo-top-nav-quiet-unselected-opacity,var(--top-nav-quiet-unselected-opacity))}:host([quiet]) ::slotted(:not([selected]):hover){opacity:var(--luzmo-top-nav-quiet-unselected-opacity-hover,var(--top-nav-quiet-unselected-opacity-hover))}:host([quiet]) #selection-indicator{display:none}@media (forced-colors:active){#list{--highcontrast-top-nav-divider-background-color:var(--luzmo-border-color);--highcontrast-top-nav-selection-indicator-color:Highlight;--highcontrast-top-nav-focus-indicator-color:CanvasText;--highcontrast-top-nav-color:ButtonText;--highcontrast-top-nav-color-hover:ButtonText;--highcontrast-top-nav-color-selected:HighlightText;--highcontrast-top-nav-color-key-focus:ButtonText;--highcontrast-top-nav-color-disabled:GrayText;forced-color-adjust:none}}#list{--top-nav-font-weight:var(--luzmo-font-weight);--top-nav-divider-background-color:var(--luzmo-border-color)}`,p=class extends t.n(r.t,{noDefaultSize:!0}){static get styles(){return[(0,o.unsafeCSS)(f),(0,o.unsafeCSS)(d)]}set items(e){e!==this.items&&(this._items.forEach(e=>{this.resizeController.unobserve(e)}),e.forEach(e=>{this.resizeController.observe(e)}),this._items=e,this.rovingTabindexController.clearElementCache())}get items(){return this._items}constructor(){super(),this.label=``,this.quiet=!1,this.selected=``,this.selectionIndicatorStyle=a.t.noSelectionStyle,this.shouldAnimate=!1,this._items=[],this.resizeController=new u.ResizeController(this,{callback:()=>{this.updateSelectionIndicator()}}),this.rovingTabindexController=new i.t(this,{focusInIndex:e=>{let t=0;return e.find((e,n)=>{let r=this.selected?e.value===this.selected:!e.disabled;return t=n,r})?t:-1},direction:()=>`horizontal`,elementEnterAction:e=>{this.shouldAnimate=!0,this.selectTarget(e)},elements:()=>this.items,isFocusableElement:e=>!this.disabled&&!e.disabled,listenerScope:()=>this.listEl}),this.onClick=e=>{if(this.disabled)return;let t=e.composedPath().find(e=>e.parentElement===this);!t||t.disabled||(e.preventDefault(),this.shouldAnimate=!0,this.selectTarget(t))},this.onKeyDown=e=>{if(e.code===`Enter`||e.code===`Space`){e.preventDefault();let t=e.target;t&&this.selectTarget(t)}},this.updateCheckedState=()=>{if(this.items.forEach(e=>{e.removeAttribute(`selected`)}),this.selected){let e=this.items.find(e=>e.value===this.selected);e?e.selected=!0:this.selected=``}else{let e=this.items[0];e&&e.setAttribute(`tabindex`,`0`)}this.updateSelectionIndicator()},this.updateSelectionIndicator=async()=>{let e=this.items.find(e=>e.selected);if(!e||this.quiet){this.selectionIndicatorStyle=a.t.noSelectionStyle;return}await Promise.all([e.updateComplete,document.fonts?document.fonts.ready:Promise.resolve()]);let t=e.getBoundingClientRect(),n=this.listEl.getBoundingClientRect(),r=t.left-n.left;this.selectionIndicatorStyle=a.t.transformX(r,t.width)},new l.IntersectionController(this,{config:{root:null,rootMargin:`0px`,threshold:[0,1]},callback:()=>{this.updateSelectionIndicator()}})}get focusElement(){return this.rovingTabindexController.focusInElement||this}render(){return o.html`
|
|
19
|
-
<div
|
|
20
|
-
@click=${this.onClick}
|
|
21
|
-
@keydown=${this.onKeyDown}
|
|
22
|
-
id="list"
|
|
23
|
-
>
|
|
24
|
-
<slot @slotchange=${this.onSlotChange}></slot>
|
|
25
|
-
<div
|
|
26
|
-
id="selection-indicator"
|
|
27
|
-
class=${(0,c.ifDefined)(this.shouldAnimate?void 0:`first-position`)}
|
|
28
|
-
style=${this.selectionIndicatorStyle}
|
|
29
|
-
role="presentation"
|
|
30
|
-
></div>
|
|
31
|
-
</div>
|
|
32
|
-
`}willUpdate(e){if(!this.hasUpdated){let e=this.querySelector(`:scope > [selected]`);e&&this.selectTarget(e)}super.willUpdate(e),e.has(`selected`)&&this.items.length>0&&this.updateCheckedState(),e.has(`quiet`)&&this.updateSelectionIndicator(),e.has(`label`)&&(this.label?this.setAttribute(`aria-label`,this.label):this.removeAttribute(`aria-label`)),e.has(`disabled`)&&(this.disabled?this.setAttribute(`aria-disabled`,`true`):this.removeAttribute(`aria-disabled`)),!this.shouldAnimate&&e.get(`shouldAnimate`)!==void 0&&(this.shouldAnimate=!0)}firstUpdated(e){super.firstUpdated(e),this.hasAttribute(`role`)||this.setAttribute(`role`,`navigation`),this.label&&this.setAttribute(`aria-label`,this.label)}selectTarget(e){let t=e.getAttribute(`value`);if(t){let e=this.selected;this.selected=t,this.dispatchEvent(new Event(`change`,{cancelable:!0}))||(this.selected=e)}}onSlotChange(){this.items=this.slotEl.assignedElements().filter(e=>e.tagName.toLowerCase()===`luzmo-top-nav-item`),this.updateCheckedState()}connectedCallback(){super.connectedCallback(),window.addEventListener(`resize`,this.updateSelectionIndicator),`fonts`in document&&document.fonts.addEventListener(`loadingdone`,this.updateSelectionIndicator)}disconnectedCallback(){window.removeEventListener(`resize`,this.updateSelectionIndicator),`fonts`in document&&document.fonts.removeEventListener(`loadingdone`,this.updateSelectionIndicator),super.disconnectedCallback()}};e.t([(0,s.property)()],p.prototype,`label`,void 0),e.t([(0,s.property)({type:Boolean,reflect:!0})],p.prototype,`quiet`,void 0),e.t([(0,s.property)({reflect:!0})],p.prototype,`selected`,void 0),e.t([(0,s.property)({attribute:!1})],p.prototype,`selectionIndicatorStyle`,void 0),e.t([(0,s.property)({attribute:!1})],p.prototype,`shouldAnimate`,void 0),e.t([(0,s.query)(`slot`)],p.prototype,`slotEl`,void 0),e.t([(0,s.query)(`#list`)],p.prototype,`listEl`,void 0);var m=`:host{font-family:var(--luzmo-top-nav-font-family,var(--luzmo-font-family));box-sizing:border-box;block-size:calc(var(--luzmo-top-nav-item-height,var(--top-nav-item-height)) - var(--luzmo-top-nav-divider-size,var(--top-nav-divider-size)));z-index:1;white-space:nowrap;color:var(--highcontrast-top-nav-color,var(--luzmo-top-nav-color,var(--top-nav-color)));transition:color var(--luzmo-top-nav-animation-duration,var(--top-nav-animation-duration)) ease-out;cursor:pointer;outline:none;align-items:center;-webkit-text-decoration:none;text-decoration:none;display:inline-flex;position:relative}:host:before{content:"";box-sizing:border-box;block-size:calc(100% - var(--luzmo-top-nav-top-to-text,var(--top-nav-top-to-text)));inline-size:calc(100% + var(--luzmo-top-nav-focus-indicator-gap,var(--top-nav-focus-indicator-gap)) * 2);border-radius:var(--luzmo-top-nav-focus-indicator-border-radius,var(--top-nav-focus-indicator-border-radius));pointer-events:none;position:absolute;inset-block-start:calc(var(--luzmo-top-nav-top-to-text,var(--top-nav-top-to-text)) / 2);inset-inline-start:calc(var(--luzmo-top-nav-focus-indicator-gap,var(--top-nav-focus-indicator-gap)) * -1);inset-inline-end:calc(var(--luzmo-top-nav-focus-indicator-gap,var(--top-nav-focus-indicator-gap)) * -1);border:var(--luzmo-top-nav-focus-indicator-width,var(--top-nav-focus-indicator-width)) solid transparent!important}@media (hover:hover){:host(:hover){color:var(--highcontrast-top-nav-color-hover,var(--luzmo-top-nav-color-hover,var(--top-nav-color-hover)))}}:host([selected]){color:var(--highcontrast-top-nav-color-selected,var(--luzmo-top-nav-color-selected,var(--top-nav-color-selected)))}:host([disabled]){cursor:default;pointer-events:none;color:var(--highcontrast-top-nav-color-disabled,var(--luzmo-top-nav-color-disabled,var(--top-nav-color-disabled)))}:host(:focus-visible){color:var(--highcontrast-top-nav-color-key-focus,var(--luzmo-top-nav-color-key-focus,var(--top-nav-color-key-focus)))}:host(:focus-visible):before{border-color:var(--highcontrast-top-nav-focus-indicator-color,var(--luzmo-top-nav-focus-indicator-color,var(--top-nav-focus-indicator-color)))!important}#item-label{cursor:pointer;font-family:inherit;font-style:var(--luzmo-top-nav-font-style,var(--top-nav-font-style));font-size:var(--luzmo-top-nav-font-size,var(--top-nav-font-size));font-weight:var(--luzmo-top-nav-font-weight,var(--top-nav-font-weight));line-height:var(--luzmo-top-nav-line-height,var(--top-nav-line-height));color:inherit;outline:none;-webkit-text-decoration:none;text-decoration:none;display:inline-block}:host([disabled]) #item-label{cursor:default}`,h=class extends n.t(e.n){constructor(...e){super(...e),this.href=``,this.selected=!1,this.disabled=!1,this.value=``}static get styles(){return[(0,o.unsafeCSS)(m)]}render(){return o.html`
|
|
33
|
-
<a
|
|
34
|
-
id="item-label"
|
|
35
|
-
href=${(0,c.ifDefined)(this.href||void 0)}
|
|
36
|
-
target=${(0,c.ifDefined)(this.target)}
|
|
37
|
-
download=${(0,c.ifDefined)(this.download)}
|
|
38
|
-
rel=${(0,c.ifDefined)(this.rel)}
|
|
39
|
-
aria-label=${(0,c.ifDefined)(this.label)}
|
|
40
|
-
aria-current=${(0,c.ifDefined)(this.selected&&this.href?`page`:void 0)}
|
|
41
|
-
tabindex="-1"
|
|
42
|
-
>
|
|
43
|
-
<slot></slot>
|
|
44
|
-
</a>
|
|
45
|
-
`}firstUpdated(e){super.firstUpdated(e)}updated(e){super.updated(e),this.anchorElement&&this.anchorElement.href&&!this.value&&(this.value=this.anchorElement.href),e.has(`disabled`)&&(this.disabled?this.setAttribute(`aria-disabled`,`true`):this.removeAttribute(`aria-disabled`))}click(){this.anchorElement&&this.anchorElement.click()}get focusElement(){return this}};e.t([(0,s.property)({reflect:!0})],h.prototype,`href`,void 0),e.t([(0,s.property)({reflect:!0})],h.prototype,`target`,void 0),e.t([(0,s.property)({reflect:!0})],h.prototype,`download`,void 0),e.t([(0,s.property)({reflect:!0})],h.prototype,`rel`,void 0),e.t([(0,s.property)()],h.prototype,`label`,void 0),e.t([(0,s.property)({type:Boolean,reflect:!0})],h.prototype,`selected`,void 0),e.t([(0,s.property)({type:Boolean,reflect:!0})],h.prototype,`disabled`,void 0),e.t([(0,s.property)({type:String,reflect:!0})],h.prototype,`value`,void 0),e.t([(0,s.query)(`a`)],h.prototype,`anchorElement`,void 0),customElements.get(`luzmo-top-nav`)||customElements.define(`luzmo-top-nav`,p),customElements.get(`luzmo-top-nav-item`)||customElements.define(`luzmo-top-nav-item`,h),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return h}});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/components/{slottable-request-event-MRSZbgTu.js → slottable-request-event-DZ2Z_BLk.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|