@kdcloudjs/shoelace 1.0.6 → 1.0.7
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.2F6BH5VZ.js +48 -0
- package/cdn/chunks/chunk.2FVW6KTS.js +24 -0
- package/cdn/chunks/chunk.2GQXLKH2.js +11 -0
- package/cdn/chunks/chunk.2M63QR5H.js +137 -0
- package/cdn/chunks/chunk.2MTL3FGH.js +75 -0
- package/cdn/chunks/chunk.2YDZBONK.js +36 -0
- package/cdn/chunks/chunk.33GIVBCX.js +186 -0
- package/cdn/chunks/chunk.3AZELGZB.js +24 -0
- package/cdn/chunks/chunk.3BBWICYY.js +11 -0
- package/cdn/chunks/chunk.3F6V74NZ.js +302 -0
- package/cdn/chunks/chunk.3TGDZ5DJ.js +23 -0
- package/cdn/chunks/chunk.4DLZFMRP.js +28 -0
- package/cdn/chunks/chunk.4E6VVZLR.js +113 -0
- package/cdn/chunks/chunk.4EZCWDFF.js +282 -0
- package/cdn/chunks/chunk.4HEFI3TR.js +21 -0
- package/cdn/chunks/chunk.4ITOXMOC.js +50 -0
- package/cdn/chunks/chunk.4PCTXN2L.js +11 -0
- package/cdn/chunks/chunk.4UU2AHNM.js +11 -0
- package/cdn/chunks/chunk.4WYLYP2R.js +2654 -0
- package/cdn/chunks/chunk.535UQ7PU.js +11 -0
- package/cdn/chunks/chunk.55VMUAMC.js +219 -0
- package/cdn/chunks/chunk.5DULFYC5.js +11 -0
- package/cdn/chunks/chunk.5EVZQYMV.js +29 -0
- package/cdn/chunks/chunk.5LQPJK4T.js +25 -0
- package/cdn/chunks/chunk.5QBHYHI5.js +11 -0
- package/cdn/chunks/chunk.5TFURW2T.js +11 -0
- package/cdn/chunks/chunk.6BPAJGHW.js +37 -0
- package/cdn/chunks/chunk.6EIVSMAA.js +29 -0
- package/cdn/chunks/chunk.6F2FLYOW.js +21 -0
- package/cdn/chunks/chunk.6F6QUINY.js +21 -0
- package/cdn/chunks/chunk.6UM6FC4K.js +11 -0
- package/cdn/chunks/chunk.6US6F6S3.js +120 -0
- package/cdn/chunks/chunk.6ZIXSOPR.js +21 -0
- package/cdn/chunks/chunk.6ZKNFZGQ.js +63 -0
- package/cdn/chunks/chunk.74WFQGMH.js +7179 -0
- package/cdn/chunks/chunk.7LIKXAS7.js +11 -0
- package/cdn/chunks/chunk.7QQEWD4L.js +21 -0
- package/cdn/chunks/chunk.7R6STMVQ.js +24 -0
- package/cdn/chunks/chunk.A6JN67Y5.js +574 -0
- package/cdn/chunks/chunk.AGYFIM4Q.js +29 -0
- package/cdn/chunks/chunk.AJ2OYLPL.js +87 -0
- package/cdn/chunks/chunk.AQBMDC3E.js +11 -0
- package/cdn/chunks/chunk.AU2R525E.js +26 -0
- package/cdn/chunks/chunk.AVRLZDY5.js +21 -0
- package/cdn/chunks/chunk.B4DQB52P.js +24 -0
- package/cdn/chunks/chunk.B7G2OHZ4.js +28 -0
- package/cdn/chunks/chunk.BY6KFH73.js +11 -0
- package/cdn/chunks/chunk.C2YJADJR.js +27 -0
- package/cdn/chunks/chunk.C6IEKD4A.js +216 -0
- package/cdn/chunks/chunk.CBMCIPXG.js +97 -0
- package/cdn/chunks/chunk.CL5YXDWF.js +28 -0
- package/cdn/chunks/chunk.CMFW5LOK.js +367 -0
- package/cdn/chunks/chunk.CPLLGC7O.js +137 -0
- package/cdn/chunks/chunk.CREPJYOR.js +21 -0
- package/cdn/chunks/chunk.CV4KXOED.js +197 -0
- package/cdn/chunks/chunk.D2BCJUHY.js +11 -0
- package/cdn/chunks/chunk.D6F22637.js +291 -0
- package/cdn/chunks/chunk.DJGGJMPC.js +21 -0
- package/cdn/chunks/chunk.DLXIAJ2V.js +11 -0
- package/cdn/chunks/chunk.DMYOWHYC.js +11 -0
- package/cdn/chunks/chunk.DSLJYWB4.js +21 -0
- package/cdn/chunks/chunk.E25NP5SO.js +11 -0
- package/cdn/chunks/chunk.EAUOUIX4.js +67 -0
- package/cdn/chunks/chunk.ECAQDARE.js +24 -0
- package/cdn/chunks/chunk.ED2UP6WZ.js +11 -0
- package/cdn/chunks/chunk.EDBLN2VQ.js +25 -0
- package/cdn/chunks/chunk.EGHXUYMK.js +510 -0
- package/cdn/chunks/chunk.EMNG5BUV.js +342 -0
- package/cdn/chunks/chunk.ERKC472U.js +24 -0
- package/cdn/chunks/chunk.EZNWAXFF.js +11 -0
- package/cdn/chunks/chunk.FCH7L4DJ.js +21 -0
- package/cdn/chunks/chunk.FG7FIJ4A.js +255 -0
- package/cdn/chunks/chunk.FHQ6SOQJ.js +103 -0
- package/cdn/chunks/chunk.FKNGB7NW.js +27 -0
- package/cdn/chunks/chunk.FOUHO4EI.js +233 -0
- package/cdn/chunks/chunk.FR2NJBAW.js +29 -0
- package/cdn/chunks/chunk.G7UJGWHN.js +21 -0
- package/cdn/chunks/chunk.GDDL2ZQP.js +379 -0
- package/cdn/chunks/chunk.GI23BFSO.js +11 -0
- package/cdn/chunks/chunk.GJYIQ2J2.js +11 -0
- package/cdn/chunks/chunk.GL362K25.js +11 -0
- package/cdn/chunks/chunk.GPQH7V6M.js +26 -0
- package/cdn/chunks/chunk.GQX7LPK4.js +5845 -0
- package/cdn/chunks/chunk.GRUXSLFM.js +27 -0
- package/cdn/chunks/chunk.GRX55RH2.js +177 -0
- package/cdn/chunks/chunk.H2UW64J2.js +11 -0
- package/cdn/chunks/chunk.HDWRDDWI.js +73 -0
- package/cdn/chunks/chunk.HGQHIEUA.js +11 -0
- package/cdn/chunks/chunk.HHBZDFH4.js +236 -0
- package/cdn/chunks/chunk.HKBYSRKH.js +724 -0
- package/cdn/chunks/chunk.HL7H3M6B.js +24 -0
- package/cdn/chunks/chunk.HLG4GWMI.js +21 -0
- package/cdn/chunks/chunk.HMNFR2UP.js +42 -0
- package/cdn/chunks/chunk.HOOU7UNX.js +127 -0
- package/cdn/chunks/chunk.HZLF6TXJ.js +11 -0
- package/cdn/chunks/chunk.I2VIRKGU.js +257 -0
- package/cdn/chunks/chunk.I3CHFQIU.js +11 -0
- package/cdn/chunks/chunk.I56KGWR2.js +586 -0
- package/cdn/chunks/chunk.I7F4TU4S.js +11 -0
- package/cdn/chunks/chunk.ICXEJ5NW.js +142 -0
- package/cdn/chunks/chunk.ICYZ3ZRB.js +28 -0
- package/cdn/chunks/chunk.IIJPIX4C.js +1990 -0
- package/cdn/chunks/chunk.IIKXCPWN.js +11 -0
- package/cdn/chunks/chunk.IMYUHA7A.js +95 -0
- package/cdn/chunks/chunk.IVT5REKM.js +11 -0
- package/cdn/chunks/chunk.IX2EEYGP.js +24 -0
- package/cdn/chunks/chunk.JGAD2NAP.js +11 -0
- package/cdn/chunks/chunk.JM7BKSZG.js +11 -0
- package/cdn/chunks/chunk.JPJQNOE3.js +11 -0
- package/cdn/chunks/chunk.JT56MIJ4.js +279 -0
- package/cdn/chunks/chunk.K2F3BCM7.js +391 -0
- package/cdn/chunks/chunk.K35KM3AY.js +822 -0
- package/cdn/chunks/chunk.KA5JBMLK.js +130 -0
- package/cdn/chunks/chunk.KF4JUKBH.js +11 -0
- package/cdn/chunks/chunk.KGZ7SQSK.js +26 -0
- package/cdn/chunks/chunk.KKFPVTXK.js +122 -0
- package/cdn/chunks/chunk.KOQK2UQV.js +123 -0
- package/cdn/chunks/chunk.KRJ56QFY.js +11 -0
- package/cdn/chunks/chunk.KZ22B4H2.js +93 -0
- package/cdn/chunks/chunk.L23JWZXF.js +336 -0
- package/cdn/chunks/chunk.LAR5NV4G.js +27 -0
- package/cdn/chunks/chunk.LC3BU3MO.js +299 -0
- package/cdn/chunks/chunk.LH37CC6N.js +82 -0
- package/cdn/chunks/chunk.LODLV2NS.js +11 -0
- package/cdn/chunks/chunk.MARNMIR3.js +11 -0
- package/cdn/chunks/chunk.MR4WVQXP.js +135 -0
- package/cdn/chunks/chunk.MWWXGSIA.js +502 -0
- package/cdn/chunks/chunk.N2BWLT5M.js +79 -0
- package/cdn/chunks/chunk.N4TFCEDA.js +11 -0
- package/cdn/chunks/chunk.N6IGVEXW.js +54 -0
- package/cdn/chunks/chunk.NCE7XJQI.js +13 -0
- package/cdn/chunks/chunk.NJFCHXN5.js +11 -0
- package/cdn/chunks/chunk.NYJEK2IL.js +24 -0
- package/cdn/chunks/chunk.O4QAGFOM.js +25 -0
- package/cdn/chunks/chunk.O7A3KDKU.js +11 -0
- package/cdn/chunks/chunk.O7VOOY54.js +77 -0
- package/cdn/chunks/chunk.OB65AD3O.js +11 -0
- package/cdn/chunks/chunk.OE7W3DLA.js +28 -0
- package/cdn/chunks/chunk.OIJXPVJT.js +21 -0
- package/cdn/chunks/chunk.OJNHFZFI.js +11 -0
- package/cdn/chunks/chunk.OYPNUBXO.js +21 -0
- package/cdn/chunks/chunk.PCCSA6OV.js +11 -0
- package/cdn/chunks/chunk.PDSZA3NP.js +21 -0
- package/cdn/chunks/chunk.PEHKG2LH.js +11 -0
- package/cdn/chunks/chunk.PGAKPN6W.js +346 -0
- package/cdn/chunks/chunk.PJ4QDGB7.js +11 -0
- package/cdn/chunks/chunk.PJG46NM4.js +24 -0
- package/cdn/chunks/chunk.PKX6PMAZ.js +313 -0
- package/cdn/chunks/chunk.PPJJBFF4.js +11 -0
- package/cdn/chunks/chunk.PPMK7HQH.js +21 -0
- package/cdn/chunks/chunk.Q4LMKXFG.js +153 -0
- package/cdn/chunks/chunk.QA2FJSHX.js +266 -0
- package/cdn/chunks/chunk.QVGQMXSJ.js +11 -0
- package/cdn/chunks/chunk.QXNCQNDR.js +49 -0
- package/cdn/chunks/chunk.QYQHEP6I.js +292 -0
- package/cdn/chunks/chunk.RAJGP56K.js +11 -0
- package/cdn/chunks/chunk.RBQAAD2J.js +118 -0
- package/cdn/chunks/chunk.RBSOA6OJ.js +271 -0
- package/cdn/chunks/chunk.RHPZC6GF.js +27 -0
- package/cdn/chunks/chunk.RI75IJR5.js +11 -0
- package/cdn/chunks/chunk.RIKP3Z5U.js +25 -0
- package/cdn/chunks/chunk.RK2BVAV5.js +158 -0
- package/cdn/chunks/chunk.RMEE3P3T.js +11 -0
- package/cdn/chunks/chunk.RUCVRRD2.js +21 -0
- package/cdn/chunks/chunk.S7NFFKPD.js +11 -0
- package/cdn/chunks/chunk.SHVWPOHD.js +25 -0
- package/cdn/chunks/chunk.SJNTLIDF.js +21 -0
- package/cdn/chunks/chunk.SMQMGR25.js +25 -0
- package/cdn/chunks/chunk.SPEZ4SVZ.js +11 -0
- package/cdn/chunks/chunk.SQQ7ETBT.js +21 -0
- package/cdn/chunks/chunk.SRYTXUFA.js +24 -0
- package/cdn/chunks/chunk.TPCBDU3P.js +11 -0
- package/cdn/chunks/chunk.TPPDV5GY.js +21 -0
- package/cdn/chunks/chunk.TTE3RW6X.js +11 -0
- package/cdn/chunks/chunk.TV4BBYZZ.js +21 -0
- package/cdn/chunks/chunk.U3HJITZ6.js +1925 -0
- package/cdn/chunks/chunk.U4ET44SL.js +402 -0
- package/cdn/chunks/chunk.UBEFQ5SQ.js +55 -0
- package/cdn/chunks/chunk.UDV3OXUL.js +25 -0
- package/cdn/chunks/chunk.UKEYLVHN.js +21 -0
- package/cdn/chunks/chunk.UKS2GT4S.js +11 -0
- package/cdn/chunks/chunk.UW2F6UPY.js +334 -0
- package/cdn/chunks/chunk.V2IAOEIJ.js +21 -0
- package/cdn/chunks/chunk.V6QY3NB5.js +113 -0
- package/cdn/chunks/chunk.V6SSDIDU.js +11 -0
- package/cdn/chunks/chunk.VGEIUGHU.js +24 -0
- package/cdn/chunks/chunk.VKDJTD6U.js +11 -0
- package/cdn/chunks/chunk.VQ6A4KVQ.js +24 -0
- package/cdn/chunks/chunk.VQ7Q6EDW.js +21 -0
- package/cdn/chunks/chunk.VQZN3VF4.js +77 -0
- package/cdn/chunks/chunk.VYLWXLHM.js +11 -0
- package/cdn/chunks/chunk.W3R2LWJ2.js +49 -0
- package/cdn/chunks/chunk.W5TDEUTT.js +25 -0
- package/cdn/chunks/chunk.WB7R5MZO.js +11 -0
- package/cdn/chunks/chunk.WDV5PM2Q.js +25 -0
- package/cdn/chunks/chunk.WFOA4JCE.js +11 -0
- package/cdn/chunks/chunk.WKXHY77X.js +1058 -0
- package/cdn/chunks/chunk.WRQAWFOS.js +11 -0
- package/cdn/chunks/chunk.WTYJ6D3G.js +314 -0
- package/cdn/chunks/chunk.WUYRDSRQ.js +24 -0
- package/cdn/chunks/chunk.X4GBQOQN.js +11 -0
- package/cdn/chunks/chunk.XOO4HRZU.js +114 -0
- package/cdn/chunks/chunk.XPQFTFKI.js +11 -0
- package/cdn/chunks/chunk.YBUA67DG.js +24 -0
- package/cdn/chunks/chunk.YCIA2527.js +11 -0
- package/cdn/chunks/chunk.YDZ5OX4I.js +27 -0
- package/cdn/chunks/chunk.YKDBXRCU.js +455 -0
- package/cdn/chunks/chunk.YMCRK2WA.js +21 -0
- package/cdn/chunks/chunk.ZA77RJ5F.js +33 -0
- package/cdn/chunks/chunk.ZCZ26FJE.js +11 -0
- package/cdn/chunks/chunk.ZGIEOFJ3.js +25 -0
- package/cdn/chunks/chunk.ZGMXI5IW.js +27 -0
- package/cdn/chunks/chunk.ZJU3XDMM.js +11 -0
- package/cdn/chunks/chunk.ZN7RVCVV.js +28 -0
- package/cdn/components/alert/alert.component.js +8 -8
- package/cdn/components/alert/alert.js +9 -9
- package/cdn/components/animated-image/animated-image.component.js +4 -4
- package/cdn/components/animated-image/animated-image.js +5 -5
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +4 -4
- package/cdn/components/avatar/avatar.js +5 -5
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +4 -4
- package/cdn/components/breadcrumb/breadcrumb.js +5 -5
- 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 +8 -8
- package/cdn/components/button/button.js +9 -9
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/calendar/calendar.component.js +10 -10
- package/cdn/components/calendar/calendar.js +10 -10
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +7 -7
- package/cdn/components/carousel/carousel.js +8 -8
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +5 -5
- package/cdn/components/checkbox/checkbox.js +6 -6
- package/cdn/components/color-picker/color-picker.component.js +17 -17
- package/cdn/components/color-picker/color-picker.js +18 -18
- package/cdn/components/copy-button/copy-button.component.js +8 -8
- package/cdn/components/copy-button/copy-button.js +9 -9
- package/cdn/components/date-panel/date-panel.component.js +14 -14
- package/cdn/components/date-panel/date-panel.js +14 -14
- package/cdn/components/datepicker/datepicker.component.js +18 -18
- package/cdn/components/datepicker/datepicker.js +18 -18
- package/cdn/components/details/details.component.js +6 -6
- package/cdn/components/details/details.js +7 -7
- package/cdn/components/dialog/dialog.component.js +8 -8
- package/cdn/components/dialog/dialog.js +9 -9
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +9 -9
- package/cdn/components/drawer/drawer.js +10 -10
- package/cdn/components/dropdown/dropdown.component.js +6 -6
- package/cdn/components/dropdown/dropdown.js +7 -7
- 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 +3 -3
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/icon-button/icon-button.component.js +4 -4
- package/cdn/components/icon-button/icon-button.js +5 -5
- package/cdn/components/image-comparer/image-comparer.component.js +6 -6
- package/cdn/components/image-comparer/image-comparer.js +7 -7
- package/cdn/components/include/include.component.js +3 -3
- package/cdn/components/include/include.js +4 -4
- package/cdn/components/input/input.component.js +7 -7
- package/cdn/components/input/input.js +8 -8
- 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 +9 -9
- package/cdn/components/menu-item/menu-item.js +10 -10
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/nav/nav.component.js +2 -2
- package/cdn/components/nav/nav.js +3 -3
- package/cdn/components/nav-group/nav-group.component.js +2 -2
- package/cdn/components/nav-group/nav-group.js +3 -3
- package/cdn/components/nav-item/nav-item.component.js +2 -2
- package/cdn/components/nav-item/nav-item.js +3 -3
- package/cdn/components/nav-submenu/nav-submenu.component.js +7 -7
- package/cdn/components/nav-submenu/nav-submenu.js +8 -8
- package/cdn/components/option/option.component.js +6 -6
- package/cdn/components/option/option.js +7 -7
- package/cdn/components/pagination/custom-select.js +23 -7
- package/cdn/components/pagination/pagination.component.js +20 -11
- package/cdn/components/pagination/pagination.js +20 -11
- package/cdn/components/pagination/pagination.styles.js +1 -1
- package/cdn/components/popup/popup.component.js +4 -4
- package/cdn/components/popup/popup.js +5 -5
- package/cdn/components/progress-bar/progress-bar.component.js +5 -5
- package/cdn/components/progress-bar/progress-bar.js +6 -6
- 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 +4 -4
- package/cdn/components/radio/radio.js +5 -5
- 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 +4 -4
- package/cdn/components/radio-group/radio-group.js +5 -5
- package/cdn/components/range/range.component.js +5 -5
- package/cdn/components/range/range.js +6 -6
- package/cdn/components/rating/rating.component.js +6 -6
- package/cdn/components/rating/rating.js +7 -7
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/screen/screen.component.js +2 -2
- package/cdn/components/screen/screen.js +3 -3
- package/cdn/components/select/select.component.js +10 -10
- package/cdn/components/select/select.js +11 -11
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +3 -3
- package/cdn/components/split-panel/split-panel.js +4 -4
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +8 -8
- package/cdn/components/tab/tab.js +9 -9
- package/cdn/components/tab-group/tab-group.component.js +9 -9
- package/cdn/components/tab-group/tab-group.js +10 -10
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/table/body-table.js +6 -6
- package/cdn/components/table/col-group.js +3 -3
- package/cdn/components/table/const.js +3 -3
- package/cdn/components/table/features/col-pining.js +3 -3
- package/cdn/components/table/features/index.js +3 -3
- package/cdn/components/table/features/row-drag.js +4 -19
- package/cdn/components/table/head-table.js +29 -29
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +41 -35
- package/cdn/components/table/table.js +42 -36
- package/cdn/components/table/utils.js +2 -2
- package/cdn/components/tag/tag.component.js +8 -8
- package/cdn/components/tag/tag.js +9 -9
- 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 +9 -9
- package/cdn/components/time-panel/time-panel.js +9 -9
- package/cdn/components/timepicker/timepicker.component.js +18 -18
- package/cdn/components/timepicker/timepicker.js +18 -18
- package/cdn/components/tooltip/tooltip.component.js +5 -5
- package/cdn/components/tooltip/tooltip.js +6 -6
- package/cdn/components/tree/tree.component.js +12 -12
- package/cdn/components/tree/tree.js +13 -13
- package/cdn/components/tree-item/tree-item.component.js +10 -10
- package/cdn/components/tree-item/tree-item.js +11 -11
- 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 +1977 -1943
- package/cdn/react/alert/index.js +9 -9
- package/cdn/react/animated-image/index.js +5 -5
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +5 -5
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +5 -5
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +9 -9
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +8 -8
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +6 -6
- package/cdn/react/color-picker/index.js +18 -18
- package/cdn/react/copy-button/index.js +9 -9
- package/cdn/react/date-panel/index.js +15 -15
- package/cdn/react/datepicker/index.js +19 -19
- package/cdn/react/details/index.js +7 -7
- package/cdn/react/dialog/index.js +9 -9
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +10 -10
- package/cdn/react/dropdown/index.js +7 -7
- 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 +4 -4
- package/cdn/react/icon-button/index.js +5 -5
- package/cdn/react/image-comparer/index.js +7 -7
- package/cdn/react/include/index.js +4 -4
- package/cdn/react/index.js +211 -210
- package/cdn/react/input/index.js +8 -8
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +10 -10
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +3 -3
- package/cdn/react/nav-group/index.js +3 -3
- package/cdn/react/nav-item/index.js +3 -3
- package/cdn/react/nav-submenu/index.js +8 -8
- package/cdn/react/option/index.js +7 -7
- package/cdn/react/pagination/index.js +21 -12
- package/cdn/react/popup/index.js +5 -5
- package/cdn/react/progress-bar/index.js +6 -6
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +5 -5
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +5 -5
- package/cdn/react/range/index.js +6 -6
- package/cdn/react/rating/index.js +7 -7
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/screen/index.js +3 -3
- package/cdn/react/select/index.js +11 -11
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +4 -4
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +9 -9
- package/cdn/react/tab-group/index.js +10 -10
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +42 -36
- package/cdn/react/tag/index.js +9 -9
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/timepicker/index.js +19 -19
- package/cdn/react/tooltip/index.js +6 -6
- package/cdn/react/tree/index.js +13 -13
- package/cdn/react/tree-item/index.js +11 -11
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/shoelace.js +205 -204
- package/cdn/themes/light.css +24 -1
- package/cdn/themes/light.styles.js +26 -1
- package/cdn/themes/nova.css +617 -0
- package/cdn/themes/nova.styles.d.ts +2 -0
- package/cdn/themes/nova.styles.js +634 -0
- package/cdn/types/vue/index.d.ts +348 -344
- package/cdn/vscode.html-custom-data.json +304 -294
- package/cdn/web-types.json +261 -239
- package/dist/chunks/chunk.27CAO2WY.js +28 -0
- package/dist/chunks/chunk.2ANYYJDB.js +22 -0
- package/dist/chunks/chunk.2BTEDRNT.js +11 -0
- package/dist/chunks/chunk.2I3UOM2Y.js +25 -0
- package/dist/chunks/chunk.2R5AP4PT.js +371 -0
- package/dist/chunks/chunk.2TO4Y66B.js +11 -0
- package/dist/chunks/chunk.32RC4SMF.js +27 -0
- package/dist/chunks/chunk.3EVQBFEF.js +417 -0
- package/dist/chunks/chunk.3GEIQ7YN.js +11 -0
- package/dist/chunks/chunk.3N5TNFZE.js +113 -0
- package/dist/chunks/chunk.3SQA2NPF.js +11 -0
- package/dist/chunks/chunk.3UQAMROW.js +1056 -0
- package/dist/chunks/chunk.3VZ7XFPS.js +27 -0
- package/dist/chunks/chunk.45F4OUGN.js +96 -0
- package/dist/chunks/chunk.46RNQAVZ.js +24 -0
- package/dist/chunks/chunk.4C5EWVQA.js +147 -0
- package/dist/chunks/chunk.4CT6MODQ.js +11 -0
- package/dist/chunks/chunk.4FG5MP7E.js +181 -0
- package/dist/chunks/chunk.4UTPMO5J.js +11 -0
- package/dist/chunks/chunk.566V5ODQ.js +24 -0
- package/dist/chunks/chunk.5AVBROC7.js +25 -0
- package/dist/chunks/chunk.5SWE2TKS.js +100 -0
- package/dist/chunks/chunk.5TKWYUQS.js +125 -0
- package/dist/chunks/chunk.5TQ5K66H.js +11 -0
- package/dist/chunks/chunk.5VEVKL5Z.js +93 -0
- package/dist/chunks/chunk.5VGVDAC3.js +80 -0
- package/dist/chunks/chunk.63AR3LCX.js +11 -0
- package/dist/chunks/chunk.63HBHPPT.js +814 -0
- package/dist/chunks/chunk.63VCQTIT.js +21 -0
- package/dist/chunks/chunk.67P7OKOD.js +11 -0
- package/dist/chunks/chunk.6B33ESGD.js +21 -0
- package/dist/chunks/chunk.6BPAJGHW.js +37 -0
- package/dist/chunks/chunk.6C4YL2CP.js +949 -0
- package/dist/chunks/chunk.6ETBKQ67.js +73 -0
- package/dist/chunks/chunk.6RHSUPZ4.js +135 -0
- package/dist/chunks/chunk.6SWYT4LZ.js +550 -0
- package/dist/chunks/chunk.6U7F7URL.js +33 -0
- package/dist/chunks/chunk.74UZI6MB.js +11 -0
- package/dist/chunks/chunk.7A5RDYHB.js +21 -0
- package/dist/chunks/chunk.7A6RUEOP.js +63 -0
- package/dist/chunks/chunk.7JOVR2EA.js +25 -0
- package/dist/chunks/chunk.7MRKDH2Y.js +29 -0
- package/dist/chunks/chunk.7PZSXHJK.js +231 -0
- package/dist/chunks/chunk.7UI4EO3S.js +116 -0
- package/dist/chunks/chunk.7ZIIY6WW.js +24 -0
- package/dist/chunks/chunk.A5QKINZS.js +111 -0
- package/dist/chunks/chunk.A5R6GFQO.js +568 -0
- package/dist/chunks/chunk.AFRCZNXR.js +286 -0
- package/dist/chunks/chunk.AGIKKQWV.js +24 -0
- package/dist/chunks/chunk.AKAMCQ35.js +132 -0
- package/dist/chunks/chunk.AX7A3TMU.js +21 -0
- package/dist/chunks/chunk.AXO7GIM3.js +337 -0
- package/dist/chunks/chunk.B3BZRK7H.js +11 -0
- package/dist/chunks/chunk.B4HPN34J.js +28 -0
- package/dist/chunks/chunk.B7BCUVF5.js +91 -0
- package/dist/chunks/chunk.BDOFPKDT.js +21 -0
- package/dist/chunks/chunk.BSY4RDX2.js +29 -0
- package/dist/chunks/chunk.BT3IVBNL.js +11 -0
- package/dist/chunks/chunk.BYYLDQAW.js +27 -0
- package/dist/chunks/chunk.C5L4ZKSW.js +21 -0
- package/dist/chunks/chunk.C6MVGHHV.js +21 -0
- package/dist/chunks/chunk.C6ZITJ7J.js +11 -0
- package/dist/chunks/chunk.CBS5R35Z.js +11 -0
- package/dist/chunks/chunk.CKWTFK3H.js +11 -0
- package/dist/chunks/chunk.CZ5CZSHJ.js +21 -0
- package/dist/chunks/chunk.D2ALMOVG.js +11 -0
- package/dist/chunks/chunk.D2B5TMBH.js +24 -0
- package/dist/chunks/chunk.D4DHWAPW.js +21 -0
- package/dist/chunks/chunk.DACAH5V4.js +67 -0
- package/dist/chunks/chunk.DAGWKTJ3.js +21 -0
- package/dist/chunks/chunk.DFHK6AXP.js +11 -0
- package/dist/chunks/chunk.DLVEHT6T.js +35 -0
- package/dist/chunks/chunk.DSRLY2FD.js +21 -0
- package/dist/chunks/chunk.DSTAA2LN.js +21 -0
- package/dist/chunks/chunk.DVJWPRKF.js +263 -0
- package/dist/chunks/chunk.DWZZOQAO.js +22 -0
- package/dist/chunks/chunk.E7FUKHCA.js +280 -0
- package/dist/chunks/chunk.EFANNIAX.js +501 -0
- package/dist/chunks/chunk.ENBWH4YM.js +328 -0
- package/dist/chunks/chunk.ESXW3HGE.js +119 -0
- package/dist/chunks/chunk.ETP3Z47A.js +21 -0
- package/dist/chunks/chunk.EYP7N2GI.js +21 -0
- package/dist/chunks/chunk.F2DTBEM6.js +25 -0
- package/dist/chunks/chunk.F37QAM3X.js +34 -0
- package/dist/chunks/chunk.F4FIAUYQ.js +11 -0
- package/dist/chunks/chunk.F526NNJ7.js +100 -0
- package/dist/chunks/chunk.F55EWCUL.js +52 -0
- package/dist/chunks/chunk.FAIR7ZLB.js +11 -0
- package/dist/chunks/chunk.FCK4DHC6.js +50 -0
- package/dist/chunks/chunk.FDXKOEYC.js +444 -0
- package/dist/chunks/chunk.FWTYDXC5.js +11 -0
- package/dist/chunks/chunk.FXPO4GRV.js +11 -0
- package/dist/chunks/chunk.G2JAPLRH.js +24 -0
- package/dist/chunks/chunk.GASEXX4D.js +11 -0
- package/dist/chunks/chunk.GCJ6K5EI.js +21 -0
- package/dist/chunks/chunk.GEKMBNLB.js +227 -0
- package/dist/chunks/chunk.GYMZFBKQ.js +21 -0
- package/dist/chunks/chunk.HNLTILQL.js +24 -0
- package/dist/chunks/chunk.HPOC4CDW.js +274 -0
- package/dist/chunks/chunk.HRISZKCY.js +11 -0
- package/dist/chunks/chunk.HS4WDML7.js +25 -0
- package/dist/chunks/chunk.HUWQZTJS.js +11 -0
- package/dist/chunks/chunk.I65ZJJUJ.js +11 -0
- package/dist/chunks/chunk.I6Q32ZWP.js +252 -0
- package/dist/chunks/chunk.IBPTWAHN.js +494 -0
- package/dist/chunks/chunk.IDUXZIWD.js +11 -0
- package/dist/chunks/chunk.INPXNEHC.js +11 -0
- package/dist/chunks/chunk.IVBA4STO.js +26 -0
- package/dist/chunks/chunk.J5Z3MMJA.js +11 -0
- package/dist/chunks/chunk.JKMZKEKQ.js +27 -0
- package/dist/chunks/chunk.JL2TZDEG.js +11 -0
- package/dist/chunks/chunk.JLB2MD35.js +21 -0
- package/dist/chunks/chunk.JO4UZZVN.js +29 -0
- package/dist/chunks/chunk.JQV37LH6.js +11 -0
- package/dist/chunks/chunk.JRAVB43A.js +27 -0
- package/dist/chunks/chunk.JTFYAKXQ.js +11 -0
- package/dist/chunks/chunk.JVEC6U7Q.js +21 -0
- package/dist/chunks/chunk.K7RC3PY7.js +214 -0
- package/dist/chunks/chunk.KD3GIHSB.js +11 -0
- package/dist/chunks/chunk.KQBYJ4UO.js +11 -0
- package/dist/chunks/chunk.L2OOPUMP.js +117 -0
- package/dist/chunks/chunk.L66OLHOJ.js +338 -0
- package/dist/chunks/chunk.LJ7XEI5K.js +24 -0
- package/dist/chunks/chunk.LV3SFAIR.js +134 -0
- package/dist/chunks/chunk.LWWASERC.js +247 -0
- package/dist/chunks/chunk.LX4OQWJE.js +85 -0
- package/dist/chunks/chunk.M3O3G7U7.js +46 -0
- package/dist/chunks/chunk.M6YXAFOU.js +21 -0
- package/dist/chunks/chunk.MN6YR3FC.js +174 -0
- package/dist/chunks/chunk.MP5S62BQ.js +24 -0
- package/dist/chunks/chunk.MVX4T6YW.js +11 -0
- package/dist/chunks/chunk.MZ3VGQTC.js +11 -0
- package/dist/chunks/chunk.NCE7XJQI.js +13 -0
- package/dist/chunks/chunk.NIET4WDR.js +21 -0
- package/dist/chunks/chunk.NJO2X5AJ.js +11 -0
- package/dist/chunks/chunk.NKRWRM75.js +11 -0
- package/dist/chunks/chunk.NLNGXVHU.js +11 -0
- package/dist/chunks/chunk.NQIFXCK4.js +11 -0
- package/dist/chunks/chunk.NWCCTEYD.js +21 -0
- package/dist/chunks/chunk.NXBCJFOG.js +119 -0
- package/dist/chunks/chunk.O6TH37K3.js +11 -0
- package/dist/chunks/chunk.O7Z5E3EE.js +21 -0
- package/dist/chunks/chunk.OFVB4KAZ.js +26 -0
- package/dist/chunks/chunk.OGBFUVUQ.js +11 -0
- package/dist/chunks/chunk.OHMIEXBK.js +59 -0
- package/dist/chunks/chunk.OJSCWHEP.js +11 -0
- package/dist/chunks/chunk.OZRMOJDP.js +24 -0
- package/dist/chunks/chunk.PKTQG65O.js +25 -0
- package/dist/chunks/chunk.PNTCG2IC.js +11 -0
- package/dist/chunks/chunk.PPZFBRTA.js +11 -0
- package/dist/chunks/chunk.PVO3A4II.js +11 -0
- package/dist/chunks/chunk.PZTB35EW.js +75 -0
- package/dist/chunks/chunk.QCWUDPZF.js +26 -0
- package/dist/chunks/chunk.QPIANCBU.js +126 -0
- package/dist/chunks/chunk.QQS47AAN.js +25 -0
- package/dist/chunks/chunk.RETGKMAB.js +11 -0
- package/dist/chunks/chunk.RL3SUI4A.js +11 -0
- package/dist/chunks/chunk.RSZTIROJ.js +28 -0
- package/dist/chunks/chunk.RU2OFHHK.js +448 -0
- package/dist/chunks/chunk.SF6FGUCP.js +11 -0
- package/dist/chunks/chunk.SFMM7FSW.js +11 -0
- package/dist/chunks/chunk.SHMJHIA3.js +11 -0
- package/dist/chunks/chunk.SHNX4K27.js +11 -0
- package/dist/chunks/chunk.SKCRDFMA.js +24 -0
- package/dist/chunks/chunk.STEKEZUP.js +293 -0
- package/dist/chunks/chunk.SYIFIRPM.js +24 -0
- package/dist/chunks/chunk.SZVFOJPZ.js +11 -0
- package/dist/chunks/chunk.T272OB6C.js +24 -0
- package/dist/chunks/chunk.TA3UWWM6.js +11 -0
- package/dist/chunks/chunk.TGDPJA5Z.js +315 -0
- package/dist/chunks/chunk.THEKMTXT.js +11 -0
- package/dist/chunks/chunk.TJA2C3UG.js +45 -0
- package/dist/chunks/chunk.TQPRO7MK.js +27 -0
- package/dist/chunks/chunk.TT3XJXDP.js +11 -0
- package/dist/chunks/chunk.TTGNTQ4Q.js +361 -0
- package/dist/chunks/chunk.U4A23QZQ.js +213 -0
- package/dist/chunks/chunk.U5B2XCTR.js +45 -0
- package/dist/chunks/chunk.UBEFQ5SQ.js +55 -0
- package/dist/chunks/chunk.UI7O6SO3.js +25 -0
- package/dist/chunks/chunk.UJ6PDFWZ.js +28 -0
- package/dist/chunks/chunk.UL7KBIXX.js +311 -0
- package/dist/chunks/chunk.UNBYHWGI.js +167 -0
- package/dist/chunks/chunk.UVASQIHI.js +28 -0
- package/dist/chunks/chunk.UVJY6KLK.js +21 -0
- package/dist/chunks/chunk.V2ZTEHDU.js +11 -0
- package/dist/chunks/chunk.V5IKJSIP.js +11 -0
- package/dist/chunks/chunk.V7W3I3NS.js +294 -0
- package/dist/chunks/chunk.VKCGMSAZ.js +90 -0
- package/dist/chunks/chunk.VMLX3RO3.js +74 -0
- package/dist/chunks/chunk.VRNGQRX4.js +384 -0
- package/dist/chunks/chunk.VUQZGD6T.js +192 -0
- package/dist/chunks/chunk.VVPVWY4N.js +75 -0
- package/dist/chunks/chunk.WK2QKP3A.js +42 -0
- package/dist/chunks/chunk.WLLMG6V4.js +25 -0
- package/dist/chunks/chunk.WMLA5253.js +29 -0
- package/dist/chunks/chunk.WNKSKO35.js +25 -0
- package/dist/chunks/chunk.WO6LGHBG.js +11 -0
- package/dist/chunks/chunk.X56YRKLT.js +21 -0
- package/dist/chunks/chunk.XA6LZ3CP.js +21 -0
- package/dist/chunks/chunk.XEFYOQ4T.js +277 -0
- package/dist/chunks/chunk.XEYCIKBS.js +306 -0
- package/dist/chunks/chunk.XFLYLBM7.js +11 -0
- package/dist/chunks/chunk.XGGTHF7X.js +11 -0
- package/dist/chunks/chunk.XND5Q7FK.js +25 -0
- package/dist/chunks/chunk.XRQEVVQK.js +397 -0
- package/dist/chunks/chunk.XXPEI6S4.js +737 -0
- package/dist/chunks/chunk.Y27GLNCV.js +21 -0
- package/dist/chunks/chunk.YD7RQMAR.js +11 -0
- package/dist/chunks/chunk.YUTQSXJK.js +151 -0
- package/dist/chunks/chunk.Z2OWT5NW.js +109 -0
- package/dist/chunks/chunk.Z3PZY7SX.js +11 -0
- package/dist/chunks/chunk.Z4IE5BCD.js +11 -0
- package/dist/chunks/chunk.ZDLGREW3.js +11 -0
- package/dist/chunks/chunk.ZWPCQY7U.js +28 -0
- package/dist/components/alert/alert.component.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/animated-image/animated-image.component.js +4 -4
- package/dist/components/animated-image/animated-image.js +5 -5
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +4 -4
- package/dist/components/avatar/avatar.js +5 -5
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +4 -4
- package/dist/components/breadcrumb/breadcrumb.js +5 -5
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +6 -6
- package/dist/components/button/button.js +7 -7
- 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 +8 -8
- package/dist/components/calendar/calendar.js +8 -8
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +5 -5
- package/dist/components/carousel/carousel.js +6 -6
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/color-picker/color-picker.component.js +15 -15
- package/dist/components/color-picker/color-picker.js +16 -16
- package/dist/components/copy-button/copy-button.component.js +6 -6
- package/dist/components/copy-button/copy-button.js +7 -7
- package/dist/components/date-panel/date-panel.component.js +12 -12
- package/dist/components/date-panel/date-panel.js +12 -12
- package/dist/components/datepicker/datepicker.component.js +16 -16
- package/dist/components/datepicker/datepicker.js +16 -16
- package/dist/components/details/details.component.js +4 -4
- package/dist/components/details/details.js +5 -5
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +7 -7
- package/dist/components/drawer/drawer.js +8 -8
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +3 -3
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon-button/icon-button.component.js +4 -4
- package/dist/components/icon-button/icon-button.js +5 -5
- package/dist/components/image-comparer/image-comparer.component.js +4 -4
- package/dist/components/image-comparer/image-comparer.js +5 -5
- package/dist/components/include/include.component.js +3 -3
- package/dist/components/include/include.js +4 -4
- package/dist/components/input/input.component.js +5 -5
- package/dist/components/input/input.js +6 -6
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +7 -7
- package/dist/components/menu-item/menu-item.js +8 -8
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/nav/nav.component.js +2 -2
- package/dist/components/nav/nav.js +3 -3
- package/dist/components/nav-group/nav-group.component.js +2 -2
- package/dist/components/nav-group/nav-group.js +3 -3
- package/dist/components/nav-item/nav-item.component.js +2 -2
- package/dist/components/nav-item/nav-item.js +3 -3
- package/dist/components/nav-submenu/nav-submenu.component.js +5 -5
- package/dist/components/nav-submenu/nav-submenu.js +6 -6
- package/dist/components/option/option.component.js +4 -4
- package/dist/components/option/option.js +5 -5
- package/dist/components/pagination/custom-select.js +18 -4
- package/dist/components/pagination/pagination.component.js +16 -8
- package/dist/components/pagination/pagination.js +16 -8
- package/dist/components/pagination/pagination.styles.js +1 -1
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +4 -4
- package/dist/components/radio/radio.js +5 -5
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/range/range.component.js +3 -3
- package/dist/components/range/range.js +4 -4
- package/dist/components/rating/rating.component.js +4 -4
- package/dist/components/rating/rating.js +5 -5
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/screen/screen.component.js +2 -2
- package/dist/components/screen/screen.js +3 -3
- package/dist/components/select/select.component.js +8 -8
- package/dist/components/select/select.js +9 -9
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +5 -5
- package/dist/components/tab/tab.js +6 -6
- package/dist/components/tab-group/tab-group.component.js +6 -6
- package/dist/components/tab-group/tab-group.js +7 -7
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +6 -6
- package/dist/components/table/col-group.js +3 -3
- package/dist/components/table/const.js +3 -3
- package/dist/components/table/features/col-pining.js +3 -3
- package/dist/components/table/features/index.js +3 -3
- package/dist/components/table/features/row-drag.js +3 -18
- package/dist/components/table/head-table.js +27 -27
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +39 -33
- package/dist/components/table/table.js +40 -34
- package/dist/components/table/utils.js +2 -2
- package/dist/components/tag/tag.component.js +5 -5
- package/dist/components/tag/tag.js +6 -6
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-panel/time-panel.component.js +7 -7
- package/dist/components/time-panel/time-panel.js +7 -7
- 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 +10 -10
- package/dist/components/tree/tree.js +11 -11
- package/dist/components/tree-item/tree-item.component.js +8 -8
- package/dist/components/tree-item/tree-item.js +9 -9
- 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 +1977 -1943
- package/dist/react/alert/index.js +7 -7
- package/dist/react/animated-image/index.js +5 -5
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +5 -5
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +5 -5
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +7 -7
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +6 -6
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +6 -6
- package/dist/react/color-picker/index.js +16 -16
- package/dist/react/copy-button/index.js +7 -7
- package/dist/react/date-panel/index.js +13 -13
- package/dist/react/datepicker/index.js +17 -17
- package/dist/react/details/index.js +5 -5
- package/dist/react/dialog/index.js +7 -7
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +8 -8
- package/dist/react/dropdown/index.js +4 -4
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/icon/index.js +4 -4
- package/dist/react/icon-button/index.js +5 -5
- package/dist/react/image-comparer/index.js +5 -5
- package/dist/react/include/index.js +4 -4
- package/dist/react/index.js +209 -208
- package/dist/react/input/index.js +6 -6
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +8 -8
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +3 -3
- package/dist/react/nav-group/index.js +3 -3
- package/dist/react/nav-item/index.js +3 -3
- package/dist/react/nav-submenu/index.js +6 -6
- package/dist/react/option/index.js +5 -5
- package/dist/react/pagination/index.js +17 -9
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +5 -5
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +5 -5
- package/dist/react/range/index.js +4 -4
- package/dist/react/rating/index.js +5 -5
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/screen/index.js +3 -3
- package/dist/react/select/index.js +9 -9
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +6 -6
- package/dist/react/tab-group/index.js +7 -7
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +40 -34
- package/dist/react/tag/index.js +6 -6
- 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 +11 -11
- package/dist/react/tree-item/index.js +9 -9
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/shoelace.js +203 -202
- package/dist/themes/light.css +24 -1
- package/dist/themes/light.styles.js +26 -1
- package/dist/themes/nova.css +617 -0
- package/dist/themes/nova.styles.d.ts +2 -0
- package/dist/themes/nova.styles.js +634 -0
- package/dist/types/vue/index.d.ts +348 -344
- package/dist/vscode.html-custom-data.json +304 -294
- package/dist/web-types.json +261 -239
- package/package.json +3 -2
- package/cdn/chunks/chunk.24TO35RB.js +0 -25
- package/cdn/chunks/chunk.2D6HKRNC.js +0 -48
- package/cdn/chunks/chunk.2KVZQY7T.js +0 -391
- package/cdn/chunks/chunk.2Q4B6CQ4.js +0 -24
- package/cdn/chunks/chunk.2S2CHGJY.js +0 -11
- package/cdn/chunks/chunk.2SONZBL5.js +0 -120
- package/cdn/chunks/chunk.2TSVFFOB.js +0 -95
- package/cdn/chunks/chunk.2W3MMZOR.js +0 -21
- package/cdn/chunks/chunk.34ABVCNF.js +0 -25
- package/cdn/chunks/chunk.3AUITG5O.js +0 -25
- package/cdn/chunks/chunk.3EXJZJWF.js +0 -724
- package/cdn/chunks/chunk.3VHWMW23.js +0 -26
- package/cdn/chunks/chunk.3Z6OGUR5.js +0 -122
- package/cdn/chunks/chunk.422ZBUKL.js +0 -257
- package/cdn/chunks/chunk.443ZUJRC.js +0 -11
- package/cdn/chunks/chunk.4CKCDS6L.js +0 -24
- package/cdn/chunks/chunk.4GWEBSMH.js +0 -24
- package/cdn/chunks/chunk.4JCUXWRN.js +0 -21
- package/cdn/chunks/chunk.4OPT2TEZ.js +0 -113
- package/cdn/chunks/chunk.4PPZGXGI.js +0 -186
- package/cdn/chunks/chunk.4USKUBRP.js +0 -79
- package/cdn/chunks/chunk.4YY7KVKW.js +0 -29
- package/cdn/chunks/chunk.52JFLXYX.js +0 -24
- package/cdn/chunks/chunk.54YVY4KJ.js +0 -11
- package/cdn/chunks/chunk.5745VHEC.js +0 -314
- package/cdn/chunks/chunk.5BJGFS54.js +0 -11
- package/cdn/chunks/chunk.5BVWACYP.js +0 -33
- package/cdn/chunks/chunk.5E645LB6.js +0 -282
- package/cdn/chunks/chunk.5HOHEHFZ.js +0 -63
- package/cdn/chunks/chunk.5KDCEP57.js +0 -11
- package/cdn/chunks/chunk.5RTOJJWX.js +0 -27
- package/cdn/chunks/chunk.63IBZP4F.js +0 -82
- package/cdn/chunks/chunk.6MPNB4FC.js +0 -502
- package/cdn/chunks/chunk.6ZGB2EWI.js +0 -21
- package/cdn/chunks/chunk.7EWTUOWU.js +0 -11
- package/cdn/chunks/chunk.7O2K6PPX.js +0 -822
- package/cdn/chunks/chunk.7UZ5E243.js +0 -11
- package/cdn/chunks/chunk.7WFPBN26.js +0 -28
- package/cdn/chunks/chunk.7Z2XM3LW.js +0 -11
- package/cdn/chunks/chunk.AB74KHWT.js +0 -11
- package/cdn/chunks/chunk.ADX6C35W.js +0 -11
- package/cdn/chunks/chunk.AIBGFFXX.js +0 -21
- package/cdn/chunks/chunk.AJXD4PXP.js +0 -21
- package/cdn/chunks/chunk.ALFANBYZ.js +0 -299
- package/cdn/chunks/chunk.AQVUXXOF.js +0 -11
- package/cdn/chunks/chunk.AVETLWAO.js +0 -27
- package/cdn/chunks/chunk.B3OIUCE7.js +0 -11
- package/cdn/chunks/chunk.B7CXVWG6.js +0 -11
- package/cdn/chunks/chunk.BBCWJULO.js +0 -574
- package/cdn/chunks/chunk.BD5F6NL7.js +0 -6234
- package/cdn/chunks/chunk.BVEOCRUR.js +0 -11
- package/cdn/chunks/chunk.BZYQZY7H.js +0 -279
- package/cdn/chunks/chunk.C5VDREZK.js +0 -11
- package/cdn/chunks/chunk.CHQ22A3M.js +0 -11
- package/cdn/chunks/chunk.CP2Q2TQZ.js +0 -11
- package/cdn/chunks/chunk.CSRWJEDM.js +0 -92
- package/cdn/chunks/chunk.CVBEJRP7.js +0 -27
- package/cdn/chunks/chunk.D5HRUXPS.js +0 -113
- package/cdn/chunks/chunk.D77IB7LU.js +0 -336
- package/cdn/chunks/chunk.DCXMFYZZ.js +0 -255
- package/cdn/chunks/chunk.DIBEGWQP.js +0 -11
- package/cdn/chunks/chunk.ED3AU335.js +0 -11
- package/cdn/chunks/chunk.EH26GSPV.js +0 -24
- package/cdn/chunks/chunk.EVG7LDKT.js +0 -28
- package/cdn/chunks/chunk.EWATSZK4.js +0 -11
- package/cdn/chunks/chunk.F4QYFX7I.js +0 -11
- package/cdn/chunks/chunk.F6HYVXVP.js +0 -11
- package/cdn/chunks/chunk.FQ77PHQQ.js +0 -302
- package/cdn/chunks/chunk.FY7RQ2EN.js +0 -586
- package/cdn/chunks/chunk.FZR6BKU2.js +0 -55
- package/cdn/chunks/chunk.G2XHGZWA.js +0 -29
- package/cdn/chunks/chunk.G3F5KEH5.js +0 -334
- package/cdn/chunks/chunk.G4ZYPKDT.js +0 -123
- package/cdn/chunks/chunk.GBMOI43A.js +0 -367
- package/cdn/chunks/chunk.GEDUXU6K.js +0 -11
- package/cdn/chunks/chunk.GEHAXJAD.js +0 -28
- package/cdn/chunks/chunk.GFGDEQRG.js +0 -21
- package/cdn/chunks/chunk.GHOMSZ4P.js +0 -11
- package/cdn/chunks/chunk.GKVHM7II.js +0 -24
- package/cdn/chunks/chunk.GUIGYA3U.js +0 -11
- package/cdn/chunks/chunk.GWYUWHMZ.js +0 -21
- package/cdn/chunks/chunk.GXKPSSUK.js +0 -37
- package/cdn/chunks/chunk.GYACMIEW.js +0 -219
- package/cdn/chunks/chunk.H2OVB2FT.js +0 -11
- package/cdn/chunks/chunk.H2UUXXFH.js +0 -11
- package/cdn/chunks/chunk.H5MEYZGW.js +0 -11
- package/cdn/chunks/chunk.H5SKDL5B.js +0 -498
- package/cdn/chunks/chunk.HE4XNMQ6.js +0 -11
- package/cdn/chunks/chunk.HFDPA5IX.js +0 -21
- package/cdn/chunks/chunk.HKADQ6RI.js +0 -114
- package/cdn/chunks/chunk.HS5WM3VC.js +0 -313
- package/cdn/chunks/chunk.HUA3M65Y.js +0 -266
- package/cdn/chunks/chunk.HZLWIT3S.js +0 -21
- package/cdn/chunks/chunk.I4Q2CFPO.js +0 -21
- package/cdn/chunks/chunk.I5BKER64.js +0 -11
- package/cdn/chunks/chunk.I6P4HPHV.js +0 -21
- package/cdn/chunks/chunk.IRYMSFH4.js +0 -11
- package/cdn/chunks/chunk.IWMRZPIK.js +0 -402
- package/cdn/chunks/chunk.J46EOQRW.js +0 -24
- package/cdn/chunks/chunk.JBHFX2JV.js +0 -28
- package/cdn/chunks/chunk.JCFENQBO.js +0 -127
- package/cdn/chunks/chunk.JFIPKODS.js +0 -5845
- package/cdn/chunks/chunk.JHQRGUAN.js +0 -11
- package/cdn/chunks/chunk.JI2EGSO6.js +0 -21
- package/cdn/chunks/chunk.JIONFRHW.js +0 -75
- package/cdn/chunks/chunk.JLAJDFKN.js +0 -11
- package/cdn/chunks/chunk.JRODKDJ2.js +0 -42
- package/cdn/chunks/chunk.JTPXYE6K.js +0 -49
- package/cdn/chunks/chunk.JUDPWMX2.js +0 -11
- package/cdn/chunks/chunk.K26TU4DN.js +0 -1181
- package/cdn/chunks/chunk.K2IH4QB2.js +0 -11
- package/cdn/chunks/chunk.K2V24ZTR.js +0 -24
- package/cdn/chunks/chunk.K4IR47IM.js +0 -24
- package/cdn/chunks/chunk.KISAONYP.js +0 -291
- package/cdn/chunks/chunk.KKBX3MJ2.js +0 -11
- package/cdn/chunks/chunk.KMFBAAVR.js +0 -11
- package/cdn/chunks/chunk.KQW7ZQZW.js +0 -11
- package/cdn/chunks/chunk.KR4OOGD7.js +0 -216
- package/cdn/chunks/chunk.KUKLOXZJ.js +0 -137
- package/cdn/chunks/chunk.KZVNWVF7.js +0 -25
- package/cdn/chunks/chunk.L46U6UZM.js +0 -158
- package/cdn/chunks/chunk.L6HV4VRO.js +0 -26
- package/cdn/chunks/chunk.L7VLW2WQ.js +0 -1925
- package/cdn/chunks/chunk.LDG4FFOX.js +0 -11
- package/cdn/chunks/chunk.LKMEPCL2.js +0 -21
- package/cdn/chunks/chunk.LQIEXKGK.js +0 -11
- package/cdn/chunks/chunk.LRBFK4GR.js +0 -177
- package/cdn/chunks/chunk.M5R6FBCL.js +0 -271
- package/cdn/chunks/chunk.MJSZGK7T.js +0 -11
- package/cdn/chunks/chunk.MR2NWWCA.js +0 -11
- package/cdn/chunks/chunk.MT2KSBAH.js +0 -25
- package/cdn/chunks/chunk.N2RNVZD7.js +0 -25
- package/cdn/chunks/chunk.NFM7ZX77.js +0 -11
- package/cdn/chunks/chunk.NJLGMTW4.js +0 -24
- package/cdn/chunks/chunk.NRAVVBKX.js +0 -21
- package/cdn/chunks/chunk.NZAFZKU6.js +0 -24
- package/cdn/chunks/chunk.NZQX4UVC.js +0 -29
- package/cdn/chunks/chunk.OLVVKQWP.js +0 -24
- package/cdn/chunks/chunk.OOEF6C2K.js +0 -11
- package/cdn/chunks/chunk.ORVMZFZU.js +0 -11
- package/cdn/chunks/chunk.PCYCQW35.js +0 -21
- package/cdn/chunks/chunk.PICT22PW.js +0 -25
- package/cdn/chunks/chunk.PK4DHQKJ.js +0 -50
- package/cdn/chunks/chunk.PTZXUWKK.js +0 -11
- package/cdn/chunks/chunk.PWT5JJFI.js +0 -135
- package/cdn/chunks/chunk.PXQ34LBU.js +0 -292
- package/cdn/chunks/chunk.Q6V7CTYH.js +0 -11
- package/cdn/chunks/chunk.QHD25N4L.js +0 -11
- package/cdn/chunks/chunk.QOH72IUF.js +0 -11
- package/cdn/chunks/chunk.R7N6N4IK.js +0 -27
- package/cdn/chunks/chunk.RBVCLAQN.js +0 -236
- package/cdn/chunks/chunk.RKKDLDAI.js +0 -25
- package/cdn/chunks/chunk.RNKSIYBN.js +0 -11
- package/cdn/chunks/chunk.RNX2ADSU.js +0 -11
- package/cdn/chunks/chunk.RVL7QXYS.js +0 -11
- package/cdn/chunks/chunk.RWJZFB3L.js +0 -73
- package/cdn/chunks/chunk.RYIRLOE3.js +0 -137
- package/cdn/chunks/chunk.RZ53TTPQ.js +0 -342
- package/cdn/chunks/chunk.SFOHQTA4.js +0 -11
- package/cdn/chunks/chunk.SM7UENHY.js +0 -67
- package/cdn/chunks/chunk.SUSX5BLS.js +0 -24
- package/cdn/chunks/chunk.T6RV3AUR.js +0 -11
- package/cdn/chunks/chunk.T7Y6A2WP.js +0 -21
- package/cdn/chunks/chunk.TDCGQ2RC.js +0 -11
- package/cdn/chunks/chunk.TE6EREJW.js +0 -28
- package/cdn/chunks/chunk.TK5KQATK.js +0 -21
- package/cdn/chunks/chunk.TN6KGAGG.js +0 -26
- package/cdn/chunks/chunk.TNJW3BLX.js +0 -21
- package/cdn/chunks/chunk.TNSHBL7H.js +0 -93
- package/cdn/chunks/chunk.TSJTHAKY.js +0 -346
- package/cdn/chunks/chunk.TSR2EZLM.js +0 -54
- package/cdn/chunks/chunk.TT6BF5JB.js +0 -21
- package/cdn/chunks/chunk.UDILPTSV.js +0 -233
- package/cdn/chunks/chunk.UGLD2DPT.js +0 -120
- package/cdn/chunks/chunk.URRPMAF5.js +0 -379
- package/cdn/chunks/chunk.V4QRO32F.js +0 -11
- package/cdn/chunks/chunk.VAZMDYBN.js +0 -97
- package/cdn/chunks/chunk.VBRH7YUA.js +0 -21
- package/cdn/chunks/chunk.VNZTCGEY.js +0 -21
- package/cdn/chunks/chunk.VOA6THJP.js +0 -21
- package/cdn/chunks/chunk.VWK5PYEH.js +0 -455
- package/cdn/chunks/chunk.W2UMAW7J.js +0 -142
- package/cdn/chunks/chunk.W5RGGQCC.js +0 -103
- package/cdn/chunks/chunk.WBZGTQPS.js +0 -24
- package/cdn/chunks/chunk.WCONL5LF.js +0 -27
- package/cdn/chunks/chunk.WIAGL6S2.js +0 -1058
- package/cdn/chunks/chunk.WICJO7HC.js +0 -197
- package/cdn/chunks/chunk.WOWIXZNT.js +0 -11
- package/cdn/chunks/chunk.WQ45OMHJ.js +0 -29
- package/cdn/chunks/chunk.WS2W75PS.js +0 -27
- package/cdn/chunks/chunk.WYXYMNG4.js +0 -24
- package/cdn/chunks/chunk.X4OKVQND.js +0 -21
- package/cdn/chunks/chunk.X545B26D.js +0 -11
- package/cdn/chunks/chunk.XCUCDYSG.js +0 -118
- package/cdn/chunks/chunk.XGT3GC6I.js +0 -21
- package/cdn/chunks/chunk.XKAPNSQY.js +0 -87
- package/cdn/chunks/chunk.XP5XNLHY.js +0 -11
- package/cdn/chunks/chunk.XPH3HYDF.js +0 -77
- package/cdn/chunks/chunk.XQB53FDS.js +0 -153
- package/cdn/chunks/chunk.XZUQNSBB.js +0 -10
- package/cdn/chunks/chunk.Y6DZ4EYG.js +0 -28
- package/cdn/chunks/chunk.Y6JXDK7T.js +0 -27
- package/cdn/chunks/chunk.Y7ELGLU2.js +0 -25
- package/cdn/chunks/chunk.YDGWQWPS.js +0 -11
- package/cdn/chunks/chunk.YQWRPIZU.js +0 -11
- package/cdn/chunks/chunk.YVEHBK7B.js +0 -36
- package/cdn/chunks/chunk.YWSZ7S5T.js +0 -25
- package/cdn/chunks/chunk.Z7FEUFDR.js +0 -21
- package/cdn/chunks/chunk.ZCH2HSQU.js +0 -11
- package/cdn/chunks/chunk.ZEMO6IK7.js +0 -11
- package/cdn/chunks/chunk.ZFLAXOIS.js +0 -49
- package/cdn/chunks/chunk.ZG4UQTC6.js +0 -1990
- package/cdn/chunks/chunk.ZNFQ6T3K.js +0 -11
- package/dist/chunks/chunk.2BINLYOI.js +0 -147
- package/dist/chunks/chunk.2BSQP4QD.js +0 -306
- package/dist/chunks/chunk.2D4HHVSG.js +0 -21
- package/dist/chunks/chunk.2IA6C64M.js +0 -22
- package/dist/chunks/chunk.34H5UHTC.js +0 -134
- package/dist/chunks/chunk.3A4NOYJ2.js +0 -361
- package/dist/chunks/chunk.3DBTA74X.js +0 -231
- package/dist/chunks/chunk.3G3HTSYD.js +0 -119
- package/dist/chunks/chunk.3LQZGZQS.js +0 -11
- package/dist/chunks/chunk.3XT5JKV2.js +0 -25
- package/dist/chunks/chunk.43UZVBFV.js +0 -29
- package/dist/chunks/chunk.4D7ZTCVS.js +0 -11
- package/dist/chunks/chunk.4KKYO676.js +0 -11
- package/dist/chunks/chunk.4RU5AWLF.js +0 -328
- package/dist/chunks/chunk.4VL3QPZN.js +0 -85
- package/dist/chunks/chunk.4YRHUWQJ.js +0 -11
- package/dist/chunks/chunk.54PQUSBV.js +0 -27
- package/dist/chunks/chunk.55KAF4HI.js +0 -11
- package/dist/chunks/chunk.5DVDSPLW.js +0 -11
- package/dist/chunks/chunk.5HNXE6VO.js +0 -11
- package/dist/chunks/chunk.5PKJ5JGP.js +0 -11
- package/dist/chunks/chunk.5TIEVFPW.js +0 -24
- package/dist/chunks/chunk.5UU4O2OW.js +0 -11
- package/dist/chunks/chunk.5V5FOVYW.js +0 -11
- package/dist/chunks/chunk.65RPV74K.js +0 -11
- package/dist/chunks/chunk.65U5J5N4.js +0 -24
- package/dist/chunks/chunk.6BR7R47G.js +0 -25
- package/dist/chunks/chunk.6CJNXI7L.js +0 -11
- package/dist/chunks/chunk.6KKX6GGR.js +0 -11
- package/dist/chunks/chunk.7C3SBUFW.js +0 -24
- package/dist/chunks/chunk.7CCZCHEA.js +0 -315
- package/dist/chunks/chunk.7FUZB3FM.js +0 -89
- package/dist/chunks/chunk.7TBNG7QH.js +0 -11
- package/dist/chunks/chunk.7YTBFE3L.js +0 -25
- package/dist/chunks/chunk.AEEOFKEI.js +0 -75
- package/dist/chunks/chunk.AKDKEN4K.js +0 -91
- package/dist/chunks/chunk.AL3KKQ7S.js +0 -21
- package/dist/chunks/chunk.AWML2ORU.js +0 -277
- package/dist/chunks/chunk.B35YUIV6.js +0 -192
- package/dist/chunks/chunk.B625EXTV.js +0 -227
- package/dist/chunks/chunk.BHK3MAGD.js +0 -11
- package/dist/chunks/chunk.BHRMRWG6.js +0 -21
- package/dist/chunks/chunk.BI2DJN7V.js +0 -24
- package/dist/chunks/chunk.BK532O5J.js +0 -21
- package/dist/chunks/chunk.BNQGTWGN.js +0 -21
- package/dist/chunks/chunk.BO2X5ZMQ.js +0 -11
- package/dist/chunks/chunk.BOOB7ZDY.js +0 -11
- package/dist/chunks/chunk.BWWO2OA2.js +0 -21
- package/dist/chunks/chunk.C3LRRDYL.js +0 -213
- package/dist/chunks/chunk.C6MJ5GD5.js +0 -50
- package/dist/chunks/chunk.C7IZG4PY.js +0 -11
- package/dist/chunks/chunk.CEQ2E64D.js +0 -25
- package/dist/chunks/chunk.CJ7WPMEJ.js +0 -11
- package/dist/chunks/chunk.CKP6CCOM.js +0 -27
- package/dist/chunks/chunk.CQTEPHFU.js +0 -384
- package/dist/chunks/chunk.CRX75ZFD.js +0 -21
- package/dist/chunks/chunk.CSEENZAK.js +0 -132
- package/dist/chunks/chunk.CZUJXCYB.js +0 -11
- package/dist/chunks/chunk.D5KNVM2P.js +0 -90
- package/dist/chunks/chunk.D5N2ZW72.js +0 -274
- package/dist/chunks/chunk.D66RGQF2.js +0 -21
- package/dist/chunks/chunk.DAIEQFF6.js +0 -22
- package/dist/chunks/chunk.DEEBZOLB.js +0 -11
- package/dist/chunks/chunk.DG5SFWFF.js +0 -21
- package/dist/chunks/chunk.DGXPNZOK.js +0 -73
- package/dist/chunks/chunk.DNOGZINF.js +0 -29
- package/dist/chunks/chunk.DOQE3UEC.js +0 -11
- package/dist/chunks/chunk.DOZ4AECL.js +0 -11
- package/dist/chunks/chunk.DTQMOCM2.js +0 -338
- package/dist/chunks/chunk.E3V3XLVG.js +0 -25
- package/dist/chunks/chunk.E4OCSYIJ.js +0 -63
- package/dist/chunks/chunk.EBD5HDMG.js +0 -21
- package/dist/chunks/chunk.EEUI27HE.js +0 -21
- package/dist/chunks/chunk.ELUKQF6A.js +0 -11
- package/dist/chunks/chunk.EXKZU4YQ.js +0 -116
- package/dist/chunks/chunk.EZFQCTCO.js +0 -25
- package/dist/chunks/chunk.F2MJKLI5.js +0 -21
- package/dist/chunks/chunk.F76GTWU3.js +0 -119
- package/dist/chunks/chunk.FJNILBWN.js +0 -75
- package/dist/chunks/chunk.FPOTUEA5.js +0 -28
- package/dist/chunks/chunk.FQ2MZ5BN.js +0 -25
- package/dist/chunks/chunk.FS7NXERY.js +0 -21
- package/dist/chunks/chunk.FTS7TV2N.js +0 -11
- package/dist/chunks/chunk.FY2ZXS6F.js +0 -117
- package/dist/chunks/chunk.FZR6BKU2.js +0 -55
- package/dist/chunks/chunk.GMDUN5A6.js +0 -100
- package/dist/chunks/chunk.GQ2LYQDK.js +0 -27
- package/dist/chunks/chunk.GXKPSSUK.js +0 -37
- package/dist/chunks/chunk.GYN5WVOD.js +0 -21
- package/dist/chunks/chunk.HBNF6HHX.js +0 -21
- package/dist/chunks/chunk.HIA5D3XY.js +0 -25
- package/dist/chunks/chunk.HKDQ7CO3.js +0 -167
- package/dist/chunks/chunk.HPQAD2AR.js +0 -11
- package/dist/chunks/chunk.I3VGG5HI.js +0 -113
- package/dist/chunks/chunk.IA3ECTCP.js +0 -24
- package/dist/chunks/chunk.IDUGGGW7.js +0 -11
- package/dist/chunks/chunk.IEF3MZN4.js +0 -59
- package/dist/chunks/chunk.IFALPITF.js +0 -35
- package/dist/chunks/chunk.IL2H2WKX.js +0 -11
- package/dist/chunks/chunk.IM3Y7QWK.js +0 -109
- package/dist/chunks/chunk.IUR5UQCL.js +0 -27
- package/dist/chunks/chunk.IW6KMFJU.js +0 -11
- package/dist/chunks/chunk.JBW5KPLH.js +0 -21
- package/dist/chunks/chunk.JJSYXQXL.js +0 -494
- package/dist/chunks/chunk.JR55FCQJ.js +0 -1056
- package/dist/chunks/chunk.JU3LZZRE.js +0 -181
- package/dist/chunks/chunk.KGJZHEOK.js +0 -247
- package/dist/chunks/chunk.KIM6B76U.js +0 -24
- package/dist/chunks/chunk.KMYWGBOI.js +0 -11
- package/dist/chunks/chunk.KPWY6RL4.js +0 -11
- package/dist/chunks/chunk.KTSMVXKF.js +0 -417
- package/dist/chunks/chunk.KWTJWZZX.js +0 -28
- package/dist/chunks/chunk.L322A5HO.js +0 -45
- package/dist/chunks/chunk.LJKZZ4EI.js +0 -24
- package/dist/chunks/chunk.LJT5YHOY.js +0 -263
- package/dist/chunks/chunk.LLDZL4LE.js +0 -25
- package/dist/chunks/chunk.LNJK3H7R.js +0 -21
- package/dist/chunks/chunk.LSYZ4HY6.js +0 -949
- package/dist/chunks/chunk.M2AXCCZV.js +0 -11
- package/dist/chunks/chunk.M4RRGVRJ.js +0 -11
- package/dist/chunks/chunk.M5M4PQFV.js +0 -21
- package/dist/chunks/chunk.M7VPD7XO.js +0 -42
- package/dist/chunks/chunk.MAWF3EWY.js +0 -28
- package/dist/chunks/chunk.MF4CE63B.js +0 -11
- package/dist/chunks/chunk.MMA2ZWOJ.js +0 -174
- package/dist/chunks/chunk.MXW3E66R.js +0 -126
- package/dist/chunks/chunk.N7SFG5VQ.js +0 -28
- package/dist/chunks/chunk.NCUQD3BI.js +0 -11
- package/dist/chunks/chunk.NDZJBHSA.js +0 -100
- package/dist/chunks/chunk.NGHBU5JL.js +0 -11
- package/dist/chunks/chunk.NMS7WJWO.js +0 -11
- package/dist/chunks/chunk.NQ55XHZV.js +0 -45
- package/dist/chunks/chunk.O223QDOY.js +0 -80
- package/dist/chunks/chunk.O24TDVAE.js +0 -11
- package/dist/chunks/chunk.O6IQ3LNL.js +0 -214
- package/dist/chunks/chunk.OCJCZILP.js +0 -11
- package/dist/chunks/chunk.OGPMUZBE.js +0 -293
- package/dist/chunks/chunk.OJQM7QV3.js +0 -11
- package/dist/chunks/chunk.OKHZVDNY.js +0 -11
- package/dist/chunks/chunk.OKWPLGRV.js +0 -24
- package/dist/chunks/chunk.OZXB3DTP.js +0 -11
- package/dist/chunks/chunk.P5TRMZLR.js +0 -11
- package/dist/chunks/chunk.PDR7SFUQ.js +0 -112
- package/dist/chunks/chunk.PKJ27UKI.js +0 -33
- package/dist/chunks/chunk.Q2M3IRFY.js +0 -26
- package/dist/chunks/chunk.Q4KHVJ4C.js +0 -11
- package/dist/chunks/chunk.Q6OINTVG.js +0 -294
- package/dist/chunks/chunk.QCRRRZGP.js +0 -11
- package/dist/chunks/chunk.QINP5EUY.js +0 -11
- package/dist/chunks/chunk.QJGZUH2Y.js +0 -29
- package/dist/chunks/chunk.QMBOT4RV.js +0 -24
- package/dist/chunks/chunk.QPSRZE4H.js +0 -11
- package/dist/chunks/chunk.QQGKHCLI.js +0 -371
- package/dist/chunks/chunk.QRRAVGY3.js +0 -448
- package/dist/chunks/chunk.QTTCKVPV.js +0 -135
- package/dist/chunks/chunk.QZEMPFMU.js +0 -11
- package/dist/chunks/chunk.R2GZTDR3.js +0 -25
- package/dist/chunks/chunk.R7ZISX7X.js +0 -93
- package/dist/chunks/chunk.REUNBDYH.js +0 -550
- package/dist/chunks/chunk.RFBLCSGH.js +0 -11
- package/dist/chunks/chunk.RGECRYWH.js +0 -11
- package/dist/chunks/chunk.RLKFPUZP.js +0 -337
- package/dist/chunks/chunk.S2RYB3DV.js +0 -397
- package/dist/chunks/chunk.SAHV25ZU.js +0 -96
- package/dist/chunks/chunk.SBPQZUMZ.js +0 -21
- package/dist/chunks/chunk.SCRZEJRA.js +0 -28
- package/dist/chunks/chunk.SI7ZCWFM.js +0 -34
- package/dist/chunks/chunk.TF7SCCGT.js +0 -27
- package/dist/chunks/chunk.TFAUE26H.js +0 -27
- package/dist/chunks/chunk.TFCUOTRH.js +0 -11
- package/dist/chunks/chunk.TGM7PQOQ.js +0 -21
- package/dist/chunks/chunk.TJMXWVKV.js +0 -111
- package/dist/chunks/chunk.TK53DS33.js +0 -11
- package/dist/chunks/chunk.TN4AGWC5.js +0 -24
- package/dist/chunks/chunk.U4JAPFAI.js +0 -489
- package/dist/chunks/chunk.U6HKP5PM.js +0 -11
- package/dist/chunks/chunk.U7FQHFT6.js +0 -21
- package/dist/chunks/chunk.UC7HGZ7Y.js +0 -11
- package/dist/chunks/chunk.UEIGSM7G.js +0 -11
- package/dist/chunks/chunk.UGQ2ABGB.js +0 -11
- package/dist/chunks/chunk.URLMFGU3.js +0 -21
- package/dist/chunks/chunk.V3SYWNCE.js +0 -46
- package/dist/chunks/chunk.VCF7C3DO.js +0 -247
- package/dist/chunks/chunk.VEBSCDJA.js +0 -11
- package/dist/chunks/chunk.VGD6N4VS.js +0 -24
- package/dist/chunks/chunk.VRX5HA6F.js +0 -568
- package/dist/chunks/chunk.VRZZLQ3X.js +0 -21
- package/dist/chunks/chunk.VTS2WKNY.js +0 -21
- package/dist/chunks/chunk.VTVESY7M.js +0 -311
- package/dist/chunks/chunk.W7FBZDC5.js +0 -11
- package/dist/chunks/chunk.WABVKOTD.js +0 -67
- package/dist/chunks/chunk.WFBHGOPY.js +0 -286
- package/dist/chunks/chunk.WJ4UDJ5X.js +0 -11
- package/dist/chunks/chunk.WL3B7OPS.js +0 -29
- package/dist/chunks/chunk.WRYYOP5E.js +0 -151
- package/dist/chunks/chunk.X7UGOVCQ.js +0 -252
- package/dist/chunks/chunk.XCH2XJ4H.js +0 -11
- package/dist/chunks/chunk.XDNVRNJ4.js +0 -26
- package/dist/chunks/chunk.XLQZZINH.js +0 -280
- package/dist/chunks/chunk.XO4YOCCI.js +0 -26
- package/dist/chunks/chunk.XOB4NGOY.js +0 -711
- package/dist/chunks/chunk.XRLAMWSE.js +0 -25
- package/dist/chunks/chunk.XVAUGL7H.js +0 -28
- package/dist/chunks/chunk.XZUQNSBB.js +0 -10
- package/dist/chunks/chunk.YD2NIRZQ.js +0 -24
- package/dist/chunks/chunk.YGFKPU5O.js +0 -24
- package/dist/chunks/chunk.YIKIV6PG.js +0 -52
- package/dist/chunks/chunk.YMVBZDIC.js +0 -11
- package/dist/chunks/chunk.YT7MKC2G.js +0 -11
- package/dist/chunks/chunk.YWMB2DRG.js +0 -21
- package/dist/chunks/chunk.Z2MPXJPA.js +0 -814
- package/dist/chunks/chunk.ZGLGFZOO.js +0 -11
- package/dist/chunks/chunk.ZP3Y4K4L.js +0 -11
|
@@ -0,0 +1,949 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SlVisuallyHidden
|
|
3
|
+
} from "./chunk.2ANYYJDB.js";
|
|
4
|
+
import {
|
|
5
|
+
drag
|
|
6
|
+
} from "./chunk.ESELY2US.js";
|
|
7
|
+
import {
|
|
8
|
+
SlDropdown
|
|
9
|
+
} from "./chunk.VRNGQRX4.js";
|
|
10
|
+
import {
|
|
11
|
+
SlInput
|
|
12
|
+
} from "./chunk.IBPTWAHN.js";
|
|
13
|
+
import {
|
|
14
|
+
clamp
|
|
15
|
+
} from "./chunk.HF7GESMZ.js";
|
|
16
|
+
import {
|
|
17
|
+
color_picker_styles_default
|
|
18
|
+
} from "./chunk.O6CEROC7.js";
|
|
19
|
+
import {
|
|
20
|
+
defaultValue
|
|
21
|
+
} from "./chunk.GI7VDIWX.js";
|
|
22
|
+
import {
|
|
23
|
+
SlButtonGroup
|
|
24
|
+
} from "./chunk.B7BCUVF5.js";
|
|
25
|
+
import {
|
|
26
|
+
SlButton
|
|
27
|
+
} from "./chunk.STEKEZUP.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.4FG5MP7E.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.45F4OUGN.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
|
+
};
|