@kdcloudjs/shoelace 1.0.20 → 1.0.22
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.2CM45OPI.js +11 -0
- package/cdn/chunks/chunk.2M2IEZMJ.js +11 -0
- package/cdn/chunks/chunk.2YWTCW7W.js +11 -0
- package/cdn/chunks/chunk.2ZQOLEDC.js +11 -0
- package/cdn/chunks/chunk.3YYDPUTT.js +11 -0
- package/cdn/chunks/chunk.3ZDUMADR.js +358 -0
- package/cdn/chunks/chunk.3ZKKS3GH.js +21 -0
- package/cdn/chunks/chunk.42RSWJ72.js +21 -0
- package/cdn/chunks/chunk.4D35RY2E.js +21 -0
- package/cdn/chunks/chunk.4EVM3UF2.js +314 -0
- package/cdn/chunks/chunk.4STNX3YX.js +2953 -0
- package/cdn/chunks/chunk.5A2TQWJT.js +21 -0
- package/cdn/chunks/chunk.5DMVBFON.js +11 -0
- package/cdn/chunks/chunk.5E6J5ERA.js +113 -0
- package/cdn/chunks/chunk.5YMVI36Y.js +25 -0
- package/cdn/chunks/chunk.6APO5EBS.js +21 -0
- package/cdn/chunks/chunk.6BATQ6LY.js +11 -0
- package/cdn/chunks/chunk.6LEXUZ6W.js +118 -0
- package/cdn/chunks/chunk.6Z2NBGGA.js +346 -0
- package/cdn/chunks/chunk.7JIELPQI.js +29 -0
- package/cdn/chunks/chunk.7L6FJHOX.js +49 -0
- package/cdn/chunks/chunk.7M36RZAW.js +21 -0
- package/cdn/chunks/chunk.7NSBGUZO.js +216 -0
- package/cdn/chunks/chunk.7NTP4M3K.js +11 -0
- package/cdn/chunks/chunk.7WVYHJ3U.js +24 -0
- package/cdn/chunks/chunk.AJ6JKIU6.js +313 -0
- package/cdn/chunks/chunk.AJTTR72H.js +11 -0
- package/cdn/chunks/chunk.ALOIJIYN.js +29 -0
- package/cdn/chunks/chunk.ASTKIYOQ.js +5845 -0
- package/cdn/chunks/chunk.AUCKEGQD.js +53 -0
- package/cdn/chunks/chunk.AVIQ7AOD.js +336 -0
- package/cdn/chunks/chunk.B32KJU7E.js +58 -0
- package/cdn/chunks/chunk.B4VA5KO3.js +26 -0
- package/cdn/chunks/chunk.B5CEMB6B.js +114 -0
- package/cdn/chunks/chunk.BDLEZ22C.js +24 -0
- package/cdn/chunks/chunk.BEJDHOLO.js +11 -0
- package/cdn/chunks/chunk.BMTOC3GS.js +135 -0
- package/cdn/chunks/chunk.BMX6WZ5W.js +21 -0
- package/cdn/chunks/chunk.BOZ5C257.js +27 -0
- package/cdn/chunks/chunk.BQMHXX5Y.js +11 -0
- package/cdn/chunks/chunk.BWJJLA4R.js +11 -0
- package/cdn/chunks/chunk.BXULK73O.js +11 -0
- package/cdn/chunks/chunk.BYCZOE7M.js +11 -0
- package/cdn/chunks/chunk.BYNG7O4M.js +21 -0
- package/cdn/chunks/chunk.C2XSG2BT.js +82 -0
- package/cdn/chunks/chunk.CD3NR5KZ.js +21 -0
- package/cdn/chunks/chunk.CFQDN24E.js +11 -0
- package/cdn/chunks/chunk.CIBKWBQG.js +11 -0
- package/cdn/chunks/chunk.CIVWJFPJ.js +21 -0
- package/cdn/chunks/chunk.CTDWKH5S.js +11 -0
- package/cdn/chunks/chunk.CZXR5GQR.js +302 -0
- package/cdn/chunks/chunk.D4HH4ARG.js +1925 -0
- package/cdn/chunks/chunk.D6ASVSND.js +21 -0
- package/cdn/chunks/chunk.D6ZBEJWY.js +271 -0
- package/cdn/chunks/chunk.D7RBRGHN.js +11 -0
- package/cdn/chunks/chunk.DIIT24M3.js +11 -0
- package/cdn/chunks/chunk.DN6ULTYY.js +11 -0
- package/cdn/chunks/chunk.DNKBCPZM.js +24 -0
- package/cdn/chunks/chunk.DVVJN2I4.js +402 -0
- package/cdn/chunks/chunk.DW2A25GC.js +21 -0
- package/cdn/chunks/chunk.DWTWP5TK.js +510 -0
- package/cdn/chunks/chunk.E3NXW5FC.js +54 -0
- package/cdn/chunks/chunk.E6E5QBVB.js +11 -0
- package/cdn/chunks/chunk.E6HYHMAO.js +67 -0
- package/cdn/chunks/chunk.EPRQOZJV.js +120 -0
- package/cdn/chunks/chunk.EQRUE6HF.js +29 -0
- package/cdn/chunks/chunk.ESPY75AW.js +11 -0
- package/cdn/chunks/chunk.ET5B4S6F.js +455 -0
- package/cdn/chunks/chunk.EU2ML75I.js +158 -0
- package/cdn/chunks/chunk.EYJ6YHOV.js +28 -0
- package/cdn/chunks/chunk.F6SRH2TM.js +11 -0
- package/cdn/chunks/chunk.FJUDJGJY.js +11 -0
- package/cdn/chunks/chunk.FN5PB4Q3.js +11 -0
- package/cdn/chunks/chunk.FSL5GL6F.js +21 -0
- package/cdn/chunks/chunk.G25QQBJO.js +343 -0
- package/cdn/chunks/chunk.GDCM5KES.js +11 -0
- package/cdn/chunks/chunk.GDMHZY7D.js +299 -0
- package/cdn/chunks/chunk.GFGMIJRX.js +11 -0
- package/cdn/chunks/chunk.GJIWNWGD.js +235 -0
- package/cdn/chunks/chunk.GPV5OAV7.js +137 -0
- package/cdn/chunks/chunk.GQ6AEHMV.js +28 -0
- package/cdn/chunks/chunk.GVTEYK4N.js +7313 -0
- package/cdn/chunks/chunk.GWNNWDEA.js +11 -0
- package/cdn/chunks/chunk.H325IBML.js +11 -0
- package/cdn/chunks/chunk.H5D7466W.js +27 -0
- package/cdn/chunks/chunk.H5IFYSMF.js +11 -0
- package/cdn/chunks/chunk.HA4FKTFE.js +21 -0
- package/cdn/chunks/chunk.HJVCK55J.js +93 -0
- package/cdn/chunks/chunk.HJVLOY5X.js +335 -0
- package/cdn/chunks/chunk.HLFDOO43.js +24 -0
- package/cdn/chunks/chunk.HO2XTUD6.js +11 -0
- package/cdn/chunks/chunk.HRWFS3OO.js +233 -0
- package/cdn/chunks/chunk.HSMD375X.js +75 -0
- package/cdn/chunks/chunk.HU2TM4BN.js +11 -0
- package/cdn/chunks/chunk.I3DBIRF3.js +21 -0
- package/cdn/chunks/chunk.ICOEO3FS.js +49 -0
- package/cdn/chunks/chunk.IIPVWFCF.js +24 -0
- package/cdn/chunks/chunk.IQBUHVAQ.js +28 -0
- package/cdn/chunks/chunk.JE3G4PFV.js +11 -0
- package/cdn/chunks/chunk.JPNFGHFI.js +24 -0
- package/cdn/chunks/chunk.JTVJZDDS.js +335 -0
- package/cdn/chunks/chunk.JXQ2W4PK.js +1129 -0
- package/cdn/chunks/chunk.K2HS577V.js +25 -0
- package/cdn/chunks/chunk.KA2SALVR.js +25 -0
- package/cdn/chunks/chunk.KG7UNBFJ.js +24 -0
- package/cdn/chunks/chunk.KGDNX54L.js +11 -0
- package/cdn/chunks/chunk.KI4WN4VI.js +26 -0
- package/cdn/chunks/chunk.KIZNTB2O.js +219 -0
- package/cdn/chunks/chunk.KLZF7VBM.js +11 -0
- package/cdn/chunks/chunk.KNX5YZUV.js +11 -0
- package/cdn/chunks/chunk.KSNF2ZEA.js +11 -0
- package/cdn/chunks/chunk.KVE5R2BD.js +29 -0
- package/cdn/chunks/chunk.KVPYGLL3.js +27 -0
- package/cdn/chunks/chunk.KWRLMHDC.js +153 -0
- package/cdn/chunks/chunk.L4KUQW46.js +122 -0
- package/cdn/chunks/chunk.L7OMP3VD.js +236 -0
- package/cdn/chunks/chunk.LA3NAGA5.js +142 -0
- package/cdn/chunks/chunk.LBPBKZBP.js +21 -0
- package/cdn/chunks/chunk.LCY7JOBC.js +11 -0
- package/cdn/chunks/chunk.LEF7GSQ3.js +11 -0
- package/cdn/chunks/chunk.LFNFCZYE.js +276 -0
- package/cdn/chunks/chunk.LO7W7GOI.js +11 -0
- package/cdn/chunks/chunk.LPL4SGGY.js +11 -0
- package/cdn/chunks/chunk.LQI6ARO6.js +25 -0
- package/cdn/chunks/chunk.LTGCMLCD.js +11 -0
- package/cdn/chunks/chunk.LXDBQVSO.js +24 -0
- package/cdn/chunks/chunk.M4CWWPE2.js +21 -0
- package/cdn/chunks/chunk.MIY74YCU.js +1990 -0
- package/cdn/chunks/chunk.MVYBNIJZ.js +167 -0
- package/cdn/chunks/chunk.MWGLVFPI.js +28 -0
- package/cdn/chunks/chunk.N7RAIOQ7.js +11 -0
- package/cdn/chunks/chunk.NO2C7C24.js +103 -0
- package/cdn/chunks/chunk.NROU7XSM.js +11 -0
- package/cdn/chunks/chunk.NXAMED34.js +11 -0
- package/cdn/chunks/chunk.O6X46HH6.js +25 -0
- package/cdn/chunks/chunk.OASEKQXW.js +515 -0
- package/cdn/chunks/chunk.OOQAR74T.js +21 -0
- package/cdn/chunks/chunk.OPFUW64T.js +431 -0
- package/cdn/chunks/chunk.OZ26VFTF.js +11 -0
- package/cdn/chunks/chunk.OZVW34JQ.js +283 -0
- package/cdn/chunks/chunk.OZYOLL5P.js +11 -0
- package/cdn/chunks/chunk.P7CBHBNG.js +127 -0
- package/cdn/chunks/chunk.PGEDAEWE.js +24 -0
- package/cdn/chunks/chunk.PIEEG6RN.js +25 -0
- package/cdn/chunks/chunk.PKFDBOJJ.js +24 -0
- package/cdn/chunks/chunk.PZWKMKW6.js +11 -0
- package/cdn/chunks/chunk.QGKC2OCD.js +27 -0
- package/cdn/chunks/chunk.QHIT35AP.js +11 -0
- package/cdn/chunks/chunk.QIVMITAD.js +191 -0
- package/cdn/chunks/chunk.QLUS4PGD.js +26 -0
- package/cdn/chunks/chunk.QMTD3TWA.js +79 -0
- package/cdn/chunks/chunk.QUH25DPS.js +28 -0
- package/cdn/chunks/chunk.R3Z6N7GM.js +556 -0
- package/cdn/chunks/chunk.R6KYWG73.js +27 -0
- package/cdn/chunks/chunk.RET6RZGD.js +197 -0
- package/cdn/chunks/chunk.RG266O2T.js +724 -0
- package/cdn/chunks/chunk.RGDTGPSS.js +27 -0
- package/cdn/chunks/chunk.RGZJVHRH.js +25 -0
- package/cdn/chunks/chunk.RJP2ALSI.js +21 -0
- package/cdn/chunks/chunk.RLAYFIJD.js +11 -0
- package/cdn/chunks/chunk.RLIYLQLZ.js +50 -0
- package/cdn/chunks/chunk.RSMEU224.js +21 -0
- package/cdn/chunks/chunk.RSSCVLWU.js +26 -0
- package/cdn/chunks/chunk.RTUWPT6S.js +25 -0
- package/cdn/chunks/chunk.RV5GNJLC.js +586 -0
- package/cdn/chunks/chunk.RWCMUWT4.js +183 -0
- package/cdn/chunks/chunk.RXMX25Y3.js +11 -0
- package/cdn/chunks/chunk.S6CAFGAM.js +77 -0
- package/cdn/chunks/chunk.SDREWGD2.js +822 -0
- package/cdn/chunks/chunk.SGK6G2DX.js +216 -0
- package/cdn/chunks/chunk.SI3ULW5R.js +33 -0
- package/cdn/chunks/chunk.SPES5DKU.js +255 -0
- package/cdn/chunks/chunk.T2ZK3YNV.js +11 -0
- package/cdn/chunks/chunk.T7LPNB6G.js +186 -0
- package/cdn/chunks/chunk.THV7LDP3.js +11 -0
- package/cdn/chunks/chunk.TMXZV6I4.js +95 -0
- package/cdn/chunks/chunk.TNV7E3UH.js +292 -0
- package/cdn/chunks/chunk.TQXRAKUV.js +11 -0
- package/cdn/chunks/chunk.TV44OHUA.js +11 -0
- package/cdn/chunks/chunk.U2GLC7D6.js +21 -0
- package/cdn/chunks/chunk.U3EW3XKK.js +21 -0
- package/cdn/chunks/chunk.U7KQXLQK.js +367 -0
- package/cdn/chunks/chunk.UA3YBJZB.js +21 -0
- package/cdn/chunks/chunk.UDMNF7NJ.js +24 -0
- package/cdn/chunks/chunk.UGCLQAJF.js +1244 -0
- package/cdn/chunks/chunk.UQ5GY3VQ.js +42 -0
- package/cdn/chunks/chunk.UV45CWCU.js +21 -0
- package/cdn/chunks/chunk.V3YBAXL2.js +25 -0
- package/cdn/chunks/chunk.V7SFPY3Z.js +79 -0
- package/cdn/chunks/chunk.VA5SKNTX.js +97 -0
- package/cdn/chunks/chunk.VCD2CINA.js +24 -0
- package/cdn/chunks/chunk.VFRIFLHP.js +11 -0
- package/cdn/chunks/chunk.VJQNQR2N.js +36 -0
- package/cdn/chunks/chunk.VPWKT654.js +21 -0
- package/cdn/chunks/chunk.VQNHHWLA.js +24 -0
- package/cdn/chunks/chunk.VVQNTHGV.js +11 -0
- package/cdn/chunks/chunk.VZL4OYDP.js +28 -0
- package/cdn/chunks/chunk.W5P4WCWF.js +63 -0
- package/cdn/chunks/chunk.WID27ZVI.js +87 -0
- package/cdn/chunks/chunk.WY4T66P4.js +379 -0
- package/cdn/chunks/chunk.X47JS3TQ.js +11 -0
- package/cdn/chunks/chunk.X4AF572Z.js +11 -0
- package/cdn/chunks/chunk.X5L42NVW.js +11 -0
- package/cdn/chunks/chunk.X75W4SZN.js +279 -0
- package/cdn/chunks/chunk.XFF7N2RV.js +21 -0
- package/cdn/chunks/chunk.XKN7ML6G.js +11 -0
- package/cdn/chunks/chunk.XO74QCLQ.js +391 -0
- package/cdn/chunks/chunk.Y2P6YYQA.js +131 -0
- package/cdn/chunks/chunk.YDXTT57X.js +11 -0
- package/cdn/chunks/chunk.YK4VHZQU.js +24 -0
- package/cdn/chunks/chunk.YKZYUDV3.js +11 -0
- package/cdn/chunks/chunk.Z7Z5D2TF.js +11 -0
- package/cdn/chunks/chunk.ZA2GDZ2E.js +291 -0
- package/cdn/chunks/chunk.ZMQACYT2.js +24 -0
- package/cdn/chunks/chunk.ZMQEXK2B.js +583 -0
- package/cdn/chunks/chunk.ZNZBBCRH.js +27 -0
- package/cdn/chunks/chunk.ZSLM3NGU.js +73 -0
- package/cdn/chunks/chunk.ZVOFPK6X.js +11 -0
- package/cdn/components/alert/alert.component.js +4 -4
- package/cdn/components/alert/alert.js +5 -5
- package/cdn/components/animated-image/animated-image.component.js +3 -3
- package/cdn/components/animated-image/animated-image.js +4 -4
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +4 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +4 -4
- package/cdn/components/button/button.js +5 -5
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/calendar/calendar.component.js +6 -6
- package/cdn/components/calendar/calendar.js +6 -6
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +3 -3
- package/cdn/components/carousel/carousel.js +4 -4
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +3 -3
- package/cdn/components/checkbox/checkbox.js +4 -4
- package/cdn/components/color-picker/color-picker.component.js +14 -14
- package/cdn/components/color-picker/color-picker.js +15 -15
- package/cdn/components/copy-button/copy-button.component.js +5 -5
- package/cdn/components/copy-button/copy-button.js +6 -6
- package/cdn/components/date-panel/date-panel.component.js +10 -10
- package/cdn/components/date-panel/date-panel.js +10 -10
- package/cdn/components/date-panel/date-panel.styles.js +1 -1
- package/cdn/components/datepicker/datepicker.component.js +16 -16
- package/cdn/components/datepicker/datepicker.js +16 -16
- package/cdn/components/daterange/daterange.component.js +9 -9
- package/cdn/components/daterange/daterange.js +10 -10
- package/cdn/components/daterange/daterange.styles.js +1 -1
- package/cdn/components/details/details.component.js +3 -3
- package/cdn/components/details/details.js +4 -4
- package/cdn/components/dialog/dialog.component.js +4 -4
- package/cdn/components/dialog/dialog.js +5 -5
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +4 -4
- package/cdn/components/drawer/drawer.js +5 -5
- package/cdn/components/dropdown/dropdown.component.js +4 -4
- package/cdn/components/dropdown/dropdown.js +5 -5
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/image-comparer/image-comparer.component.js +3 -3
- package/cdn/components/image-comparer/image-comparer.js +4 -4
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +4 -4
- package/cdn/components/input/input.js +5 -5
- package/cdn/components/input/input.styles.js +1 -1
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +5 -5
- package/cdn/components/menu-item/menu-item.js +6 -6
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/nav/nav.component.js +28 -3
- package/cdn/components/nav/nav.js +29 -4
- package/cdn/components/nav/nav.styles.js +1 -1
- package/cdn/components/nav-group/nav-group.component.js +3 -3
- package/cdn/components/nav-group/nav-group.js +4 -4
- package/cdn/components/nav-group/nav-group.styles.js +1 -1
- package/cdn/components/nav-item/nav-item.component.js +3 -3
- package/cdn/components/nav-item/nav-item.js +4 -4
- package/cdn/components/nav-item/nav-item.styles.js +1 -1
- package/cdn/components/nav-submenu/nav-submenu.component.js +5 -5
- package/cdn/components/nav-submenu/nav-submenu.js +6 -6
- package/cdn/components/nav-submenu/nav-submenu.styles.js +1 -1
- package/cdn/components/option/option.component.js +3 -3
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/custom-select.js +9 -9
- package/cdn/components/pagination/pagination.component.js +10 -10
- package/cdn/components/pagination/pagination.js +10 -10
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +3 -3
- package/cdn/components/radio/radio.js +4 -4
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +3 -3
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/range/range.component.js +2 -2
- package/cdn/components/range/range.js +3 -3
- package/cdn/components/rating/rating.component.js +3 -3
- package/cdn/components/rating/rating.js +4 -4
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/screen/screen.component.js +2 -2
- package/cdn/components/screen/screen.js +3 -3
- package/cdn/components/select/select.component.js +6 -6
- package/cdn/components/select/select.js +7 -7
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +2 -2
- package/cdn/components/split-panel/split-panel.js +3 -3
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +4 -4
- package/cdn/components/tab/tab.js +5 -5
- package/cdn/components/tab-group/tab-group.component.js +5 -5
- package/cdn/components/tab-group/tab-group.js +6 -6
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/table/body-table.js +2 -2
- package/cdn/components/table/head-table.js +20 -20
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +27 -27
- package/cdn/components/table/table.js +29 -29
- package/cdn/components/tag/tag.component.js +4 -4
- package/cdn/components/tag/tag.js +5 -5
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-panel/time-panel.component.js +5 -5
- package/cdn/components/time-panel/time-panel.js +5 -5
- package/cdn/components/timepicker/timepicker.component.js +16 -16
- package/cdn/components/timepicker/timepicker.js +16 -16
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/tree/tree.component.js +7 -7
- package/cdn/components/tree/tree.js +8 -8
- package/cdn/components/tree-item/tree-item.component.js +5 -5
- package/cdn/components/tree-item/tree-item.js +6 -6
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/custom-elements.json +5437 -4484
- package/cdn/react/alert/index.js +5 -5
- package/cdn/react/animated-image/index.js +4 -4
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +4 -4
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +5 -5
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +4 -4
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +4 -4
- package/cdn/react/color-picker/index.js +15 -15
- package/cdn/react/copy-button/index.js +6 -6
- package/cdn/react/date-panel/index.js +11 -11
- package/cdn/react/datepicker/index.js +17 -17
- package/cdn/react/daterange/index.js +10 -10
- package/cdn/react/details/index.js +4 -4
- package/cdn/react/dialog/index.js +5 -5
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +5 -5
- package/cdn/react/dropdown/index.js +5 -5
- package/cdn/react/format-bytes/index.js +3 -3
- package/cdn/react/format-date/index.js +3 -3
- package/cdn/react/format-number/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/icon-button/index.js +4 -4
- package/cdn/react/image-comparer/index.js +4 -4
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.js +211 -211
- package/cdn/react/input/index.js +5 -5
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +6 -6
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +29 -4
- package/cdn/react/nav-group/index.js +4 -4
- package/cdn/react/nav-item/index.js +4 -4
- package/cdn/react/nav-submenu/index.js +6 -6
- package/cdn/react/option/index.js +4 -4
- package/cdn/react/pagination/index.js +11 -11
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +4 -4
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/range/index.js +3 -3
- package/cdn/react/rating/index.js +4 -4
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/screen/index.js +3 -3
- package/cdn/react/select/index.js +7 -7
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +3 -3
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +5 -5
- package/cdn/react/tab-group/index.js +6 -6
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +28 -28
- package/cdn/react/tag/index.js +5 -5
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/timepicker/index.js +17 -17
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/tree/index.js +8 -8
- package/cdn/react/tree-item/index.js +6 -6
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/shoelace.js +184 -184
- package/cdn/themes/dark.css +0 -1
- package/cdn/themes/dark.styles.js +0 -1
- package/cdn/themes/light.css +11 -11
- package/cdn/themes/light.styles.js +11 -11
- package/cdn/themes/nova.css +37 -26
- package/cdn/themes/nova.styles.js +37 -26
- package/cdn/types/vue/index.d.ts +285 -210
- package/cdn/vscode.html-custom-data.json +289 -222
- package/cdn/web-types.json +1100 -840
- package/dist/chunks/chunk.23OG2WCM.js +11 -0
- package/dist/chunks/chunk.26ZD3S7Y.js +21 -0
- package/dist/chunks/chunk.2DKS2HFH.js +28 -0
- package/dist/chunks/chunk.2FUVLRCV.js +24 -0
- package/dist/chunks/chunk.2GHXZAQI.js +293 -0
- package/dist/chunks/chunk.2HCBSW4B.js +11 -0
- package/dist/chunks/chunk.2JIH63GY.js +11 -0
- package/dist/chunks/chunk.2XLL7YNQ.js +11 -0
- package/dist/chunks/chunk.2YYHPEVO.js +11 -0
- package/dist/chunks/chunk.36TVT6YF.js +11 -0
- package/dist/chunks/chunk.3EBM4TXW.js +80 -0
- package/dist/chunks/chunk.3OB3LWMM.js +577 -0
- package/dist/chunks/chunk.3RHW3QZ2.js +315 -0
- package/dist/chunks/chunk.3UHHEDUQ.js +93 -0
- package/dist/chunks/chunk.3WMLGMZN.js +21 -0
- package/dist/chunks/chunk.3YNKWXRR.js +329 -0
- package/dist/chunks/chunk.4B4DPFHD.js +162 -0
- package/dist/chunks/chunk.4HA245FV.js +247 -0
- package/dist/chunks/chunk.4VVYVRBW.js +28 -0
- package/dist/chunks/chunk.4YSIIAV6.js +306 -0
- package/dist/chunks/chunk.5B57XRR7.js +11 -0
- package/dist/chunks/chunk.5JCM4ACS.js +21 -0
- package/dist/chunks/chunk.5VOVJ6U4.js +25 -0
- package/dist/chunks/chunk.5Y6EKMRE.js +24 -0
- package/dist/chunks/chunk.5YXRUJZA.js +11 -0
- package/dist/chunks/chunk.6DZWGDY4.js +21 -0
- package/dist/chunks/chunk.6FSZMBBK.js +550 -0
- package/dist/chunks/chunk.6IPMTFGI.js +11 -0
- package/dist/chunks/chunk.6LRK2OAA.js +417 -0
- package/dist/chunks/chunk.6M3KDB3W.js +502 -0
- package/dist/chunks/chunk.6SJ5NM3F.js +11 -0
- package/dist/chunks/chunk.6UOTLC2Q.js +11 -0
- package/dist/chunks/chunk.72XEGOEU.js +21 -0
- package/dist/chunks/chunk.74HBIRSW.js +117 -0
- package/dist/chunks/chunk.7HXAGTDG.js +24 -0
- package/dist/chunks/chunk.7JKNUYMB.js +181 -0
- package/dist/chunks/chunk.7KAEBXNM.js +11 -0
- package/dist/chunks/chunk.7MUJSLZU.js +21 -0
- package/dist/chunks/chunk.7OQTBZII.js +949 -0
- package/dist/chunks/chunk.7OTWENCM.js +189 -0
- package/dist/chunks/chunk.7OYIAAPX.js +21 -0
- package/dist/chunks/chunk.7X755TGA.js +21 -0
- package/dist/chunks/chunk.7YOONU2V.js +25 -0
- package/dist/chunks/chunk.7Z2W6OXK.js +24 -0
- package/dist/chunks/chunk.A2RI6OCN.js +11 -0
- package/dist/chunks/chunk.A6R57GPQ.js +11 -0
- package/dist/chunks/chunk.ABHA54FT.js +67 -0
- package/dist/chunks/chunk.ACGBDTAV.js +21 -0
- package/dist/chunks/chunk.AFQ4W3IV.js +11 -0
- package/dist/chunks/chunk.AG6MRYHQ.js +96 -0
- package/dist/chunks/chunk.APHAPL3G.js +340 -0
- package/dist/chunks/chunk.B2AGCDAH.js +21 -0
- package/dist/chunks/chunk.BA22GN6J.js +24 -0
- package/dist/chunks/chunk.BBOVVW7N.js +45 -0
- package/dist/chunks/chunk.BBXOBKDA.js +119 -0
- package/dist/chunks/chunk.BFJVGUYU.js +25 -0
- package/dist/chunks/chunk.BLQ7F33C.js +11 -0
- package/dist/chunks/chunk.BOEZC6OD.js +85 -0
- package/dist/chunks/chunk.BPVPEL4F.js +77 -0
- package/dist/chunks/chunk.BR2I5NWY.js +24 -0
- package/dist/chunks/chunk.BVM3YF66.js +11 -0
- package/dist/chunks/chunk.C6CWTTCA.js +11 -0
- package/dist/chunks/chunk.CIRCW7LI.js +549 -0
- package/dist/chunks/chunk.CIWWDGZ6.js +11 -0
- package/dist/chunks/chunk.CQ7TQFXE.js +11 -0
- package/dist/chunks/chunk.CQBMYKTR.js +280 -0
- package/dist/chunks/chunk.CSHENRJ2.js +180 -0
- package/dist/chunks/chunk.CWCTMRXY.js +11 -0
- package/dist/chunks/chunk.CYJ53JTI.js +52 -0
- package/dist/chunks/chunk.CYOKNO44.js +27 -0
- package/dist/chunks/chunk.D5JJ3UOZ.js +227 -0
- package/dist/chunks/chunk.DN3NOFVF.js +25 -0
- package/dist/chunks/chunk.DPSVF6BX.js +286 -0
- package/dist/chunks/chunk.DS3544QD.js +25 -0
- package/dist/chunks/chunk.DT2PTDEQ.js +50 -0
- package/dist/chunks/chunk.DUHLBTTY.js +371 -0
- package/dist/chunks/chunk.E4WYPAWP.js +11 -0
- package/dist/chunks/chunk.EJ5HY6XL.js +21 -0
- package/dist/chunks/chunk.EKKKPYGJ.js +21 -0
- package/dist/chunks/chunk.EU53B7ZQ.js +100 -0
- package/dist/chunks/chunk.EVYFKMLF.js +26 -0
- package/dist/chunks/chunk.EW6EWFXR.js +294 -0
- package/dist/chunks/chunk.EWPZGOK4.js +11 -0
- package/dist/chunks/chunk.F62Y2DON.js +21 -0
- package/dist/chunks/chunk.F63YX4ZG.js +11 -0
- package/dist/chunks/chunk.FOXYEZ3Z.js +11 -0
- package/dist/chunks/chunk.FRW6GAJC.js +11 -0
- package/dist/chunks/chunk.FZHPOSO6.js +24 -0
- package/dist/chunks/chunk.GBZ5KOZE.js +11 -0
- package/dist/chunks/chunk.GFYRZ2OC.js +11 -0
- package/dist/chunks/chunk.GRRWZ3JO.js +21 -0
- package/dist/chunks/chunk.GU57KGKX.js +11 -0
- package/dist/chunks/chunk.GWOLQ5MV.js +73 -0
- package/dist/chunks/chunk.GWQNSIDU.js +28 -0
- package/dist/chunks/chunk.GX6DAIPL.js +21 -0
- package/dist/chunks/chunk.H2OLAKPY.js +45 -0
- package/dist/chunks/chunk.H37XJ4MV.js +214 -0
- package/dist/chunks/chunk.H7SU653X.js +25 -0
- package/dist/chunks/chunk.HEBIBOCB.js +24 -0
- package/dist/chunks/chunk.HGFPJLK5.js +21 -0
- package/dist/chunks/chunk.HLW7BCLC.js +11 -0
- package/dist/chunks/chunk.HOXJOYML.js +425 -0
- package/dist/chunks/chunk.HRHKJKRT.js +506 -0
- package/dist/chunks/chunk.HUWKYOVK.js +231 -0
- package/dist/chunks/chunk.HVVMQOVU.js +29 -0
- package/dist/chunks/chunk.HYWWRLSF.js +28 -0
- package/dist/chunks/chunk.I37BPTDO.js +25 -0
- package/dist/chunks/chunk.I64MN2ZT.js +11 -0
- package/dist/chunks/chunk.I7ZZEDZ4.js +27 -0
- package/dist/chunks/chunk.IFUP5NAQ.js +21 -0
- package/dist/chunks/chunk.IKD2GUTZ.js +11 -0
- package/dist/chunks/chunk.IMBE6NS7.js +21 -0
- package/dist/chunks/chunk.IQJAUZU7.js +192 -0
- package/dist/chunks/chunk.IVV46OK7.js +213 -0
- package/dist/chunks/chunk.IZLCWRVM.js +21 -0
- package/dist/chunks/chunk.JCU4QJQL.js +63 -0
- package/dist/chunks/chunk.JMLS7UTV.js +126 -0
- package/dist/chunks/chunk.JXW24NNM.js +384 -0
- package/dist/chunks/chunk.K63B5BDV.js +27 -0
- package/dist/chunks/chunk.KCX6OUXF.js +11 -0
- package/dist/chunks/chunk.KP5Y3VFD.js +24 -0
- package/dist/chunks/chunk.KSZZPJAE.js +27 -0
- package/dist/chunks/chunk.KW735VDQ.js +25 -0
- package/dist/chunks/chunk.KXDVL3I7.js +274 -0
- package/dist/chunks/chunk.LEGNL7H4.js +21 -0
- package/dist/chunks/chunk.LI3JWXGV.js +331 -0
- package/dist/chunks/chunk.LR53B5ZU.js +11 -0
- package/dist/chunks/chunk.LSRZA42R.js +11 -0
- package/dist/chunks/chunk.LVWF2BRI.js +11 -0
- package/dist/chunks/chunk.LY2OVPYP.js +11 -0
- package/dist/chunks/chunk.LZQ53CGA.js +134 -0
- package/dist/chunks/chunk.M23AFFIU.js +11 -0
- package/dist/chunks/chunk.M2TNPACZ.js +26 -0
- package/dist/chunks/chunk.MAQMQ4K7.js +26 -0
- package/dist/chunks/chunk.MHQRS66W.js +280 -0
- package/dist/chunks/chunk.MJ2I45FD.js +11 -0
- package/dist/chunks/chunk.MJUGRPNY.js +56 -0
- package/dist/chunks/chunk.MMONTZH6.js +126 -0
- package/dist/chunks/chunk.MUP3ORYH.js +21 -0
- package/dist/chunks/chunk.MYOEG5AG.js +116 -0
- package/dist/chunks/chunk.N3PO6ZCY.js +11 -0
- package/dist/chunks/chunk.N76DQWXN.js +113 -0
- package/dist/chunks/chunk.NBO2XEQX.js +11 -0
- package/dist/chunks/chunk.NJPWEDYB.js +135 -0
- package/dist/chunks/chunk.NPXKCPZI.js +24 -0
- package/dist/chunks/chunk.NXODKHKS.js +24 -0
- package/dist/chunks/chunk.O56EWGVI.js +11 -0
- package/dist/chunks/chunk.OF4T7ZN4.js +11 -0
- package/dist/chunks/chunk.OHP6N4NT.js +75 -0
- package/dist/chunks/chunk.OM2X6TYA.js +11 -0
- package/dist/chunks/chunk.P5LVTOVJ.js +25 -0
- package/dist/chunks/chunk.PJ2RI2XR.js +29 -0
- package/dist/chunks/chunk.PKDD7LC7.js +743 -0
- package/dist/chunks/chunk.PLXNL73R.js +11 -0
- package/dist/chunks/chunk.PLY4KNJ7.js +356 -0
- package/dist/chunks/chunk.PP45VZKM.js +21 -0
- package/dist/chunks/chunk.PPLGLVUK.js +167 -0
- package/dist/chunks/chunk.PRNO5MOD.js +11 -0
- package/dist/chunks/chunk.PYMHBZUR.js +50 -0
- package/dist/chunks/chunk.Q6MXK32G.js +11 -0
- package/dist/chunks/chunk.QI5DMS6S.js +151 -0
- package/dist/chunks/chunk.QRI3RO2Y.js +311 -0
- package/dist/chunks/chunk.QWBTYNHI.js +59 -0
- package/dist/chunks/chunk.R2FXVXDZ.js +11 -0
- package/dist/chunks/chunk.R4KRHIP5.js +11 -0
- package/dist/chunks/chunk.R5Z27L3J.js +230 -0
- package/dist/chunks/chunk.R7XUMWJC.js +34 -0
- package/dist/chunks/chunk.RI45COE3.js +28 -0
- package/dist/chunks/chunk.RI4HC5WM.js +22 -0
- package/dist/chunks/chunk.RKZC52MX.js +24 -0
- package/dist/chunks/chunk.RQREQ4HM.js +11 -0
- package/dist/chunks/chunk.RRWKU4GM.js +22 -0
- package/dist/chunks/chunk.SAMVARF5.js +24 -0
- package/dist/chunks/chunk.SMVQ7KLD.js +111 -0
- package/dist/chunks/chunk.T6YYQVKA.js +90 -0
- package/dist/chunks/chunk.TCK5LG2Y.js +213 -0
- package/dist/chunks/chunk.TJJ44BIO.js +26 -0
- package/dist/chunks/chunk.TSFTCJO7.js +21 -0
- package/dist/chunks/chunk.TTTFCOSZ.js +11 -0
- package/dist/chunks/chunk.TW6VYD4G.js +100 -0
- package/dist/chunks/chunk.U5TX7TIN.js +25 -0
- package/dist/chunks/chunk.UBJMNDLX.js +448 -0
- package/dist/chunks/chunk.UMFLL4JA.js +28 -0
- package/dist/chunks/chunk.UOHXQWDA.js +11 -0
- package/dist/chunks/chunk.UTSBALSC.js +27 -0
- package/dist/chunks/chunk.UVREUPWC.js +21 -0
- package/dist/chunks/chunk.V4MNQQDO.js +21 -0
- package/dist/chunks/chunk.V5U4BI4B.js +1242 -0
- package/dist/chunks/chunk.VA74CFPG.js +814 -0
- package/dist/chunks/chunk.VPZTKXAT.js +11 -0
- package/dist/chunks/chunk.VWKB2GF3.js +42 -0
- package/dist/chunks/chunk.VZGKZ4YC.js +11 -0
- package/dist/chunks/chunk.W2KFQRBC.js +11 -0
- package/dist/chunks/chunk.W3SNACYG.js +11 -0
- package/dist/chunks/chunk.WFFMFVBE.js +11 -0
- package/dist/chunks/chunk.WGQYVXZW.js +263 -0
- package/dist/chunks/chunk.WLYECG27.js +11 -0
- package/dist/chunks/chunk.WMQAVRXC.js +147 -0
- package/dist/chunks/chunk.WR2AHX7I.js +11 -0
- package/dist/chunks/chunk.WVCX76FP.js +27 -0
- package/dist/chunks/chunk.WXFDHT4J.js +91 -0
- package/dist/chunks/chunk.X276QAMP.js +21 -0
- package/dist/chunks/chunk.X4UO6LTB.js +11 -0
- package/dist/chunks/chunk.XB64HOBB.js +11 -0
- package/dist/chunks/chunk.XBCFSL2E.js +29 -0
- package/dist/chunks/chunk.XIWSHOAU.js +820 -0
- package/dist/chunks/chunk.XOLD26HY.js +397 -0
- package/dist/chunks/chunk.XRWHJU3T.js +75 -0
- package/dist/chunks/chunk.YACIYXNN.js +11 -0
- package/dist/chunks/chunk.YF3N67E7.js +109 -0
- package/dist/chunks/chunk.YI7VLVIB.js +11 -0
- package/dist/chunks/chunk.YONJNVK4.js +1120 -0
- package/dist/chunks/chunk.YWHYPIDP.js +361 -0
- package/dist/chunks/chunk.YZLKFDE5.js +29 -0
- package/dist/chunks/chunk.ZAM65RLS.js +11 -0
- package/dist/chunks/chunk.ZG6HRQWM.js +337 -0
- package/dist/chunks/chunk.ZIE7ZIS3.js +33 -0
- package/dist/chunks/chunk.ZNSIJFAS.js +11 -0
- package/dist/components/alert/alert.component.js +4 -4
- package/dist/components/alert/alert.js +5 -5
- package/dist/components/animated-image/animated-image.component.js +3 -3
- package/dist/components/animated-image/animated-image.js +4 -4
- 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 +2 -2
- package/dist/components/badge/badge.js +3 -3
- 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 +4 -4
- package/dist/components/button/button.js +5 -5
- 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 +6 -6
- package/dist/components/calendar/calendar.js +6 -6
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +3 -3
- package/dist/components/carousel/carousel.js +4 -4
- 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 +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/color-picker/color-picker.component.js +14 -14
- package/dist/components/color-picker/color-picker.js +15 -15
- package/dist/components/copy-button/copy-button.component.js +5 -5
- package/dist/components/copy-button/copy-button.js +6 -6
- package/dist/components/date-panel/date-panel.component.js +10 -10
- package/dist/components/date-panel/date-panel.js +10 -10
- package/dist/components/date-panel/date-panel.styles.js +1 -1
- package/dist/components/datepicker/datepicker.component.js +16 -16
- package/dist/components/datepicker/datepicker.js +16 -16
- package/dist/components/daterange/daterange.component.js +9 -9
- package/dist/components/daterange/daterange.js +10 -10
- package/dist/components/daterange/daterange.styles.js +1 -1
- package/dist/components/details/details.component.js +3 -3
- package/dist/components/details/details.js +4 -4
- package/dist/components/dialog/dialog.component.js +4 -4
- package/dist/components/dialog/dialog.js +5 -5
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +4 -4
- package/dist/components/drawer/drawer.js +5 -5
- package/dist/components/dropdown/dropdown.component.js +4 -4
- package/dist/components/dropdown/dropdown.js +5 -5
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +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/input/input.styles.js +1 -1
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +5 -5
- package/dist/components/menu-item/menu-item.js +6 -6
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/nav/nav.component.js +26 -3
- package/dist/components/nav/nav.js +27 -4
- package/dist/components/nav/nav.styles.js +1 -1
- package/dist/components/nav-group/nav-group.component.js +3 -3
- package/dist/components/nav-group/nav-group.js +4 -4
- package/dist/components/nav-group/nav-group.styles.js +1 -1
- package/dist/components/nav-item/nav-item.component.js +3 -3
- package/dist/components/nav-item/nav-item.js +4 -4
- package/dist/components/nav-item/nav-item.styles.js +1 -1
- package/dist/components/nav-submenu/nav-submenu.component.js +5 -5
- package/dist/components/nav-submenu/nav-submenu.js +6 -6
- package/dist/components/nav-submenu/nav-submenu.styles.js +1 -1
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/pagination/custom-select.js +9 -9
- package/dist/components/pagination/pagination.component.js +10 -10
- package/dist/components/pagination/pagination.js +10 -10
- 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 +2 -2
- package/dist/components/range/range.js +3 -3
- 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/screen.component.js +2 -2
- package/dist/components/screen/screen.js +3 -3
- package/dist/components/select/select.component.js +6 -6
- package/dist/components/select/select.js +7 -7
- 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 +4 -4
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.component.js +5 -5
- package/dist/components/tab-group/tab-group.js +6 -6
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +2 -2
- package/dist/components/table/head-table.js +20 -20
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +27 -27
- package/dist/components/table/table.js +29 -29
- package/dist/components/tag/tag.component.js +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-panel/time-panel.component.js +5 -5
- package/dist/components/time-panel/time-panel.js +5 -5
- package/dist/components/timepicker/timepicker.component.js +16 -16
- package/dist/components/timepicker/timepicker.js +16 -16
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +7 -7
- package/dist/components/tree/tree.js +8 -8
- package/dist/components/tree-item/tree-item.component.js +5 -5
- package/dist/components/tree-item/tree-item.js +6 -6
- 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 +5437 -4484
- package/dist/react/alert/index.js +5 -5
- package/dist/react/animated-image/index.js +4 -4
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +4 -4
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +5 -5
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +4 -4
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +4 -4
- package/dist/react/color-picker/index.js +15 -15
- package/dist/react/copy-button/index.js +6 -6
- package/dist/react/date-panel/index.js +11 -11
- package/dist/react/datepicker/index.js +17 -17
- package/dist/react/daterange/index.js +10 -10
- package/dist/react/details/index.js +4 -4
- package/dist/react/dialog/index.js +5 -5
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +5 -5
- package/dist/react/dropdown/index.js +5 -5
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/icon/index.js +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 +211 -211
- package/dist/react/input/index.js +5 -5
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +6 -6
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +27 -4
- package/dist/react/nav-group/index.js +4 -4
- package/dist/react/nav-item/index.js +4 -4
- package/dist/react/nav-submenu/index.js +6 -6
- package/dist/react/option/index.js +4 -4
- package/dist/react/pagination/index.js +11 -11
- 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 +3 -3
- 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 +3 -3
- package/dist/react/select/index.js +7 -7
- 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 +5 -5
- package/dist/react/tab-group/index.js +6 -6
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +28 -28
- package/dist/react/tag/index.js +5 -5
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/timepicker/index.js +17 -17
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +8 -8
- package/dist/react/tree-item/index.js +6 -6
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/shoelace.js +184 -184
- package/dist/themes/dark.css +0 -1
- package/dist/themes/dark.styles.js +0 -1
- package/dist/themes/light.css +11 -11
- package/dist/themes/light.styles.js +11 -11
- package/dist/themes/nova.css +37 -26
- package/dist/themes/nova.styles.js +37 -26
- package/dist/types/vue/index.d.ts +285 -210
- package/dist/vscode.html-custom-data.json +289 -222
- package/dist/web-types.json +1100 -840
- package/package.json +1 -1
- package/cdn/chunks/chunk.2D23USCW.js +0 -140
- package/cdn/chunks/chunk.2RCCYUF5.js +0 -24
- package/cdn/chunks/chunk.2TKU3L4J.js +0 -24
- package/cdn/chunks/chunk.2U22GIRT.js +0 -25
- package/cdn/chunks/chunk.2Y3R65EN.js +0 -27
- package/cdn/chunks/chunk.2ZZL46WA.js +0 -26
- package/cdn/chunks/chunk.35PB6CZG.js +0 -25
- package/cdn/chunks/chunk.3EZHMWBD.js +0 -11
- package/cdn/chunks/chunk.3XAVCE7Z.js +0 -11
- package/cdn/chunks/chunk.3XFPVYL4.js +0 -347
- package/cdn/chunks/chunk.3XNKBI5S.js +0 -49
- package/cdn/chunks/chunk.3YQ4HMQM.js +0 -11
- package/cdn/chunks/chunk.3ZFUODKR.js +0 -25
- package/cdn/chunks/chunk.47PFA3VX.js +0 -33
- package/cdn/chunks/chunk.4A2CCC4V.js +0 -24
- package/cdn/chunks/chunk.4CPE4DNZ.js +0 -21
- package/cdn/chunks/chunk.4G67LFGE.js +0 -11
- package/cdn/chunks/chunk.4J6F7YHL.js +0 -1990
- package/cdn/chunks/chunk.4W5K5NIR.js +0 -11
- package/cdn/chunks/chunk.53YZYDXI.js +0 -21
- package/cdn/chunks/chunk.5ABJINYG.js +0 -28
- package/cdn/chunks/chunk.5BOJGKUG.js +0 -292
- package/cdn/chunks/chunk.5E22AYAA.js +0 -331
- package/cdn/chunks/chunk.5F4BMJ3X.js +0 -11
- package/cdn/chunks/chunk.5XSCZESR.js +0 -271
- package/cdn/chunks/chunk.65DBNMCE.js +0 -724
- package/cdn/chunks/chunk.6JAOORDG.js +0 -11
- package/cdn/chunks/chunk.6KIIUI7S.js +0 -219
- package/cdn/chunks/chunk.6R5PXXWV.js +0 -11
- package/cdn/chunks/chunk.6XIELA7H.js +0 -28
- package/cdn/chunks/chunk.77DX5FFD.js +0 -21
- package/cdn/chunks/chunk.7I2P3EI3.js +0 -11
- package/cdn/chunks/chunk.7R6LQJQN.js +0 -21
- package/cdn/chunks/chunk.7S352MG5.js +0 -24
- package/cdn/chunks/chunk.A2BPVVQ6.js +0 -11
- package/cdn/chunks/chunk.A4326IL2.js +0 -42
- package/cdn/chunks/chunk.AHVT6SMK.js +0 -153
- package/cdn/chunks/chunk.AK653YGY.js +0 -583
- package/cdn/chunks/chunk.AKWA6BDR.js +0 -49
- package/cdn/chunks/chunk.AUF4U6FY.js +0 -118
- package/cdn/chunks/chunk.AUGS5OJG.js +0 -27
- package/cdn/chunks/chunk.B5QQCSOG.js +0 -24
- package/cdn/chunks/chunk.BCFIC5EH.js +0 -142
- package/cdn/chunks/chunk.BCIKFAHC.js +0 -11
- package/cdn/chunks/chunk.BED5S3XG.js +0 -402
- package/cdn/chunks/chunk.BHX6VUIT.js +0 -1073
- package/cdn/chunks/chunk.BJ6EABUT.js +0 -75
- package/cdn/chunks/chunk.BLU6UMY3.js +0 -58
- package/cdn/chunks/chunk.BQZC5DHU.js +0 -11
- package/cdn/chunks/chunk.BVQQEMVU.js +0 -11
- package/cdn/chunks/chunk.BX352G3W.js +0 -122
- package/cdn/chunks/chunk.BX4GDJW7.js +0 -63
- package/cdn/chunks/chunk.C32UDDJX.js +0 -276
- package/cdn/chunks/chunk.C5PWT6RW.js +0 -48
- package/cdn/chunks/chunk.CFQ2B6VR.js +0 -216
- package/cdn/chunks/chunk.CJDJNRPA.js +0 -21
- package/cdn/chunks/chunk.D75D72TI.js +0 -21
- package/cdn/chunks/chunk.DHGPGIO7.js +0 -73
- package/cdn/chunks/chunk.DHSARJNO.js +0 -24
- package/cdn/chunks/chunk.DJVVEJS2.js +0 -11
- package/cdn/chunks/chunk.DYLTSCJ2.js +0 -11
- package/cdn/chunks/chunk.E5WS3VLQ.js +0 -137
- package/cdn/chunks/chunk.E7OFOOCY.js +0 -131
- package/cdn/chunks/chunk.EB6SZ2ME.js +0 -25
- package/cdn/chunks/chunk.EDWOOCJS.js +0 -21
- package/cdn/chunks/chunk.EGCFKZRA.js +0 -11
- package/cdn/chunks/chunk.EMNCBZZF.js +0 -21
- package/cdn/chunks/chunk.ETTUKEX2.js +0 -21
- package/cdn/chunks/chunk.EZBTJYKW.js +0 -11
- package/cdn/chunks/chunk.FLO4YQKA.js +0 -24
- package/cdn/chunks/chunk.FTE3BHQA.js +0 -28
- package/cdn/chunks/chunk.G5SN4ATN.js +0 -29
- package/cdn/chunks/chunk.GC2Q57ME.js +0 -11
- package/cdn/chunks/chunk.GJLSJRGM.js +0 -235
- package/cdn/chunks/chunk.GZBPWBFQ.js +0 -11
- package/cdn/chunks/chunk.H2HIFHL4.js +0 -515
- package/cdn/chunks/chunk.H3QBL45P.js +0 -21
- package/cdn/chunks/chunk.H5U6ZDNP.js +0 -54
- package/cdn/chunks/chunk.HHETPBMQ.js +0 -291
- package/cdn/chunks/chunk.HHN3CABS.js +0 -95
- package/cdn/chunks/chunk.HQUJGA42.js +0 -25
- package/cdn/chunks/chunk.HYS7OSVZ.js +0 -28
- package/cdn/chunks/chunk.I6RV2R33.js +0 -455
- package/cdn/chunks/chunk.IM5V5CZX.js +0 -586
- package/cdn/chunks/chunk.IWAMU5T3.js +0 -24
- package/cdn/chunks/chunk.J3SBHDCS.js +0 -11
- package/cdn/chunks/chunk.J6DWSXVL.js +0 -27
- package/cdn/chunks/chunk.J6LZ3NHX.js +0 -11
- package/cdn/chunks/chunk.JFJVTIF7.js +0 -11
- package/cdn/chunks/chunk.JIFO673L.js +0 -21
- package/cdn/chunks/chunk.JJEXKS3G.js +0 -25
- package/cdn/chunks/chunk.JJPZQTBS.js +0 -279
- package/cdn/chunks/chunk.JUN4MTEQ.js +0 -313
- package/cdn/chunks/chunk.JWFO2VSY.js +0 -24
- package/cdn/chunks/chunk.JZKLFF3X.js +0 -11
- package/cdn/chunks/chunk.KC5TMHKO.js +0 -21
- package/cdn/chunks/chunk.KGUHKJHO.js +0 -336
- package/cdn/chunks/chunk.KIX5SSVB.js +0 -233
- package/cdn/chunks/chunk.KKMGVTZE.js +0 -79
- package/cdn/chunks/chunk.KLAHC6ES.js +0 -11
- package/cdn/chunks/chunk.LALK3Z7C.js +0 -11
- package/cdn/chunks/chunk.LIJO3XYE.js +0 -27
- package/cdn/chunks/chunk.LJW5NGJP.js +0 -11
- package/cdn/chunks/chunk.LM5DJPXX.js +0 -28
- package/cdn/chunks/chunk.LX2L2CLA.js +0 -28
- package/cdn/chunks/chunk.LXUPIU2G.js +0 -197
- package/cdn/chunks/chunk.LZACVHGL.js +0 -255
- package/cdn/chunks/chunk.LZOQGUC3.js +0 -29
- package/cdn/chunks/chunk.M6WQKQTZ.js +0 -334
- package/cdn/chunks/chunk.MA5WO3E3.js +0 -11
- package/cdn/chunks/chunk.MACB645Y.js +0 -11
- package/cdn/chunks/chunk.MCBYLKTJ.js +0 -236
- package/cdn/chunks/chunk.MRBMQJP3.js +0 -29
- package/cdn/chunks/chunk.MRGEWIRP.js +0 -11
- package/cdn/chunks/chunk.MRQ4RPBS.js +0 -11
- package/cdn/chunks/chunk.MSFCD7OR.js +0 -26
- package/cdn/chunks/chunk.MTXB66VF.js +0 -21
- package/cdn/chunks/chunk.MVFSDFDH.js +0 -11
- package/cdn/chunks/chunk.N4543YFZ.js +0 -21
- package/cdn/chunks/chunk.NDJ2FQS5.js +0 -21
- package/cdn/chunks/chunk.NLKB4SMT.js +0 -11
- package/cdn/chunks/chunk.NLKQ7WRY.js +0 -367
- package/cdn/chunks/chunk.NNFEEDGI.js +0 -114
- package/cdn/chunks/chunk.NNLPTNMJ.js +0 -27
- package/cdn/chunks/chunk.NPH4KMNE.js +0 -93
- package/cdn/chunks/chunk.NX3T6NE6.js +0 -314
- package/cdn/chunks/chunk.OFT7CWKV.js +0 -11
- package/cdn/chunks/chunk.OHCAKBFE.js +0 -11
- package/cdn/chunks/chunk.OJXP3KEW.js +0 -81
- package/cdn/chunks/chunk.OXPAWWYQ.js +0 -29
- package/cdn/chunks/chunk.OZQFUUCA.js +0 -26
- package/cdn/chunks/chunk.PBAQRUIC.js +0 -11
- package/cdn/chunks/chunk.PD3R4OIX.js +0 -183
- package/cdn/chunks/chunk.PDYJEA7O.js +0 -11
- package/cdn/chunks/chunk.PFD3CFYX.js +0 -27
- package/cdn/chunks/chunk.PFYEI3HJ.js +0 -11
- package/cdn/chunks/chunk.PL3ASQPN.js +0 -67
- package/cdn/chunks/chunk.PSFNWY5K.js +0 -208
- package/cdn/chunks/chunk.PWAY36H6.js +0 -21
- package/cdn/chunks/chunk.PXJXQBM2.js +0 -822
- package/cdn/chunks/chunk.Q2Q6JJY5.js +0 -11
- package/cdn/chunks/chunk.QEVEBBQC.js +0 -11
- package/cdn/chunks/chunk.QK3XYD26.js +0 -25
- package/cdn/chunks/chunk.QKQUFEKO.js +0 -11
- package/cdn/chunks/chunk.QOUCXP2H.js +0 -11
- package/cdn/chunks/chunk.QSG6NEIL.js +0 -25
- package/cdn/chunks/chunk.QTDWVHJJ.js +0 -24
- package/cdn/chunks/chunk.QXOHHRYA.js +0 -127
- package/cdn/chunks/chunk.RMKURFLN.js +0 -11
- package/cdn/chunks/chunk.RPS4DGWP.js +0 -11
- package/cdn/chunks/chunk.RPXRRMJP.js +0 -24
- package/cdn/chunks/chunk.RRNEYPFW.js +0 -11
- package/cdn/chunks/chunk.RRSWQAUL.js +0 -11
- package/cdn/chunks/chunk.RSCYDI2D.js +0 -21
- package/cdn/chunks/chunk.RXRVBR3Z.js +0 -50
- package/cdn/chunks/chunk.S4DY7KMR.js +0 -11
- package/cdn/chunks/chunk.S5EU5CBU.js +0 -11
- package/cdn/chunks/chunk.SHDEMQUZ.js +0 -21
- package/cdn/chunks/chunk.SP7WSCM6.js +0 -21
- package/cdn/chunks/chunk.SS5MTRHG.js +0 -24
- package/cdn/chunks/chunk.STJANZDP.js +0 -11
- package/cdn/chunks/chunk.SXAUBZ56.js +0 -24
- package/cdn/chunks/chunk.SZ2K6XKK.js +0 -153
- package/cdn/chunks/chunk.T754DV56.js +0 -11
- package/cdn/chunks/chunk.TEMXSAZW.js +0 -21
- package/cdn/chunks/chunk.TIPQV3FE.js +0 -11
- package/cdn/chunks/chunk.TLLBVDXL.js +0 -11
- package/cdn/chunks/chunk.TQHPDS6M.js +0 -11
- package/cdn/chunks/chunk.TRQAZYFW.js +0 -158
- package/cdn/chunks/chunk.TRUH7BW4.js +0 -113
- package/cdn/chunks/chunk.U4PX3B7C.js +0 -21
- package/cdn/chunks/chunk.U6SLENYO.js +0 -87
- package/cdn/chunks/chunk.UBUG7BOC.js +0 -11
- package/cdn/chunks/chunk.ULRISOA4.js +0 -391
- package/cdn/chunks/chunk.UVP3V5Z2.js +0 -135
- package/cdn/chunks/chunk.V4P7MA7M.js +0 -77
- package/cdn/chunks/chunk.VDGTKOSL.js +0 -25
- package/cdn/chunks/chunk.VDR3LRG6.js +0 -11
- package/cdn/chunks/chunk.VEYJKKIO.js +0 -36
- package/cdn/chunks/chunk.VHNYSBJX.js +0 -335
- package/cdn/chunks/chunk.VJUIUYMI.js +0 -21
- package/cdn/chunks/chunk.VLZ7MP4C.js +0 -21
- package/cdn/chunks/chunk.VRLOBCSH.js +0 -302
- package/cdn/chunks/chunk.VW5TH327.js +0 -11
- package/cdn/chunks/chunk.W5QBUFQN.js +0 -11
- package/cdn/chunks/chunk.W6QAVMGN.js +0 -1925
- package/cdn/chunks/chunk.WHZTGM5R.js +0 -5845
- package/cdn/chunks/chunk.WIIUT3V7.js +0 -502
- package/cdn/chunks/chunk.WL4ACLEQ.js +0 -21
- package/cdn/chunks/chunk.WN6J5ARU.js +0 -21
- package/cdn/chunks/chunk.WOT6FDXA.js +0 -2664
- package/cdn/chunks/chunk.WREBCP5B.js +0 -11
- package/cdn/chunks/chunk.X55JHD5V.js +0 -299
- package/cdn/chunks/chunk.XCHSZLPK.js +0 -11
- package/cdn/chunks/chunk.XEOHKAS2.js +0 -11
- package/cdn/chunks/chunk.XESRDP62.js +0 -346
- package/cdn/chunks/chunk.XHFA75ZT.js +0 -1223
- package/cdn/chunks/chunk.XQBGYT3A.js +0 -120
- package/cdn/chunks/chunk.XQSNIN63.js +0 -11
- package/cdn/chunks/chunk.XQYQHUM2.js +0 -11
- package/cdn/chunks/chunk.XUEJ2TUM.js +0 -186
- package/cdn/chunks/chunk.XXFXYJ4E.js +0 -379
- package/cdn/chunks/chunk.Y75WHQLP.js +0 -97
- package/cdn/chunks/chunk.YA3XGNQU.js +0 -27
- package/cdn/chunks/chunk.YEDIBZND.js +0 -24
- package/cdn/chunks/chunk.YP4HAHSB.js +0 -290
- package/cdn/chunks/chunk.YX4KNYJ5.js +0 -21
- package/cdn/chunks/chunk.YYDXR7K4.js +0 -328
- package/cdn/chunks/chunk.Z2PIKGJI.js +0 -25
- package/cdn/chunks/chunk.Z6M6VTWR.js +0 -11
- package/cdn/chunks/chunk.ZB46MZZQ.js +0 -82
- package/cdn/chunks/chunk.ZEV3XC4F.js +0 -103
- package/cdn/chunks/chunk.ZHYOC7HD.js +0 -190
- package/cdn/chunks/chunk.ZN6DLIAX.js +0 -11
- package/cdn/chunks/chunk.ZS47WVJ2.js +0 -11
- package/cdn/chunks/chunk.ZSIRTHBW.js +0 -7252
- package/cdn/chunks/chunk.ZSMLDO5K.js +0 -11
- package/cdn/chunks/chunk.ZZVPSAXA.js +0 -24
- package/dist/chunks/chunk.223VZVEM.js +0 -21
- package/dist/chunks/chunk.2GGBLR2P.js +0 -274
- package/dist/chunks/chunk.2LEINLRX.js +0 -11
- package/dist/chunks/chunk.2LUHK26V.js +0 -11
- package/dist/chunks/chunk.2OGIQIU4.js +0 -188
- package/dist/chunks/chunk.2WG3ZBA3.js +0 -11
- package/dist/chunks/chunk.37RKHEOR.js +0 -27
- package/dist/chunks/chunk.3A6GQCKU.js +0 -11
- package/dist/chunks/chunk.3EHQPXML.js +0 -25
- package/dist/chunks/chunk.3PIY7LYJ.js +0 -25
- package/dist/chunks/chunk.3VQGCENE.js +0 -11
- package/dist/chunks/chunk.4ESJ4FUZ.js +0 -247
- package/dist/chunks/chunk.4HVTL6LK.js +0 -109
- package/dist/chunks/chunk.4HYWKEVU.js +0 -325
- package/dist/chunks/chunk.4J264PD6.js +0 -11
- package/dist/chunks/chunk.4OEEEKJH.js +0 -11
- package/dist/chunks/chunk.4PEAPK2D.js +0 -11
- package/dist/chunks/chunk.4VODEWDA.js +0 -21
- package/dist/chunks/chunk.57KYN7K2.js +0 -11
- package/dist/chunks/chunk.5BMMIJIB.js +0 -11
- package/dist/chunks/chunk.5DNTIITZ.js +0 -28
- package/dist/chunks/chunk.5IQMUKIF.js +0 -21
- package/dist/chunks/chunk.5J5O6YEX.js +0 -27
- package/dist/chunks/chunk.5MPRF7P3.js +0 -11
- package/dist/chunks/chunk.5NIDMQTO.js +0 -27
- package/dist/chunks/chunk.5RTMJSYA.js +0 -11
- package/dist/chunks/chunk.5RV7OSEK.js +0 -21
- package/dist/chunks/chunk.5V6KLE7G.js +0 -28
- package/dist/chunks/chunk.67E5MTNW.js +0 -949
- package/dist/chunks/chunk.6BQ7UA7Y.js +0 -192
- package/dist/chunks/chunk.6CWM2K6O.js +0 -56
- package/dist/chunks/chunk.6JQMMJAW.js +0 -28
- package/dist/chunks/chunk.6JSXJJX2.js +0 -11
- package/dist/chunks/chunk.6PFU2JMW.js +0 -21
- package/dist/chunks/chunk.6TCX3JAN.js +0 -25
- package/dist/chunks/chunk.6YL4MWZK.js +0 -11
- package/dist/chunks/chunk.72W3VB3G.js +0 -24
- package/dist/chunks/chunk.7FAGA6SS.js +0 -11
- package/dist/chunks/chunk.7L4XHE5K.js +0 -116
- package/dist/chunks/chunk.7OTIP7QP.js +0 -85
- package/dist/chunks/chunk.7QTU26ZK.js +0 -33
- package/dist/chunks/chunk.7SSV4L7W.js +0 -11
- package/dist/chunks/chunk.7XXGN4YQ.js +0 -11
- package/dist/chunks/chunk.7ZNVN4YX.js +0 -26
- package/dist/chunks/chunk.A3BE34EQ.js +0 -11
- package/dist/chunks/chunk.ACBQACJS.js +0 -34
- package/dist/chunks/chunk.AEUNCNGZ.js +0 -29
- package/dist/chunks/chunk.AEXVFRIV.js +0 -326
- package/dist/chunks/chunk.AJ7UG7Z3.js +0 -361
- package/dist/chunks/chunk.AJLLICMK.js +0 -75
- package/dist/chunks/chunk.AMG3ARFC.js +0 -11
- package/dist/chunks/chunk.APPWE47X.js +0 -26
- package/dist/chunks/chunk.APWLI7DN.js +0 -759
- package/dist/chunks/chunk.AVQHKBAV.js +0 -11
- package/dist/chunks/chunk.BCHNMKET.js +0 -24
- package/dist/chunks/chunk.BJQSTSQV.js +0 -11
- package/dist/chunks/chunk.BOR3BYCE.js +0 -24
- package/dist/chunks/chunk.BR7DDTQ4.js +0 -11
- package/dist/chunks/chunk.BXO7MLLQ.js +0 -28
- package/dist/chunks/chunk.C6CVPPSA.js +0 -21
- package/dist/chunks/chunk.CLT3CYNE.js +0 -100
- package/dist/chunks/chunk.CMTJUJID.js +0 -814
- package/dist/chunks/chunk.CMU3IVNR.js +0 -28
- package/dist/chunks/chunk.CUHSLNAG.js +0 -75
- package/dist/chunks/chunk.CUIQXIDW.js +0 -59
- package/dist/chunks/chunk.CW7YV6TL.js +0 -21
- package/dist/chunks/chunk.CXHTHCYU.js +0 -25
- package/dist/chunks/chunk.D6ALX2IN.js +0 -21
- package/dist/chunks/chunk.D7AHFBFH.js +0 -213
- package/dist/chunks/chunk.DAFTXLXT.js +0 -11
- package/dist/chunks/chunk.DFJAXRYO.js +0 -100
- package/dist/chunks/chunk.DFZEGCJI.js +0 -91
- package/dist/chunks/chunk.DKKAWVRO.js +0 -11
- package/dist/chunks/chunk.DLGJJYME.js +0 -29
- package/dist/chunks/chunk.DONMNHMV.js +0 -577
- package/dist/chunks/chunk.DY3Y4NFJ.js +0 -24
- package/dist/chunks/chunk.EGU4HMTD.js +0 -11
- package/dist/chunks/chunk.ELXHO4S3.js +0 -11
- package/dist/chunks/chunk.FMM44VN6.js +0 -11
- package/dist/chunks/chunk.FWWIFAUG.js +0 -280
- package/dist/chunks/chunk.FXGINRVH.js +0 -27
- package/dist/chunks/chunk.G2FIRR46.js +0 -306
- package/dist/chunks/chunk.G5ISK3BU.js +0 -11
- package/dist/chunks/chunk.GCD47KBA.js +0 -21
- package/dist/chunks/chunk.GDF3VXVB.js +0 -25
- package/dist/chunks/chunk.GDFWEXLR.js +0 -397
- package/dist/chunks/chunk.HMFJXCMV.js +0 -147
- package/dist/chunks/chunk.HOZPSOMB.js +0 -11
- package/dist/chunks/chunk.HS3DSPZO.js +0 -11
- package/dist/chunks/chunk.HUPKM5UW.js +0 -11
- package/dist/chunks/chunk.HW7GTGF2.js +0 -126
- package/dist/chunks/chunk.I5ESCHS2.js +0 -134
- package/dist/chunks/chunk.I5YU6K4U.js +0 -96
- package/dist/chunks/chunk.IB2MEOXY.js +0 -21
- package/dist/chunks/chunk.IB3VZJRB.js +0 -126
- package/dist/chunks/chunk.ICU7CJQU.js +0 -11
- package/dist/chunks/chunk.IKQS4SBZ.js +0 -180
- package/dist/chunks/chunk.IOM5T7ZI.js +0 -286
- package/dist/chunks/chunk.IUXIO43F.js +0 -80
- package/dist/chunks/chunk.IWQYMGCA.js +0 -29
- package/dist/chunks/chunk.J3AY77KD.js +0 -63
- package/dist/chunks/chunk.JBYUF4RE.js +0 -214
- package/dist/chunks/chunk.JDF3ZXO4.js +0 -90
- package/dist/chunks/chunk.JIRNDAXQ.js +0 -148
- package/dist/chunks/chunk.JOG3GP3Y.js +0 -11
- package/dist/chunks/chunk.JP3HAWDR.js +0 -45
- package/dist/chunks/chunk.JPVJEVFM.js +0 -231
- package/dist/chunks/chunk.JQPPMZPT.js +0 -73
- package/dist/chunks/chunk.JVLZ66DT.js +0 -22
- package/dist/chunks/chunk.JYPOA6M2.js +0 -205
- package/dist/chunks/chunk.K57VSYNP.js +0 -24
- package/dist/chunks/chunk.K6B5IHVG.js +0 -21
- package/dist/chunks/chunk.K6ZMGFJZ.js +0 -454
- package/dist/chunks/chunk.KDQGUY6W.js +0 -21
- package/dist/chunks/chunk.KGBSQCIN.js +0 -11
- package/dist/chunks/chunk.KJRYOAIQ.js +0 -181
- package/dist/chunks/chunk.KLZC627P.js +0 -11
- package/dist/chunks/chunk.KSWSWCPU.js +0 -494
- package/dist/chunks/chunk.KUOOK7D6.js +0 -11
- package/dist/chunks/chunk.L3SREJXK.js +0 -230
- package/dist/chunks/chunk.LDLTERCF.js +0 -21
- package/dist/chunks/chunk.LIS6RTOX.js +0 -27
- package/dist/chunks/chunk.LOIDO45I.js +0 -227
- package/dist/chunks/chunk.LUB6NSTR.js +0 -93
- package/dist/chunks/chunk.MEFAPVHC.js +0 -21
- package/dist/chunks/chunk.MFBDKZCQ.js +0 -11
- package/dist/chunks/chunk.ML2HEWDO.js +0 -294
- package/dist/chunks/chunk.MMKXREC6.js +0 -24
- package/dist/chunks/chunk.MOSE42CI.js +0 -550
- package/dist/chunks/chunk.MRNE5SQK.js +0 -79
- package/dist/chunks/chunk.MY5LC322.js +0 -67
- package/dist/chunks/chunk.N3QVGDPP.js +0 -26
- package/dist/chunks/chunk.N53XDQYW.js +0 -45
- package/dist/chunks/chunk.NFVKFHLP.js +0 -135
- package/dist/chunks/chunk.NGYRYM6N.js +0 -11
- package/dist/chunks/chunk.NI3YHVXQ.js +0 -11
- package/dist/chunks/chunk.NLNIFQB7.js +0 -417
- package/dist/chunks/chunk.NRKXDEZN.js +0 -167
- package/dist/chunks/chunk.NVTROG33.js +0 -24
- package/dist/chunks/chunk.O4JUVR2Z.js +0 -21
- package/dist/chunks/chunk.OCMMXSGM.js +0 -21
- package/dist/chunks/chunk.OJ5KQ2N6.js +0 -371
- package/dist/chunks/chunk.OVRP7SCW.js +0 -11
- package/dist/chunks/chunk.OWGHUKJT.js +0 -11
- package/dist/chunks/chunk.OXCEIP4D.js +0 -21
- package/dist/chunks/chunk.P6H6LFK6.js +0 -11
- package/dist/chunks/chunk.P7NJ766H.js +0 -21
- package/dist/chunks/chunk.PJ5YDOOR.js +0 -21
- package/dist/chunks/chunk.PNBNNXAE.js +0 -11
- package/dist/chunks/chunk.POIFPHSW.js +0 -11
- package/dist/chunks/chunk.PZXGZKZX.js +0 -287
- package/dist/chunks/chunk.Q6XBKIKU.js +0 -345
- package/dist/chunks/chunk.QCP6XLVO.js +0 -117
- package/dist/chunks/chunk.QDYFAE4C.js +0 -24
- package/dist/chunks/chunk.QEDGF3Q6.js +0 -25
- package/dist/chunks/chunk.QFBVFH3H.js +0 -11
- package/dist/chunks/chunk.QGACMWH5.js +0 -11
- package/dist/chunks/chunk.QLP3FUXD.js +0 -331
- package/dist/chunks/chunk.R3TJXBBX.js +0 -11
- package/dist/chunks/chunk.RHIGMPRD.js +0 -384
- package/dist/chunks/chunk.RQKP666V.js +0 -448
- package/dist/chunks/chunk.RSFSIT42.js +0 -46
- package/dist/chunks/chunk.SAVIMCUW.js +0 -11
- package/dist/chunks/chunk.SQBURCNA.js +0 -111
- package/dist/chunks/chunk.SVB3JJF6.js +0 -21
- package/dist/chunks/chunk.T2V3TM34.js +0 -11
- package/dist/chunks/chunk.T6GNVPBE.js +0 -11
- package/dist/chunks/chunk.TK3QCEQE.js +0 -11
- package/dist/chunks/chunk.TMDHKQYC.js +0 -25
- package/dist/chunks/chunk.TMW55T5C.js +0 -1221
- package/dist/chunks/chunk.TUF2UAQ6.js +0 -50
- package/dist/chunks/chunk.U6XBQJAS.js +0 -28
- package/dist/chunks/chunk.U7NL5I3V.js +0 -315
- package/dist/chunks/chunk.UF6OTKUN.js +0 -136
- package/dist/chunks/chunk.UKG4SK62.js +0 -52
- package/dist/chunks/chunk.UKM7FUXP.js +0 -1064
- package/dist/chunks/chunk.UNESK4ZR.js +0 -25
- package/dist/chunks/chunk.URDGW7Q4.js +0 -263
- package/dist/chunks/chunk.UYNBFPYP.js +0 -506
- package/dist/chunks/chunk.VFA4IRBZ.js +0 -29
- package/dist/chunks/chunk.VFBSZZ6A.js +0 -328
- package/dist/chunks/chunk.VI64RMZE.js +0 -21
- package/dist/chunks/chunk.VIDDUYKN.js +0 -24
- package/dist/chunks/chunk.VIPJU4IR.js +0 -11
- package/dist/chunks/chunk.WDIFRG2W.js +0 -21
- package/dist/chunks/chunk.WDJMAWPD.js +0 -22
- package/dist/chunks/chunk.WIG3P76X.js +0 -21
- package/dist/chunks/chunk.WMRA22XF.js +0 -11
- package/dist/chunks/chunk.WNKXT66E.js +0 -11
- package/dist/chunks/chunk.WQBXNYRY.js +0 -311
- package/dist/chunks/chunk.WRDEVFBZ.js +0 -11
- package/dist/chunks/chunk.WRXJWKY4.js +0 -337
- package/dist/chunks/chunk.WXBMB2HA.js +0 -25
- package/dist/chunks/chunk.X2XIRKUV.js +0 -27
- package/dist/chunks/chunk.X3AGI6YL.js +0 -21
- package/dist/chunks/chunk.X3UKKW7K.js +0 -11
- package/dist/chunks/chunk.X5RCL3YC.js +0 -113
- package/dist/chunks/chunk.XLCI5RL7.js +0 -11
- package/dist/chunks/chunk.XLEG6INU.js +0 -21
- package/dist/chunks/chunk.XRYA5SYA.js +0 -11
- package/dist/chunks/chunk.XVJ6QERN.js +0 -11
- package/dist/chunks/chunk.XX6NFIBF.js +0 -11
- package/dist/chunks/chunk.Y4RQDZBR.js +0 -151
- package/dist/chunks/chunk.YB2RED7N.js +0 -21
- package/dist/chunks/chunk.YC7RT22D.js +0 -293
- package/dist/chunks/chunk.YCSABC7B.js +0 -11
- package/dist/chunks/chunk.YDZHIY2T.js +0 -11
- package/dist/chunks/chunk.YFYBJDLP.js +0 -11
- package/dist/chunks/chunk.YLXNBX2W.js +0 -24
- package/dist/chunks/chunk.YTSZAEYM.js +0 -11
- package/dist/chunks/chunk.YZ63LOCS.js +0 -25
- package/dist/chunks/chunk.ZGZ3UL6N.js +0 -24
- package/dist/chunks/chunk.ZLVTBNS2.js +0 -25
- package/dist/chunks/chunk.ZNX2BE6C.js +0 -119
- package/dist/chunks/chunk.ZSJLW4OH.js +0 -42
- package/dist/chunks/chunk.ZSKCVEBV.js +0 -11
- package/dist/chunks/chunk.ZXAR2FG7.js +0 -24
- package/dist/chunks/chunk.ZZ7RG7GR.js +0 -24
|
@@ -1,949 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
SlVisuallyHidden
|
|
3
|
-
} from "./chunk.JVLZ66DT.js";
|
|
4
|
-
import {
|
|
5
|
-
drag
|
|
6
|
-
} from "./chunk.ESELY2US.js";
|
|
7
|
-
import {
|
|
8
|
-
SlDropdown
|
|
9
|
-
} from "./chunk.RHIGMPRD.js";
|
|
10
|
-
import {
|
|
11
|
-
SlInput
|
|
12
|
-
} from "./chunk.KSWSWCPU.js";
|
|
13
|
-
import {
|
|
14
|
-
color_picker_styles_default
|
|
15
|
-
} from "./chunk.O6CEROC7.js";
|
|
16
|
-
import {
|
|
17
|
-
clamp
|
|
18
|
-
} from "./chunk.HF7GESMZ.js";
|
|
19
|
-
import {
|
|
20
|
-
defaultValue
|
|
21
|
-
} from "./chunk.GI7VDIWX.js";
|
|
22
|
-
import {
|
|
23
|
-
SlButtonGroup
|
|
24
|
-
} from "./chunk.DFZEGCJI.js";
|
|
25
|
-
import {
|
|
26
|
-
SlButton
|
|
27
|
-
} from "./chunk.YC7RT22D.js";
|
|
28
|
-
import {
|
|
29
|
-
FormControlController
|
|
30
|
-
} from "./chunk.WBWPWG4N.js";
|
|
31
|
-
import {
|
|
32
|
-
LocalizeController
|
|
33
|
-
} from "./chunk.6CTB5ZDJ.js";
|
|
34
|
-
import {
|
|
35
|
-
SlIcon
|
|
36
|
-
} from "./chunk.KJRYOAIQ.js";
|
|
37
|
-
import {
|
|
38
|
-
watch
|
|
39
|
-
} from "./chunk.55S3OOTM.js";
|
|
40
|
-
import {
|
|
41
|
-
component_styles_default
|
|
42
|
-
} from "./chunk.TUVJKY7S.js";
|
|
43
|
-
import {
|
|
44
|
-
ShoelaceElement
|
|
45
|
-
} from "./chunk.I5YU6K4U.js";
|
|
46
|
-
import {
|
|
47
|
-
__decorateClass
|
|
48
|
-
} from "./chunk.W5KB6T3Z.js";
|
|
49
|
-
|
|
50
|
-
// src/components/color-picker/color-picker.component.ts
|
|
51
|
-
import { classMap } from "lit/directives/class-map.js";
|
|
52
|
-
import { eventOptions, property, query, state } from "lit/decorators.js";
|
|
53
|
-
import { html } from "lit";
|
|
54
|
-
import { ifDefined } from "lit/directives/if-defined.js";
|
|
55
|
-
import { styleMap } from "lit/directives/style-map.js";
|
|
56
|
-
import { TinyColor } from "@ctrl/tinycolor";
|
|
57
|
-
var hasEyeDropper = "EyeDropper" in window;
|
|
58
|
-
var SlColorPicker = class extends ShoelaceElement {
|
|
59
|
-
constructor() {
|
|
60
|
-
super();
|
|
61
|
-
this.formControlController = new FormControlController(this);
|
|
62
|
-
this.isSafeValue = false;
|
|
63
|
-
this.localize = new LocalizeController(this);
|
|
64
|
-
this.hasFocus = false;
|
|
65
|
-
this.isDraggingGridHandle = false;
|
|
66
|
-
this.isEmpty = false;
|
|
67
|
-
this.inputValue = "";
|
|
68
|
-
this.hue = 0;
|
|
69
|
-
this.saturation = 100;
|
|
70
|
-
this.brightness = 100;
|
|
71
|
-
this.alpha = 100;
|
|
72
|
-
this.value = "";
|
|
73
|
-
this.defaultValue = "";
|
|
74
|
-
this.label = "";
|
|
75
|
-
this.format = "hex";
|
|
76
|
-
this.inline = false;
|
|
77
|
-
this.size = "medium";
|
|
78
|
-
this.noFormatToggle = false;
|
|
79
|
-
this.name = "";
|
|
80
|
-
this.disabled = false;
|
|
81
|
-
this.hoist = false;
|
|
82
|
-
this.opacity = false;
|
|
83
|
-
this.uppercase = false;
|
|
84
|
-
this.swatches = "";
|
|
85
|
-
this.form = "";
|
|
86
|
-
this.required = false;
|
|
87
|
-
this.handleFocusIn = () => {
|
|
88
|
-
this.hasFocus = true;
|
|
89
|
-
this.emit("sl-focus");
|
|
90
|
-
};
|
|
91
|
-
this.handleFocusOut = () => {
|
|
92
|
-
this.hasFocus = false;
|
|
93
|
-
this.emit("sl-blur");
|
|
94
|
-
};
|
|
95
|
-
this.addEventListener("focusin", this.handleFocusIn);
|
|
96
|
-
this.addEventListener("focusout", this.handleFocusOut);
|
|
97
|
-
}
|
|
98
|
-
/** Gets the validity state object */
|
|
99
|
-
get validity() {
|
|
100
|
-
return this.input.validity;
|
|
101
|
-
}
|
|
102
|
-
/** Gets the validation message */
|
|
103
|
-
get validationMessage() {
|
|
104
|
-
return this.input.validationMessage;
|
|
105
|
-
}
|
|
106
|
-
firstUpdated() {
|
|
107
|
-
this.input.updateComplete.then(() => {
|
|
108
|
-
this.formControlController.updateValidity();
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
handleCopy() {
|
|
112
|
-
this.input.select();
|
|
113
|
-
document.execCommand("copy");
|
|
114
|
-
this.previewButton.focus();
|
|
115
|
-
this.previewButton.classList.add("color-picker__preview-color--copied");
|
|
116
|
-
this.previewButton.addEventListener("animationend", () => {
|
|
117
|
-
this.previewButton.classList.remove("color-picker__preview-color--copied");
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
handleFormatToggle() {
|
|
121
|
-
const formats = ["hex", "rgb", "hsl", "hsv"];
|
|
122
|
-
const nextIndex = (formats.indexOf(this.format) + 1) % formats.length;
|
|
123
|
-
this.format = formats[nextIndex];
|
|
124
|
-
this.setColor(this.value);
|
|
125
|
-
this.emit("sl-change");
|
|
126
|
-
this.emit("sl-input");
|
|
127
|
-
}
|
|
128
|
-
handleAlphaDrag(event) {
|
|
129
|
-
const container = this.shadowRoot.querySelector(".color-picker__slider.color-picker__alpha");
|
|
130
|
-
const handle = container.querySelector(".color-picker__slider-handle");
|
|
131
|
-
const { width } = container.getBoundingClientRect();
|
|
132
|
-
let initialValue = this.value;
|
|
133
|
-
let currentValue = this.value;
|
|
134
|
-
handle.focus();
|
|
135
|
-
event.preventDefault();
|
|
136
|
-
drag(container, {
|
|
137
|
-
onMove: (x) => {
|
|
138
|
-
this.alpha = clamp(x / width * 100, 0, 100);
|
|
139
|
-
this.syncValues();
|
|
140
|
-
if (this.value !== currentValue) {
|
|
141
|
-
currentValue = this.value;
|
|
142
|
-
this.emit("sl-input");
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
onStop: () => {
|
|
146
|
-
if (this.value !== initialValue) {
|
|
147
|
-
initialValue = this.value;
|
|
148
|
-
this.emit("sl-change");
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
initialEvent: event
|
|
152
|
-
});
|
|
153
|
-
}
|
|
154
|
-
handleHueDrag(event) {
|
|
155
|
-
const container = this.shadowRoot.querySelector(".color-picker__slider.color-picker__hue");
|
|
156
|
-
const handle = container.querySelector(".color-picker__slider-handle");
|
|
157
|
-
const { width } = container.getBoundingClientRect();
|
|
158
|
-
let initialValue = this.value;
|
|
159
|
-
let currentValue = this.value;
|
|
160
|
-
handle.focus();
|
|
161
|
-
event.preventDefault();
|
|
162
|
-
drag(container, {
|
|
163
|
-
onMove: (x) => {
|
|
164
|
-
this.hue = clamp(x / width * 360, 0, 360);
|
|
165
|
-
this.syncValues();
|
|
166
|
-
if (this.value !== currentValue) {
|
|
167
|
-
currentValue = this.value;
|
|
168
|
-
this.emit("sl-input");
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
onStop: () => {
|
|
172
|
-
if (this.value !== initialValue) {
|
|
173
|
-
initialValue = this.value;
|
|
174
|
-
this.emit("sl-change");
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
initialEvent: event
|
|
178
|
-
});
|
|
179
|
-
}
|
|
180
|
-
handleGridDrag(event) {
|
|
181
|
-
const grid = this.shadowRoot.querySelector(".color-picker__grid");
|
|
182
|
-
const handle = grid.querySelector(".color-picker__grid-handle");
|
|
183
|
-
const { width, height } = grid.getBoundingClientRect();
|
|
184
|
-
let initialValue = this.value;
|
|
185
|
-
let currentValue = this.value;
|
|
186
|
-
handle.focus();
|
|
187
|
-
event.preventDefault();
|
|
188
|
-
this.isDraggingGridHandle = true;
|
|
189
|
-
drag(grid, {
|
|
190
|
-
onMove: (x, y) => {
|
|
191
|
-
this.saturation = clamp(x / width * 100, 0, 100);
|
|
192
|
-
this.brightness = clamp(100 - y / height * 100, 0, 100);
|
|
193
|
-
this.syncValues();
|
|
194
|
-
if (this.value !== currentValue) {
|
|
195
|
-
currentValue = this.value;
|
|
196
|
-
this.emit("sl-input");
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
onStop: () => {
|
|
200
|
-
this.isDraggingGridHandle = false;
|
|
201
|
-
if (this.value !== initialValue) {
|
|
202
|
-
initialValue = this.value;
|
|
203
|
-
this.emit("sl-change");
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
|
-
initialEvent: event
|
|
207
|
-
});
|
|
208
|
-
}
|
|
209
|
-
handleAlphaKeyDown(event) {
|
|
210
|
-
const increment = event.shiftKey ? 10 : 1;
|
|
211
|
-
const oldValue = this.value;
|
|
212
|
-
if (event.key === "ArrowLeft") {
|
|
213
|
-
event.preventDefault();
|
|
214
|
-
this.alpha = clamp(this.alpha - increment, 0, 100);
|
|
215
|
-
this.syncValues();
|
|
216
|
-
}
|
|
217
|
-
if (event.key === "ArrowRight") {
|
|
218
|
-
event.preventDefault();
|
|
219
|
-
this.alpha = clamp(this.alpha + increment, 0, 100);
|
|
220
|
-
this.syncValues();
|
|
221
|
-
}
|
|
222
|
-
if (event.key === "Home") {
|
|
223
|
-
event.preventDefault();
|
|
224
|
-
this.alpha = 0;
|
|
225
|
-
this.syncValues();
|
|
226
|
-
}
|
|
227
|
-
if (event.key === "End") {
|
|
228
|
-
event.preventDefault();
|
|
229
|
-
this.alpha = 100;
|
|
230
|
-
this.syncValues();
|
|
231
|
-
}
|
|
232
|
-
if (this.value !== oldValue) {
|
|
233
|
-
this.emit("sl-change");
|
|
234
|
-
this.emit("sl-input");
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
handleHueKeyDown(event) {
|
|
238
|
-
const increment = event.shiftKey ? 10 : 1;
|
|
239
|
-
const oldValue = this.value;
|
|
240
|
-
if (event.key === "ArrowLeft") {
|
|
241
|
-
event.preventDefault();
|
|
242
|
-
this.hue = clamp(this.hue - increment, 0, 360);
|
|
243
|
-
this.syncValues();
|
|
244
|
-
}
|
|
245
|
-
if (event.key === "ArrowRight") {
|
|
246
|
-
event.preventDefault();
|
|
247
|
-
this.hue = clamp(this.hue + increment, 0, 360);
|
|
248
|
-
this.syncValues();
|
|
249
|
-
}
|
|
250
|
-
if (event.key === "Home") {
|
|
251
|
-
event.preventDefault();
|
|
252
|
-
this.hue = 0;
|
|
253
|
-
this.syncValues();
|
|
254
|
-
}
|
|
255
|
-
if (event.key === "End") {
|
|
256
|
-
event.preventDefault();
|
|
257
|
-
this.hue = 360;
|
|
258
|
-
this.syncValues();
|
|
259
|
-
}
|
|
260
|
-
if (this.value !== oldValue) {
|
|
261
|
-
this.emit("sl-change");
|
|
262
|
-
this.emit("sl-input");
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
handleGridKeyDown(event) {
|
|
266
|
-
const increment = event.shiftKey ? 10 : 1;
|
|
267
|
-
const oldValue = this.value;
|
|
268
|
-
if (event.key === "ArrowLeft") {
|
|
269
|
-
event.preventDefault();
|
|
270
|
-
this.saturation = clamp(this.saturation - increment, 0, 100);
|
|
271
|
-
this.syncValues();
|
|
272
|
-
}
|
|
273
|
-
if (event.key === "ArrowRight") {
|
|
274
|
-
event.preventDefault();
|
|
275
|
-
this.saturation = clamp(this.saturation + increment, 0, 100);
|
|
276
|
-
this.syncValues();
|
|
277
|
-
}
|
|
278
|
-
if (event.key === "ArrowUp") {
|
|
279
|
-
event.preventDefault();
|
|
280
|
-
this.brightness = clamp(this.brightness + increment, 0, 100);
|
|
281
|
-
this.syncValues();
|
|
282
|
-
}
|
|
283
|
-
if (event.key === "ArrowDown") {
|
|
284
|
-
event.preventDefault();
|
|
285
|
-
this.brightness = clamp(this.brightness - increment, 0, 100);
|
|
286
|
-
this.syncValues();
|
|
287
|
-
}
|
|
288
|
-
if (this.value !== oldValue) {
|
|
289
|
-
this.emit("sl-change");
|
|
290
|
-
this.emit("sl-input");
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
handleInputChange(event) {
|
|
294
|
-
const target = event.target;
|
|
295
|
-
const oldValue = this.value;
|
|
296
|
-
event.stopPropagation();
|
|
297
|
-
if (this.input.value) {
|
|
298
|
-
this.setColor(target.value);
|
|
299
|
-
target.value = this.value;
|
|
300
|
-
} else {
|
|
301
|
-
this.value = "";
|
|
302
|
-
}
|
|
303
|
-
if (this.value !== oldValue) {
|
|
304
|
-
this.emit("sl-change");
|
|
305
|
-
this.emit("sl-input");
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
handleInputInput(event) {
|
|
309
|
-
this.formControlController.updateValidity();
|
|
310
|
-
event.stopPropagation();
|
|
311
|
-
}
|
|
312
|
-
handleInputKeyDown(event) {
|
|
313
|
-
if (event.key === "Enter") {
|
|
314
|
-
const oldValue = this.value;
|
|
315
|
-
if (this.input.value) {
|
|
316
|
-
this.setColor(this.input.value);
|
|
317
|
-
this.input.value = this.value;
|
|
318
|
-
if (this.value !== oldValue) {
|
|
319
|
-
this.emit("sl-change");
|
|
320
|
-
this.emit("sl-input");
|
|
321
|
-
}
|
|
322
|
-
setTimeout(() => this.input.select());
|
|
323
|
-
} else {
|
|
324
|
-
this.hue = 0;
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
handleInputInvalid(event) {
|
|
329
|
-
this.formControlController.setValidity(false);
|
|
330
|
-
this.formControlController.emitInvalidEvent(event);
|
|
331
|
-
}
|
|
332
|
-
handleTouchMove(event) {
|
|
333
|
-
event.preventDefault();
|
|
334
|
-
}
|
|
335
|
-
parseColor(colorString) {
|
|
336
|
-
const color = new TinyColor(colorString);
|
|
337
|
-
if (!color.isValid) {
|
|
338
|
-
return null;
|
|
339
|
-
}
|
|
340
|
-
const hslColor = color.toHsl();
|
|
341
|
-
const hsl = {
|
|
342
|
-
h: hslColor.h,
|
|
343
|
-
s: hslColor.s * 100,
|
|
344
|
-
l: hslColor.l * 100,
|
|
345
|
-
a: hslColor.a
|
|
346
|
-
};
|
|
347
|
-
const rgb = color.toRgb();
|
|
348
|
-
const hex = color.toHexString();
|
|
349
|
-
const hexa = color.toHex8String();
|
|
350
|
-
const hsvColor = color.toHsv();
|
|
351
|
-
const hsv = {
|
|
352
|
-
h: hsvColor.h,
|
|
353
|
-
s: hsvColor.s * 100,
|
|
354
|
-
v: hsvColor.v * 100,
|
|
355
|
-
a: hsvColor.a
|
|
356
|
-
};
|
|
357
|
-
return {
|
|
358
|
-
hsl: {
|
|
359
|
-
h: hsl.h,
|
|
360
|
-
s: hsl.s,
|
|
361
|
-
l: hsl.l,
|
|
362
|
-
string: this.setLetterCase(`hsl(${Math.round(hsl.h)}, ${Math.round(hsl.s)}%, ${Math.round(hsl.l)}%)`)
|
|
363
|
-
},
|
|
364
|
-
hsla: {
|
|
365
|
-
h: hsl.h,
|
|
366
|
-
s: hsl.s,
|
|
367
|
-
l: hsl.l,
|
|
368
|
-
a: hsl.a,
|
|
369
|
-
string: this.setLetterCase(
|
|
370
|
-
`hsla(${Math.round(hsl.h)}, ${Math.round(hsl.s)}%, ${Math.round(hsl.l)}%, ${hsl.a.toFixed(2).toString()})`
|
|
371
|
-
)
|
|
372
|
-
},
|
|
373
|
-
hsv: {
|
|
374
|
-
h: hsv.h,
|
|
375
|
-
s: hsv.s,
|
|
376
|
-
v: hsv.v,
|
|
377
|
-
string: this.setLetterCase(`hsv(${Math.round(hsv.h)}, ${Math.round(hsv.s)}%, ${Math.round(hsv.v)}%)`)
|
|
378
|
-
},
|
|
379
|
-
hsva: {
|
|
380
|
-
h: hsv.h,
|
|
381
|
-
s: hsv.s,
|
|
382
|
-
v: hsv.v,
|
|
383
|
-
a: hsv.a,
|
|
384
|
-
string: this.setLetterCase(
|
|
385
|
-
`hsva(${Math.round(hsv.h)}, ${Math.round(hsv.s)}%, ${Math.round(hsv.v)}%, ${hsv.a.toFixed(2).toString()})`
|
|
386
|
-
)
|
|
387
|
-
},
|
|
388
|
-
rgb: {
|
|
389
|
-
r: rgb.r,
|
|
390
|
-
g: rgb.g,
|
|
391
|
-
b: rgb.b,
|
|
392
|
-
string: this.setLetterCase(`rgb(${Math.round(rgb.r)}, ${Math.round(rgb.g)}, ${Math.round(rgb.b)})`)
|
|
393
|
-
},
|
|
394
|
-
rgba: {
|
|
395
|
-
r: rgb.r,
|
|
396
|
-
g: rgb.g,
|
|
397
|
-
b: rgb.b,
|
|
398
|
-
a: rgb.a,
|
|
399
|
-
string: this.setLetterCase(
|
|
400
|
-
`rgba(${Math.round(rgb.r)}, ${Math.round(rgb.g)}, ${Math.round(rgb.b)}, ${rgb.a.toFixed(2).toString()})`
|
|
401
|
-
)
|
|
402
|
-
},
|
|
403
|
-
hex: this.setLetterCase(hex),
|
|
404
|
-
hexa: this.setLetterCase(hexa)
|
|
405
|
-
};
|
|
406
|
-
}
|
|
407
|
-
setColor(colorString) {
|
|
408
|
-
const newColor = this.parseColor(colorString);
|
|
409
|
-
if (newColor === null) {
|
|
410
|
-
return false;
|
|
411
|
-
}
|
|
412
|
-
this.hue = newColor.hsva.h;
|
|
413
|
-
this.saturation = newColor.hsva.s;
|
|
414
|
-
this.brightness = newColor.hsva.v;
|
|
415
|
-
this.alpha = this.opacity ? newColor.hsva.a * 100 : 100;
|
|
416
|
-
this.syncValues();
|
|
417
|
-
return true;
|
|
418
|
-
}
|
|
419
|
-
setLetterCase(string) {
|
|
420
|
-
if (typeof string !== "string") {
|
|
421
|
-
return "";
|
|
422
|
-
}
|
|
423
|
-
return this.uppercase ? string.toUpperCase() : string.toLowerCase();
|
|
424
|
-
}
|
|
425
|
-
async syncValues() {
|
|
426
|
-
const currentColor = this.parseColor(
|
|
427
|
-
`hsva(${this.hue}, ${this.saturation}%, ${this.brightness}%, ${this.alpha / 100})`
|
|
428
|
-
);
|
|
429
|
-
if (currentColor === null) {
|
|
430
|
-
return;
|
|
431
|
-
}
|
|
432
|
-
if (this.format === "hsl") {
|
|
433
|
-
this.inputValue = this.opacity ? currentColor.hsla.string : currentColor.hsl.string;
|
|
434
|
-
} else if (this.format === "rgb") {
|
|
435
|
-
this.inputValue = this.opacity ? currentColor.rgba.string : currentColor.rgb.string;
|
|
436
|
-
} else if (this.format === "hsv") {
|
|
437
|
-
this.inputValue = this.opacity ? currentColor.hsva.string : currentColor.hsv.string;
|
|
438
|
-
} else {
|
|
439
|
-
this.inputValue = this.opacity ? currentColor.hexa : currentColor.hex;
|
|
440
|
-
}
|
|
441
|
-
this.isSafeValue = true;
|
|
442
|
-
this.value = this.inputValue;
|
|
443
|
-
await this.updateComplete;
|
|
444
|
-
this.isSafeValue = false;
|
|
445
|
-
}
|
|
446
|
-
handleAfterHide() {
|
|
447
|
-
this.previewButton.classList.remove("color-picker__preview-color--copied");
|
|
448
|
-
}
|
|
449
|
-
handleEyeDropper() {
|
|
450
|
-
if (!hasEyeDropper) {
|
|
451
|
-
return;
|
|
452
|
-
}
|
|
453
|
-
const eyeDropper = new EyeDropper();
|
|
454
|
-
eyeDropper.open().then((colorSelectionResult) => {
|
|
455
|
-
const oldValue = this.value;
|
|
456
|
-
this.setColor(colorSelectionResult.sRGBHex);
|
|
457
|
-
if (this.value !== oldValue) {
|
|
458
|
-
this.emit("sl-change");
|
|
459
|
-
this.emit("sl-input");
|
|
460
|
-
}
|
|
461
|
-
}).catch(() => {
|
|
462
|
-
});
|
|
463
|
-
}
|
|
464
|
-
selectSwatch(color) {
|
|
465
|
-
const oldValue = this.value;
|
|
466
|
-
if (!this.disabled) {
|
|
467
|
-
this.setColor(color);
|
|
468
|
-
if (this.value !== oldValue) {
|
|
469
|
-
this.emit("sl-change");
|
|
470
|
-
this.emit("sl-input");
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
/** Generates a hex string from HSV values. Hue must be 0-360. All other arguments must be 0-100. */
|
|
475
|
-
getHexString(hue, saturation, brightness, alpha = 100) {
|
|
476
|
-
const color = new TinyColor(`hsva(${hue}, ${saturation}%, ${brightness}%, ${alpha / 100})`);
|
|
477
|
-
if (!color.isValid) {
|
|
478
|
-
return "";
|
|
479
|
-
}
|
|
480
|
-
return color.toHex8String();
|
|
481
|
-
}
|
|
482
|
-
// Prevents nested components from leaking events
|
|
483
|
-
stopNestedEventPropagation(event) {
|
|
484
|
-
event.stopImmediatePropagation();
|
|
485
|
-
}
|
|
486
|
-
handleFormatChange() {
|
|
487
|
-
this.syncValues();
|
|
488
|
-
}
|
|
489
|
-
handleOpacityChange() {
|
|
490
|
-
this.alpha = 100;
|
|
491
|
-
}
|
|
492
|
-
handleValueChange(oldValue, newValue) {
|
|
493
|
-
this.isEmpty = !newValue;
|
|
494
|
-
if (!newValue) {
|
|
495
|
-
this.hue = 0;
|
|
496
|
-
this.saturation = 0;
|
|
497
|
-
this.brightness = 100;
|
|
498
|
-
this.alpha = 100;
|
|
499
|
-
}
|
|
500
|
-
if (!this.isSafeValue) {
|
|
501
|
-
const newColor = this.parseColor(newValue);
|
|
502
|
-
if (newColor !== null) {
|
|
503
|
-
this.inputValue = this.value;
|
|
504
|
-
this.hue = newColor.hsva.h;
|
|
505
|
-
this.saturation = newColor.hsva.s;
|
|
506
|
-
this.brightness = newColor.hsva.v;
|
|
507
|
-
this.alpha = newColor.hsva.a * 100;
|
|
508
|
-
this.syncValues();
|
|
509
|
-
} else {
|
|
510
|
-
this.inputValue = oldValue != null ? oldValue : "";
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
/** Sets focus on the color picker. */
|
|
515
|
-
focus(options) {
|
|
516
|
-
if (this.inline) {
|
|
517
|
-
this.base.focus(options);
|
|
518
|
-
} else {
|
|
519
|
-
this.trigger.focus(options);
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
/** Removes focus from the color picker. */
|
|
523
|
-
blur() {
|
|
524
|
-
var _a;
|
|
525
|
-
const elementToBlur = this.inline ? this.base : this.trigger;
|
|
526
|
-
if (this.hasFocus) {
|
|
527
|
-
elementToBlur.focus({ preventScroll: true });
|
|
528
|
-
elementToBlur.blur();
|
|
529
|
-
}
|
|
530
|
-
if ((_a = this.dropdown) == null ? void 0 : _a.open) {
|
|
531
|
-
this.dropdown.hide();
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
/** Returns the current value as a string in the specified format. */
|
|
535
|
-
getFormattedValue(format = "hex") {
|
|
536
|
-
const currentColor = this.parseColor(
|
|
537
|
-
`hsva(${this.hue}, ${this.saturation}%, ${this.brightness}%, ${this.alpha / 100})`
|
|
538
|
-
);
|
|
539
|
-
if (currentColor === null) {
|
|
540
|
-
return "";
|
|
541
|
-
}
|
|
542
|
-
switch (format) {
|
|
543
|
-
case "hex":
|
|
544
|
-
return currentColor.hex;
|
|
545
|
-
case "hexa":
|
|
546
|
-
return currentColor.hexa;
|
|
547
|
-
case "rgb":
|
|
548
|
-
return currentColor.rgb.string;
|
|
549
|
-
case "rgba":
|
|
550
|
-
return currentColor.rgba.string;
|
|
551
|
-
case "hsl":
|
|
552
|
-
return currentColor.hsl.string;
|
|
553
|
-
case "hsla":
|
|
554
|
-
return currentColor.hsla.string;
|
|
555
|
-
case "hsv":
|
|
556
|
-
return currentColor.hsv.string;
|
|
557
|
-
case "hsva":
|
|
558
|
-
return currentColor.hsva.string;
|
|
559
|
-
default:
|
|
560
|
-
return "";
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
564
|
-
checkValidity() {
|
|
565
|
-
return this.input.checkValidity();
|
|
566
|
-
}
|
|
567
|
-
/** Gets the associated form, if one exists. */
|
|
568
|
-
getForm() {
|
|
569
|
-
return this.formControlController.getForm();
|
|
570
|
-
}
|
|
571
|
-
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
572
|
-
reportValidity() {
|
|
573
|
-
if (!this.inline && !this.validity.valid) {
|
|
574
|
-
this.dropdown.show();
|
|
575
|
-
this.addEventListener("sl-after-show", () => this.input.reportValidity(), { once: true });
|
|
576
|
-
if (!this.disabled) {
|
|
577
|
-
this.formControlController.emitInvalidEvent();
|
|
578
|
-
}
|
|
579
|
-
return false;
|
|
580
|
-
}
|
|
581
|
-
return this.input.reportValidity();
|
|
582
|
-
}
|
|
583
|
-
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
584
|
-
setCustomValidity(message) {
|
|
585
|
-
this.input.setCustomValidity(message);
|
|
586
|
-
this.formControlController.updateValidity();
|
|
587
|
-
}
|
|
588
|
-
render() {
|
|
589
|
-
const gridHandleX = this.saturation;
|
|
590
|
-
const gridHandleY = 100 - this.brightness;
|
|
591
|
-
const swatches = Array.isArray(this.swatches) ? this.swatches : this.swatches.split(";").filter((color) => color.trim() !== "");
|
|
592
|
-
const colorPicker = html`
|
|
593
|
-
<div
|
|
594
|
-
part="base"
|
|
595
|
-
class=${classMap({
|
|
596
|
-
"color-picker": true,
|
|
597
|
-
"color-picker--inline": this.inline,
|
|
598
|
-
"color-picker--disabled": this.disabled,
|
|
599
|
-
"color-picker--focused": this.hasFocus
|
|
600
|
-
})}
|
|
601
|
-
aria-disabled=${this.disabled ? "true" : "false"}
|
|
602
|
-
aria-labelledby="label"
|
|
603
|
-
tabindex=${this.inline ? "0" : "-1"}
|
|
604
|
-
>
|
|
605
|
-
${this.inline ? html`
|
|
606
|
-
<sl-visually-hidden id="label">
|
|
607
|
-
<slot name="label">${this.label}</slot>
|
|
608
|
-
</sl-visually-hidden>
|
|
609
|
-
` : null}
|
|
610
|
-
|
|
611
|
-
<div
|
|
612
|
-
part="grid"
|
|
613
|
-
class="color-picker__grid"
|
|
614
|
-
style=${styleMap({ backgroundColor: this.getHexString(this.hue, 100, 100) })}
|
|
615
|
-
@pointerdown=${this.handleGridDrag}
|
|
616
|
-
@touchmove=${this.handleTouchMove}
|
|
617
|
-
>
|
|
618
|
-
<span
|
|
619
|
-
part="grid-handle"
|
|
620
|
-
class=${classMap({
|
|
621
|
-
"color-picker__grid-handle": true,
|
|
622
|
-
"color-picker__grid-handle--dragging": this.isDraggingGridHandle
|
|
623
|
-
})}
|
|
624
|
-
style=${styleMap({
|
|
625
|
-
top: `${gridHandleY}%`,
|
|
626
|
-
left: `${gridHandleX}%`,
|
|
627
|
-
backgroundColor: this.getHexString(this.hue, this.saturation, this.brightness, this.alpha)
|
|
628
|
-
})}
|
|
629
|
-
role="application"
|
|
630
|
-
aria-label="HSV"
|
|
631
|
-
tabindex=${ifDefined(this.disabled ? void 0 : "0")}
|
|
632
|
-
@keydown=${this.handleGridKeyDown}
|
|
633
|
-
></span>
|
|
634
|
-
</div>
|
|
635
|
-
|
|
636
|
-
<div class="color-picker__controls">
|
|
637
|
-
<div class="color-picker__sliders">
|
|
638
|
-
<div
|
|
639
|
-
part="slider hue-slider"
|
|
640
|
-
class="color-picker__hue color-picker__slider"
|
|
641
|
-
@pointerdown=${this.handleHueDrag}
|
|
642
|
-
@touchmove=${this.handleTouchMove}
|
|
643
|
-
>
|
|
644
|
-
<span
|
|
645
|
-
part="slider-handle hue-slider-handle"
|
|
646
|
-
class="color-picker__slider-handle"
|
|
647
|
-
style=${styleMap({
|
|
648
|
-
left: `${this.hue === 0 ? 0 : 100 / (360 / this.hue)}%`
|
|
649
|
-
})}
|
|
650
|
-
role="slider"
|
|
651
|
-
aria-label="hue"
|
|
652
|
-
aria-orientation="horizontal"
|
|
653
|
-
aria-valuemin="0"
|
|
654
|
-
aria-valuemax="360"
|
|
655
|
-
aria-valuenow=${`${Math.round(this.hue)}`}
|
|
656
|
-
tabindex=${ifDefined(this.disabled ? void 0 : "0")}
|
|
657
|
-
@keydown=${this.handleHueKeyDown}
|
|
658
|
-
></span>
|
|
659
|
-
</div>
|
|
660
|
-
|
|
661
|
-
${this.opacity ? html`
|
|
662
|
-
<div
|
|
663
|
-
part="slider opacity-slider"
|
|
664
|
-
class="color-picker__alpha color-picker__slider color-picker__transparent-bg"
|
|
665
|
-
@pointerdown="${this.handleAlphaDrag}"
|
|
666
|
-
@touchmove=${this.handleTouchMove}
|
|
667
|
-
>
|
|
668
|
-
<div
|
|
669
|
-
class="color-picker__alpha-gradient"
|
|
670
|
-
style=${styleMap({
|
|
671
|
-
backgroundImage: `linear-gradient(
|
|
672
|
-
to right,
|
|
673
|
-
${this.getHexString(this.hue, this.saturation, this.brightness, 0)} 0%,
|
|
674
|
-
${this.getHexString(this.hue, this.saturation, this.brightness, 100)} 100%
|
|
675
|
-
)`
|
|
676
|
-
})}
|
|
677
|
-
></div>
|
|
678
|
-
<span
|
|
679
|
-
part="slider-handle opacity-slider-handle"
|
|
680
|
-
class="color-picker__slider-handle"
|
|
681
|
-
style=${styleMap({
|
|
682
|
-
left: `${this.alpha}%`
|
|
683
|
-
})}
|
|
684
|
-
role="slider"
|
|
685
|
-
aria-label="alpha"
|
|
686
|
-
aria-orientation="horizontal"
|
|
687
|
-
aria-valuemin="0"
|
|
688
|
-
aria-valuemax="100"
|
|
689
|
-
aria-valuenow=${Math.round(this.alpha)}
|
|
690
|
-
tabindex=${ifDefined(this.disabled ? void 0 : "0")}
|
|
691
|
-
@keydown=${this.handleAlphaKeyDown}
|
|
692
|
-
></span>
|
|
693
|
-
</div>
|
|
694
|
-
` : ""}
|
|
695
|
-
</div>
|
|
696
|
-
|
|
697
|
-
<button
|
|
698
|
-
type="button"
|
|
699
|
-
part="preview"
|
|
700
|
-
class="color-picker__preview color-picker__transparent-bg"
|
|
701
|
-
aria-label=${this.localize.term("copy")}
|
|
702
|
-
style=${styleMap({
|
|
703
|
-
"--preview-color": this.getHexString(this.hue, this.saturation, this.brightness, this.alpha)
|
|
704
|
-
})}
|
|
705
|
-
@click=${this.handleCopy}
|
|
706
|
-
></button>
|
|
707
|
-
</div>
|
|
708
|
-
|
|
709
|
-
<div class="color-picker__user-input" aria-live="polite">
|
|
710
|
-
<sl-input
|
|
711
|
-
part="input"
|
|
712
|
-
type="text"
|
|
713
|
-
name=${this.name}
|
|
714
|
-
autocomplete="off"
|
|
715
|
-
autocorrect="off"
|
|
716
|
-
autocapitalize="off"
|
|
717
|
-
spellcheck="false"
|
|
718
|
-
value=${this.isEmpty ? "" : this.inputValue}
|
|
719
|
-
?required=${this.required}
|
|
720
|
-
?disabled=${this.disabled}
|
|
721
|
-
aria-label=${this.localize.term("currentValue")}
|
|
722
|
-
@keydown=${this.handleInputKeyDown}
|
|
723
|
-
@sl-change=${this.handleInputChange}
|
|
724
|
-
@sl-input=${this.handleInputInput}
|
|
725
|
-
@sl-invalid=${this.handleInputInvalid}
|
|
726
|
-
@sl-blur=${this.stopNestedEventPropagation}
|
|
727
|
-
@sl-focus=${this.stopNestedEventPropagation}
|
|
728
|
-
></sl-input>
|
|
729
|
-
|
|
730
|
-
<sl-button-group>
|
|
731
|
-
${!this.noFormatToggle ? html`
|
|
732
|
-
<sl-button
|
|
733
|
-
part="format-button"
|
|
734
|
-
aria-label=${this.localize.term("toggleColorFormat")}
|
|
735
|
-
exportparts="
|
|
736
|
-
base:format-button__base,
|
|
737
|
-
prefix:format-button__prefix,
|
|
738
|
-
label:format-button__label,
|
|
739
|
-
suffix:format-button__suffix,
|
|
740
|
-
caret:format-button__caret
|
|
741
|
-
"
|
|
742
|
-
@click=${this.handleFormatToggle}
|
|
743
|
-
@sl-blur=${this.stopNestedEventPropagation}
|
|
744
|
-
@sl-focus=${this.stopNestedEventPropagation}
|
|
745
|
-
>
|
|
746
|
-
${this.setLetterCase(this.format)}
|
|
747
|
-
</sl-button>
|
|
748
|
-
` : ""}
|
|
749
|
-
${hasEyeDropper ? html`
|
|
750
|
-
<sl-button
|
|
751
|
-
part="eye-dropper-button"
|
|
752
|
-
exportparts="
|
|
753
|
-
base:eye-dropper-button__base,
|
|
754
|
-
prefix:eye-dropper-button__prefix,
|
|
755
|
-
label:eye-dropper-button__label,
|
|
756
|
-
suffix:eye-dropper-button__suffix,
|
|
757
|
-
caret:eye-dropper-button__caret
|
|
758
|
-
"
|
|
759
|
-
@click=${this.handleEyeDropper}
|
|
760
|
-
@sl-blur=${this.stopNestedEventPropagation}
|
|
761
|
-
@sl-focus=${this.stopNestedEventPropagation}
|
|
762
|
-
>
|
|
763
|
-
<sl-icon
|
|
764
|
-
library="system"
|
|
765
|
-
name="eyedropper"
|
|
766
|
-
label=${this.localize.term("selectAColorFromTheScreen")}
|
|
767
|
-
></sl-icon>
|
|
768
|
-
</sl-button>
|
|
769
|
-
` : ""}
|
|
770
|
-
</sl-button-group>
|
|
771
|
-
</div>
|
|
772
|
-
|
|
773
|
-
${swatches.length > 0 ? html`
|
|
774
|
-
<div part="swatches" class="color-picker__swatches">
|
|
775
|
-
${swatches.map((swatch) => {
|
|
776
|
-
const parsedColor = this.parseColor(swatch);
|
|
777
|
-
if (!parsedColor) {
|
|
778
|
-
console.error(`Unable to parse swatch color: "${swatch}"`, this);
|
|
779
|
-
return "";
|
|
780
|
-
}
|
|
781
|
-
return html`
|
|
782
|
-
<div
|
|
783
|
-
part="swatch"
|
|
784
|
-
class="color-picker__swatch color-picker__transparent-bg"
|
|
785
|
-
tabindex=${ifDefined(this.disabled ? void 0 : "0")}
|
|
786
|
-
role="button"
|
|
787
|
-
aria-label=${swatch}
|
|
788
|
-
@click=${() => this.selectSwatch(swatch)}
|
|
789
|
-
@keydown=${(event) => !this.disabled && event.key === "Enter" && this.setColor(parsedColor.hexa)}
|
|
790
|
-
>
|
|
791
|
-
<div
|
|
792
|
-
class="color-picker__swatch-color"
|
|
793
|
-
style=${styleMap({ backgroundColor: parsedColor.hexa })}
|
|
794
|
-
></div>
|
|
795
|
-
</div>
|
|
796
|
-
`;
|
|
797
|
-
})}
|
|
798
|
-
</div>
|
|
799
|
-
` : ""}
|
|
800
|
-
</div>
|
|
801
|
-
`;
|
|
802
|
-
if (this.inline) {
|
|
803
|
-
return colorPicker;
|
|
804
|
-
}
|
|
805
|
-
return html`
|
|
806
|
-
<sl-dropdown
|
|
807
|
-
class="color-dropdown"
|
|
808
|
-
aria-disabled=${this.disabled ? "true" : "false"}
|
|
809
|
-
.containingElement=${this}
|
|
810
|
-
?disabled=${this.disabled}
|
|
811
|
-
?hoist=${this.hoist}
|
|
812
|
-
@sl-after-hide=${this.handleAfterHide}
|
|
813
|
-
>
|
|
814
|
-
<button
|
|
815
|
-
part="trigger"
|
|
816
|
-
slot="trigger"
|
|
817
|
-
class=${classMap({
|
|
818
|
-
"color-dropdown__trigger": true,
|
|
819
|
-
"color-dropdown__trigger--disabled": this.disabled,
|
|
820
|
-
"color-dropdown__trigger--small": this.size === "small",
|
|
821
|
-
"color-dropdown__trigger--medium": this.size === "medium",
|
|
822
|
-
"color-dropdown__trigger--large": this.size === "large",
|
|
823
|
-
"color-dropdown__trigger--empty": this.isEmpty,
|
|
824
|
-
"color-dropdown__trigger--focused": this.hasFocus,
|
|
825
|
-
"color-picker__transparent-bg": true
|
|
826
|
-
})}
|
|
827
|
-
style=${styleMap({
|
|
828
|
-
color: this.getHexString(this.hue, this.saturation, this.brightness, this.alpha)
|
|
829
|
-
})}
|
|
830
|
-
type="button"
|
|
831
|
-
>
|
|
832
|
-
<sl-visually-hidden>
|
|
833
|
-
<slot name="label">${this.label}</slot>
|
|
834
|
-
</sl-visually-hidden>
|
|
835
|
-
</button>
|
|
836
|
-
${colorPicker}
|
|
837
|
-
</sl-dropdown>
|
|
838
|
-
`;
|
|
839
|
-
}
|
|
840
|
-
};
|
|
841
|
-
SlColorPicker.styles = [component_styles_default, color_picker_styles_default];
|
|
842
|
-
SlColorPicker.dependencies = {
|
|
843
|
-
"sl-button-group": SlButtonGroup,
|
|
844
|
-
"sl-button": SlButton,
|
|
845
|
-
"sl-dropdown": SlDropdown,
|
|
846
|
-
"sl-icon": SlIcon,
|
|
847
|
-
"sl-input": SlInput,
|
|
848
|
-
"sl-visually-hidden": SlVisuallyHidden
|
|
849
|
-
};
|
|
850
|
-
__decorateClass([
|
|
851
|
-
query('[part~="base"]')
|
|
852
|
-
], SlColorPicker.prototype, "base", 2);
|
|
853
|
-
__decorateClass([
|
|
854
|
-
query('[part~="input"]')
|
|
855
|
-
], SlColorPicker.prototype, "input", 2);
|
|
856
|
-
__decorateClass([
|
|
857
|
-
query(".color-dropdown")
|
|
858
|
-
], SlColorPicker.prototype, "dropdown", 2);
|
|
859
|
-
__decorateClass([
|
|
860
|
-
query('[part~="preview"]')
|
|
861
|
-
], SlColorPicker.prototype, "previewButton", 2);
|
|
862
|
-
__decorateClass([
|
|
863
|
-
query('[part~="trigger"]')
|
|
864
|
-
], SlColorPicker.prototype, "trigger", 2);
|
|
865
|
-
__decorateClass([
|
|
866
|
-
state()
|
|
867
|
-
], SlColorPicker.prototype, "hasFocus", 2);
|
|
868
|
-
__decorateClass([
|
|
869
|
-
state()
|
|
870
|
-
], SlColorPicker.prototype, "isDraggingGridHandle", 2);
|
|
871
|
-
__decorateClass([
|
|
872
|
-
state()
|
|
873
|
-
], SlColorPicker.prototype, "isEmpty", 2);
|
|
874
|
-
__decorateClass([
|
|
875
|
-
state()
|
|
876
|
-
], SlColorPicker.prototype, "inputValue", 2);
|
|
877
|
-
__decorateClass([
|
|
878
|
-
state()
|
|
879
|
-
], SlColorPicker.prototype, "hue", 2);
|
|
880
|
-
__decorateClass([
|
|
881
|
-
state()
|
|
882
|
-
], SlColorPicker.prototype, "saturation", 2);
|
|
883
|
-
__decorateClass([
|
|
884
|
-
state()
|
|
885
|
-
], SlColorPicker.prototype, "brightness", 2);
|
|
886
|
-
__decorateClass([
|
|
887
|
-
state()
|
|
888
|
-
], SlColorPicker.prototype, "alpha", 2);
|
|
889
|
-
__decorateClass([
|
|
890
|
-
property()
|
|
891
|
-
], SlColorPicker.prototype, "value", 2);
|
|
892
|
-
__decorateClass([
|
|
893
|
-
defaultValue()
|
|
894
|
-
], SlColorPicker.prototype, "defaultValue", 2);
|
|
895
|
-
__decorateClass([
|
|
896
|
-
property()
|
|
897
|
-
], SlColorPicker.prototype, "label", 2);
|
|
898
|
-
__decorateClass([
|
|
899
|
-
property()
|
|
900
|
-
], SlColorPicker.prototype, "format", 2);
|
|
901
|
-
__decorateClass([
|
|
902
|
-
property({ type: Boolean, reflect: true })
|
|
903
|
-
], SlColorPicker.prototype, "inline", 2);
|
|
904
|
-
__decorateClass([
|
|
905
|
-
property({ reflect: true })
|
|
906
|
-
], SlColorPicker.prototype, "size", 2);
|
|
907
|
-
__decorateClass([
|
|
908
|
-
property({ attribute: "no-format-toggle", type: Boolean })
|
|
909
|
-
], SlColorPicker.prototype, "noFormatToggle", 2);
|
|
910
|
-
__decorateClass([
|
|
911
|
-
property()
|
|
912
|
-
], SlColorPicker.prototype, "name", 2);
|
|
913
|
-
__decorateClass([
|
|
914
|
-
property({ type: Boolean, reflect: true })
|
|
915
|
-
], SlColorPicker.prototype, "disabled", 2);
|
|
916
|
-
__decorateClass([
|
|
917
|
-
property({ type: Boolean })
|
|
918
|
-
], SlColorPicker.prototype, "hoist", 2);
|
|
919
|
-
__decorateClass([
|
|
920
|
-
property({ type: Boolean })
|
|
921
|
-
], SlColorPicker.prototype, "opacity", 2);
|
|
922
|
-
__decorateClass([
|
|
923
|
-
property({ type: Boolean })
|
|
924
|
-
], SlColorPicker.prototype, "uppercase", 2);
|
|
925
|
-
__decorateClass([
|
|
926
|
-
property()
|
|
927
|
-
], SlColorPicker.prototype, "swatches", 2);
|
|
928
|
-
__decorateClass([
|
|
929
|
-
property({ reflect: true })
|
|
930
|
-
], SlColorPicker.prototype, "form", 2);
|
|
931
|
-
__decorateClass([
|
|
932
|
-
property({ type: Boolean, reflect: true })
|
|
933
|
-
], SlColorPicker.prototype, "required", 2);
|
|
934
|
-
__decorateClass([
|
|
935
|
-
eventOptions({ passive: false })
|
|
936
|
-
], SlColorPicker.prototype, "handleTouchMove", 1);
|
|
937
|
-
__decorateClass([
|
|
938
|
-
watch("format", { waitUntilFirstUpdate: true })
|
|
939
|
-
], SlColorPicker.prototype, "handleFormatChange", 1);
|
|
940
|
-
__decorateClass([
|
|
941
|
-
watch("opacity", { waitUntilFirstUpdate: true })
|
|
942
|
-
], SlColorPicker.prototype, "handleOpacityChange", 1);
|
|
943
|
-
__decorateClass([
|
|
944
|
-
watch("value")
|
|
945
|
-
], SlColorPicker.prototype, "handleValueChange", 1);
|
|
946
|
-
|
|
947
|
-
export {
|
|
948
|
-
SlColorPicker
|
|
949
|
-
};
|