@kdcloudjs/shoelace 1.0.0 → 1.0.2
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.274OIEVI.js +97 -0
- package/cdn/chunks/chunk.2HHYJS5E.js +129 -0
- package/cdn/chunks/chunk.2IY2QWZ7.js +348 -0
- package/cdn/chunks/chunk.2KCNZ3X3.js +84 -0
- package/cdn/chunks/chunk.2MHOHVMG.js +338 -0
- package/cdn/chunks/chunk.2PWHGNKZ.js +160 -0
- package/cdn/chunks/chunk.2XKGBNLX.js +21 -0
- package/cdn/chunks/chunk.36WOO2SO.js +162 -0
- package/cdn/chunks/chunk.3H3GOTJ2.js +11 -0
- package/cdn/chunks/chunk.3WU6LNUA.js +11 -0
- package/cdn/chunks/chunk.3XFODJZM.js +57 -0
- package/cdn/chunks/chunk.43HSZDRL.js +25 -0
- package/cdn/chunks/chunk.47FPHGDJ.js +33 -0
- package/cdn/chunks/chunk.4DKPGZBG.js +380 -0
- package/cdn/chunks/chunk.4FFIKHQ6.js +11 -0
- package/cdn/chunks/chunk.4HIOUPRK.js +133 -0
- package/cdn/chunks/chunk.4VRHDE3E.js +8 -0
- package/cdn/chunks/chunk.4YC3GCZV.js +21 -0
- package/cdn/chunks/chunk.4ZQJPI5L.js +21 -0
- package/cdn/chunks/chunk.56WLJRAD.js +11 -0
- package/cdn/chunks/chunk.5B2RHXB2.js +188 -0
- package/cdn/chunks/chunk.5GLETPQ3.js +26 -0
- package/cdn/chunks/chunk.5SZ3VVWH.js +11 -0
- package/cdn/chunks/chunk.5ZJCSNBL.js +21 -0
- package/cdn/chunks/chunk.5ZJNL7P2.js +11 -0
- package/cdn/chunks/chunk.5ZPRCFKW.js +21 -0
- package/cdn/chunks/chunk.622UIAVD.js +63 -0
- package/cdn/chunks/chunk.62VUCHSP.js +90 -0
- package/cdn/chunks/chunk.67I2W5ED.js +11 -0
- package/cdn/chunks/chunk.67L6J4PF.js +11 -0
- package/cdn/chunks/chunk.6BKANMUH.js +11 -0
- package/cdn/chunks/chunk.6MHUCJTT.js +21 -0
- package/cdn/chunks/chunk.6OUPSNV2.js +26 -0
- package/cdn/chunks/chunk.6QBRHNIF.js +0 -0
- package/cdn/chunks/chunk.6TXJOCC6.js +21 -0
- package/cdn/chunks/chunk.6USRM27Q.js +75 -0
- package/cdn/chunks/chunk.6UZWSOMS.js +25 -0
- package/cdn/chunks/chunk.7AOL6AS4.js +113 -0
- package/cdn/chunks/chunk.7DBKAVCA.js +76 -0
- package/cdn/chunks/chunk.7KAXSS4O.js +235 -0
- package/cdn/chunks/chunk.7NPWMO7X.js +36 -0
- package/cdn/chunks/chunk.7NZA66XH.js +21 -0
- package/cdn/chunks/chunk.7RAEXH4E.js +803 -0
- package/cdn/chunks/chunk.7WBZZP5I.js +24 -0
- package/cdn/chunks/chunk.A4LJNNKF.js +11 -0
- package/cdn/chunks/chunk.ACZIB4GP.js +11 -0
- package/cdn/chunks/chunk.AD227U3E.js +281 -0
- package/cdn/chunks/chunk.AJ63BSZZ.js +457 -0
- package/cdn/chunks/chunk.AORERAUT.js +11 -0
- package/cdn/chunks/chunk.AWSXB3E6.js +11 -0
- package/cdn/chunks/chunk.B3SMJ4ZH.js +77 -0
- package/cdn/chunks/chunk.BIRYNFUT.js +361 -0
- package/cdn/chunks/chunk.BIWCIJTI.js +21 -0
- package/cdn/chunks/chunk.BM7OO3LN.js +144 -0
- package/cdn/chunks/chunk.BMI2DCT6.js +11 -0
- package/cdn/chunks/chunk.BO4D3RTO.js +77 -0
- package/cdn/chunks/chunk.BSXU73W7.js +26 -0
- package/cdn/chunks/chunk.BTAUZ2GK.js +381 -0
- package/cdn/chunks/chunk.BU65MDM4.js +52 -0
- package/cdn/chunks/chunk.BWJKC7HR.js +369 -0
- package/cdn/chunks/chunk.C5MBP4NZ.js +100 -0
- package/cdn/chunks/chunk.C77LBFQ2.js +11 -0
- package/cdn/chunks/chunk.CD7ANDDQ.js +199 -0
- package/cdn/chunks/chunk.CY47GRGG.js +217 -0
- package/cdn/chunks/chunk.CZCSAYQZ.js +124 -0
- package/cdn/chunks/chunk.D7YZUGAV.js +11 -0
- package/cdn/chunks/chunk.DK7OY5PV.js +25 -0
- package/cdn/chunks/chunk.DMPBM3WB.js +24 -0
- package/cdn/chunks/chunk.DR22TASD.js +11 -0
- package/cdn/chunks/chunk.DTK4XUYI.js +24 -0
- package/cdn/chunks/chunk.DUQ2OG4T.js +24 -0
- package/cdn/chunks/chunk.E3LJCZQT.js +218 -0
- package/cdn/chunks/chunk.E5SJBZWN.js +21 -0
- package/cdn/chunks/chunk.E6DXGKDY.js +11 -0
- package/cdn/chunks/chunk.EEXRATVK.js +115 -0
- package/cdn/chunks/chunk.EGWMFBMJ.js +27 -0
- package/cdn/chunks/chunk.EHK4FN4I.js +11 -0
- package/cdn/chunks/chunk.ETBW3UWE.js +105 -0
- package/cdn/chunks/chunk.F6EXYTIQ.js +11 -0
- package/cdn/chunks/chunk.F6LAMHEB.js +25 -0
- package/cdn/chunks/chunk.FEUFBSB6.js +11 -0
- package/cdn/chunks/chunk.FGRSPVKY.js +39 -0
- package/cdn/chunks/chunk.FPSEIB6K.js +26 -0
- package/cdn/chunks/chunk.FTAZM4E2.js +156 -0
- package/cdn/chunks/chunk.FUJQ6WAL.js +116 -0
- package/cdn/chunks/chunk.FVNSUFSE.js +11 -0
- package/cdn/chunks/chunk.G4S3RY3U.js +25 -0
- package/cdn/chunks/chunk.GFBIRQG3.js +11 -0
- package/cdn/chunks/chunk.GH4Z7QBU.js +11 -0
- package/cdn/chunks/chunk.GK63N5AE.js +11 -0
- package/cdn/chunks/chunk.GM3ZSZIB.js +11 -0
- package/cdn/chunks/chunk.GRGYWQPR.js +21 -0
- package/cdn/chunks/chunk.H6LKMMWQ.js +123 -0
- package/cdn/chunks/chunk.H7KGGSN7.js +25 -0
- package/cdn/chunks/chunk.HA5BTJ4F.js +175 -0
- package/cdn/chunks/chunk.HAN47AQU.js +11 -0
- package/cdn/chunks/chunk.HJW6J5WI.js +21 -0
- package/cdn/chunks/chunk.HNQO3DOA.js +192 -0
- package/cdn/chunks/chunk.HX3E4AEE.js +244 -0
- package/cdn/chunks/chunk.I57WXLMR.js +21 -0
- package/cdn/chunks/chunk.ICNDZ37C.js +11 -0
- package/cdn/chunks/chunk.ILWAKT36.js +116 -0
- package/cdn/chunks/chunk.IQGWTOFC.js +29 -0
- package/cdn/chunks/chunk.IRYP33LO.js +104 -0
- package/cdn/chunks/chunk.IT6CLHXE.js +11 -0
- package/cdn/chunks/chunk.IUQQ6GMY.js +99 -0
- package/cdn/chunks/chunk.IY4XR4U3.js +21 -0
- package/cdn/chunks/chunk.J5RYNIJI.js +47 -0
- package/cdn/chunks/chunk.JABFV2DF.js +11 -0
- package/cdn/chunks/chunk.JDPUQZOS.js +2970 -0
- package/cdn/chunks/chunk.JEIGSLSZ.js +24 -0
- package/cdn/chunks/chunk.JFG3IK2R.js +5977 -0
- package/cdn/chunks/chunk.JJBJXO7I.js +21 -0
- package/cdn/chunks/chunk.JKOLXWTK.js +139 -0
- package/cdn/chunks/chunk.JMEI2INX.js +25 -0
- package/cdn/chunks/chunk.JRHBBVWD.js +28 -0
- package/cdn/chunks/chunk.JTM2RMRQ.js +24 -0
- package/cdn/chunks/chunk.K2CNA4AH.js +1881 -0
- package/cdn/chunks/chunk.K7P4ZNIR.js +28 -0
- package/cdn/chunks/chunk.KEN5NERU.js +11 -0
- package/cdn/chunks/chunk.KJA2CCWT.js +171 -0
- package/cdn/chunks/chunk.KKJPBFOS.js +21 -0
- package/cdn/chunks/chunk.KMJ37RZ3.js +177 -0
- package/cdn/chunks/chunk.KNUAFTBD.js +11 -0
- package/cdn/chunks/chunk.KPGKBJGQ.js +11 -0
- package/cdn/chunks/chunk.KSB7EI3T.js +46 -0
- package/cdn/chunks/chunk.KSUQROY6.js +79 -0
- package/cdn/chunks/chunk.KW3B3W3A.js +269 -0
- package/cdn/chunks/chunk.LY5O4QV2.js +301 -0
- package/cdn/chunks/chunk.LZIP6CLF.js +504 -0
- package/cdn/chunks/chunk.M4SYKVIT.js +24 -0
- package/cdn/chunks/chunk.MBLMR5PD.js +5847 -0
- package/cdn/chunks/chunk.MEP6HFXE.js +316 -0
- package/cdn/chunks/chunk.MFQNZKSL.js +25 -0
- package/cdn/chunks/chunk.MIJZQQGC.js +382 -0
- package/cdn/chunks/chunk.MPB2O6EL.js +21 -0
- package/cdn/chunks/chunk.N3COEU4Q.js +11 -0
- package/cdn/chunks/chunk.N4FP5YJM.js +11 -0
- package/cdn/chunks/chunk.NHKI5IOQ.js +11 -0
- package/cdn/chunks/chunk.NJFOOAX6.js +95 -0
- package/cdn/chunks/chunk.NMC4U2UZ.js +257 -0
- package/cdn/chunks/chunk.NMYOJZQU.js +86 -0
- package/cdn/chunks/chunk.NWC5QC3A.js +21 -0
- package/cdn/chunks/chunk.NZYXMJ6J.js +11 -0
- package/cdn/chunks/chunk.O2EW6OJX.js +21 -0
- package/cdn/chunks/chunk.OMX2TEPL.js +11 -0
- package/cdn/chunks/chunk.OS2IKKCL.js +246 -0
- package/cdn/chunks/chunk.OSD74RPD.js +89 -0
- package/cdn/chunks/chunk.OVMIORYD.js +11 -0
- package/cdn/chunks/chunk.OVN3X2JB.js +24 -0
- package/cdn/chunks/chunk.OXGAKVZM.js +11 -0
- package/cdn/chunks/chunk.P5W76TTI.js +11 -0
- package/cdn/chunks/chunk.PH23XDAE.js +24 -0
- package/cdn/chunks/chunk.PJYHQXK5.js +11 -0
- package/cdn/chunks/chunk.POFCZUEH.js +11 -0
- package/cdn/chunks/chunk.PPJ6H72V.js +173 -0
- package/cdn/chunks/chunk.Q3XIGDZS.js +110 -0
- package/cdn/chunks/chunk.QE3Y4CZQ.js +21 -0
- package/cdn/chunks/chunk.QJAKJPTY.js +28 -0
- package/cdn/chunks/chunk.QN7TUUQV.js +11 -0
- package/cdn/chunks/chunk.QQQCDFVB.js +11 -0
- package/cdn/chunks/chunk.QS25M6RH.js +21 -0
- package/cdn/chunks/chunk.QUMPPHSZ.js +24 -0
- package/cdn/chunks/chunk.R4APGLP7.js +28 -0
- package/cdn/chunks/chunk.RC46L6CZ.js +55 -0
- package/cdn/chunks/chunk.RG4EOM5J.js +44 -0
- package/cdn/chunks/chunk.RIHDSMVI.js +124 -0
- package/cdn/chunks/chunk.RIPHFJLF.js +11 -0
- package/cdn/chunks/chunk.RY46DAZK.js +404 -0
- package/cdn/chunks/chunk.RZXX2PIL.js +119 -0
- package/cdn/chunks/chunk.S6JQGEII.js +11 -0
- package/cdn/chunks/chunk.SCGBKOMH.js +24 -0
- package/cdn/chunks/chunk.SOH5F2QY.js +21 -0
- package/cdn/chunks/chunk.SXQYL2XZ.js +25 -0
- package/cdn/chunks/chunk.SY37VGFH.js +302 -0
- package/cdn/chunks/chunk.T4AVTU5A.js +99 -0
- package/cdn/chunks/chunk.T5IZ272E.js +11 -0
- package/cdn/chunks/chunk.T5NYV44S.js +24 -0
- package/cdn/chunks/chunk.TCOAYLJB.js +11 -0
- package/cdn/chunks/chunk.TF3IWFSX.js +26 -0
- package/cdn/chunks/chunk.TIWL7N5C.js +393 -0
- package/cdn/chunks/chunk.TMVJS6LD.js +1992 -0
- package/cdn/chunks/chunk.TU2DOTXL.js +11 -0
- package/cdn/chunks/chunk.TWQ3EL2D.js +21 -0
- package/cdn/chunks/chunk.U6LJ4BR7.js +11 -0
- package/cdn/chunks/chunk.UF3SAHJQ.js +823 -0
- package/cdn/chunks/chunk.UULW763D.js +11 -0
- package/cdn/chunks/chunk.UWMG47MH.js +11 -0
- package/cdn/chunks/chunk.VB63IAEY.js +28 -0
- package/cdn/chunks/chunk.VJ7FOYMM.js +438 -0
- package/cdn/chunks/chunk.VJEIBTVA.js +27 -0
- package/cdn/chunks/chunk.VK3WBSP4.js +11 -0
- package/cdn/chunks/chunk.VPY2OHDU.js +189 -0
- package/cdn/chunks/chunk.VQY24QQG.js +588 -0
- package/cdn/chunks/chunk.VWCYZTAK.js +69 -0
- package/cdn/chunks/chunk.W3TY2ISF.js +29 -0
- package/cdn/chunks/chunk.W6BVVB2O.js +167 -0
- package/cdn/chunks/chunk.WA5BGK7G.js +11 -0
- package/cdn/chunks/chunk.WBIKWNRR.js +120 -0
- package/cdn/chunks/chunk.WDLCSDGJ.js +11 -0
- package/cdn/chunks/chunk.WE27N67X.js +294 -0
- package/cdn/chunks/chunk.WE335CM2.js +11 -0
- package/cdn/chunks/chunk.WE4USEQU.js +126 -0
- package/cdn/chunks/chunk.WENKIBPX.js +300 -0
- package/cdn/chunks/chunk.WID3TCT6.js +33 -0
- package/cdn/chunks/chunk.WKUBBRDO.js +49 -0
- package/cdn/chunks/chunk.WOQC6KFO.js +123 -0
- package/cdn/chunks/chunk.WPI7GXDN.js +122 -0
- package/cdn/chunks/chunk.WQTJ57OT.js +22 -0
- package/cdn/chunks/chunk.WUPHFRA5.js +155 -0
- package/cdn/chunks/chunk.WY6I3BUX.js +238 -0
- package/cdn/chunks/chunk.X4ATDEXB.js +186 -0
- package/cdn/chunks/chunk.XAUO4ASA.js +137 -0
- package/cdn/chunks/chunk.XDTCQJW6.js +65 -0
- package/cdn/chunks/chunk.XHEXLCHU.js +11 -0
- package/cdn/chunks/chunk.XLVBHHX7.js +51 -0
- package/cdn/chunks/chunk.XQUTPKOQ.js +24 -0
- package/cdn/chunks/chunk.XSV5DOEQ.js +11 -0
- package/cdn/chunks/chunk.XVF5P3O6.js +726 -0
- package/cdn/chunks/chunk.XWBB3YZF.js +21 -0
- package/cdn/chunks/chunk.XWSZ3UD2.js +304 -0
- package/cdn/chunks/chunk.XWWBOWBO.js +28 -0
- package/cdn/chunks/chunk.YHCD3DEM.js +979 -0
- package/cdn/chunks/chunk.YLHUKNQ6.js +27 -0
- package/cdn/chunks/chunk.YMLBSWJY.js +21 -0
- package/cdn/chunks/chunk.YPN7YBLI.js +293 -0
- package/cdn/chunks/chunk.YQA6W6HV.js +29 -0
- package/cdn/chunks/chunk.YTPZBLRE.js +27 -0
- package/cdn/chunks/chunk.YYVJVTG2.js +11 -0
- package/cdn/chunks/chunk.Z3SBCMXQ.js +24 -0
- package/cdn/chunks/chunk.ZDMBCAJB.js +29 -0
- package/cdn/chunks/chunk.ZNGDLIME.js +27 -0
- package/cdn/chunks/chunk.ZPV5ODF4.js +81 -0
- package/cdn/chunks/chunk.ZQDMOZML.js +56 -0
- package/cdn/chunks/chunk.ZXUNDYLD.js +101 -0
- package/cdn/components/alert/alert.component.js +12 -11
- package/cdn/components/alert/alert.js +13 -12
- package/cdn/components/alert/alert.styles.js +2 -2
- package/cdn/components/animated-image/animated-image.component.js +7 -6
- package/cdn/components/animated-image/animated-image.js +8 -7
- package/cdn/components/animated-image/animated-image.styles.js +1 -1
- package/cdn/components/animation/animation.component.js +6 -5
- package/cdn/components/animation/animation.js +7 -6
- package/cdn/components/animation/animation.styles.js +1 -1
- package/cdn/components/animation/animations.js +2 -2
- package/cdn/components/avatar/avatar.component.js +6 -5
- package/cdn/components/avatar/avatar.js +7 -6
- package/cdn/components/avatar/avatar.styles.js +1 -1
- package/cdn/components/badge/badge.component.js +5 -4
- package/cdn/components/badge/badge.js +6 -5
- package/cdn/components/badge/badge.styles.js +2 -2
- package/cdn/components/breadcrumb/breadcrumb.component.js +6 -5
- package/cdn/components/breadcrumb/breadcrumb.js +7 -6
- package/cdn/components/breadcrumb/breadcrumb.styles.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +5 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +6 -5
- package/cdn/components/breadcrumb-item/breadcrumb-item.styles.js +1 -1
- package/cdn/components/button/button.component.js +10 -9
- package/cdn/components/button/button.js +11 -10
- package/cdn/components/button/button.styles.js +1 -1
- package/cdn/components/button-group/button-group.component.js +4 -3
- package/cdn/components/button-group/button-group.js +5 -4
- package/cdn/components/button-group/button-group.styles.js +1 -1
- package/cdn/components/calendar/calendar.component.js +14 -10
- package/cdn/components/calendar/calendar.js +14 -10
- package/cdn/components/card/card.component.js +5 -4
- package/cdn/components/card/card.js +6 -5
- package/cdn/components/card/card.styles.js +2 -2
- package/cdn/components/carousel/autoplay-controller.js +1 -1
- package/cdn/components/carousel/carousel.component.js +8 -7
- package/cdn/components/carousel/carousel.js +9 -8
- package/cdn/components/carousel/carousel.styles.js +1 -1
- package/cdn/components/carousel-item/carousel-item.component.js +4 -3
- package/cdn/components/carousel-item/carousel-item.js +5 -4
- package/cdn/components/carousel-item/carousel-item.styles.js +1 -1
- package/cdn/components/checkbox/checkbox.component.js +8 -7
- package/cdn/components/checkbox/checkbox.js +9 -8
- package/cdn/components/checkbox/checkbox.styles.js +1 -1
- package/cdn/components/color-picker/color-picker.component.js +20 -19
- package/cdn/components/color-picker/color-picker.js +21 -20
- package/cdn/components/color-picker/color-picker.styles.js +1 -1
- package/cdn/components/copy-button/copy-button.component.js +11 -10
- package/cdn/components/copy-button/copy-button.js +12 -11
- package/cdn/components/copy-button/copy-button.styles.js +1 -1
- package/cdn/components/datepicker/datepicker.component.js +17 -13
- package/cdn/components/datepicker/datepicker.js +17 -13
- package/cdn/components/details/details.component.js +9 -8
- package/cdn/components/details/details.js +10 -9
- package/cdn/components/details/details.styles.js +2 -2
- package/cdn/components/dialog/dialog.component.js +14 -13
- package/cdn/components/dialog/dialog.js +15 -14
- package/cdn/components/dialog/dialog.styles.js +2 -2
- package/cdn/components/divider/divider.component.js +5 -4
- package/cdn/components/divider/divider.js +6 -5
- package/cdn/components/divider/divider.styles.js +1 -1
- package/cdn/components/drawer/drawer.component.js +14 -13
- package/cdn/components/drawer/drawer.js +15 -14
- package/cdn/components/drawer/drawer.styles.js +2 -2
- package/cdn/components/dropdown/dropdown.component.js +10 -9
- package/cdn/components/dropdown/dropdown.js +11 -10
- package/cdn/components/dropdown/dropdown.styles.js +1 -1
- package/cdn/components/format-bytes/format-bytes.component.js +4 -3
- package/cdn/components/format-bytes/format-bytes.js +5 -4
- package/cdn/components/format-date/format-date.component.js +4 -3
- package/cdn/components/format-date/format-date.js +5 -4
- package/cdn/components/format-number/format-number.component.js +4 -3
- package/cdn/components/format-number/format-number.js +5 -4
- package/cdn/components/icon/icon.component.js +5 -4
- package/cdn/components/icon/icon.js +6 -5
- package/cdn/components/icon/icon.styles.js +1 -1
- package/cdn/components/icon/library.default.js +1 -1
- package/cdn/components/icon/library.js +1 -1
- package/cdn/components/icon/library.system.js +1 -1
- package/cdn/components/icon-button/icon-button.component.js +6 -5
- package/cdn/components/icon-button/icon-button.js +7 -6
- package/cdn/components/icon-button/icon-button.styles.js +1 -1
- package/cdn/components/image-comparer/image-comparer.component.js +6 -5
- package/cdn/components/image-comparer/image-comparer.js +7 -6
- package/cdn/components/image-comparer/image-comparer.styles.js +1 -1
- package/cdn/components/include/include.component.js +5 -4
- package/cdn/components/include/include.js +6 -5
- package/cdn/components/include/include.styles.js +1 -1
- package/cdn/components/include/request.js +1 -1
- package/cdn/components/input/input.component.js +9 -8
- package/cdn/components/input/input.js +10 -9
- package/cdn/components/input/input.styles.js +1 -1
- package/cdn/components/menu/menu.component.js +4 -3
- package/cdn/components/menu/menu.js +5 -4
- package/cdn/components/menu/menu.styles.js +1 -1
- package/cdn/components/menu-item/menu-item.component.js +12 -10
- package/cdn/components/menu-item/menu-item.js +13 -11
- package/cdn/components/menu-item/menu-item.styles.js +2 -2
- package/cdn/components/menu-item/submenu-controller.js +3 -2
- package/cdn/components/menu-label/menu-label.component.js +4 -3
- package/cdn/components/menu-label/menu-label.js +5 -4
- package/cdn/components/menu-label/menu-label.styles.js +1 -1
- package/cdn/components/mutation-observer/mutation-observer.component.js +5 -4
- package/cdn/components/mutation-observer/mutation-observer.js +6 -5
- package/cdn/components/mutation-observer/mutation-observer.styles.js +1 -1
- package/cdn/components/option/option.component.js +7 -6
- package/cdn/components/option/option.js +8 -7
- package/cdn/components/option/option.styles.js +2 -2
- package/cdn/components/pagination/custom-select.js +9 -0
- package/cdn/components/pagination/pagination.component.js +21 -0
- package/cdn/components/pagination/pagination.js +25 -0
- package/cdn/components/pagination/pagination.styles.js +8 -0
- package/cdn/components/popup/popup.component.js +4 -3
- package/cdn/components/popup/popup.js +5 -4
- package/cdn/components/popup/popup.styles.js +1 -1
- package/cdn/components/progress-bar/progress-bar.component.js +5 -4
- package/cdn/components/progress-bar/progress-bar.js +6 -5
- package/cdn/components/progress-bar/progress-bar.styles.js +1 -1
- package/cdn/components/progress-ring/progress-ring.component.js +4 -3
- package/cdn/components/progress-ring/progress-ring.js +5 -4
- package/cdn/components/progress-ring/progress-ring.styles.js +1 -1
- package/cdn/components/qr-code/qr-code.component.js +5 -4
- package/cdn/components/qr-code/qr-code.js +6 -5
- package/cdn/components/qr-code/qr-code.styles.js +1 -1
- package/cdn/components/radio/radio.component.js +6 -5
- package/cdn/components/radio/radio.js +7 -6
- package/cdn/components/radio/radio.styles.js +1 -1
- package/cdn/components/radio-button/radio-button.component.js +5 -4
- package/cdn/components/radio-button/radio-button.js +6 -5
- package/cdn/components/radio-button/radio-button.styles.js +1 -1
- package/cdn/components/radio-group/radio-group.component.js +7 -6
- package/cdn/components/radio-group/radio-group.js +8 -7
- package/cdn/components/radio-group/radio-group.styles.js +1 -1
- package/cdn/components/range/range.component.js +8 -7
- package/cdn/components/range/range.js +9 -8
- package/cdn/components/range/range.styles.js +1 -1
- package/cdn/components/rating/rating.component.js +7 -6
- package/cdn/components/rating/rating.js +8 -7
- package/cdn/components/rating/rating.styles.js +1 -1
- package/cdn/components/relative-time/relative-time.component.js +4 -3
- package/cdn/components/relative-time/relative-time.js +5 -4
- package/cdn/components/resize-observer/resize-observer.component.js +5 -4
- package/cdn/components/resize-observer/resize-observer.js +6 -5
- package/cdn/components/resize-observer/resize-observer.styles.js +1 -1
- package/cdn/components/screen/gridstack.styles.js +8 -0
- package/cdn/components/screen/screen.component.js +14 -0
- package/cdn/components/screen/screen.js +15 -0
- package/cdn/components/screen/screen.styles.js +8 -0
- package/cdn/components/select/select.component.js +16 -15
- package/cdn/components/select/select.js +17 -16
- package/cdn/components/select/select.styles.js +2 -2
- package/cdn/components/skeleton/skeleton.component.js +4 -3
- package/cdn/components/skeleton/skeleton.js +5 -4
- package/cdn/components/skeleton/skeleton.styles.js +1 -1
- package/cdn/components/spinner/spinner.component.js +4 -3
- package/cdn/components/spinner/spinner.js +5 -4
- package/cdn/components/spinner/spinner.styles.js +1 -1
- package/cdn/components/split-panel/split-panel.component.js +6 -5
- package/cdn/components/split-panel/split-panel.js +7 -6
- package/cdn/components/split-panel/split-panel.styles.js +1 -1
- package/cdn/components/switch/switch.component.js +6 -5
- package/cdn/components/switch/switch.js +7 -6
- package/cdn/components/switch/switch.styles.js +1 -1
- package/cdn/components/tab/tab.component.js +9 -8
- package/cdn/components/tab/tab.js +10 -9
- package/cdn/components/tab/tab.styles.js +2 -2
- package/cdn/components/tab-group/tab-group.component.js +10 -9
- package/cdn/components/tab-group/tab-group.js +11 -10
- package/cdn/components/tab-group/tab-group.styles.js +2 -2
- package/cdn/components/tab-panel/tab-panel.component.js +5 -4
- package/cdn/components/tab-panel/tab-panel.js +6 -5
- package/cdn/components/tab-panel/tab-panel.styles.js +1 -1
- package/cdn/components/table/body-table.js +10 -7
- package/cdn/components/table/col-group.js +4 -2
- package/cdn/components/table/const.js +9 -0
- package/cdn/components/table/features/index.js +22 -0
- package/cdn/components/table/features/row-filtering.js +7 -0
- package/cdn/components/table/features/row-selection.js +5 -3
- package/cdn/components/table/features/row-sorting.js +7 -0
- package/cdn/components/table/head-table.js +57 -7
- package/cdn/components/table/spinner-container.js +4 -3
- package/cdn/components/table/table.component.js +55 -18
- package/cdn/components/table/table.context.js +1 -1
- package/cdn/components/table/table.js +56 -19
- package/cdn/components/table/utils.js +11 -4
- package/cdn/components/tag/tag.component.js +9 -8
- package/cdn/components/tag/tag.js +10 -9
- package/cdn/components/tag/tag.styles.js +2 -2
- package/cdn/components/textarea/textarea.component.js +7 -6
- package/cdn/components/textarea/textarea.js +8 -7
- package/cdn/components/textarea/textarea.styles.js +2 -2
- package/cdn/components/time-panel/time-panel.component.js +33 -0
- package/cdn/components/time-panel/time-panel.js +37 -0
- package/cdn/components/time-panel/time-panel.styles.js +8 -0
- package/cdn/components/timepicker/timepicker.component.js +42 -0
- package/cdn/components/timepicker/timepicker.js +46 -0
- package/cdn/components/timepicker/timepicker.styles.js +8 -0
- package/cdn/components/tooltip/tooltip.component.js +9 -8
- package/cdn/components/tooltip/tooltip.js +10 -9
- package/cdn/components/tooltip/tooltip.styles.js +2 -2
- package/cdn/components/tree/tree.component.js +16 -15
- package/cdn/components/tree/tree.js +17 -16
- package/cdn/components/tree/tree.styles.js +1 -1
- package/cdn/components/tree-item/tree-item.component.js +14 -13
- package/cdn/components/tree-item/tree-item.js +15 -14
- package/cdn/components/tree-item/tree-item.styles.js +1 -1
- package/cdn/components/visually-hidden/visually-hidden.component.js +4 -3
- package/cdn/components/visually-hidden/visually-hidden.js +5 -4
- package/cdn/components/visually-hidden/visually-hidden.styles.js +1 -1
- package/cdn/custom-elements.json +5335 -4047
- package/cdn/react/alert/index.js +13 -12
- package/cdn/react/animated-image/index.js +8 -7
- package/cdn/react/animation/index.js +7 -6
- package/cdn/react/avatar/index.js +7 -6
- package/cdn/react/badge/index.js +6 -5
- package/cdn/react/breadcrumb/index.js +7 -6
- package/cdn/react/breadcrumb-item/index.js +6 -5
- package/cdn/react/button/index.js +11 -10
- package/cdn/react/button-group/index.js +5 -4
- package/cdn/react/card/index.js +6 -5
- package/cdn/react/carousel/index.js +9 -8
- package/cdn/react/carousel-item/index.js +5 -4
- package/cdn/react/checkbox/index.js +9 -8
- package/cdn/react/color-picker/index.js +21 -20
- package/cdn/react/copy-button/index.js +12 -11
- package/cdn/react/datepicker/index.js +18 -14
- package/cdn/react/details/index.js +10 -9
- package/cdn/react/dialog/index.js +15 -14
- package/cdn/react/divider/index.js +6 -5
- package/cdn/react/drawer/index.js +15 -14
- package/cdn/react/dropdown/index.js +11 -10
- package/cdn/react/format-bytes/index.js +5 -4
- package/cdn/react/format-date/index.js +5 -4
- package/cdn/react/format-number/index.js +5 -4
- package/cdn/react/icon/index.js +6 -5
- package/cdn/react/icon-button/index.js +7 -6
- package/cdn/react/image-comparer/index.js +7 -6
- package/cdn/react/include/index.js +6 -5
- package/cdn/react/index.js +254 -218
- package/cdn/react/input/index.js +10 -9
- package/cdn/react/menu/index.js +5 -4
- package/cdn/react/menu-item/index.js +13 -11
- package/cdn/react/menu-label/index.js +5 -4
- package/cdn/react/mutation-observer/index.js +6 -5
- package/cdn/react/option/index.js +8 -7
- package/cdn/react/pagination/index.js +22 -0
- package/cdn/react/popup/index.js +5 -4
- package/cdn/react/progress-bar/index.js +6 -5
- package/cdn/react/progress-ring/index.js +5 -4
- package/cdn/react/qr-code/index.js +6 -5
- package/cdn/react/radio/index.js +7 -6
- package/cdn/react/radio-button/index.js +6 -5
- package/cdn/react/radio-group/index.js +8 -7
- package/cdn/react/range/index.js +9 -8
- package/cdn/react/rating/index.js +8 -7
- package/cdn/react/relative-time/index.js +5 -4
- package/cdn/react/resize-observer/index.js +6 -5
- package/cdn/react/screen/index.js +15 -0
- package/cdn/react/select/index.js +17 -16
- package/cdn/react/skeleton/index.js +5 -4
- package/cdn/react/spinner/index.js +5 -4
- package/cdn/react/split-panel/index.js +7 -6
- package/cdn/react/switch/index.js +7 -6
- package/cdn/react/tab/index.js +10 -9
- package/cdn/react/tab-group/index.js +11 -10
- package/cdn/react/tab-panel/index.js +6 -5
- package/cdn/react/table/index.js +56 -19
- package/cdn/react/tag/index.js +10 -9
- package/cdn/react/textarea/index.js +8 -7
- package/cdn/react/timepicker/index.js +43 -0
- package/cdn/react/tooltip/index.js +10 -9
- package/cdn/react/tree/index.js +17 -16
- package/cdn/react/tree-item/index.js +15 -14
- package/cdn/react/visually-hidden/index.js +5 -4
- package/cdn/shoelace-autoloader.js +1 -1
- package/cdn/shoelace.js +221 -204
- package/cdn/themes/dark.css +22 -1
- package/cdn/themes/dark.styles.js +22 -1
- package/cdn/themes/light.css +31 -7
- package/cdn/themes/light.styles.js +31 -7
- package/cdn/translations/ar.js +1 -1
- package/cdn/translations/cs.js +1 -1
- package/cdn/translations/da.js +1 -1
- package/cdn/translations/de-ch.js +1 -1
- package/cdn/translations/de.js +1 -1
- package/cdn/translations/en-gb.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/translations/es.js +1 -1
- package/cdn/translations/fa.js +1 -1
- package/cdn/translations/fi.js +1 -1
- package/cdn/translations/fr.js +1 -1
- package/cdn/translations/he.js +1 -1
- package/cdn/translations/hr.js +1 -1
- package/cdn/translations/hu.js +1 -1
- package/cdn/translations/id.js +1 -1
- package/cdn/translations/it.js +1 -1
- package/cdn/translations/ja.js +1 -1
- package/cdn/translations/nb.js +1 -1
- package/cdn/translations/nl.js +1 -1
- package/cdn/translations/nn.js +1 -1
- package/cdn/translations/pl.js +1 -1
- package/cdn/translations/pt.js +1 -1
- package/cdn/translations/ru.js +1 -1
- package/cdn/translations/sl.js +1 -1
- package/cdn/translations/sv.js +1 -1
- package/cdn/translations/tr.js +1 -1
- package/cdn/translations/uk.js +1 -1
- package/cdn/translations/zh-cn.js +1 -1
- package/cdn/translations/zh-tw.js +1 -1
- package/cdn/types/vue/index.d.ts +368 -197
- package/cdn/utilities/animation-registry.js +2 -2
- package/cdn/utilities/animation.js +2 -2
- package/cdn/utilities/base-path.js +1 -1
- package/cdn/utilities/form.js +3 -3
- package/cdn/utilities/icon-library.js +1 -1
- package/cdn/utilities/localize.js +1 -1
- package/cdn/utilities/spread.js +8 -0
- package/cdn/vscode.html-custom-data.json +277 -170
- package/cdn/web-types.json +685 -389
- package/dist/chunks/chunk.26MJV2ME.js +17 -0
- package/dist/chunks/chunk.27FESLTN.js +11 -0
- package/dist/chunks/chunk.2FX6DNML.js +96 -0
- package/dist/chunks/chunk.2KJUI5IO.js +213 -0
- package/dist/chunks/chunk.3G2QMJ5P.js +11 -0
- package/dist/chunks/chunk.3IQLPJXJ.js +21 -0
- package/dist/chunks/chunk.3LZW4S27.js +25 -0
- package/dist/chunks/chunk.3Y3F3SN3.js +42 -0
- package/dist/chunks/chunk.3Y5PA7P2.js +11 -0
- package/dist/chunks/chunk.3ZQBXUFQ.js +135 -0
- package/dist/chunks/chunk.43LWOCQ5.js +73 -0
- package/dist/chunks/chunk.4A6V4OMT.js +107 -0
- package/dist/chunks/chunk.4BD7U3TX.js +26 -0
- package/dist/chunks/chunk.4DJZULKT.js +241 -0
- package/dist/chunks/chunk.4EH6CRRL.js +11 -0
- package/dist/chunks/chunk.4MIF3MOR.js +11 -0
- package/dist/chunks/chunk.4Q3NU54T.js +34 -0
- package/dist/chunks/chunk.4Q4Z7VHZ.js +80 -0
- package/dist/chunks/chunk.4UVFSJNN.js +45 -0
- package/dist/chunks/chunk.4VRHDE3E.js +8 -0
- package/dist/chunks/chunk.54TUSYKV.js +11 -0
- package/dist/chunks/chunk.5QEFBJ6M.js +100 -0
- package/dist/chunks/chunk.5T2AHSSJ.js +21 -0
- package/dist/chunks/chunk.5Z7YPAZI.js +21 -0
- package/dist/chunks/chunk.6LORUQTF.js +11 -0
- package/dist/chunks/chunk.6OHPTVAU.js +111 -0
- package/dist/chunks/chunk.6QBRHNIF.js +0 -0
- package/dist/chunks/chunk.6U7GE4EG.js +21 -0
- package/dist/chunks/chunk.6W5F5MYH.js +11 -0
- package/dist/chunks/chunk.6XIDN36Z.js +24 -0
- package/dist/chunks/chunk.74VPT7ZS.js +83 -0
- package/dist/chunks/chunk.7BU4A5YG.js +11 -0
- package/dist/chunks/chunk.7DGD2XVK.js +11 -0
- package/dist/chunks/chunk.7DVI5SGZ.js +293 -0
- package/dist/chunks/chunk.7FWXG35V.js +119 -0
- package/dist/chunks/chunk.7GSWZF3R.js +494 -0
- package/dist/chunks/chunk.7OE5OXEX.js +52 -0
- package/dist/chunks/chunk.7QAAX3EZ.js +11 -0
- package/dist/chunks/chunk.7RY6QRNG.js +59 -0
- package/dist/chunks/chunk.7SU4UORK.js +371 -0
- package/dist/chunks/chunk.7YK2NKMD.js +162 -0
- package/dist/chunks/chunk.AEFD6GGW.js +797 -0
- package/dist/chunks/chunk.ARQGNI2B.js +11 -0
- package/dist/chunks/chunk.AWXCV27K.js +93 -0
- package/dist/chunks/chunk.AX5VGNBE.js +75 -0
- package/dist/chunks/chunk.BKXHV6VB.js +21 -0
- package/dist/chunks/chunk.BNNPCWW4.js +11 -0
- package/dist/chunks/chunk.BOSE4AJ7.js +11 -0
- package/dist/chunks/chunk.BPQOHH5O.js +21 -0
- package/dist/chunks/chunk.BSVWCDU5.js +11 -0
- package/dist/chunks/chunk.BZELNFKK.js +291 -0
- package/dist/chunks/chunk.C222ASFU.js +21 -0
- package/dist/chunks/chunk.C7GLEWCW.js +11 -0
- package/dist/chunks/chunk.CBSVUDRQ.js +27 -0
- package/dist/chunks/chunk.CETG4ZAE.js +337 -0
- package/dist/chunks/chunk.CFACVCDT.js +25 -0
- package/dist/chunks/chunk.CK3RH23S.js +274 -0
- package/dist/chunks/chunk.CKLJH3H5.js +130 -0
- package/dist/chunks/chunk.CMXWEF4K.js +24 -0
- package/dist/chunks/chunk.CVMJMWRG.js +167 -0
- package/dist/chunks/chunk.CVYA7T6M.js +384 -0
- package/dist/chunks/chunk.CXLFIHVD.js +315 -0
- package/dist/chunks/chunk.DPFZEOGL.js +101 -0
- package/dist/chunks/chunk.DYSF3MT2.js +170 -0
- package/dist/chunks/chunk.EBWLLNIL.js +11 -0
- package/dist/chunks/chunk.EH5YF74Z.js +21 -0
- package/dist/chunks/chunk.EKYXWEBE.js +11 -0
- package/dist/chunks/chunk.ENGFIA3R.js +21 -0
- package/dist/chunks/chunk.EOPHVE4H.js +186 -0
- package/dist/chunks/chunk.EP6NJN7S.js +417 -0
- package/dist/chunks/chunk.EZVZXBXQ.js +24 -0
- package/dist/chunks/chunk.F7FNQ5YN.js +11 -0
- package/dist/chunks/chunk.FALOUKZO.js +259 -0
- package/dist/chunks/chunk.FFW55VXP.js +11 -0
- package/dist/chunks/chunk.FHWVZKBO.js +28 -0
- package/dist/chunks/chunk.FLP4DZLX.js +21 -0
- package/dist/chunks/chunk.FWMIQBLS.js +11 -0
- package/dist/chunks/chunk.G7IAEPI7.js +361 -0
- package/dist/chunks/chunk.G7RPBUJC.js +11 -0
- package/dist/chunks/chunk.GCZYBCE6.js +21 -0
- package/dist/chunks/chunk.GFFJXLSF.js +11 -0
- package/dist/chunks/chunk.GLHCLWHC.js +24 -0
- package/dist/chunks/chunk.GRY6X3GS.js +11 -0
- package/dist/chunks/chunk.GTIRGE4I.js +11 -0
- package/dist/chunks/chunk.H4X7SBFY.js +25 -0
- package/dist/chunks/chunk.HA5BTJ4F.js +175 -0
- package/dist/chunks/chunk.HC5B4YQJ.js +949 -0
- package/dist/chunks/chunk.HCVVX3UT.js +21 -0
- package/dist/chunks/chunk.HJYLGWT5.js +210 -0
- package/dist/chunks/chunk.HNESWAQM.js +11 -0
- package/dist/chunks/chunk.HP6BDTJU.js +21 -0
- package/dist/chunks/chunk.HUDXX3XK.js +28 -0
- package/dist/chunks/chunk.HUWYDCAV.js +25 -0
- package/dist/chunks/chunk.HVGOXH2K.js +87 -0
- package/dist/chunks/chunk.I23WDD5U.js +50 -0
- package/dist/chunks/chunk.I34FGIXH.js +45 -0
- package/dist/chunks/chunk.I37AVZUF.js +24 -0
- package/dist/chunks/chunk.I3FHHOIF.js +11 -0
- package/dist/chunks/chunk.I4F6APXV.js +11 -0
- package/dist/chunks/chunk.I4PBQHL3.js +147 -0
- package/dist/chunks/chunk.IJGD3Z6V.js +25 -0
- package/dist/chunks/chunk.IOGIHEAF.js +21 -0
- package/dist/chunks/chunk.J5RYNIJI.js +47 -0
- package/dist/chunks/chunk.J7RT2L5U.js +28 -0
- package/dist/chunks/chunk.JG7QJ5P7.js +11 -0
- package/dist/chunks/chunk.JGMMZOXV.js +116 -0
- package/dist/chunks/chunk.JJ2ZHCK7.js +24 -0
- package/dist/chunks/chunk.JJSDBCDL.js +24 -0
- package/dist/chunks/chunk.JLK32MK4.js +27 -0
- package/dist/chunks/chunk.JLOPYB4R.js +28 -0
- package/dist/chunks/chunk.JM3NMOQV.js +11 -0
- package/dist/chunks/chunk.JSJNUSHO.js +11 -0
- package/dist/chunks/chunk.JW5T4OYH.js +109 -0
- package/dist/chunks/chunk.JXTZ4CGT.js +24 -0
- package/dist/chunks/chunk.JZTEQUPS.js +100 -0
- package/dist/chunks/chunk.K7DRMGN7.js +11 -0
- package/dist/chunks/chunk.KMGPXVAU.js +168 -0
- package/dist/chunks/chunk.KUCVIE3T.js +90 -0
- package/dist/chunks/chunk.KZJTBZUK.js +67 -0
- package/dist/chunks/chunk.L3G777K5.js +21 -0
- package/dist/chunks/chunk.L3ZIE3M6.js +29 -0
- package/dist/chunks/chunk.L5KTFP54.js +11 -0
- package/dist/chunks/chunk.LJQ6PZAG.js +231 -0
- package/dist/chunks/chunk.LM6VXBG5.js +11 -0
- package/dist/chunks/chunk.LPM3FEEY.js +91 -0
- package/dist/chunks/chunk.LSFMYJRW.js +21 -0
- package/dist/chunks/chunk.LUDTW2OZ.js +11 -0
- package/dist/chunks/chunk.LVBOFYKS.js +120 -0
- package/dist/chunks/chunk.LZSWXXBT.js +28 -0
- package/dist/chunks/chunk.M7WDYKMS.js +21 -0
- package/dist/chunks/chunk.MCBNRYPV.js +73 -0
- package/dist/chunks/chunk.MF6MS3TQ.js +11 -0
- package/dist/chunks/chunk.MHMANAVS.js +108 -0
- package/dist/chunks/chunk.MI3M7R5Q.js +11 -0
- package/dist/chunks/chunk.MTCVEDBK.js +98 -0
- package/dist/chunks/chunk.MW5VVKJM.js +369 -0
- package/dist/chunks/chunk.MY3GNSET.js +189 -0
- package/dist/chunks/chunk.MYIGOB6X.js +24 -0
- package/dist/chunks/chunk.N3SJ75IN.js +181 -0
- package/dist/chunks/chunk.N4WPBYFA.js +54 -0
- package/dist/chunks/chunk.N74ZZFAH.js +26 -0
- package/dist/chunks/chunk.NGNGYKBL.js +117 -0
- package/dist/chunks/chunk.NLLZANVJ.js +11 -0
- package/dist/chunks/chunk.NTAMDSTW.js +121 -0
- package/dist/chunks/chunk.OCX4RLQ3.js +11 -0
- package/dist/chunks/chunk.OHFOZW2I.js +60 -0
- package/dist/chunks/chunk.OOQDFVOF.js +25 -0
- package/dist/chunks/chunk.OQNVUOJC.js +183 -0
- package/dist/chunks/chunk.OV4VB5DD.js +294 -0
- package/dist/chunks/chunk.OYHPCF5A.js +11 -0
- package/dist/chunks/chunk.P4OMHOT5.js +376 -0
- package/dist/chunks/chunk.PASTNL6A.js +11 -0
- package/dist/chunks/chunk.PB6TL5B2.js +25 -0
- package/dist/chunks/chunk.PDAF4KUD.js +134 -0
- package/dist/chunks/chunk.PMFWCHES.js +28 -0
- package/dist/chunks/chunk.POJDEU4P.js +11 -0
- package/dist/chunks/chunk.Q3NHZCR6.js +11 -0
- package/dist/chunks/chunk.QEKTPSXD.js +21 -0
- package/dist/chunks/chunk.QJFL2QKK.js +11 -0
- package/dist/chunks/chunk.QPUQ6QKT.js +21 -0
- package/dist/chunks/chunk.QPYSNJMK.js +11 -0
- package/dist/chunks/chunk.QRDAH72O.js +25 -0
- package/dist/chunks/chunk.QZ5SCWD4.js +11 -0
- package/dist/chunks/chunk.R5N74XD4.js +75 -0
- package/dist/chunks/chunk.RKE45MKZ.js +358 -0
- package/dist/chunks/chunk.RP4DZ3VC.js +397 -0
- package/dist/chunks/chunk.RVSUQ7V2.js +22 -0
- package/dist/chunks/chunk.SAC257ZY.js +151 -0
- package/dist/chunks/chunk.SEV3CNX7.js +11 -0
- package/dist/chunks/chunk.SFV64E5X.js +192 -0
- package/dist/chunks/chunk.SITRNNER.js +286 -0
- package/dist/chunks/chunk.SJKKTKCA.js +85 -0
- package/dist/chunks/chunk.SMDY62OK.js +25 -0
- package/dist/chunks/chunk.SNX253NU.js +21 -0
- package/dist/chunks/chunk.SQ7LGXI6.js +25 -0
- package/dist/chunks/chunk.SX5HRLZ6.js +21 -0
- package/dist/chunks/chunk.SZSOBJR7.js +11 -0
- package/dist/chunks/chunk.T4NCVZSW.js +11 -0
- package/dist/chunks/chunk.TENOPCST.js +126 -0
- package/dist/chunks/chunk.TF3IWFSX.js +26 -0
- package/dist/chunks/chunk.TLJBPCA2.js +311 -0
- package/dist/chunks/chunk.TMDUU76J.js +227 -0
- package/dist/chunks/chunk.TRQIEWVB.js +11 -0
- package/dist/chunks/chunk.U6WDY5S4.js +24 -0
- package/dist/chunks/chunk.UK2FXRFD.js +29 -0
- package/dist/chunks/chunk.UVL7C5UN.js +96 -0
- package/dist/chunks/chunk.UXGZKKIO.js +448 -0
- package/dist/chunks/chunk.UY6FDD5W.js +11 -0
- package/dist/chunks/chunk.UZFQHOYJ.js +24 -0
- package/dist/chunks/chunk.V4O2B7KU.js +74 -0
- package/dist/chunks/chunk.V5O7FRKE.js +24 -0
- package/dist/chunks/chunk.V6DW7BPE.js +63 -0
- package/dist/chunks/chunk.VC5GN5IO.js +11 -0
- package/dist/chunks/chunk.VFXMYHYZ.js +21 -0
- package/dist/chunks/chunk.VFYUZDBZ.js +11 -0
- package/dist/chunks/chunk.VIWFSEOK.js +454 -0
- package/dist/chunks/chunk.VMZXWIMR.js +35 -0
- package/dist/chunks/chunk.VQ5G4BHO.js +11 -0
- package/dist/chunks/chunk.W7HVG27A.js +11 -0
- package/dist/chunks/chunk.WK4NXGFN.js +813 -0
- package/dist/chunks/chunk.WM52THS3.js +22 -0
- package/dist/chunks/chunk.WQTJ57OT.js +22 -0
- package/dist/chunks/chunk.WRCWOPKG.js +33 -0
- package/dist/chunks/chunk.WTKH74WS.js +280 -0
- package/dist/chunks/chunk.WWG3PBTV.js +550 -0
- package/dist/chunks/chunk.WWWFM4HA.js +21 -0
- package/dist/chunks/chunk.WZCBQNPZ.js +113 -0
- package/dist/chunks/chunk.X75STXT7.js +152 -0
- package/dist/chunks/chunk.XCWRG3GG.js +21 -0
- package/dist/chunks/chunk.XFGX2LE5.js +27 -0
- package/dist/chunks/chunk.XGWFYJNE.js +434 -0
- package/dist/chunks/chunk.XLFD452Y.js +11 -0
- package/dist/chunks/chunk.XMQ2LSZT.js +247 -0
- package/dist/chunks/chunk.XTX7HR6N.js +29 -0
- package/dist/chunks/chunk.Y7HR6IDH.js +23 -0
- package/dist/chunks/chunk.YN53X4O7.js +11 -0
- package/dist/chunks/chunk.YOEKHXTG.js +26 -0
- package/dist/chunks/chunk.YUMX55DW.js +11 -0
- package/dist/chunks/chunk.Z5GW4PSK.js +11 -0
- package/dist/chunks/chunk.ZHKFTU4X.js +11 -0
- package/dist/chunks/chunk.ZNVGWYMG.js +29 -0
- package/dist/chunks/chunk.ZUZCNKCX.js +27 -0
- package/dist/components/alert/alert.component.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/animated-image/animated-image.component.js +4 -4
- package/dist/components/animated-image/animated-image.js +5 -5
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +3 -3
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.component.js +3 -3
- package/dist/components/badge/badge.js +4 -4
- package/dist/components/badge/badge.styles.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- 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 +9 -6
- package/dist/components/calendar/calendar.js +9 -6
- package/dist/components/card/card.component.js +3 -3
- package/dist/components/card/card.js +4 -4
- package/dist/components/card/card.styles.js +1 -1
- 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 +4 -4
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/color-picker/color-picker.component.js +12 -12
- package/dist/components/color-picker/color-picker.js +13 -13
- package/dist/components/copy-button/copy-button.component.js +6 -6
- package/dist/components/copy-button/copy-button.js +7 -7
- package/dist/components/datepicker/datepicker.component.js +12 -9
- package/dist/components/datepicker/datepicker.js +12 -9
- package/dist/components/details/details.component.js +4 -4
- package/dist/components/details/details.js +5 -5
- package/dist/components/details/details.styles.js +1 -1
- 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 +6 -6
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/drawer/drawer.styles.js +1 -1
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- 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 +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image-comparer/image-comparer.component.js +3 -3
- package/dist/components/image-comparer/image-comparer.js +4 -4
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +4 -4
- package/dist/components/input/input.js +5 -5
- 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-item/menu-item.styles.js +1 -1
- 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/option/option.component.js +4 -4
- package/dist/components/option/option.js +5 -5
- package/dist/components/option/option.styles.js +1 -1
- package/dist/components/pagination/custom-select.js +7 -0
- package/dist/components/pagination/pagination.component.js +18 -0
- package/dist/components/pagination/pagination.js +22 -0
- package/dist/components/pagination/pagination.styles.js +7 -0
- 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 +3 -3
- package/dist/components/radio/radio.js +4 -4
- 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 +3 -3
- package/dist/components/range/range.js +4 -4
- package/dist/components/rating/rating.component.js +3 -3
- package/dist/components/rating/rating.js +4 -4
- 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/gridstack.styles.js +7 -0
- package/dist/components/screen/screen.component.js +12 -0
- package/dist/components/screen/screen.js +13 -0
- package/dist/components/screen/screen.styles.js +7 -0
- package/dist/components/select/select.component.js +9 -9
- package/dist/components/select/select.js +10 -10
- package/dist/components/select/select.styles.js +1 -1
- 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/tab.styles.js +1 -1
- 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-group/tab-group.styles.js +1 -1
- 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 +6 -5
- package/dist/components/table/col-group.js +3 -1
- package/dist/components/table/const.js +9 -0
- package/dist/components/table/features/index.js +20 -0
- package/dist/components/table/features/row-filtering.js +7 -0
- package/dist/components/table/features/row-selection.js +3 -1
- package/dist/components/table/features/row-sorting.js +7 -0
- package/dist/components/table/head-table.js +49 -5
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +47 -13
- package/dist/components/table/table.js +48 -14
- package/dist/components/table/utils.js +10 -3
- package/dist/components/tag/tag.component.js +5 -5
- package/dist/components/tag/tag.js +6 -6
- package/dist/components/tag/tag.styles.js +1 -1
- package/dist/components/textarea/textarea.component.js +3 -3
- package/dist/components/textarea/textarea.js +4 -4
- package/dist/components/textarea/textarea.styles.js +1 -1
- package/dist/components/time-panel/time-panel.component.js +25 -0
- package/dist/components/time-panel/time-panel.js +29 -0
- package/dist/components/time-panel/time-panel.styles.js +7 -0
- package/dist/components/timepicker/timepicker.component.js +34 -0
- package/dist/components/timepicker/timepicker.js +38 -0
- package/dist/components/timepicker/timepicker.styles.js +7 -0
- package/dist/components/tooltip/tooltip.component.js +4 -4
- package/dist/components/tooltip/tooltip.js +5 -5
- package/dist/components/tooltip/tooltip.styles.js +1 -1
- 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 +5335 -4047
- package/dist/react/alert/index.js +7 -7
- package/dist/react/animated-image/index.js +5 -5
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/badge/index.js +4 -4
- package/dist/react/breadcrumb/index.js +4 -4
- 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 +4 -4
- package/dist/react/carousel/index.js +5 -5
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +5 -5
- package/dist/react/color-picker/index.js +13 -13
- package/dist/react/copy-button/index.js +7 -7
- package/dist/react/datepicker/index.js +13 -10
- 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 +7 -7
- package/dist/react/dropdown/index.js +4 -4
- 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 +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image-comparer/index.js +4 -4
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.js +241 -207
- package/dist/react/input/index.js +5 -5
- 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/option/index.js +5 -5
- package/dist/react/pagination/index.js +19 -0
- 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 +4 -4
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +4 -4
- package/dist/react/rating/index.js +4 -4
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/screen/index.js +13 -0
- package/dist/react/select/index.js +10 -10
- 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 +48 -14
- package/dist/react/tag/index.js +6 -6
- package/dist/react/textarea/index.js +4 -4
- package/dist/react/timepicker/index.js +35 -0
- package/dist/react/tooltip/index.js +5 -5
- 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 +208 -193
- package/dist/themes/dark.css +22 -1
- package/dist/themes/dark.styles.js +22 -1
- package/dist/themes/light.css +31 -7
- package/dist/themes/light.styles.js +31 -7
- package/dist/types/vue/index.d.ts +368 -197
- package/dist/utilities/spread.js +7 -0
- package/dist/vscode.html-custom-data.json +277 -170
- package/dist/web-types.json +685 -389
- package/package.json +4 -1
- package/cdn/chunks/chunk.23LEVUAD.js +0 -11
- package/cdn/chunks/chunk.2DQM7KR3.js +0 -33
- package/cdn/chunks/chunk.2LZSKJ2T.js +0 -11
- package/cdn/chunks/chunk.2MEQUOQT.js +0 -120
- package/cdn/chunks/chunk.2R5GUAS4.js +0 -93
- package/cdn/chunks/chunk.2ZRKTSMX.js +0 -11
- package/cdn/chunks/chunk.3AHSZRMI.js +0 -21
- package/cdn/chunks/chunk.3DQ7BNHZ.js +0 -11
- package/cdn/chunks/chunk.3GBNNACM.js +0 -28
- package/cdn/chunks/chunk.3IN3JGBF.js +0 -21
- package/cdn/chunks/chunk.3IRFJ4MS.js +0 -11
- package/cdn/chunks/chunk.3QRURD7I.js +0 -391
- package/cdn/chunks/chunk.3WDJGGPP.js +0 -298
- package/cdn/chunks/chunk.4BOWZB3Y.js +0 -302
- package/cdn/chunks/chunk.4MLXM2Q2.js +0 -21
- package/cdn/chunks/chunk.57GYZVBY.js +0 -21
- package/cdn/chunks/chunk.5BFPIXSL.js +0 -11
- package/cdn/chunks/chunk.5GSXGIFL.js +0 -11
- package/cdn/chunks/chunk.5RWZ7VI3.js +0 -244
- package/cdn/chunks/chunk.5SUMIOIU.js +0 -113
- package/cdn/chunks/chunk.622XCQBN.js +0 -21
- package/cdn/chunks/chunk.63IG2JBO.js +0 -186
- package/cdn/chunks/chunk.64HCJCNI.js +0 -255
- package/cdn/chunks/chunk.6MIC4EY5.js +0 -99
- package/cdn/chunks/chunk.6W7LTM2T.js +0 -11
- package/cdn/chunks/chunk.72WPILAC.js +0 -197
- package/cdn/chunks/chunk.7BCM4VPC.js +0 -1124
- package/cdn/chunks/chunk.7FB74Q7I.js +0 -24
- package/cdn/chunks/chunk.7JBGCRPU.js +0 -11
- package/cdn/chunks/chunk.7X3B4SI4.js +0 -11
- package/cdn/chunks/chunk.A4ELXI5A.js +0 -11
- package/cdn/chunks/chunk.A67DT75I.js +0 -156
- package/cdn/chunks/chunk.ADHO6CPR.js +0 -1990
- package/cdn/chunks/chunk.AKG4JRVD.js +0 -11
- package/cdn/chunks/chunk.AQPJESFM.js +0 -11
- package/cdn/chunks/chunk.ARG2AQCR.js +0 -95
- package/cdn/chunks/chunk.AVEHZ7BN.js +0 -25
- package/cdn/chunks/chunk.B6UMYXUN.js +0 -367
- package/cdn/chunks/chunk.BGNYIYEZ.js +0 -45
- package/cdn/chunks/chunk.BIPJBNSR.js +0 -11
- package/cdn/chunks/chunk.BOHUHHB2.js +0 -379
- package/cdn/chunks/chunk.BQM4EFTD.js +0 -586
- package/cdn/chunks/chunk.BQXFJOTS.js +0 -21
- package/cdn/chunks/chunk.BTJSQVOZ.js +0 -21
- package/cdn/chunks/chunk.BUARFHOC.js +0 -24
- package/cdn/chunks/chunk.BWGEM2LO.js +0 -216
- package/cdn/chunks/chunk.BYNKR6YM.js +0 -11
- package/cdn/chunks/chunk.BYXUKV4X.js +0 -336
- package/cdn/chunks/chunk.C2DY4TKR.js +0 -455
- package/cdn/chunks/chunk.C764HI4L.js +0 -24
- package/cdn/chunks/chunk.CAGGHZHZ.js +0 -11
- package/cdn/chunks/chunk.CEKMP3GY.js +0 -28
- package/cdn/chunks/chunk.CJIPDSAV.js +0 -29
- package/cdn/chunks/chunk.CLM7SJO5.js +0 -25
- package/cdn/chunks/chunk.CMIFVAA5.js +0 -75
- package/cdn/chunks/chunk.CMVBJIRG.js +0 -11
- package/cdn/chunks/chunk.D7DBWQOG.js +0 -185
- package/cdn/chunks/chunk.DEAKCJ66.js +0 -16
- package/cdn/chunks/chunk.DLXVTPNS.js +0 -979
- package/cdn/chunks/chunk.DNJTQ2Y7.js +0 -11
- package/cdn/chunks/chunk.DPQTAZXV.js +0 -11
- package/cdn/chunks/chunk.DR5M3QI5.js +0 -21
- package/cdn/chunks/chunk.DTUQJHP5.js +0 -42
- package/cdn/chunks/chunk.DYIBSNEG.js +0 -101
- package/cdn/chunks/chunk.E4IO3LPR.js +0 -24
- package/cdn/chunks/chunk.EFV3N7NN.js +0 -11
- package/cdn/chunks/chunk.EKVQOYN5.js +0 -11
- package/cdn/chunks/chunk.EN6IZDYW.js +0 -186
- package/cdn/chunks/chunk.EOLDHINP.js +0 -24
- package/cdn/chunks/chunk.EPCUFOKP.js +0 -11
- package/cdn/chunks/chunk.ET5BZX7S.js +0 -27
- package/cdn/chunks/chunk.EUIGQH5J.js +0 -11
- package/cdn/chunks/chunk.EYAZDNPG.js +0 -163
- package/cdn/chunks/chunk.FAKWCEXF.js +0 -186
- package/cdn/chunks/chunk.FANLTDNV.js +0 -279
- package/cdn/chunks/chunk.FRQZBLKJ.js +0 -75
- package/cdn/chunks/chunk.FSUIUKO5.js +0 -11
- package/cdn/chunks/chunk.FTIUIMQE.js +0 -11
- package/cdn/chunks/chunk.FWQLDDE5.js +0 -21
- package/cdn/chunks/chunk.FYQMGS2X.js +0 -114
- package/cdn/chunks/chunk.GAFRSKH4.js +0 -108
- package/cdn/chunks/chunk.GB5OWZJX.js +0 -119
- package/cdn/chunks/chunk.GCPKKFNW.js +0 -137
- package/cdn/chunks/chunk.GKTPCOT6.js +0 -11
- package/cdn/chunks/chunk.GMNTE57E.js +0 -267
- package/cdn/chunks/chunk.GMZTJAZL.js +0 -25
- package/cdn/chunks/chunk.GSV23YAG.js +0 -11
- package/cdn/chunks/chunk.H45CY7YS.js +0 -11
- package/cdn/chunks/chunk.H7PLVQKX.js +0 -821
- package/cdn/chunks/chunk.H7XCAV4K.js +0 -24
- package/cdn/chunks/chunk.HD2E6OHH.js +0 -49
- package/cdn/chunks/chunk.HFE55EF2.js +0 -39
- package/cdn/chunks/chunk.HJNGGHHJ.js +0 -11
- package/cdn/chunks/chunk.HPMATJAW.js +0 -94
- package/cdn/chunks/chunk.HSDLV7ZD.js +0 -26
- package/cdn/chunks/chunk.HYLVW7U7.js +0 -103
- package/cdn/chunks/chunk.I7NPEYYT.js +0 -158
- package/cdn/chunks/chunk.IAD2YVQN.js +0 -21
- package/cdn/chunks/chunk.IDZPASV6.js +0 -11
- package/cdn/chunks/chunk.IEBTQFLH.js +0 -21
- package/cdn/chunks/chunk.IHVTSIVV.js +0 -11
- package/cdn/chunks/chunk.IJVUBV4V.js +0 -97
- package/cdn/chunks/chunk.ILT347FT.js +0 -11
- package/cdn/chunks/chunk.IMHLNNT7.js +0 -100
- package/cdn/chunks/chunk.IPM7IFNY.js +0 -11
- package/cdn/chunks/chunk.IS33QEZD.js +0 -24
- package/cdn/chunks/chunk.IXQLNPRF.js +0 -26
- package/cdn/chunks/chunk.IY627F2O.js +0 -54
- package/cdn/chunks/chunk.J2JUWNCI.js +0 -115
- package/cdn/chunks/chunk.J2T3HKZH.js +0 -11
- package/cdn/chunks/chunk.JHJ32V5M.js +0 -11
- package/cdn/chunks/chunk.JHZUFAAR.js +0 -46
- package/cdn/chunks/chunk.JKACP3UT.js +0 -11
- package/cdn/chunks/chunk.JR6MLRGD.js +0 -402
- package/cdn/chunks/chunk.JU77O3AK.js +0 -27
- package/cdn/chunks/chunk.JVOPRJ6L.js +0 -11
- package/cdn/chunks/chunk.JX756U2P.js +0 -11
- package/cdn/chunks/chunk.JYYAJVMY.js +0 -27
- package/cdn/chunks/chunk.K2DR372Y.js +0 -67
- package/cdn/chunks/chunk.K2DTALJC.js +0 -501
- package/cdn/chunks/chunk.KPR25VNY.js +0 -11
- package/cdn/chunks/chunk.KUN2355C.js +0 -162
- package/cdn/chunks/chunk.KWKKCBZI.js +0 -21
- package/cdn/chunks/chunk.L344MXBL.js +0 -24
- package/cdn/chunks/chunk.LALNQTWY.js +0 -21
- package/cdn/chunks/chunk.LBBMCAAK.js +0 -11
- package/cdn/chunks/chunk.LFJBLFAF.js +0 -25
- package/cdn/chunks/chunk.LNXLFBJF.js +0 -25
- package/cdn/chunks/chunk.LNZZQLSD.js +0 -11
- package/cdn/chunks/chunk.LVLRI4FU.js +0 -153
- package/cdn/chunks/chunk.M25JFF4S.js +0 -11
- package/cdn/chunks/chunk.MENDJ3ES.js +0 -21
- package/cdn/chunks/chunk.MMN6BEAM.js +0 -1879
- package/cdn/chunks/chunk.MTNCCBBC.js +0 -127
- package/cdn/chunks/chunk.MXYQ2YHB.js +0 -127
- package/cdn/chunks/chunk.N46Z5XJ2.js +0 -28
- package/cdn/chunks/chunk.NFYJUZ72.js +0 -27
- package/cdn/chunks/chunk.NOOFLZZ3.js +0 -21
- package/cdn/chunks/chunk.NPBNFZCC.js +0 -352
- package/cdn/chunks/chunk.NRRGBRFQ.js +0 -25
- package/cdn/chunks/chunk.NTQAYOOB.js +0 -724
- package/cdn/chunks/chunk.OCNWVR4J.js +0 -236
- package/cdn/chunks/chunk.OUYYS2WY.js +0 -21
- package/cdn/chunks/chunk.OY5V3CPY.js +0 -33
- package/cdn/chunks/chunk.PG3KI7CV.js +0 -233
- package/cdn/chunks/chunk.PYGUMT6D.js +0 -25
- package/cdn/chunks/chunk.Q6EUYTT5.js +0 -11
- package/cdn/chunks/chunk.QCNRKOCR.js +0 -105
- package/cdn/chunks/chunk.QRCSQLDS.js +0 -21
- package/cdn/chunks/chunk.QVZCPPRX.js +0 -24
- package/cdn/chunks/chunk.R5VGZ4LD.js +0 -118
- package/cdn/chunks/chunk.R6B7NPKA.js +0 -11
- package/cdn/chunks/chunk.RBKDUVFD.js +0 -24
- package/cdn/chunks/chunk.RCZ3VAD5.js +0 -299
- package/cdn/chunks/chunk.REFJADYI.js +0 -29
- package/cdn/chunks/chunk.RLDNVYO6.js +0 -142
- package/cdn/chunks/chunk.RNXADPVA.js +0 -11
- package/cdn/chunks/chunk.S4WAIX7T.js +0 -21
- package/cdn/chunks/chunk.S7JPGFFL.js +0 -26
- package/cdn/chunks/chunk.SN2P3DPL.js +0 -11
- package/cdn/chunks/chunk.SNJ5TWRF.js +0 -24
- package/cdn/chunks/chunk.SPNXZ2JR.js +0 -11
- package/cdn/chunks/chunk.SUQHAKBQ.js +0 -11
- package/cdn/chunks/chunk.T2F5SLB3.js +0 -24
- package/cdn/chunks/chunk.T6FDWIJB.js +0 -28
- package/cdn/chunks/chunk.T6QOKWOR.js +0 -79
- package/cdn/chunks/chunk.TJTSA5R4.js +0 -82
- package/cdn/chunks/chunk.TLEAVCNN.js +0 -73
- package/cdn/chunks/chunk.TNBXYFZT.js +0 -291
- package/cdn/chunks/chunk.TSTTKLCU.js +0 -11
- package/cdn/chunks/chunk.TWATOU7Q.js +0 -87
- package/cdn/chunks/chunk.U2JDACQS.js +0 -123
- package/cdn/chunks/chunk.U3SRV2F4.js +0 -75
- package/cdn/chunks/chunk.U6LIZH2N.js +0 -258
- package/cdn/chunks/chunk.UG75OYIV.js +0 -21
- package/cdn/chunks/chunk.UGXEFRCT.js +0 -11
- package/cdn/chunks/chunk.UPXT4IT3.js +0 -55
- package/cdn/chunks/chunk.VCIOYUM7.js +0 -21
- package/cdn/chunks/chunk.VEIVN3WO.js +0 -25
- package/cdn/chunks/chunk.VG7IHWCP.js +0 -11
- package/cdn/chunks/chunk.VJH5TNQS.js +0 -11
- package/cdn/chunks/chunk.VKHUSJ7O.js +0 -25
- package/cdn/chunks/chunk.VM65EBLN.js +0 -302
- package/cdn/chunks/chunk.VNXQLD5E.js +0 -21
- package/cdn/chunks/chunk.VT5AKGJP.js +0 -11
- package/cdn/chunks/chunk.VV24KCRD.js +0 -292
- package/cdn/chunks/chunk.VVX2RMFN.js +0 -24
- package/cdn/chunks/chunk.W5YWNJ3F.js +0 -50
- package/cdn/chunks/chunk.WDULR4A5.js +0 -63
- package/cdn/chunks/chunk.WEXY47CC.js +0 -11
- package/cdn/chunks/chunk.WMKP2YBP.js +0 -346
- package/cdn/chunks/chunk.WOFTPMUN.js +0 -77
- package/cdn/chunks/chunk.WPAIOHRM.js +0 -36
- package/cdn/chunks/chunk.X2PCFGVF.js +0 -314
- package/cdn/chunks/chunk.XJMOUI5V.js +0 -11
- package/cdn/chunks/chunk.XK4LBXDT.js +0 -21
- package/cdn/chunks/chunk.XP2SN5TY.js +0 -28
- package/cdn/chunks/chunk.XQZ75PG6.js +0 -11
- package/cdn/chunks/chunk.Y5DKBB6S.js +0 -29
- package/cdn/chunks/chunk.YBDLYSR6.js +0 -11
- package/cdn/chunks/chunk.YCOYO5Q5.js +0 -29
- package/cdn/chunks/chunk.YO2RCZB4.js +0 -27
- package/cdn/chunks/chunk.YPCLW4PZ.js +0 -122
- package/cdn/chunks/chunk.YQCNCHZK.js +0 -2665
- package/cdn/chunks/chunk.YSDEXDWJ.js +0 -63
- package/cdn/chunks/chunk.YSZADQYN.js +0 -21
- package/cdn/chunks/chunk.YUBWOTKQ.js +0 -135
- package/cdn/chunks/chunk.Z67N6G2D.js +0 -11
- package/cdn/chunks/chunk.ZBHMCLJF.js +0 -49
- package/cdn/chunks/chunk.ZHDYZSPI.js +0 -361
- package/cdn/chunks/chunk.ZHRDFBUU.js +0 -390
- package/cdn/chunks/chunk.ZHXVLA3K.js +0 -11
- package/cdn/chunks/chunk.ZNVXAGZ3.js +0 -128
- package/dist/chunks/chunk.22LMB5ZP.js +0 -384
- package/dist/chunks/chunk.23ZAVB4X.js +0 -388
- package/dist/chunks/chunk.2FMGJK4E.js +0 -21
- package/dist/chunks/chunk.2MZ7OOZO.js +0 -11
- package/dist/chunks/chunk.2RFPHSI5.js +0 -11
- package/dist/chunks/chunk.2ZVVWOR6.js +0 -91
- package/dist/chunks/chunk.37BW2NNU.js +0 -11
- package/dist/chunks/chunk.3AUHAYQF.js +0 -11
- package/dist/chunks/chunk.3FSCZMKR.js +0 -11
- package/dist/chunks/chunk.3N56WNRQ.js +0 -33
- package/dist/chunks/chunk.3PLRXNOC.js +0 -21
- package/dist/chunks/chunk.425FPMNI.js +0 -21
- package/dist/chunks/chunk.44FLCGTL.js +0 -11
- package/dist/chunks/chunk.4FMSGOJY.js +0 -27
- package/dist/chunks/chunk.4IGL2EUS.js +0 -11
- package/dist/chunks/chunk.4J5RMZ66.js +0 -21
- package/dist/chunks/chunk.4NWKJATC.js +0 -274
- package/dist/chunks/chunk.4UW565YL.js +0 -21
- package/dist/chunks/chunk.552GI5TU.js +0 -21
- package/dist/chunks/chunk.5MTSKPDY.js +0 -11
- package/dist/chunks/chunk.5P75LPWV.js +0 -286
- package/dist/chunks/chunk.5PSER7UV.js +0 -27
- package/dist/chunks/chunk.5SW72M24.js +0 -813
- package/dist/chunks/chunk.5VOJ3AWX.js +0 -21
- package/dist/chunks/chunk.5XJCQVEK.js +0 -11
- package/dist/chunks/chunk.6AGGHDKH.js +0 -11
- package/dist/chunks/chunk.6DPE65CH.js +0 -119
- package/dist/chunks/chunk.6DTQ2RST.js +0 -28
- package/dist/chunks/chunk.6KE6SBMU.js +0 -182
- package/dist/chunks/chunk.6MPAPKHR.js +0 -21
- package/dist/chunks/chunk.6X2IWQFG.js +0 -80
- package/dist/chunks/chunk.6YT6UDXE.js +0 -134
- package/dist/chunks/chunk.7EXDF63O.js +0 -24
- package/dist/chunks/chunk.7GJXD3DO.js +0 -28
- package/dist/chunks/chunk.7NUBXZK7.js +0 -29
- package/dist/chunks/chunk.A5D6FTFY.js +0 -72
- package/dist/chunks/chunk.ACPYFT2E.js +0 -28
- package/dist/chunks/chunk.ALA4QTHP.js +0 -21
- package/dist/chunks/chunk.AWG34B4U.js +0 -11
- package/dist/chunks/chunk.BLOSLBZ6.js +0 -28
- package/dist/chunks/chunk.BRQKZQRB.js +0 -160
- package/dist/chunks/chunk.BWI5ZFZ5.js +0 -11
- package/dist/chunks/chunk.BZ2VS2FQ.js +0 -75
- package/dist/chunks/chunk.BZZRVFFY.js +0 -213
- package/dist/chunks/chunk.C2TY2O26.js +0 -100
- package/dist/chunks/chunk.C4P7XNPA.js +0 -25
- package/dist/chunks/chunk.CAYMZ4EW.js +0 -11
- package/dist/chunks/chunk.CCBQATE7.js +0 -25
- package/dist/chunks/chunk.CKWA764R.js +0 -11
- package/dist/chunks/chunk.CMME3D5G.js +0 -25
- package/dist/chunks/chunk.CNMNUZLG.js +0 -72
- package/dist/chunks/chunk.CSB2UAJC.js +0 -26
- package/dist/chunks/chunk.CY435P5S.js +0 -21
- package/dist/chunks/chunk.D2S5RSAL.js +0 -100
- package/dist/chunks/chunk.DEAKCJ66.js +0 -16
- package/dist/chunks/chunk.DFNJ6YO5.js +0 -22
- package/dist/chunks/chunk.DFQZR62N.js +0 -24
- package/dist/chunks/chunk.DJXNG3EF.js +0 -28
- package/dist/chunks/chunk.DOSUJ44B.js +0 -227
- package/dist/chunks/chunk.DWC5QG4U.js +0 -26
- package/dist/chunks/chunk.DWRJLFY6.js +0 -11
- package/dist/chunks/chunk.DY7Q3C4A.js +0 -293
- package/dist/chunks/chunk.ERF3RTMM.js +0 -11
- package/dist/chunks/chunk.EXPNO7Z4.js +0 -25
- package/dist/chunks/chunk.EXR7TTO7.js +0 -93
- package/dist/chunks/chunk.F2MBKXHT.js +0 -29
- package/dist/chunks/chunk.FBKBSND6.js +0 -42
- package/dist/chunks/chunk.FEWYZRCL.js +0 -11
- package/dist/chunks/chunk.FH5BAGDM.js +0 -11
- package/dist/chunks/chunk.FPZJLXNX.js +0 -183
- package/dist/chunks/chunk.FUZUDCOO.js +0 -11
- package/dist/chunks/chunk.FXXKMG2P.js +0 -91
- package/dist/chunks/chunk.FYVEEY2H.js +0 -11
- package/dist/chunks/chunk.G47LKPQO.js +0 -21
- package/dist/chunks/chunk.G5RKA5HF.js +0 -124
- package/dist/chunks/chunk.G7EHMN5V.js +0 -11
- package/dist/chunks/chunk.GW7OPBRP.js +0 -21
- package/dist/chunks/chunk.GZ3345ZF.js +0 -59
- package/dist/chunks/chunk.H27LJJR5.js +0 -42
- package/dist/chunks/chunk.H2HGAU4C.js +0 -11
- package/dist/chunks/chunk.H4OCEP76.js +0 -25
- package/dist/chunks/chunk.HBBG247C.js +0 -11
- package/dist/chunks/chunk.HIFL5MTW.js +0 -11
- package/dist/chunks/chunk.HRAFWQWD.js +0 -113
- package/dist/chunks/chunk.HUI4WJKN.js +0 -105
- package/dist/chunks/chunk.HV7LH2XE.js +0 -73
- package/dist/chunks/chunk.HZY36HHO.js +0 -181
- package/dist/chunks/chunk.I56YA2FE.js +0 -109
- package/dist/chunks/chunk.I5WFQYZE.js +0 -11
- package/dist/chunks/chunk.ICQBJXN3.js +0 -11
- package/dist/chunks/chunk.IE4TYRVL.js +0 -11
- package/dist/chunks/chunk.IFNZ32RQ.js +0 -25
- package/dist/chunks/chunk.IGTQGR6B.js +0 -63
- package/dist/chunks/chunk.IJKSR74B.js +0 -315
- package/dist/chunks/chunk.INDYAKUU.js +0 -45
- package/dist/chunks/chunk.IO6GTQTU.js +0 -21
- package/dist/chunks/chunk.J5VWABYY.js +0 -90
- package/dist/chunks/chunk.JK5NL6H3.js +0 -50
- package/dist/chunks/chunk.JZD6EXKN.js +0 -11
- package/dist/chunks/chunk.K32TBGQR.js +0 -337
- package/dist/chunks/chunk.KBYTZHEC.js +0 -259
- package/dist/chunks/chunk.KE2QIWDZ.js +0 -192
- package/dist/chunks/chunk.KMDC56K4.js +0 -11
- package/dist/chunks/chunk.KMYFAKWZ.js +0 -550
- package/dist/chunks/chunk.KQLHZWQ7.js +0 -25
- package/dist/chunks/chunk.KQS4F4RW.js +0 -22
- package/dist/chunks/chunk.KTFDDZEN.js +0 -27
- package/dist/chunks/chunk.KUQYGN2L.js +0 -113
- package/dist/chunks/chunk.KV3DKCCD.js +0 -11
- package/dist/chunks/chunk.KZJNDGFO.js +0 -159
- package/dist/chunks/chunk.L3HJRGSC.js +0 -85
- package/dist/chunks/chunk.LBKZB3BB.js +0 -11
- package/dist/chunks/chunk.LEQAHGT3.js +0 -1123
- package/dist/chunks/chunk.LJE7KQQL.js +0 -24
- package/dist/chunks/chunk.LNJ4HBRW.js +0 -11
- package/dist/chunks/chunk.LQPRP3BV.js +0 -371
- package/dist/chunks/chunk.LUZBSSAH.js +0 -280
- package/dist/chunks/chunk.LWFN7XDP.js +0 -135
- package/dist/chunks/chunk.LZCI2IZ7.js +0 -24
- package/dist/chunks/chunk.M23X7ZHU.js +0 -11
- package/dist/chunks/chunk.M7K53O4E.js +0 -21
- package/dist/chunks/chunk.MB2BGI3T.js +0 -311
- package/dist/chunks/chunk.MCQ3MIFP.js +0 -21
- package/dist/chunks/chunk.MT7VKMYW.js +0 -493
- package/dist/chunks/chunk.MWB25UWL.js +0 -11
- package/dist/chunks/chunk.MXD5MH5O.js +0 -11
- package/dist/chunks/chunk.NC5OWGIQ.js +0 -11
- package/dist/chunks/chunk.NFUAPOOQ.js +0 -24
- package/dist/chunks/chunk.NOWJUAPU.js +0 -122
- package/dist/chunks/chunk.O37GRY54.js +0 -67
- package/dist/chunks/chunk.O7FCHNBV.js +0 -24
- package/dist/chunks/chunk.OFLRRM34.js +0 -21
- package/dist/chunks/chunk.OJECNAFS.js +0 -11
- package/dist/chunks/chunk.OOCI6WMY.js +0 -97
- package/dist/chunks/chunk.OW7F7LI7.js +0 -231
- package/dist/chunks/chunk.OX23FNIL.js +0 -21
- package/dist/chunks/chunk.PHKH7OCN.js +0 -11
- package/dist/chunks/chunk.PIMYNUWJ.js +0 -26
- package/dist/chunks/chunk.PN7WYPLJ.js +0 -949
- package/dist/chunks/chunk.PVSB7573.js +0 -11
- package/dist/chunks/chunk.PYJTGWJI.js +0 -11
- package/dist/chunks/chunk.PYPURIG4.js +0 -126
- package/dist/chunks/chunk.Q2JWMPGU.js +0 -11
- package/dist/chunks/chunk.QMFGY2QT.js +0 -45
- package/dist/chunks/chunk.QNQR32EM.js +0 -52
- package/dist/chunks/chunk.QOHGG35L.js +0 -11
- package/dist/chunks/chunk.QUMJEIU5.js +0 -21
- package/dist/chunks/chunk.QXJEFE7H.js +0 -11
- package/dist/chunks/chunk.ROFEO45L.js +0 -25
- package/dist/chunks/chunk.RPKIOXBP.js +0 -11
- package/dist/chunks/chunk.RTBKCEHA.js +0 -11
- package/dist/chunks/chunk.RXKXJ2SA.js +0 -397
- package/dist/chunks/chunk.S57JXMIN.js +0 -11
- package/dist/chunks/chunk.S6WWKWOZ.js +0 -11
- package/dist/chunks/chunk.SLQ3TLSD.js +0 -11
- package/dist/chunks/chunk.SMV2BLGG.js +0 -24
- package/dist/chunks/chunk.SO7CGB7F.js +0 -11
- package/dist/chunks/chunk.SSIK4ZGV.js +0 -291
- package/dist/chunks/chunk.T45WUXF7.js +0 -11
- package/dist/chunks/chunk.TDYDKTQ6.js +0 -11
- package/dist/chunks/chunk.TEEYQFIV.js +0 -29
- package/dist/chunks/chunk.TKM2LWRJ.js +0 -24
- package/dist/chunks/chunk.TNMOEHS2.js +0 -294
- package/dist/chunks/chunk.UPHI7XHQ.js +0 -147
- package/dist/chunks/chunk.URUWFFVY.js +0 -75
- package/dist/chunks/chunk.V2OL7VMD.js +0 -120
- package/dist/chunks/chunk.V5S6DIWQ.js +0 -24
- package/dist/chunks/chunk.VKZADIVB.js +0 -34
- package/dist/chunks/chunk.W3F2ZIUM.js +0 -25
- package/dist/chunks/chunk.W45PEBK2.js +0 -29
- package/dist/chunks/chunk.W65XZQUC.js +0 -21
- package/dist/chunks/chunk.WHRP6GOV.js +0 -27
- package/dist/chunks/chunk.WIZKJV2W.js +0 -11
- package/dist/chunks/chunk.WQC6OWUE.js +0 -96
- package/dist/chunks/chunk.WS5RHS4G.js +0 -11
- package/dist/chunks/chunk.XF4NXZUN.js +0 -60
- package/dist/chunks/chunk.XJMVHGGE.js +0 -11
- package/dist/chunks/chunk.XJU7WU2G.js +0 -241
- package/dist/chunks/chunk.XLKWO55H.js +0 -21
- package/dist/chunks/chunk.XMAMNYGV.js +0 -117
- package/dist/chunks/chunk.XNOUITPX.js +0 -349
- package/dist/chunks/chunk.XPU5YU3S.js +0 -111
- package/dist/chunks/chunk.XRG4AMUL.js +0 -448
- package/dist/chunks/chunk.XU4SWNZ5.js +0 -11
- package/dist/chunks/chunk.XUHKT4XR.js +0 -361
- package/dist/chunks/chunk.XWHXWF67.js +0 -180
- package/dist/chunks/chunk.Y2LLE55K.js +0 -247
- package/dist/chunks/chunk.Y3JGTJDM.js +0 -21
- package/dist/chunks/chunk.Y7D4ZNRS.js +0 -21
- package/dist/chunks/chunk.Y7NL3JM7.js +0 -11
- package/dist/chunks/chunk.YFUR5BLL.js +0 -96
- package/dist/chunks/chunk.YHRMKFU2.js +0 -417
- package/dist/chunks/chunk.YOF7YCGP.js +0 -25
- package/dist/chunks/chunk.YTIFDWTT.js +0 -24
- package/dist/chunks/chunk.YY5HDA3O.js +0 -21
- package/dist/chunks/chunk.Z2OSGQYG.js +0 -151
- package/dist/chunks/chunk.ZDNHA3FE.js +0 -116
- package/dist/chunks/chunk.ZFAPC5IL.js +0 -11
- package/dist/chunks/chunk.ZNPUJHGL.js +0 -11
- package/dist/chunks/chunk.ZO4ROWAE.js +0 -26
- package/dist/chunks/chunk.ZQBGF74C.js +0 -24
- package/dist/chunks/chunk.ZU34TALF.js +0 -11
|
@@ -0,0 +1,949 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SlVisuallyHidden
|
|
3
|
+
} from "./chunk.RVSUQ7V2.js";
|
|
4
|
+
import {
|
|
5
|
+
drag
|
|
6
|
+
} from "./chunk.ESELY2US.js";
|
|
7
|
+
import {
|
|
8
|
+
SlDropdown
|
|
9
|
+
} from "./chunk.CVYA7T6M.js";
|
|
10
|
+
import {
|
|
11
|
+
SlInput
|
|
12
|
+
} from "./chunk.7GSWZF3R.js";
|
|
13
|
+
import {
|
|
14
|
+
color_picker_styles_default
|
|
15
|
+
} from "./chunk.O6CEROC7.js";
|
|
16
|
+
import {
|
|
17
|
+
defaultValue
|
|
18
|
+
} from "./chunk.GI7VDIWX.js";
|
|
19
|
+
import {
|
|
20
|
+
clamp
|
|
21
|
+
} from "./chunk.HF7GESMZ.js";
|
|
22
|
+
import {
|
|
23
|
+
SlButtonGroup
|
|
24
|
+
} from "./chunk.LPM3FEEY.js";
|
|
25
|
+
import {
|
|
26
|
+
SlButton
|
|
27
|
+
} from "./chunk.7DVI5SGZ.js";
|
|
28
|
+
import {
|
|
29
|
+
FormControlController
|
|
30
|
+
} from "./chunk.3RPBFEDE.js";
|
|
31
|
+
import {
|
|
32
|
+
LocalizeController
|
|
33
|
+
} from "./chunk.6CTB5ZDJ.js";
|
|
34
|
+
import {
|
|
35
|
+
SlIcon
|
|
36
|
+
} from "./chunk.N3SJ75IN.js";
|
|
37
|
+
import {
|
|
38
|
+
watch
|
|
39
|
+
} from "./chunk.GMYPQTFK.js";
|
|
40
|
+
import {
|
|
41
|
+
component_styles_default
|
|
42
|
+
} from "./chunk.TUVJKY7S.js";
|
|
43
|
+
import {
|
|
44
|
+
ShoelaceElement
|
|
45
|
+
} from "./chunk.UVL7C5UN.js";
|
|
46
|
+
import {
|
|
47
|
+
__decorateClass
|
|
48
|
+
} from "./chunk.KAW7D32O.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
|
+
};
|