@luzmo/analytics-components-kit 1.0.1-alpha.47 → 1.0.1-alpha.48
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/box-plot-options.config-SrrbDEYW.cjs +20 -0
- package/components/{box-plot-options.config-vlz5qeNq.js → box-plot-options.config-xu_i6ms7.js} +119 -44
- package/components/{bullet-chart-options.config-Bsw7N7Wl.js → bullet-chart-options.config-CDPpX1yc.js} +11 -0
- package/components/{button-base-DbkDzb71-CY6MJGqE.cjs → button-base-DbkDzb71-D0Ni0xn1.cjs} +1 -1
- package/components/{button-base-DbkDzb71-R8oqSqlY.js → button-base-DbkDzb71-Dh2Out91.js} +1 -1
- package/components/{calculate-data-item-icon-DKjZwr-x.js → calculate-data-item-icon-BiIL_s4Z.js} +1 -1
- package/components/choropleth-map-options.config-B_W9-rhe.js +381 -0
- package/components/choropleth-map-options.config-ZW8yoZH2.cjs +20 -0
- package/components/{choropleth-map-options.de-B_Agdr4T.cjs → choropleth-map-options.de-C4ko9lE4.cjs} +1 -1
- package/components/{choropleth-map-options.de-BSt-L5Vh.js → choropleth-map-options.de-CIls11eI.js} +1 -1
- package/components/{choropleth-map-options.en-Cy7WcWLG.js → choropleth-map-options.en-C7cPpmnS.js} +1 -1
- package/components/{choropleth-map-options.en-DJHAy6ek.cjs → choropleth-map-options.en-DVWBmXFe.cjs} +1 -1
- package/components/{choropleth-map-options.es-BnR-9vJv.js → choropleth-map-options.es-gQPy8Q0q.js} +1 -1
- package/components/{choropleth-map-options.es-Dr07odJo.cjs → choropleth-map-options.es-v5dYm1W3.cjs} +1 -1
- package/components/{choropleth-map-options.fr-CR5NMRR3.cjs → choropleth-map-options.fr-Bpk_J4Gw.cjs} +1 -1
- package/components/{choropleth-map-options.fr-BlwLS1Wy.js → choropleth-map-options.fr-YsTTCv_p.js} +1 -1
- package/components/{choropleth-map-options.nl-D70fr4Hl.js → choropleth-map-options.nl-CnEI0pYJ.js} +1 -1
- package/components/{choropleth-map-options.nl-BITK3ddz.cjs → choropleth-map-options.nl-CyDZDpyE.cjs} +1 -1
- package/components/{circular-gauge-options.config-Kd_WK_w-.js → circular-gauge-options.config-DAIjz4Rl.js} +59 -13
- package/components/circular-gauge-options.config-msZ4mfpN.cjs +20 -0
- package/components/{circular-gauge-options.de-BO3S8GCr.js → circular-gauge-options.de-BMzGTpZD.js} +3 -0
- package/components/{circular-gauge-options.de-BZfrQqs3.cjs → circular-gauge-options.de-CzEREduR.cjs} +1 -1
- package/components/{circular-gauge-options.en-CB-jZtE6.cjs → circular-gauge-options.en--hMYjiKb.cjs} +1 -1
- package/components/{circular-gauge-options.en-Cyhhijwg.js → circular-gauge-options.en-C6U5peDD.js} +3 -0
- package/components/{circular-gauge-options.es-DJ7ru4Wf.js → circular-gauge-options.es-Kajxp0wO.js} +5 -2
- package/components/{circular-gauge-options.es-DuQPHjcG.cjs → circular-gauge-options.es-bS5N1QyR.cjs} +1 -1
- package/components/{circular-gauge-options.fr-CFMa8H8K.cjs → circular-gauge-options.fr-VgkkhIDb.cjs} +1 -1
- package/components/{circular-gauge-options.fr-BVWliP7i.js → circular-gauge-options.fr-l5cqWrSS.js} +3 -0
- package/components/{circular-gauge-options.nl-BB_jgj5k.cjs → circular-gauge-options.nl-B-E_GXJl.cjs} +1 -1
- package/components/{circular-gauge-options.nl-DGpV7Riu.js → circular-gauge-options.nl-CAx8oTMs.js} +3 -0
- package/components/color-B6LaL8qz.cjs +20 -0
- package/components/color-DuJ4-73S.js +2867 -0
- package/components/color-palettes-BqH2Fv19.js +1852 -0
- package/components/color-palettes-DhNHcib8.cjs +20 -0
- package/components/color-range-utils-Bvo9sm5A.js +68 -0
- package/components/color-range-utils-C5yXW7ZC.cjs +20 -0
- package/components/{conditional-number-options.config-BzzAnCOB.js → conditional-number-options.config-BCEpSK9J.js} +68 -12
- package/components/conditional-number-options.config-DgzUo0xi.cjs +20 -0
- package/components/{conditional-number-options.de-BJcjBZY1.js → conditional-number-options.de-DbpKd1bd.js} +2 -2
- package/components/{conditional-number-options.de-CFnufi0r.cjs → conditional-number-options.de-R9Mtj45x.cjs} +1 -1
- package/components/{conditional-number-options.en-Wd-0YtdE.cjs → conditional-number-options.en-C-nOJ85m.cjs} +1 -1
- package/components/{conditional-number-options.en-WSrIzRGJ.js → conditional-number-options.en-DZH6utHH.js} +2 -2
- package/components/{conditional-number-options.es-BTDTe5SF.cjs → conditional-number-options.es-C41csR3J.cjs} +1 -1
- package/components/{conditional-number-options.es-BKqT0zog.js → conditional-number-options.es-_oKhivId.js} +2 -2
- package/components/{conditional-number-options.fr-D2r7Azy8.js → conditional-number-options.fr-BSSywulP.js} +2 -2
- package/components/{conditional-number-options.fr-CZ-9jzPm.cjs → conditional-number-options.fr-DgaXesnu.cjs} +1 -1
- package/components/{conditional-number-options.nl-pkRI1tLZ.js → conditional-number-options.nl-BuKNqxqm.js} +2 -2
- package/components/{conditional-number-options.nl-CfRYL6o1.cjs → conditional-number-options.nl-CJ5teRtT.cjs} +1 -1
- package/components/{date-filter-options.en-DqY3gH_W.cjs → date-filter-options.en-B7MjV7xe.cjs} +1 -1
- package/components/{date-filter-options.en-DgbZmD5M.js → date-filter-options.en-C0AmRz6f.js} +2 -1
- package/components/{date-filter-options.es-CQeWi9cD.cjs → date-filter-options.es-C__wCKac.cjs} +1 -1
- package/components/{date-filter-options.es-BI-h1lD-.js → date-filter-options.es-bN790adr.js} +4 -3
- package/components/{date-filter-options.fr-D22GM6_c.cjs → date-filter-options.fr-CFqwPRzc.cjs} +1 -1
- package/components/{date-filter-options.fr-DXLKLmhl.js → date-filter-options.fr-CNKTJNWh.js} +2 -1
- package/components/{date-filter-options.nl-CqZmwOux.cjs → date-filter-options.nl-CHOlmw93.cjs} +1 -1
- package/components/{date-filter-options.nl-DXgD8Ga_.js → date-filter-options.nl-ajUXG8Z4.js} +2 -1
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +4 -4
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +6 -6
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +3 -3
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +6 -6
- package/components/display-settings-period-over-period/index.cjs +6 -6
- package/components/display-settings-period-over-period/index.js +4 -4
- package/components/draggable-data-item-level/index.cjs +1 -1
- package/components/draggable-data-item-level/index.js +3 -3
- package/components/droppable-slot/index.cjs +1 -1
- package/components/droppable-slot/index.js +2 -2
- package/components/edit-item/index.cjs +2 -2
- package/components/edit-item/index.js +57 -57
- package/components/edit-option/helpers/control-templates/color-palette-picker-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/color-range-template.d.ts +2 -0
- package/components/edit-option/helpers/get-enum-values.d.ts +1 -0
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +1 -1
- package/components/edit-option-action-button-group/index.cjs +1 -1
- package/components/edit-option-action-button-group/index.js +5 -5
- package/components/edit-option-base/edit-option-base.d.ts +1 -0
- package/components/{edit-option-base-CbpBi6I7.js → edit-option-base-D25zHZVl.js} +12 -9
- package/components/{edit-option-base-Db3JjWMk.cjs → edit-option-base-h5ndfVK4.cjs} +3 -3
- package/components/edit-option-color-palette-picker/edit-option-color-palette-picker.d.ts +42 -0
- package/components/edit-option-color-palette-picker/index.cjs +79 -0
- package/components/edit-option-color-palette-picker/index.d.ts +7 -0
- package/components/edit-option-color-palette-picker/index.js +405 -0
- package/components/edit-option-color-picker/edit-option-color-picker.d.ts +5 -0
- package/components/edit-option-color-picker/index.cjs +2 -424
- package/components/edit-option-color-picker/index.js +49 -5653
- package/components/edit-option-color-range/edit-option-color-range.d.ts +99 -0
- package/components/edit-option-color-range/index.cjs +85 -0
- package/components/edit-option-color-range/index.d.ts +7 -0
- package/components/edit-option-color-range/index.js +261 -0
- package/components/edit-option-multi-language-field/index.cjs +1 -1
- package/components/edit-option-multi-language-field/index.js +2 -2
- package/components/edit-option-number-field/edit-option-number-field.d.ts +2 -0
- package/components/edit-option-number-field/index.cjs +7 -3
- package/components/edit-option-number-field/index.js +28 -17
- package/components/edit-option-picker/index.cjs +1 -1
- package/components/edit-option-picker/index.js +3 -3
- package/components/edit-option-position-picker/index.cjs +1 -1
- package/components/edit-option-position-picker/index.js +2 -2
- package/components/edit-option-positions-number-field/index.cjs +1 -1
- package/components/edit-option-positions-number-field/index.js +3 -3
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +3 -3
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +1 -1
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +1 -1
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +2 -2
- package/components/extrapolate-color-0j_AeYkz.cjs +20 -0
- package/components/extrapolate-color-CC9CURf6.js +33 -0
- package/components/filter-data-item-picker/index.cjs +1 -1
- package/components/filter-data-item-picker/index.js +4 -4
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +1 -1
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +1 -1
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +9 -9
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +2 -2
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +2 -2
- package/components/grid/index.cjs +45 -45
- package/components/grid/index.js +2217 -5061
- package/components/heat-map-options.config-BQ-Afrbi.cjs +20 -0
- package/components/{heat-map-options.config-BAuSJV3_.js → heat-map-options.config-DQya-lag.js} +92 -13
- package/components/{heat-map-options.de-Cz5Pwwcu.cjs → heat-map-options.de-CCzVMy-R.cjs} +1 -1
- package/components/{heat-map-options.de-6onYsjdI.js → heat-map-options.de-UJbdYtlh.js} +4 -5
- package/components/{heat-map-options.en-DHX1GKcM.cjs → heat-map-options.en-Bg7i7QKn.cjs} +1 -1
- package/components/{heat-map-options.en-mwgrQFkO.js → heat-map-options.en-C0K0NGEE.js} +5 -5
- package/components/{heat-map-options.es-A-j6i3Tz.cjs → heat-map-options.es-BYyHRdIH.cjs} +1 -1
- package/components/{heat-map-options.es-Dd0KsseA.js → heat-map-options.es-DCUCh58R.js} +5 -5
- package/components/{heat-map-options.fr-C3LwETEg.cjs → heat-map-options.fr-CLB-XMRA.cjs} +1 -1
- package/components/{heat-map-options.fr-BkrrUt04.js → heat-map-options.fr-a-_Kw5S_.js} +5 -5
- package/components/{heat-map-options.nl-CXn1y4jH.cjs → heat-map-options.nl-BHrmi96k.cjs} +1 -1
- package/components/{heat-map-options.nl-DME6ILT5.js → heat-map-options.nl-BRGoOun2.js} +5 -5
- package/components/heat-table-options.config-B12JEYnp.cjs +20 -0
- package/components/{heat-table-options.config-DSu_18VG.js → heat-table-options.config-CUsDdgUr.js} +137 -21
- package/components/{heat-table-options.de-BABkUn2Y.js → heat-table-options.de-D6R0zXX0.js} +1 -1
- package/components/{heat-table-options.de-aYfCrdCP.cjs → heat-table-options.de-cnjPxQep.cjs} +1 -1
- package/components/{heat-table-options.en-CIdnDv3K.cjs → heat-table-options.en-Bjqpkm75.cjs} +1 -1
- package/components/{heat-table-options.en-BUBmMDZW.js → heat-table-options.en-Co6IDHlF.js} +1 -1
- package/components/{heat-table-options.es-Dl9D9rD_.js → heat-table-options.es-B3Kb8J1N.js} +1 -1
- package/components/{heat-table-options.es-DaK6qGQC.cjs → heat-table-options.es-IaNf_Ge4.cjs} +1 -1
- package/components/{heat-table-options.fr-BouHFs1P.cjs → heat-table-options.fr-BdZnJYlb.cjs} +1 -1
- package/components/{heat-table-options.fr-DOShw8a1.js → heat-table-options.fr-C51PmgHa.js} +1 -1
- package/components/{heat-table-options.nl-8CXDqKzS.cjs → heat-table-options.nl-DGS7vzoT.cjs} +1 -1
- package/components/{heat-table-options.nl-D6Fn7sgt.js → heat-table-options.nl-DXOd_uE6.js} +1 -1
- package/components/hexbin-map-options.config-DZERRhM8.cjs +20 -0
- package/components/{hexbin-map-options.config-DaaC88d8.js → hexbin-map-options.config-F-7uCqxb.js} +55 -20
- package/components/{hexbin-map-options.de-BuLxwJd2.js → hexbin-map-options.de-D50U2vgf.js} +1 -1
- package/components/{hexbin-map-options.de-DPYaSNHm.cjs → hexbin-map-options.de-DUp41p9I.cjs} +1 -1
- package/components/{hexbin-map-options.en-CEGMU7TX.cjs → hexbin-map-options.en-B10UanAQ.cjs} +1 -1
- package/components/{hexbin-map-options.en-CXV4sbbg.js → hexbin-map-options.en-iDuuqVpi.js} +1 -1
- package/components/{hexbin-map-options.es-urnYaXEk.cjs → hexbin-map-options.es-97IUVMSg.cjs} +1 -1
- package/components/{hexbin-map-options.es-2f7amcb6.js → hexbin-map-options.es-RRMQV0DY.js} +1 -1
- package/components/{hexbin-map-options.fr-DxRtJ3_F.cjs → hexbin-map-options.fr-Bh9Swyi3.cjs} +1 -1
- package/components/{hexbin-map-options.fr-J3g_JcSM.js → hexbin-map-options.fr-CQ7JbE9T.js} +1 -1
- package/components/{hexbin-map-options.nl-BnvrfMKQ.js → hexbin-map-options.nl-BpTRJ36m.js} +1 -1
- package/components/{hexbin-map-options.nl-GZtiTQw6.cjs → hexbin-map-options.nl-BzyMf0JQ.cjs} +1 -1
- package/components/{index-Tx5oQjbt.cjs → index--3gSNupB.cjs} +1 -1
- package/components/{index-CDpuEf8W.js → index-9LxnqLJa.js} +2 -2
- package/components/{index-MVmoiSxL.cjs → index-B7AFYrfv.cjs} +1 -1
- package/components/{index-CHFwXYcm.cjs → index-BKx2WhDB.cjs} +7 -7
- package/components/{index-cHKqEi5-.cjs → index-BSgp4MWQ.cjs} +1 -1
- package/components/{index-BHJH1eGn.js → index-BW3AUnEX.js} +1 -1
- package/components/index-BY1yDIAI.js +5672 -0
- package/components/index-Be-pSgzQ.js +174 -0
- package/components/{index-Bdy8Bz-n.js → index-BobhBKA2.js} +8 -7
- package/components/{index-CBOAQ3-E.cjs → index-Bpdwb9Js.cjs} +3 -3
- package/components/{index-BNCgbOV2.js → index-BqSQoHjg.js} +2 -2
- package/components/{index-EXO-Hsj2.cjs → index-BukPAqqU.cjs} +1 -1
- package/components/{index-Desl7GJ0.js → index-C6NpWavw.js} +3 -3
- package/components/{index-BC1LV3vH.js → index-COU9XhBt.js} +1 -1
- package/components/{index-ChDwMQlU.js → index-Cf_a7VrO.js} +12 -11
- package/components/{index-CnpJUw_z.cjs → index-CnP-Q5Bw.cjs} +1 -1
- package/components/index-DCdx3dxQ.cjs +42 -0
- package/components/index-DMhm0FM8.cjs +443 -0
- package/components/index-DRLFjkH0.cjs +249 -0
- package/components/{index-DE3d0E0P.js → index-DYmi-X87.js} +2 -2
- package/components/{index-CbuHBIDB.js → index-DeIay7ZE.js} +2 -2
- package/components/{index-Cw_HnduG.js → index-PGX2p9Ns.js} +4 -4
- package/components/{index-BqMMcuLX.cjs → index-VHrmgynd.cjs} +1 -1
- package/components/{index-CNA9joKT.cjs → index-cbfU96gS.cjs} +26 -26
- package/components/{index-DSQyBS9Z.cjs → index-fwJBhawL.cjs} +1 -1
- package/components/{index-DM0JWaVq.js → index-ydBgjAru.js} +560 -466
- package/components/index.cjs +1 -1
- package/components/index.js +62 -58
- package/components/{luzmo-icons-DnAqAQCX.js → luzmo-icons-4Tmb3sKr.js} +5 -5
- package/components/{luzmo-icons-DbwDQtuO-DSQ-uVxy.cjs → luzmo-icons-4nDFv1Lq-D6-m-VWM.cjs} +2 -2
- package/components/{luzmo-icons-DbwDQtuO-QG0fLECn.js → luzmo-icons-4nDFv1Lq-DffGNBpO.js} +7 -7
- package/components/mutation-controller-DH7YOCyj-B6sXpbgh.cjs +40 -0
- package/components/mutation-controller-DH7YOCyj-E7gpCmwh.js +71 -0
- package/components/{observe-slot-presence-CmVi0zTc-B4M1Mze7.cjs → observe-slot-presence-CmVi0zTc-NPSGFmv-.cjs} +2 -2
- package/components/{observe-slot-presence-CmVi0zTc-DCFuXW7v.js → observe-slot-presence-CmVi0zTc-hhUl4oRa.js} +5 -5
- package/components/observe-slot-text-BPfIQQtz-D4LmMIo0.cjs +66 -0
- package/components/observe-slot-text-BPfIQQtz-DLOwgi-A.js +172 -0
- package/components/route-map-options.config-CN86T7c0.js +346 -0
- package/components/route-map-options.config-D7NJePTu.cjs +20 -0
- package/components/{route-map-options.de-DrhHqbdy.js → route-map-options.de-DXYmUtv8.js} +20 -0
- package/components/{route-map-options.de-ey7CT_tQ.cjs → route-map-options.de-w5wuIvwf.cjs} +1 -1
- package/components/{route-map-options.en-DAgywIcY.js → route-map-options.en-CYMhTqyE.js} +20 -0
- package/components/{route-map-options.en-CjyQT-Ue.cjs → route-map-options.en-Co0Fbjkz.cjs} +1 -1
- package/components/{route-map-options.es-BR7NuBw0.js → route-map-options.es-BEBPlDvt.js} +20 -0
- package/components/{route-map-options.es-aEyX7m3t.cjs → route-map-options.es-Cjasm-ZQ.cjs} +1 -1
- package/components/{route-map-options.fr-42waILBL.cjs → route-map-options.fr-C1SCfKLH.cjs} +1 -1
- package/components/{route-map-options.fr-C7TkfcdY.js → route-map-options.fr-DEHQekgM.js} +20 -0
- package/components/{route-map-options.nl-X4lAer8J.cjs → route-map-options.nl-CYmB51pE.cjs} +1 -1
- package/components/{route-map-options.nl-Btd3mxx0.js → route-map-options.nl-CwUgb9Zg.js} +20 -0
- package/components/slot-contents-picker/index.cjs +1 -1
- package/components/slot-contents-picker/index.js +5 -5
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +2 -2
- package/components/slot-menu-list/index.js +1 -1
- package/components/speedometer-chart-options.config-BX9LTQBH.cjs +20 -0
- package/components/speedometer-chart-options.config-SL581yOa.js +265 -0
- package/components/spike-map-options.config-C5KewecZ.js +436 -0
- package/components/spike-map-options.config-DoBFXPmN.cjs +20 -0
- package/components/{spike-map-options.de-BxTSDs6l.js → spike-map-options.de-COZovZ7s.js} +26 -0
- package/components/spike-map-options.de-_47BiyJQ.cjs +20 -0
- package/components/spike-map-options.en-B9InMjtg.cjs +20 -0
- package/components/{spike-map-options.en-C0DCu7ul.js → spike-map-options.en-Dx9h9SIj.js} +26 -0
- package/components/{spike-map-options.es-bTfVypDV.js → spike-map-options.es-CHMMXuMS.js} +26 -0
- package/components/spike-map-options.es-e-sVsx0P.cjs +20 -0
- package/components/{spike-map-options.fr-BKzDjsKP.js → spike-map-options.fr-BcRnMqG8.js} +26 -0
- package/components/spike-map-options.fr-DPpYI3Yd.cjs +20 -0
- package/components/spike-map-options.nl-DOJHgdzZ.cjs +20 -0
- package/components/{spike-map-options.nl-BGPuQRih.js → spike-map-options.nl-DSGG2M38.js} +26 -0
- package/components/{text-field-BIADXoLC-B9oE05VF.js → text-field-ol9Ed5lQ-DbpeM4EP.js} +1 -1
- package/components/{text-field-BIADXoLC-B8w9TVmS.cjs → text-field-ol9Ed5lQ-cRqtIf_0.cjs} +1 -1
- package/custom-elements.json +369 -2
- package/index.d.ts +2 -0
- package/item-definitions/box-plot/box-plot-options.config.d.ts +51 -0
- package/item-definitions/choropleth-map/choropleth-map-options.config.d.ts +125 -0
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.de.d.ts +1 -1
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.en.d.ts +1 -1
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.es.d.ts +1 -1
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.fr.d.ts +1 -1
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.nl.d.ts +1 -1
- package/item-definitions/circular-gauge/circular-gauge-options.config.d.ts +94 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.de.d.ts +3 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.en.d.ts +3 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.es.d.ts +3 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.fr.d.ts +3 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.nl.d.ts +3 -0
- package/item-definitions/conditional-number/conditional-number-options.config.d.ts +106 -0
- package/item-definitions/conditional-number/i18n/conditional-number-options.de.d.ts +2 -2
- package/item-definitions/conditional-number/i18n/conditional-number-options.en.d.ts +2 -2
- package/item-definitions/conditional-number/i18n/conditional-number-options.es.d.ts +2 -2
- package/item-definitions/conditional-number/i18n/conditional-number-options.fr.d.ts +2 -2
- package/item-definitions/conditional-number/i18n/conditional-number-options.nl.d.ts +2 -2
- package/item-definitions/date-filter/i18n/date-filter-options.en.d.ts +1 -0
- package/item-definitions/date-filter/i18n/date-filter-options.es.d.ts +1 -0
- package/item-definitions/date-filter/i18n/date-filter-options.fr.d.ts +1 -0
- package/item-definitions/date-filter/i18n/date-filter-options.nl.d.ts +1 -0
- package/item-definitions/heat-map/heat-map-options.config.d.ts +89 -0
- package/item-definitions/heat-map/i18n/heat-map-options.de.d.ts +4 -5
- package/item-definitions/heat-map/i18n/heat-map-options.en.d.ts +5 -5
- package/item-definitions/heat-map/i18n/heat-map-options.es.d.ts +5 -5
- package/item-definitions/heat-map/i18n/heat-map-options.fr.d.ts +5 -5
- package/item-definitions/heat-map/i18n/heat-map-options.nl.d.ts +5 -5
- package/item-definitions/heat-table/heat-table-options.config.d.ts +90 -4
- package/item-definitions/heat-table/i18n/heat-table-options.de.d.ts +1 -1
- package/item-definitions/heat-table/i18n/heat-table-options.en.d.ts +1 -1
- package/item-definitions/heat-table/i18n/heat-table-options.es.d.ts +1 -1
- package/item-definitions/heat-table/i18n/heat-table-options.fr.d.ts +1 -1
- package/item-definitions/heat-table/i18n/heat-table-options.nl.d.ts +1 -1
- package/item-definitions/hexbin-map/hexbin-map-options.config.d.ts +55 -2
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.de.d.ts +1 -1
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.en.d.ts +1 -1
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.es.d.ts +1 -1
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.fr.d.ts +1 -1
- package/item-definitions/hexbin-map/i18n/hexbin-map-options.nl.d.ts +1 -1
- package/item-definitions/route-map/i18n/route-map-options.de.d.ts +20 -0
- package/item-definitions/route-map/i18n/route-map-options.en.d.ts +20 -0
- package/item-definitions/route-map/i18n/route-map-options.es.d.ts +20 -0
- package/item-definitions/route-map/i18n/route-map-options.fr.d.ts +20 -0
- package/item-definitions/route-map/i18n/route-map-options.nl.d.ts +20 -0
- package/item-definitions/route-map/route-map-options.config.d.ts +157 -0
- package/item-definitions/shared/color-range-utils.d.ts +22 -0
- package/item-definitions/speedometer-chart/speedometer-chart-options.config.d.ts +126 -0
- package/item-definitions/spike-map/i18n/spike-map-options.de.d.ts +26 -0
- package/item-definitions/spike-map/i18n/spike-map-options.en.d.ts +26 -0
- package/item-definitions/spike-map/i18n/spike-map-options.es.d.ts +26 -0
- package/item-definitions/spike-map/i18n/spike-map-options.fr.d.ts +26 -0
- package/item-definitions/spike-map/i18n/spike-map-options.nl.d.ts +26 -0
- package/item-definitions/spike-map/spike-map-options.config.d.ts +123 -0
- package/package.json +11 -1
- package/utils/color/color-palettes.d.ts +17 -0
- package/utils/color/extrapolate-color.d.ts +1 -0
- package/components/box-plot-options.config-DJz_kt-M.cjs +0 -20
- package/components/choropleth-map-options.config-CeKXtnYB.js +0 -249
- package/components/choropleth-map-options.config-CxUOg3pw.cjs +0 -20
- package/components/circular-gauge-options.config-Cz2TGR6X.cjs +0 -20
- package/components/conditional-number-options.config-BZfgdUGh.cjs +0 -20
- package/components/heat-map-options.config-DsUXxjN0.cjs +0 -20
- package/components/heat-table-options.config-DqPL2hIY.cjs +0 -20
- package/components/hexbin-map-options.config-B_KAcDYq.cjs +0 -20
- package/components/index-BNFpjvqX.cjs +0 -195
- package/components/index-C2PPSv8E.cjs +0 -42
- package/components/index-rQxtPaJl.js +0 -174
- package/components/observe-slot-text-BPfIQQtz-DHOh38Ve.cjs +0 -86
- package/components/observe-slot-text-BPfIQQtz-v6B-1BYh.js +0 -221
- package/components/route-map-options.config-CcQXPmjN.cjs +0 -20
- package/components/route-map-options.config-u0hQqmDh.js +0 -136
- package/components/speedometer-chart-options.config-CVsSjLmh.cjs +0 -20
- package/components/speedometer-chart-options.config-Dt2feQYV.js +0 -199
- package/components/spike-map-options.config-PpPPrsR2.cjs +0 -20
- package/components/spike-map-options.config-pdbV_vwg.js +0 -218
- package/components/spike-map-options.de-BW8YhDI8.cjs +0 -20
- package/components/spike-map-options.en-fNS4A50-.cjs +0 -20
- package/components/spike-map-options.es-I-obYF7j.cjs +0 -20
- package/components/spike-map-options.fr-DWA0ZZBQ.cjs +0 -20
- package/components/spike-map-options.nl-D5Wu6E5D.cjs +0 -20
@@ -0,0 +1,174 @@
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
+
*
|
3
|
+
* Copyright © 2025 Luzmo
|
4
|
+
* All rights reserved.
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
7
|
+
* This license allows users with a current active Luzmo account
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
11
|
+
*
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
+
* SOFTWARE.
|
19
|
+
* */
|
20
|
+
import { D as b, V as s } from "./luzmo-icons-4nDFv1Lq-DffGNBpO.js";
|
21
|
+
import { m as g, a as m, R as h, z as a } from "./base-D76d76ww-BGkuhs54.js";
|
22
|
+
import { a as v } from "./button-base-DbkDzb71-Dh2Out91.js";
|
23
|
+
/*! * Lucero - The design system for Luzmo.
|
24
|
+
*
|
25
|
+
* Copyright © 2025 Luzmo
|
26
|
+
* All rights reserved.
|
27
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
28
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
29
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
30
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
31
|
+
*
|
32
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
33
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
34
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
35
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
36
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
37
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
38
|
+
* SOFTWARE.
|
39
|
+
* */
|
40
|
+
const z = () => {
|
41
|
+
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
42
|
+
const c = document.createElement("style");
|
43
|
+
c.setAttribute("data-luzmo-vars", ""), c.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-disabled-color);--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-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 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(c);
|
44
|
+
}
|
45
|
+
};
|
46
|
+
z();
|
47
|
+
const f = ':host{cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;font-family:var(--luzmo-button-font-family, var(--luzmo-sans-font-family-stack, var(--luzmo-font-family)));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:var(--luzmo-button-line-height, var(--luzmo-line-height-100, var(--line-height-100)));text-transform:none;vertical-align:top;-webkit-appearance:button;transition:background var(--luzmo-button-animation-duration, var(--luzmo-animation-duration-100, var(--animation-duration-100))) ease-out,border-color var(--luzmo-button-animation-duration, var(--luzmo-animation-duration-100, var(--animation-duration-100))) ease-out,color var(--luzmo-button-animation-duration, var(--luzmo-animation-duration-100, var(--animation-duration-100))) ease-out,box-shadow var(--luzmo-button-animation-duration, var(--luzmo-animation-duration-100, var(--animation-duration-100))) ease-out;border-style:solid;justify-content:center;align-items:center;margin:0;-webkit-text-decoration:none;text-decoration:none;display:inline-flex;overflow:visible}:host(:focus){outline:none}:host([disabled]){cursor:default}::slotted([slot=icon]){max-block-size:100%;flex-shrink:0;display:flex;align-items:center;justify-content:center}#label{text-align:center;place-self:center}#label:empty{display:none}@media (forced-colors: active){:host{--highcontrast-action-button-focus-indicator-color: ButtonText}:host:after{forced-color-adjust:none}:host([selected]){--highcontrast-action-button-background-color-default: Highlight;--highcontrast-action-button-background-color-hover: Highlight;--highcontrast-action-button-background-color-focus: Highlight;--highcontrast-action-button-background-color-down: Highlight;--highcontrast-action-button-background-color-disabled: ButtonFace;--highcontrast-action-button-border-color-default: HighlightText;--highcontrast-action-button-border-color-hover: HighlightText;--highcontrast-action-button-border-color-focus: HighlightText;--highcontrast-action-button-border-color-down: HighlightText;--highcontrast-action-button-border-color-disabled: GrayText;--highcontrast-action-button-content-color-default: HighlightText;--highcontrast-action-button-content-color-hover: HighlightText;--highcontrast-action-button-content-color-focus: HighlightText;--highcontrast-action-button-content-color-down: HighlightText;--highcontrast-action-button-content-color-disabled: GrayText}:host([selected]) .hold-affordance,:host([selected]) ::slotted([slot=icon]),:host([selected]) #label{forced-color-adjust:none}}:host{--action-button-focus-indicator-border-radius: calc( var(--action-button-border-radius) + var(--action-button-focus-indicator-gap) );--action-button-edge-to-visual: calc( var(--action-button-edge-to-visual-size) - var(--action-button-border-width) );--action-button-edge-to-text: calc( var(--action-button-edge-to-text-size) - var(--action-button-border-width) );--action-button-edge-to-visual-only: calc( var(--action-button-edge-to-visual-only-size) - var( --action-button-border-width ) );min-inline-size:var(--luzmo-action-button-min-width, var(--action-button-min-width));block-size:var(--luzmo-action-button-height, var(--action-button-height));border-radius:var(--luzmo-action-button-border-radius, var(--action-button-border-radius));border-width:var(--luzmo-action-button-border-width, var(--action-button-border-width));gap:calc(var(--luzmo-action-button-text-to-visual, var(--action-button-text-to-visual)) + var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text)) - var(--luzmo-action-button-edge-to-visual-only, var(--action-button-edge-to-visual-only)));padding-inline:var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text));background-color:var(--highcontrast-action-button-background-color-default, var(--luzmo-action-button-background-color-default, var(--action-button-background-color-default)));border-color:var(--highcontrast-action-button-border-color-default, var(--luzmo-action-button-border-color-default, var(--action-button-border-color-default)));color:var(--highcontrast-action-button-content-color-default, var(--luzmo-action-button-content-color-default, var(--action-button-content-color-default)));position:relative}:host:dir(rtl),:host([dir=rtl]){--logical-rotation: matrix(-1, 0, 0, 1, 0, 0)}@media (hover: hover){:host(:hover){background-color:var(--highcontrast-action-button-background-color-hover, var(--luzmo-action-button-background-color-hover, var(--action-button-background-color-hover)));border-color:var(--highcontrast-action-button-border-color-hover, var(--luzmo-action-button-border-color-hover, var(--action-button-border-color-hover)));color:var(--highcontrast-action-button-content-color-hover, var(--luzmo-action-button-content-color-hover, var(--action-button-content-color-hover)))}}:host(:focus-visible){background-color:var(--highcontrast-action-button-background-color-focus, var(--luzmo-action-button-background-color-focus, var(--action-button-background-color-focus)));border-color:var(--highcontrast-action-button-border-color-focus, var(--luzmo-action-button-border-color-focus, var(--action-button-border-color-focus)));color:var(--highcontrast-action-button-content-color-focus, var(--luzmo-action-button-content-color-focus, var(--action-button-content-color-focus)))}:host(:is(:active,[active])){background-color:var(--highcontrast-action-button-background-color-down, var(--luzmo-action-button-background-color-down, var(--action-button-background-color-down)));border-color:var(--highcontrast-action-button-border-color-down, var(--luzmo-action-button-border-color-down, var(--action-button-border-color-down)));color:var(--highcontrast-action-button-content-color-down, var(--luzmo-action-button-content-color-down, var(--action-button-content-color-down)))}:host([disabled]){background-color:var(--highcontrast-action-button-background-color-disabled, var(--luzmo-action-button-background-color-disabled, var(--action-button-background-color-disabled)));border-color:var(--highcontrast-action-button-border-color-disabled, var(--luzmo-action-button-border-color-disabled, var(--action-button-border-color-disabled)));color:var(--highcontrast-action-button-content-color-disabled, var(--luzmo-action-button-content-color-disabled, var(--action-button-content-color-disabled)))}:host([selected]){--luzmo-action-button-background-color-default: var( --luzmo-action-button-background-color-default-selected );--luzmo-action-button-background-color-hover: var( --luzmo-action-button-background-color-hover-selected );--luzmo-action-button-background-color-down: var( --luzmo-action-button-background-color-down-selected );--luzmo-action-button-background-color-focus: var( --luzmo-action-button-background-color-focus-selected );--luzmo-action-button-content-color-default: var( --luzmo-action-button-content-color-default-selected );--luzmo-action-button-content-color-hover: var( --luzmo-action-button-content-color-hover-selected );--luzmo-action-button-content-color-down: var( --luzmo-action-button-content-color-down-selected );--luzmo-action-button-content-color-focus: var( --luzmo-action-button-content-color-focus-selected )}:host([selected][emphasized]){--luzmo-action-button-background-color-default: var( --luzmo-action-button-background-color-default-selected-emphasized );--luzmo-action-button-background-color-hover: var( --luzmo-action-button-background-color-hover-selected-emphasized );--luzmo-action-button-background-color-down: var( --luzmo-action-button-background-color-down-selected-emphasized );--luzmo-action-button-background-color-focus: var( --luzmo-action-button-background-color-focus-selected-emphasized );--luzmo-action-button-content-color-default: var( --luzmo-action-button-content-color-default-selected-emphasized );--luzmo-action-button-content-color-hover: var( --luzmo-action-button-content-color-hover-selected-emphasized );--luzmo-action-button-content-color-down: var( --luzmo-action-button-content-color-down-selected-emphasized );--luzmo-action-button-content-color-focus: var( --luzmo-action-button-content-color-focus-selected-emphasized )}:host([selected][static-color=black]),:host([selected][static-color=white]){--luzmo-action-button-content-color-default: var( --luzmo-action-button-static-content-color );--luzmo-action-button-content-color-hover: var( --luzmo-action-button-static-content-color );--luzmo-action-button-content-color-down: var( --luzmo-action-button-static-content-color );--luzmo-action-button-content-color-focus: var( --luzmo-action-button-static-content-color )}::slotted([slot=icon]){min-inline-size:var(--luzmo-action-button-icon-size, var(--action-button-icon-size));color:inherit;margin-inline-start:calc(var(--luzmo-action-button-edge-to-visual, var(--action-button-edge-to-visual)) - var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text)));margin-inline-end:calc(var(--luzmo-action-button-edge-to-visual, var(--action-button-edge-to-visual)) - var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text)))}.hold-affordance+::slotted([slot=icon]){margin-inline-start:calc(var(--luzmo-action-button-edge-to-visual, var(--action-button-edge-to-visual)) - var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text)));margin-inline-end:calc(var(--luzmo-action-button-edge-to-visual-only, var(--action-button-edge-to-visual-only)) - var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text)))}.hold-affordance+[icon-only]::slotted([slot=icon]),[icon-only]::slotted([slot=icon]){margin-inline-start:calc(var(--luzmo-action-button-edge-to-visual-only, var(--action-button-edge-to-visual-only)) - var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text)));margin-inline-end:calc(var(--luzmo-action-button-edge-to-visual-only, var(--action-button-edge-to-visual-only)) - var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text)));text-align:center}#label{pointer-events:none;font-size:var(--luzmo-action-button-font-size, var(--action-button-font-size));white-space:nowrap;color:inherit;color:var(--luzmo-action-button-label-color, inherit);text-overflow:ellipsis;overflow:hidden}.hold-affordance{color:inherit;transform:var(--logical-rotation);position:absolute;font-size:var(--action-button-corner-triangle-size);inset-block-end:calc(var(--luzmo-action-button-edge-to-hold-icon, var(--action-button-edge-to-hold-icon)) - var(--luzmo-action-button-border-width, var(--action-button-border-width)));inset-inline-end:calc(var(--luzmo-action-button-edge-to-hold-icon, var(--action-button-edge-to-hold-icon)) - var(--luzmo-action-button-border-width, var(--action-button-border-width)))}:host{transition:border-color var(--luzmo-action-button-animation-duration, var(--action-button-animation-duration)) ease-in-out}:host:after{margin:calc((var(--luzmo-action-button-focus-indicator-gap, var(--action-button-focus-indicator-gap)) + var(--luzmo-action-button-border-width, var(--action-button-border-width))) * -1);border-radius:var(--luzmo-action-button-focus-indicator-border-radius, var(--action-button-focus-indicator-border-radius));transition:box-shadow var(--luzmo-action-button-animation-duration, var(--action-button-animation-duration)) ease-in-out;pointer-events:none;content:"";position:absolute;top:0;right:0;bottom:0;left:0}:host(:focus-visible){box-shadow:none;outline:none}:host(:focus-visible):after{box-shadow:0 0 0 var(--luzmo-action-button-focus-indicator-width, var(--action-button-focus-indicator-width)) var(--highcontrast-action-button-focus-indicator-color, var(--luzmo-action-button-focus-indicator-color, var(--action-button-focus-indicator-color)))}:host{--action-button-animation-duration: var(--luzmo-animation-duration);--action-button-border-radius: var(--luzmo-border-radius);--action-button-border-width: var(--luzmo-border-width);--action-button-content-color-default: var(--luzmo-font-color);--action-button-content-color-hover: var(--luzmo-font-color-hover);--action-button-content-color-down: var(--luzmo-font-color-down);--action-button-content-color-focus: var(--luzmo-font-color-focus);--action-button-focus-indicator-gap: var(--luzmo-indicator-gap);--action-button-focus-indicator-width: var(--luzmo-indicator-width);--action-button-focus-indicator-color: var(--luzmo-indicator-color);--action-button-background-color-default: var(--luzmo-background-color);--action-button-background-color-hover: var(--luzmo-background-color-hover);--action-button-background-color-down: var(--luzmo-background-color-down);--action-button-background-color-focus: var(--luzmo-background-color-focus);--action-button-border-color-default: var(--luzmo-border-color);--action-button-border-color-hover: var(--luzmo-border-color-hover);--action-button-border-color-down: var(--luzmo-border-color-down);--action-button-border-color-focus: var(--luzmo-border-color-focus);--action-button-background-color-disabled: var(--luzmo-background-color);--action-button-border-color-disabled: var(--luzmo-border-color-disabled);--action-button-content-color-disabled: var(--luzmo-font-color-disabled)}:host([quiet]){--action-button-background-color-default: transparent;--action-button-background-color-hover: var(--luzmo-background-color-hover);--action-button-background-color-down: var(--luzmo-background-color-down);--action-button-background-color-focus: var(--luzmo-background-color-focus);--action-button-background-color-disabled: transparent;--action-button-border-color-default: transparent;--action-button-border-color-hover: transparent;--action-button-border-color-down: transparent;--action-button-border-color-focus: transparent;--action-button-border-color-disabled: transparent}:host([selected]){--action-button-background-color-default: var(--luzmo-font-color);--action-button-background-color-hover: var(--luzmo-font-color-hover);--action-button-background-color-down: var(--luzmo-font-color-down);--action-button-background-color-focus: var(--luzmo-font-color-focus);--action-button-content-color-default: var(--luzmo-background-color);--action-button-content-color-hover: var(--luzmo-background-color);--action-button-content-color-down: var(--luzmo-background-color);--action-button-content-color-focus: var(--luzmo-background-color);--action-button-border-color-default: transparent;--action-button-border-color-hover: transparent;--action-button-border-color-down: transparent;--action-button-border-color-focus: transparent;--action-button-border-color-disabled: transparent;--action-button-background-color-disabled: var( --luzmo-background-color-disabled )}:host([selected][emphasized]){--action-button-background-color-default: var(--luzmo-primary);--action-button-background-color-hover: var(--luzmo-primary-hover);--action-button-background-color-down: var(--luzmo-primary-down);--action-button-background-color-focus: var(--luzmo-primary-focus);--action-button-content-color-default: var(--luzmo-primary-inverse-color);--action-button-content-color-hover: var(--luzmo-primary-inverse-color);--action-button-content-color-down: var(--luzmo-primary-inverse-color);--action-button-content-color-focus: var(--luzmo-primary-inverse-color)}:host([static-color=black][quiet]),:host([static-color=white][quiet]){--action-button-border-color-default: transparent;--action-button-border-color-hover: transparent;--action-button-border-color-down: transparent;--action-button-border-color-focus: transparent;--action-button-border-color-disabled: transparent}:host([static-color=black]){--action-button-background-color-default: transparent;--action-button-background-color-hover: rgba(0, 0, 0, .25);--action-button-background-color-down: rgba(0, 0, 0, .4);--action-button-background-color-focus: rgba(0, 0, 0, .25);--action-button-background-color-disabled: transparent;--action-button-border-color-default: rgba(0, 0, 0, .4);--action-button-border-color-hover: rgba(0, 0, 0, .55);--action-button-border-color-down: rgba(0, 0, 0, .7);--action-button-border-color-focus: rgba(0, 0, 0, .25);--action-button-border-color-disabled: transparent;--action-button-content-color-default: rgb(0, 0, 0);--action-button-content-color-hover: rgb(0, 0, 0);--action-button-content-color-down: rgb(0, 0, 0);--action-button-content-color-focus: rgb(0, 0, 0);--action-button-content-color-disabled: rgba(0, 0, 0, .55);--action-button-focus-indicator-color: rgb(0, 0, 0)}:host([static-color=black][selected]){--action-button-background-color-default: rgba(0, 0, 0, .9);--action-button-background-color-hover: rgb(0, 0, 0);--action-button-background-color-down: rgb(0, 0, 0);--action-button-background-color-focus: rgb(0, 0, 0);--action-button-background-color-disabled: rgba(0, 0, 0, .1);--action-button-border-color-disabled: transparent;--action-button-content-color-default: rgb(255, 255, 255);--action-button-content-color-hover: rgb(255, 255, 255);--action-button-content-color-down: rgb(255, 255, 255);--action-button-content-color-focus: rgb(255, 255, 255)}:host([static-color=black][selected][emphasized]){--action-button-background-color-default: rgba(0, 0, 0, .9);--action-button-background-color-hover: rgb(0, 0, 0);--action-button-background-color-down: rgb(0, 0, 0);--action-button-background-color-focus: rgb(0, 0, 0);--action-button-content-color-default: rgb(255, 255, 255);--action-button-content-color-hover: rgb(255, 255, 255);--action-button-content-color-down: rgb(255, 255, 255);--action-button-content-color-focus: rgb(255, 255, 255)}:host([static-color=white]){--action-button-background-color-default: transparent;--action-button-background-color-hover: rgba(255, 255, 255, .25);--action-button-background-color-down: rgba(255, 255, 255, .4);--action-button-background-color-focus: rgba(255, 255, 255, .25);--action-button-background-color-disabled: transparent;--action-button-border-color-default: rgba(255, 255, 255, .4);--action-button-border-color-hover: rgba(255, 255, 255, .55);--action-button-border-color-down: rgba(255, 255, 255, .7);--action-button-border-color-focus: rgba(255, 255, 255, .55);--action-button-border-color-disabled: rgba(255, 255, 255, .25);--action-button-content-color-default: rgb(255, 255, 255);--action-button-content-color-hover: rgb(255, 255, 255);--action-button-content-color-down: rgb(255, 255, 255);--action-button-content-color-focus: rgb(255, 255, 255);--action-button-content-color-disabled: rgba(255, 255, 255, .55);--action-button-focus-indicator-color: rgb(255, 255, 255)}:host([static-color=white][selected]){--action-button-background-color-default: rgba(255, 255, 255, .9);--action-button-background-color-hover: rgb(255, 255, 255);--action-button-background-color-down: rgb(255, 255, 255);--action-button-background-color-focus: rgb(255, 255, 255);--action-button-background-color-disabled: rgba(255, 255, 255, .1);--action-button-border-color-disabled: transparent;--action-button-content-color-default: rgb(0, 0, 0);--action-button-content-color-hover: rgb(0, 0, 0);--action-button-content-color-down: rgb(0, 0, 0);--action-button-content-color-focus: rgb(0, 0, 0)}:host([static-color=white][selected][emphasized]){--action-button-background-color-default: rgba(255, 255, 255, .9);--action-button-background-color-hover: rgb(255, 255, 255);--action-button-background-color-down: rgb(255, 255, 255);--action-button-background-color-focus: rgb(255, 255, 255);--action-button-content-color-default: rgb(0, 0, 0)}:host{--action-button-min-width: var(--luzmo-component-height);--action-button-height: var(--luzmo-component-height);--action-button-icon-size: var(--luzmo-font-size-l);--action-button-font-size: var(--luzmo-font-size);--action-button-text-to-visual: var(--luzmo-spacing-2);--action-button-edge-to-hold-icon: var(--luzmo-spacing-2);--action-button-edge-to-visual-size: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--action-button-edge-to-visual-only-size: var(--luzmo-spacing-3);--action-button-edge-to-text-size: 12px;--action-button-corner-triangle-size: calc( var(--luzmo-spacing-2) + var(--luzmo-spacing-1) )}:host([size=xs]){--action-button-min-width: var(--luzmo-component-height-xs);--action-button-height: var(--luzmo-component-height-xs);--action-button-icon-size: var(--luzmo-font-size-s);--action-button-font-size: var(--luzmo-font-size-xs);--action-button-text-to-visual: calc( var(--luzmo-spacing-2) + var(--luzmo-spacing-1) );--action-button-edge-to-hold-icon: var(--luzmo-spacing-2);--action-button-edge-to-visual-size: calc( var(--luzmo-spacing-2) + var(--luzmo-spacing-1) );--action-button-edge-to-visual-only-size: var(--luzmo-spacing-2);--action-button-edge-to-text-size: var(--luzmo-spacing-2);--action-button-corner-triangle-size: var(--luzmo-spacing-2)}:host([size=s]){--action-button-min-width: var(--luzmo-component-height-s);--action-button-height: var(--luzmo-component-height-s);--action-button-icon-size: var(--luzmo-font-size);--action-button-font-size: var(--luzmo-font-size-s);--action-button-text-to-visual: var(--luzmo-spacing-3);--action-button-edge-to-hold-icon: var(--luzmo-spacing-2);--action-button-edge-to-visual-size: var(--luzmo-spacing-3);--action-button-edge-to-visual-only-size: var(--luzmo-spacing-2);--action-button-edge-to-text-size: var(--luzmo-spacing-3);--action-button-corner-triangle-size: var(--luzmo-spacing-2)}:host([size=l]){--action-button-min-width: var(--luzmo-component-height-l);--action-button-height: var(--luzmo-component-height-l);--action-button-icon-size: var(--luzmo-font-size-xl);--action-button-font-size: var(--luzmo-font-size-l);--action-button-text-to-visual: var(--luzmo-spacing-3);--action-button-edge-to-hold-icon: var(--luzmo-spacing-2);--action-button-edge-to-visual-size: var(--luzmo-spacing-4);--action-button-edge-to-visual-only-size: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--action-button-edge-to-text-size: var(--luzmo-spacing-5);--action-button-corner-triangle-size: var(--luzmo-spacing-3)}:host([size=xl]){--action-button-min-width: var(--luzmo-component-height-xl);--action-button-height: var(--luzmo-component-height-xl);--action-button-icon-size: var(--luzmo-font-size-xxl);--action-button-font-size: var(--luzmo-font-size-xl);--action-button-text-to-visual: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--action-button-edge-to-hold-icon: calc( var(--luzmo-spacing-2) + var(--luzmo-spacing-1) );--action-button-edge-to-visual-size: var(--luzmo-spacing-5);--action-button-edge-to-visual-only-size: var(--luzmo-spacing-4);--action-button-edge-to-text-size: var(--luzmo-spacing-5);--action-button-corner-triangle-size: var(--luzmo-spacing-3)}::slotted([slot=icon]){flex-shrink:0}#label{flex-grow:var(--action-button-label-flex-grow);text-align:var(--action-button-label-text-align);pointer-events:none!important}:host([size=xs]){min-width:var(--action-button-height, 0);--action-button-edge-to-visual-only: calc( var(--luzmo-spacing-2) - var(--action-button-border-width) )}:host([size=s]){--action-button-edge-to-visual-only: calc( var(--luzmo-spacing-2) - var(--action-button-border-width) )}:host([size=m]){--action-button-edge-to-visual-only: calc( var(--luzmo-spacing-2) + var(--luzmo-spacing-1) - var(--action-button-border-width) )}:host([size=l]){--action-button-edge-to-visual-only: calc( var(--luzmo-spacing-3) - var(--action-button-border-width) )}:host([size=xl]){--action-button-edge-to-visual-only: calc( var(--luzmo-spacing-4) - var(--action-button-border-width) )}@media (forced-colors: active){:host{--highcontrast-action-button-border-color-disabled: GrayText;--highcontrast-action-button-content-color-disabled: GrayText}}';
|
48
|
+
var p = Object.defineProperty, x = Object.getOwnPropertyDescriptor, e = (c, o, t, n) => {
|
49
|
+
for (var i = n > 1 ? void 0 : n ? x(o, t) : o, l = c.length - 1, u; l >= 0; l--)
|
50
|
+
(u = c[l]) && (i = (n ? u(o, t, i) : u(i)) || i);
|
51
|
+
return n && i && p(o, t, i), i;
|
52
|
+
};
|
53
|
+
const w = 300;
|
54
|
+
let d;
|
55
|
+
class r extends g(v, {
|
56
|
+
validSizes: ["xs", "s", "m", "l", "xl"],
|
57
|
+
noDefaultSize: !0
|
58
|
+
}) {
|
59
|
+
constructor() {
|
60
|
+
super(), this.emphasized = !1, this.holdAffordance = !1, this.quiet = !1, this.role = "button", this.selected = !1, this.toggles = !1, this._value = "", this.onClick = () => {
|
61
|
+
this.toggles && (this.selected = !this.selected, this.dispatchEvent(
|
62
|
+
new Event("change", {
|
63
|
+
cancelable: !0,
|
64
|
+
bubbles: !0,
|
65
|
+
composed: !0
|
66
|
+
})
|
67
|
+
) || (this.selected = !this.selected));
|
68
|
+
}, this.addEventListener("click", this.onClick);
|
69
|
+
}
|
70
|
+
static get styles() {
|
71
|
+
return [...super.styles, m(f)];
|
72
|
+
}
|
73
|
+
get value() {
|
74
|
+
return this._value || this.itemText;
|
75
|
+
}
|
76
|
+
set value(o) {
|
77
|
+
o !== this._value && (this._value = o || "", this._value ? this.setAttribute("value", this._value) : this.removeAttribute("value"));
|
78
|
+
}
|
79
|
+
/**
|
80
|
+
* @private
|
81
|
+
*/
|
82
|
+
get itemText() {
|
83
|
+
return (this.textContent || /* c8 ignore next */
|
84
|
+
"").trim();
|
85
|
+
}
|
86
|
+
handlePointerdownHoldAffordance(o) {
|
87
|
+
o.button === 0 && (this.addEventListener("pointerup", this.handlePointerupHoldAffordance), this.addEventListener("pointercancel", this.handlePointerupHoldAffordance), d = setTimeout(() => {
|
88
|
+
this.dispatchEvent(
|
89
|
+
new CustomEvent("longpress", {
|
90
|
+
bubbles: !0,
|
91
|
+
composed: !0,
|
92
|
+
detail: {
|
93
|
+
source: "pointer"
|
94
|
+
}
|
95
|
+
})
|
96
|
+
);
|
97
|
+
}, w));
|
98
|
+
}
|
99
|
+
handlePointerupHoldAffordance() {
|
100
|
+
clearTimeout(d), this.removeEventListener("pointerup", this.handlePointerupHoldAffordance), this.removeEventListener(
|
101
|
+
"pointercancel",
|
102
|
+
this.handlePointerupHoldAffordance
|
103
|
+
);
|
104
|
+
}
|
105
|
+
/**
|
106
|
+
* @private
|
107
|
+
*/
|
108
|
+
handleKeydown(o) {
|
109
|
+
if (!this.holdAffordance)
|
110
|
+
return super.handleKeydown(o);
|
111
|
+
const { code: t, altKey: n } = o;
|
112
|
+
(t === "Space" || n && t === "ArrowDown") && (o.preventDefault(), t === "ArrowDown" && (o.stopPropagation(), o.stopImmediatePropagation()), this.addEventListener("keyup", this.handleKeyup), this.active = !0);
|
113
|
+
}
|
114
|
+
handleKeyup(o) {
|
115
|
+
if (!this.holdAffordance)
|
116
|
+
return super.handleKeyup(o);
|
117
|
+
const { code: t, altKey: n } = o;
|
118
|
+
(t === "Space" || n && t === "ArrowDown") && (o.stopPropagation(), this.dispatchEvent(
|
119
|
+
new CustomEvent("longpress", {
|
120
|
+
bubbles: !0,
|
121
|
+
composed: !0,
|
122
|
+
detail: {
|
123
|
+
source: "keyboard"
|
124
|
+
}
|
125
|
+
})
|
126
|
+
), this.active = !1);
|
127
|
+
}
|
128
|
+
get buttonContent() {
|
129
|
+
const o = super.buttonContent;
|
130
|
+
return this.holdAffordance && o.unshift(h`
|
131
|
+
<div
|
132
|
+
class="hold-affordance corner-triangle-${this.size}"
|
133
|
+
>
|
134
|
+
${b(s)}
|
135
|
+
</div>
|
136
|
+
`), o;
|
137
|
+
}
|
138
|
+
updated(o) {
|
139
|
+
super.updated(o);
|
140
|
+
const t = this.role === "button", n = t && (this.selected || this.toggles) && !(this.hasAttribute("aria-haspopup") && this.hasAttribute("aria-expanded"));
|
141
|
+
(o.has("selected") || o.has("role")) && (n ? this.setAttribute("aria-pressed", this.selected ? "true" : "false") : (this.removeAttribute("aria-pressed"), t && this.toggles && this.hasAttribute("aria-expanded") && this.setAttribute("aria-expanded", this.selected ? "true" : "false"))), o.has("holdAffordance") && (this.holdAffordance ? this.addEventListener(
|
142
|
+
"pointerdown",
|
143
|
+
this.handlePointerdownHoldAffordance
|
144
|
+
) : (this.removeEventListener(
|
145
|
+
"pointerdown",
|
146
|
+
this.handlePointerdownHoldAffordance
|
147
|
+
), this.handlePointerupHoldAffordance()));
|
148
|
+
}
|
149
|
+
}
|
150
|
+
e([
|
151
|
+
a({ type: Boolean, reflect: !0 })
|
152
|
+
], r.prototype, "emphasized", 2);
|
153
|
+
e([
|
154
|
+
a({ type: Boolean, reflect: !0, attribute: "hold-affordance" })
|
155
|
+
], r.prototype, "holdAffordance", 2);
|
156
|
+
e([
|
157
|
+
a({ type: Boolean, reflect: !0 })
|
158
|
+
], r.prototype, "quiet", 2);
|
159
|
+
e([
|
160
|
+
a({ reflect: !0 })
|
161
|
+
], r.prototype, "role", 2);
|
162
|
+
e([
|
163
|
+
a({ type: Boolean, reflect: !0 })
|
164
|
+
], r.prototype, "selected", 2);
|
165
|
+
e([
|
166
|
+
a({ type: Boolean, reflect: !0 })
|
167
|
+
], r.prototype, "toggles", 2);
|
168
|
+
e([
|
169
|
+
a({ reflect: !0, attribute: "static-color" })
|
170
|
+
], r.prototype, "staticColor", 2);
|
171
|
+
e([
|
172
|
+
a({ type: String })
|
173
|
+
], r.prototype, "value", 1);
|
174
|
+
customElements.get("luzmo-action-button") || customElements.define("luzmo-action-button", r);
|
@@ -23,11 +23,12 @@ import { r as E } from "./divider.module-DoQWQEIJ-B19eHVg2.js";
|
|
23
23
|
import { n as A } from "./directive-helpers-Cm6gitnu-CeYtlPO9.js";
|
24
24
|
import { m as C } from "./query-assigned-nodes-C76XVPWY-DxNwGHfW.js";
|
25
25
|
import { n as I } from "./element-resolution-FCUT-wql--7ctE626.js";
|
26
|
-
import {
|
27
|
-
import { r as
|
28
|
-
import { b as
|
26
|
+
import { a as M } from "./mutation-controller-DH7YOCyj-E7gpCmwh.js";
|
27
|
+
import { r as R } from "./focusable-BxtpnzWp-DJQkL8Zv.js";
|
28
|
+
import { b as D, y as O } from "./observe-slot-text-BPfIQQtz-DLOwgi-A.js";
|
29
|
+
import { b as P } from "./observe-slot-presence-CmVi0zTc-hhUl4oRa.js";
|
29
30
|
import { a as U } from "./index-BmshD32H.js";
|
30
|
-
import { D as y, z as L, Z as $ } from "./luzmo-icons-
|
31
|
+
import { D as y, z as L, Z as $ } from "./luzmo-icons-4nDFv1Lq-DffGNBpO.js";
|
31
32
|
import { o as T } from "./index-DUF6bALI.js";
|
32
33
|
/*! * Lucero - The design system for Luzmo.
|
33
34
|
*
|
@@ -602,8 +603,8 @@ class Y extends Event {
|
|
602
603
|
}, this.menuCascade = /* @__PURE__ */ new WeakMap();
|
603
604
|
}
|
604
605
|
}
|
605
|
-
class s extends
|
606
|
-
|
606
|
+
class s extends D(
|
607
|
+
O(P(R, '[slot="icon"]'))
|
607
608
|
) {
|
608
609
|
constructor() {
|
609
610
|
super(), this.active = !1, this.dependencyManager = new U(this), this.focused = !1, this.selected = !1, this._value = "", this.hasSubmenu = !1, this.noWrap = !1, this.renderAngleIcon = (e = []) => X(e), this.renderCheckIcon = (e = []) => Q(e), this.open = !1, this.handleSlottableRequest = (e) => {
|
@@ -625,7 +626,7 @@ class s extends M(
|
|
625
626
|
cleanupSteps: []
|
626
627
|
}, this.addEventListener("click", this.handleClickCapture, {
|
627
628
|
capture: !0
|
628
|
-
}), new
|
629
|
+
}), new M(this, {
|
629
630
|
config: {
|
630
631
|
characterData: !0,
|
631
632
|
childList: !0,
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";const v=require("./luzmo-icons-
|
20
|
+
"use strict";const v=require("./luzmo-icons-4nDFv1Lq-D6-m-VWM.cjs"),u=require("./base-D76d76ww-tT6yr8eb.cjs"),X=require("./if-defined-DOaE2coe-Cvlu5s9n.cjs"),g=require("./async-directive-BfcqVjDp-C8C45jl6.cjs"),C=require("./streaming-listener-CP-JE6Fa-DMzr1X1m.cjs"),Y=require("./button-base-DbkDzb71-D0Ni0xn1.cjs"),G=require("./text-field-ol9Ed5lQ-cRqtIf_0.cjs");/*! * Lucero - The design system for Luzmo.
|
21
21
|
*
|
22
22
|
* Copyright © 2025 Luzmo
|
23
23
|
* All rights reserved.
|
@@ -33,7 +33,7 @@
|
|
33
33
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
34
34
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
35
35
|
* SOFTWARE.
|
36
|
-
* */let
|
36
|
+
* */let q=new Map,N=!1;try{N=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let x=!1;try{x=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const O={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class f{format(o){let e="";if(!N&&this.options.signDisplay!=null?e=J(this.numberFormatter,this.options.signDisplay,o):e=this.numberFormatter.format(o),this.options.style==="unit"&&!x){var t;let{unit:r,unitDisplay:i="short",locale:n}=this.resolvedOptions();if(!r)return e;let s=(t=O[r])===null||t===void 0?void 0:t[i];e+=s[n]||s.default}return e}formatToParts(o){return this.numberFormatter.formatToParts(o)}formatRange(o,e){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(o,e);if(e<o)throw new RangeError("End date must be >= start date");return`${this.format(o)} – ${this.format(e)}`}formatRangeToParts(o,e){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(o,e);if(e<o)throw new RangeError("End date must be >= start date");let t=this.numberFormatter.formatToParts(o),r=this.numberFormatter.formatToParts(e);return[...t.map(i=>({...i,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(i=>({...i,source:"endRange"}))]}resolvedOptions(){let o=this.numberFormatter.resolvedOptions();return!N&&this.options.signDisplay!=null&&(o={...o,signDisplay:this.options.signDisplay}),!x&&this.options.style==="unit"&&(o={...o,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),o}constructor(o,e={}){this.numberFormatter=Z(o,e),this.options=e}}function Z(l,o={}){let{numberingSystem:e}=o;if(e&&l.includes("-nu-")&&(l.includes("-u-")||(l+="-u-"),l+=`-nu-${e}`),o.style==="unit"&&!x){var t;let{unit:n,unitDisplay:s="short"}=o;if(!n)throw new Error('unit option must be provided with style: "unit"');if(!(!((t=O[n])===null||t===void 0)&&t[s]))throw new Error(`Unsupported unit ${n} with unitDisplay = ${s}`);o={...o,style:"decimal"}}let r=l+(o?Object.entries(o).sort((n,s)=>n[0]<s[0]?-1:1).join():"");if(q.has(r))return q.get(r);let i=new Intl.NumberFormat(l,o);return q.set(r,i),i}function J(l,o,e){if(o==="auto")return l.format(e);if(o==="never")return l.format(Math.abs(e));{let t=!1;if(o==="always"?t=e>0||Object.is(e,0):o==="exceptZero"&&(Object.is(e,-0)||Object.is(e,0)?e=Math.abs(e):t=e>0),t){let r=l.format(-e),i=l.format(e),n=r.replace(i,"").replace(/\u200e|\u061C/,"");return[...n].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),r.replace(i,"!!!").replace(n,"+").replace("!!!",i)}else return l.format(e)}}/*! * Lucero - The design system for Luzmo.
|
37
37
|
*
|
38
38
|
* Copyright © 2025 Luzmo
|
39
39
|
* All rights reserved.
|
@@ -49,7 +49,7 @@
|
|
49
49
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
50
50
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
51
51
|
* SOFTWARE.
|
52
|
-
* */const Q=new RegExp("^.*\\(.*\\).*$"),oo=["latn","arab","hanidec","deva","beng"];class y{parse(o){return
|
52
|
+
* */const Q=new RegExp("^.*\\(.*\\).*$"),oo=["latn","arab","hanidec","deva","beng"];class y{parse(o){return D(this.locale,this.options,o).parse(o)}isValidPartialNumber(o,e,t){return D(this.locale,this.options,o).isValidPartialNumber(o,e,t)}getNumberingSystem(o){return D(this.locale,this.options,o).options.numberingSystem}constructor(o,e={}){this.locale=o,this.options=e}}const _=new Map;function D(l,o,e){let t=V(l,o);if(!l.includes("-nu-")&&!t.isValidPartialNumber(e)){for(let r of oo)if(r!==t.options.numberingSystem){let i=V(l+(l.includes("-u-")?"-nu-":"-u-nu-")+r,o);if(i.isValidPartialNumber(e))return i}}return t}function V(l,o){let e=l+(o?Object.entries(o).sort((r,i)=>r[0]<i[0]?-1:1).join():""),t=_.get(e);return t||(t=new eo(l,o),_.set(e,t)),t}class eo{parse(o){let e=this.sanitize(o);if(this.symbols.group&&(e=m(e,this.symbols.group,"")),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(e=e.replace(this.symbols.minusSign,"-")),e=e.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let n=e.indexOf("-");e=e.replace("-","");let s=e.indexOf(".");s===-1&&(s=e.length),e=e.replace(".",""),s-2===0?e=`0.${e}`:s-2===-1?e=`0.0${e}`:s-2===-2?e="0.00":e=`${e.slice(0,s-2)}.${e.slice(s-2)}`,n>-1&&(e=`-${e}`)}let t=e?+e:NaN;if(isNaN(t))return NaN;if(this.options.style==="percent"){var r,i;let n={...this.options,style:"decimal",minimumFractionDigits:Math.min(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)+2,20),maximumFractionDigits:Math.min(((i=this.options.maximumFractionDigits)!==null&&i!==void 0?i:0)+2,20)};return new y(this.locale,n).parse(new f(this.locale,n).format(t))}return this.options.currencySign==="accounting"&&Q.test(o)&&(t=-1*t),t}sanitize(o){return o=o.replace(this.symbols.literals,""),this.symbols.minusSign&&(o=o.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(o=o.replace(",",this.symbols.decimal),o=o.replace("،",this.symbols.decimal)),this.symbols.group&&(o=m(o,".",this.symbols.group))),this.options.locale==="fr-FR"&&this.symbols.group&&(o=m(o," ",this.symbols.group),o=m(o,/\u00A0/g,this.symbols.group)),o}isValidPartialNumber(o,e=-1/0,t=1/0){return o=this.sanitize(o),this.symbols.minusSign&&o.startsWith(this.symbols.minusSign)&&e<0?o=o.slice(this.symbols.minusSign.length):this.symbols.plusSign&&o.startsWith(this.symbols.plusSign)&&t>0&&(o=o.slice(this.symbols.plusSign.length)),this.symbols.group&&o.startsWith(this.symbols.group)||this.symbols.decimal&&o.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(o=m(o,this.symbols.group,"")),o=o.replace(this.symbols.numeral,""),this.symbols.decimal&&(o=o.replace(this.symbols.decimal,"")),o.length===0)}constructor(o,e={}){this.locale=o,this.formatter=new Intl.NumberFormat(o,e),this.options=this.formatter.resolvedOptions(),this.symbols=ro(o,this.formatter,this.options,e);var t,r;this.options.style==="percent"&&(((t=this.options.minimumFractionDigits)!==null&&t!==void 0?t:0)>18||((r=this.options.maximumFractionDigits)!==null&&r!==void 0?r:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const R=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),to=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function ro(l,o,e,t){var r,i,n,s;let d=new Intl.NumberFormat(l,{...e,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),p=d.formatToParts(-10000.111),j=d.formatToParts(10000.111),M=to.map(a=>d.formatToParts(a));var k;let T=(k=(r=p.find(a=>a.type==="minusSign"))===null||r===void 0?void 0:r.value)!==null&&k!==void 0?k:"-",F=(i=j.find(a=>a.type==="plusSign"))===null||i===void 0?void 0:i.value;!F&&((t==null?void 0:t.signDisplay)==="exceptZero"||(t==null?void 0:t.signDisplay)==="always")&&(F="+");let B=(n=new Intl.NumberFormat(l,{...e,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(a=>a.type==="decimal"))===null||n===void 0?void 0:n.value,U=(s=p.find(a=>a.type==="group"))===null||s===void 0?void 0:s.value,A=p.filter(a=>!R.has(a.type)).map(a=>$(a.value)),H=M.flatMap(a=>a.filter(h=>!R.has(h.type)).map(h=>$(h.value))),E=[...new Set([...A,...H])].sort((a,h)=>h.length-a.length),L=E.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${E.join("|")}|[\\p{White_Space}]`,"gu"),P=[...new Intl.NumberFormat(e.locale,{useGrouping:!1}).format(9876543210)].reverse(),W=new Map(P.map((a,h)=>[a,h])),K=new RegExp(`[${P.join("")}]`,"g");return{minusSign:T,plusSign:F,decimal:B,group:U,literals:L,numeral:K,index:a=>String(W.get(a))}}function m(l,o,e){return l.replaceAll?l.replaceAll(o,e):l.split(o).join(e)}function $(l){return l.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}/*! * Lucero - The design system for Luzmo.
|
53
53
|
*
|
54
54
|
* Copyright © 2025 Luzmo
|
55
55
|
* All rights reserved.
|
@@ -18,8 +18,8 @@
|
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
20
|
import "./index-CsDgk_sj.js";
|
21
|
-
import "./index-
|
22
|
-
import "./index-
|
21
|
+
import "./index-BobhBKA2.js";
|
22
|
+
import "./index-Cf_a7VrO.js";
|
23
23
|
import { r as v, x as _, n as d } from "./property-BFMfZY1k.js";
|
24
24
|
import { m as e, g as q, t as E, s as D } from "./set-locale-DbEAMqUs.js";
|
25
25
|
import { l as $ } from "./localized-decorator-DNr1P1m0.js";
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";const r=require("./base-D76d76ww-tT6yr8eb.cjs"),h=require("./directive-helpers-Cm6gitnu-BeggOiwf.cjs"),s=require("./if-defined-DOaE2coe-Cvlu5s9n.cjs"),d=require("./pending-state-DTX7ggyF-CoV2RbDq.cjs"),m=require("./index-CUvucmA0.cjs"),b=require("./focusable-BxtpnzWp-CkK9AeMt.cjs"),g=require("./index-CYeQkVeJ.cjs"),u=require("./luzmo-icons-
|
20
|
+
"use strict";const r=require("./base-D76d76ww-tT6yr8eb.cjs"),h=require("./directive-helpers-Cm6gitnu-BeggOiwf.cjs"),s=require("./if-defined-DOaE2coe-Cvlu5s9n.cjs"),d=require("./pending-state-DTX7ggyF-CoV2RbDq.cjs"),m=require("./index-CUvucmA0.cjs"),b=require("./focusable-BxtpnzWp-CkK9AeMt.cjs"),g=require("./index-CYeQkVeJ.cjs"),u=require("./luzmo-icons-4nDFv1Lq-D6-m-VWM.cjs");require("./index-BKx2WhDB.cjs");require("./index-BKwbYw6x.cjs");/*! * Lucero - The design system for Luzmo.
|
21
21
|
*
|
22
22
|
* Copyright © 2025 Luzmo
|
23
23
|
* All rights reserved.
|
@@ -17,13 +17,13 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import { D, v as Y, s as G } from "./luzmo-icons-
|
20
|
+
import { D, v as Y, s as G } from "./luzmo-icons-4nDFv1Lq-DffGNBpO.js";
|
21
21
|
import { m as Z, a as O, R as F, z as u, d as J } from "./base-D76d76ww-BGkuhs54.js";
|
22
22
|
import { d as Q } from "./if-defined-DOaE2coe-CNT45Xcl.js";
|
23
23
|
import { a as q, o as oo, w as eo } from "./async-directive-BfcqVjDp-BCT-lA4F.js";
|
24
24
|
import { l as to, u as ro, o as io } from "./streaming-listener-CP-JE6Fa-9MH0gENR.js";
|
25
|
-
import { a as lo } from "./button-base-DbkDzb71-
|
26
|
-
import { i as no } from "./text-field-
|
25
|
+
import { a as lo } from "./button-base-DbkDzb71-Dh2Out91.js";
|
26
|
+
import { i as no } from "./text-field-ol9Ed5lQ-DbpeM4EP.js";
|
27
27
|
/*! * Lucero - The design system for Luzmo.
|
28
28
|
*
|
29
29
|
* Copyright © 2025 Luzmo
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import { D as d } from "./luzmo-icons-
|
20
|
+
import { D as d } from "./luzmo-icons-4nDFv1Lq-DffGNBpO.js";
|
21
21
|
import { R as m, I as g, a as b, z as t } from "./base-D76d76ww-BGkuhs54.js";
|
22
22
|
import { m as f } from "./if-defined-DOaE2coe-CNT45Xcl.js";
|
23
23
|
/*! * Lucero - The design system for Luzmo.
|
@@ -17,20 +17,21 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import {
|
21
|
-
import { R as d, a as T, d as _, m as N, I as oo, P as
|
20
|
+
import { a as go } from "./mutation-controller-DH7YOCyj-E7gpCmwh.js";
|
21
|
+
import { R as d, a as T, d as _, m as N, I as oo, P as bo, v as eo, z as a, o as fo, w as zo } from "./base-D76d76ww-BGkuhs54.js";
|
22
22
|
import { d as E, m as q } from "./if-defined-DOaE2coe-CNT45Xcl.js";
|
23
23
|
import { r as to } from "./focusable-BxtpnzWp-DJQkL8Zv.js";
|
24
|
-
import { b as
|
24
|
+
import { b as yo, y as _o } from "./observe-slot-text-BPfIQQtz-DLOwgi-A.js";
|
25
|
+
import { b as ko } from "./observe-slot-presence-CmVi0zTc-hhUl4oRa.js";
|
25
26
|
import { n as xo } from "./element-resolution-FCUT-wql--7ctE626.js";
|
26
|
-
import { D as O,
|
27
|
+
import { D as O, w as wo, b as Co, Z as So, A as Eo, s as $o, u as Oo, y as Ao } from "./luzmo-icons-4nDFv1Lq-DffGNBpO.js";
|
27
28
|
import { _ as lo, $ as Io, s as io, a as Lo, p as A, g as L, b as j, x as To, n as H } from "./directive-helpers-Cm6gitnu-CeYtlPO9.js";
|
28
29
|
import { C as Vo } from "./async-directive-BfcqVjDp-BCT-lA4F.js";
|
29
30
|
import "./index-C3N6qTxJ.js";
|
30
31
|
import { r as Bo } from "./divider.module-DoQWQEIJ-B19eHVg2.js";
|
31
32
|
import { g as Fo, u as Po, o as Ro, v as K, a as Mo } from "./pending-state-DTX7ggyF-BQdsLMT1.js";
|
32
33
|
import { a as Do } from "./index-BmshD32H.js";
|
33
|
-
import "./index-
|
34
|
+
import "./index-COU9XhBt.js";
|
34
35
|
import "./index-DUF6bALI.js";
|
35
36
|
import "./index-CTVNGPeT.js";
|
36
37
|
/*! * Lucero - The design system for Luzmo.
|
@@ -64,7 +65,7 @@ qo();
|
|
64
65
|
*/
|
65
66
|
let G;
|
66
67
|
function jo(n) {
|
67
|
-
return (o, e) =>
|
68
|
+
return (o, e) => fo(o, e, { get() {
|
68
69
|
return (this.renderRoot ?? G ?? (G = document.createDocumentFragment())).querySelectorAll(n);
|
69
70
|
} });
|
70
71
|
}
|
@@ -87,8 +88,8 @@ const Wo = (n) => d`
|
|
87
88
|
${O(wo)}
|
88
89
|
</span>
|
89
90
|
`;
|
90
|
-
class k extends
|
91
|
-
|
91
|
+
class k extends yo(
|
92
|
+
_o(ko(to, '[slot="icon"]'))
|
92
93
|
) {
|
93
94
|
constructor() {
|
94
95
|
super(), this.active = !1, this.focused = !1, this.selected = !1, this.emphasized = !1, this.variant = "checkmarks", this._value = "", this.noWrap = !1, this.renderCheckIcon = (o, e) => {
|
@@ -98,7 +99,7 @@ class k extends go(
|
|
98
99
|
this.focus();
|
99
100
|
}, this.willDispatchUpdate = !1, this.addEventListener("click", this.handleClickCapture, {
|
100
101
|
capture: !0
|
101
|
-
}), new
|
102
|
+
}), new go(this, {
|
102
103
|
config: {
|
103
104
|
characterData: !0,
|
104
105
|
childList: !0,
|
@@ -818,7 +819,7 @@ const te = lo(ee);
|
|
818
819
|
* Copyright 2021 Google LLC
|
819
820
|
* SPDX-License-Identifier: BSD-3-Clause
|
820
821
|
*/
|
821
|
-
class I extends
|
822
|
+
class I extends bo {
|
822
823
|
constructor() {
|
823
824
|
super(...arguments), this.items = [], this.renderItem = so, this.keyFunction = no, this.layout = {}, this.scroller = !1;
|
824
825
|
}
|
@@ -1619,7 +1620,7 @@ class v extends N(to, {
|
|
1619
1620
|
if (((e = this.strategy) == null ? void 0 : e.overlay) === void 0)
|
1620
1621
|
return o;
|
1621
1622
|
const i = this.renderContainer(o);
|
1622
|
-
return
|
1623
|
+
return zo(i, (t = this.strategy) == null ? void 0 : t.overlay, {
|
1623
1624
|
host: this
|
1624
1625
|
}), (l = this.strategy) == null ? void 0 : l.overlay;
|
1625
1626
|
}
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";const s=require("./base-D76d76ww-tT6yr8eb.cjs"),d=require("./
|
20
|
+
"use strict";const s=require("./base-D76d76ww-tT6yr8eb.cjs"),d=require("./mutation-controller-DH7YOCyj-B6sXpbgh.cjs"),p=require("./if-defined-DOaE2coe-Cvlu5s9n.cjs"),m=require("./roving-tabindex-DOg4z6ZU-DmyYPRYY.cjs");/*! * Lucero - The design system for Luzmo.
|
21
21
|
*
|
22
22
|
* Copyright © 2025 Luzmo
|
23
23
|
* All rights reserved.
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
+
*
|
3
|
+
* Copyright © 2025 Luzmo
|
4
|
+
* All rights reserved.
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
7
|
+
* This license allows users with a current active Luzmo account
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
11
|
+
*
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
+
* SOFTWARE.
|
19
|
+
* */
|
20
|
+
"use strict";const d=require("./luzmo-icons-4nDFv1Lq-D6-m-VWM.cjs"),n=require("./base-D76d76ww-tT6yr8eb.cjs"),s=require("./button-base-DbkDzb71-D0Ni0xn1.cjs");/*! * Lucero - The design system for Luzmo.
|
21
|
+
*
|
22
|
+
* Copyright © 2025 Luzmo
|
23
|
+
* All rights reserved.
|
24
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
25
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
26
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
27
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
28
|
+
*
|
29
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
30
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
31
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
32
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
33
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
34
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
35
|
+
* SOFTWARE.
|
36
|
+
* */const g=()=>{if(typeof document<"u"&&!document.querySelector("style[data-luzmo-vars]")){const c=document.createElement("style");c.setAttribute("data-luzmo-vars",""),c.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-disabled-color);--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-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 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(c)}};g();const h=':host{cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;font-family:var(--luzmo-button-font-family, var(--luzmo-sans-font-family-stack, var(--luzmo-font-family)));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:var(--luzmo-button-line-height, var(--luzmo-line-height-100, var(--line-height-100)));text-transform:none;vertical-align:top;-webkit-appearance:button;transition:background var(--luzmo-button-animation-duration, var(--luzmo-animation-duration-100, var(--animation-duration-100))) ease-out,border-color var(--luzmo-button-animation-duration, var(--luzmo-animation-duration-100, var(--animation-duration-100))) ease-out,color var(--luzmo-button-animation-duration, var(--luzmo-animation-duration-100, var(--animation-duration-100))) ease-out,box-shadow var(--luzmo-button-animation-duration, var(--luzmo-animation-duration-100, var(--animation-duration-100))) ease-out;border-style:solid;justify-content:center;align-items:center;margin:0;-webkit-text-decoration:none;text-decoration:none;display:inline-flex;overflow:visible}:host(:focus){outline:none}:host([disabled]){cursor:default}::slotted([slot=icon]){max-block-size:100%;flex-shrink:0;display:flex;align-items:center;justify-content:center}#label{text-align:center;place-self:center}#label:empty{display:none}@media (forced-colors: active){:host{--highcontrast-action-button-focus-indicator-color: ButtonText}:host:after{forced-color-adjust:none}:host([selected]){--highcontrast-action-button-background-color-default: Highlight;--highcontrast-action-button-background-color-hover: Highlight;--highcontrast-action-button-background-color-focus: Highlight;--highcontrast-action-button-background-color-down: Highlight;--highcontrast-action-button-background-color-disabled: ButtonFace;--highcontrast-action-button-border-color-default: HighlightText;--highcontrast-action-button-border-color-hover: HighlightText;--highcontrast-action-button-border-color-focus: HighlightText;--highcontrast-action-button-border-color-down: HighlightText;--highcontrast-action-button-border-color-disabled: GrayText;--highcontrast-action-button-content-color-default: HighlightText;--highcontrast-action-button-content-color-hover: HighlightText;--highcontrast-action-button-content-color-focus: HighlightText;--highcontrast-action-button-content-color-down: HighlightText;--highcontrast-action-button-content-color-disabled: GrayText}:host([selected]) .hold-affordance,:host([selected]) ::slotted([slot=icon]),:host([selected]) #label{forced-color-adjust:none}}:host{--action-button-focus-indicator-border-radius: calc( var(--action-button-border-radius) + var(--action-button-focus-indicator-gap) );--action-button-edge-to-visual: calc( var(--action-button-edge-to-visual-size) - var(--action-button-border-width) );--action-button-edge-to-text: calc( var(--action-button-edge-to-text-size) - var(--action-button-border-width) );--action-button-edge-to-visual-only: calc( var(--action-button-edge-to-visual-only-size) - var( --action-button-border-width ) );min-inline-size:var(--luzmo-action-button-min-width, var(--action-button-min-width));block-size:var(--luzmo-action-button-height, var(--action-button-height));border-radius:var(--luzmo-action-button-border-radius, var(--action-button-border-radius));border-width:var(--luzmo-action-button-border-width, var(--action-button-border-width));gap:calc(var(--luzmo-action-button-text-to-visual, var(--action-button-text-to-visual)) + var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text)) - var(--luzmo-action-button-edge-to-visual-only, var(--action-button-edge-to-visual-only)));padding-inline:var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text));background-color:var(--highcontrast-action-button-background-color-default, var(--luzmo-action-button-background-color-default, var(--action-button-background-color-default)));border-color:var(--highcontrast-action-button-border-color-default, var(--luzmo-action-button-border-color-default, var(--action-button-border-color-default)));color:var(--highcontrast-action-button-content-color-default, var(--luzmo-action-button-content-color-default, var(--action-button-content-color-default)));position:relative}:host:dir(rtl),:host([dir=rtl]){--logical-rotation: matrix(-1, 0, 0, 1, 0, 0)}@media (hover: hover){:host(:hover){background-color:var(--highcontrast-action-button-background-color-hover, var(--luzmo-action-button-background-color-hover, var(--action-button-background-color-hover)));border-color:var(--highcontrast-action-button-border-color-hover, var(--luzmo-action-button-border-color-hover, var(--action-button-border-color-hover)));color:var(--highcontrast-action-button-content-color-hover, var(--luzmo-action-button-content-color-hover, var(--action-button-content-color-hover)))}}:host(:focus-visible){background-color:var(--highcontrast-action-button-background-color-focus, var(--luzmo-action-button-background-color-focus, var(--action-button-background-color-focus)));border-color:var(--highcontrast-action-button-border-color-focus, var(--luzmo-action-button-border-color-focus, var(--action-button-border-color-focus)));color:var(--highcontrast-action-button-content-color-focus, var(--luzmo-action-button-content-color-focus, var(--action-button-content-color-focus)))}:host(:is(:active,[active])){background-color:var(--highcontrast-action-button-background-color-down, var(--luzmo-action-button-background-color-down, var(--action-button-background-color-down)));border-color:var(--highcontrast-action-button-border-color-down, var(--luzmo-action-button-border-color-down, var(--action-button-border-color-down)));color:var(--highcontrast-action-button-content-color-down, var(--luzmo-action-button-content-color-down, var(--action-button-content-color-down)))}:host([disabled]){background-color:var(--highcontrast-action-button-background-color-disabled, var(--luzmo-action-button-background-color-disabled, var(--action-button-background-color-disabled)));border-color:var(--highcontrast-action-button-border-color-disabled, var(--luzmo-action-button-border-color-disabled, var(--action-button-border-color-disabled)));color:var(--highcontrast-action-button-content-color-disabled, var(--luzmo-action-button-content-color-disabled, var(--action-button-content-color-disabled)))}:host([selected]){--luzmo-action-button-background-color-default: var( --luzmo-action-button-background-color-default-selected );--luzmo-action-button-background-color-hover: var( --luzmo-action-button-background-color-hover-selected );--luzmo-action-button-background-color-down: var( --luzmo-action-button-background-color-down-selected );--luzmo-action-button-background-color-focus: var( --luzmo-action-button-background-color-focus-selected );--luzmo-action-button-content-color-default: var( --luzmo-action-button-content-color-default-selected );--luzmo-action-button-content-color-hover: var( --luzmo-action-button-content-color-hover-selected );--luzmo-action-button-content-color-down: var( --luzmo-action-button-content-color-down-selected );--luzmo-action-button-content-color-focus: var( --luzmo-action-button-content-color-focus-selected )}:host([selected][emphasized]){--luzmo-action-button-background-color-default: var( --luzmo-action-button-background-color-default-selected-emphasized );--luzmo-action-button-background-color-hover: var( --luzmo-action-button-background-color-hover-selected-emphasized );--luzmo-action-button-background-color-down: var( --luzmo-action-button-background-color-down-selected-emphasized );--luzmo-action-button-background-color-focus: var( --luzmo-action-button-background-color-focus-selected-emphasized );--luzmo-action-button-content-color-default: var( --luzmo-action-button-content-color-default-selected-emphasized );--luzmo-action-button-content-color-hover: var( --luzmo-action-button-content-color-hover-selected-emphasized );--luzmo-action-button-content-color-down: var( --luzmo-action-button-content-color-down-selected-emphasized );--luzmo-action-button-content-color-focus: var( --luzmo-action-button-content-color-focus-selected-emphasized )}:host([selected][static-color=black]),:host([selected][static-color=white]){--luzmo-action-button-content-color-default: var( --luzmo-action-button-static-content-color );--luzmo-action-button-content-color-hover: var( --luzmo-action-button-static-content-color );--luzmo-action-button-content-color-down: var( --luzmo-action-button-static-content-color );--luzmo-action-button-content-color-focus: var( --luzmo-action-button-static-content-color )}::slotted([slot=icon]){min-inline-size:var(--luzmo-action-button-icon-size, var(--action-button-icon-size));color:inherit;margin-inline-start:calc(var(--luzmo-action-button-edge-to-visual, var(--action-button-edge-to-visual)) - var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text)));margin-inline-end:calc(var(--luzmo-action-button-edge-to-visual, var(--action-button-edge-to-visual)) - var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text)))}.hold-affordance+::slotted([slot=icon]){margin-inline-start:calc(var(--luzmo-action-button-edge-to-visual, var(--action-button-edge-to-visual)) - var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text)));margin-inline-end:calc(var(--luzmo-action-button-edge-to-visual-only, var(--action-button-edge-to-visual-only)) - var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text)))}.hold-affordance+[icon-only]::slotted([slot=icon]),[icon-only]::slotted([slot=icon]){margin-inline-start:calc(var(--luzmo-action-button-edge-to-visual-only, var(--action-button-edge-to-visual-only)) - var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text)));margin-inline-end:calc(var(--luzmo-action-button-edge-to-visual-only, var(--action-button-edge-to-visual-only)) - var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text)));text-align:center}#label{pointer-events:none;font-size:var(--luzmo-action-button-font-size, var(--action-button-font-size));white-space:nowrap;color:inherit;color:var(--luzmo-action-button-label-color, inherit);text-overflow:ellipsis;overflow:hidden}.hold-affordance{color:inherit;transform:var(--logical-rotation);position:absolute;font-size:var(--action-button-corner-triangle-size);inset-block-end:calc(var(--luzmo-action-button-edge-to-hold-icon, var(--action-button-edge-to-hold-icon)) - var(--luzmo-action-button-border-width, var(--action-button-border-width)));inset-inline-end:calc(var(--luzmo-action-button-edge-to-hold-icon, var(--action-button-edge-to-hold-icon)) - var(--luzmo-action-button-border-width, var(--action-button-border-width)))}:host{transition:border-color var(--luzmo-action-button-animation-duration, var(--action-button-animation-duration)) ease-in-out}:host:after{margin:calc((var(--luzmo-action-button-focus-indicator-gap, var(--action-button-focus-indicator-gap)) + var(--luzmo-action-button-border-width, var(--action-button-border-width))) * -1);border-radius:var(--luzmo-action-button-focus-indicator-border-radius, var(--action-button-focus-indicator-border-radius));transition:box-shadow var(--luzmo-action-button-animation-duration, var(--action-button-animation-duration)) ease-in-out;pointer-events:none;content:"";position:absolute;top:0;right:0;bottom:0;left:0}:host(:focus-visible){box-shadow:none;outline:none}:host(:focus-visible):after{box-shadow:0 0 0 var(--luzmo-action-button-focus-indicator-width, var(--action-button-focus-indicator-width)) var(--highcontrast-action-button-focus-indicator-color, var(--luzmo-action-button-focus-indicator-color, var(--action-button-focus-indicator-color)))}:host{--action-button-animation-duration: var(--luzmo-animation-duration);--action-button-border-radius: var(--luzmo-border-radius);--action-button-border-width: var(--luzmo-border-width);--action-button-content-color-default: var(--luzmo-font-color);--action-button-content-color-hover: var(--luzmo-font-color-hover);--action-button-content-color-down: var(--luzmo-font-color-down);--action-button-content-color-focus: var(--luzmo-font-color-focus);--action-button-focus-indicator-gap: var(--luzmo-indicator-gap);--action-button-focus-indicator-width: var(--luzmo-indicator-width);--action-button-focus-indicator-color: var(--luzmo-indicator-color);--action-button-background-color-default: var(--luzmo-background-color);--action-button-background-color-hover: var(--luzmo-background-color-hover);--action-button-background-color-down: var(--luzmo-background-color-down);--action-button-background-color-focus: var(--luzmo-background-color-focus);--action-button-border-color-default: var(--luzmo-border-color);--action-button-border-color-hover: var(--luzmo-border-color-hover);--action-button-border-color-down: var(--luzmo-border-color-down);--action-button-border-color-focus: var(--luzmo-border-color-focus);--action-button-background-color-disabled: var(--luzmo-background-color);--action-button-border-color-disabled: var(--luzmo-border-color-disabled);--action-button-content-color-disabled: var(--luzmo-font-color-disabled)}:host([quiet]){--action-button-background-color-default: transparent;--action-button-background-color-hover: var(--luzmo-background-color-hover);--action-button-background-color-down: var(--luzmo-background-color-down);--action-button-background-color-focus: var(--luzmo-background-color-focus);--action-button-background-color-disabled: transparent;--action-button-border-color-default: transparent;--action-button-border-color-hover: transparent;--action-button-border-color-down: transparent;--action-button-border-color-focus: transparent;--action-button-border-color-disabled: transparent}:host([selected]){--action-button-background-color-default: var(--luzmo-font-color);--action-button-background-color-hover: var(--luzmo-font-color-hover);--action-button-background-color-down: var(--luzmo-font-color-down);--action-button-background-color-focus: var(--luzmo-font-color-focus);--action-button-content-color-default: var(--luzmo-background-color);--action-button-content-color-hover: var(--luzmo-background-color);--action-button-content-color-down: var(--luzmo-background-color);--action-button-content-color-focus: var(--luzmo-background-color);--action-button-border-color-default: transparent;--action-button-border-color-hover: transparent;--action-button-border-color-down: transparent;--action-button-border-color-focus: transparent;--action-button-border-color-disabled: transparent;--action-button-background-color-disabled: var( --luzmo-background-color-disabled )}:host([selected][emphasized]){--action-button-background-color-default: var(--luzmo-primary);--action-button-background-color-hover: var(--luzmo-primary-hover);--action-button-background-color-down: var(--luzmo-primary-down);--action-button-background-color-focus: var(--luzmo-primary-focus);--action-button-content-color-default: var(--luzmo-primary-inverse-color);--action-button-content-color-hover: var(--luzmo-primary-inverse-color);--action-button-content-color-down: var(--luzmo-primary-inverse-color);--action-button-content-color-focus: var(--luzmo-primary-inverse-color)}:host([static-color=black][quiet]),:host([static-color=white][quiet]){--action-button-border-color-default: transparent;--action-button-border-color-hover: transparent;--action-button-border-color-down: transparent;--action-button-border-color-focus: transparent;--action-button-border-color-disabled: transparent}:host([static-color=black]){--action-button-background-color-default: transparent;--action-button-background-color-hover: rgba(0, 0, 0, .25);--action-button-background-color-down: rgba(0, 0, 0, .4);--action-button-background-color-focus: rgba(0, 0, 0, .25);--action-button-background-color-disabled: transparent;--action-button-border-color-default: rgba(0, 0, 0, .4);--action-button-border-color-hover: rgba(0, 0, 0, .55);--action-button-border-color-down: rgba(0, 0, 0, .7);--action-button-border-color-focus: rgba(0, 0, 0, .25);--action-button-border-color-disabled: transparent;--action-button-content-color-default: rgb(0, 0, 0);--action-button-content-color-hover: rgb(0, 0, 0);--action-button-content-color-down: rgb(0, 0, 0);--action-button-content-color-focus: rgb(0, 0, 0);--action-button-content-color-disabled: rgba(0, 0, 0, .55);--action-button-focus-indicator-color: rgb(0, 0, 0)}:host([static-color=black][selected]){--action-button-background-color-default: rgba(0, 0, 0, .9);--action-button-background-color-hover: rgb(0, 0, 0);--action-button-background-color-down: rgb(0, 0, 0);--action-button-background-color-focus: rgb(0, 0, 0);--action-button-background-color-disabled: rgba(0, 0, 0, .1);--action-button-border-color-disabled: transparent;--action-button-content-color-default: rgb(255, 255, 255);--action-button-content-color-hover: rgb(255, 255, 255);--action-button-content-color-down: rgb(255, 255, 255);--action-button-content-color-focus: rgb(255, 255, 255)}:host([static-color=black][selected][emphasized]){--action-button-background-color-default: rgba(0, 0, 0, .9);--action-button-background-color-hover: rgb(0, 0, 0);--action-button-background-color-down: rgb(0, 0, 0);--action-button-background-color-focus: rgb(0, 0, 0);--action-button-content-color-default: rgb(255, 255, 255);--action-button-content-color-hover: rgb(255, 255, 255);--action-button-content-color-down: rgb(255, 255, 255);--action-button-content-color-focus: rgb(255, 255, 255)}:host([static-color=white]){--action-button-background-color-default: transparent;--action-button-background-color-hover: rgba(255, 255, 255, .25);--action-button-background-color-down: rgba(255, 255, 255, .4);--action-button-background-color-focus: rgba(255, 255, 255, .25);--action-button-background-color-disabled: transparent;--action-button-border-color-default: rgba(255, 255, 255, .4);--action-button-border-color-hover: rgba(255, 255, 255, .55);--action-button-border-color-down: rgba(255, 255, 255, .7);--action-button-border-color-focus: rgba(255, 255, 255, .55);--action-button-border-color-disabled: rgba(255, 255, 255, .25);--action-button-content-color-default: rgb(255, 255, 255);--action-button-content-color-hover: rgb(255, 255, 255);--action-button-content-color-down: rgb(255, 255, 255);--action-button-content-color-focus: rgb(255, 255, 255);--action-button-content-color-disabled: rgba(255, 255, 255, .55);--action-button-focus-indicator-color: rgb(255, 255, 255)}:host([static-color=white][selected]){--action-button-background-color-default: rgba(255, 255, 255, .9);--action-button-background-color-hover: rgb(255, 255, 255);--action-button-background-color-down: rgb(255, 255, 255);--action-button-background-color-focus: rgb(255, 255, 255);--action-button-background-color-disabled: rgba(255, 255, 255, .1);--action-button-border-color-disabled: transparent;--action-button-content-color-default: rgb(0, 0, 0);--action-button-content-color-hover: rgb(0, 0, 0);--action-button-content-color-down: rgb(0, 0, 0);--action-button-content-color-focus: rgb(0, 0, 0)}:host([static-color=white][selected][emphasized]){--action-button-background-color-default: rgba(255, 255, 255, .9);--action-button-background-color-hover: rgb(255, 255, 255);--action-button-background-color-down: rgb(255, 255, 255);--action-button-background-color-focus: rgb(255, 255, 255);--action-button-content-color-default: rgb(0, 0, 0)}:host{--action-button-min-width: var(--luzmo-component-height);--action-button-height: var(--luzmo-component-height);--action-button-icon-size: var(--luzmo-font-size-l);--action-button-font-size: var(--luzmo-font-size);--action-button-text-to-visual: var(--luzmo-spacing-2);--action-button-edge-to-hold-icon: var(--luzmo-spacing-2);--action-button-edge-to-visual-size: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--action-button-edge-to-visual-only-size: var(--luzmo-spacing-3);--action-button-edge-to-text-size: 12px;--action-button-corner-triangle-size: calc( var(--luzmo-spacing-2) + var(--luzmo-spacing-1) )}:host([size=xs]){--action-button-min-width: var(--luzmo-component-height-xs);--action-button-height: var(--luzmo-component-height-xs);--action-button-icon-size: var(--luzmo-font-size-s);--action-button-font-size: var(--luzmo-font-size-xs);--action-button-text-to-visual: calc( var(--luzmo-spacing-2) + var(--luzmo-spacing-1) );--action-button-edge-to-hold-icon: var(--luzmo-spacing-2);--action-button-edge-to-visual-size: calc( var(--luzmo-spacing-2) + var(--luzmo-spacing-1) );--action-button-edge-to-visual-only-size: var(--luzmo-spacing-2);--action-button-edge-to-text-size: var(--luzmo-spacing-2);--action-button-corner-triangle-size: var(--luzmo-spacing-2)}:host([size=s]){--action-button-min-width: var(--luzmo-component-height-s);--action-button-height: var(--luzmo-component-height-s);--action-button-icon-size: var(--luzmo-font-size);--action-button-font-size: var(--luzmo-font-size-s);--action-button-text-to-visual: var(--luzmo-spacing-3);--action-button-edge-to-hold-icon: var(--luzmo-spacing-2);--action-button-edge-to-visual-size: var(--luzmo-spacing-3);--action-button-edge-to-visual-only-size: var(--luzmo-spacing-2);--action-button-edge-to-text-size: var(--luzmo-spacing-3);--action-button-corner-triangle-size: var(--luzmo-spacing-2)}:host([size=l]){--action-button-min-width: var(--luzmo-component-height-l);--action-button-height: var(--luzmo-component-height-l);--action-button-icon-size: var(--luzmo-font-size-xl);--action-button-font-size: var(--luzmo-font-size-l);--action-button-text-to-visual: var(--luzmo-spacing-3);--action-button-edge-to-hold-icon: var(--luzmo-spacing-2);--action-button-edge-to-visual-size: var(--luzmo-spacing-4);--action-button-edge-to-visual-only-size: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--action-button-edge-to-text-size: var(--luzmo-spacing-5);--action-button-corner-triangle-size: var(--luzmo-spacing-3)}:host([size=xl]){--action-button-min-width: var(--luzmo-component-height-xl);--action-button-height: var(--luzmo-component-height-xl);--action-button-icon-size: var(--luzmo-font-size-xxl);--action-button-font-size: var(--luzmo-font-size-xl);--action-button-text-to-visual: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--action-button-edge-to-hold-icon: calc( var(--luzmo-spacing-2) + var(--luzmo-spacing-1) );--action-button-edge-to-visual-size: var(--luzmo-spacing-5);--action-button-edge-to-visual-only-size: var(--luzmo-spacing-4);--action-button-edge-to-text-size: var(--luzmo-spacing-5);--action-button-corner-triangle-size: var(--luzmo-spacing-3)}::slotted([slot=icon]){flex-shrink:0}#label{flex-grow:var(--action-button-label-flex-grow);text-align:var(--action-button-label-text-align);pointer-events:none!important}:host([size=xs]){min-width:var(--action-button-height, 0);--action-button-edge-to-visual-only: calc( var(--luzmo-spacing-2) - var(--action-button-border-width) )}:host([size=s]){--action-button-edge-to-visual-only: calc( var(--luzmo-spacing-2) - var(--action-button-border-width) )}:host([size=m]){--action-button-edge-to-visual-only: calc( var(--luzmo-spacing-2) + var(--luzmo-spacing-1) - var(--action-button-border-width) )}:host([size=l]){--action-button-edge-to-visual-only: calc( var(--luzmo-spacing-3) - var(--action-button-border-width) )}:host([size=xl]){--action-button-edge-to-visual-only: calc( var(--luzmo-spacing-4) - var(--action-button-border-width) )}@media (forced-colors: active){:host{--highcontrast-action-button-border-color-disabled: GrayText;--highcontrast-action-button-content-color-disabled: GrayText}}';var m=Object.defineProperty,v=Object.getOwnPropertyDescriptor,e=(c,o,t,r)=>{for(var i=r>1?void 0:r?v(o,t):o,l=c.length-1,u;l>=0;l--)(u=c[l])&&(i=(r?u(o,t,i):u(i))||i);return r&&i&&m(o,t,i),i};const z=300;let b;class a extends n.m(s.a,{validSizes:["xs","s","m","l","xl"],noDefaultSize:!0}){constructor(){super(),this.emphasized=!1,this.holdAffordance=!1,this.quiet=!1,this.role="button",this.selected=!1,this.toggles=!1,this._value="",this.onClick=()=>{this.toggles&&(this.selected=!this.selected,this.dispatchEvent(new Event("change",{cancelable:!0,bubbles:!0,composed:!0}))||(this.selected=!this.selected))},this.addEventListener("click",this.onClick)}static get styles(){return[...super.styles,n.at(h)]}get value(){return this._value||this.itemText}set value(o){o!==this._value&&(this._value=o||"",this._value?this.setAttribute("value",this._value):this.removeAttribute("value"))}get itemText(){return(this.textContent||"").trim()}handlePointerdownHoldAffordance(o){o.button===0&&(this.addEventListener("pointerup",this.handlePointerupHoldAffordance),this.addEventListener("pointercancel",this.handlePointerupHoldAffordance),b=setTimeout(()=>{this.dispatchEvent(new CustomEvent("longpress",{bubbles:!0,composed:!0,detail:{source:"pointer"}}))},z))}handlePointerupHoldAffordance(){clearTimeout(b),this.removeEventListener("pointerup",this.handlePointerupHoldAffordance),this.removeEventListener("pointercancel",this.handlePointerupHoldAffordance)}handleKeydown(o){if(!this.holdAffordance)return super.handleKeydown(o);const{code:t,altKey:r}=o;(t==="Space"||r&&t==="ArrowDown")&&(o.preventDefault(),t==="ArrowDown"&&(o.stopPropagation(),o.stopImmediatePropagation()),this.addEventListener("keyup",this.handleKeyup),this.active=!0)}handleKeyup(o){if(!this.holdAffordance)return super.handleKeyup(o);const{code:t,altKey:r}=o;(t==="Space"||r&&t==="ArrowDown")&&(o.stopPropagation(),this.dispatchEvent(new CustomEvent("longpress",{bubbles:!0,composed:!0,detail:{source:"keyboard"}})),this.active=!1)}get buttonContent(){const o=super.buttonContent;return this.holdAffordance&&o.unshift(n.Rt`
|
37
|
+
<div
|
38
|
+
class="hold-affordance corner-triangle-${this.size}"
|
39
|
+
>
|
40
|
+
${d.D(d.V)}
|
41
|
+
</div>
|
42
|
+
`),o}updated(o){super.updated(o);const t=this.role==="button",r=t&&(this.selected||this.toggles)&&!(this.hasAttribute("aria-haspopup")&&this.hasAttribute("aria-expanded"));(o.has("selected")||o.has("role"))&&(r?this.setAttribute("aria-pressed",this.selected?"true":"false"):(this.removeAttribute("aria-pressed"),t&&this.toggles&&this.hasAttribute("aria-expanded")&&this.setAttribute("aria-expanded",this.selected?"true":"false"))),o.has("holdAffordance")&&(this.holdAffordance?this.addEventListener("pointerdown",this.handlePointerdownHoldAffordance):(this.removeEventListener("pointerdown",this.handlePointerdownHoldAffordance),this.handlePointerupHoldAffordance()))}}e([n.zt({type:Boolean,reflect:!0})],a.prototype,"emphasized",2);e([n.zt({type:Boolean,reflect:!0,attribute:"hold-affordance"})],a.prototype,"holdAffordance",2);e([n.zt({type:Boolean,reflect:!0})],a.prototype,"quiet",2);e([n.zt({reflect:!0})],a.prototype,"role",2);e([n.zt({type:Boolean,reflect:!0})],a.prototype,"selected",2);e([n.zt({type:Boolean,reflect:!0})],a.prototype,"toggles",2);e([n.zt({reflect:!0,attribute:"static-color"})],a.prototype,"staticColor",2);e([n.zt({type:String})],a.prototype,"value",1);customElements.get("luzmo-action-button")||customElements.define("luzmo-action-button",a);
|