@luzmo/lucero 0.0.4 → 0.0.8
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/accordion-item.d.ts +24 -0
- package/components/accordion/accordion.d.ts +42 -0
- package/components/accordion/index.cjs +43 -0
- package/components/accordion/index.d.ts +10 -0
- package/{lib → components}/accordion/index.js +10 -11
- package/components/action-bar/action-bar.d.ts +42 -0
- package/components/action-bar/index.cjs +39 -0
- package/components/action-bar/index.d.ts +7 -0
- package/{lib → components}/action-bar/index.js +9 -10
- package/components/action-button/action-button.d.ts +81 -0
- package/components/action-button/index.cjs +24 -0
- package/components/action-button/index.d.ts +7 -0
- package/{lib → components}/action-button/index.js +6 -7
- package/components/action-group/action-group.d.ts +50 -0
- package/{lib → components}/action-group/index.cjs +1 -1
- package/components/action-group/index.d.ts +7 -0
- package/{lib → components}/action-group/index.js +1 -1
- package/components/action-group-Uimj-MJP.cjs +20 -0
- package/{lib/action-group-BoIH8s8R.js → components/action-group-enfc-YnW.js} +11 -12
- package/components/action-menu/action-menu.d.ts +40 -0
- package/{lib → components}/action-menu/index.cjs +5 -5
- package/components/action-menu/index.d.ts +7 -0
- package/{lib → components}/action-menu/index.js +10 -11
- package/{lib/async-directive-FGzMycjH.js → components/async-directive-DWRUSKKF.js} +1 -1
- package/{lib/async-directive-CV2MII86.cjs → components/async-directive-D_Ter1F8.cjs} +1 -1
- package/components/avatar/avatar.d.ts +31 -0
- package/components/avatar/index.cjs +24 -0
- package/components/avatar/index.d.ts +7 -0
- package/{lib → components}/avatar/index.js +13 -14
- package/components/base-B7Pfl2if.cjs +40 -0
- package/components/base-CawdqE7p.js +666 -0
- package/components/button/button-base.d.ts +44 -0
- package/components/button/button.d.ts +59 -0
- package/components/button/clear-button.d.ts +22 -0
- package/components/button/close-button.d.ts +24 -0
- package/components/button/index.cjs +20 -0
- package/components/button/index.d.ts +13 -0
- package/{lib → components}/button/index.js +11 -12
- package/{lib/button-base-DgtT6sU5.js → components/button-base-B7v4eeRh.js} +13 -12
- package/components/button-base-DmjYs2s9.cjs +25 -0
- package/components/button-group/button-group.d.ts +19 -0
- package/components/button-group/index.cjs +18 -0
- package/components/button-group/index.d.ts +7 -0
- package/{lib → components}/button-group/index.js +7 -8
- package/components/checkbox/checkbox-base.d.ts +9 -0
- package/components/checkbox/checkbox-mixin.d.ts +14 -0
- package/components/checkbox/checkbox.d.ts +54 -0
- package/components/checkbox/index.cjs +25 -0
- package/components/checkbox/index.d.ts +7 -0
- package/{lib → components}/checkbox/index.js +5 -6
- package/{lib/checkbox-mixin-DegQlk5C.js → components/checkbox-mixin-BFGTmw17.js} +15 -16
- package/{lib/checkbox-mixin-H0Hm-VLk.cjs → components/checkbox-mixin-DUhXwD46.cjs} +3 -3
- package/{lib/clear-button-Ap5H3UyH.js → components/clear-button-DgZmX5RX.js} +9 -10
- package/components/clear-button-KdrF2jaV.cjs +18 -0
- package/{lib/close-button-CGISEF33.js → components/close-button-CFHQnbsK.js} +7 -8
- package/components/close-button-DVGUppyd.cjs +18 -0
- package/components/color-area/color-area.d.ts +67 -0
- package/components/color-area/index.cjs +80 -0
- package/components/color-area/index.d.ts +7 -0
- package/{lib → components}/color-area/index.js +11 -11
- package/components/color-field/color-field.d.ts +20 -0
- package/components/color-field/index.cjs +23 -0
- package/components/color-field/index.d.ts +7 -0
- package/{lib → components}/color-field/index.js +2 -3
- package/components/color-handle/color-handle.d.ts +13 -0
- package/components/color-handle/index.cjs +24 -0
- package/components/color-handle/index.d.ts +7 -0
- package/{lib → components}/color-handle/index.js +2 -3
- package/components/color-loupe/color-loupe.d.ts +7 -0
- package/{lib → components}/color-loupe/index.cjs +1 -1
- package/components/color-loupe/index.d.ts +7 -0
- package/{lib → components}/color-loupe/index.js +1 -1
- package/{lib/color-loupe-DBEApMDT.js → components/color-loupe-DxcqXoJ6.js} +3 -4
- package/components/color-loupe-SskbNeMp.cjs +56 -0
- package/components/color-menu/color-menu.d.ts +54 -0
- package/components/color-menu/index.cjs +86 -0
- package/components/color-menu/index.d.ts +7 -0
- package/{lib → components}/color-menu/index.js +9 -10
- package/components/color-picker/color-picker.d.ts +39 -0
- package/components/color-picker/index.cjs +48 -0
- package/components/color-picker/index.d.ts +7 -0
- package/{lib → components}/color-picker/index.js +33 -34
- package/components/color-slider/color-slider.d.ts +57 -0
- package/components/color-slider/index.cjs +57 -0
- package/components/color-slider/index.d.ts +7 -0
- package/{lib → components}/color-slider/index.js +6 -6
- package/{lib/directive-helpers-C2vOfhFx.cjs → components/directive-helpers-TkFq2eZF.cjs} +1 -1
- package/{lib/directive-helpers-BLDZnGQv.js → components/directive-helpers-nlQRAaQt.js} +1 -1
- package/components/divider/divider.d.ts +24 -0
- package/components/divider/index.cjs +18 -0
- package/components/divider/index.d.ts +7 -0
- package/{lib → components}/divider/index.js +6 -7
- package/components/field-group/field-group.d.ts +24 -0
- package/{lib → components}/field-group/index.cjs +1 -1
- package/components/field-group/index.d.ts +7 -0
- package/{lib → components}/field-group/index.js +1 -1
- package/{lib/field-group-CBWafIUV.js → components/field-group-DAhrTCfl.js} +2 -3
- package/components/field-group-DSY2HUoj.cjs +23 -0
- package/components/field-label/field-label.d.ts +50 -0
- package/{lib → components}/field-label/index.cjs +1 -1
- package/components/field-label/index.d.ts +7 -0
- package/{lib → components}/field-label/index.js +2 -2
- package/{lib/field-label-BK_tk8vP.js → components/field-label-CAFfGxEL.js} +15 -16
- package/components/field-label-CjsQ3ujK.cjs +25 -0
- package/{lib/focusable-Dv_6CFaY.cjs → components/focusable-DGWL1v1p.cjs} +1 -1
- package/{lib/focusable-DbUg-3Vp.js → components/focusable-cj2QhwDT.js} +1 -1
- package/components/icon/icon-base.d.ts +11 -0
- package/components/icon/icon.d.ts +12 -0
- package/components/icon/index.cjs +18 -0
- package/components/icon/index.d.ts +7 -0
- package/{lib → components}/icon/index.js +4 -5
- package/{lib/if-defined-Cv6xanXh.cjs → components/if-defined-B56xGmAg.cjs} +2 -2
- package/{lib/if-defined-CYpcjGCb.js → components/if-defined-BSAr_4u4.js} +1 -1
- package/{lib/index-ovT-qVzf.js → components/index-CMvLpPKD.js} +8 -9
- package/{lib/index-yNcLzjhM.cjs → components/index-DnWavOZD.cjs} +15 -15
- package/components/index.cjs +18 -0
- package/{lib → components}/index.js +131 -90
- package/components/infield-button/index.cjs +22 -0
- package/components/infield-button/index.d.ts +7 -0
- package/{lib → components}/infield-button/index.js +3 -4
- package/components/infield-button/infield-button.d.ts +25 -0
- package/components/label/index.cjs +18 -0
- package/components/label/index.d.ts +7 -0
- package/{lib → components}/label/index.js +1 -2
- package/components/label/label.d.ts +7 -0
- package/components/language-resolution-8yZa5r_P.js +53 -0
- package/components/language-resolution-DJzmyzZq.cjs +18 -0
- package/{lib/like-anchor-K8W0QYwC.cjs → components/like-anchor-Bmabl9ra.cjs} +4 -4
- package/{lib/like-anchor-cDeGGeHh.js → components/like-anchor-QBlvwFfT.js} +8 -9
- package/{lib/manage-help-text-2mSEy-AD.js → components/manage-help-text-Cozl9Sgn.js} +8 -8
- package/{lib/manage-help-text-iOk-zmy8.cjs → components/manage-help-text-OHXDgxyj.cjs} +3 -3
- package/{lib → components}/menu/index.cjs +1 -1
- package/components/menu/index.d.ts +16 -0
- package/{lib → components}/menu/index.js +1 -1
- package/components/menu/menu-divider.d.ts +14 -0
- package/components/menu/menu-group.d.ts +17 -0
- package/components/menu/menu-item.d.ts +125 -0
- package/components/menu/menu.d.ts +119 -0
- package/components/multi-language-field/index.cjs +39 -0
- package/components/multi-language-field/index.d.ts +7 -0
- package/{lib → components}/multi-language-field/index.js +6 -7
- package/components/multi-language-field/multi-language-field.d.ts +41 -0
- package/components/number-field/index.cjs +57 -0
- package/components/number-field/index.d.ts +7 -0
- package/{lib → components}/number-field/index.js +24 -24
- package/components/number-field/number-field.d.ts +113 -0
- package/{lib/observe-slot-text-BmsCNJig.cjs → components/observe-slot-text-CrYB2Pj-.cjs} +1 -1
- package/{lib/observe-slot-text-BoFRF-VI.js → components/observe-slot-text-ggb4kKgY.js} +1 -1
- package/components/overlay/abstract-overlay.d.ts +72 -0
- package/components/overlay/click-controller.d.ts +14 -0
- package/components/overlay/events.d.ts +23 -0
- package/components/overlay/full-size-plugin.d.ts +12 -0
- package/components/overlay/hover-controller.d.ts +20 -0
- package/components/overlay/index.cjs +73 -0
- package/components/overlay/index.d.ts +22 -0
- package/{lib → components}/overlay/index.js +55 -38
- package/components/overlay/interaction-controller.d.ts +38 -0
- package/components/overlay/loader.d.ts +4 -0
- package/components/overlay/longpress-controller.d.ts +21 -0
- package/components/overlay/overlay-dialog.d.ts +4 -0
- package/components/overlay/overlay-events.d.ts +11 -0
- package/components/overlay/overlay-no-popover.d.ts +4 -0
- package/components/overlay/overlay-popover.d.ts +4 -0
- package/components/overlay/overlay-stack.d.ts +44 -0
- package/components/overlay/overlay-timer.d.ts +21 -0
- package/components/overlay/overlay-trigger-directive.d.ts +26 -0
- package/components/overlay/overlay-trigger.d.ts +53 -0
- package/components/overlay/overlay-types.d.ts +50 -0
- package/components/overlay/overlay.d.ts +464 -0
- package/components/overlay/placement-controller.d.ts +157 -0
- package/components/overlay/slottable-request-directive.d.ts +17 -0
- package/components/overlay/slottable-request-event.d.ts +12 -0
- package/components/overlay/strategies.d.ts +8 -0
- package/components/overlay/virtual-trigger.d.ts +7 -0
- package/{lib/overlay-C7QKFqRc.js → components/overlay-CJ9by37f.js} +94 -84
- package/components/overlay-Deh6Ki6I.cjs +47 -0
- package/{lib/pending-state-Dbc2HIM2.cjs → components/pending-state-Do522lTd.cjs} +2 -2
- package/{lib/pending-state-D5KTK4_1.js → components/pending-state-TJj1x9xn.js} +2 -2
- package/components/picker/desktop-controller.d.ts +7 -0
- package/{lib → components}/picker/index.cjs +1 -1
- package/components/picker/index.d.ts +7 -0
- package/{lib → components}/picker/index.js +2 -2
- package/components/picker/interaction-controller.d.ts +43 -0
- package/components/picker/mobile-controller.d.ts +9 -0
- package/components/picker/picker.d.ts +154 -0
- package/components/picker/strategies.d.ts +6 -0
- package/components/picker-833Apxe4.js +655 -0
- package/components/picker-DDx8ii73.cjs +127 -0
- package/{lib/platform-DQYMG7JI.js → components/platform-BM-uMWpX.js} +34 -19
- package/components/platform-BiXhwqk3.cjs +18 -0
- package/{lib → components}/popover/index.cjs +1 -1
- package/components/popover/index.d.ts +7 -0
- package/{lib → components}/popover/index.js +2 -2
- package/components/popover/popover.d.ts +29 -0
- package/components/popover-BGOgXaka.cjs +30 -0
- package/{lib/popover-ZRVxogyp.js → components/popover-DlkzrLpl.js} +8 -9
- package/{lib → components}/progress-circle/index.cjs +1 -1
- package/components/progress-circle/index.d.ts +7 -0
- package/{lib → components}/progress-circle/index.js +1 -1
- package/components/progress-circle/progress-circle.d.ts +35 -0
- package/{lib/progress-circle-DpXiqW6a.js → components/progress-circle-Be24kv6B.js} +5 -6
- package/components/progress-circle-NNbCMK2i.cjs +33 -0
- package/components/radio/index.cjs +22 -0
- package/components/radio/index.d.ts +10 -0
- package/{lib → components}/radio/index.js +10 -11
- package/components/radio/radio-group.d.ts +27 -0
- package/components/radio/radio.d.ts +39 -0
- package/components/search/index.cjs +45 -0
- package/components/search/index.d.ts +7 -0
- package/{lib → components}/search/index.js +3 -4
- package/components/search/search.d.ts +27 -0
- package/{lib/sized-mixin-Dl0KoEcV.js → components/sized-mixin-BxMraZLS.js} +1 -1
- package/{lib/sized-mixin-BSYHt8nT.cjs → components/sized-mixin-D9LkrMjb.cjs} +1 -1
- package/components/slider/index.cjs +18 -0
- package/components/slider/index.d.ts +7 -0
- package/{lib → components}/slider/index.js +5 -6
- package/components/slider/slider.d.ts +24 -0
- package/{lib/state-DReJ3hB6.cjs → components/state-C5I1gP3G.cjs} +1 -1
- package/{lib/state-BAO-13Bs.js → components/state-CYxk12SV.js} +1 -1
- package/{lib/streaming-listener-DLo0wkMc.js → components/streaming-listener-CCalHg57.js} +18 -52
- package/components/streaming-listener-KVex1WWB.cjs +18 -0
- package/{lib/style-map-BqvQDFJt.js → components/style-map-Ct2LiEds.js} +1 -1
- package/{lib/style-map-BjBGQ_u3.cjs → components/style-map-uMq-yDJ3.cjs} +2 -2
- package/components/swatch/index.cjs +49 -0
- package/components/swatch/index.d.ts +10 -0
- package/{lib → components}/swatch/index.js +9 -10
- package/components/swatch/swatch-group.d.ts +41 -0
- package/components/swatch/swatch.d.ts +40 -0
- package/components/switch/index.cjs +22 -0
- package/components/switch/index.d.ts +7 -0
- package/{lib → components}/switch/index.js +6 -7
- package/components/switch/switch.d.ts +27 -0
- package/components/tags/index.cjs +32 -0
- package/components/tags/index.d.ts +10 -0
- package/{lib → components}/tags/index.js +17 -18
- package/components/tags/tag.d.ts +29 -0
- package/components/tags/tags.d.ts +28 -0
- package/components/text-field/help-text-manager.d.ts +19 -0
- package/components/text-field/help-text.d.ts +20 -0
- package/components/text-field/index.cjs +21 -0
- package/components/text-field/index.d.ts +14 -0
- package/{lib → components}/text-field/index.js +9 -9
- package/components/text-field/manage-help-text.d.ts +13 -0
- package/components/text-field/text-field.d.ts +142 -0
- package/{lib/text-field-C6Aa7XOb.cjs → components/text-field-5_ev9way.cjs} +15 -15
- package/{lib/text-field-DPk332j9.js → components/text-field-CvKSS59x.js} +28 -30
- package/components/toast/index.cjs +51 -0
- package/components/toast/index.d.ts +7 -0
- package/{lib → components}/toast/index.js +2 -3
- package/components/toast/toast.d.ts +77 -0
- package/components/tooltip/index.cjs +45 -0
- package/components/tooltip/index.d.ts +8 -0
- package/{lib → components}/tooltip/index.js +13 -12
- package/components/tooltip/tooltip-directive.d.ts +5 -0
- package/components/tooltip/tooltip.d.ts +55 -0
- package/components/unit-input/index.cjs +43 -0
- package/components/unit-input/index.d.ts +7 -0
- package/{lib → components}/unit-input/index.js +5 -6
- package/components/unit-input/unit-input.d.ts +33 -0
- package/components/utils.cjs +18 -0
- package/components/utils.js +42 -0
- package/custom-elements.json +1 -0
- package/index.d.ts +40 -0
- package/package.json +141 -103
- package/utils/base.d.ts +16 -0
- package/utils/condition-attribute-with-id.d.ts +2 -0
- package/utils/first-focusable-in.d.ts +3 -0
- package/utils/focus-visible.d.ts +29 -0
- package/utils/focusable-selectors.d.ts +2 -0
- package/utils/focusable.d.ts +58 -0
- package/utils/get-css-variable.d.ts +1 -0
- package/utils/get-label-from-slot.d.ts +1 -0
- package/utils/index.d.ts +6 -0
- package/utils/like-anchor.d.ts +23 -0
- package/utils/observe-slot-presence.d.ts +12 -0
- package/utils/observe-slot-text.d.ts +11 -0
- package/utils/platform.d.ts +10 -0
- package/utils/random-id.d.ts +1 -0
- package/utils/reactive-controllers/color.d.ts +54 -0
- package/utils/reactive-controllers/dependency-manger.d.ts +26 -0
- package/utils/reactive-controllers/element-resolution.d.ts +23 -0
- package/utils/reactive-controllers/focus-group.d.ts +62 -0
- package/utils/reactive-controllers/language-resolution.d.ts +11 -0
- package/utils/reactive-controllers/match-media.d.ts +13 -0
- package/utils/reactive-controllers/pending-state.d.ts +41 -0
- package/utils/reactive-controllers/roving-tabindex.d.ts +19 -0
- package/utils/reparent-child.d.ts +4 -0
- package/utils/sized-mixin.d.ts +17 -0
- package/utils/streaming-listener.d.ts +48 -0
- package/lib/accordion/index.cjs +0 -43
- package/lib/action-bar/index.cjs +0 -39
- package/lib/action-button/index.cjs +0 -24
- package/lib/action-group-D4MxBrq8.cjs +0 -20
- package/lib/avatar/index.cjs +0 -24
- package/lib/base-BCmA9Wxv.cjs +0 -30
- package/lib/base-nYalvNMy.js +0 -390
- package/lib/button/index.cjs +0 -20
- package/lib/button-base-B0iB_JTv.cjs +0 -25
- package/lib/button-group/index.cjs +0 -18
- package/lib/checkbox/index.cjs +0 -25
- package/lib/clear-button-D0djuaLb.cjs +0 -18
- package/lib/close-button-BrfeZvjk.cjs +0 -18
- package/lib/color-area/index.cjs +0 -80
- package/lib/color-field/index.cjs +0 -23
- package/lib/color-handle/index.cjs +0 -24
- package/lib/color-loupe-BICpNqFs.cjs +0 -56
- package/lib/color-menu/index.cjs +0 -86
- package/lib/color-picker/index.cjs +0 -48
- package/lib/color-slider/index.cjs +0 -57
- package/lib/divider/index.cjs +0 -18
- package/lib/field-group-TUFvhJkk.cjs +0 -23
- package/lib/field-label-BrJaeORz.cjs +0 -25
- package/lib/icon/index.cjs +0 -18
- package/lib/index.cjs +0 -18
- package/lib/infield-button/index.cjs +0 -22
- package/lib/label/index.cjs +0 -18
- package/lib/legend-position/index.cjs +0 -27
- package/lib/legend-position/index.js +0 -85
- package/lib/lit-html-B3ugcwD9.js +0 -248
- package/lib/lit-html-p4Oxv2-5.cjs +0 -24
- package/lib/multi-language-field/index.cjs +0 -39
- package/lib/number-field/index.cjs +0 -57
- package/lib/overlay/index.cjs +0 -73
- package/lib/overlay-DScraBAi.cjs +0 -47
- package/lib/picker--2OCYWnV.js +0 -657
- package/lib/picker-B9W7Haf4.cjs +0 -127
- package/lib/platform-CQzYNWKq.cjs +0 -18
- package/lib/popover-CVbjhSnx.cjs +0 -30
- package/lib/progress-circle-CiJoS8J7.cjs +0 -33
- package/lib/radio/index.cjs +0 -22
- package/lib/search/index.cjs +0 -45
- package/lib/slider/index.cjs +0 -18
- package/lib/streaming-listener-Bw4jE33f.cjs +0 -18
- package/lib/swatch/index.cjs +0 -49
- package/lib/switch/index.cjs +0 -22
- package/lib/tags/index.cjs +0 -32
- package/lib/text-field/index.cjs +0 -21
- package/lib/toast/index.cjs +0 -51
- package/lib/tooltip/index.cjs +0 -45
- package/lib/unit-input/index.cjs +0 -43
- /package/{lib → components}/base-BjTwmyRF.cjs +0 -0
- /package/{lib → components}/base-D76d76ww.js +0 -0
- /package/{lib → components}/color-Bg3tYsAQ.js +0 -0
- /package/{lib → components}/color-DphK4hwx.cjs +0 -0
- /package/{lib → components}/condition-attribute-with-id-DrQYZzFS.cjs +0 -0
- /package/{lib → components}/condition-attribute-with-id-Dv4lSRbe.js +0 -0
- /package/{lib → components}/dependency-manger-C5HCkMMB.cjs +0 -0
- /package/{lib → components}/dependency-manger-CEXvGQUV.js +0 -0
- /package/{lib → components}/directive-C7oCP5Bh.cjs +0 -0
- /package/{lib → components}/directive-oAbCiebi.js +0 -0
- /package/{lib → components}/divider.module-CXMNveQc.cjs +0 -0
- /package/{lib → components}/divider.module-DwOuLGU3.js +0 -0
- /package/{lib → components}/element-resolution-BvRLGqIU.cjs +0 -0
- /package/{lib → components}/element-resolution-FCUT-wql.js +0 -0
- /package/{lib → components}/focus-group-DHeTq18L.js +0 -0
- /package/{lib → components}/focus-group-DnxZUBhQ.cjs +0 -0
- /package/{lib → components}/focus-visible-B0P9aY_G.cjs +0 -0
- /package/{lib → components}/focus-visible-DBlJGoEW.js +0 -0
- /package/{lib → components}/focusable-selectors-B4YgbghQ.js +0 -0
- /package/{lib → components}/focusable-selectors-BgFlyFcY.cjs +0 -0
- /package/{lib → components}/index-C1chwzNp.js +0 -0
- /package/{lib → components}/index-DCKCHDTt.cjs +0 -0
- /package/{lib → components}/mutation-controller-DH7YOCyj.js +0 -0
- /package/{lib → components}/mutation-controller-DkOMCW-c.cjs +0 -0
- /package/{lib → components}/query-BL-TJj7K.cjs +0 -0
- /package/{lib → components}/query-D_KR_GUc.js +0 -0
- /package/{lib → components}/query-assigned-elements-DjfhL1cl.js +0 -0
- /package/{lib → components}/query-assigned-elements-DsKsfk7G.cjs +0 -0
- /package/{lib → components}/query-assigned-nodes-BcKWmGzy.cjs +0 -0
- /package/{lib → components}/query-assigned-nodes-C76XVPWY.js +0 -0
- /package/{lib → components}/random-id-ByCz1xaq.js +0 -0
- /package/{lib → components}/random-id-CqvckpWe.cjs +0 -0
- /package/{lib → components}/roving-tabindex-By_fCy_e.cjs +0 -0
- /package/{lib → components}/roving-tabindex-DOg4z6ZU.js +0 -0
- /package/{lib → components}/slottable-request-event-BfUUt1Mh.cjs +0 -0
- /package/{lib → components}/slottable-request-event-DggLA4Rx.js +0 -0
- /package/{lib → components}/when-CDK1Tt5Y.js +0 -0
- /package/{lib → components}/when-CDZyJPvd.cjs +0 -0
package/lib/icon/index.cjs
DELETED
|
@@ -1,18 +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
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("@luzmo/icons"),a=require("lit"),s=require("../base-BCmA9Wxv.cjs"),d=require("../if-defined-Cv6xanXh.cjs"),h=":host{pointer-events:none;transform:none;transform:var(--luzmo-icon-transform, none);inline-size:var(--luzmo-icon-inline-size, var(--luzmo-icon-size, var(--icon-size)));block-size:var(--luzmo-icon-block-size, var(--luzmo-icon-size, var(--icon-size)));font-size:var(--luzmo-icon-block-size, var(--luzmo-icon-size, var(--icon-size)));color:inherit;color:var(--luzmo-icon-color, inherit);fill:currentColor;display:inline-block}::slotted(svg),:host svg,:host img{--icon-vertical-align: var(--parent-element-icon-vertical-align, -.125em);vertical-align:var(--icon-vertical-align)!important}:host([block]){display:block;vertical-align:0}:host([block]) svg,:host([block]) img{--icon-vertical-align: var(--parent-element-icon-vertical-align, 0)}:host([size=xxs]){--icon-size: var(--luzmo-icon-size-xxs)}:host([size=xs]){--icon-size: var(--luzmo-icon-size-xs)}:host([size=s]){--icon-size: var(--luzmo-icon-size-s)}:host,:host([size=m]){--icon-size: var(--luzmo-icon-size-m)}:host([size=l]){--icon-size: var(--luzmo-icon-size-l)}:host([size=xl]){--icon-size: var(--luzmo-icon-size-xl)}:host([size=xxl]){--icon-size: var(--luzmo-icon-size-xxl)}:host(:not(:root)){overflow:visible}@media (forced-colors: active){:host{forced-color-adjust:auto}}img,svg,::slotted(*){height:100%;width:100%;vertical-align:top;color:inherit}@media (forced-colors: active){img,svg,::slotted(*){forced-color-adjust:auto}}";var p=Object.defineProperty,z=(i,o,n,v)=>{for(var e=void 0,t=i.length-1,l;t>=0;t--)(l=i[t])&&(e=l(o,n,e)||e);return e&&p(o,n,e),e};class u extends s.LuzmoElement{constructor(){super(...arguments),this.label=""}static get styles(){return[a.unsafeCSS(h)]}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}update(o){o.has("label")&&(this.label?this.removeAttribute("aria-hidden"):this.setAttribute("aria-hidden","true")),super.update(o)}render(){return a.html` <slot></slot> `}}z([s.n({reflect:!0})],u.prototype,"label");z([s.n({reflect:!0})],u.prototype,"size");var f=Object.defineProperty,c=(i,o,n,v)=>{for(var e=void 0,t=i.length-1,l;t>=0;t--)(l=i[t])&&(e=l(o,n,e)||e);return e&&f(o,n,e),e};class r extends u{constructor(){super(...arguments),this.block=!1}render(){return this.icon?m.luzmoIcon(this.icon,this.options):this.src?a.html` <img src=${this.src} alt=${d.o(this.label)} /> `:super.render()}}c([s.n()],r.prototype,"src");c([s.n()],r.prototype,"options");c([s.n()],r.prototype,"icon");c([s.n({type:Boolean})],r.prototype,"block");customElements.get("luzmo-icon")||customElements.define("luzmo-icon",r);exports.LuzmoIcon=r;
|
package/lib/index.cjs
DELETED
|
@@ -1,18 +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
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./accordion/index.cjs"),L=require("./action-bar/index.cjs"),m=require("./action-button/index.cjs");require("./action-group/index.cjs");const d=require("./action-menu/index.cjs"),l=require("./avatar/index.cjs"),z=require("./button/index.cjs"),a=require("./button-group/index.cjs"),s=require("./checkbox/index.cjs"),q=require("./color-area/index.cjs"),x=require("./color-field/index.cjs"),p=require("./color-handle/index.cjs");require("./color-loupe/index.cjs");const _=require("./color-menu/index.cjs"),g=require("./color-picker/index.cjs"),v=require("./color-slider/index.cjs"),C=require("./divider/index.cjs");require("./field-group/index.cjs");require("./field-label/index.cjs");const B=require("./icon/index.cjs"),A=require("./infield-button/index.cjs"),I=require("./label/index.cjs"),M=require("./legend-position/index.cjs"),e=require("./index-yNcLzjhM.cjs"),T=require("./multi-language-field/index.cjs"),P=require("./number-field/index.cjs"),o=require("./overlay/index.cjs");require("./picker/index.cjs");require("./popover/index.cjs");require("./progress-circle/index.cjs");const i=require("./radio/index.cjs"),S=require("./search/index.cjs"),b=require("./slider/index.cjs"),n=require("./swatch/index.cjs"),G=require("./switch/index.cjs"),t=require("./tags/index.cjs"),h=require("./text-field/index.cjs"),F=require("./toast/index.cjs"),O=require("./tooltip/index.cjs"),y=require("./unit-input/index.cjs"),k=require("./action-group-D4MxBrq8.cjs"),D=require("./clear-button-D0djuaLb.cjs"),w=require("./close-button-BrfeZvjk.cjs"),f=require("./color-loupe-BICpNqFs.cjs"),R=require("./field-group-TUFvhJkk.cjs"),H=require("./field-label-BrJaeORz.cjs"),c=require("./overlay-DScraBAi.cjs"),r=require("./picker-B9W7Haf4.cjs"),E=require("./popover-CVbjhSnx.cjs"),N=require("./progress-circle-CiJoS8J7.cjs");exports.LuzmoAccordion=u.LuzmoAccordion;exports.LuzmoAccordionItem=u.LuzmoAccordionItem;exports.LuzmoActionBar=L.LuzmoActionBar;exports.LuzmoActionButton=m.LuzmoActionButton;exports.LuzmoActionMenu=d.LuzmoActionMenu;exports.LuzmoAvatar=l.LuzmoAvatar;exports.LuzmoButton=z.LuzmoButton;exports.LuzmoButtonGroup=a.LuzmoButtonGroup;exports.LuzmoCheckbox=s.LuzmoCheckbox;exports.LuzmoColorArea=q.LuzmoColorArea;exports.LuzmoColorField=x.LuzmoColorField;exports.LuzmoColorHandle=p.LuzmoColorHandle;exports.LuzmoColorMenu=_.LuzmoColorMenu;exports.LuzmoColorPicker=g.LuzmoColorPicker;exports.LuzmoColorSlider=v.LuzmoColorSlider;exports.Divider=C.Divider;exports.LuzmoIcon=B.LuzmoIcon;exports.LuzmoInfieldButton=A.LuzmoInfieldButton;exports.LuzmoLabel=I.LuzmoLabel;exports.LuzmoLegendPosition=M.LuzmoLegendPosition;exports.LuzmoMenu=e.LuzmoMenu;exports.LuzmoMenuDivider=e.LuzmoMenuDivider;exports.LuzmoMenuGroup=e.LuzmoMenuGroup;exports.LuzmoMenuItem=e.LuzmoMenuItem;exports.MenuItemAddedOrUpdatedEvent=e.MenuItemAddedOrUpdatedEvent;exports.LuzmoMultiLangField=T.LuzmoMultiLangField;exports.LuzmoNumberField=P.LuzmoNumberField;exports.OverlayTrigger=o.OverlayTrigger;exports.OverlayTriggerDirective=o.OverlayTriggerDirective;exports.openOverlay=o.openOverlay;exports.trigger=o.trigger;exports.LuzmoRadio=i.LuzmoRadio;exports.LuzmoRadioGroup=i.LuzmoRadioGroup;exports.LuzmoSearch=S.LuzmoSearch;exports.LuzmoSlider=b.LuzmoSlider;exports.LuzmoSwatch=n.LuzmoSwatch;exports.LuzmoSwatchGroup=n.LuzmoSwatchGroup;exports.LuzmoSwitch=G.LuzmoSwitch;exports.LuzmoTag=t.LuzmoTag;exports.LuzmoTags=t.LuzmoTags;exports.HelpText=h.HelpText;exports.LuzmoToast=F.LuzmoToast;exports.Tooltip=O.Tooltip;exports.LuzmoUnitInput=y.LuzmoUnitInput;exports.LuzmoActionGroup=k.LuzmoActionGroup;exports.LuzmoClearButton=D.LuzmoClearButton;exports.LuzmoCloseButton=w.LuzmoCloseButton;exports.LuzmoColorLoupe=f.LuzmoColorLoupe;exports.LuzmoFieldGroup=R.LuzmoFieldGroup;exports.FieldLabel=H.FieldLabel;exports.Overlay=c.Overlay;exports.VirtualTrigger=c.VirtualTrigger;exports.DESCRIPTION_ID=r.DESCRIPTION_ID;exports.LuzmoPicker=r.LuzmoPicker;exports.LuzmoPickerBase=r.LuzmoPickerBase;exports.Popover=E.Popover;exports.LuzmoProgressCircle=N.LuzmoProgressCircle;
|
|
@@ -1,22 +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
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("lit"),b=require("../sized-mixin-BSYHt8nT.cjs"),r=require("../base-BCmA9Wxv.cjs"),s=require("../button-base-B0iB_JTv.cjs"),c="@media (forced-colors: active){:host(:is(:active,[active])):not(:disabled),:host(:focus-visible):not(:disabled){--highcontrast-infield-button-border-color: Highlight}}@media (forced-colors: active) and (hover: hover){:host(:hover):not(:disabled){--highcontrast-infield-button-border-color: Highlight}}:host{background-color:initial;cursor:pointer;block-size:var(--luzmo-infield-button-height, var(--infield-button-height));inline-size:var(--luzmo-infield-button-width, var(--infield-button-width));padding:var(--luzmo-infield-button-edge-to-fill, var(--infield-button-edge-to-fill));color:var(--infield-button-content-color, inherit);border-style:none;justify-content:center;align-items:center;display:flex}.fill{block-size:100%;inline-size:100%;background-color:var(--luzmo-infield-button-background-color, var(--infield-button-background-color));border-width:var(--luzmo-infield-button-border-width, var(--infield-button-border-width));border-style:solid;border-color:var(--highcontrast-infield-button-border-color, var(--luzmo-infield-button-border-color, var(--infield-button-border-color)));padding:var(--luzmo-infield-button-fill-padding, var(--infield-button-fill-padding));border-start-start-radius:var(--luzmo-infield-button-border-radius, var(--infield-button-border-radius));border-start-end-radius:var(--luzmo-infield-button-border-radius, var(--infield-button-border-radius));border-end-end-radius:var(--luzmo-infield-button-border-radius, var(--infield-button-border-radius));border-end-start-radius:var(--luzmo-infield-button-border-radius, var(--infield-button-border-radius))}::slotted(*){color:var(--luzmo-infield-button-icon-color, var(--infield-button-icon-color))}:host([inline=end]) .fill{border-start-start-radius:var(--luzmo-infield-button-border-radius-reset, var(--infield-button-border-radius-reset));border-end-start-radius:var(--luzmo-infield-button-border-radius-reset, var(--infield-button-border-radius-reset))}:host([inline=start]) .fill{border-start-end-radius:var(--luzmo-infield-button-border-radius-reset, var(--infield-button-border-radius-reset));border-end-end-radius:var(--luzmo-infield-button-border-radius-reset, var(--infield-button-border-radius-reset))}:host([block=end]),:host([block=start]){--infield-button-width: var(--luzmo-infield-button-width-stacked, 28px)}:host([block=end][size=s]),:host([block=start][size=s]){--infield-button-width: var(--luzmo-infield-button-width-stacked, 20px)}:host([block=end][size=l]),:host([block=start][size=l]){--infield-button-width: var(--luzmo-infield-button-width-stacked, 36px)}:host([block=end][size=xl]),:host([block=start][size=xl]){--infield-button-width: var(--luzmo-infield-button-width-stacked, 44px)}:host([quiet]){--infield-button-background-color: var( --luzmo-infield-button-background-color-quiet, transparent );--infield-button-background-color-hover: var( --luzmo-infield-button-background-color-hover-quiet, transparent );--infield-button-background-color-down: var( --luzmo-infield-button-background-color-down-quiet, transparent );--infield-button-background-color-key-focus: var( --luzmo-infield-button-background-color-key-focus-quiet, transparent );--infield-border-color: var(--luzmo-infield-border-color-quiet, transparent);--infield-button-border-width: var( --luzmo-infield-button-border-width-quiet, 0 )}:host([quiet][disabled]){--infield-button-background-color: var( --luzmo-infield-button-background-color-quiet-disabled, transparent );--infield-button-border-color: var( --luzmo-infield-button-border-color-quiet-disabled, transparent )}:host([disabled]){--infield-button-background-color: var( --luzmo-infield-button-background-color-disabled, var(--luzmo-background-color-disabled) );--infield-button-background-color-hover: var( --luzmo-infield-button-background-color-hover-disabled, var(--luzmo-background-color-disabled) );--infield-button-background-color-down: var( --luzmo-infield-button-background-color-down-disabled, var(--luzmo-background-color-disabled) );--infield-button-border-color: var( --luzmo-infield-button-border-color-disabled, var(--luzmo-background-color-disabled) );--infield-button-content-color: var( --luzmo-infield-button-content-color-disabled, var(--luzmo-color-disabled) );--infield-button-icon-color: var( --luzmo-infield-button-icon-color-disabled, var(--luzmo-color-disabled) );--infield-button-icon-color-hover: var( --luzmo-infield-button-icon-color-hover-disabled, var(--luzmo-color-disabled) );--infield-button-icon-color-down: var( --luzmo-infield-button-icon-color-down-disabled, var(--luzmo-color-disabled) );--infield-button-icon-color-key-focus: var( --luzmo-infield-button-icon-color-key-focus-disabled, var(--luzmo-color-disabled) );cursor:auto}@media (hover: hover){:host(:hover) .fill{background-color:var(--luzmo-infield-button-background-color-hover, var(--infield-button-background-color-hover))}:host(:hover) ::slotted(*){color:var(--luzmo-infield-button-icon-color-hover, var(--infield-button-icon-color-hover))}}:host(:is(:active,[active])) .fill{background-color:var(--luzmo-infield-button-background-color-down, var(--infield-button-background-color-down))}:host(:is(:active,[active])) ::slotted(*){color:var(--luzmo-infield-button-icon-color-down, var(--infield-button-icon-color-down))}:host(:focus-visible){outline:none}:host(:focus-visible) .fill{background-color:var(--luzmo-infield-button-background-color-key-focus, var(--infield-button-background-color-key-focus))}:host(:focus-visible) ::slotted(*){color:var(--luzmo-infield-button-icon-color-key-focus, var(--infield-button-icon-color-key-focus))}.fill{align-items:center;justify-content:var(--luzmo-infield-button-fill-justify-content, var(--infield-button-fill-justify-content));display:flex}:host([block=end]),:host([block=start]){block-size:calc(var(--luzmo-infield-button-height, var(--infield-button-height)) / 2)}:host([block=end]) .fill,:host([block=start]) .fill{box-sizing:border-box;padding-inline-start:calc(var(--luzmo-infield-button-stacked-fill-padding-inline, var(--infield-button-stacked-fill-padding-inline)) - var(--luzmo-infield-button-edge-to-fill, var(--infield-button-edge-to-fill)) - var(--luzmo-infield-button-border-width, var(--infield-button-border-width)));padding-inline-end:calc(var(--luzmo-infield-button-stacked-fill-padding-inline, var(--infield-button-stacked-fill-padding-inline)) - var(--luzmo-infield-button-edge-to-fill, var(--infield-button-edge-to-fill)) - var(--luzmo-infield-button-border-width, var(--infield-button-border-width)))}:host([block=start]){padding-block-end:var(--luzmo-infield-button-inner-edge-to-fill, var(--infield-button-inner-edge-to-fill))}:host([block=start]) .fill{border-block-end:none;border-start-start-radius:var(--luzmo-infield-button-stacked-top-border-radius-start-start, var(--infield-button-stacked-top-border-radius-start-start));border-end-end-radius:var(--luzmo-infield-button-stacked-border-radius-reset, var(--infield-button-stacked-border-radius-reset));border-end-start-radius:var(--luzmo-infield-button-stacked-border-radius-reset, var(--infield-button-stacked-border-radius-reset));padding-block-start:calc(var(--luzmo-infield-button-stacked-fill-padding-outer, var(--infield-button-stacked-fill-padding-outer)) - var(--luzmo-infield-button-edge-to-fill, var(--infield-button-edge-to-fill)) - var(--luzmo-infield-button-border-width, var(--infield-button-border-width)));padding-block-end:calc(var(--luzmo-infield-button-stacked-fill-padding-inner, var(--infield-button-stacked-fill-padding-inner)) - var(--luzmo-infield-button-inner-edge-to-fill, var(--infield-button-inner-edge-to-fill)))}:host([block=end]){padding-block-start:var(--luzmo-infield-button-inner-edge-to-fill, var(--infield-button-inner-edge-to-fill))}:host([block=end]) .fill{border-block-end-width:var(--luzmo-infield-button-stacked-bottom-border-block-end-width, var(--luzmo-infield-button-border-width, var(--infield-button-border-width)));border-start-start-radius:var(--luzmo-infield-button-stacked-border-radius-reset, var(--infield-button-stacked-border-radius-reset));border-start-end-radius:var(--luzmo-infield-button-stacked-border-radius-reset, var(--infield-button-stacked-border-radius-reset));border-end-end-radius:var(--luzmo-infield-button-stacked-bottom-border-radius-end-end, var(--luzmo-infield-button-border-radius, var(--infield-button-border-radius)));border-end-start-radius:var(--luzmo-infield-button-stacked-bottom-border-radius-end-start, var(--infield-button-stacked-bottom-border-radius-end-start));padding-block-start:calc(var(--luzmo-infield-button-stacked-fill-padding-inner, var(--infield-button-stacked-fill-padding-inner)) - var(--luzmo-infield-button-edge-to-fill, var(--infield-button-edge-to-fill)) - var(--luzmo-infield-button-border-width, var(--infield-button-border-width)));padding-block-end:calc(var(--luzmo-infield-button-stacked-fill-padding-outer, var(--infield-button-stacked-fill-padding-outer)) - var(--luzmo-infield-button-inner-edge-to-fill, var(--infield-button-inner-edge-to-fill)) - var(--luzmo-infield-button-border-width, var(--infield-button-border-width)))}::slotted(*){display:initial;flex-shrink:0;margin:0!important}:host{--infield-button-border-width: var(--luzmo-border-width);--infield-button-border-color: inherit;--infield-button-border-radius: var(--luzmo-border-radius-s);--infield-button-border-radius-reset: 0;--infield-button-stacked-top-border-radius-start-start: 0;--infield-button-stacked-bottom-border-radius-end-start: 0;--infield-button-background-color: var(--luzmo-background-color);--infield-button-background-color-hover: var(--luzmo-background-color-hover);--infield-button-background-color-down: var(--luzmo-background-color-down);--infield-button-background-color-key-focus: var( --luzmo-background-color-focus );--infield-button-height: var(--luzmo-component-height);--infield-button-width: var(--luzmo-component-height);--infield-button-stacked-border-radius-reset: 0px;--infield-button-edge-to-fill: 0px;--infield-button-inner-edge-to-fill: 0px;--infield-button-fill-padding: 0px;--infield-button-stacked-fill-padding-inline: 9px;--infield-button-stacked-fill-padding-outer: 3px;--infield-button-stacked-fill-padding-inner: 3px;--infield-button-animation-duration: var(--luzmo-animation-duration);--infield-button-icon-color: var(--luzmo-font-color);--infield-button-icon-color-hover: var(--luzmo-font-color-hard);--infield-button-icon-color-down: var(--luzmo-font-color-hard);--infield-button-icon-color-key-focus: var(--luzmo-font-color-hard);--infield-button-fill-justify-content: center}:host([disabled]){--infield-button-background-color: var(--luzmo-background-color-disabled);--infield-button-background-color-hover: var( --luzmo-background-color-disabled );--infield-button-background-color-down: var( --luzmo-background-color-disabled );--infield-button-border-color: var(--luzmo-border-color-disabled);--infield-button-content-color: var(--luzmo-color-disabled);--infield-button-icon-color: var(--luzmo-color-disabled);--infield-button-icon-color-hover: var(--luzmo-color-disabled);--infield-button-icon-color-down: var(--luzmo-color-disabled);--infield-button-icon-color-key-focus: var(--luzmo-color-disabled)}:host([size=s]){--infield-button-height: var(--luzmo-component-height-s);--infield-button-width: var(--luzmo-component-height-s);--infield-button-stacked-fill-padding-inline: 7px;--infield-button-stacked-fill-padding-outer: 3px;--infield-button-stacked-fill-padding-inner: 3px}:host([size=l]){--infield-button-height: var(--luzmo-component-height-l);--infield-button-width: var(--luzmo-component-height-l);--infield-button-stacked-fill-padding-inline: 13px;--infield-button-stacked-fill-padding-outer: 4px;--infield-button-stacked-fill-padding-inner: 4px}:host([size=xl]){--infield-button-height: var(--luzmo-component-height-xl);--infield-button-width: var(--luzmo-component-height-xl);--infield-button-stacked-fill-padding-inline: 16px;--infield-button-stacked-fill-padding-outer: 5px;--infield-button-stacked-fill-padding-inner: 5px}:host([block=start]){--infield-button-width: 20px}:host([block=end]){--infield-button-width: 20px}:host([block=start][size=s]){--infield-button-width: 16px}:host([block=end][size=s]){--infield-button-width: 16px}:host([block=start][size=l]){--infield-button-width: 28px}:host([block=end][size=l]){--infield-button-width: 28px}:host([block=start][size=xl]){--infield-button-width: 36px}:host([block=end][size=xl]){--infield-button-width: 36px}:host([quiet]){--infield-button-background-color: transparent;--infield-button-background-color-hover: transparent;--infield-button-background-color-down: transparent;--infield-button-background-color-key-focus: transparent;--infield-border-color: transparent;--infield-button-border-width: 0}:host([quiet][disabled]){--infield-button-background-color: transparent;--infield-button-border-color: transparent}:host{box-sizing:border-box;-webkit-user-select:none;user-select:none}::slotted(*){--parent-element-icon-vertical-align: 1px;--icon-size: inherit}";var f=Object.defineProperty,d=(i,n,l,v)=>{for(var o=void 0,e=i.length-1,a;e>=0;e--)(a=i[e])&&(o=a(n,l,o)||o);return o&&f(n,l,o),o};class t extends b.SizedMixin(s.ButtonBase,{noDefaultSize:!0,validSizes:["s","m","l","xl"]}){constructor(){super(...arguments),this.quiet=!1}static get styles(){return[...super.styles,u.unsafeCSS(c)]}get buttonContent(){return[u.html`
|
|
19
|
-
<div class="fill">
|
|
20
|
-
<slot></slot>
|
|
21
|
-
</div>
|
|
22
|
-
`]}}d([r.n()],t.prototype,"block");d([r.n()],t.prototype,"inline");d([r.n({type:Boolean,reflect:!0})],t.prototype,"quiet");customElements.get("luzmo-infield-button")||customElements.define("luzmo-infield-button",t);exports.LuzmoInfieldButton=t;
|
package/lib/label/index.cjs
DELETED
|
@@ -1,18 +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
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../base-BCmA9Wxv.cjs"),a=require("lit"),c="";var f=Object.defineProperty,p=(n,o,i,m)=>{for(var t=void 0,r=n.length-1,u;r>=0;r--)(u=n[r])&&(t=u(o,i,t)||t);return t&&f(o,i,t),t};const l=class l extends s.LuzmoElement{constructor(){super(...arguments),this.label="",this.tooltip=""}render(){return a.html` <span> ${this.label} </span> `}};l.styles=a.unsafeCSS(c);let e=l;p([s.n({type:String})],e.prototype,"label");p([s.n({type:String,reflect:!0,attribute:"tooltip"})],e.prototype,"tooltip");customElements.get("luzmo-label")||customElements.define("luzmo-label",e);exports.LuzmoLabel=e;
|
|
@@ -1,27 +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
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../base-BCmA9Wxv.cjs"),n=require("lit"),p=":host{border:.0625rem solid var(--luzmo-border-color);width:5.625rem;padding:.125rem .1875rem .1875rem;border-radius:var(--luzmo-border-radius)}.segment{height:1.5rem;width:100%;padding:.125rem 0;position:relative}.segment .option-block{width:1.5rem;height:1.25rem;border:.0625rem solid var(--luzmo-border-color);border-radius:.1875rem;background:var(--luzmo-background-color-hover);transition:background-color .2s ease-in-out;cursor:pointer;position:absolute}.segment .option-block:hover{background:var(--luzmo-secondary)}.segment .option-block.active,.segment .option-block.active:hover{background:var(--luzmo-primary)}.segment .option-block.top-left,.segment .option-block.left,.segment .option-block.bottom-left{left:0}.segment .option-block.top-right,.segment .option-block.right,.segment .option-block.bottom-right{right:0}.segment .option-block.top,.segment .option-block.middle,.segment .option-block.bottom{left:50%;transform:translate(-50%)}";var c=Object.defineProperty,d=(m,o,t,r)=>{for(var i=void 0,l=m.length-1,b;l>=0;l--)(b=m[l])&&(i=b(o,t,i)||i);return i&&c(o,t,i),i};const a=class a extends s.LuzmoElement{constructor(){super(...arguments),this.value="topRight",this.disabled=!1,this.disabledPositions=["middle"],this.positions=[{topLeft:"top-left",top:"top",topRight:"top-right"},{left:"left",middle:"middle",right:"right"},{bottomLeft:"bottom-left",bottom:"bottom",bottomRight:"bottom-right"}]}setPosition(o){this.disabled||(this.value=o,this.requestUpdate(),this.dispatchEvent(new CustomEvent("change",{detail:this.value,bubbles:!0,composed:!0})))}render(){return this.positions.map(o=>n.html`
|
|
19
|
-
<div class="segment${this.disabled?" disabled":""}">
|
|
20
|
-
${Object.entries(o).filter(([t,r])=>!this.disabledPositions.includes(t)).map(([t,r])=>n.html`
|
|
21
|
-
<div
|
|
22
|
-
class="option-block ${r} ${this.value===t?"active":""}"
|
|
23
|
-
@click=${()=>this.setPosition(t)}
|
|
24
|
-
></div>
|
|
25
|
-
`)}
|
|
26
|
-
</div>
|
|
27
|
-
`)}};a.styles=n.unsafeCSS(p);let e=a;d([s.n({type:String,reflect:!0,attribute:"value"})],e.prototype,"value");d([s.n({type:Boolean,reflect:!0,attribute:"disabled"})],e.prototype,"disabled");d([s.n({type:Array,reflect:!0,attribute:"disabledPositions"})],e.prototype,"disabledPositions");customElements.get("luzmo-legend-position")||customElements.define("luzmo-legend-position",e);exports.LuzmoLegendPosition=e;
|
|
@@ -1,85 +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
|
-
import { L as b, n as u } from "../base-nYalvNMy.js";
|
|
19
|
-
import { unsafeCSS as z, html as d } from "lit";
|
|
20
|
-
const a = () => {
|
|
21
|
-
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
22
|
-
const e = document.createElement("style");
|
|
23
|
-
e.setAttribute("data-luzmo-vars", ""), e.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(e);
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
a();
|
|
27
|
-
const g = ":host{border:.0625rem solid var(--luzmo-border-color);width:5.625rem;padding:.125rem .1875rem .1875rem;border-radius:var(--luzmo-border-radius)}.segment{height:1.5rem;width:100%;padding:.125rem 0;position:relative}.segment .option-block{width:1.5rem;height:1.25rem;border:.0625rem solid var(--luzmo-border-color);border-radius:.1875rem;background:var(--luzmo-background-color-hover);transition:background-color .2s ease-in-out;cursor:pointer;position:absolute}.segment .option-block:hover{background:var(--luzmo-secondary)}.segment .option-block.active,.segment .option-block.active:hover{background:var(--luzmo-primary)}.segment .option-block.top-left,.segment .option-block.left,.segment .option-block.bottom-left{left:0}.segment .option-block.top-right,.segment .option-block.right,.segment .option-block.bottom-right{right:0}.segment .option-block.top,.segment .option-block.middle,.segment .option-block.bottom{left:50%;transform:translate(-50%)}";
|
|
28
|
-
var p = Object.defineProperty, s = (e, l, o, i) => {
|
|
29
|
-
for (var r = void 0, m = e.length - 1, c; m >= 0; m--)
|
|
30
|
-
(c = e[m]) && (r = c(l, o, r) || r);
|
|
31
|
-
return r && p(l, o, r), r;
|
|
32
|
-
};
|
|
33
|
-
const n = class n extends b {
|
|
34
|
-
constructor() {
|
|
35
|
-
super(...arguments), this.value = "topRight", this.disabled = !1, this.disabledPositions = ["middle"], this.positions = [
|
|
36
|
-
{ topLeft: "top-left", top: "top", topRight: "top-right" },
|
|
37
|
-
{ left: "left", middle: "middle", right: "right" },
|
|
38
|
-
{
|
|
39
|
-
bottomLeft: "bottom-left",
|
|
40
|
-
bottom: "bottom",
|
|
41
|
-
bottomRight: "bottom-right"
|
|
42
|
-
}
|
|
43
|
-
];
|
|
44
|
-
}
|
|
45
|
-
setPosition(l) {
|
|
46
|
-
this.disabled || (this.value = l, this.requestUpdate(), this.dispatchEvent(
|
|
47
|
-
new CustomEvent("change", {
|
|
48
|
-
detail: this.value,
|
|
49
|
-
bubbles: !0,
|
|
50
|
-
composed: !0
|
|
51
|
-
})
|
|
52
|
-
));
|
|
53
|
-
}
|
|
54
|
-
render() {
|
|
55
|
-
return this.positions.map(
|
|
56
|
-
(l) => d`
|
|
57
|
-
<div class="segment${this.disabled ? " disabled" : ""}">
|
|
58
|
-
${Object.entries(l).filter(([o, i]) => !this.disabledPositions.includes(o)).map(
|
|
59
|
-
([o, i]) => d`
|
|
60
|
-
<div
|
|
61
|
-
class="option-block ${i} ${this.value === o ? "active" : ""}"
|
|
62
|
-
@click=${() => this.setPosition(o)}
|
|
63
|
-
></div>
|
|
64
|
-
`
|
|
65
|
-
)}
|
|
66
|
-
</div>
|
|
67
|
-
`
|
|
68
|
-
);
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
n.styles = z(g);
|
|
72
|
-
let t = n;
|
|
73
|
-
s([
|
|
74
|
-
u({ type: String, reflect: !0, attribute: "value" })
|
|
75
|
-
], t.prototype, "value");
|
|
76
|
-
s([
|
|
77
|
-
u({ type: Boolean, reflect: !0, attribute: "disabled" })
|
|
78
|
-
], t.prototype, "disabled");
|
|
79
|
-
s([
|
|
80
|
-
u({ type: Array, reflect: !0, attribute: "disabledPositions" })
|
|
81
|
-
], t.prototype, "disabledPositions");
|
|
82
|
-
customElements.get("luzmo-legend-position") || customElements.define("luzmo-legend-position", t);
|
|
83
|
-
export {
|
|
84
|
-
t as LuzmoLegendPosition
|
|
85
|
-
};
|
package/lib/lit-html-B3ugcwD9.js
DELETED
|
@@ -1,248 +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
|
-
/**
|
|
19
|
-
* @license
|
|
20
|
-
* Copyright 2017 Google LLC
|
|
21
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
22
|
-
*/
|
|
23
|
-
const y = globalThis, b = y.trustedTypes, U = b ? b.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, W = "$lit$", p = `lit$${Math.random().toFixed(9).slice(2)}$`, k = "?" + p, D = `<${k}>`, f = document, C = () => f.createComment(""), x = (r) => r === null || typeof r != "object" && typeof r != "function", I = Array.isArray, z = (r) => I(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", w = `[
|
|
24
|
-
\f\r]`, v = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, O = /-->/g, R = />/g, u = RegExp(`>|${w}(?:([^\\s"'>=/]+)(${w}*=${w}*(?:[^
|
|
25
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), B = /'/g, L = /"/g, V = /^(?:script|style|textarea|title)$/i, H = Symbol.for("lit-noChange"), A = Symbol.for("lit-nothing"), P = /* @__PURE__ */ new WeakMap(), g = f.createTreeWalker(f, 129);
|
|
26
|
-
function j(r, t) {
|
|
27
|
-
if (!I(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
28
|
-
return U !== void 0 ? U.createHTML(t) : t;
|
|
29
|
-
}
|
|
30
|
-
const Z = (r, t) => {
|
|
31
|
-
const s = r.length - 1, i = [];
|
|
32
|
-
let e, h = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = v;
|
|
33
|
-
for (let a = 0; a < s; a++) {
|
|
34
|
-
const o = r[a];
|
|
35
|
-
let $, _, l = -1, c = 0;
|
|
36
|
-
for (; c < o.length && (n.lastIndex = c, _ = n.exec(o), _ !== null); ) c = n.lastIndex, n === v ? _[1] === "!--" ? n = O : _[1] !== void 0 ? n = R : _[2] !== void 0 ? (V.test(_[2]) && (e = RegExp("</" + _[2], "g")), n = u) : _[3] !== void 0 && (n = u) : n === u ? _[0] === ">" ? (n = e ?? v, l = -1) : _[1] === void 0 ? l = -2 : (l = n.lastIndex - _[2].length, $ = _[1], n = _[3] === void 0 ? u : _[3] === '"' ? L : B) : n === L || n === B ? n = u : n === O || n === R ? n = v : (n = u, e = void 0);
|
|
37
|
-
const d = n === u && r[a + 1].startsWith("/>") ? " " : "";
|
|
38
|
-
h += n === v ? o + D : l >= 0 ? (i.push($), o.slice(0, l) + W + o.slice(l) + p + d) : o + p + (l === -2 ? a : d);
|
|
39
|
-
}
|
|
40
|
-
return [j(r, h + (r[s] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
41
|
-
};
|
|
42
|
-
class N {
|
|
43
|
-
constructor({ strings: t, _$litType$: s }, i) {
|
|
44
|
-
let e;
|
|
45
|
-
this.parts = [];
|
|
46
|
-
let h = 0, n = 0;
|
|
47
|
-
const a = t.length - 1, o = this.parts, [$, _] = Z(t, s);
|
|
48
|
-
if (this.el = N.createElement($, i), g.currentNode = this.el.content, s === 2 || s === 3) {
|
|
49
|
-
const l = this.el.content.firstChild;
|
|
50
|
-
l.replaceWith(...l.childNodes);
|
|
51
|
-
}
|
|
52
|
-
for (; (e = g.nextNode()) !== null && o.length < a; ) {
|
|
53
|
-
if (e.nodeType === 1) {
|
|
54
|
-
if (e.hasAttributes()) for (const l of e.getAttributeNames()) if (l.endsWith(W)) {
|
|
55
|
-
const c = _[n++], d = e.getAttribute(l).split(p), T = /([.?@])?(.*)/.exec(c);
|
|
56
|
-
o.push({ type: 1, index: h, name: T[2], strings: d, ctor: T[1] === "." ? q : T[1] === "?" ? G : T[1] === "@" ? J : S }), e.removeAttribute(l);
|
|
57
|
-
} else l.startsWith(p) && (o.push({ type: 6, index: h }), e.removeAttribute(l));
|
|
58
|
-
if (V.test(e.tagName)) {
|
|
59
|
-
const l = e.textContent.split(p), c = l.length - 1;
|
|
60
|
-
if (c > 0) {
|
|
61
|
-
e.textContent = b ? b.emptyScript : "";
|
|
62
|
-
for (let d = 0; d < c; d++) e.append(l[d], C()), g.nextNode(), o.push({ type: 2, index: ++h });
|
|
63
|
-
e.append(l[c], C());
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
} else if (e.nodeType === 8) if (e.data === k) o.push({ type: 2, index: h });
|
|
67
|
-
else {
|
|
68
|
-
let l = -1;
|
|
69
|
-
for (; (l = e.data.indexOf(p, l + 1)) !== -1; ) o.push({ type: 7, index: h }), l += p.length - 1;
|
|
70
|
-
}
|
|
71
|
-
h++;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
static createElement(t, s) {
|
|
75
|
-
const i = f.createElement("template");
|
|
76
|
-
return i.innerHTML = t, i;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
function m(r, t, s = r, i) {
|
|
80
|
-
var n, a;
|
|
81
|
-
if (t === H) return t;
|
|
82
|
-
let e = i !== void 0 ? (n = s._$Co) == null ? void 0 : n[i] : s._$Cl;
|
|
83
|
-
const h = x(t) ? void 0 : t._$litDirective$;
|
|
84
|
-
return (e == null ? void 0 : e.constructor) !== h && ((a = e == null ? void 0 : e._$AO) == null || a.call(e, !1), h === void 0 ? e = void 0 : (e = new h(r), e._$AT(r, s, i)), i !== void 0 ? (s._$Co ?? (s._$Co = []))[i] = e : s._$Cl = e), e !== void 0 && (t = m(r, e._$AS(r, t.values), e, i)), t;
|
|
85
|
-
}
|
|
86
|
-
class F {
|
|
87
|
-
constructor(t, s) {
|
|
88
|
-
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = s;
|
|
89
|
-
}
|
|
90
|
-
get parentNode() {
|
|
91
|
-
return this._$AM.parentNode;
|
|
92
|
-
}
|
|
93
|
-
get _$AU() {
|
|
94
|
-
return this._$AM._$AU;
|
|
95
|
-
}
|
|
96
|
-
u(t) {
|
|
97
|
-
const { el: { content: s }, parts: i } = this._$AD, e = ((t == null ? void 0 : t.creationScope) ?? f).importNode(s, !0);
|
|
98
|
-
g.currentNode = e;
|
|
99
|
-
let h = g.nextNode(), n = 0, a = 0, o = i[0];
|
|
100
|
-
for (; o !== void 0; ) {
|
|
101
|
-
if (n === o.index) {
|
|
102
|
-
let $;
|
|
103
|
-
o.type === 2 ? $ = new M(h, h.nextSibling, this, t) : o.type === 1 ? $ = new o.ctor(h, o.name, o.strings, this, t) : o.type === 6 && ($ = new K(h, this, t)), this._$AV.push($), o = i[++a];
|
|
104
|
-
}
|
|
105
|
-
n !== (o == null ? void 0 : o.index) && (h = g.nextNode(), n++);
|
|
106
|
-
}
|
|
107
|
-
return g.currentNode = f, e;
|
|
108
|
-
}
|
|
109
|
-
p(t) {
|
|
110
|
-
let s = 0;
|
|
111
|
-
for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, s), s += i.strings.length - 2) : i._$AI(t[s])), s++;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
class M {
|
|
115
|
-
get _$AU() {
|
|
116
|
-
var t;
|
|
117
|
-
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
118
|
-
}
|
|
119
|
-
constructor(t, s, i, e) {
|
|
120
|
-
this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t, this._$AB = s, this._$AM = i, this.options = e, this._$Cv = (e == null ? void 0 : e.isConnected) ?? !0;
|
|
121
|
-
}
|
|
122
|
-
get parentNode() {
|
|
123
|
-
let t = this._$AA.parentNode;
|
|
124
|
-
const s = this._$AM;
|
|
125
|
-
return s !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = s.parentNode), t;
|
|
126
|
-
}
|
|
127
|
-
get startNode() {
|
|
128
|
-
return this._$AA;
|
|
129
|
-
}
|
|
130
|
-
get endNode() {
|
|
131
|
-
return this._$AB;
|
|
132
|
-
}
|
|
133
|
-
_$AI(t, s = this) {
|
|
134
|
-
t = m(this, t, s), x(t) ? t === A || t == null || t === "" ? (this._$AH !== A && this._$AR(), this._$AH = A) : t !== this._$AH && t !== H && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : z(t) ? this.k(t) : this._(t);
|
|
135
|
-
}
|
|
136
|
-
O(t) {
|
|
137
|
-
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
138
|
-
}
|
|
139
|
-
T(t) {
|
|
140
|
-
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
141
|
-
}
|
|
142
|
-
_(t) {
|
|
143
|
-
this._$AH !== A && x(this._$AH) ? this._$AA.nextSibling.data = t : this.T(f.createTextNode(t)), this._$AH = t;
|
|
144
|
-
}
|
|
145
|
-
$(t) {
|
|
146
|
-
var h;
|
|
147
|
-
const { values: s, _$litType$: i } = t, e = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = N.createElement(j(i.h, i.h[0]), this.options)), i);
|
|
148
|
-
if (((h = this._$AH) == null ? void 0 : h._$AD) === e) this._$AH.p(s);
|
|
149
|
-
else {
|
|
150
|
-
const n = new F(e, this), a = n.u(this.options);
|
|
151
|
-
n.p(s), this.T(a), this._$AH = n;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
_$AC(t) {
|
|
155
|
-
let s = P.get(t.strings);
|
|
156
|
-
return s === void 0 && P.set(t.strings, s = new N(t)), s;
|
|
157
|
-
}
|
|
158
|
-
k(t) {
|
|
159
|
-
I(this._$AH) || (this._$AH = [], this._$AR());
|
|
160
|
-
const s = this._$AH;
|
|
161
|
-
let i, e = 0;
|
|
162
|
-
for (const h of t) e === s.length ? s.push(i = new M(this.O(C()), this.O(C()), this, this.options)) : i = s[e], i._$AI(h), e++;
|
|
163
|
-
e < s.length && (this._$AR(i && i._$AB.nextSibling, e), s.length = e);
|
|
164
|
-
}
|
|
165
|
-
_$AR(t = this._$AA.nextSibling, s) {
|
|
166
|
-
var i;
|
|
167
|
-
for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, s); t && t !== this._$AB; ) {
|
|
168
|
-
const e = t.nextSibling;
|
|
169
|
-
t.remove(), t = e;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
setConnected(t) {
|
|
173
|
-
var s;
|
|
174
|
-
this._$AM === void 0 && (this._$Cv = t, (s = this._$AP) == null || s.call(this, t));
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
class S {
|
|
178
|
-
get tagName() {
|
|
179
|
-
return this.element.tagName;
|
|
180
|
-
}
|
|
181
|
-
get _$AU() {
|
|
182
|
-
return this._$AM._$AU;
|
|
183
|
-
}
|
|
184
|
-
constructor(t, s, i, e, h) {
|
|
185
|
-
this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t, this.name = s, this._$AM = e, this.options = h, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = A;
|
|
186
|
-
}
|
|
187
|
-
_$AI(t, s = this, i, e) {
|
|
188
|
-
const h = this.strings;
|
|
189
|
-
let n = !1;
|
|
190
|
-
if (h === void 0) t = m(this, t, s, 0), n = !x(t) || t !== this._$AH && t !== H, n && (this._$AH = t);
|
|
191
|
-
else {
|
|
192
|
-
const a = t;
|
|
193
|
-
let o, $;
|
|
194
|
-
for (t = h[0], o = 0; o < h.length - 1; o++) $ = m(this, a[i + o], s, o), $ === H && ($ = this._$AH[o]), n || (n = !x($) || $ !== this._$AH[o]), $ === A ? t = A : t !== A && (t += ($ ?? "") + h[o + 1]), this._$AH[o] = $;
|
|
195
|
-
}
|
|
196
|
-
n && !e && this.j(t);
|
|
197
|
-
}
|
|
198
|
-
j(t) {
|
|
199
|
-
t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
class q extends S {
|
|
203
|
-
constructor() {
|
|
204
|
-
super(...arguments), this.type = 3;
|
|
205
|
-
}
|
|
206
|
-
j(t) {
|
|
207
|
-
this.element[this.name] = t === A ? void 0 : t;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
class G extends S {
|
|
211
|
-
constructor() {
|
|
212
|
-
super(...arguments), this.type = 4;
|
|
213
|
-
}
|
|
214
|
-
j(t) {
|
|
215
|
-
this.element.toggleAttribute(this.name, !!t && t !== A);
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
class J extends S {
|
|
219
|
-
constructor(t, s, i, e, h) {
|
|
220
|
-
super(t, s, i, e, h), this.type = 5;
|
|
221
|
-
}
|
|
222
|
-
_$AI(t, s = this) {
|
|
223
|
-
if ((t = m(this, t, s, 0) ?? A) === H) return;
|
|
224
|
-
const i = this._$AH, e = t === A && i !== A || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, h = t !== A && (i === A || e);
|
|
225
|
-
e && this.element.removeEventListener(this.name, this, i), h && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
226
|
-
}
|
|
227
|
-
handleEvent(t) {
|
|
228
|
-
var s;
|
|
229
|
-
typeof this._$AH == "function" ? this._$AH.call(((s = this.options) == null ? void 0 : s.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
class K {
|
|
233
|
-
constructor(t, s, i) {
|
|
234
|
-
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = s, this.options = i;
|
|
235
|
-
}
|
|
236
|
-
get _$AU() {
|
|
237
|
-
return this._$AM._$AU;
|
|
238
|
-
}
|
|
239
|
-
_$AI(t) {
|
|
240
|
-
m(this, t);
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
const E = y.litHtmlPolyfillSupport;
|
|
244
|
-
E == null || E(N, M), (y.litHtmlVersions ?? (y.litHtmlVersions = [])).push("3.2.1");
|
|
245
|
-
export {
|
|
246
|
-
A as E,
|
|
247
|
-
H as T
|
|
248
|
-
};
|
|
@@ -1,24 +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
|
-
"use strict";/**
|
|
19
|
-
* @license
|
|
20
|
-
* Copyright 2017 Google LLC
|
|
21
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
22
|
-
*/const H=globalThis,b=H.trustedTypes,U=b?b.createPolicy("lit-html",{createHTML:r=>r}):void 0,W="$lit$",p=`lit$${Math.random().toFixed(9).slice(2)}$`,k="?"+p,D=`<${k}>`,f=document,C=()=>f.createComment(""),x=r=>r===null||typeof r!="object"&&typeof r!="function",I=Array.isArray,z=r=>I(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",E=`[
|
|
23
|
-
\f\r]`,y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,O=/-->/g,R=/>/g,u=RegExp(`>|${E}(?:([^\\s"'>=/]+)(${E}*=${E}*(?:[^
|
|
24
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),B=/'/g,L=/"/g,V=/^(?:script|style|textarea|title)$/i,m=Symbol.for("lit-noChange"),$=Symbol.for("lit-nothing"),P=new WeakMap,g=f.createTreeWalker(f,129);function j(r,t){if(!I(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return U!==void 0?U.createHTML(t):t}const Z=(r,t)=>{const s=r.length-1,i=[];let e,h=t===2?"<svg>":t===3?"<math>":"",n=y;for(let a=0;a<s;a++){const o=r[a];let A,c,l=-1,_=0;for(;_<o.length&&(n.lastIndex=_,c=n.exec(o),c!==null);)_=n.lastIndex,n===y?c[1]==="!--"?n=O:c[1]!==void 0?n=R:c[2]!==void 0?(V.test(c[2])&&(e=RegExp("</"+c[2],"g")),n=u):c[3]!==void 0&&(n=u):n===u?c[0]===">"?(n=e??y,l=-1):c[1]===void 0?l=-2:(l=n.lastIndex-c[2].length,A=c[1],n=c[3]===void 0?u:c[3]==='"'?L:B):n===L||n===B?n=u:n===O||n===R?n=y:(n=u,e=void 0);const d=n===u&&r[a+1].startsWith("/>")?" ":"";h+=n===y?o+D:l>=0?(i.push(A),o.slice(0,l)+W+o.slice(l)+p+d):o+p+(l===-2?a:d)}return[j(r,h+(r[s]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]};class N{constructor({strings:t,_$litType$:s},i){let e;this.parts=[];let h=0,n=0;const a=t.length-1,o=this.parts,[A,c]=Z(t,s);if(this.el=N.createElement(A,i),g.currentNode=this.el.content,s===2||s===3){const l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(e=g.nextNode())!==null&&o.length<a;){if(e.nodeType===1){if(e.hasAttributes())for(const l of e.getAttributeNames())if(l.endsWith(W)){const _=c[n++],d=e.getAttribute(l).split(p),T=/([.?@])?(.*)/.exec(_);o.push({type:1,index:h,name:T[2],strings:d,ctor:T[1]==="."?q:T[1]==="?"?G:T[1]==="@"?J:S}),e.removeAttribute(l)}else l.startsWith(p)&&(o.push({type:6,index:h}),e.removeAttribute(l));if(V.test(e.tagName)){const l=e.textContent.split(p),_=l.length-1;if(_>0){e.textContent=b?b.emptyScript:"";for(let d=0;d<_;d++)e.append(l[d],C()),g.nextNode(),o.push({type:2,index:++h});e.append(l[_],C())}}}else if(e.nodeType===8)if(e.data===k)o.push({type:2,index:h});else{let l=-1;for(;(l=e.data.indexOf(p,l+1))!==-1;)o.push({type:7,index:h}),l+=p.length-1}h++}}static createElement(t,s){const i=f.createElement("template");return i.innerHTML=t,i}}function v(r,t,s=r,i){var n,a;if(t===m)return t;let e=i!==void 0?(n=s._$Co)==null?void 0:n[i]:s._$Cl;const h=x(t)?void 0:t._$litDirective$;return(e==null?void 0:e.constructor)!==h&&((a=e==null?void 0:e._$AO)==null||a.call(e,!1),h===void 0?e=void 0:(e=new h(r),e._$AT(r,s,i)),i!==void 0?(s._$Co??(s._$Co=[]))[i]=e:s._$Cl=e),e!==void 0&&(t=v(r,e._$AS(r,t.values),e,i)),t}class F{constructor(t,s){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=s}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:s},parts:i}=this._$AD,e=((t==null?void 0:t.creationScope)??f).importNode(s,!0);g.currentNode=e;let h=g.nextNode(),n=0,a=0,o=i[0];for(;o!==void 0;){if(n===o.index){let A;o.type===2?A=new M(h,h.nextSibling,this,t):o.type===1?A=new o.ctor(h,o.name,o.strings,this,t):o.type===6&&(A=new K(h,this,t)),this._$AV.push(A),o=i[++a]}n!==(o==null?void 0:o.index)&&(h=g.nextNode(),n++)}return g.currentNode=f,e}p(t){let s=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,s),s+=i.strings.length-2):i._$AI(t[s])),s++}}class M{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,s,i,e){this.type=2,this._$AH=$,this._$AN=void 0,this._$AA=t,this._$AB=s,this._$AM=i,this.options=e,this._$Cv=(e==null?void 0:e.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const s=this._$AM;return s!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=s.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,s=this){t=v(this,t,s),x(t)?t===$||t==null||t===""?(this._$AH!==$&&this._$AR(),this._$AH=$):t!==this._$AH&&t!==m&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):z(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==$&&x(this._$AH)?this._$AA.nextSibling.data=t:this.T(f.createTextNode(t)),this._$AH=t}$(t){var h;const{values:s,_$litType$:i}=t,e=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=N.createElement(j(i.h,i.h[0]),this.options)),i);if(((h=this._$AH)==null?void 0:h._$AD)===e)this._$AH.p(s);else{const n=new F(e,this),a=n.u(this.options);n.p(s),this.T(a),this._$AH=n}}_$AC(t){let s=P.get(t.strings);return s===void 0&&P.set(t.strings,s=new N(t)),s}k(t){I(this._$AH)||(this._$AH=[],this._$AR());const s=this._$AH;let i,e=0;for(const h of t)e===s.length?s.push(i=new M(this.O(C()),this.O(C()),this,this.options)):i=s[e],i._$AI(h),e++;e<s.length&&(this._$AR(i&&i._$AB.nextSibling,e),s.length=e)}_$AR(t=this._$AA.nextSibling,s){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,s);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var s;this._$AM===void 0&&(this._$Cv=t,(s=this._$AP)==null||s.call(this,t))}}class S{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,s,i,e,h){this.type=1,this._$AH=$,this._$AN=void 0,this.element=t,this.name=s,this._$AM=e,this.options=h,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=$}_$AI(t,s=this,i,e){const h=this.strings;let n=!1;if(h===void 0)t=v(this,t,s,0),n=!x(t)||t!==this._$AH&&t!==m,n&&(this._$AH=t);else{const a=t;let o,A;for(t=h[0],o=0;o<h.length-1;o++)A=v(this,a[i+o],s,o),A===m&&(A=this._$AH[o]),n||(n=!x(A)||A!==this._$AH[o]),A===$?t=$:t!==$&&(t+=(A??"")+h[o+1]),this._$AH[o]=A}n&&!e&&this.j(t)}j(t){t===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class q extends S{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===$?void 0:t}}class G extends S{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==$)}}class J extends S{constructor(t,s,i,e,h){super(t,s,i,e,h),this.type=5}_$AI(t,s=this){if((t=v(this,t,s,0)??$)===m)return;const i=this._$AH,e=t===$&&i!==$||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,h=t!==$&&(i===$||e);e&&this.element.removeEventListener(this.name,this,i),h&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var s;typeof this._$AH=="function"?this._$AH.call(((s=this.options)==null?void 0:s.host)??this.element,t):this._$AH.handleEvent(t)}}class K{constructor(t,s,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=s,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){v(this,t)}}const w=H.litHtmlPolyfillSupport;w==null||w(N,M),(H.litHtmlVersions??(H.litHtmlVersions=[])).push("3.2.1");exports.E=$;exports.T=m;
|
|
@@ -1,39 +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
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("lit"),t=require("../base-BCmA9Wxv.cjs"),p=require("../sized-mixin-BSYHt8nT.cjs");require("../text-field/index.cjs");const h=require("../manage-help-text-iOk-zmy8.cjs"),d=":host{display:inline-block}:host luzmo-text-field{width:100%}";var g=Object.defineProperty,l=(n,i,r,y)=>{for(var a=void 0,o=n.length-1,s;o>=0;o--)(s=n[o])&&(a=s(i,r,a)||a);return a&&g(i,r,a),a};class e extends h.ManageHelpText(p.SizedMixin(t.LuzmoElement,{noDefaultSize:!0})){constructor(){super(...arguments),this.allowedKeys="",this.i18nPlaceholder={},this.type="text",this.grows=!1,this.maxlength=-1,this.minlength=-1,this.multiline=!1,this.rows=-1,this.quiet=!1,this.disabled=!1,this.required=!1,this.readonly=!1,this.language="en",this.defaultLanguage="en",this.value={}}static get styles(){return[u.unsafeCSS(d)]}get _localizedValue(){const i={...this.value};return i[this.language]??i[this.defaultLanguage]??Object.values(i)[0]??""}get _localizedPlaceholder(){const i={...this.i18nPlaceholder};return i[this.language]??i[this.defaultLanguage]??Object.values(i)[0]??""}handleChange(i){i.stopPropagation(),i.preventDefault();const r=i.target;this.value[this.language]!==r.value&&(this.value={...this.value,[this.language]:r.value},this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:this.value}})))}render(){return u.html`
|
|
19
|
-
<luzmo-text-field
|
|
20
|
-
.value=${this._localizedValue}
|
|
21
|
-
.size=${this.size}
|
|
22
|
-
.placeholder=${this._localizedPlaceholder}
|
|
23
|
-
.name=${this.name}
|
|
24
|
-
.allowedKeys=${this.allowedKeys}
|
|
25
|
-
.type=${this.type}
|
|
26
|
-
.pattern=${this.pattern}
|
|
27
|
-
.maxlength=${this.maxlength}
|
|
28
|
-
.minlength=${this.minlength}
|
|
29
|
-
?multiline=${this.multiline}
|
|
30
|
-
?grows=${this.grows}
|
|
31
|
-
.rows=${this.rows}
|
|
32
|
-
?quiet=${this.quiet}
|
|
33
|
-
?disabled=${this.disabled}
|
|
34
|
-
?readonly=${this.readonly}
|
|
35
|
-
?required=${this.required}
|
|
36
|
-
@input=${this.handleChange}
|
|
37
|
-
@change=${this.handleChange}
|
|
38
|
-
></luzmo-text-field>
|
|
39
|
-
`}}l([t.n({attribute:"allowed-keys"})],e.prototype,"allowedKeys");l([t.n({type:String,reflect:!0})],e.prototype,"name");l([t.n({type:Object,attribute:"i18n-placeholder"})],e.prototype,"i18nPlaceholder");l([t.n({attribute:"type",reflect:!0})],e.prototype,"type");l([t.n()],e.prototype,"pattern");l([t.n({type:Boolean,reflect:!0})],e.prototype,"grows");l([t.n({type:Number})],e.prototype,"maxlength");l([t.n({type:Number})],e.prototype,"minlength");l([t.n({type:Boolean,reflect:!0})],e.prototype,"multiline");l([t.n({type:Number})],e.prototype,"rows");l([t.n({type:Boolean,reflect:!0})],e.prototype,"quiet");l([t.n({type:Boolean,reflect:!0})],e.prototype,"disabled");l([t.n({type:Boolean,reflect:!0})],e.prototype,"required");l([t.n({type:Boolean,reflect:!0})],e.prototype,"readonly");l([t.n({type:String,reflect:!0})],e.prototype,"autocomplete");l([t.n({type:String,reflect:!0})],e.prototype,"language");l([t.n({type:String,reflect:!0})],e.prototype,"defaultLanguage");l([t.n({type:Object,reflect:!0})],e.prototype,"value");customElements.get("luzmo-multi-language-field")||customElements.define("luzmo-multi-language-field",e);exports.LuzmoMultiLangField=e;
|