@kdcloudjs/shoelace 1.0.9 → 1.0.10
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.24VKD7M2.js +21 -0
- package/cdn/chunks/chunk.2A4DLF7G.js +33 -0
- package/cdn/chunks/chunk.2BRSBZYV.js +25 -0
- package/cdn/chunks/chunk.2BUZQFAM.js +342 -0
- package/cdn/chunks/chunk.2OMJAUPE.js +11 -0
- package/cdn/chunks/chunk.2PCDU2MP.js +11 -0
- package/cdn/chunks/chunk.35WOLFXK.js +21 -0
- package/cdn/chunks/chunk.36PLFZBO.js +21 -0
- package/cdn/chunks/chunk.3DRU34TW.js +186 -0
- package/cdn/chunks/chunk.3INVXKQ2.js +11 -0
- package/cdn/chunks/chunk.4I377E7M.js +25 -0
- package/cdn/chunks/chunk.4LXU3UZK.js +510 -0
- package/cdn/chunks/chunk.4VPSR37Z.js +2647 -0
- package/cdn/chunks/chunk.55BI35MH.js +21 -0
- package/cdn/chunks/chunk.5GE6S6E6.js +24 -0
- package/cdn/chunks/chunk.5H2UKRLW.js +271 -0
- package/cdn/chunks/chunk.5LOCL537.js +21 -0
- package/cdn/chunks/chunk.5OIYUZU6.js +21 -0
- package/cdn/chunks/chunk.5Q3WFKGR.js +11 -0
- package/cdn/chunks/chunk.5R4GRAXB.js +11 -0
- package/cdn/chunks/chunk.5SYSLT2K.js +28 -0
- package/cdn/chunks/chunk.5WOOA6CH.js +11 -0
- package/cdn/chunks/chunk.635A7D7B.js +77 -0
- package/cdn/chunks/chunk.65Z3DST7.js +24 -0
- package/cdn/chunks/chunk.6AOCG7WV.js +142 -0
- package/cdn/chunks/chunk.6AXKHMBK.js +11 -0
- package/cdn/chunks/chunk.6D7ZRVTY.js +822 -0
- package/cdn/chunks/chunk.6JPFZZ63.js +28 -0
- package/cdn/chunks/chunk.6VA6YVIV.js +21 -0
- package/cdn/chunks/chunk.6XBR5FF5.js +11 -0
- package/cdn/chunks/chunk.72NHDMEI.js +153 -0
- package/cdn/chunks/chunk.73PRXL3Y.js +11 -0
- package/cdn/chunks/chunk.74RKXJCJ.js +29 -0
- package/cdn/chunks/chunk.754FI3SE.js +11 -0
- package/cdn/chunks/chunk.7AYG267I.js +11 -0
- package/cdn/chunks/chunk.7RL4PRCM.js +302 -0
- package/cdn/chunks/chunk.A44YSQOQ.js +27 -0
- package/cdn/chunks/chunk.ABTCFNE5.js +11 -0
- package/cdn/chunks/chunk.AFQI6MHO.js +49 -0
- package/cdn/chunks/chunk.AIPWINAA.js +63 -0
- package/cdn/chunks/chunk.AIVIM725.js +25 -0
- package/cdn/chunks/chunk.AOIIVCUK.js +21 -0
- package/cdn/chunks/chunk.AONMNS7V.js +21 -0
- package/cdn/chunks/chunk.AR54ZJ5O.js +75 -0
- package/cdn/chunks/chunk.BEMOLHAO.js +11 -0
- package/cdn/chunks/chunk.BFPYIVID.js +455 -0
- package/cdn/chunks/chunk.BIXBQN7L.js +11 -0
- package/cdn/chunks/chunk.BLIPQWPD.js +26 -0
- package/cdn/chunks/chunk.BMWN2JE2.js +11 -0
- package/cdn/chunks/chunk.BOR76AXQ.js +11 -0
- package/cdn/chunks/chunk.BWX5GMLG.js +87 -0
- package/cdn/chunks/chunk.BYBGTO63.js +11 -0
- package/cdn/chunks/chunk.BYG3WSFF.js +336 -0
- package/cdn/chunks/chunk.C6AUXXTA.js +11 -0
- package/cdn/chunks/chunk.C6MYRDGT.js +11 -0
- package/cdn/chunks/chunk.CH7JABUT.js +177 -0
- package/cdn/chunks/chunk.CJP453W7.js +11 -0
- package/cdn/chunks/chunk.CO44EMLQ.js +24 -0
- package/cdn/chunks/chunk.CQHB7C5F.js +11 -0
- package/cdn/chunks/chunk.CSWXJL4Q.js +314 -0
- package/cdn/chunks/chunk.D2O6KVOH.js +11 -0
- package/cdn/chunks/chunk.D5XLVZEQ.js +1925 -0
- package/cdn/chunks/chunk.DBKFJTHA.js +11 -0
- package/cdn/chunks/chunk.DDPVC6VJ.js +25 -0
- package/cdn/chunks/chunk.DHWFZZJY.js +29 -0
- package/cdn/chunks/chunk.DN4ORYFI.js +11 -0
- package/cdn/chunks/chunk.DNBOVYMZ.js +27 -0
- package/cdn/chunks/chunk.DNN3T626.js +11 -0
- package/cdn/chunks/chunk.DP5CQ7TO.js +21 -0
- package/cdn/chunks/chunk.DW6MMJVG.js +11 -0
- package/cdn/chunks/chunk.DWQ5WQPL.js +158 -0
- package/cdn/chunks/chunk.DZUZ3EUU.js +27 -0
- package/cdn/chunks/chunk.E56ZWMZS.js +11 -0
- package/cdn/chunks/chunk.E5L7ROQ7.js +95 -0
- package/cdn/chunks/chunk.EFKZUMC7.js +1058 -0
- package/cdn/chunks/chunk.ELUCJP47.js +11 -0
- package/cdn/chunks/chunk.EY7ZHDDB.js +29 -0
- package/cdn/chunks/chunk.F3SZ6C2R.js +25 -0
- package/cdn/chunks/chunk.F5B5QDUN.js +21 -0
- package/cdn/chunks/chunk.FFZMCYSD.js +135 -0
- package/cdn/chunks/chunk.FSFWU7ZI.js +21 -0
- package/cdn/chunks/chunk.FYNJX5G2.js +130 -0
- package/cdn/chunks/chunk.G2OJTXK3.js +73 -0
- package/cdn/chunks/chunk.GC7ILW3Y.js +233 -0
- package/cdn/chunks/chunk.GEDB5Y35.js +11 -0
- package/cdn/chunks/chunk.GHMVDLYX.js +11 -0
- package/cdn/chunks/chunk.GIMPBERZ.js +79 -0
- package/cdn/chunks/chunk.GMJZ6V7U.js +24 -0
- package/cdn/chunks/chunk.GS22EUQJ.js +11 -0
- package/cdn/chunks/chunk.H7EGIPXL.js +24 -0
- package/cdn/chunks/chunk.H7G42W2W.js +11 -0
- package/cdn/chunks/chunk.HC3GSLTS.js +21 -0
- package/cdn/chunks/chunk.HDSA77NK.js +197 -0
- package/cdn/chunks/chunk.HMWQG3YI.js +67 -0
- package/cdn/chunks/chunk.HYR2AAI6.js +93 -0
- package/cdn/chunks/chunk.I557C2F4.js +11 -0
- package/cdn/chunks/chunk.IB2ANZSU.js +27 -0
- package/cdn/chunks/chunk.IHMW2V6X.js +137 -0
- package/cdn/chunks/chunk.IKKR3YE4.js +11 -0
- package/cdn/chunks/chunk.IUTRRGZN.js +27 -0
- package/cdn/chunks/chunk.J3JH4X52.js +586 -0
- package/cdn/chunks/chunk.J6LKBBMX.js +11 -0
- package/cdn/chunks/chunk.JAOTAYVR.js +25 -0
- package/cdn/chunks/chunk.JB77VS5M.js +502 -0
- package/cdn/chunks/chunk.JHHN3NNT.js +11 -0
- package/cdn/chunks/chunk.JIGW5B4X.js +21 -0
- package/cdn/chunks/chunk.JJL5L3NK.js +24 -0
- package/cdn/chunks/chunk.K4QNOSHX.js +379 -0
- package/cdn/chunks/chunk.KBKZXLRI.js +21 -0
- package/cdn/chunks/chunk.KDB4RM2S.js +48 -0
- package/cdn/chunks/chunk.KYJRNWXY.js +11 -0
- package/cdn/chunks/chunk.KZ7KZGD4.js +236 -0
- package/cdn/chunks/chunk.L5MSYWNU.js +279 -0
- package/cdn/chunks/chunk.LH6UQBSA.js +24 -0
- package/cdn/chunks/chunk.LIPL5GQG.js +11 -0
- package/cdn/chunks/chunk.LLEFOXGP.js +299 -0
- package/cdn/chunks/chunk.LMFEJK3I.js +97 -0
- package/cdn/chunks/chunk.LS3PL3IT.js +21 -0
- package/cdn/chunks/chunk.M2T2PKWS.js +11 -0
- package/cdn/chunks/chunk.MB55JM2S.js +11 -0
- package/cdn/chunks/chunk.MEIO45DI.js +402 -0
- package/cdn/chunks/chunk.MKABUOPY.js +123 -0
- package/cdn/chunks/chunk.MOPKOKW5.js +724 -0
- package/cdn/chunks/chunk.MRAALEBC.js +82 -0
- package/cdn/chunks/chunk.MVNN6456.js +367 -0
- package/cdn/chunks/chunk.MXVV2MMX.js +21 -0
- package/cdn/chunks/chunk.MY3KDTMD.js +11 -0
- package/cdn/chunks/chunk.NDYKEY2C.js +118 -0
- package/cdn/chunks/chunk.NM7GVF45.js +24 -0
- package/cdn/chunks/chunk.NXSFSJTN.js +11 -0
- package/cdn/chunks/chunk.O5BRIER6.js +11 -0
- package/cdn/chunks/chunk.OD6FFDOF.js +26 -0
- package/cdn/chunks/chunk.PJ4AJVBP.js +11 -0
- package/cdn/chunks/chunk.PMHYT6D6.js +11 -0
- package/cdn/chunks/chunk.Q5MMBS3F.js +28 -0
- package/cdn/chunks/chunk.Q746IYZR.js +25 -0
- package/cdn/chunks/chunk.QE22NULY.js +11 -0
- package/cdn/chunks/chunk.QEUHF3RQ.js +21 -0
- package/cdn/chunks/chunk.QMVAQ2LY.js +25 -0
- package/cdn/chunks/chunk.QN7CBSAO.js +26 -0
- package/cdn/chunks/chunk.QOSMRMTH.js +11 -0
- package/cdn/chunks/chunk.QT33ROHQ.js +255 -0
- package/cdn/chunks/chunk.R5MB2SPL.js +28 -0
- package/cdn/chunks/chunk.RIUVBEW2.js +25 -0
- package/cdn/chunks/chunk.RM4PTB7Z.js +29 -0
- package/cdn/chunks/chunk.RQHKWUBG.js +216 -0
- package/cdn/chunks/chunk.RRYF5UDU.js +334 -0
- package/cdn/chunks/chunk.RSSRAJ7H.js +11 -0
- package/cdn/chunks/chunk.RVLNQ5EL.js +11 -0
- package/cdn/chunks/chunk.RXGXJEAU.js +127 -0
- package/cdn/chunks/chunk.SD24D3RZ.js +21 -0
- package/cdn/chunks/chunk.SEPOOSG5.js +11 -0
- package/cdn/chunks/chunk.SL2Y3I64.js +313 -0
- package/cdn/chunks/chunk.SP5RXRRH.js +28 -0
- package/cdn/chunks/chunk.SQK7QBHN.js +49 -0
- package/cdn/chunks/chunk.SRF2IDDO.js +11 -0
- package/cdn/chunks/chunk.SVQKRMCZ.js +11 -0
- package/cdn/chunks/chunk.SXBLV5MT.js +11 -0
- package/cdn/chunks/chunk.T26WUAXL.js +257 -0
- package/cdn/chunks/chunk.TDICKNUN.js +11 -0
- package/cdn/chunks/chunk.TISCQ6US.js +11 -0
- package/cdn/chunks/chunk.TXVVMEYH.js +21 -0
- package/cdn/chunks/chunk.UAN2GQZT.js +21 -0
- package/cdn/chunks/chunk.UGZZ2TR4.js +11 -0
- package/cdn/chunks/chunk.ULGG22PG.js +54 -0
- package/cdn/chunks/chunk.UOWKDRZS.js +11 -0
- package/cdn/chunks/chunk.UVNL5JXI.js +21 -0
- package/cdn/chunks/chunk.UXGZ2JX6.js +24 -0
- package/cdn/chunks/chunk.VF5HAV2C.js +24 -0
- package/cdn/chunks/chunk.VM3E4CBG.js +113 -0
- package/cdn/chunks/chunk.VSDDB3JJ.js +21 -0
- package/cdn/chunks/chunk.VWIPDVDX.js +21 -0
- package/cdn/chunks/chunk.W35GI3RY.js +11 -0
- package/cdn/chunks/chunk.W3OVMOGL.js +1990 -0
- package/cdn/chunks/chunk.W4G7UCPF.js +25 -0
- package/cdn/chunks/chunk.WDD5BVF2.js +266 -0
- package/cdn/chunks/chunk.WDKBHKS5.js +11 -0
- package/cdn/chunks/chunk.WEHFKCUD.js +50 -0
- package/cdn/chunks/chunk.WFG3JYWV.js +291 -0
- package/cdn/chunks/chunk.WKA3X2FF.js +24 -0
- package/cdn/chunks/chunk.WMYN6KLN.js +27 -0
- package/cdn/chunks/chunk.WN2STHNI.js +28 -0
- package/cdn/chunks/chunk.WPNO32HP.js +114 -0
- package/cdn/chunks/chunk.WPNSPYDX.js +137 -0
- package/cdn/chunks/chunk.WRPMKONM.js +11 -0
- package/cdn/chunks/chunk.WWFQHDGS.js +103 -0
- package/cdn/chunks/chunk.X4Z24LFS.js +5845 -0
- package/cdn/chunks/chunk.XC5GIKUV.js +292 -0
- package/cdn/chunks/chunk.XEW26FPT.js +282 -0
- package/cdn/chunks/chunk.XFXHG3XY.js +7182 -0
- package/cdn/chunks/chunk.XIPMPUUJ.js +24 -0
- package/cdn/chunks/chunk.XK4XBCXF.js +11 -0
- package/cdn/chunks/chunk.XQZRRNQK.js +24 -0
- package/cdn/chunks/chunk.XSR4BJXQ.js +122 -0
- package/cdn/chunks/chunk.XY7MYVIY.js +219 -0
- package/cdn/chunks/chunk.Y5RMSDMZ.js +120 -0
- package/cdn/chunks/chunk.Y5ZAVRSU.js +391 -0
- package/cdn/chunks/chunk.YGWI3OLN.js +24 -0
- package/cdn/chunks/chunk.YHZKDOTR.js +27 -0
- package/cdn/chunks/chunk.YYWWNYXZ.js +11 -0
- package/cdn/chunks/chunk.Z2U4Z4T4.js +574 -0
- package/cdn/chunks/chunk.Z4UCN4JU.js +36 -0
- package/cdn/chunks/chunk.Z5JQLCEJ.js +346 -0
- package/cdn/chunks/chunk.ZAESNXWA.js +11 -0
- package/cdn/chunks/chunk.ZKMB4GM4.js +21 -0
- package/cdn/chunks/chunk.ZKMMEPMU.js +24 -0
- package/cdn/chunks/chunk.ZLK7X5Y6.js +42 -0
- package/cdn/chunks/chunk.ZWVHCMO4.js +11 -0
- package/cdn/components/alert/alert.component.js +4 -4
- package/cdn/components/alert/alert.js +5 -5
- package/cdn/components/animated-image/animated-image.component.js +3 -3
- package/cdn/components/animated-image/animated-image.js +4 -4
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +4 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +4 -4
- package/cdn/components/button/button.js +5 -5
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/calendar/calendar.component.js +6 -6
- package/cdn/components/calendar/calendar.js +6 -6
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +4 -4
- package/cdn/components/carousel/carousel.js +5 -5
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +3 -3
- package/cdn/components/checkbox/checkbox.js +4 -4
- package/cdn/components/color-picker/color-picker.component.js +12 -12
- package/cdn/components/color-picker/color-picker.js +13 -13
- package/cdn/components/copy-button/copy-button.component.js +5 -5
- package/cdn/components/copy-button/copy-button.js +6 -6
- package/cdn/components/date-panel/date-panel.component.js +9 -9
- package/cdn/components/date-panel/date-panel.js +9 -9
- package/cdn/components/datepicker/datepicker.component.js +13 -13
- package/cdn/components/datepicker/datepicker.js +13 -13
- package/cdn/components/details/details.component.js +3 -3
- package/cdn/components/details/details.js +4 -4
- package/cdn/components/dialog/dialog.component.js +4 -4
- package/cdn/components/dialog/dialog.js +5 -5
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +4 -4
- package/cdn/components/drawer/drawer.js +5 -5
- package/cdn/components/dropdown/dropdown.component.js +3 -3
- package/cdn/components/dropdown/dropdown.js +4 -4
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/image-comparer/image-comparer.component.js +3 -3
- package/cdn/components/image-comparer/image-comparer.js +4 -4
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +3 -3
- package/cdn/components/input/input.js +4 -4
- 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 +6 -6
- package/cdn/components/menu-item/menu-item.js +7 -7
- 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 +4 -4
- package/cdn/components/nav-submenu/nav-submenu.js +5 -5
- package/cdn/components/option/option.component.js +3 -3
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/custom-select.js +9 -9
- package/cdn/components/pagination/pagination.component.js +10 -10
- package/cdn/components/pagination/pagination.js +10 -10
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +3 -3
- package/cdn/components/radio/radio.js +4 -4
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +3 -3
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/range/range.component.js +2 -2
- package/cdn/components/range/range.js +3 -3
- package/cdn/components/rating/rating.component.js +3 -3
- package/cdn/components/rating/rating.js +4 -4
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/screen/screen.component.js +2 -2
- package/cdn/components/screen/screen.js +3 -3
- package/cdn/components/select/select.component.js +6 -6
- package/cdn/components/select/select.js +7 -7
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +2 -2
- package/cdn/components/split-panel/split-panel.js +3 -3
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +4 -4
- package/cdn/components/tab/tab.js +5 -5
- package/cdn/components/tab-group/tab-group.component.js +5 -5
- package/cdn/components/tab-group/tab-group.js +6 -6
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/table/body-table.js +2 -2
- package/cdn/components/table/head-table.js +19 -19
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +27 -27
- package/cdn/components/table/table.js +28 -28
- package/cdn/components/tag/tag.component.js +4 -4
- package/cdn/components/tag/tag.js +5 -5
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-panel/time-panel.component.js +5 -5
- package/cdn/components/time-panel/time-panel.js +5 -5
- package/cdn/components/timepicker/timepicker.component.js +13 -13
- package/cdn/components/timepicker/timepicker.js +13 -13
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/tree/tree.component.js +7 -7
- package/cdn/components/tree/tree.js +8 -8
- package/cdn/components/tree-item/tree-item.component.js +5 -5
- package/cdn/components/tree-item/tree-item.js +6 -6
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/custom-elements.json +2130 -2130
- package/cdn/react/alert/index.js +5 -5
- package/cdn/react/animated-image/index.js +4 -4
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +4 -4
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +5 -5
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +5 -5
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +4 -4
- package/cdn/react/color-picker/index.js +13 -13
- package/cdn/react/copy-button/index.js +6 -6
- package/cdn/react/date-panel/index.js +10 -10
- package/cdn/react/datepicker/index.js +14 -14
- package/cdn/react/details/index.js +4 -4
- package/cdn/react/dialog/index.js +5 -5
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +5 -5
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/format-bytes/index.js +3 -3
- package/cdn/react/format-date/index.js +3 -3
- package/cdn/react/format-number/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/icon-button/index.js +4 -4
- package/cdn/react/image-comparer/index.js +4 -4
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.js +187 -187
- package/cdn/react/input/index.js +4 -4
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +7 -7
- 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 +5 -5
- package/cdn/react/option/index.js +4 -4
- package/cdn/react/pagination/index.js +11 -11
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +4 -4
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/range/index.js +3 -3
- package/cdn/react/rating/index.js +4 -4
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/screen/index.js +3 -3
- package/cdn/react/select/index.js +7 -7
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +3 -3
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +5 -5
- package/cdn/react/tab-group/index.js +6 -6
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +28 -28
- package/cdn/react/tag/index.js +5 -5
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/timepicker/index.js +14 -14
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/tree/index.js +8 -8
- package/cdn/react/tree-item/index.js +6 -6
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/shoelace.js +162 -162
- package/cdn/types/vue/index.d.ts +297 -297
- package/cdn/vscode.html-custom-data.json +200 -200
- package/cdn/web-types.json +630 -630
- package/dist/chunks/chunk.23BTFJVA.js +29 -0
- package/dist/chunks/chunk.24IOVNKN.js +135 -0
- package/dist/chunks/chunk.2BZDVRHI.js +21 -0
- package/dist/chunks/chunk.2DLRUOFA.js +21 -0
- package/dist/chunks/chunk.2O57EEG3.js +28 -0
- package/dist/chunks/chunk.2OBHIJTO.js +11 -0
- package/dist/chunks/chunk.2OVJL3WH.js +27 -0
- package/dist/chunks/chunk.2OW3F4CH.js +11 -0
- package/dist/chunks/chunk.2QGV2TJU.js +11 -0
- package/dist/chunks/chunk.2TDKIN5E.js +11 -0
- package/dist/chunks/chunk.2TR7ATQR.js +11 -0
- package/dist/chunks/chunk.34WGXUTW.js +277 -0
- package/dist/chunks/chunk.365LJYHN.js +11 -0
- package/dist/chunks/chunk.3EKBCQQE.js +21 -0
- package/dist/chunks/chunk.3ENUCPGN.js +11 -0
- package/dist/chunks/chunk.3J3UOZV3.js +11 -0
- package/dist/chunks/chunk.3XJ6PRNO.js +501 -0
- package/dist/chunks/chunk.3ZFIUY32.js +1056 -0
- package/dist/chunks/chunk.46THULYU.js +119 -0
- package/dist/chunks/chunk.47K444NF.js +109 -0
- package/dist/chunks/chunk.4DOGUNUQ.js +33 -0
- package/dist/chunks/chunk.4QQTQUQU.js +11 -0
- package/dist/chunks/chunk.4YTYLEK5.js +119 -0
- package/dist/chunks/chunk.532YTCY4.js +25 -0
- package/dist/chunks/chunk.54QI4O6A.js +29 -0
- package/dist/chunks/chunk.56VCBRZL.js +167 -0
- package/dist/chunks/chunk.5PXXZZXM.js +371 -0
- package/dist/chunks/chunk.5S3RSISO.js +25 -0
- package/dist/chunks/chunk.5SL7MPXT.js +126 -0
- package/dist/chunks/chunk.5Z2556YN.js +11 -0
- package/dist/chunks/chunk.64G6LX7Y.js +21 -0
- package/dist/chunks/chunk.6KPQNR65.js +311 -0
- package/dist/chunks/chunk.6SMCMA7X.js +11 -0
- package/dist/chunks/chunk.6ZHSF7EV.js +11 -0
- package/dist/chunks/chunk.72DGPQGL.js +24 -0
- package/dist/chunks/chunk.77VSWHGB.js +568 -0
- package/dist/chunks/chunk.77XNUE5D.js +25 -0
- package/dist/chunks/chunk.7FNO5MPG.js +29 -0
- package/dist/chunks/chunk.7G6NNFPZ.js +25 -0
- package/dist/chunks/chunk.7KS4BUP4.js +25 -0
- package/dist/chunks/chunk.7RRD756R.js +45 -0
- package/dist/chunks/chunk.7TNTRLKD.js +274 -0
- package/dist/chunks/chunk.7V3P6TEH.js +85 -0
- package/dist/chunks/chunk.A4N66EO6.js +75 -0
- package/dist/chunks/chunk.A66CYSXX.js +231 -0
- package/dist/chunks/chunk.ABKQ3YQ6.js +11 -0
- package/dist/chunks/chunk.AGEWT4X2.js +11 -0
- package/dist/chunks/chunk.ALNFJFZF.js +11 -0
- package/dist/chunks/chunk.ALPHRXRR.js +328 -0
- package/dist/chunks/chunk.ATT2FSEJ.js +26 -0
- package/dist/chunks/chunk.AUCAYD3G.js +26 -0
- package/dist/chunks/chunk.AZDT6FY4.js +21 -0
- package/dist/chunks/chunk.BAIVPZ7A.js +11 -0
- package/dist/chunks/chunk.BC6TB4ZV.js +21 -0
- package/dist/chunks/chunk.BEX7RBRM.js +11 -0
- package/dist/chunks/chunk.BOMIF4DO.js +22 -0
- package/dist/chunks/chunk.BPFFL3FN.js +286 -0
- package/dist/chunks/chunk.BUPQZNK5.js +21 -0
- package/dist/chunks/chunk.BYFEQRXI.js +263 -0
- package/dist/chunks/chunk.C3A4OIAM.js +21 -0
- package/dist/chunks/chunk.C4XC2I2S.js +361 -0
- package/dist/chunks/chunk.CNKKL7IJ.js +27 -0
- package/dist/chunks/chunk.CRNFGZ3L.js +24 -0
- package/dist/chunks/chunk.D7BNZMAH.js +11 -0
- package/dist/chunks/chunk.DE6WNF5W.js +213 -0
- package/dist/chunks/chunk.DGI2ZTDR.js +21 -0
- package/dist/chunks/chunk.E5K77LS5.js +494 -0
- package/dist/chunks/chunk.EE3VDES4.js +132 -0
- package/dist/chunks/chunk.EKOSELGR.js +21 -0
- package/dist/chunks/chunk.EMDKXSMI.js +949 -0
- package/dist/chunks/chunk.ETXCAGL3.js +11 -0
- package/dist/chunks/chunk.FB3JYY6Y.js +337 -0
- package/dist/chunks/chunk.FHABURQV.js +93 -0
- package/dist/chunks/chunk.FQQI6UOA.js +116 -0
- package/dist/chunks/chunk.FQUKVDBO.js +21 -0
- package/dist/chunks/chunk.FRSDE7VZ.js +21 -0
- package/dist/chunks/chunk.G62J56BJ.js +21 -0
- package/dist/chunks/chunk.GBTLHBKM.js +397 -0
- package/dist/chunks/chunk.H5XSX25K.js +27 -0
- package/dist/chunks/chunk.H7LEQIWA.js +11 -0
- package/dist/chunks/chunk.HBYGGOGC.js +42 -0
- package/dist/chunks/chunk.HCURS3UG.js +96 -0
- package/dist/chunks/chunk.HEG3DNUK.js +306 -0
- package/dist/chunks/chunk.HNRRTOVY.js +90 -0
- package/dist/chunks/chunk.HQN2ZIHI.js +11 -0
- package/dist/chunks/chunk.HU274PUG.js +80 -0
- package/dist/chunks/chunk.HYX3FSLH.js +338 -0
- package/dist/chunks/chunk.I2QSJPZA.js +11 -0
- package/dist/chunks/chunk.IBP3T3CT.js +27 -0
- package/dist/chunks/chunk.IGRVVDVM.js +174 -0
- package/dist/chunks/chunk.IJLU4WI2.js +24 -0
- package/dist/chunks/chunk.IUPWG63U.js +252 -0
- package/dist/chunks/chunk.IVTJCER6.js +75 -0
- package/dist/chunks/chunk.JC3TEJPC.js +21 -0
- package/dist/chunks/chunk.JF72DIKL.js +147 -0
- package/dist/chunks/chunk.JHALFF5L.js +11 -0
- package/dist/chunks/chunk.JV3SAKF6.js +24 -0
- package/dist/chunks/chunk.K3COOIMR.js +11 -0
- package/dist/chunks/chunk.K475YGGN.js +11 -0
- package/dist/chunks/chunk.KGLNUZRR.js +26 -0
- package/dist/chunks/chunk.KJFCLUTE.js +21 -0
- package/dist/chunks/chunk.KJYE3L7J.js +25 -0
- package/dist/chunks/chunk.KUJNGSM5.js +28 -0
- package/dist/chunks/chunk.L3G7FIBQ.js +24 -0
- package/dist/chunks/chunk.L5Z2KQH5.js +11 -0
- package/dist/chunks/chunk.LDS5TPKB.js +100 -0
- package/dist/chunks/chunk.LEV6N56D.js +315 -0
- package/dist/chunks/chunk.LFZGWNHE.js +24 -0
- package/dist/chunks/chunk.LLQI7EX3.js +11 -0
- package/dist/chunks/chunk.LOEIQVQW.js +11 -0
- package/dist/chunks/chunk.LSCRDMLX.js +738 -0
- package/dist/chunks/chunk.LVSBMJ6U.js +24 -0
- package/dist/chunks/chunk.LZ3WVQWA.js +214 -0
- package/dist/chunks/chunk.M32EWT7G.js +21 -0
- package/dist/chunks/chunk.M5OA5WHN.js +247 -0
- package/dist/chunks/chunk.M7B5EGE5.js +11 -0
- package/dist/chunks/chunk.MBRQXT7O.js +11 -0
- package/dist/chunks/chunk.MGBHRTBU.js +21 -0
- package/dist/chunks/chunk.MKPN37IC.js +11 -0
- package/dist/chunks/chunk.MLTBFKZI.js +294 -0
- package/dist/chunks/chunk.MMCOK2Z3.js +21 -0
- package/dist/chunks/chunk.MTLHONJC.js +24 -0
- package/dist/chunks/chunk.N3K4VC5J.js +25 -0
- package/dist/chunks/chunk.N65FHJNF.js +52 -0
- package/dist/chunks/chunk.N7I4IAJW.js +24 -0
- package/dist/chunks/chunk.N7PGQNG2.js +21 -0
- package/dist/chunks/chunk.NA6WYREY.js +28 -0
- package/dist/chunks/chunk.NXF2DJ2H.js +21 -0
- package/dist/chunks/chunk.O4GA5D7T.js +113 -0
- package/dist/chunks/chunk.O6PIIDEZ.js +27 -0
- package/dist/chunks/chunk.O7EAPQSM.js +63 -0
- package/dist/chunks/chunk.OD5KTBNX.js +50 -0
- package/dist/chunks/chunk.OH4GVKRM.js +448 -0
- package/dist/chunks/chunk.OHYM5UEL.js +11 -0
- package/dist/chunks/chunk.OTIQIPNJ.js +11 -0
- package/dist/chunks/chunk.OUVNWWDC.js +11 -0
- package/dist/chunks/chunk.OVP5OP4V.js +11 -0
- package/dist/chunks/chunk.P4GHLRKU.js +134 -0
- package/dist/chunks/chunk.P4M7YN3W.js +28 -0
- package/dist/chunks/chunk.PAYZPAZI.js +11 -0
- package/dist/chunks/chunk.PC6DI6LX.js +111 -0
- package/dist/chunks/chunk.PTHN6BDW.js +28 -0
- package/dist/chunks/chunk.Q5IVVVPW.js +46 -0
- package/dist/chunks/chunk.Q645ICM4.js +227 -0
- package/dist/chunks/chunk.Q67BAW27.js +293 -0
- package/dist/chunks/chunk.QL6YWKCK.js +151 -0
- package/dist/chunks/chunk.QRTUUQRP.js +25 -0
- package/dist/chunks/chunk.QU6ZGJQL.js +125 -0
- package/dist/chunks/chunk.QVV2PPXO.js +814 -0
- package/dist/chunks/chunk.RC2Y72P5.js +29 -0
- package/dist/chunks/chunk.RS4VBOEJ.js +11 -0
- package/dist/chunks/chunk.RW7R6F5W.js +11 -0
- package/dist/chunks/chunk.RX6VSIXI.js +21 -0
- package/dist/chunks/chunk.RXRAISAU.js +25 -0
- package/dist/chunks/chunk.SDGUJGOS.js +91 -0
- package/dist/chunks/chunk.SFEFDGNF.js +11 -0
- package/dist/chunks/chunk.SMV4PI4O.js +73 -0
- package/dist/chunks/chunk.SN2SA67E.js +11 -0
- package/dist/chunks/chunk.SQWHFHHG.js +11 -0
- package/dist/chunks/chunk.SUGDM2YK.js +11 -0
- package/dist/chunks/chunk.SZPFTVWD.js +24 -0
- package/dist/chunks/chunk.T42FH3A7.js +34 -0
- package/dist/chunks/chunk.TDGCGAIM.js +11 -0
- package/dist/chunks/chunk.TK4VVBC2.js +67 -0
- package/dist/chunks/chunk.TOQSQEXS.js +100 -0
- package/dist/chunks/chunk.U44532PC.js +192 -0
- package/dist/chunks/chunk.U5QDVCKI.js +21 -0
- package/dist/chunks/chunk.UARFGIO6.js +11 -0
- package/dist/chunks/chunk.UGDQZZ5S.js +11 -0
- package/dist/chunks/chunk.UINDR57U.js +11 -0
- package/dist/chunks/chunk.UNRHLZSO.js +11 -0
- package/dist/chunks/chunk.UOE6DWVX.js +28 -0
- package/dist/chunks/chunk.UQA7NLEN.js +59 -0
- package/dist/chunks/chunk.UQPTNKEW.js +11 -0
- package/dist/chunks/chunk.UT4DW6KE.js +24 -0
- package/dist/chunks/chunk.UUBDEHFJ.js +550 -0
- package/dist/chunks/chunk.UUMAJ3HC.js +11 -0
- package/dist/chunks/chunk.UXPYNRPM.js +11 -0
- package/dist/chunks/chunk.UYTZDIFR.js +11 -0
- package/dist/chunks/chunk.VBBZRDCQ.js +11 -0
- package/dist/chunks/chunk.VGRQTGQF.js +21 -0
- package/dist/chunks/chunk.VP2FJ4NZ.js +11 -0
- package/dist/chunks/chunk.VPJEUG76.js +11 -0
- package/dist/chunks/chunk.VRO7336O.js +21 -0
- package/dist/chunks/chunk.VZMO774J.js +25 -0
- package/dist/chunks/chunk.W3KGBFD3.js +117 -0
- package/dist/chunks/chunk.W73H2G4Z.js +11 -0
- package/dist/chunks/chunk.W7DSAGVX.js +24 -0
- package/dist/chunks/chunk.WB6GCIIY.js +22 -0
- package/dist/chunks/chunk.WEJIUD5Y.js +24 -0
- package/dist/chunks/chunk.WGYOLONV.js +11 -0
- package/dist/chunks/chunk.WMJ6W2TT.js +11 -0
- package/dist/chunks/chunk.XCURO3GD.js +384 -0
- package/dist/chunks/chunk.XL2LMEBB.js +45 -0
- package/dist/chunks/chunk.XNB32CNY.js +11 -0
- package/dist/chunks/chunk.XR2UYIG7.js +25 -0
- package/dist/chunks/chunk.XRGMYVK3.js +11 -0
- package/dist/chunks/chunk.XVGW46UG.js +11 -0
- package/dist/chunks/chunk.Y3JPJWMV.js +11 -0
- package/dist/chunks/chunk.Y6R4QL72.js +417 -0
- package/dist/chunks/chunk.Y7JNEWW6.js +11 -0
- package/dist/chunks/chunk.YBQNTNN5.js +21 -0
- package/dist/chunks/chunk.YHTDG57M.js +11 -0
- package/dist/chunks/chunk.YRISW5OQ.js +181 -0
- package/dist/chunks/chunk.YVX75UDH.js +280 -0
- package/dist/chunks/chunk.Z53RLOGO.js +27 -0
- package/dist/chunks/chunk.ZBFNJVLZ.js +437 -0
- package/dist/chunks/chunk.ZBR457FN.js +11 -0
- package/dist/components/alert/alert.component.js +4 -4
- package/dist/components/alert/alert.js +5 -5
- package/dist/components/animated-image/animated-image.component.js +3 -3
- package/dist/components/animated-image/animated-image.js +4 -4
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +3 -3
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +4 -4
- package/dist/components/button/button.js +5 -5
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.js +6 -6
- package/dist/components/calendar/calendar.js +6 -6
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +4 -4
- package/dist/components/carousel/carousel.js +5 -5
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/color-picker/color-picker.component.js +12 -12
- package/dist/components/color-picker/color-picker.js +13 -13
- package/dist/components/copy-button/copy-button.component.js +5 -5
- package/dist/components/copy-button/copy-button.js +6 -6
- package/dist/components/date-panel/date-panel.component.js +9 -9
- package/dist/components/date-panel/date-panel.js +9 -9
- package/dist/components/datepicker/datepicker.component.js +13 -13
- package/dist/components/datepicker/datepicker.js +13 -13
- package/dist/components/details/details.component.js +3 -3
- package/dist/components/details/details.js +4 -4
- package/dist/components/dialog/dialog.component.js +4 -4
- package/dist/components/dialog/dialog.js +5 -5
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +4 -4
- package/dist/components/drawer/drawer.js +5 -5
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image-comparer/image-comparer.component.js +3 -3
- package/dist/components/image-comparer/image-comparer.js +4 -4
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +3 -3
- package/dist/components/input/input.js +4 -4
- 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 +6 -6
- package/dist/components/menu-item/menu-item.js +7 -7
- 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 +4 -4
- package/dist/components/nav-submenu/nav-submenu.js +5 -5
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/pagination/custom-select.js +9 -9
- package/dist/components/pagination/pagination.component.js +10 -10
- package/dist/components/pagination/pagination.js +10 -10
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +2 -2
- package/dist/components/range/range.js +3 -3
- package/dist/components/rating/rating.component.js +3 -3
- package/dist/components/rating/rating.js +4 -4
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/screen/screen.component.js +2 -2
- package/dist/components/screen/screen.js +3 -3
- package/dist/components/select/select.component.js +6 -6
- package/dist/components/select/select.js +7 -7
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +4 -4
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.component.js +5 -5
- package/dist/components/tab-group/tab-group.js +6 -6
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +2 -2
- package/dist/components/table/head-table.js +19 -19
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +27 -27
- package/dist/components/table/table.js +28 -28
- package/dist/components/tag/tag.component.js +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-panel/time-panel.component.js +5 -5
- package/dist/components/time-panel/time-panel.js +5 -5
- package/dist/components/timepicker/timepicker.component.js +13 -13
- package/dist/components/timepicker/timepicker.js +13 -13
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +7 -7
- package/dist/components/tree/tree.js +8 -8
- package/dist/components/tree-item/tree-item.component.js +5 -5
- package/dist/components/tree-item/tree-item.js +6 -6
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +2130 -2130
- package/dist/react/alert/index.js +5 -5
- package/dist/react/animated-image/index.js +4 -4
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +4 -4
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +5 -5
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +5 -5
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +4 -4
- package/dist/react/color-picker/index.js +13 -13
- package/dist/react/copy-button/index.js +6 -6
- package/dist/react/date-panel/index.js +10 -10
- package/dist/react/datepicker/index.js +14 -14
- package/dist/react/details/index.js +4 -4
- package/dist/react/dialog/index.js +5 -5
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +5 -5
- package/dist/react/dropdown/index.js +4 -4
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/icon/index.js +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image-comparer/index.js +4 -4
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.js +187 -187
- package/dist/react/input/index.js +4 -4
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +7 -7
- 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 +5 -5
- package/dist/react/option/index.js +4 -4
- package/dist/react/pagination/index.js +11 -11
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +4 -4
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +3 -3
- package/dist/react/rating/index.js +4 -4
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/screen/index.js +3 -3
- package/dist/react/select/index.js +7 -7
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +5 -5
- package/dist/react/tab-group/index.js +6 -6
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +28 -28
- package/dist/react/tag/index.js +5 -5
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/timepicker/index.js +14 -14
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +8 -8
- package/dist/react/tree-item/index.js +6 -6
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/shoelace.js +161 -161
- package/dist/types/vue/index.d.ts +297 -297
- package/dist/vscode.html-custom-data.json +200 -200
- package/dist/web-types.json +630 -630
- package/package.json +2 -2
- package/cdn/chunks/chunk.23WX4IIK.js +0 -26
- package/cdn/chunks/chunk.2F6BH5VZ.js +0 -48
- package/cdn/chunks/chunk.2FVW6KTS.js +0 -24
- package/cdn/chunks/chunk.2GQXLKH2.js +0 -11
- package/cdn/chunks/chunk.2M63QR5H.js +0 -137
- package/cdn/chunks/chunk.2YDZBONK.js +0 -36
- package/cdn/chunks/chunk.33GIVBCX.js +0 -186
- package/cdn/chunks/chunk.33HCVHKR.js +0 -402
- package/cdn/chunks/chunk.3BBWICYY.js +0 -11
- package/cdn/chunks/chunk.3ROPEJ6A.js +0 -11
- package/cdn/chunks/chunk.3ZKAIQC3.js +0 -257
- package/cdn/chunks/chunk.4E6VVZLR.js +0 -113
- package/cdn/chunks/chunk.4HEFI3TR.js +0 -21
- package/cdn/chunks/chunk.4ITOXMOC.js +0 -50
- package/cdn/chunks/chunk.4M63ZPLF.js +0 -7180
- package/cdn/chunks/chunk.4OO66AUH.js +0 -11
- package/cdn/chunks/chunk.4PCTXN2L.js +0 -11
- package/cdn/chunks/chunk.4S76P34M.js +0 -11
- package/cdn/chunks/chunk.4UU2AHNM.js +0 -11
- package/cdn/chunks/chunk.4WYLYP2R.js +0 -2654
- package/cdn/chunks/chunk.4XZRAY4I.js +0 -1925
- package/cdn/chunks/chunk.535UQ7PU.js +0 -11
- package/cdn/chunks/chunk.5DULFYC5.js +0 -11
- package/cdn/chunks/chunk.5IST66LN.js +0 -21
- package/cdn/chunks/chunk.5LQPJK4T.js +0 -25
- package/cdn/chunks/chunk.5QBHYHI5.js +0 -11
- package/cdn/chunks/chunk.5TFURW2T.js +0 -11
- package/cdn/chunks/chunk.5TSM4VI7.js +0 -236
- package/cdn/chunks/chunk.5VRD66ML.js +0 -24
- package/cdn/chunks/chunk.62BUAYEN.js +0 -158
- package/cdn/chunks/chunk.6F2FLYOW.js +0 -21
- package/cdn/chunks/chunk.6F6QUINY.js +0 -21
- package/cdn/chunks/chunk.6US6F6S3.js +0 -120
- package/cdn/chunks/chunk.6ZIXSOPR.js +0 -21
- package/cdn/chunks/chunk.6ZKNFZGQ.js +0 -63
- package/cdn/chunks/chunk.7GZEZ2Y5.js +0 -11
- package/cdn/chunks/chunk.7QQEWD4L.js +0 -21
- package/cdn/chunks/chunk.7R6STMVQ.js +0 -24
- package/cdn/chunks/chunk.AJ2OYLPL.js +0 -87
- package/cdn/chunks/chunk.AQBMDC3E.js +0 -11
- package/cdn/chunks/chunk.AVRLZDY5.js +0 -21
- package/cdn/chunks/chunk.BWF6NN7L.js +0 -336
- package/cdn/chunks/chunk.BXTUASYQ.js +0 -29
- package/cdn/chunks/chunk.BY6KFH73.js +0 -11
- package/cdn/chunks/chunk.C6IEKD4A.js +0 -216
- package/cdn/chunks/chunk.CL5YXDWF.js +0 -28
- package/cdn/chunks/chunk.CMFW5LOK.js +0 -367
- package/cdn/chunks/chunk.CPLLGC7O.js +0 -137
- package/cdn/chunks/chunk.CREPJYOR.js +0 -21
- package/cdn/chunks/chunk.D36AO6T3.js +0 -11
- package/cdn/chunks/chunk.DJGGJMPC.js +0 -21
- package/cdn/chunks/chunk.DKPXHODS.js +0 -11
- package/cdn/chunks/chunk.DLXIAJ2V.js +0 -11
- package/cdn/chunks/chunk.DMYOWHYC.js +0 -11
- package/cdn/chunks/chunk.DRGDUTKF.js +0 -11
- package/cdn/chunks/chunk.DSLJYWB4.js +0 -21
- package/cdn/chunks/chunk.E25NP5SO.js +0 -11
- package/cdn/chunks/chunk.EAUOUIX4.js +0 -67
- package/cdn/chunks/chunk.ED24VHRA.js +0 -586
- package/cdn/chunks/chunk.ED2UP6WZ.js +0 -11
- package/cdn/chunks/chunk.EDBLN2VQ.js +0 -25
- package/cdn/chunks/chunk.EGHXUYMK.js +0 -510
- package/cdn/chunks/chunk.EJFHWZ3C.js +0 -11
- package/cdn/chunks/chunk.ELRVTLCB.js +0 -21
- package/cdn/chunks/chunk.EN2D7JQA.js +0 -11
- package/cdn/chunks/chunk.EXK5T256.js +0 -21
- package/cdn/chunks/chunk.EZNWAXFF.js +0 -11
- package/cdn/chunks/chunk.FBR4Q63N.js +0 -25
- package/cdn/chunks/chunk.FEW45SGJ.js +0 -24
- package/cdn/chunks/chunk.FG7FIJ4A.js +0 -255
- package/cdn/chunks/chunk.FHQ6SOQJ.js +0 -103
- package/cdn/chunks/chunk.FQCV7DYK.js +0 -291
- package/cdn/chunks/chunk.G7UJGWHN.js +0 -21
- package/cdn/chunks/chunk.GCDL523E.js +0 -391
- package/cdn/chunks/chunk.GDDL2ZQP.js +0 -379
- package/cdn/chunks/chunk.GETMDTK6.js +0 -314
- package/cdn/chunks/chunk.GI23BFSO.js +0 -11
- package/cdn/chunks/chunk.GL362K25.js +0 -11
- package/cdn/chunks/chunk.GO57DLFX.js +0 -1058
- package/cdn/chunks/chunk.GPQH7V6M.js +0 -26
- package/cdn/chunks/chunk.GQX7LPK4.js +0 -5845
- package/cdn/chunks/chunk.GRX55RH2.js +0 -177
- package/cdn/chunks/chunk.HDWRDDWI.js +0 -73
- package/cdn/chunks/chunk.HGQHIEUA.js +0 -11
- package/cdn/chunks/chunk.HKBYSRKH.js +0 -724
- package/cdn/chunks/chunk.HLG4GWMI.js +0 -21
- package/cdn/chunks/chunk.HMNFR2UP.js +0 -42
- package/cdn/chunks/chunk.HOOU7UNX.js +0 -127
- package/cdn/chunks/chunk.HP5EQBJI.js +0 -1990
- package/cdn/chunks/chunk.I7F4TU4S.js +0 -11
- package/cdn/chunks/chunk.ICXEJ5NW.js +0 -142
- package/cdn/chunks/chunk.IIKXCPWN.js +0 -11
- package/cdn/chunks/chunk.IMYUHA7A.js +0 -95
- package/cdn/chunks/chunk.IX2EEYGP.js +0 -24
- package/cdn/chunks/chunk.IXXY6EMT.js +0 -130
- package/cdn/chunks/chunk.JFJGWT5X.js +0 -11
- package/cdn/chunks/chunk.JPJQNOE3.js +0 -11
- package/cdn/chunks/chunk.JVMLLWDE.js +0 -11
- package/cdn/chunks/chunk.JYAK756K.js +0 -27
- package/cdn/chunks/chunk.K56PLL3U.js +0 -153
- package/cdn/chunks/chunk.KBJCVKVV.js +0 -29
- package/cdn/chunks/chunk.KEVRKCI3.js +0 -11
- package/cdn/chunks/chunk.KF4JUKBH.js +0 -11
- package/cdn/chunks/chunk.KGZ7SQSK.js +0 -26
- package/cdn/chunks/chunk.KOQK2UQV.js +0 -123
- package/cdn/chunks/chunk.KWYJUC6D.js +0 -279
- package/cdn/chunks/chunk.KZ22B4H2.js +0 -93
- package/cdn/chunks/chunk.L636OJ7W.js +0 -28
- package/cdn/chunks/chunk.L7ESWREN.js +0 -219
- package/cdn/chunks/chunk.LH37CC6N.js +0 -82
- package/cdn/chunks/chunk.LHJA5GEJ.js +0 -233
- package/cdn/chunks/chunk.LIHFS4YL.js +0 -822
- package/cdn/chunks/chunk.LOTHJHHC.js +0 -27
- package/cdn/chunks/chunk.M564KY5J.js +0 -11
- package/cdn/chunks/chunk.MARNMIR3.js +0 -11
- package/cdn/chunks/chunk.MCVJD4TI.js +0 -11
- package/cdn/chunks/chunk.MKWDM3XY.js +0 -27
- package/cdn/chunks/chunk.MR4WVQXP.js +0 -135
- package/cdn/chunks/chunk.MUIYRTUD.js +0 -28
- package/cdn/chunks/chunk.N2BWLT5M.js +0 -79
- package/cdn/chunks/chunk.N4TFCEDA.js +0 -11
- package/cdn/chunks/chunk.N5UQGXF5.js +0 -28
- package/cdn/chunks/chunk.N6IGVEXW.js +0 -54
- package/cdn/chunks/chunk.NHTFPAPK.js +0 -97
- package/cdn/chunks/chunk.NLD3CJ2O.js +0 -11
- package/cdn/chunks/chunk.NNBPVQ3D.js +0 -24
- package/cdn/chunks/chunk.NNEFB3JX.js +0 -25
- package/cdn/chunks/chunk.NSDCQFXI.js +0 -24
- package/cdn/chunks/chunk.NYJEK2IL.js +0 -24
- package/cdn/chunks/chunk.O4QAGFOM.js +0 -25
- package/cdn/chunks/chunk.OE7W3DLA.js +0 -28
- package/cdn/chunks/chunk.OELR5RX6.js +0 -11
- package/cdn/chunks/chunk.OFZH2C6Q.js +0 -299
- package/cdn/chunks/chunk.OJNHFZFI.js +0 -11
- package/cdn/chunks/chunk.OQC5PZVQ.js +0 -271
- package/cdn/chunks/chunk.OYPNUBXO.js +0 -21
- package/cdn/chunks/chunk.P6BV3EX3.js +0 -24
- package/cdn/chunks/chunk.P6XVSHPE.js +0 -455
- package/cdn/chunks/chunk.P7GNMMSW.js +0 -27
- package/cdn/chunks/chunk.PCCSA6OV.js +0 -11
- package/cdn/chunks/chunk.PDSZA3NP.js +0 -21
- package/cdn/chunks/chunk.PJYXONJJ.js +0 -11
- package/cdn/chunks/chunk.PPJJBFF4.js +0 -11
- package/cdn/chunks/chunk.PQV3XRTK.js +0 -75
- package/cdn/chunks/chunk.Q6XHH6QC.js +0 -29
- package/cdn/chunks/chunk.QA2FJSHX.js +0 -266
- package/cdn/chunks/chunk.QD43L3QY.js +0 -29
- package/cdn/chunks/chunk.QT5V3QPK.js +0 -11
- package/cdn/chunks/chunk.QXNCQNDR.js +0 -49
- package/cdn/chunks/chunk.R4NWL2KS.js +0 -24
- package/cdn/chunks/chunk.R6JWTZZK.js +0 -27
- package/cdn/chunks/chunk.RBQAAD2J.js +0 -118
- package/cdn/chunks/chunk.RCCQJPZS.js +0 -25
- package/cdn/chunks/chunk.RHPZC6GF.js +0 -27
- package/cdn/chunks/chunk.RI75IJR5.js +0 -11
- package/cdn/chunks/chunk.RTPVXMFH.js +0 -11
- package/cdn/chunks/chunk.RUCVRRD2.js +0 -21
- package/cdn/chunks/chunk.RVTVMACR.js +0 -11
- package/cdn/chunks/chunk.S7NFFKPD.js +0 -11
- package/cdn/chunks/chunk.SJNTLIDF.js +0 -21
- package/cdn/chunks/chunk.SMQMGR25.js +0 -25
- package/cdn/chunks/chunk.SO4NNE4G.js +0 -11
- package/cdn/chunks/chunk.SQQ7ETBT.js +0 -21
- package/cdn/chunks/chunk.TAV4D7VV.js +0 -11
- package/cdn/chunks/chunk.TDVD67IW.js +0 -24
- package/cdn/chunks/chunk.TE7YSKAA.js +0 -21
- package/cdn/chunks/chunk.TH32XAJZ.js +0 -502
- package/cdn/chunks/chunk.TNKASOE5.js +0 -33
- package/cdn/chunks/chunk.TPPDV5GY.js +0 -21
- package/cdn/chunks/chunk.TSM6P6WK.js +0 -11
- package/cdn/chunks/chunk.TTE3RW6X.js +0 -11
- package/cdn/chunks/chunk.TV4BBYZZ.js +0 -21
- package/cdn/chunks/chunk.U3EP43KI.js +0 -27
- package/cdn/chunks/chunk.UFGMX3XH.js +0 -28
- package/cdn/chunks/chunk.UKEYLVHN.js +0 -21
- package/cdn/chunks/chunk.UKKAD4IJ.js +0 -302
- package/cdn/chunks/chunk.UKS2GT4S.js +0 -11
- package/cdn/chunks/chunk.UW2F6UPY.js +0 -334
- package/cdn/chunks/chunk.UW7KXJNU.js +0 -313
- package/cdn/chunks/chunk.V2IAOEIJ.js +0 -21
- package/cdn/chunks/chunk.VGEIUGHU.js +0 -24
- package/cdn/chunks/chunk.VJEWHPOO.js +0 -122
- package/cdn/chunks/chunk.VQ6A4KVQ.js +0 -24
- package/cdn/chunks/chunk.VQZN3VF4.js +0 -77
- package/cdn/chunks/chunk.W3R2LWJ2.js +0 -49
- package/cdn/chunks/chunk.W5TDEUTT.js +0 -25
- package/cdn/chunks/chunk.WACRJU63.js +0 -346
- package/cdn/chunks/chunk.WB7R5MZO.js +0 -11
- package/cdn/chunks/chunk.WDV5PM2Q.js +0 -25
- package/cdn/chunks/chunk.WRCIQWGB.js +0 -11
- package/cdn/chunks/chunk.WRQAWFOS.js +0 -11
- package/cdn/chunks/chunk.WUCNRQR2.js +0 -11
- package/cdn/chunks/chunk.WWQQYRTC.js +0 -342
- package/cdn/chunks/chunk.X4GBQOQN.js +0 -11
- package/cdn/chunks/chunk.XB6H2JAW.js +0 -197
- package/cdn/chunks/chunk.XCQWFE6U.js +0 -11
- package/cdn/chunks/chunk.XEJLVA7W.js +0 -11
- package/cdn/chunks/chunk.XOO4HRZU.js +0 -114
- package/cdn/chunks/chunk.XSHHGP57.js +0 -292
- package/cdn/chunks/chunk.YBUA67DG.js +0 -24
- package/cdn/chunks/chunk.YFUVB5JK.js +0 -11
- package/cdn/chunks/chunk.YMCRK2WA.js +0 -21
- package/cdn/chunks/chunk.YSD4CRJR.js +0 -574
- package/cdn/chunks/chunk.YWJXPHLW.js +0 -24
- package/cdn/chunks/chunk.YX664DDU.js +0 -282
- package/cdn/chunks/chunk.ZCZ26FJE.js +0 -11
- package/cdn/chunks/chunk.ZGIEOFJ3.js +0 -25
- package/cdn/chunks/chunk.ZJU3XDMM.js +0 -11
- package/dist/chunks/chunk.27CAO2WY.js +0 -28
- package/dist/chunks/chunk.2ANYYJDB.js +0 -22
- package/dist/chunks/chunk.2BTEDRNT.js +0 -11
- package/dist/chunks/chunk.2I3UOM2Y.js +0 -25
- package/dist/chunks/chunk.2R5AP4PT.js +0 -371
- package/dist/chunks/chunk.3EVQBFEF.js +0 -417
- package/dist/chunks/chunk.3N5TNFZE.js +0 -113
- package/dist/chunks/chunk.3O2ZAWRN.js +0 -11
- package/dist/chunks/chunk.3SQA2NPF.js +0 -11
- package/dist/chunks/chunk.45F4OUGN.js +0 -96
- package/dist/chunks/chunk.46RNQAVZ.js +0 -24
- package/dist/chunks/chunk.4C5EWVQA.js +0 -147
- package/dist/chunks/chunk.4FG5MP7E.js +0 -181
- package/dist/chunks/chunk.4UTPMO5J.js +0 -11
- package/dist/chunks/chunk.5AVBROC7.js +0 -25
- package/dist/chunks/chunk.5SWE2TKS.js +0 -100
- package/dist/chunks/chunk.5VEVKL5Z.js +0 -93
- package/dist/chunks/chunk.5VGVDAC3.js +0 -80
- package/dist/chunks/chunk.63AR3LCX.js +0 -11
- package/dist/chunks/chunk.65SWTFEH.js +0 -338
- package/dist/chunks/chunk.67P7OKOD.js +0 -11
- package/dist/chunks/chunk.6B33ESGD.js +0 -21
- package/dist/chunks/chunk.6ETBKQ67.js +0 -73
- package/dist/chunks/chunk.6K3SBMWI.js +0 -21
- package/dist/chunks/chunk.6RHSUPZ4.js +0 -135
- package/dist/chunks/chunk.74UZI6MB.js +0 -11
- package/dist/chunks/chunk.7A5RDYHB.js +0 -21
- package/dist/chunks/chunk.7A6RUEOP.js +0 -63
- package/dist/chunks/chunk.7DRTYVWG.js +0 -27
- package/dist/chunks/chunk.7JOVR2EA.js +0 -25
- package/dist/chunks/chunk.7PZSXHJK.js +0 -231
- package/dist/chunks/chunk.7UI4EO3S.js +0 -116
- package/dist/chunks/chunk.7ZIIY6WW.js +0 -24
- package/dist/chunks/chunk.7ZP7HD7M.js +0 -550
- package/dist/chunks/chunk.A5QKINZS.js +0 -111
- package/dist/chunks/chunk.A7XGUTBO.js +0 -814
- package/dist/chunks/chunk.AA6JYI52.js +0 -28
- package/dist/chunks/chunk.AGIKKQWV.js +0 -24
- package/dist/chunks/chunk.AKAMCQ35.js +0 -132
- package/dist/chunks/chunk.AX7A3TMU.js +0 -21
- package/dist/chunks/chunk.B36WUI3P.js +0 -24
- package/dist/chunks/chunk.B7BCUVF5.js +0 -91
- package/dist/chunks/chunk.BEAXM65Y.js +0 -11
- package/dist/chunks/chunk.BGAOXRYS.js +0 -24
- package/dist/chunks/chunk.BGV3JLGD.js +0 -306
- package/dist/chunks/chunk.BT3IVBNL.js +0 -11
- package/dist/chunks/chunk.BYYLDQAW.js +0 -27
- package/dist/chunks/chunk.C3IQZ3QU.js +0 -27
- package/dist/chunks/chunk.C5L4ZKSW.js +0 -21
- package/dist/chunks/chunk.C6MVGHHV.js +0 -21
- package/dist/chunks/chunk.C6ZITJ7J.js +0 -11
- package/dist/chunks/chunk.CBS5R35Z.js +0 -11
- package/dist/chunks/chunk.CIJACHTX.js +0 -192
- package/dist/chunks/chunk.CZ5CZSHJ.js +0 -21
- package/dist/chunks/chunk.D2ALMOVG.js +0 -11
- package/dist/chunks/chunk.D2B5TMBH.js +0 -24
- package/dist/chunks/chunk.D2HTCBDV.js +0 -28
- package/dist/chunks/chunk.D4DHWAPW.js +0 -21
- package/dist/chunks/chunk.DACAH5V4.js +0 -67
- package/dist/chunks/chunk.DAGWKTJ3.js +0 -21
- package/dist/chunks/chunk.DDQ2YNYS.js +0 -11
- package/dist/chunks/chunk.DFHK6AXP.js +0 -11
- package/dist/chunks/chunk.DFM5TOGZ.js +0 -24
- package/dist/chunks/chunk.DNWIIWHB.js +0 -29
- package/dist/chunks/chunk.DSTAA2LN.js +0 -21
- package/dist/chunks/chunk.DWZZOQAO.js +0 -22
- package/dist/chunks/chunk.E7FUKHCA.js +0 -280
- package/dist/chunks/chunk.EE7OR5ZV.js +0 -28
- package/dist/chunks/chunk.EFANNIAX.js +0 -501
- package/dist/chunks/chunk.ENBWH4YM.js +0 -328
- package/dist/chunks/chunk.ESXW3HGE.js +0 -119
- package/dist/chunks/chunk.ETP3Z47A.js +0 -21
- package/dist/chunks/chunk.EW3SB3JX.js +0 -315
- package/dist/chunks/chunk.EYP7N2GI.js +0 -21
- package/dist/chunks/chunk.F2DTBEM6.js +0 -25
- package/dist/chunks/chunk.F37QAM3X.js +0 -34
- package/dist/chunks/chunk.F4FIAUYQ.js +0 -11
- package/dist/chunks/chunk.F526NNJ7.js +0 -100
- package/dist/chunks/chunk.F55EWCUL.js +0 -52
- package/dist/chunks/chunk.FAIR7ZLB.js +0 -11
- package/dist/chunks/chunk.FCK4DHC6.js +0 -50
- package/dist/chunks/chunk.FDXKOEYC.js +0 -444
- package/dist/chunks/chunk.FGGHZJHD.js +0 -11
- package/dist/chunks/chunk.FH6HU3TJ.js +0 -29
- package/dist/chunks/chunk.FHZLYJ7H.js +0 -11
- package/dist/chunks/chunk.FIVKTUOJ.js +0 -738
- package/dist/chunks/chunk.FWTYDXC5.js +0 -11
- package/dist/chunks/chunk.FXPO4GRV.js +0 -11
- package/dist/chunks/chunk.GCJ6K5EI.js +0 -21
- package/dist/chunks/chunk.GEKMBNLB.js +0 -227
- package/dist/chunks/chunk.GYMZFBKQ.js +0 -21
- package/dist/chunks/chunk.HNLTILQL.js +0 -24
- package/dist/chunks/chunk.HPOC4CDW.js +0 -274
- package/dist/chunks/chunk.HRISZKCY.js +0 -11
- package/dist/chunks/chunk.HS4WDML7.js +0 -25
- package/dist/chunks/chunk.HSDGB6VT.js +0 -29
- package/dist/chunks/chunk.HUWQZTJS.js +0 -11
- package/dist/chunks/chunk.I65ZJJUJ.js +0 -11
- package/dist/chunks/chunk.IDUXZIWD.js +0 -11
- package/dist/chunks/chunk.IPQGRX5Y.js +0 -286
- package/dist/chunks/chunk.ISXBJOWZ.js +0 -949
- package/dist/chunks/chunk.IVBA4STO.js +0 -26
- package/dist/chunks/chunk.J5Z3MMJA.js +0 -11
- package/dist/chunks/chunk.JGVFJLYW.js +0 -11
- package/dist/chunks/chunk.JKMZKEKQ.js +0 -27
- package/dist/chunks/chunk.JL2TZDEG.js +0 -11
- package/dist/chunks/chunk.JLB2MD35.js +0 -21
- package/dist/chunks/chunk.JOXCBGLB.js +0 -11
- package/dist/chunks/chunk.JRAVB43A.js +0 -27
- package/dist/chunks/chunk.JVEC6U7Q.js +0 -21
- package/dist/chunks/chunk.K7LDLQY6.js +0 -11
- package/dist/chunks/chunk.KOJOKR3G.js +0 -26
- package/dist/chunks/chunk.L2OOPUMP.js +0 -117
- package/dist/chunks/chunk.LJ7XEI5K.js +0 -24
- package/dist/chunks/chunk.LKQY7XWY.js +0 -293
- package/dist/chunks/chunk.LV3SFAIR.js +0 -134
- package/dist/chunks/chunk.LWWASERC.js +0 -247
- package/dist/chunks/chunk.LX4OQWJE.js +0 -85
- package/dist/chunks/chunk.M3O3G7U7.js +0 -46
- package/dist/chunks/chunk.M6YXAFOU.js +0 -21
- package/dist/chunks/chunk.M7SY65QP.js +0 -214
- package/dist/chunks/chunk.MN6YR3FC.js +0 -174
- package/dist/chunks/chunk.MP5S62BQ.js +0 -24
- package/dist/chunks/chunk.MQTZGVQC.js +0 -11
- package/dist/chunks/chunk.MVX4T6YW.js +0 -11
- package/dist/chunks/chunk.MWEQR4PV.js +0 -311
- package/dist/chunks/chunk.MWZE6QFU.js +0 -29
- package/dist/chunks/chunk.MZ3VGQTC.js +0 -11
- package/dist/chunks/chunk.N6YBAJST.js +0 -337
- package/dist/chunks/chunk.NIET4WDR.js +0 -21
- package/dist/chunks/chunk.NJO2X5AJ.js +0 -11
- package/dist/chunks/chunk.NKRWRM75.js +0 -11
- package/dist/chunks/chunk.NLNGXVHU.js +0 -11
- package/dist/chunks/chunk.NQIFXCK4.js +0 -11
- package/dist/chunks/chunk.NWCCTEYD.js +0 -21
- package/dist/chunks/chunk.NXBCJFOG.js +0 -119
- package/dist/chunks/chunk.O6TH37K3.js +0 -11
- package/dist/chunks/chunk.O7Z5E3EE.js +0 -21
- package/dist/chunks/chunk.OGBFUVUQ.js +0 -11
- package/dist/chunks/chunk.OHMIEXBK.js +0 -59
- package/dist/chunks/chunk.OJSCWHEP.js +0 -11
- package/dist/chunks/chunk.OQMSL7DX.js +0 -33
- package/dist/chunks/chunk.ORWUGWZH.js +0 -11
- package/dist/chunks/chunk.PBPPZ2MK.js +0 -252
- package/dist/chunks/chunk.PJSMHPAF.js +0 -11
- package/dist/chunks/chunk.PKTQG65O.js +0 -25
- package/dist/chunks/chunk.PNTCG2IC.js +0 -11
- package/dist/chunks/chunk.PPZFBRTA.js +0 -11
- package/dist/chunks/chunk.PRGGJCNJ.js +0 -11
- package/dist/chunks/chunk.PVO3A4II.js +0 -11
- package/dist/chunks/chunk.PZTB35EW.js +0 -75
- package/dist/chunks/chunk.QCWUDPZF.js +0 -26
- package/dist/chunks/chunk.QPIANCBU.js +0 -126
- package/dist/chunks/chunk.QQS47AAN.js +0 -25
- package/dist/chunks/chunk.QUEVSO7U.js +0 -28
- package/dist/chunks/chunk.RETGKMAB.js +0 -11
- package/dist/chunks/chunk.RL3SUI4A.js +0 -11
- package/dist/chunks/chunk.RU2OFHHK.js +0 -448
- package/dist/chunks/chunk.RVED3QP3.js +0 -125
- package/dist/chunks/chunk.RZIN3JXU.js +0 -11
- package/dist/chunks/chunk.S632BJPH.js +0 -263
- package/dist/chunks/chunk.SF6FGUCP.js +0 -11
- package/dist/chunks/chunk.SFMM7FSW.js +0 -11
- package/dist/chunks/chunk.SHMJHIA3.js +0 -11
- package/dist/chunks/chunk.SHNX4K27.js +0 -11
- package/dist/chunks/chunk.SKCRDFMA.js +0 -24
- package/dist/chunks/chunk.SVREM4GW.js +0 -494
- package/dist/chunks/chunk.SYIFIRPM.js +0 -24
- package/dist/chunks/chunk.SZVFOJPZ.js +0 -11
- package/dist/chunks/chunk.T272OB6C.js +0 -24
- package/dist/chunks/chunk.T2JSCPSE.js +0 -21
- package/dist/chunks/chunk.TB3SF74U.js +0 -568
- package/dist/chunks/chunk.THEKMTXT.js +0 -11
- package/dist/chunks/chunk.TJA2C3UG.js +0 -45
- package/dist/chunks/chunk.TQPRO7MK.js +0 -27
- package/dist/chunks/chunk.TT3XJXDP.js +0 -11
- package/dist/chunks/chunk.TTGNTQ4Q.js +0 -361
- package/dist/chunks/chunk.TY7ZAVOX.js +0 -1056
- package/dist/chunks/chunk.U4A23QZQ.js +0 -213
- package/dist/chunks/chunk.U5B2XCTR.js +0 -45
- package/dist/chunks/chunk.UI7O6SO3.js +0 -25
- package/dist/chunks/chunk.UJ6PDFWZ.js +0 -28
- package/dist/chunks/chunk.UNBYHWGI.js +0 -167
- package/dist/chunks/chunk.UOQLVORX.js +0 -397
- package/dist/chunks/chunk.UVJY6KLK.js +0 -21
- package/dist/chunks/chunk.V2ZTEHDU.js +0 -11
- package/dist/chunks/chunk.V5IKJSIP.js +0 -11
- package/dist/chunks/chunk.V7W3I3NS.js +0 -294
- package/dist/chunks/chunk.VKCGMSAZ.js +0 -90
- package/dist/chunks/chunk.VRNGQRX4.js +0 -384
- package/dist/chunks/chunk.VVPVWY4N.js +0 -75
- package/dist/chunks/chunk.W6JUTZTP.js +0 -11
- package/dist/chunks/chunk.WK2QKP3A.js +0 -42
- package/dist/chunks/chunk.WLLMG6V4.js +0 -25
- package/dist/chunks/chunk.WNKSKO35.js +0 -25
- package/dist/chunks/chunk.WO6LGHBG.js +0 -11
- package/dist/chunks/chunk.X56YRKLT.js +0 -21
- package/dist/chunks/chunk.XA6LZ3CP.js +0 -21
- package/dist/chunks/chunk.XEFYOQ4T.js +0 -277
- package/dist/chunks/chunk.XFLYLBM7.js +0 -11
- package/dist/chunks/chunk.XGGTHF7X.js +0 -11
- package/dist/chunks/chunk.XND5Q7FK.js +0 -25
- package/dist/chunks/chunk.Y27GLNCV.js +0 -21
- package/dist/chunks/chunk.YD7RQMAR.js +0 -11
- package/dist/chunks/chunk.YUTQSXJK.js +0 -151
- package/dist/chunks/chunk.Z2OWT5NW.js +0 -109
- package/dist/chunks/chunk.Z3PZY7SX.js +0 -11
- package/dist/chunks/chunk.Z4IE5BCD.js +0 -11
|
@@ -0,0 +1,949 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SlVisuallyHidden
|
|
3
|
+
} from "./chunk.BOMIF4DO.js";
|
|
4
|
+
import {
|
|
5
|
+
drag
|
|
6
|
+
} from "./chunk.ESELY2US.js";
|
|
7
|
+
import {
|
|
8
|
+
SlDropdown
|
|
9
|
+
} from "./chunk.XCURO3GD.js";
|
|
10
|
+
import {
|
|
11
|
+
SlInput
|
|
12
|
+
} from "./chunk.E5K77LS5.js";
|
|
13
|
+
import {
|
|
14
|
+
color_picker_styles_default
|
|
15
|
+
} from "./chunk.O6CEROC7.js";
|
|
16
|
+
import {
|
|
17
|
+
clamp
|
|
18
|
+
} from "./chunk.HF7GESMZ.js";
|
|
19
|
+
import {
|
|
20
|
+
defaultValue
|
|
21
|
+
} from "./chunk.GI7VDIWX.js";
|
|
22
|
+
import {
|
|
23
|
+
SlButtonGroup
|
|
24
|
+
} from "./chunk.SDGUJGOS.js";
|
|
25
|
+
import {
|
|
26
|
+
SlButton
|
|
27
|
+
} from "./chunk.Q67BAW27.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.YRISW5OQ.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.HCURS3UG.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
|
+
};
|