@kdcloudjs/shoelace 1.0.19 → 1.0.21
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/cdn/chunks/chunk.2BPXZKFR.js +21 -0
- package/cdn/chunks/chunk.2FXG3EAP.js +197 -0
- package/cdn/chunks/chunk.2IRZOABF.js +586 -0
- package/cdn/chunks/chunk.2L6Y6ARM.js +73 -0
- package/cdn/chunks/chunk.2MFPNBJV.js +11 -0
- package/cdn/chunks/chunk.2QRSZ6MY.js +153 -0
- package/cdn/chunks/chunk.33CEUF35.js +11 -0
- package/cdn/chunks/chunk.37EERA2Q.js +21 -0
- package/cdn/chunks/chunk.37IV5SCC.js +27 -0
- package/cdn/chunks/chunk.3BADH273.js +24 -0
- package/cdn/chunks/chunk.3DZEALJY.js +11 -0
- package/cdn/chunks/chunk.3I5KK6BI.js +29 -0
- package/cdn/chunks/chunk.3PKF2JEF.js +27 -0
- package/cdn/chunks/chunk.3U7O3FLX.js +24 -0
- package/cdn/chunks/chunk.3UBQKXGY.js +11 -0
- package/cdn/chunks/chunk.3XFPVYL4.js +347 -0
- package/cdn/chunks/chunk.46HJN3E5.js +1129 -0
- package/cdn/chunks/chunk.4D3OPRLT.js +11 -0
- package/cdn/chunks/chunk.4HBPXTRW.js +24 -0
- package/cdn/chunks/chunk.4NTVP5JC.js +24 -0
- package/cdn/chunks/chunk.4PFOTRJ5.js +21 -0
- package/cdn/chunks/chunk.4SO42WHF.js +21 -0
- package/cdn/chunks/chunk.5CPNGJA2.js +21 -0
- package/cdn/chunks/chunk.5CQ6G3JY.js +11 -0
- package/cdn/chunks/chunk.5GGG6IFV.js +25 -0
- package/cdn/chunks/chunk.5JUQUJC4.js +27 -0
- package/cdn/chunks/chunk.5MJOO2YG.js +21 -0
- package/cdn/chunks/chunk.5MJTKICV.js +67 -0
- package/cdn/chunks/chunk.5NX3P4CN.js +279 -0
- package/cdn/chunks/chunk.5SS3BVEY.js +302 -0
- package/cdn/chunks/chunk.643MR33C.js +331 -0
- package/cdn/chunks/chunk.6454ET77.js +5845 -0
- package/cdn/chunks/chunk.652UAD2J.js +28 -0
- package/cdn/chunks/chunk.6C5GTZSC.js +11 -0
- package/cdn/chunks/chunk.6DFKTKOR.js +24 -0
- package/cdn/chunks/chunk.6OJFF34N.js +724 -0
- package/cdn/chunks/chunk.7HGPZWK6.js +25 -0
- package/cdn/chunks/chunk.7IDMPBTC.js +271 -0
- package/cdn/chunks/chunk.7JKFDVD2.js +216 -0
- package/cdn/chunks/chunk.7NSBGUZO.js +216 -0
- package/cdn/chunks/chunk.7PFLYVPW.js +233 -0
- package/cdn/chunks/chunk.7WW76PDE.js +11 -0
- package/cdn/chunks/chunk.A6K3DM6N.js +21 -0
- package/cdn/chunks/chunk.AI7GFJGF.js +21 -0
- package/cdn/chunks/chunk.AJBZ7TKL.js +25 -0
- package/cdn/chunks/chunk.ANP6BDQZ.js +11 -0
- package/cdn/chunks/chunk.AOB2UCOG.js +69 -0
- package/cdn/chunks/chunk.AS3FWPEN.js +367 -0
- package/cdn/chunks/chunk.AWW2HF73.js +11 -0
- package/cdn/chunks/chunk.B335WRT7.js +11 -0
- package/cdn/chunks/chunk.B7ZNXEJB.js +11 -0
- package/cdn/chunks/chunk.BF5VBDIZ.js +97 -0
- package/cdn/chunks/chunk.BFHHQTMF.js +21 -0
- package/cdn/chunks/chunk.BMCPQXYZ.js +24 -0
- package/cdn/chunks/chunk.BVZQKQZF.js +335 -0
- package/cdn/chunks/chunk.BYYTZZD7.js +276 -0
- package/cdn/chunks/chunk.C4VACMON.js +21 -0
- package/cdn/chunks/chunk.CBPJU4VR.js +11 -0
- package/cdn/chunks/chunk.CC4JUPWM.js +11 -0
- package/cdn/chunks/chunk.CD72P5YC.js +11 -0
- package/cdn/chunks/chunk.CDJSY4O2.js +63 -0
- package/cdn/chunks/chunk.CEHJYNIE.js +28 -0
- package/cdn/chunks/chunk.CL3YWTX7.js +24 -0
- package/cdn/chunks/chunk.CSUC7R4W.js +21 -0
- package/cdn/chunks/chunk.D4BFRESD.js +27 -0
- package/cdn/chunks/chunk.D6R34BKB.js +25 -0
- package/cdn/chunks/chunk.D7BS2A2Q.js +126 -0
- package/cdn/chunks/chunk.DBLO7STV.js +142 -0
- package/cdn/chunks/chunk.DI3K6ALV.js +510 -0
- package/cdn/chunks/chunk.DKPQTNP4.js +11 -0
- package/cdn/chunks/chunk.DLR7LJXA.js +11 -0
- package/cdn/chunks/chunk.DTEGNGWP.js +42 -0
- package/cdn/chunks/chunk.EHNLU2YW.js +21 -0
- package/cdn/chunks/chunk.EJDG5Q5F.js +583 -0
- package/cdn/chunks/chunk.EQIRV7AJ.js +25 -0
- package/cdn/chunks/chunk.ETYEQHZM.js +11 -0
- package/cdn/chunks/chunk.EU6LITSI.js +11 -0
- package/cdn/chunks/chunk.EWF4COYF.js +11 -0
- package/cdn/chunks/chunk.EZ52QEGI.js +158 -0
- package/cdn/chunks/chunk.F25VG75X.js +24 -0
- package/cdn/chunks/chunk.F55SW2TT.js +219 -0
- package/cdn/chunks/chunk.F5HHB3KL.js +11 -0
- package/cdn/chunks/chunk.FA5EF5AD.js +379 -0
- package/cdn/chunks/chunk.FFNOT4JM.js +21 -0
- package/cdn/chunks/chunk.FHNFUEHR.js +11 -0
- package/cdn/chunks/chunk.FISARRHP.js +87 -0
- package/cdn/chunks/chunk.FJDL5LQN.js +24 -0
- package/cdn/chunks/chunk.FLZP6SRK.js +54 -0
- package/cdn/chunks/chunk.G25QQBJO.js +343 -0
- package/cdn/chunks/chunk.GC544BXI.js +25 -0
- package/cdn/chunks/chunk.GELVSLPX.js +186 -0
- package/cdn/chunks/chunk.GGFT2LOE.js +11 -0
- package/cdn/chunks/chunk.GIM5A6FP.js +28 -0
- package/cdn/chunks/chunk.H4SFQVGE.js +11 -0
- package/cdn/chunks/chunk.H5LT47UW.js +11 -0
- package/cdn/chunks/chunk.HD57TKKU.js +11 -0
- package/cdn/chunks/chunk.HG63EFZO.js +11 -0
- package/cdn/chunks/chunk.HKSQY3LX.js +515 -0
- package/cdn/chunks/chunk.HSQOQEPV.js +11 -0
- package/cdn/chunks/chunk.HU3JRAYJ.js +33 -0
- package/cdn/chunks/chunk.I3ZYJEKX.js +313 -0
- package/cdn/chunks/chunk.ICWAP5FR.js +11 -0
- package/cdn/chunks/chunk.IDJRBAOL.js +79 -0
- package/cdn/chunks/chunk.INDU56K5.js +183 -0
- package/cdn/chunks/chunk.IPO36P4O.js +140 -0
- package/cdn/chunks/chunk.IWQOHXSV.js +29 -0
- package/cdn/chunks/chunk.IYWJMSY4.js +11 -0
- package/cdn/chunks/chunk.IZUIJHWB.js +11 -0
- package/cdn/chunks/chunk.J4PYHLNH.js +11 -0
- package/cdn/chunks/chunk.JEVAUQFK.js +402 -0
- package/cdn/chunks/chunk.JOLLAVOE.js +21 -0
- package/cdn/chunks/chunk.JS5A2RFO.js +120 -0
- package/cdn/chunks/chunk.KC6NFYOP.js +11 -0
- package/cdn/chunks/chunk.KK3ONG77.js +131 -0
- package/cdn/chunks/chunk.KLZSC6ZW.js +25 -0
- package/cdn/chunks/chunk.KPIHEHGN.js +11 -0
- package/cdn/chunks/chunk.KTJ3ELQP.js +21 -0
- package/cdn/chunks/chunk.KYMA45K7.js +11 -0
- package/cdn/chunks/chunk.KYTRITCG.js +28 -0
- package/cdn/chunks/chunk.L2IR3J73.js +28 -0
- package/cdn/chunks/chunk.L3FAVYHQ.js +11 -0
- package/cdn/chunks/chunk.LDRIQXZX.js +11 -0
- package/cdn/chunks/chunk.LG777Q4F.js +21 -0
- package/cdn/chunks/chunk.LLMHPAYD.js +11 -0
- package/cdn/chunks/chunk.LNQ6VZ7W.js +11 -0
- package/cdn/chunks/chunk.LNTQ5KHS.js +118 -0
- package/cdn/chunks/chunk.LP2W2YOH.js +11 -0
- package/cdn/chunks/chunk.LPKIY5GD.js +11 -0
- package/cdn/chunks/chunk.LW2JNMTK.js +11 -0
- package/cdn/chunks/chunk.M5JXGHEW.js +391 -0
- package/cdn/chunks/chunk.MF5YDDQO.js +21 -0
- package/cdn/chunks/chunk.MF75EENW.js +11 -0
- package/cdn/chunks/chunk.MMJQPEXM.js +155 -0
- package/cdn/chunks/chunk.N6OPLCL4.js +26 -0
- package/cdn/chunks/chunk.NFYSCLWQ.js +21 -0
- package/cdn/chunks/chunk.NOBVVP43.js +21 -0
- package/cdn/chunks/chunk.NPCCFKFK.js +24 -0
- package/cdn/chunks/chunk.NSXJEKNN.js +11 -0
- package/cdn/chunks/chunk.NXPUJLXY.js +25 -0
- package/cdn/chunks/chunk.NXZQEYP5.js +11 -0
- package/cdn/chunks/chunk.NY5RYCLW.js +24 -0
- package/cdn/chunks/chunk.O6J3ZJWK.js +11 -0
- package/cdn/chunks/chunk.O7FRQ25P.js +11 -0
- package/cdn/chunks/chunk.OCPXM5JK.js +11 -0
- package/cdn/chunks/chunk.OERRPUOB.js +314 -0
- package/cdn/chunks/chunk.ONWIAYRA.js +21 -0
- package/cdn/chunks/chunk.OPS4PBMS.js +50 -0
- package/cdn/chunks/chunk.OVC62P57.js +113 -0
- package/cdn/chunks/chunk.OZVW34JQ.js +283 -0
- package/cdn/chunks/chunk.PIPULHF7.js +93 -0
- package/cdn/chunks/chunk.POIB4YHI.js +27 -0
- package/cdn/chunks/chunk.PYO3KOTH.js +77 -0
- package/cdn/chunks/chunk.Q43MSCM3.js +153 -0
- package/cdn/chunks/chunk.QFMWCJAF.js +26 -0
- package/cdn/chunks/chunk.QIG4IL7L.js +11 -0
- package/cdn/chunks/chunk.QL3W75XF.js +11 -0
- package/cdn/chunks/chunk.QLWUOPOO.js +25 -0
- package/cdn/chunks/chunk.QMSLEV74.js +292 -0
- package/cdn/chunks/chunk.QZLVXZL6.js +103 -0
- package/cdn/chunks/chunk.R3FWJCTR.js +49 -0
- package/cdn/chunks/chunk.RCVVCETX.js +28 -0
- package/cdn/chunks/chunk.RN6KFLIS.js +24 -0
- package/cdn/chunks/chunk.RRTYT6CQ.js +291 -0
- package/cdn/chunks/chunk.RZ4ELCNI.js +21 -0
- package/cdn/chunks/chunk.RZSYK4NV.js +24 -0
- package/cdn/chunks/chunk.S7EJ44YA.js +255 -0
- package/cdn/chunks/chunk.SDJGA5RE.js +21 -0
- package/cdn/chunks/chunk.SJKJA7FR.js +299 -0
- package/cdn/chunks/chunk.SJLUKVCH.js +11 -0
- package/cdn/chunks/chunk.SPZ5QLLQ.js +11 -0
- package/cdn/chunks/chunk.SST3E62S.js +455 -0
- package/cdn/chunks/chunk.STMH7LLV.js +11 -0
- package/cdn/chunks/chunk.SX6IFB3F.js +114 -0
- package/cdn/chunks/chunk.SXHFICLH.js +11 -0
- package/cdn/chunks/chunk.T2E34OXU.js +1925 -0
- package/cdn/chunks/chunk.TJM6HDIX.js +135 -0
- package/cdn/chunks/chunk.TLN5LK3Z.js +822 -0
- package/cdn/chunks/chunk.TQ6HW62R.js +95 -0
- package/cdn/chunks/chunk.TS2I57P3.js +21 -0
- package/cdn/chunks/chunk.U2DWOAKV.js +11 -0
- package/cdn/chunks/chunk.U7V3H5MG.js +11 -0
- package/cdn/chunks/chunk.UD6BZHIU.js +137 -0
- package/cdn/chunks/chunk.UJGMQD4L.js +236 -0
- package/cdn/chunks/chunk.UM4RTEEY.js +246 -0
- package/cdn/chunks/chunk.V5JTXCSZ.js +11 -0
- package/cdn/chunks/chunk.VL2GSR5S.js +21 -0
- package/cdn/chunks/chunk.VLX4AZYA.js +75 -0
- package/cdn/chunks/chunk.VPPFJL2B.js +29 -0
- package/cdn/chunks/chunk.VTDEUVOM.js +82 -0
- package/cdn/chunks/chunk.VVYMR3RE.js +11 -0
- package/cdn/chunks/chunk.VXDE2SI2.js +11 -0
- package/cdn/chunks/chunk.VYERSRZ6.js +29 -0
- package/cdn/chunks/chunk.VZNFVEDA.js +36 -0
- package/cdn/chunks/chunk.WAAT2Q6O.js +11 -0
- package/cdn/chunks/chunk.WAVWGPZQ.js +11 -0
- package/cdn/chunks/chunk.WDRTQANT.js +122 -0
- package/cdn/chunks/chunk.WJGT4PNF.js +27 -0
- package/cdn/chunks/chunk.WSDLKWBT.js +24 -0
- package/cdn/chunks/chunk.WSRRQUUU.js +24 -0
- package/cdn/chunks/chunk.WZUKCYZM.js +2953 -0
- package/cdn/chunks/chunk.X2R6EASL.js +11 -0
- package/cdn/chunks/chunk.X2YTRTG6.js +113 -0
- package/cdn/chunks/chunk.XJ444P3T.js +26 -0
- package/cdn/chunks/chunk.XLWPI6EW.js +336 -0
- package/cdn/chunks/chunk.XM44COUW.js +235 -0
- package/cdn/chunks/chunk.XW3D5LGF.js +27 -0
- package/cdn/chunks/chunk.XWEF3HOW.js +21 -0
- package/cdn/chunks/chunk.Y2OPC7UN.js +49 -0
- package/cdn/chunks/chunk.Y3TU3IB4.js +1244 -0
- package/cdn/chunks/chunk.Y5HKPQZI.js +346 -0
- package/cdn/chunks/chunk.YDJ3ZR2B.js +11 -0
- package/cdn/chunks/chunk.YEBQ7PXW.js +127 -0
- package/cdn/chunks/chunk.YFXDR25H.js +11 -0
- package/cdn/chunks/chunk.YNMWYHZR.js +1990 -0
- package/cdn/chunks/chunk.YPDZKCVO.js +48 -0
- package/cdn/chunks/chunk.Z3UTWKV6.js +335 -0
- package/cdn/chunks/chunk.ZDR75F76.js +21 -0
- package/cdn/chunks/chunk.ZEDPJK2W.js +11 -0
- package/cdn/chunks/chunk.ZHYOC7HD.js +190 -0
- package/cdn/chunks/chunk.ZLP7NJWR.js +25 -0
- package/cdn/chunks/chunk.ZZ7EFCM4.js +7313 -0
- package/cdn/components/alert/alert.component.js +8 -8
- package/cdn/components/alert/alert.js +9 -9
- package/cdn/components/animated-image/animated-image.component.js +6 -6
- package/cdn/components/animated-image/animated-image.js +7 -7
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +8 -8
- package/cdn/components/avatar/avatar.js +9 -9
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +5 -5
- package/cdn/components/breadcrumb/breadcrumb.js +6 -6
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +3 -3
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +4 -4
- package/cdn/components/button/button.component.js +8 -8
- package/cdn/components/button/button.js +9 -9
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/calendar/calendar.component.js +10 -10
- package/cdn/components/calendar/calendar.js +10 -10
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +7 -7
- package/cdn/components/carousel/carousel.js +8 -8
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +9 -9
- package/cdn/components/checkbox/checkbox.js +10 -10
- package/cdn/components/color-picker/color-picker.component.js +18 -18
- package/cdn/components/color-picker/color-picker.js +19 -19
- package/cdn/components/copy-button/copy-button.component.js +9 -9
- package/cdn/components/copy-button/copy-button.js +10 -10
- package/cdn/components/date-panel/date-panel.component.js +14 -14
- package/cdn/components/date-panel/date-panel.js +14 -14
- package/cdn/components/date-panel/date-panel.styles.js +1 -1
- package/cdn/components/datepicker/datepicker.component.js +21 -21
- package/cdn/components/datepicker/datepicker.js +21 -21
- package/cdn/components/daterange/daterange.component.js +14 -14
- package/cdn/components/daterange/daterange.js +15 -15
- package/cdn/components/daterange/daterange.styles.js +1 -1
- package/cdn/components/details/details.component.js +7 -7
- package/cdn/components/details/details.js +8 -8
- package/cdn/components/dialog/dialog.component.js +9 -9
- package/cdn/components/dialog/dialog.js +10 -10
- package/cdn/components/dialog/dialog.styles.js +1 -1
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +8 -8
- package/cdn/components/drawer/drawer.js +9 -9
- package/cdn/components/dropdown/dropdown.component.js +5 -5
- package/cdn/components/dropdown/dropdown.js +6 -6
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/icon/icon.component.js +4 -4
- package/cdn/components/icon/icon.js +5 -5
- package/cdn/components/icon-button/icon-button.component.js +7 -7
- package/cdn/components/icon-button/icon-button.js +8 -8
- package/cdn/components/image-comparer/image-comparer.component.js +7 -7
- package/cdn/components/image-comparer/image-comparer.js +8 -8
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +9 -9
- package/cdn/components/input/input.js +10 -10
- package/cdn/components/input/input.styles.js +1 -1
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +11 -11
- package/cdn/components/menu-item/menu-item.js +12 -12
- package/cdn/components/menu-item/submenu-controller.js +3 -3
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/nav/nav.component.js +2 -2
- package/cdn/components/nav/nav.js +3 -3
- package/cdn/components/nav-group/nav-group.component.js +2 -2
- package/cdn/components/nav-group/nav-group.js +3 -3
- package/cdn/components/nav-item/nav-item.component.js +3 -3
- package/cdn/components/nav-item/nav-item.js +4 -4
- package/cdn/components/nav-item/nav-item.styles.js +1 -1
- package/cdn/components/nav-submenu/nav-submenu.component.js +9 -9
- package/cdn/components/nav-submenu/nav-submenu.js +10 -10
- package/cdn/components/nav-submenu/nav-submenu.styles.js +1 -1
- package/cdn/components/option/option.component.js +7 -7
- package/cdn/components/option/option.js +8 -8
- package/cdn/components/pagination/custom-select.js +15 -15
- package/cdn/components/pagination/pagination.component.js +16 -16
- package/cdn/components/pagination/pagination.js +16 -16
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +3 -3
- package/cdn/components/qr-code/qr-code.js +4 -4
- package/cdn/components/radio/radio.component.js +7 -7
- package/cdn/components/radio/radio.js +8 -8
- package/cdn/components/radio-button/radio-button.component.js +3 -3
- package/cdn/components/radio-button/radio-button.js +4 -4
- package/cdn/components/radio-group/radio-group.component.js +4 -4
- package/cdn/components/radio-group/radio-group.js +5 -5
- package/cdn/components/range/range.component.js +5 -5
- package/cdn/components/range/range.js +6 -6
- package/cdn/components/rating/rating.component.js +8 -8
- package/cdn/components/rating/rating.js +9 -9
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/screen/screen.component.js +2 -2
- package/cdn/components/screen/screen.js +3 -3
- package/cdn/components/select/select.component.js +10 -10
- package/cdn/components/select/select.js +11 -11
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +2 -2
- package/cdn/components/split-panel/split-panel.js +3 -3
- package/cdn/components/switch/switch.component.js +5 -5
- package/cdn/components/switch/switch.js +6 -6
- package/cdn/components/tab/tab.component.js +8 -8
- package/cdn/components/tab/tab.js +9 -9
- package/cdn/components/tab-group/tab-group.component.js +9 -9
- package/cdn/components/tab-group/tab-group.js +10 -10
- package/cdn/components/tab-panel/tab-panel.component.js +3 -3
- package/cdn/components/tab-panel/tab-panel.js +4 -4
- package/cdn/components/table/body-table.js +5 -5
- package/cdn/components/table/col-group.js +2 -2
- package/cdn/components/table/head-table.js +28 -28
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +36 -36
- package/cdn/components/table/table.js +38 -38
- package/cdn/components/tag/tag.component.js +8 -8
- package/cdn/components/tag/tag.js +9 -9
- package/cdn/components/textarea/textarea.component.js +5 -5
- package/cdn/components/textarea/textarea.js +6 -6
- package/cdn/components/time-panel/time-panel.component.js +9 -9
- package/cdn/components/time-panel/time-panel.js +9 -9
- package/cdn/components/timepicker/timepicker.component.js +21 -21
- package/cdn/components/timepicker/timepicker.js +21 -21
- package/cdn/components/tooltip/tooltip.component.js +4 -4
- package/cdn/components/tooltip/tooltip.js +5 -5
- package/cdn/components/tree/tree.component.js +13 -13
- package/cdn/components/tree/tree.js +14 -14
- package/cdn/components/tree-item/tree-item.component.js +11 -11
- package/cdn/components/tree-item/tree-item.js +12 -12
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/custom-elements.json +9447 -9375
- package/cdn/react/alert/index.js +9 -9
- package/cdn/react/animated-image/index.js +7 -7
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +9 -9
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +6 -6
- package/cdn/react/breadcrumb-item/index.js +4 -4
- package/cdn/react/button/index.js +9 -9
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +8 -8
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +10 -10
- package/cdn/react/color-picker/index.js +19 -19
- package/cdn/react/copy-button/index.js +10 -10
- package/cdn/react/date-panel/index.js +15 -15
- package/cdn/react/datepicker/index.js +22 -22
- package/cdn/react/daterange/index.js +15 -15
- package/cdn/react/details/index.js +8 -8
- package/cdn/react/dialog/index.js +10 -10
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +9 -9
- package/cdn/react/dropdown/index.js +6 -6
- package/cdn/react/format-bytes/index.js +3 -3
- package/cdn/react/format-date/index.js +3 -3
- package/cdn/react/format-number/index.js +3 -3
- package/cdn/react/icon/index.js +5 -5
- package/cdn/react/icon-button/index.js +8 -8
- package/cdn/react/image-comparer/index.js +8 -8
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.js +211 -211
- package/cdn/react/input/index.js +10 -10
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +12 -12
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +3 -3
- package/cdn/react/nav-group/index.js +3 -3
- package/cdn/react/nav-item/index.js +4 -4
- package/cdn/react/nav-submenu/index.js +10 -10
- package/cdn/react/option/index.js +8 -8
- package/cdn/react/pagination/index.js +17 -17
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +4 -4
- package/cdn/react/radio/index.js +8 -8
- package/cdn/react/radio-button/index.js +4 -4
- package/cdn/react/radio-group/index.js +5 -5
- package/cdn/react/range/index.js +6 -6
- package/cdn/react/rating/index.js +9 -9
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/screen/index.js +3 -3
- package/cdn/react/select/index.js +11 -11
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +3 -3
- package/cdn/react/switch/index.js +6 -6
- package/cdn/react/tab/index.js +9 -9
- package/cdn/react/tab-group/index.js +10 -10
- package/cdn/react/tab-panel/index.js +4 -4
- package/cdn/react/table/index.js +37 -37
- package/cdn/react/tag/index.js +9 -9
- package/cdn/react/textarea/index.js +6 -6
- package/cdn/react/timepicker/index.js +22 -22
- package/cdn/react/tooltip/index.js +5 -5
- package/cdn/react/tree/index.js +14 -14
- package/cdn/react/tree-item/index.js +12 -12
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/shoelace.js +219 -219
- package/cdn/themes/dark.css +42 -1
- package/cdn/themes/dark.styles.js +42 -1
- package/cdn/themes/light.css +13 -13
- package/cdn/themes/light.styles.js +13 -13
- package/cdn/themes/nova.css +78 -26
- package/cdn/themes/nova.styles.js +78 -26
- package/cdn/types/vue/index.d.ts +889 -882
- package/cdn/vscode.html-custom-data.json +689 -688
- package/cdn/web-types.json +1822 -1809
- package/dist/chunks/chunk.2AGMSWQ3.js +24 -0
- package/dist/chunks/chunk.2AKPKESP.js +25 -0
- package/dist/chunks/chunk.2B6SZPSB.js +11 -0
- package/dist/chunks/chunk.2G5BRIZO.js +25 -0
- package/dist/chunks/chunk.2GEKAE7B.js +21 -0
- package/dist/chunks/chunk.2I5NSDA3.js +50 -0
- package/dist/chunks/chunk.2JBERLVD.js +42 -0
- package/dist/chunks/chunk.2KIO3HAG.js +25 -0
- package/dist/chunks/chunk.2OGIQIU4.js +188 -0
- package/dist/chunks/chunk.2SLZZQYM.js +192 -0
- package/dist/chunks/chunk.2XKG643M.js +11 -0
- package/dist/chunks/chunk.3MHYIUMZ.js +11 -0
- package/dist/chunks/chunk.3MI6FFND.js +280 -0
- package/dist/chunks/chunk.3OVZFWLQ.js +90 -0
- package/dist/chunks/chunk.3U2YGNEM.js +11 -0
- package/dist/chunks/chunk.3W5WAOJN.js +28 -0
- package/dist/chunks/chunk.3Z7F3KO6.js +136 -0
- package/dist/chunks/chunk.4NTI5DBO.js +311 -0
- package/dist/chunks/chunk.4QJCVJBF.js +11 -0
- package/dist/chunks/chunk.4TR2RXVB.js +550 -0
- package/dist/chunks/chunk.4WIX2IJQ.js +26 -0
- package/dist/chunks/chunk.566J3G5O.js +28 -0
- package/dist/chunks/chunk.5ACY5XNI.js +24 -0
- package/dist/chunks/chunk.5BXLFKDP.js +27 -0
- package/dist/chunks/chunk.5GOVMNVY.js +27 -0
- package/dist/chunks/chunk.5H3WI66V.js +949 -0
- package/dist/chunks/chunk.5R4HY4FU.js +180 -0
- package/dist/chunks/chunk.5RQBRMVA.js +11 -0
- package/dist/chunks/chunk.5VMZZO5N.js +151 -0
- package/dist/chunks/chunk.5WEDPOQM.js +24 -0
- package/dist/chunks/chunk.65LX5MST.js +28 -0
- package/dist/chunks/chunk.7AKFVIU7.js +27 -0
- package/dist/chunks/chunk.7DCG5NJM.js +11 -0
- package/dist/chunks/chunk.7ENY6KCX.js +25 -0
- package/dist/chunks/chunk.7G3P2HOV.js +73 -0
- package/dist/chunks/chunk.7IO7PLKK.js +21 -0
- package/dist/chunks/chunk.7UEZE5SE.js +63 -0
- package/dist/chunks/chunk.7V2ZJJVX.js +29 -0
- package/dist/chunks/chunk.7ZZ53HWP.js +11 -0
- package/dist/chunks/chunk.A2BTH2G7.js +384 -0
- package/dist/chunks/chunk.ACFWV6JZ.js +91 -0
- package/dist/chunks/chunk.ADRT3SPA.js +24 -0
- package/dist/chunks/chunk.ALKWXHG6.js +11 -0
- package/dist/chunks/chunk.ANNRUVXD.js +25 -0
- package/dist/chunks/chunk.APHAPL3G.js +340 -0
- package/dist/chunks/chunk.AQLIAUBR.js +28 -0
- package/dist/chunks/chunk.AVNQQS4Q.js +21 -0
- package/dist/chunks/chunk.BN4VTNVI.js +11 -0
- package/dist/chunks/chunk.BS32CM5D.js +80 -0
- package/dist/chunks/chunk.BU33S5IX.js +117 -0
- package/dist/chunks/chunk.BUKXV23V.js +24 -0
- package/dist/chunks/chunk.BZBOJSAW.js +11 -0
- package/dist/chunks/chunk.CC7B3VFN.js +11 -0
- package/dist/chunks/chunk.CCWRIC5E.js +230 -0
- package/dist/chunks/chunk.CCXOBM4G.js +11 -0
- package/dist/chunks/chunk.CD3W4OKL.js +231 -0
- package/dist/chunks/chunk.CDMX7FSB.js +45 -0
- package/dist/chunks/chunk.CEO64DFS.js +326 -0
- package/dist/chunks/chunk.CFUHD4SV.js +21 -0
- package/dist/chunks/chunk.CLEZ2AZE.js +100 -0
- package/dist/chunks/chunk.COKG56GM.js +11 -0
- package/dist/chunks/chunk.CQBMYKTR.js +280 -0
- package/dist/chunks/chunk.CSVWI6Y4.js +25 -0
- package/dist/chunks/chunk.CW3SMEMO.js +111 -0
- package/dist/chunks/chunk.CWIT4JOL.js +11 -0
- package/dist/chunks/chunk.CWJB66PX.js +743 -0
- package/dist/chunks/chunk.CX2HAYFX.js +11 -0
- package/dist/chunks/chunk.CX4CRTGK.js +28 -0
- package/dist/chunks/chunk.CXUTYTWH.js +294 -0
- package/dist/chunks/chunk.CYJU5GS7.js +11 -0
- package/dist/chunks/chunk.D3Y3WW77.js +25 -0
- package/dist/chunks/chunk.DHQWUNZ7.js +26 -0
- package/dist/chunks/chunk.DPPHNIDC.js +11 -0
- package/dist/chunks/chunk.DW7HAH5F.js +21 -0
- package/dist/chunks/chunk.DZMRFWYF.js +11 -0
- package/dist/chunks/chunk.E65L7RMX.js +21 -0
- package/dist/chunks/chunk.EDGFWWZ5.js +11 -0
- package/dist/chunks/chunk.EGMPNGE4.js +27 -0
- package/dist/chunks/chunk.EI4X2NZZ.js +11 -0
- package/dist/chunks/chunk.EJY3J7NW.js +134 -0
- package/dist/chunks/chunk.EK74IYLW.js +11 -0
- package/dist/chunks/chunk.ELWQKOCF.js +27 -0
- package/dist/chunks/chunk.ETW3CARH.js +85 -0
- package/dist/chunks/chunk.EYXJPF4T.js +11 -0
- package/dist/chunks/chunk.F2BIKL72.js +34 -0
- package/dist/chunks/chunk.F5KDDEGG.js +21 -0
- package/dist/chunks/chunk.FSGF5W6S.js +21 -0
- package/dist/chunks/chunk.FZHUM3HC.js +11 -0
- package/dist/chunks/chunk.G22CZGOK.js +21 -0
- package/dist/chunks/chunk.G2XPKRQD.js +11 -0
- package/dist/chunks/chunk.GFU6I4GJ.js +11 -0
- package/dist/chunks/chunk.GGK2EW5V.js +59 -0
- package/dist/chunks/chunk.GJ7HZWMZ.js +263 -0
- package/dist/chunks/chunk.GJADB4CF.js +11 -0
- package/dist/chunks/chunk.GJBMOBND.js +21 -0
- package/dist/chunks/chunk.GN44I7UO.js +24 -0
- package/dist/chunks/chunk.GOGB7QRD.js +21 -0
- package/dist/chunks/chunk.GPSGJKTW.js +75 -0
- package/dist/chunks/chunk.GQGC3KU4.js +371 -0
- package/dist/chunks/chunk.GXXLLIZW.js +21 -0
- package/dist/chunks/chunk.H2B2ZHRX.js +67 -0
- package/dist/chunks/chunk.H4H7GWLL.js +814 -0
- package/dist/chunks/chunk.H5R4TGZH.js +11 -0
- package/dist/chunks/chunk.HTHEA36S.js +21 -0
- package/dist/chunks/chunk.I7A23GA6.js +29 -0
- package/dist/chunks/chunk.I7LLE46P.js +11 -0
- package/dist/chunks/chunk.I7MYJ6T7.js +21 -0
- package/dist/chunks/chunk.IBK3IBWM.js +148 -0
- package/dist/chunks/chunk.IGD3XHBJ.js +11 -0
- package/dist/chunks/chunk.ITE6JBSM.js +1120 -0
- package/dist/chunks/chunk.IVV46OK7.js +213 -0
- package/dist/chunks/chunk.J6DEDK7I.js +24 -0
- package/dist/chunks/chunk.J76YHVQV.js +11 -0
- package/dist/chunks/chunk.J7ZWERBI.js +167 -0
- package/dist/chunks/chunk.JEHBPENY.js +11 -0
- package/dist/chunks/chunk.JEIRYLA7.js +11 -0
- package/dist/chunks/chunk.JI646VQW.js +21 -0
- package/dist/chunks/chunk.JQVOAVAD.js +11 -0
- package/dist/chunks/chunk.JRE3XEGV.js +96 -0
- package/dist/chunks/chunk.K5UHBRBV.js +11 -0
- package/dist/chunks/chunk.KFD6SN4C.js +11 -0
- package/dist/chunks/chunk.KFSHKNTI.js +26 -0
- package/dist/chunks/chunk.KIRCNHCN.js +11 -0
- package/dist/chunks/chunk.KKGX4J3Q.js +21 -0
- package/dist/chunks/chunk.KUH7IHNM.js +21 -0
- package/dist/chunks/chunk.L2GNETEW.js +52 -0
- package/dist/chunks/chunk.L3EQKDDD.js +22 -0
- package/dist/chunks/chunk.LDYNEEPR.js +25 -0
- package/dist/chunks/chunk.LHEMCYGN.js +21 -0
- package/dist/chunks/chunk.LKK2PFM6.js +11 -0
- package/dist/chunks/chunk.LO3Y3SC3.js +21 -0
- package/dist/chunks/chunk.LP64IFNS.js +506 -0
- package/dist/chunks/chunk.LS6NLVX5.js +247 -0
- package/dist/chunks/chunk.LWXNNQJB.js +11 -0
- package/dist/chunks/chunk.MBBHJ5GO.js +337 -0
- package/dist/chunks/chunk.MEBOP6MN.js +11 -0
- package/dist/chunks/chunk.MHCVVLCT.js +11 -0
- package/dist/chunks/chunk.MHS3FJGV.js +11 -0
- package/dist/chunks/chunk.MJJGFKLO.js +21 -0
- package/dist/chunks/chunk.MU5AZVCP.js +227 -0
- package/dist/chunks/chunk.MY7LLR7C.js +109 -0
- package/dist/chunks/chunk.NMHP34NC.js +11 -0
- package/dist/chunks/chunk.NPS3ESCM.js +126 -0
- package/dist/chunks/chunk.ORMXZW6F.js +11 -0
- package/dist/chunks/chunk.OSQ3CCFF.js +214 -0
- package/dist/chunks/chunk.OUEOR24B.js +152 -0
- package/dist/chunks/chunk.OUNPBRRD.js +22 -0
- package/dist/chunks/chunk.OVX7KABZ.js +113 -0
- package/dist/chunks/chunk.OWQUCAPJ.js +577 -0
- package/dist/chunks/chunk.PHBT3MJN.js +361 -0
- package/dist/chunks/chunk.PJ5F7CV7.js +116 -0
- package/dist/chunks/chunk.PKF7THHX.js +1242 -0
- package/dist/chunks/chunk.PKSNYBHX.js +448 -0
- package/dist/chunks/chunk.PLFXQQK7.js +27 -0
- package/dist/chunks/chunk.PLZEF6WP.js +29 -0
- package/dist/chunks/chunk.PMI7GCY2.js +25 -0
- package/dist/chunks/chunk.Q6XBKIKU.js +345 -0
- package/dist/chunks/chunk.QHUOTUN2.js +147 -0
- package/dist/chunks/chunk.QIBAK7JU.js +11 -0
- package/dist/chunks/chunk.QP55ES4D.js +21 -0
- package/dist/chunks/chunk.QYPMCDLQ.js +75 -0
- package/dist/chunks/chunk.QYRMBDMM.js +29 -0
- package/dist/chunks/chunk.R7KBW4QU.js +213 -0
- package/dist/chunks/chunk.RAQSRVTG.js +293 -0
- package/dist/chunks/chunk.RNKUPBLS.js +11 -0
- package/dist/chunks/chunk.RRE67WPJ.js +25 -0
- package/dist/chunks/chunk.RS5RBPPC.js +24 -0
- package/dist/chunks/chunk.RXIN2NBH.js +11 -0
- package/dist/chunks/chunk.RXL26ZVA.js +21 -0
- package/dist/chunks/chunk.S3KIYD3N.js +119 -0
- package/dist/chunks/chunk.S7AI3OAX.js +331 -0
- package/dist/chunks/chunk.SJFD3WIY.js +11 -0
- package/dist/chunks/chunk.SWBDS6VT.js +21 -0
- package/dist/chunks/chunk.SWVFDTKZ.js +21 -0
- package/dist/chunks/chunk.T6LQGRUO.js +11 -0
- package/dist/chunks/chunk.T75MXKKM.js +11 -0
- package/dist/chunks/chunk.TEY22MXD.js +28 -0
- package/dist/chunks/chunk.TJTYBIR7.js +181 -0
- package/dist/chunks/chunk.TOTYR5GB.js +11 -0
- package/dist/chunks/chunk.TS6C6XE6.js +11 -0
- package/dist/chunks/chunk.TVTYAME6.js +24 -0
- package/dist/chunks/chunk.U3TBBNK7.js +11 -0
- package/dist/chunks/chunk.UBV7OT7X.js +46 -0
- package/dist/chunks/chunk.UCPVFXHQ.js +33 -0
- package/dist/chunks/chunk.UCRIUDWV.js +24 -0
- package/dist/chunks/chunk.UFZ64NW7.js +286 -0
- package/dist/chunks/chunk.UH4QRZF2.js +306 -0
- package/dist/chunks/chunk.UJBLG2EM.js +45 -0
- package/dist/chunks/chunk.USK5EGSO.js +11 -0
- package/dist/chunks/chunk.UTRX2GAS.js +11 -0
- package/dist/chunks/chunk.UTVWXAXN.js +315 -0
- package/dist/chunks/chunk.UUC35CUO.js +126 -0
- package/dist/chunks/chunk.UUFFPP2C.js +397 -0
- package/dist/chunks/chunk.VCKKWWX5.js +11 -0
- package/dist/chunks/chunk.VDIOOKK3.js +25 -0
- package/dist/chunks/chunk.VFO6XX4A.js +93 -0
- package/dist/chunks/chunk.VSR2VRYO.js +11 -0
- package/dist/chunks/chunk.VZFYIASQ.js +24 -0
- package/dist/chunks/chunk.W4CK4MNF.js +11 -0
- package/dist/chunks/chunk.W5XOGECB.js +135 -0
- package/dist/chunks/chunk.W6WWCEDK.js +11 -0
- package/dist/chunks/chunk.WJUIWRCP.js +24 -0
- package/dist/chunks/chunk.WYGWB63T.js +11 -0
- package/dist/chunks/chunk.XJEHWKV5.js +502 -0
- package/dist/chunks/chunk.XLVA5ZEI.js +11 -0
- package/dist/chunks/chunk.XQMQGT2Z.js +11 -0
- package/dist/chunks/chunk.XWFL7NJJ.js +11 -0
- package/dist/chunks/chunk.Y2M2ID7D.js +820 -0
- package/dist/chunks/chunk.Y4XGHZNT.js +100 -0
- package/dist/chunks/chunk.YFHUR4GU.js +21 -0
- package/dist/chunks/chunk.YPHENAEZ.js +417 -0
- package/dist/chunks/chunk.YWSXJLSV.js +329 -0
- package/dist/chunks/chunk.Z5BUSFRU.js +24 -0
- package/dist/chunks/chunk.Z73U3F6N.js +11 -0
- package/dist/chunks/chunk.ZABCFN7Q.js +21 -0
- package/dist/chunks/chunk.ZO3NUUSF.js +274 -0
- package/dist/chunks/chunk.ZYEU5MVF.js +11 -0
- package/dist/components/alert/alert.component.js +5 -5
- package/dist/components/alert/alert.js +6 -6
- package/dist/components/animated-image/animated-image.component.js +5 -5
- package/dist/components/animated-image/animated-image.js +6 -6
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +5 -5
- package/dist/components/avatar/avatar.js +6 -6
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +4 -4
- package/dist/components/breadcrumb/breadcrumb.js +5 -5
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +5 -5
- package/dist/components/button/button.js +6 -6
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.js +7 -7
- package/dist/components/calendar/calendar.js +7 -7
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +4 -4
- package/dist/components/carousel/carousel.js +5 -5
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/color-picker/color-picker.component.js +14 -14
- package/dist/components/color-picker/color-picker.js +15 -15
- package/dist/components/copy-button/copy-button.component.js +6 -6
- package/dist/components/copy-button/copy-button.js +7 -7
- package/dist/components/date-panel/date-panel.component.js +11 -11
- package/dist/components/date-panel/date-panel.js +11 -11
- package/dist/components/date-panel/date-panel.styles.js +1 -1
- package/dist/components/datepicker/datepicker.component.js +17 -17
- package/dist/components/datepicker/datepicker.js +17 -17
- package/dist/components/daterange/daterange.component.js +10 -10
- package/dist/components/daterange/daterange.js +11 -11
- package/dist/components/daterange/daterange.styles.js +1 -1
- package/dist/components/details/details.component.js +4 -4
- package/dist/components/details/details.js +5 -5
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/dialog/dialog.styles.js +1 -1
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +5 -5
- package/dist/components/drawer/drawer.js +6 -6
- package/dist/components/dropdown/dropdown.component.js +4 -4
- package/dist/components/dropdown/dropdown.js +5 -5
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +3 -3
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon-button/icon-button.component.js +4 -4
- package/dist/components/icon-button/icon-button.js +5 -5
- package/dist/components/image-comparer/image-comparer.component.js +4 -4
- package/dist/components/image-comparer/image-comparer.js +5 -5
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +5 -5
- package/dist/components/input/input.js +6 -6
- package/dist/components/input/input.styles.js +1 -1
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +7 -7
- package/dist/components/menu-item/menu-item.js +8 -8
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/nav/nav.component.js +2 -2
- package/dist/components/nav/nav.js +3 -3
- package/dist/components/nav-group/nav-group.component.js +2 -2
- package/dist/components/nav-group/nav-group.js +3 -3
- package/dist/components/nav-item/nav-item.component.js +3 -3
- package/dist/components/nav-item/nav-item.js +4 -4
- package/dist/components/nav-item/nav-item.styles.js +1 -1
- package/dist/components/nav-submenu/nav-submenu.component.js +6 -6
- package/dist/components/nav-submenu/nav-submenu.js +7 -7
- package/dist/components/nav-submenu/nav-submenu.styles.js +1 -1
- package/dist/components/option/option.component.js +4 -4
- package/dist/components/option/option.js +5 -5
- package/dist/components/pagination/custom-select.js +11 -11
- package/dist/components/pagination/pagination.component.js +12 -12
- package/dist/components/pagination/pagination.js +12 -12
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +4 -4
- package/dist/components/radio/radio.js +5 -5
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +2 -2
- package/dist/components/range/range.js +3 -3
- package/dist/components/rating/rating.component.js +4 -4
- package/dist/components/rating/rating.js +5 -5
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/screen/screen.component.js +2 -2
- package/dist/components/screen/screen.js +3 -3
- package/dist/components/select/select.component.js +7 -7
- package/dist/components/select/select.js +8 -8
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +5 -5
- package/dist/components/tab/tab.js +6 -6
- package/dist/components/tab-group/tab-group.component.js +6 -6
- package/dist/components/tab-group/tab-group.js +7 -7
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +2 -2
- package/dist/components/table/head-table.js +22 -22
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +30 -30
- package/dist/components/table/table.js +32 -32
- package/dist/components/tag/tag.component.js +5 -5
- package/dist/components/tag/tag.js +6 -6
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-panel/time-panel.component.js +6 -6
- package/dist/components/time-panel/time-panel.js +6 -6
- package/dist/components/timepicker/timepicker.component.js +17 -17
- package/dist/components/timepicker/timepicker.js +17 -17
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +9 -9
- package/dist/components/tree/tree.js +10 -10
- package/dist/components/tree-item/tree-item.component.js +7 -7
- package/dist/components/tree-item/tree-item.js +8 -8
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +9447 -9375
- package/dist/react/alert/index.js +6 -6
- package/dist/react/animated-image/index.js +6 -6
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +6 -6
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +5 -5
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +6 -6
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +5 -5
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +6 -6
- package/dist/react/color-picker/index.js +15 -15
- package/dist/react/copy-button/index.js +7 -7
- package/dist/react/date-panel/index.js +12 -12
- package/dist/react/datepicker/index.js +18 -18
- package/dist/react/daterange/index.js +11 -11
- package/dist/react/details/index.js +5 -5
- package/dist/react/dialog/index.js +7 -7
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +6 -6
- package/dist/react/dropdown/index.js +5 -5
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/icon/index.js +4 -4
- package/dist/react/icon-button/index.js +5 -5
- package/dist/react/image-comparer/index.js +5 -5
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.js +204 -204
- package/dist/react/input/index.js +6 -6
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +8 -8
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +3 -3
- package/dist/react/nav-group/index.js +3 -3
- package/dist/react/nav-item/index.js +4 -4
- package/dist/react/nav-submenu/index.js +7 -7
- package/dist/react/option/index.js +5 -5
- package/dist/react/pagination/index.js +13 -13
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +5 -5
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +3 -3
- package/dist/react/rating/index.js +5 -5
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/screen/index.js +3 -3
- package/dist/react/select/index.js +8 -8
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +6 -6
- package/dist/react/tab-group/index.js +7 -7
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +31 -31
- package/dist/react/tag/index.js +6 -6
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/timepicker/index.js +18 -18
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +10 -10
- package/dist/react/tree-item/index.js +8 -8
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/shoelace.js +212 -212
- package/dist/themes/dark.css +42 -1
- package/dist/themes/dark.styles.js +42 -1
- package/dist/themes/light.css +13 -13
- package/dist/themes/light.styles.js +13 -13
- package/dist/themes/nova.css +78 -26
- package/dist/themes/nova.styles.js +78 -26
- package/dist/types/vue/index.d.ts +889 -882
- package/dist/vscode.html-custom-data.json +689 -688
- package/dist/web-types.json +1822 -1809
- package/package.json +2 -2
- package/cdn/chunks/chunk.2ANFHNZR.js +0 -11
- package/cdn/chunks/chunk.2AURE7DN.js +0 -25
- package/cdn/chunks/chunk.2C6WXR6B.js +0 -75
- package/cdn/chunks/chunk.2ELTO72Y.js +0 -11
- package/cdn/chunks/chunk.2JVHEDYD.js +0 -197
- package/cdn/chunks/chunk.2LSS7622.js +0 -313
- package/cdn/chunks/chunk.2MRFFZRD.js +0 -11
- package/cdn/chunks/chunk.2RAA444R.js +0 -21
- package/cdn/chunks/chunk.2Y7AQDMG.js +0 -127
- package/cdn/chunks/chunk.2ZR3IGGY.js +0 -24
- package/cdn/chunks/chunk.32D4BBKZ.js +0 -29
- package/cdn/chunks/chunk.3BQEW5IO.js +0 -153
- package/cdn/chunks/chunk.3IY2CJXD.js +0 -49
- package/cdn/chunks/chunk.3NTL6CZN.js +0 -11
- package/cdn/chunks/chunk.43MD64U4.js +0 -21
- package/cdn/chunks/chunk.44BSCWWH.js +0 -279
- package/cdn/chunks/chunk.45BSHBRW.js +0 -24
- package/cdn/chunks/chunk.4KNSRI6Z.js +0 -140
- package/cdn/chunks/chunk.4M2GOQEC.js +0 -29
- package/cdn/chunks/chunk.4OHKW737.js +0 -11
- package/cdn/chunks/chunk.4W5SO2J5.js +0 -93
- package/cdn/chunks/chunk.535B6QZL.js +0 -271
- package/cdn/chunks/chunk.5I4CFKTM.js +0 -24
- package/cdn/chunks/chunk.5NFRVRC4.js +0 -11
- package/cdn/chunks/chunk.5PJQLYR6.js +0 -21
- package/cdn/chunks/chunk.5RS25KPK.js +0 -49
- package/cdn/chunks/chunk.65XFW2LP.js +0 -514
- package/cdn/chunks/chunk.6LYL6II2.js +0 -113
- package/cdn/chunks/chunk.6NPE3G2O.js +0 -11
- package/cdn/chunks/chunk.6T7RFQLK.js +0 -21
- package/cdn/chunks/chunk.74ZU2RIZ.js +0 -11
- package/cdn/chunks/chunk.7BWICHAC.js +0 -11
- package/cdn/chunks/chunk.7HSQ5QMC.js +0 -21
- package/cdn/chunks/chunk.7NYV3MGF.js +0 -219
- package/cdn/chunks/chunk.7TE3GWQW.js +0 -122
- package/cdn/chunks/chunk.7Y3PFUA6.js +0 -27
- package/cdn/chunks/chunk.7YN27UVO.js +0 -25
- package/cdn/chunks/chunk.A2D4SPKL.js +0 -25
- package/cdn/chunks/chunk.A6QBB2TR.js +0 -25
- package/cdn/chunks/chunk.A7MXUT3K.js +0 -29
- package/cdn/chunks/chunk.AAZ2DBN5.js +0 -11
- package/cdn/chunks/chunk.AOUGBCTO.js +0 -11
- package/cdn/chunks/chunk.AP6OTGUK.js +0 -11
- package/cdn/chunks/chunk.APVXSMAK.js +0 -24
- package/cdn/chunks/chunk.AQEUT6JX.js +0 -21
- package/cdn/chunks/chunk.ASONYWLA.js +0 -24
- package/cdn/chunks/chunk.AT2IQW7B.js +0 -21
- package/cdn/chunks/chunk.AUT3BAF3.js +0 -21
- package/cdn/chunks/chunk.B2M43KAI.js +0 -21
- package/cdn/chunks/chunk.B3A3UEWM.js +0 -21
- package/cdn/chunks/chunk.B5EKAEJG.js +0 -25
- package/cdn/chunks/chunk.B7A6V6JL.js +0 -11
- package/cdn/chunks/chunk.BAMTZRKX.js +0 -118
- package/cdn/chunks/chunk.BGEZNBXG.js +0 -50
- package/cdn/chunks/chunk.BIH7DO2W.js +0 -11
- package/cdn/chunks/chunk.BL3YMW2U.js +0 -21
- package/cdn/chunks/chunk.BL7FVQ7J.js +0 -114
- package/cdn/chunks/chunk.BLFTZ4DM.js +0 -5845
- package/cdn/chunks/chunk.BY2N3WW5.js +0 -24
- package/cdn/chunks/chunk.BZY7KZR5.js +0 -11
- package/cdn/chunks/chunk.CDDEHTPU.js +0 -21
- package/cdn/chunks/chunk.CGIFPKYD.js +0 -63
- package/cdn/chunks/chunk.CGL6NGHL.js +0 -73
- package/cdn/chunks/chunk.CN2O3HVN.js +0 -1925
- package/cdn/chunks/chunk.CQXU7Y6O.js +0 -21
- package/cdn/chunks/chunk.CQYMCDCI.js +0 -331
- package/cdn/chunks/chunk.CX3VFTX4.js +0 -135
- package/cdn/chunks/chunk.CY3LHSKR.js +0 -11
- package/cdn/chunks/chunk.CYZROCDR.js +0 -586
- package/cdn/chunks/chunk.D6KG5D73.js +0 -27
- package/cdn/chunks/chunk.DMLGCGKA.js +0 -24
- package/cdn/chunks/chunk.DVIU53ZR.js +0 -299
- package/cdn/chunks/chunk.DZ6JUKTG.js +0 -21
- package/cdn/chunks/chunk.E2DV6NOT.js +0 -42
- package/cdn/chunks/chunk.E3KIWNQF.js +0 -113
- package/cdn/chunks/chunk.E62NOIUA.js +0 -11
- package/cdn/chunks/chunk.EF5XLBIU.js +0 -54
- package/cdn/chunks/chunk.EZGVNLEY.js +0 -28
- package/cdn/chunks/chunk.FHWYOD3C.js +0 -21
- package/cdn/chunks/chunk.FPV4Z2JF.js +0 -28
- package/cdn/chunks/chunk.G27B2RNY.js +0 -11
- package/cdn/chunks/chunk.G2YOMCHR.js +0 -126
- package/cdn/chunks/chunk.GEEFRIG7.js +0 -11
- package/cdn/chunks/chunk.GXQ64LLR.js +0 -26
- package/cdn/chunks/chunk.H34HAPJ5.js +0 -11
- package/cdn/chunks/chunk.HAI2R6OF.js +0 -235
- package/cdn/chunks/chunk.HNMSSBQ4.js +0 -24
- package/cdn/chunks/chunk.HU6DWDEW.js +0 -11
- package/cdn/chunks/chunk.HXONEO7X.js +0 -27
- package/cdn/chunks/chunk.HZN6IFQR.js +0 -25
- package/cdn/chunks/chunk.IESFX4D3.js +0 -27
- package/cdn/chunks/chunk.IJLVKP54.js +0 -28
- package/cdn/chunks/chunk.IM6QY7U6.js +0 -25
- package/cdn/chunks/chunk.IOGJF7WI.js +0 -158
- package/cdn/chunks/chunk.IRC5ZYIE.js +0 -11
- package/cdn/chunks/chunk.J3N43RTH.js +0 -11
- package/cdn/chunks/chunk.J5GKPZ7W.js +0 -11
- package/cdn/chunks/chunk.J6I2CDX7.js +0 -27
- package/cdn/chunks/chunk.JCJCP52E.js +0 -69
- package/cdn/chunks/chunk.JMAC5YQQ.js +0 -11
- package/cdn/chunks/chunk.JMDQXRPF.js +0 -11
- package/cdn/chunks/chunk.JOM5QWHH.js +0 -11
- package/cdn/chunks/chunk.JPZG34IF.js +0 -11
- package/cdn/chunks/chunk.JQNVPJML.js +0 -11
- package/cdn/chunks/chunk.JTC7F5FK.js +0 -246
- package/cdn/chunks/chunk.K7YZHZPD.js +0 -236
- package/cdn/chunks/chunk.KQGVYI5C.js +0 -21
- package/cdn/chunks/chunk.KU4UU26F.js +0 -11
- package/cdn/chunks/chunk.KWYMWYV2.js +0 -724
- package/cdn/chunks/chunk.LERS3OLO.js +0 -11
- package/cdn/chunks/chunk.LHIB3Z3N.js +0 -97
- package/cdn/chunks/chunk.LJEWVZ77.js +0 -186
- package/cdn/chunks/chunk.LLVPOFO2.js +0 -379
- package/cdn/chunks/chunk.LSATLAWV.js +0 -28
- package/cdn/chunks/chunk.LX2IWFEF.js +0 -155
- package/cdn/chunks/chunk.LYMXFK3P.js +0 -11
- package/cdn/chunks/chunk.M3Y63WL4.js +0 -402
- package/cdn/chunks/chunk.MDQDZSXF.js +0 -153
- package/cdn/chunks/chunk.MIUYHMNC.js +0 -11
- package/cdn/chunks/chunk.MOIF3Z3E.js +0 -2664
- package/cdn/chunks/chunk.MSCUABU5.js +0 -24
- package/cdn/chunks/chunk.MTYFP2UM.js +0 -11
- package/cdn/chunks/chunk.MU5NBMHU.js +0 -233
- package/cdn/chunks/chunk.MUJRJ6GC.js +0 -184
- package/cdn/chunks/chunk.N34ZSDV3.js +0 -11
- package/cdn/chunks/chunk.N5LB3TT2.js +0 -11
- package/cdn/chunks/chunk.N7Q72NUE.js +0 -28
- package/cdn/chunks/chunk.NBI577AT.js +0 -255
- package/cdn/chunks/chunk.NFSIBOTO.js +0 -11
- package/cdn/chunks/chunk.NN255IZD.js +0 -11
- package/cdn/chunks/chunk.NQJLEOES.js +0 -11
- package/cdn/chunks/chunk.NR7MEI4H.js +0 -131
- package/cdn/chunks/chunk.NWY46JQ5.js +0 -24
- package/cdn/chunks/chunk.NX4IAW2P.js +0 -24
- package/cdn/chunks/chunk.NYDFIK5N.js +0 -21
- package/cdn/chunks/chunk.O2HOC24X.js +0 -21
- package/cdn/chunks/chunk.O6EWXRP4.js +0 -67
- package/cdn/chunks/chunk.OA3B6M2Q.js +0 -11
- package/cdn/chunks/chunk.OA5HLVP5.js +0 -335
- package/cdn/chunks/chunk.OG62LYEF.js +0 -11
- package/cdn/chunks/chunk.OOQT2TBX.js +0 -11
- package/cdn/chunks/chunk.OOUW2ORP.js +0 -183
- package/cdn/chunks/chunk.OUG4IWNU.js +0 -583
- package/cdn/chunks/chunk.P4C7XM5V.js +0 -11
- package/cdn/chunks/chunk.PDW4ITD3.js +0 -391
- package/cdn/chunks/chunk.PJCIOBO6.js +0 -11
- package/cdn/chunks/chunk.PJPJOUZ5.js +0 -21
- package/cdn/chunks/chunk.PM7BEGTA.js +0 -26
- package/cdn/chunks/chunk.PNU4EGFD.js +0 -11
- package/cdn/chunks/chunk.PSFNWY5K.js +0 -208
- package/cdn/chunks/chunk.Q5JRIPVS.js +0 -11
- package/cdn/chunks/chunk.QASVS77S.js +0 -24
- package/cdn/chunks/chunk.QBGZQYWU.js +0 -11
- package/cdn/chunks/chunk.QCNTIZSE.js +0 -822
- package/cdn/chunks/chunk.R3WA6QUO.js +0 -25
- package/cdn/chunks/chunk.R6HMX2L6.js +0 -26
- package/cdn/chunks/chunk.R7H6BXLA.js +0 -87
- package/cdn/chunks/chunk.RAVGH6MM.js +0 -11
- package/cdn/chunks/chunk.RCGXVMGO.js +0 -302
- package/cdn/chunks/chunk.RFRGPNT7.js +0 -103
- package/cdn/chunks/chunk.RMRLMJU4.js +0 -314
- package/cdn/chunks/chunk.RXREROOW.js +0 -120
- package/cdn/chunks/chunk.S2AVKNKF.js +0 -1990
- package/cdn/chunks/chunk.S6D6UD7Y.js +0 -29
- package/cdn/chunks/chunk.SFD7WQEX.js +0 -11
- package/cdn/chunks/chunk.SSJHYUS4.js +0 -347
- package/cdn/chunks/chunk.SUCNJ254.js +0 -24
- package/cdn/chunks/chunk.SZKBA4JQ.js +0 -25
- package/cdn/chunks/chunk.T4ZMCQYC.js +0 -11
- package/cdn/chunks/chunk.T5VD2RLO.js +0 -11
- package/cdn/chunks/chunk.TA7HPBMD.js +0 -1073
- package/cdn/chunks/chunk.TAFVA4F4.js +0 -21
- package/cdn/chunks/chunk.TI3J5ZIM.js +0 -336
- package/cdn/chunks/chunk.TIG6YRSY.js +0 -25
- package/cdn/chunks/chunk.TIOJHG3F.js +0 -21
- package/cdn/chunks/chunk.TO35TZHJ.js +0 -11
- package/cdn/chunks/chunk.TPPFJ4LN.js +0 -82
- package/cdn/chunks/chunk.TSF7OHVL.js +0 -11
- package/cdn/chunks/chunk.TWXT6YEQ.js +0 -11
- package/cdn/chunks/chunk.TXBCLBCL.js +0 -21
- package/cdn/chunks/chunk.TXX37JUT.js +0 -292
- package/cdn/chunks/chunk.U5PVJZU7.js +0 -142
- package/cdn/chunks/chunk.UJSSNNSI.js +0 -291
- package/cdn/chunks/chunk.UU6CWQL5.js +0 -77
- package/cdn/chunks/chunk.UVHXDKL6.js +0 -216
- package/cdn/chunks/chunk.UZ5OQMCS.js +0 -11
- package/cdn/chunks/chunk.V3LV5WHZ.js +0 -11
- package/cdn/chunks/chunk.VEZJ4ORU.js +0 -11
- package/cdn/chunks/chunk.VH2SZE2G.js +0 -36
- package/cdn/chunks/chunk.VHRF66AX.js +0 -455
- package/cdn/chunks/chunk.VRLSHUD4.js +0 -28
- package/cdn/chunks/chunk.VUJKTYVO.js +0 -11
- package/cdn/chunks/chunk.VVEBAZOQ.js +0 -24
- package/cdn/chunks/chunk.W66B5SLP.js +0 -7252
- package/cdn/chunks/chunk.W776AP3A.js +0 -27
- package/cdn/chunks/chunk.WSYL5MGY.js +0 -11
- package/cdn/chunks/chunk.X4TGYVLV.js +0 -11
- package/cdn/chunks/chunk.XCXXSZ7B.js +0 -137
- package/cdn/chunks/chunk.XGPOG3Q5.js +0 -334
- package/cdn/chunks/chunk.XLFHV7XJ.js +0 -21
- package/cdn/chunks/chunk.XNH5D5HS.js +0 -33
- package/cdn/chunks/chunk.XQSS2WIO.js +0 -1223
- package/cdn/chunks/chunk.XR62TNFR.js +0 -21
- package/cdn/chunks/chunk.XT24WCLH.js +0 -502
- package/cdn/chunks/chunk.XU345WQ7.js +0 -11
- package/cdn/chunks/chunk.Y3H727GQ.js +0 -24
- package/cdn/chunks/chunk.Y5IKTKQO.js +0 -11
- package/cdn/chunks/chunk.Y7DMPISY.js +0 -21
- package/cdn/chunks/chunk.YD2KL7UA.js +0 -95
- package/cdn/chunks/chunk.YLHMDTDR.js +0 -79
- package/cdn/chunks/chunk.YP4HAHSB.js +0 -290
- package/cdn/chunks/chunk.YPSV5WBM.js +0 -11
- package/cdn/chunks/chunk.YYDXR7K4.js +0 -328
- package/cdn/chunks/chunk.YZ65DU77.js +0 -367
- package/cdn/chunks/chunk.Z7IGUWKX.js +0 -11
- package/cdn/chunks/chunk.ZA4FUCXI.js +0 -48
- package/cdn/chunks/chunk.ZEOTY4T5.js +0 -276
- package/cdn/chunks/chunk.ZHCGTSQ3.js +0 -346
- package/cdn/chunks/chunk.ZUZEUQVX.js +0 -21
- package/cdn/chunks/chunk.ZW7HID73.js +0 -11
- package/cdn/chunks/chunk.ZZ6UAL6Z.js +0 -27
- package/dist/chunks/chunk.22KTYGXZ.js +0 -550
- package/dist/chunks/chunk.25H2DZUD.js +0 -91
- package/dist/chunks/chunk.2A57AUWH.js +0 -21
- package/dist/chunks/chunk.2CDGBHSY.js +0 -11
- package/dist/chunks/chunk.2FZVSPYP.js +0 -311
- package/dist/chunks/chunk.2YPB46MI.js +0 -11
- package/dist/chunks/chunk.36DPUUIK.js +0 -949
- package/dist/chunks/chunk.3ACESSXA.js +0 -11
- package/dist/chunks/chunk.3GASPFAI.js +0 -181
- package/dist/chunks/chunk.3JZG7STV.js +0 -11
- package/dist/chunks/chunk.3OHH5CWN.js +0 -117
- package/dist/chunks/chunk.3QNSHONM.js +0 -25
- package/dist/chunks/chunk.3RADAMBJ.js +0 -151
- package/dist/chunks/chunk.3RG4PJ6U.js +0 -11
- package/dist/chunks/chunk.3WEEIKOU.js +0 -29
- package/dist/chunks/chunk.4AQKRH46.js +0 -759
- package/dist/chunks/chunk.4HYWKEVU.js +0 -325
- package/dist/chunks/chunk.4K3UO55T.js +0 -21
- package/dist/chunks/chunk.4TGHNAQJ.js +0 -11
- package/dist/chunks/chunk.4TTDKYCD.js +0 -11
- package/dist/chunks/chunk.4X6C5HF5.js +0 -11
- package/dist/chunks/chunk.4YAUBV43.js +0 -11
- package/dist/chunks/chunk.5AD5XVYQ.js +0 -21
- package/dist/chunks/chunk.5EC5OV7H.js +0 -22
- package/dist/chunks/chunk.5GDFDL4H.js +0 -11
- package/dist/chunks/chunk.5J7GFPEK.js +0 -328
- package/dist/chunks/chunk.5MCUW6TP.js +0 -397
- package/dist/chunks/chunk.5NCBWC32.js +0 -11
- package/dist/chunks/chunk.5TIG6TTL.js +0 -148
- package/dist/chunks/chunk.5U77RHUJ.js +0 -247
- package/dist/chunks/chunk.63SHV6HO.js +0 -116
- package/dist/chunks/chunk.6AWZA5NZ.js +0 -45
- package/dist/chunks/chunk.6CXHASIO.js +0 -93
- package/dist/chunks/chunk.6D3HU6TE.js +0 -100
- package/dist/chunks/chunk.6NVMKPVA.js +0 -25
- package/dist/chunks/chunk.6PWWASJZ.js +0 -814
- package/dist/chunks/chunk.6WWQH3OT.js +0 -24
- package/dist/chunks/chunk.7664DVRI.js +0 -11
- package/dist/chunks/chunk.7H4CJHPC.js +0 -11
- package/dist/chunks/chunk.7KRAXOHM.js +0 -21
- package/dist/chunks/chunk.7KWWESTA.js +0 -213
- package/dist/chunks/chunk.7NZYYRC4.js +0 -21
- package/dist/chunks/chunk.7PZ4HH4J.js +0 -21
- package/dist/chunks/chunk.7RO7OYPQ.js +0 -25
- package/dist/chunks/chunk.7RWIJ24M.js +0 -21
- package/dist/chunks/chunk.A2NRFT2S.js +0 -75
- package/dist/chunks/chunk.A5DC3DHY.js +0 -29
- package/dist/chunks/chunk.A5M7NGGF.js +0 -11
- package/dist/chunks/chunk.ABCAOB5C.js +0 -11
- package/dist/chunks/chunk.ACR3AG5H.js +0 -25
- package/dist/chunks/chunk.AEDVWRCW.js +0 -11
- package/dist/chunks/chunk.AEKEILDA.js +0 -119
- package/dist/chunks/chunk.AJKA6QBN.js +0 -280
- package/dist/chunks/chunk.B3DZVBFN.js +0 -11
- package/dist/chunks/chunk.B3YAF3VT.js +0 -11
- package/dist/chunks/chunk.BCXLJZRN.js +0 -21
- package/dist/chunks/chunk.BD65VVAG.js +0 -192
- package/dist/chunks/chunk.BGBZSHUH.js +0 -24
- package/dist/chunks/chunk.BN74GDIA.js +0 -577
- package/dist/chunks/chunk.BPT7NWMO.js +0 -11
- package/dist/chunks/chunk.BS3PYP6L.js +0 -11
- package/dist/chunks/chunk.C5JVNRJP.js +0 -11
- package/dist/chunks/chunk.C7Z3CZKS.js +0 -306
- package/dist/chunks/chunk.CIDETZJ7.js +0 -22
- package/dist/chunks/chunk.CIS62PZW.js +0 -11
- package/dist/chunks/chunk.CJL4W6LZ.js +0 -21
- package/dist/chunks/chunk.CMF7JBZ3.js +0 -11
- package/dist/chunks/chunk.CWHQSZ5T.js +0 -11
- package/dist/chunks/chunk.D2WIU5AH.js +0 -75
- package/dist/chunks/chunk.D6CKEL2O.js +0 -21
- package/dist/chunks/chunk.DAFRMHRI.js +0 -11
- package/dist/chunks/chunk.DD3ORJHJ.js +0 -45
- package/dist/chunks/chunk.DJLZE5XX.js +0 -27
- package/dist/chunks/chunk.DW4KXYTL.js +0 -50
- package/dist/chunks/chunk.E5E57IJV.js +0 -24
- package/dist/chunks/chunk.ED2ZMLYL.js +0 -1064
- package/dist/chunks/chunk.ELGG2VJZ.js +0 -27
- package/dist/chunks/chunk.EPIZVTPO.js +0 -448
- package/dist/chunks/chunk.EQAC2MAZ.js +0 -21
- package/dist/chunks/chunk.ERIGN5JD.js +0 -294
- package/dist/chunks/chunk.EU4ZXV6C.js +0 -46
- package/dist/chunks/chunk.EZMXLXUR.js +0 -100
- package/dist/chunks/chunk.F2PTYKOM.js +0 -59
- package/dist/chunks/chunk.FB4AQOKZ.js +0 -326
- package/dist/chunks/chunk.FIFBVUCR.js +0 -11
- package/dist/chunks/chunk.FXXTEUBK.js +0 -28
- package/dist/chunks/chunk.G2E65BGL.js +0 -29
- package/dist/chunks/chunk.G5XLFSAR.js +0 -361
- package/dist/chunks/chunk.GHZYULFT.js +0 -21
- package/dist/chunks/chunk.GTUA5P47.js +0 -73
- package/dist/chunks/chunk.GVCJCRXE.js +0 -11
- package/dist/chunks/chunk.GYMENF7C.js +0 -331
- package/dist/chunks/chunk.H55EG2PO.js +0 -11
- package/dist/chunks/chunk.H5DI2BR6.js +0 -25
- package/dist/chunks/chunk.H5IPC3FG.js +0 -345
- package/dist/chunks/chunk.HPPQXV4S.js +0 -67
- package/dist/chunks/chunk.HRHEQB77.js +0 -25
- package/dist/chunks/chunk.HRYDO44C.js +0 -274
- package/dist/chunks/chunk.HSC2LTAP.js +0 -52
- package/dist/chunks/chunk.HSZZU6LP.js +0 -11
- package/dist/chunks/chunk.IFIWVPAE.js +0 -24
- package/dist/chunks/chunk.IJEOZV2P.js +0 -26
- package/dist/chunks/chunk.IMNJ5EUH.js +0 -24
- package/dist/chunks/chunk.J67NKXJG.js +0 -11
- package/dist/chunks/chunk.JH6VKKOW.js +0 -25
- package/dist/chunks/chunk.JHFCKD4V.js +0 -27
- package/dist/chunks/chunk.JIWFFY6R.js +0 -63
- package/dist/chunks/chunk.JJUFWVHH.js +0 -11
- package/dist/chunks/chunk.JKD3SJZF.js +0 -28
- package/dist/chunks/chunk.JL6W6WZH.js +0 -11
- package/dist/chunks/chunk.JOZZ7XCM.js +0 -1221
- package/dist/chunks/chunk.JRMZNVWI.js +0 -11
- package/dist/chunks/chunk.JUHVOATB.js +0 -11
- package/dist/chunks/chunk.JXW3EECO.js +0 -34
- package/dist/chunks/chunk.JYPOA6M2.js +0 -205
- package/dist/chunks/chunk.K3TAQUUV.js +0 -21
- package/dist/chunks/chunk.KHSW3MDU.js +0 -29
- package/dist/chunks/chunk.KQYXEYOH.js +0 -11
- package/dist/chunks/chunk.KXFRZIPE.js +0 -28
- package/dist/chunks/chunk.KXUPQN4N.js +0 -42
- package/dist/chunks/chunk.L3AMBY35.js +0 -11
- package/dist/chunks/chunk.L3S4NUGH.js +0 -27
- package/dist/chunks/chunk.L7MWRH34.js +0 -28
- package/dist/chunks/chunk.LGBH32MN.js +0 -11
- package/dist/chunks/chunk.LQI6G5C7.js +0 -494
- package/dist/chunks/chunk.LSLE6EAL.js +0 -11
- package/dist/chunks/chunk.LV63WWU5.js +0 -11
- package/dist/chunks/chunk.LW62ZJZS.js +0 -21
- package/dist/chunks/chunk.LW7N7R3B.js +0 -21
- package/dist/chunks/chunk.MIM5VHLW.js +0 -11
- package/dist/chunks/chunk.MJKNALUE.js +0 -11
- package/dist/chunks/chunk.MJW4PEHO.js +0 -11
- package/dist/chunks/chunk.MOALGDPO.js +0 -11
- package/dist/chunks/chunk.MPQOQK4F.js +0 -315
- package/dist/chunks/chunk.N2V672Z7.js +0 -25
- package/dist/chunks/chunk.NAU4JRRE.js +0 -21
- package/dist/chunks/chunk.NJCJ6PXP.js +0 -11
- package/dist/chunks/chunk.NUFZMXPO.js +0 -180
- package/dist/chunks/chunk.OEISCMTJ.js +0 -21
- package/dist/chunks/chunk.OHX5BXUV.js +0 -11
- package/dist/chunks/chunk.OQZPTQWB.js +0 -21
- package/dist/chunks/chunk.OW4MTHH7.js +0 -11
- package/dist/chunks/chunk.OYLBNEKP.js +0 -11
- package/dist/chunks/chunk.OZG5UAWW.js +0 -25
- package/dist/chunks/chunk.OZNSYVCM.js +0 -11
- package/dist/chunks/chunk.PCBYL7WK.js +0 -27
- package/dist/chunks/chunk.PK4XKWFS.js +0 -371
- package/dist/chunks/chunk.PKXGHDI7.js +0 -134
- package/dist/chunks/chunk.PSRJYIMU.js +0 -21
- package/dist/chunks/chunk.PZXGZKZX.js +0 -287
- package/dist/chunks/chunk.Q4BCO7DM.js +0 -28
- package/dist/chunks/chunk.QCFXR7IN.js +0 -113
- package/dist/chunks/chunk.QH6MBOVJ.js +0 -21
- package/dist/chunks/chunk.QKOSL5GA.js +0 -21
- package/dist/chunks/chunk.QQZBJK6R.js +0 -24
- package/dist/chunks/chunk.RBWDVV7X.js +0 -90
- package/dist/chunks/chunk.RDUH5NXB.js +0 -26
- package/dist/chunks/chunk.RFC4XV72.js +0 -21
- package/dist/chunks/chunk.RHGSX7X2.js +0 -11
- package/dist/chunks/chunk.RIMWAOFF.js +0 -11
- package/dist/chunks/chunk.RLJWXOSB.js +0 -11
- package/dist/chunks/chunk.RMA7XXH7.js +0 -11
- package/dist/chunks/chunk.ROE2PSYP.js +0 -96
- package/dist/chunks/chunk.S3KOAGEQ.js +0 -230
- package/dist/chunks/chunk.S5NDOW3L.js +0 -24
- package/dist/chunks/chunk.SDTOX5Q7.js +0 -135
- package/dist/chunks/chunk.T656ZER2.js +0 -21
- package/dist/chunks/chunk.TACXUHGM.js +0 -21
- package/dist/chunks/chunk.TAQZJD2V.js +0 -337
- package/dist/chunks/chunk.TL37AKAX.js +0 -11
- package/dist/chunks/chunk.TR3NQJ74.js +0 -505
- package/dist/chunks/chunk.TRQTYGZP.js +0 -25
- package/dist/chunks/chunk.TX4VR6FC.js +0 -28
- package/dist/chunks/chunk.U4ET2DRF.js +0 -24
- package/dist/chunks/chunk.U5FIFF6D.js +0 -417
- package/dist/chunks/chunk.U6RM34ZA.js +0 -136
- package/dist/chunks/chunk.U7PPRBOQ.js +0 -454
- package/dist/chunks/chunk.UERBNLOW.js +0 -24
- package/dist/chunks/chunk.USY4P7IT.js +0 -21
- package/dist/chunks/chunk.UWJCWDTH.js +0 -152
- package/dist/chunks/chunk.UZMHV65K.js +0 -24
- package/dist/chunks/chunk.V7XUJSJJ.js +0 -24
- package/dist/chunks/chunk.VEIGCLPW.js +0 -214
- package/dist/chunks/chunk.VJU3BWJI.js +0 -293
- package/dist/chunks/chunk.VNHMRMK3.js +0 -231
- package/dist/chunks/chunk.VS5NZCBV.js +0 -147
- package/dist/chunks/chunk.VVQQBVU2.js +0 -21
- package/dist/chunks/chunk.W5RWCJGG.js +0 -11
- package/dist/chunks/chunk.W6T66R27.js +0 -126
- package/dist/chunks/chunk.WDF6QG7Y.js +0 -85
- package/dist/chunks/chunk.WMYFTV4Z.js +0 -286
- package/dist/chunks/chunk.WNC2EMSO.js +0 -33
- package/dist/chunks/chunk.WR25C7SL.js +0 -27
- package/dist/chunks/chunk.WRFYZGVC.js +0 -11
- package/dist/chunks/chunk.WYC33QEO.js +0 -227
- package/dist/chunks/chunk.WYGQ2NFS.js +0 -11
- package/dist/chunks/chunk.X3I5WTRJ.js +0 -111
- package/dist/chunks/chunk.XEVDCFTS.js +0 -11
- package/dist/chunks/chunk.XLUOZP5X.js +0 -11
- package/dist/chunks/chunk.XV4SCUGQ.js +0 -11
- package/dist/chunks/chunk.XXVRF7JL.js +0 -126
- package/dist/chunks/chunk.Y5TDGOP5.js +0 -167
- package/dist/chunks/chunk.YA63JBSU.js +0 -26
- package/dist/chunks/chunk.YCDOUILQ.js +0 -11
- package/dist/chunks/chunk.YCRLO4HC.js +0 -384
- package/dist/chunks/chunk.YRUT7WRK.js +0 -24
- package/dist/chunks/chunk.YSTI75ZP.js +0 -11
- package/dist/chunks/chunk.YX4CRD55.js +0 -109
- package/dist/chunks/chunk.YYAAGY44.js +0 -80
- package/dist/chunks/chunk.Z2S33UHY.js +0 -11
- package/dist/chunks/chunk.Z4DIPGHD.js +0 -25
- package/dist/chunks/chunk.Z4R7WYOE.js +0 -11
- package/dist/chunks/chunk.ZFCI5OOE.js +0 -263
- package/dist/chunks/chunk.ZHFWBK2Z.js +0 -11
- package/dist/chunks/chunk.ZIBZA3OA.js +0 -11
- package/dist/chunks/chunk.ZKXYCHTS.js +0 -24
- package/dist/chunks/chunk.ZYCTNP34.js +0 -182
|
@@ -1,949 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
SlVisuallyHidden
|
|
3
|
-
} from "./chunk.CIDETZJ7.js";
|
|
4
|
-
import {
|
|
5
|
-
drag
|
|
6
|
-
} from "./chunk.ESELY2US.js";
|
|
7
|
-
import {
|
|
8
|
-
SlDropdown
|
|
9
|
-
} from "./chunk.YCRLO4HC.js";
|
|
10
|
-
import {
|
|
11
|
-
SlInput
|
|
12
|
-
} from "./chunk.LQI6G5C7.js";
|
|
13
|
-
import {
|
|
14
|
-
defaultValue
|
|
15
|
-
} from "./chunk.GI7VDIWX.js";
|
|
16
|
-
import {
|
|
17
|
-
color_picker_styles_default
|
|
18
|
-
} from "./chunk.O6CEROC7.js";
|
|
19
|
-
import {
|
|
20
|
-
clamp
|
|
21
|
-
} from "./chunk.HF7GESMZ.js";
|
|
22
|
-
import {
|
|
23
|
-
SlButtonGroup
|
|
24
|
-
} from "./chunk.25H2DZUD.js";
|
|
25
|
-
import {
|
|
26
|
-
SlButton
|
|
27
|
-
} from "./chunk.VJU3BWJI.js";
|
|
28
|
-
import {
|
|
29
|
-
FormControlController
|
|
30
|
-
} from "./chunk.WBWPWG4N.js";
|
|
31
|
-
import {
|
|
32
|
-
LocalizeController
|
|
33
|
-
} from "./chunk.6CTB5ZDJ.js";
|
|
34
|
-
import {
|
|
35
|
-
SlIcon
|
|
36
|
-
} from "./chunk.3GASPFAI.js";
|
|
37
|
-
import {
|
|
38
|
-
watch
|
|
39
|
-
} from "./chunk.55S3OOTM.js";
|
|
40
|
-
import {
|
|
41
|
-
component_styles_default
|
|
42
|
-
} from "./chunk.TUVJKY7S.js";
|
|
43
|
-
import {
|
|
44
|
-
ShoelaceElement
|
|
45
|
-
} from "./chunk.ROE2PSYP.js";
|
|
46
|
-
import {
|
|
47
|
-
__decorateClass
|
|
48
|
-
} from "./chunk.W5KB6T3Z.js";
|
|
49
|
-
|
|
50
|
-
// src/components/color-picker/color-picker.component.ts
|
|
51
|
-
import { classMap } from "lit/directives/class-map.js";
|
|
52
|
-
import { eventOptions, property, query, state } from "lit/decorators.js";
|
|
53
|
-
import { html } from "lit";
|
|
54
|
-
import { ifDefined } from "lit/directives/if-defined.js";
|
|
55
|
-
import { styleMap } from "lit/directives/style-map.js";
|
|
56
|
-
import { TinyColor } from "@ctrl/tinycolor";
|
|
57
|
-
var hasEyeDropper = "EyeDropper" in window;
|
|
58
|
-
var SlColorPicker = class extends ShoelaceElement {
|
|
59
|
-
constructor() {
|
|
60
|
-
super();
|
|
61
|
-
this.formControlController = new FormControlController(this);
|
|
62
|
-
this.isSafeValue = false;
|
|
63
|
-
this.localize = new LocalizeController(this);
|
|
64
|
-
this.hasFocus = false;
|
|
65
|
-
this.isDraggingGridHandle = false;
|
|
66
|
-
this.isEmpty = false;
|
|
67
|
-
this.inputValue = "";
|
|
68
|
-
this.hue = 0;
|
|
69
|
-
this.saturation = 100;
|
|
70
|
-
this.brightness = 100;
|
|
71
|
-
this.alpha = 100;
|
|
72
|
-
this.value = "";
|
|
73
|
-
this.defaultValue = "";
|
|
74
|
-
this.label = "";
|
|
75
|
-
this.format = "hex";
|
|
76
|
-
this.inline = false;
|
|
77
|
-
this.size = "medium";
|
|
78
|
-
this.noFormatToggle = false;
|
|
79
|
-
this.name = "";
|
|
80
|
-
this.disabled = false;
|
|
81
|
-
this.hoist = false;
|
|
82
|
-
this.opacity = false;
|
|
83
|
-
this.uppercase = false;
|
|
84
|
-
this.swatches = "";
|
|
85
|
-
this.form = "";
|
|
86
|
-
this.required = false;
|
|
87
|
-
this.handleFocusIn = () => {
|
|
88
|
-
this.hasFocus = true;
|
|
89
|
-
this.emit("sl-focus");
|
|
90
|
-
};
|
|
91
|
-
this.handleFocusOut = () => {
|
|
92
|
-
this.hasFocus = false;
|
|
93
|
-
this.emit("sl-blur");
|
|
94
|
-
};
|
|
95
|
-
this.addEventListener("focusin", this.handleFocusIn);
|
|
96
|
-
this.addEventListener("focusout", this.handleFocusOut);
|
|
97
|
-
}
|
|
98
|
-
/** Gets the validity state object */
|
|
99
|
-
get validity() {
|
|
100
|
-
return this.input.validity;
|
|
101
|
-
}
|
|
102
|
-
/** Gets the validation message */
|
|
103
|
-
get validationMessage() {
|
|
104
|
-
return this.input.validationMessage;
|
|
105
|
-
}
|
|
106
|
-
firstUpdated() {
|
|
107
|
-
this.input.updateComplete.then(() => {
|
|
108
|
-
this.formControlController.updateValidity();
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
handleCopy() {
|
|
112
|
-
this.input.select();
|
|
113
|
-
document.execCommand("copy");
|
|
114
|
-
this.previewButton.focus();
|
|
115
|
-
this.previewButton.classList.add("color-picker__preview-color--copied");
|
|
116
|
-
this.previewButton.addEventListener("animationend", () => {
|
|
117
|
-
this.previewButton.classList.remove("color-picker__preview-color--copied");
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
handleFormatToggle() {
|
|
121
|
-
const formats = ["hex", "rgb", "hsl", "hsv"];
|
|
122
|
-
const nextIndex = (formats.indexOf(this.format) + 1) % formats.length;
|
|
123
|
-
this.format = formats[nextIndex];
|
|
124
|
-
this.setColor(this.value);
|
|
125
|
-
this.emit("sl-change");
|
|
126
|
-
this.emit("sl-input");
|
|
127
|
-
}
|
|
128
|
-
handleAlphaDrag(event) {
|
|
129
|
-
const container = this.shadowRoot.querySelector(".color-picker__slider.color-picker__alpha");
|
|
130
|
-
const handle = container.querySelector(".color-picker__slider-handle");
|
|
131
|
-
const { width } = container.getBoundingClientRect();
|
|
132
|
-
let initialValue = this.value;
|
|
133
|
-
let currentValue = this.value;
|
|
134
|
-
handle.focus();
|
|
135
|
-
event.preventDefault();
|
|
136
|
-
drag(container, {
|
|
137
|
-
onMove: (x) => {
|
|
138
|
-
this.alpha = clamp(x / width * 100, 0, 100);
|
|
139
|
-
this.syncValues();
|
|
140
|
-
if (this.value !== currentValue) {
|
|
141
|
-
currentValue = this.value;
|
|
142
|
-
this.emit("sl-input");
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
onStop: () => {
|
|
146
|
-
if (this.value !== initialValue) {
|
|
147
|
-
initialValue = this.value;
|
|
148
|
-
this.emit("sl-change");
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
initialEvent: event
|
|
152
|
-
});
|
|
153
|
-
}
|
|
154
|
-
handleHueDrag(event) {
|
|
155
|
-
const container = this.shadowRoot.querySelector(".color-picker__slider.color-picker__hue");
|
|
156
|
-
const handle = container.querySelector(".color-picker__slider-handle");
|
|
157
|
-
const { width } = container.getBoundingClientRect();
|
|
158
|
-
let initialValue = this.value;
|
|
159
|
-
let currentValue = this.value;
|
|
160
|
-
handle.focus();
|
|
161
|
-
event.preventDefault();
|
|
162
|
-
drag(container, {
|
|
163
|
-
onMove: (x) => {
|
|
164
|
-
this.hue = clamp(x / width * 360, 0, 360);
|
|
165
|
-
this.syncValues();
|
|
166
|
-
if (this.value !== currentValue) {
|
|
167
|
-
currentValue = this.value;
|
|
168
|
-
this.emit("sl-input");
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
onStop: () => {
|
|
172
|
-
if (this.value !== initialValue) {
|
|
173
|
-
initialValue = this.value;
|
|
174
|
-
this.emit("sl-change");
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
initialEvent: event
|
|
178
|
-
});
|
|
179
|
-
}
|
|
180
|
-
handleGridDrag(event) {
|
|
181
|
-
const grid = this.shadowRoot.querySelector(".color-picker__grid");
|
|
182
|
-
const handle = grid.querySelector(".color-picker__grid-handle");
|
|
183
|
-
const { width, height } = grid.getBoundingClientRect();
|
|
184
|
-
let initialValue = this.value;
|
|
185
|
-
let currentValue = this.value;
|
|
186
|
-
handle.focus();
|
|
187
|
-
event.preventDefault();
|
|
188
|
-
this.isDraggingGridHandle = true;
|
|
189
|
-
drag(grid, {
|
|
190
|
-
onMove: (x, y) => {
|
|
191
|
-
this.saturation = clamp(x / width * 100, 0, 100);
|
|
192
|
-
this.brightness = clamp(100 - y / height * 100, 0, 100);
|
|
193
|
-
this.syncValues();
|
|
194
|
-
if (this.value !== currentValue) {
|
|
195
|
-
currentValue = this.value;
|
|
196
|
-
this.emit("sl-input");
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
onStop: () => {
|
|
200
|
-
this.isDraggingGridHandle = false;
|
|
201
|
-
if (this.value !== initialValue) {
|
|
202
|
-
initialValue = this.value;
|
|
203
|
-
this.emit("sl-change");
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
|
-
initialEvent: event
|
|
207
|
-
});
|
|
208
|
-
}
|
|
209
|
-
handleAlphaKeyDown(event) {
|
|
210
|
-
const increment = event.shiftKey ? 10 : 1;
|
|
211
|
-
const oldValue = this.value;
|
|
212
|
-
if (event.key === "ArrowLeft") {
|
|
213
|
-
event.preventDefault();
|
|
214
|
-
this.alpha = clamp(this.alpha - increment, 0, 100);
|
|
215
|
-
this.syncValues();
|
|
216
|
-
}
|
|
217
|
-
if (event.key === "ArrowRight") {
|
|
218
|
-
event.preventDefault();
|
|
219
|
-
this.alpha = clamp(this.alpha + increment, 0, 100);
|
|
220
|
-
this.syncValues();
|
|
221
|
-
}
|
|
222
|
-
if (event.key === "Home") {
|
|
223
|
-
event.preventDefault();
|
|
224
|
-
this.alpha = 0;
|
|
225
|
-
this.syncValues();
|
|
226
|
-
}
|
|
227
|
-
if (event.key === "End") {
|
|
228
|
-
event.preventDefault();
|
|
229
|
-
this.alpha = 100;
|
|
230
|
-
this.syncValues();
|
|
231
|
-
}
|
|
232
|
-
if (this.value !== oldValue) {
|
|
233
|
-
this.emit("sl-change");
|
|
234
|
-
this.emit("sl-input");
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
handleHueKeyDown(event) {
|
|
238
|
-
const increment = event.shiftKey ? 10 : 1;
|
|
239
|
-
const oldValue = this.value;
|
|
240
|
-
if (event.key === "ArrowLeft") {
|
|
241
|
-
event.preventDefault();
|
|
242
|
-
this.hue = clamp(this.hue - increment, 0, 360);
|
|
243
|
-
this.syncValues();
|
|
244
|
-
}
|
|
245
|
-
if (event.key === "ArrowRight") {
|
|
246
|
-
event.preventDefault();
|
|
247
|
-
this.hue = clamp(this.hue + increment, 0, 360);
|
|
248
|
-
this.syncValues();
|
|
249
|
-
}
|
|
250
|
-
if (event.key === "Home") {
|
|
251
|
-
event.preventDefault();
|
|
252
|
-
this.hue = 0;
|
|
253
|
-
this.syncValues();
|
|
254
|
-
}
|
|
255
|
-
if (event.key === "End") {
|
|
256
|
-
event.preventDefault();
|
|
257
|
-
this.hue = 360;
|
|
258
|
-
this.syncValues();
|
|
259
|
-
}
|
|
260
|
-
if (this.value !== oldValue) {
|
|
261
|
-
this.emit("sl-change");
|
|
262
|
-
this.emit("sl-input");
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
handleGridKeyDown(event) {
|
|
266
|
-
const increment = event.shiftKey ? 10 : 1;
|
|
267
|
-
const oldValue = this.value;
|
|
268
|
-
if (event.key === "ArrowLeft") {
|
|
269
|
-
event.preventDefault();
|
|
270
|
-
this.saturation = clamp(this.saturation - increment, 0, 100);
|
|
271
|
-
this.syncValues();
|
|
272
|
-
}
|
|
273
|
-
if (event.key === "ArrowRight") {
|
|
274
|
-
event.preventDefault();
|
|
275
|
-
this.saturation = clamp(this.saturation + increment, 0, 100);
|
|
276
|
-
this.syncValues();
|
|
277
|
-
}
|
|
278
|
-
if (event.key === "ArrowUp") {
|
|
279
|
-
event.preventDefault();
|
|
280
|
-
this.brightness = clamp(this.brightness + increment, 0, 100);
|
|
281
|
-
this.syncValues();
|
|
282
|
-
}
|
|
283
|
-
if (event.key === "ArrowDown") {
|
|
284
|
-
event.preventDefault();
|
|
285
|
-
this.brightness = clamp(this.brightness - increment, 0, 100);
|
|
286
|
-
this.syncValues();
|
|
287
|
-
}
|
|
288
|
-
if (this.value !== oldValue) {
|
|
289
|
-
this.emit("sl-change");
|
|
290
|
-
this.emit("sl-input");
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
handleInputChange(event) {
|
|
294
|
-
const target = event.target;
|
|
295
|
-
const oldValue = this.value;
|
|
296
|
-
event.stopPropagation();
|
|
297
|
-
if (this.input.value) {
|
|
298
|
-
this.setColor(target.value);
|
|
299
|
-
target.value = this.value;
|
|
300
|
-
} else {
|
|
301
|
-
this.value = "";
|
|
302
|
-
}
|
|
303
|
-
if (this.value !== oldValue) {
|
|
304
|
-
this.emit("sl-change");
|
|
305
|
-
this.emit("sl-input");
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
handleInputInput(event) {
|
|
309
|
-
this.formControlController.updateValidity();
|
|
310
|
-
event.stopPropagation();
|
|
311
|
-
}
|
|
312
|
-
handleInputKeyDown(event) {
|
|
313
|
-
if (event.key === "Enter") {
|
|
314
|
-
const oldValue = this.value;
|
|
315
|
-
if (this.input.value) {
|
|
316
|
-
this.setColor(this.input.value);
|
|
317
|
-
this.input.value = this.value;
|
|
318
|
-
if (this.value !== oldValue) {
|
|
319
|
-
this.emit("sl-change");
|
|
320
|
-
this.emit("sl-input");
|
|
321
|
-
}
|
|
322
|
-
setTimeout(() => this.input.select());
|
|
323
|
-
} else {
|
|
324
|
-
this.hue = 0;
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
handleInputInvalid(event) {
|
|
329
|
-
this.formControlController.setValidity(false);
|
|
330
|
-
this.formControlController.emitInvalidEvent(event);
|
|
331
|
-
}
|
|
332
|
-
handleTouchMove(event) {
|
|
333
|
-
event.preventDefault();
|
|
334
|
-
}
|
|
335
|
-
parseColor(colorString) {
|
|
336
|
-
const color = new TinyColor(colorString);
|
|
337
|
-
if (!color.isValid) {
|
|
338
|
-
return null;
|
|
339
|
-
}
|
|
340
|
-
const hslColor = color.toHsl();
|
|
341
|
-
const hsl = {
|
|
342
|
-
h: hslColor.h,
|
|
343
|
-
s: hslColor.s * 100,
|
|
344
|
-
l: hslColor.l * 100,
|
|
345
|
-
a: hslColor.a
|
|
346
|
-
};
|
|
347
|
-
const rgb = color.toRgb();
|
|
348
|
-
const hex = color.toHexString();
|
|
349
|
-
const hexa = color.toHex8String();
|
|
350
|
-
const hsvColor = color.toHsv();
|
|
351
|
-
const hsv = {
|
|
352
|
-
h: hsvColor.h,
|
|
353
|
-
s: hsvColor.s * 100,
|
|
354
|
-
v: hsvColor.v * 100,
|
|
355
|
-
a: hsvColor.a
|
|
356
|
-
};
|
|
357
|
-
return {
|
|
358
|
-
hsl: {
|
|
359
|
-
h: hsl.h,
|
|
360
|
-
s: hsl.s,
|
|
361
|
-
l: hsl.l,
|
|
362
|
-
string: this.setLetterCase(`hsl(${Math.round(hsl.h)}, ${Math.round(hsl.s)}%, ${Math.round(hsl.l)}%)`)
|
|
363
|
-
},
|
|
364
|
-
hsla: {
|
|
365
|
-
h: hsl.h,
|
|
366
|
-
s: hsl.s,
|
|
367
|
-
l: hsl.l,
|
|
368
|
-
a: hsl.a,
|
|
369
|
-
string: this.setLetterCase(
|
|
370
|
-
`hsla(${Math.round(hsl.h)}, ${Math.round(hsl.s)}%, ${Math.round(hsl.l)}%, ${hsl.a.toFixed(2).toString()})`
|
|
371
|
-
)
|
|
372
|
-
},
|
|
373
|
-
hsv: {
|
|
374
|
-
h: hsv.h,
|
|
375
|
-
s: hsv.s,
|
|
376
|
-
v: hsv.v,
|
|
377
|
-
string: this.setLetterCase(`hsv(${Math.round(hsv.h)}, ${Math.round(hsv.s)}%, ${Math.round(hsv.v)}%)`)
|
|
378
|
-
},
|
|
379
|
-
hsva: {
|
|
380
|
-
h: hsv.h,
|
|
381
|
-
s: hsv.s,
|
|
382
|
-
v: hsv.v,
|
|
383
|
-
a: hsv.a,
|
|
384
|
-
string: this.setLetterCase(
|
|
385
|
-
`hsva(${Math.round(hsv.h)}, ${Math.round(hsv.s)}%, ${Math.round(hsv.v)}%, ${hsv.a.toFixed(2).toString()})`
|
|
386
|
-
)
|
|
387
|
-
},
|
|
388
|
-
rgb: {
|
|
389
|
-
r: rgb.r,
|
|
390
|
-
g: rgb.g,
|
|
391
|
-
b: rgb.b,
|
|
392
|
-
string: this.setLetterCase(`rgb(${Math.round(rgb.r)}, ${Math.round(rgb.g)}, ${Math.round(rgb.b)})`)
|
|
393
|
-
},
|
|
394
|
-
rgba: {
|
|
395
|
-
r: rgb.r,
|
|
396
|
-
g: rgb.g,
|
|
397
|
-
b: rgb.b,
|
|
398
|
-
a: rgb.a,
|
|
399
|
-
string: this.setLetterCase(
|
|
400
|
-
`rgba(${Math.round(rgb.r)}, ${Math.round(rgb.g)}, ${Math.round(rgb.b)}, ${rgb.a.toFixed(2).toString()})`
|
|
401
|
-
)
|
|
402
|
-
},
|
|
403
|
-
hex: this.setLetterCase(hex),
|
|
404
|
-
hexa: this.setLetterCase(hexa)
|
|
405
|
-
};
|
|
406
|
-
}
|
|
407
|
-
setColor(colorString) {
|
|
408
|
-
const newColor = this.parseColor(colorString);
|
|
409
|
-
if (newColor === null) {
|
|
410
|
-
return false;
|
|
411
|
-
}
|
|
412
|
-
this.hue = newColor.hsva.h;
|
|
413
|
-
this.saturation = newColor.hsva.s;
|
|
414
|
-
this.brightness = newColor.hsva.v;
|
|
415
|
-
this.alpha = this.opacity ? newColor.hsva.a * 100 : 100;
|
|
416
|
-
this.syncValues();
|
|
417
|
-
return true;
|
|
418
|
-
}
|
|
419
|
-
setLetterCase(string) {
|
|
420
|
-
if (typeof string !== "string") {
|
|
421
|
-
return "";
|
|
422
|
-
}
|
|
423
|
-
return this.uppercase ? string.toUpperCase() : string.toLowerCase();
|
|
424
|
-
}
|
|
425
|
-
async syncValues() {
|
|
426
|
-
const currentColor = this.parseColor(
|
|
427
|
-
`hsva(${this.hue}, ${this.saturation}%, ${this.brightness}%, ${this.alpha / 100})`
|
|
428
|
-
);
|
|
429
|
-
if (currentColor === null) {
|
|
430
|
-
return;
|
|
431
|
-
}
|
|
432
|
-
if (this.format === "hsl") {
|
|
433
|
-
this.inputValue = this.opacity ? currentColor.hsla.string : currentColor.hsl.string;
|
|
434
|
-
} else if (this.format === "rgb") {
|
|
435
|
-
this.inputValue = this.opacity ? currentColor.rgba.string : currentColor.rgb.string;
|
|
436
|
-
} else if (this.format === "hsv") {
|
|
437
|
-
this.inputValue = this.opacity ? currentColor.hsva.string : currentColor.hsv.string;
|
|
438
|
-
} else {
|
|
439
|
-
this.inputValue = this.opacity ? currentColor.hexa : currentColor.hex;
|
|
440
|
-
}
|
|
441
|
-
this.isSafeValue = true;
|
|
442
|
-
this.value = this.inputValue;
|
|
443
|
-
await this.updateComplete;
|
|
444
|
-
this.isSafeValue = false;
|
|
445
|
-
}
|
|
446
|
-
handleAfterHide() {
|
|
447
|
-
this.previewButton.classList.remove("color-picker__preview-color--copied");
|
|
448
|
-
}
|
|
449
|
-
handleEyeDropper() {
|
|
450
|
-
if (!hasEyeDropper) {
|
|
451
|
-
return;
|
|
452
|
-
}
|
|
453
|
-
const eyeDropper = new EyeDropper();
|
|
454
|
-
eyeDropper.open().then((colorSelectionResult) => {
|
|
455
|
-
const oldValue = this.value;
|
|
456
|
-
this.setColor(colorSelectionResult.sRGBHex);
|
|
457
|
-
if (this.value !== oldValue) {
|
|
458
|
-
this.emit("sl-change");
|
|
459
|
-
this.emit("sl-input");
|
|
460
|
-
}
|
|
461
|
-
}).catch(() => {
|
|
462
|
-
});
|
|
463
|
-
}
|
|
464
|
-
selectSwatch(color) {
|
|
465
|
-
const oldValue = this.value;
|
|
466
|
-
if (!this.disabled) {
|
|
467
|
-
this.setColor(color);
|
|
468
|
-
if (this.value !== oldValue) {
|
|
469
|
-
this.emit("sl-change");
|
|
470
|
-
this.emit("sl-input");
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
/** Generates a hex string from HSV values. Hue must be 0-360. All other arguments must be 0-100. */
|
|
475
|
-
getHexString(hue, saturation, brightness, alpha = 100) {
|
|
476
|
-
const color = new TinyColor(`hsva(${hue}, ${saturation}%, ${brightness}%, ${alpha / 100})`);
|
|
477
|
-
if (!color.isValid) {
|
|
478
|
-
return "";
|
|
479
|
-
}
|
|
480
|
-
return color.toHex8String();
|
|
481
|
-
}
|
|
482
|
-
// Prevents nested components from leaking events
|
|
483
|
-
stopNestedEventPropagation(event) {
|
|
484
|
-
event.stopImmediatePropagation();
|
|
485
|
-
}
|
|
486
|
-
handleFormatChange() {
|
|
487
|
-
this.syncValues();
|
|
488
|
-
}
|
|
489
|
-
handleOpacityChange() {
|
|
490
|
-
this.alpha = 100;
|
|
491
|
-
}
|
|
492
|
-
handleValueChange(oldValue, newValue) {
|
|
493
|
-
this.isEmpty = !newValue;
|
|
494
|
-
if (!newValue) {
|
|
495
|
-
this.hue = 0;
|
|
496
|
-
this.saturation = 0;
|
|
497
|
-
this.brightness = 100;
|
|
498
|
-
this.alpha = 100;
|
|
499
|
-
}
|
|
500
|
-
if (!this.isSafeValue) {
|
|
501
|
-
const newColor = this.parseColor(newValue);
|
|
502
|
-
if (newColor !== null) {
|
|
503
|
-
this.inputValue = this.value;
|
|
504
|
-
this.hue = newColor.hsva.h;
|
|
505
|
-
this.saturation = newColor.hsva.s;
|
|
506
|
-
this.brightness = newColor.hsva.v;
|
|
507
|
-
this.alpha = newColor.hsva.a * 100;
|
|
508
|
-
this.syncValues();
|
|
509
|
-
} else {
|
|
510
|
-
this.inputValue = oldValue != null ? oldValue : "";
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
/** Sets focus on the color picker. */
|
|
515
|
-
focus(options) {
|
|
516
|
-
if (this.inline) {
|
|
517
|
-
this.base.focus(options);
|
|
518
|
-
} else {
|
|
519
|
-
this.trigger.focus(options);
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
/** Removes focus from the color picker. */
|
|
523
|
-
blur() {
|
|
524
|
-
var _a;
|
|
525
|
-
const elementToBlur = this.inline ? this.base : this.trigger;
|
|
526
|
-
if (this.hasFocus) {
|
|
527
|
-
elementToBlur.focus({ preventScroll: true });
|
|
528
|
-
elementToBlur.blur();
|
|
529
|
-
}
|
|
530
|
-
if ((_a = this.dropdown) == null ? void 0 : _a.open) {
|
|
531
|
-
this.dropdown.hide();
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
/** Returns the current value as a string in the specified format. */
|
|
535
|
-
getFormattedValue(format = "hex") {
|
|
536
|
-
const currentColor = this.parseColor(
|
|
537
|
-
`hsva(${this.hue}, ${this.saturation}%, ${this.brightness}%, ${this.alpha / 100})`
|
|
538
|
-
);
|
|
539
|
-
if (currentColor === null) {
|
|
540
|
-
return "";
|
|
541
|
-
}
|
|
542
|
-
switch (format) {
|
|
543
|
-
case "hex":
|
|
544
|
-
return currentColor.hex;
|
|
545
|
-
case "hexa":
|
|
546
|
-
return currentColor.hexa;
|
|
547
|
-
case "rgb":
|
|
548
|
-
return currentColor.rgb.string;
|
|
549
|
-
case "rgba":
|
|
550
|
-
return currentColor.rgba.string;
|
|
551
|
-
case "hsl":
|
|
552
|
-
return currentColor.hsl.string;
|
|
553
|
-
case "hsla":
|
|
554
|
-
return currentColor.hsla.string;
|
|
555
|
-
case "hsv":
|
|
556
|
-
return currentColor.hsv.string;
|
|
557
|
-
case "hsva":
|
|
558
|
-
return currentColor.hsva.string;
|
|
559
|
-
default:
|
|
560
|
-
return "";
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
564
|
-
checkValidity() {
|
|
565
|
-
return this.input.checkValidity();
|
|
566
|
-
}
|
|
567
|
-
/** Gets the associated form, if one exists. */
|
|
568
|
-
getForm() {
|
|
569
|
-
return this.formControlController.getForm();
|
|
570
|
-
}
|
|
571
|
-
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
572
|
-
reportValidity() {
|
|
573
|
-
if (!this.inline && !this.validity.valid) {
|
|
574
|
-
this.dropdown.show();
|
|
575
|
-
this.addEventListener("sl-after-show", () => this.input.reportValidity(), { once: true });
|
|
576
|
-
if (!this.disabled) {
|
|
577
|
-
this.formControlController.emitInvalidEvent();
|
|
578
|
-
}
|
|
579
|
-
return false;
|
|
580
|
-
}
|
|
581
|
-
return this.input.reportValidity();
|
|
582
|
-
}
|
|
583
|
-
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
584
|
-
setCustomValidity(message) {
|
|
585
|
-
this.input.setCustomValidity(message);
|
|
586
|
-
this.formControlController.updateValidity();
|
|
587
|
-
}
|
|
588
|
-
render() {
|
|
589
|
-
const gridHandleX = this.saturation;
|
|
590
|
-
const gridHandleY = 100 - this.brightness;
|
|
591
|
-
const swatches = Array.isArray(this.swatches) ? this.swatches : this.swatches.split(";").filter((color) => color.trim() !== "");
|
|
592
|
-
const colorPicker = html`
|
|
593
|
-
<div
|
|
594
|
-
part="base"
|
|
595
|
-
class=${classMap({
|
|
596
|
-
"color-picker": true,
|
|
597
|
-
"color-picker--inline": this.inline,
|
|
598
|
-
"color-picker--disabled": this.disabled,
|
|
599
|
-
"color-picker--focused": this.hasFocus
|
|
600
|
-
})}
|
|
601
|
-
aria-disabled=${this.disabled ? "true" : "false"}
|
|
602
|
-
aria-labelledby="label"
|
|
603
|
-
tabindex=${this.inline ? "0" : "-1"}
|
|
604
|
-
>
|
|
605
|
-
${this.inline ? html`
|
|
606
|
-
<sl-visually-hidden id="label">
|
|
607
|
-
<slot name="label">${this.label}</slot>
|
|
608
|
-
</sl-visually-hidden>
|
|
609
|
-
` : null}
|
|
610
|
-
|
|
611
|
-
<div
|
|
612
|
-
part="grid"
|
|
613
|
-
class="color-picker__grid"
|
|
614
|
-
style=${styleMap({ backgroundColor: this.getHexString(this.hue, 100, 100) })}
|
|
615
|
-
@pointerdown=${this.handleGridDrag}
|
|
616
|
-
@touchmove=${this.handleTouchMove}
|
|
617
|
-
>
|
|
618
|
-
<span
|
|
619
|
-
part="grid-handle"
|
|
620
|
-
class=${classMap({
|
|
621
|
-
"color-picker__grid-handle": true,
|
|
622
|
-
"color-picker__grid-handle--dragging": this.isDraggingGridHandle
|
|
623
|
-
})}
|
|
624
|
-
style=${styleMap({
|
|
625
|
-
top: `${gridHandleY}%`,
|
|
626
|
-
left: `${gridHandleX}%`,
|
|
627
|
-
backgroundColor: this.getHexString(this.hue, this.saturation, this.brightness, this.alpha)
|
|
628
|
-
})}
|
|
629
|
-
role="application"
|
|
630
|
-
aria-label="HSV"
|
|
631
|
-
tabindex=${ifDefined(this.disabled ? void 0 : "0")}
|
|
632
|
-
@keydown=${this.handleGridKeyDown}
|
|
633
|
-
></span>
|
|
634
|
-
</div>
|
|
635
|
-
|
|
636
|
-
<div class="color-picker__controls">
|
|
637
|
-
<div class="color-picker__sliders">
|
|
638
|
-
<div
|
|
639
|
-
part="slider hue-slider"
|
|
640
|
-
class="color-picker__hue color-picker__slider"
|
|
641
|
-
@pointerdown=${this.handleHueDrag}
|
|
642
|
-
@touchmove=${this.handleTouchMove}
|
|
643
|
-
>
|
|
644
|
-
<span
|
|
645
|
-
part="slider-handle hue-slider-handle"
|
|
646
|
-
class="color-picker__slider-handle"
|
|
647
|
-
style=${styleMap({
|
|
648
|
-
left: `${this.hue === 0 ? 0 : 100 / (360 / this.hue)}%`
|
|
649
|
-
})}
|
|
650
|
-
role="slider"
|
|
651
|
-
aria-label="hue"
|
|
652
|
-
aria-orientation="horizontal"
|
|
653
|
-
aria-valuemin="0"
|
|
654
|
-
aria-valuemax="360"
|
|
655
|
-
aria-valuenow=${`${Math.round(this.hue)}`}
|
|
656
|
-
tabindex=${ifDefined(this.disabled ? void 0 : "0")}
|
|
657
|
-
@keydown=${this.handleHueKeyDown}
|
|
658
|
-
></span>
|
|
659
|
-
</div>
|
|
660
|
-
|
|
661
|
-
${this.opacity ? html`
|
|
662
|
-
<div
|
|
663
|
-
part="slider opacity-slider"
|
|
664
|
-
class="color-picker__alpha color-picker__slider color-picker__transparent-bg"
|
|
665
|
-
@pointerdown="${this.handleAlphaDrag}"
|
|
666
|
-
@touchmove=${this.handleTouchMove}
|
|
667
|
-
>
|
|
668
|
-
<div
|
|
669
|
-
class="color-picker__alpha-gradient"
|
|
670
|
-
style=${styleMap({
|
|
671
|
-
backgroundImage: `linear-gradient(
|
|
672
|
-
to right,
|
|
673
|
-
${this.getHexString(this.hue, this.saturation, this.brightness, 0)} 0%,
|
|
674
|
-
${this.getHexString(this.hue, this.saturation, this.brightness, 100)} 100%
|
|
675
|
-
)`
|
|
676
|
-
})}
|
|
677
|
-
></div>
|
|
678
|
-
<span
|
|
679
|
-
part="slider-handle opacity-slider-handle"
|
|
680
|
-
class="color-picker__slider-handle"
|
|
681
|
-
style=${styleMap({
|
|
682
|
-
left: `${this.alpha}%`
|
|
683
|
-
})}
|
|
684
|
-
role="slider"
|
|
685
|
-
aria-label="alpha"
|
|
686
|
-
aria-orientation="horizontal"
|
|
687
|
-
aria-valuemin="0"
|
|
688
|
-
aria-valuemax="100"
|
|
689
|
-
aria-valuenow=${Math.round(this.alpha)}
|
|
690
|
-
tabindex=${ifDefined(this.disabled ? void 0 : "0")}
|
|
691
|
-
@keydown=${this.handleAlphaKeyDown}
|
|
692
|
-
></span>
|
|
693
|
-
</div>
|
|
694
|
-
` : ""}
|
|
695
|
-
</div>
|
|
696
|
-
|
|
697
|
-
<button
|
|
698
|
-
type="button"
|
|
699
|
-
part="preview"
|
|
700
|
-
class="color-picker__preview color-picker__transparent-bg"
|
|
701
|
-
aria-label=${this.localize.term("copy")}
|
|
702
|
-
style=${styleMap({
|
|
703
|
-
"--preview-color": this.getHexString(this.hue, this.saturation, this.brightness, this.alpha)
|
|
704
|
-
})}
|
|
705
|
-
@click=${this.handleCopy}
|
|
706
|
-
></button>
|
|
707
|
-
</div>
|
|
708
|
-
|
|
709
|
-
<div class="color-picker__user-input" aria-live="polite">
|
|
710
|
-
<sl-input
|
|
711
|
-
part="input"
|
|
712
|
-
type="text"
|
|
713
|
-
name=${this.name}
|
|
714
|
-
autocomplete="off"
|
|
715
|
-
autocorrect="off"
|
|
716
|
-
autocapitalize="off"
|
|
717
|
-
spellcheck="false"
|
|
718
|
-
value=${this.isEmpty ? "" : this.inputValue}
|
|
719
|
-
?required=${this.required}
|
|
720
|
-
?disabled=${this.disabled}
|
|
721
|
-
aria-label=${this.localize.term("currentValue")}
|
|
722
|
-
@keydown=${this.handleInputKeyDown}
|
|
723
|
-
@sl-change=${this.handleInputChange}
|
|
724
|
-
@sl-input=${this.handleInputInput}
|
|
725
|
-
@sl-invalid=${this.handleInputInvalid}
|
|
726
|
-
@sl-blur=${this.stopNestedEventPropagation}
|
|
727
|
-
@sl-focus=${this.stopNestedEventPropagation}
|
|
728
|
-
></sl-input>
|
|
729
|
-
|
|
730
|
-
<sl-button-group>
|
|
731
|
-
${!this.noFormatToggle ? html`
|
|
732
|
-
<sl-button
|
|
733
|
-
part="format-button"
|
|
734
|
-
aria-label=${this.localize.term("toggleColorFormat")}
|
|
735
|
-
exportparts="
|
|
736
|
-
base:format-button__base,
|
|
737
|
-
prefix:format-button__prefix,
|
|
738
|
-
label:format-button__label,
|
|
739
|
-
suffix:format-button__suffix,
|
|
740
|
-
caret:format-button__caret
|
|
741
|
-
"
|
|
742
|
-
@click=${this.handleFormatToggle}
|
|
743
|
-
@sl-blur=${this.stopNestedEventPropagation}
|
|
744
|
-
@sl-focus=${this.stopNestedEventPropagation}
|
|
745
|
-
>
|
|
746
|
-
${this.setLetterCase(this.format)}
|
|
747
|
-
</sl-button>
|
|
748
|
-
` : ""}
|
|
749
|
-
${hasEyeDropper ? html`
|
|
750
|
-
<sl-button
|
|
751
|
-
part="eye-dropper-button"
|
|
752
|
-
exportparts="
|
|
753
|
-
base:eye-dropper-button__base,
|
|
754
|
-
prefix:eye-dropper-button__prefix,
|
|
755
|
-
label:eye-dropper-button__label,
|
|
756
|
-
suffix:eye-dropper-button__suffix,
|
|
757
|
-
caret:eye-dropper-button__caret
|
|
758
|
-
"
|
|
759
|
-
@click=${this.handleEyeDropper}
|
|
760
|
-
@sl-blur=${this.stopNestedEventPropagation}
|
|
761
|
-
@sl-focus=${this.stopNestedEventPropagation}
|
|
762
|
-
>
|
|
763
|
-
<sl-icon
|
|
764
|
-
library="system"
|
|
765
|
-
name="eyedropper"
|
|
766
|
-
label=${this.localize.term("selectAColorFromTheScreen")}
|
|
767
|
-
></sl-icon>
|
|
768
|
-
</sl-button>
|
|
769
|
-
` : ""}
|
|
770
|
-
</sl-button-group>
|
|
771
|
-
</div>
|
|
772
|
-
|
|
773
|
-
${swatches.length > 0 ? html`
|
|
774
|
-
<div part="swatches" class="color-picker__swatches">
|
|
775
|
-
${swatches.map((swatch) => {
|
|
776
|
-
const parsedColor = this.parseColor(swatch);
|
|
777
|
-
if (!parsedColor) {
|
|
778
|
-
console.error(`Unable to parse swatch color: "${swatch}"`, this);
|
|
779
|
-
return "";
|
|
780
|
-
}
|
|
781
|
-
return html`
|
|
782
|
-
<div
|
|
783
|
-
part="swatch"
|
|
784
|
-
class="color-picker__swatch color-picker__transparent-bg"
|
|
785
|
-
tabindex=${ifDefined(this.disabled ? void 0 : "0")}
|
|
786
|
-
role="button"
|
|
787
|
-
aria-label=${swatch}
|
|
788
|
-
@click=${() => this.selectSwatch(swatch)}
|
|
789
|
-
@keydown=${(event) => !this.disabled && event.key === "Enter" && this.setColor(parsedColor.hexa)}
|
|
790
|
-
>
|
|
791
|
-
<div
|
|
792
|
-
class="color-picker__swatch-color"
|
|
793
|
-
style=${styleMap({ backgroundColor: parsedColor.hexa })}
|
|
794
|
-
></div>
|
|
795
|
-
</div>
|
|
796
|
-
`;
|
|
797
|
-
})}
|
|
798
|
-
</div>
|
|
799
|
-
` : ""}
|
|
800
|
-
</div>
|
|
801
|
-
`;
|
|
802
|
-
if (this.inline) {
|
|
803
|
-
return colorPicker;
|
|
804
|
-
}
|
|
805
|
-
return html`
|
|
806
|
-
<sl-dropdown
|
|
807
|
-
class="color-dropdown"
|
|
808
|
-
aria-disabled=${this.disabled ? "true" : "false"}
|
|
809
|
-
.containingElement=${this}
|
|
810
|
-
?disabled=${this.disabled}
|
|
811
|
-
?hoist=${this.hoist}
|
|
812
|
-
@sl-after-hide=${this.handleAfterHide}
|
|
813
|
-
>
|
|
814
|
-
<button
|
|
815
|
-
part="trigger"
|
|
816
|
-
slot="trigger"
|
|
817
|
-
class=${classMap({
|
|
818
|
-
"color-dropdown__trigger": true,
|
|
819
|
-
"color-dropdown__trigger--disabled": this.disabled,
|
|
820
|
-
"color-dropdown__trigger--small": this.size === "small",
|
|
821
|
-
"color-dropdown__trigger--medium": this.size === "medium",
|
|
822
|
-
"color-dropdown__trigger--large": this.size === "large",
|
|
823
|
-
"color-dropdown__trigger--empty": this.isEmpty,
|
|
824
|
-
"color-dropdown__trigger--focused": this.hasFocus,
|
|
825
|
-
"color-picker__transparent-bg": true
|
|
826
|
-
})}
|
|
827
|
-
style=${styleMap({
|
|
828
|
-
color: this.getHexString(this.hue, this.saturation, this.brightness, this.alpha)
|
|
829
|
-
})}
|
|
830
|
-
type="button"
|
|
831
|
-
>
|
|
832
|
-
<sl-visually-hidden>
|
|
833
|
-
<slot name="label">${this.label}</slot>
|
|
834
|
-
</sl-visually-hidden>
|
|
835
|
-
</button>
|
|
836
|
-
${colorPicker}
|
|
837
|
-
</sl-dropdown>
|
|
838
|
-
`;
|
|
839
|
-
}
|
|
840
|
-
};
|
|
841
|
-
SlColorPicker.styles = [component_styles_default, color_picker_styles_default];
|
|
842
|
-
SlColorPicker.dependencies = {
|
|
843
|
-
"sl-button-group": SlButtonGroup,
|
|
844
|
-
"sl-button": SlButton,
|
|
845
|
-
"sl-dropdown": SlDropdown,
|
|
846
|
-
"sl-icon": SlIcon,
|
|
847
|
-
"sl-input": SlInput,
|
|
848
|
-
"sl-visually-hidden": SlVisuallyHidden
|
|
849
|
-
};
|
|
850
|
-
__decorateClass([
|
|
851
|
-
query('[part~="base"]')
|
|
852
|
-
], SlColorPicker.prototype, "base", 2);
|
|
853
|
-
__decorateClass([
|
|
854
|
-
query('[part~="input"]')
|
|
855
|
-
], SlColorPicker.prototype, "input", 2);
|
|
856
|
-
__decorateClass([
|
|
857
|
-
query(".color-dropdown")
|
|
858
|
-
], SlColorPicker.prototype, "dropdown", 2);
|
|
859
|
-
__decorateClass([
|
|
860
|
-
query('[part~="preview"]')
|
|
861
|
-
], SlColorPicker.prototype, "previewButton", 2);
|
|
862
|
-
__decorateClass([
|
|
863
|
-
query('[part~="trigger"]')
|
|
864
|
-
], SlColorPicker.prototype, "trigger", 2);
|
|
865
|
-
__decorateClass([
|
|
866
|
-
state()
|
|
867
|
-
], SlColorPicker.prototype, "hasFocus", 2);
|
|
868
|
-
__decorateClass([
|
|
869
|
-
state()
|
|
870
|
-
], SlColorPicker.prototype, "isDraggingGridHandle", 2);
|
|
871
|
-
__decorateClass([
|
|
872
|
-
state()
|
|
873
|
-
], SlColorPicker.prototype, "isEmpty", 2);
|
|
874
|
-
__decorateClass([
|
|
875
|
-
state()
|
|
876
|
-
], SlColorPicker.prototype, "inputValue", 2);
|
|
877
|
-
__decorateClass([
|
|
878
|
-
state()
|
|
879
|
-
], SlColorPicker.prototype, "hue", 2);
|
|
880
|
-
__decorateClass([
|
|
881
|
-
state()
|
|
882
|
-
], SlColorPicker.prototype, "saturation", 2);
|
|
883
|
-
__decorateClass([
|
|
884
|
-
state()
|
|
885
|
-
], SlColorPicker.prototype, "brightness", 2);
|
|
886
|
-
__decorateClass([
|
|
887
|
-
state()
|
|
888
|
-
], SlColorPicker.prototype, "alpha", 2);
|
|
889
|
-
__decorateClass([
|
|
890
|
-
property()
|
|
891
|
-
], SlColorPicker.prototype, "value", 2);
|
|
892
|
-
__decorateClass([
|
|
893
|
-
defaultValue()
|
|
894
|
-
], SlColorPicker.prototype, "defaultValue", 2);
|
|
895
|
-
__decorateClass([
|
|
896
|
-
property()
|
|
897
|
-
], SlColorPicker.prototype, "label", 2);
|
|
898
|
-
__decorateClass([
|
|
899
|
-
property()
|
|
900
|
-
], SlColorPicker.prototype, "format", 2);
|
|
901
|
-
__decorateClass([
|
|
902
|
-
property({ type: Boolean, reflect: true })
|
|
903
|
-
], SlColorPicker.prototype, "inline", 2);
|
|
904
|
-
__decorateClass([
|
|
905
|
-
property({ reflect: true })
|
|
906
|
-
], SlColorPicker.prototype, "size", 2);
|
|
907
|
-
__decorateClass([
|
|
908
|
-
property({ attribute: "no-format-toggle", type: Boolean })
|
|
909
|
-
], SlColorPicker.prototype, "noFormatToggle", 2);
|
|
910
|
-
__decorateClass([
|
|
911
|
-
property()
|
|
912
|
-
], SlColorPicker.prototype, "name", 2);
|
|
913
|
-
__decorateClass([
|
|
914
|
-
property({ type: Boolean, reflect: true })
|
|
915
|
-
], SlColorPicker.prototype, "disabled", 2);
|
|
916
|
-
__decorateClass([
|
|
917
|
-
property({ type: Boolean })
|
|
918
|
-
], SlColorPicker.prototype, "hoist", 2);
|
|
919
|
-
__decorateClass([
|
|
920
|
-
property({ type: Boolean })
|
|
921
|
-
], SlColorPicker.prototype, "opacity", 2);
|
|
922
|
-
__decorateClass([
|
|
923
|
-
property({ type: Boolean })
|
|
924
|
-
], SlColorPicker.prototype, "uppercase", 2);
|
|
925
|
-
__decorateClass([
|
|
926
|
-
property()
|
|
927
|
-
], SlColorPicker.prototype, "swatches", 2);
|
|
928
|
-
__decorateClass([
|
|
929
|
-
property({ reflect: true })
|
|
930
|
-
], SlColorPicker.prototype, "form", 2);
|
|
931
|
-
__decorateClass([
|
|
932
|
-
property({ type: Boolean, reflect: true })
|
|
933
|
-
], SlColorPicker.prototype, "required", 2);
|
|
934
|
-
__decorateClass([
|
|
935
|
-
eventOptions({ passive: false })
|
|
936
|
-
], SlColorPicker.prototype, "handleTouchMove", 1);
|
|
937
|
-
__decorateClass([
|
|
938
|
-
watch("format", { waitUntilFirstUpdate: true })
|
|
939
|
-
], SlColorPicker.prototype, "handleFormatChange", 1);
|
|
940
|
-
__decorateClass([
|
|
941
|
-
watch("opacity", { waitUntilFirstUpdate: true })
|
|
942
|
-
], SlColorPicker.prototype, "handleOpacityChange", 1);
|
|
943
|
-
__decorateClass([
|
|
944
|
-
watch("value")
|
|
945
|
-
], SlColorPicker.prototype, "handleValueChange", 1);
|
|
946
|
-
|
|
947
|
-
export {
|
|
948
|
-
SlColorPicker
|
|
949
|
-
};
|