@kdcloudjs/shoelace 1.0.13 → 1.0.14
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/assets/icons/Union.svg +2 -2
- package/cdn/assets/icons/arrow-left.svg +3 -3
- package/cdn/assets/icons/arrow-right.svg +3 -3
- package/cdn/assets/icons/calendar.svg +3 -3
- package/cdn/assets/icons/checkbox-unselected.svg +4 -0
- package/cdn/assets/icons/chevron-bar-left.svg +3 -3
- package/cdn/assets/icons/chevron-bar-right.svg +3 -3
- package/cdn/assets/icons/chevron-double-left.svg +3 -4
- package/cdn/assets/icons/chevron-double-right.svg +3 -4
- package/cdn/assets/icons/chevron-left.svg +1 -1
- package/cdn/assets/icons/chevron-right.svg +1 -1
- package/cdn/assets/icons/chevron-up.svg +1 -1
- package/cdn/assets/icons/clock.svg +3 -4
- package/cdn/assets/icons/dash-lg.svg +3 -3
- package/cdn/assets/icons/filter.svg +1 -1
- package/cdn/assets/icons/gear.svg +1 -1
- package/cdn/assets/icons/globe-americas.svg +3 -3
- package/cdn/assets/icons/icons.json +2 -66
- package/cdn/assets/icons/pencil.svg +1 -1
- package/cdn/assets/icons/people.svg +0 -7
- package/cdn/assets/icons/plus-lg.svg +3 -3
- package/cdn/assets/icons/sort.svg +2 -2
- package/cdn/assets/icons/star.svg +1 -1
- package/cdn/assets/icons/textarea-resize.svg +3 -3
- package/cdn/assets/icons/zoom-in.svg +1 -1
- package/cdn/chunks/chunk.24OAWZJJ.js +97 -0
- package/cdn/chunks/chunk.2EQDOFTG.js +11 -0
- package/cdn/chunks/chunk.2ICTCHOM.js +512 -0
- package/cdn/chunks/chunk.2ZUDNPDK.js +11 -0
- package/cdn/chunks/chunk.3LVER6NX.js +25 -0
- package/cdn/chunks/chunk.3OM6N76A.js +367 -0
- package/cdn/chunks/chunk.3RALA6YL.js +25 -0
- package/cdn/chunks/chunk.3WOFYIWJ.js +574 -0
- package/cdn/chunks/chunk.3XS2UFVP.js +21 -0
- package/cdn/chunks/chunk.3YAXRS7N.js +24 -0
- package/cdn/chunks/chunk.42YHFVAQ.js +137 -0
- package/cdn/chunks/chunk.43SCCVRL.js +183 -0
- package/cdn/chunks/chunk.44A4JHFO.js +186 -0
- package/cdn/chunks/chunk.44X52LOO.js +11 -0
- package/cdn/chunks/chunk.47OO4V3N.js +11 -0
- package/cdn/chunks/chunk.4OV4WLWL.js +346 -0
- package/cdn/chunks/chunk.4V4M67UI.js +25 -0
- package/cdn/chunks/chunk.4YR6IXJN.js +137 -0
- package/cdn/chunks/chunk.52LNIKB2.js +11 -0
- package/cdn/chunks/chunk.5DOLQG6E.js +113 -0
- package/cdn/chunks/chunk.5TA4AZRB.js +29 -0
- package/cdn/chunks/chunk.5UEOEQS5.js +21 -0
- package/cdn/chunks/chunk.5X3VTPBU.js +27 -0
- package/cdn/chunks/chunk.5Z2AJMD7.js +28 -0
- package/cdn/chunks/chunk.6ESRG2LS.js +724 -0
- package/cdn/chunks/chunk.6G7VDRXB.js +11 -0
- package/cdn/chunks/chunk.6JNJSTPC.js +11 -0
- package/cdn/chunks/chunk.6LMK3MFO.js +93 -0
- package/cdn/chunks/chunk.6QIHFANK.js +391 -0
- package/cdn/chunks/chunk.6V62QE27.js +11 -0
- package/cdn/chunks/chunk.6ZT3WONO.js +21 -0
- package/cdn/chunks/chunk.72U4XQWK.js +291 -0
- package/cdn/chunks/chunk.7IDKWYZE.js +11 -0
- package/cdn/chunks/chunk.7NPSWDIT.js +402 -0
- package/cdn/chunks/chunk.7PQJLHQ5.js +11 -0
- package/cdn/chunks/chunk.7RTASQVR.js +2662 -0
- package/cdn/chunks/chunk.7SEK5SSL.js +49 -0
- package/cdn/chunks/chunk.7UXCZBDU.js +11 -0
- package/cdn/chunks/chunk.7VDK2XH4.js +26 -0
- package/cdn/chunks/chunk.7VXLEEHU.js +11 -0
- package/cdn/chunks/chunk.AEZ4OIDO.js +11 -0
- package/cdn/chunks/chunk.AGJRSHV2.js +11 -0
- package/cdn/chunks/chunk.AGPFZ6KE.js +299 -0
- package/cdn/chunks/chunk.AKLGNWDO.js +24 -0
- package/cdn/chunks/chunk.ASJNXCLE.js +11 -0
- package/cdn/chunks/chunk.ATVUQUPY.js +822 -0
- package/cdn/chunks/chunk.AVJIF5I7.js +11 -0
- package/cdn/chunks/chunk.AVQVU6JV.js +25 -0
- package/cdn/chunks/chunk.AWTWIINC.js +11 -0
- package/cdn/chunks/chunk.AY7WNNXC.js +153 -0
- package/cdn/chunks/chunk.AZN5COM6.js +127 -0
- package/cdn/chunks/chunk.B3EZWXT5.js +24 -0
- package/cdn/chunks/chunk.B7D5FYDX.js +11 -0
- package/cdn/chunks/chunk.BDRETZIY.js +11 -0
- package/cdn/chunks/chunk.BYXY5LWP.js +11 -0
- package/cdn/chunks/chunk.C4JBOGVF.js +24 -0
- package/cdn/chunks/chunk.C6VCGDGD.js +11 -0
- package/cdn/chunks/chunk.CG6KIGUR.js +24 -0
- package/cdn/chunks/chunk.CONODWD3.js +27 -0
- package/cdn/chunks/chunk.CRYSOAZS.js +1990 -0
- package/cdn/chunks/chunk.CT3J3S3L.js +21 -0
- package/cdn/chunks/chunk.CTMOPAHG.js +313 -0
- package/cdn/chunks/chunk.D5FD4XBD.js +11 -0
- package/cdn/chunks/chunk.D64PEZD3.js +103 -0
- package/cdn/chunks/chunk.D6IBTHPE.js +236 -0
- package/cdn/chunks/chunk.D6JNR6BW.js +28 -0
- package/cdn/chunks/chunk.DTVVB3CC.js +95 -0
- package/cdn/chunks/chunk.DXPUKG4A.js +11 -0
- package/cdn/chunks/chunk.DXX3TZTW.js +257 -0
- package/cdn/chunks/chunk.DY2FC3AO.js +24 -0
- package/cdn/chunks/chunk.DZQBUU5F.js +28 -0
- package/cdn/chunks/chunk.E2XGP2RZ.js +26 -0
- package/cdn/chunks/chunk.EA2DMJAE.js +266 -0
- package/cdn/chunks/chunk.EASIYCPT.js +21 -0
- package/cdn/chunks/chunk.EFXTATV2.js +25 -0
- package/cdn/chunks/chunk.EISHX6BM.js +21 -0
- package/cdn/chunks/chunk.EJW4MOZT.js +271 -0
- package/cdn/chunks/chunk.EUTYMH6S.js +122 -0
- package/cdn/chunks/chunk.EWYCJWKQ.js +11 -0
- package/cdn/chunks/chunk.EYI4HMC2.js +11 -0
- package/cdn/chunks/chunk.EZTAT4YW.js +27 -0
- package/cdn/chunks/chunk.F6JJWC3H.js +11 -0
- package/cdn/chunks/chunk.FAXHZXLQ.js +27 -0
- package/cdn/chunks/chunk.FBETJSC5.js +25 -0
- package/cdn/chunks/chunk.FJCFJXSM.js +11 -0
- package/cdn/chunks/chunk.FWOGJLYK.js +197 -0
- package/cdn/chunks/chunk.FWSJOZ44.js +42 -0
- package/cdn/chunks/chunk.FYAJLOW2.js +11 -0
- package/cdn/chunks/chunk.G2KJN52F.js +21 -0
- package/cdn/chunks/chunk.GBIIEJX5.js +11 -0
- package/cdn/chunks/chunk.GILFUWF3.js +142 -0
- package/cdn/chunks/chunk.GOSNI5KZ.js +11 -0
- package/cdn/chunks/chunk.GS5QLGD3.js +21 -0
- package/cdn/chunks/chunk.GTRXIAF5.js +11 -0
- package/cdn/chunks/chunk.GYWXKENT.js +11 -0
- package/cdn/chunks/chunk.GZKG2AJG.js +1925 -0
- package/cdn/chunks/chunk.H2YMSRQE.js +314 -0
- package/cdn/chunks/chunk.H3DXH2NL.js +28 -0
- package/cdn/chunks/chunk.H5NKIPRH.js +21 -0
- package/cdn/chunks/chunk.HANY6LRO.js +7245 -0
- package/cdn/chunks/chunk.HAZ5XNV2.js +292 -0
- package/cdn/chunks/chunk.HIVQ7UGY.js +21 -0
- package/cdn/chunks/chunk.HLNTXMSH.js +379 -0
- package/cdn/chunks/chunk.HPDQDWVQ.js +342 -0
- package/cdn/chunks/chunk.HQRK6P6W.js +216 -0
- package/cdn/chunks/chunk.IHU7XX4C.js +24 -0
- package/cdn/chunks/chunk.IHWAJ5GF.js +11 -0
- package/cdn/chunks/chunk.INP6TZGF.js +75 -0
- package/cdn/chunks/chunk.J5IQJC3T.js +586 -0
- package/cdn/chunks/chunk.J6XKTDV7.js +25 -0
- package/cdn/chunks/chunk.JNFV2WUW.js +11 -0
- package/cdn/chunks/chunk.JO5IIPFP.js +120 -0
- package/cdn/chunks/chunk.K3CLY2JN.js +21 -0
- package/cdn/chunks/chunk.K6JFOTFS.js +11 -0
- package/cdn/chunks/chunk.K6QF2OAU.js +118 -0
- package/cdn/chunks/chunk.KAUJNG2H.js +21 -0
- package/cdn/chunks/chunk.KGQ5X2OX.js +54 -0
- package/cdn/chunks/chunk.KYW25GJH.js +25 -0
- package/cdn/chunks/chunk.L5HBN42M.js +24 -0
- package/cdn/chunks/chunk.L6FGCETQ.js +73 -0
- package/cdn/chunks/chunk.L7JXX2ER.js +31 -0
- package/cdn/chunks/chunk.LHYGHJD6.js +11 -0
- package/cdn/chunks/chunk.LO5RFIRJ.js +27 -0
- package/cdn/chunks/chunk.LT6N6FYC.js +79 -0
- package/cdn/chunks/chunk.LXIMSFBO.js +11 -0
- package/cdn/chunks/chunk.LYMFQFJ3.js +33 -0
- package/cdn/chunks/chunk.LZGCSCPR.js +158 -0
- package/cdn/chunks/chunk.M23FRGBT.js +28 -0
- package/cdn/chunks/chunk.M2HQ64T7.js +135 -0
- package/cdn/chunks/chunk.M4PJ3TAK.js +336 -0
- package/cdn/chunks/chunk.M54HMWNF.js +67 -0
- package/cdn/chunks/chunk.M5QNSFXS.js +21 -0
- package/cdn/chunks/chunk.MKEPTSFH.js +11 -0
- package/cdn/chunks/chunk.MKXQLHGZ.js +11 -0
- package/cdn/chunks/chunk.MMXYVEQO.js +82 -0
- package/cdn/chunks/chunk.MXUXRTDQ.js +11 -0
- package/cdn/chunks/chunk.MYECST4H.js +21 -0
- package/cdn/chunks/chunk.MYLW6VEO.js +233 -0
- package/cdn/chunks/chunk.NTNT4PPV.js +11 -0
- package/cdn/chunks/chunk.NUH4ZPIH.js +11 -0
- package/cdn/chunks/chunk.NUHQ2NKA.js +21 -0
- package/cdn/chunks/chunk.NURMQVNA.js +26 -0
- package/cdn/chunks/chunk.O2SIM6TD.js +11 -0
- package/cdn/chunks/chunk.OLEKKUPW.js +21 -0
- package/cdn/chunks/chunk.OMALDWI2.js +11 -0
- package/cdn/chunks/chunk.OP6QWE3I.js +11 -0
- package/cdn/chunks/chunk.OR7GXHXK.js +282 -0
- package/cdn/chunks/chunk.OVGOR3NN.js +11 -0
- package/cdn/chunks/chunk.P6CSAZGB.js +21 -0
- package/cdn/chunks/chunk.PCTVGQXV.js +11 -0
- package/cdn/chunks/chunk.PFGTJJJV.js +27 -0
- package/cdn/chunks/chunk.PFHF44NH.js +11 -0
- package/cdn/chunks/chunk.PIZMNC4N.js +11 -0
- package/cdn/chunks/chunk.PRTP7LS2.js +11 -0
- package/cdn/chunks/chunk.Q5L5BQ3L.js +77 -0
- package/cdn/chunks/chunk.Q5LADPVB.js +21 -0
- package/cdn/chunks/chunk.QEK42CTU.js +11 -0
- package/cdn/chunks/chunk.QFYUJFWJ.js +11 -0
- package/cdn/chunks/chunk.QIPXCAP6.js +302 -0
- package/cdn/chunks/chunk.QNIB76IF.js +11 -0
- package/cdn/chunks/chunk.QPSKUIPB.js +24 -0
- package/cdn/chunks/chunk.QUKRKOPO.js +11 -0
- package/cdn/chunks/chunk.QVSYHICO.js +455 -0
- package/cdn/chunks/chunk.R42QOX2S.js +11 -0
- package/cdn/chunks/chunk.RJLB4OI4.js +11 -0
- package/cdn/chunks/chunk.RWEABXRX.js +11 -0
- package/cdn/chunks/chunk.SWRRS75K.js +21 -0
- package/cdn/chunks/chunk.SXJGO7KR.js +11 -0
- package/cdn/chunks/chunk.SZARKNV2.js +11 -0
- package/cdn/chunks/chunk.TARBWKCH.js +11 -0
- package/cdn/chunks/chunk.U4MTNWBR.js +219 -0
- package/cdn/chunks/chunk.UGFLFJ5Z.js +27 -0
- package/cdn/chunks/chunk.UNXK5F2T.js +21 -0
- package/cdn/chunks/chunk.USEGHG3W.js +29 -0
- package/cdn/chunks/chunk.USLVMKOR.js +48 -0
- package/cdn/chunks/chunk.UZ6U5FQN.js +28 -0
- package/cdn/chunks/chunk.V5VLIPIC.js +21 -0
- package/cdn/chunks/chunk.V5W2UKWV.js +21 -0
- package/cdn/chunks/chunk.VBLDG4YC.js +334 -0
- package/cdn/chunks/chunk.VGZPKCZR.js +21 -0
- package/cdn/chunks/chunk.VW5VGMIE.js +123 -0
- package/cdn/chunks/chunk.W4NW45IW.js +63 -0
- package/cdn/chunks/chunk.WBK3JPHX.js +131 -0
- package/cdn/chunks/chunk.WJ7RP5V7.js +255 -0
- package/cdn/chunks/chunk.WKKZUUVT.js +24 -0
- package/cdn/chunks/chunk.WLSNCJQJ.js +1058 -0
- package/cdn/chunks/chunk.WMWTJ4QK.js +21 -0
- package/cdn/chunks/chunk.WOG6PF5U.js +279 -0
- package/cdn/chunks/chunk.XGX6RSJ2.js +24 -0
- package/cdn/chunks/chunk.XLZ3VMRG.js +11 -0
- package/cdn/chunks/chunk.XMZBWV5X.js +502 -0
- package/cdn/chunks/chunk.XO6IPWCJ.js +21 -0
- package/cdn/chunks/chunk.XQ5WS5AF.js +11 -0
- package/cdn/chunks/chunk.XQQMIDMU.js +114 -0
- package/cdn/chunks/chunk.XSCJSZEP.js +78 -0
- package/cdn/chunks/chunk.XUWGMOZV.js +24 -0
- package/cdn/chunks/chunk.XWGGC75Q.js +24 -0
- package/cdn/chunks/chunk.XZZQH7JF.js +49 -0
- package/cdn/chunks/chunk.YBW5IMXH.js +50 -0
- package/cdn/chunks/chunk.YCLRZEWU.js +11 -0
- package/cdn/chunks/chunk.YJOABSIJ.js +24 -0
- package/cdn/chunks/chunk.YK2PJIOW.js +29 -0
- package/cdn/chunks/chunk.YKV5SWKI.js +24 -0
- package/cdn/chunks/chunk.Z2GQDISB.js +25 -0
- package/cdn/chunks/chunk.Z6BFVAV3.js +5845 -0
- package/cdn/chunks/chunk.Z7IUHPIK.js +36 -0
- package/cdn/chunks/chunk.ZBQ6Q62K.js +87 -0
- package/cdn/chunks/chunk.ZJGFICZX.js +11 -0
- package/cdn/chunks/chunk.ZUTU3US7.js +29 -0
- package/cdn/chunks/chunk.ZXUF3HDH.js +25 -0
- package/cdn/components/alert/alert.component.js +6 -6
- package/cdn/components/alert/alert.js +7 -7
- 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 +6 -6
- package/cdn/components/button/button.js +7 -7
- 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 +8 -8
- package/cdn/components/calendar/calendar.js +8 -8
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +3 -3
- package/cdn/components/carousel/carousel.js +4 -4
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +4 -4
- package/cdn/components/checkbox/checkbox.js +5 -5
- package/cdn/components/color-picker/color-picker.component.js +14 -14
- package/cdn/components/color-picker/color-picker.js +15 -15
- package/cdn/components/copy-button/copy-button.component.js +5 -5
- package/cdn/components/copy-button/copy-button.js +6 -6
- package/cdn/components/date-panel/date-panel.component.js +11 -11
- package/cdn/components/date-panel/date-panel.js +11 -11
- package/cdn/components/datepicker/datepicker.component.js +15 -15
- package/cdn/components/datepicker/datepicker.js +15 -15
- package/cdn/components/details/details.component.js +3 -3
- package/cdn/components/details/details.js +4 -4
- package/cdn/components/dialog/dialog.component.js +6 -6
- package/cdn/components/dialog/dialog.js +7 -7
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +6 -6
- package/cdn/components/drawer/drawer.js +7 -7
- package/cdn/components/dropdown/dropdown.component.js +4 -4
- package/cdn/components/dropdown/dropdown.js +5 -5
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/image-comparer/image-comparer.component.js +3 -3
- package/cdn/components/image-comparer/image-comparer.js +4 -4
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +5 -5
- package/cdn/components/input/input.js +6 -6
- 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 +10 -10
- package/cdn/components/pagination/pagination.component.js +12 -12
- package/cdn/components/pagination/pagination.js +12 -12
- package/cdn/components/pagination/pagination.styles.js +1 -1
- 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 +3 -3
- package/cdn/components/progress-bar/progress-bar.js +4 -4
- 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 +4 -4
- package/cdn/components/radio-group/radio-group.js +5 -5
- package/cdn/components/range/range.component.js +4 -4
- package/cdn/components/range/range.js +5 -5
- 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 +8 -8
- package/cdn/components/select/select.js +9 -9
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +3 -3
- package/cdn/components/split-panel/split-panel.js +4 -4
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +5 -5
- package/cdn/components/tab/tab.js +6 -6
- package/cdn/components/tab-group/tab-group.component.js +6 -6
- package/cdn/components/tab-group/tab-group.js +7 -7
- 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/features/row-expend.js +1 -1
- package/cdn/components/table/head-table.js +22 -22
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +31 -31
- package/cdn/components/table/table.js +32 -32
- package/cdn/components/tag/tag.component.js +5 -5
- package/cdn/components/tag/tag.js +6 -6
- 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 +7 -7
- package/cdn/components/time-panel/time-panel.js +7 -7
- package/cdn/components/timepicker/timepicker.component.js +15 -15
- package/cdn/components/timepicker/timepicker.js +15 -15
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/tree/tree.component.js +9 -9
- package/cdn/components/tree/tree.js +10 -10
- package/cdn/components/tree-item/tree-item.component.js +8 -8
- package/cdn/components/tree-item/tree-item.js +9 -9
- 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 +685 -685
- package/cdn/react/alert/index.js +7 -7
- 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 +7 -7
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +4 -4
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +5 -5
- package/cdn/react/color-picker/index.js +15 -15
- package/cdn/react/copy-button/index.js +6 -6
- package/cdn/react/date-panel/index.js +12 -12
- package/cdn/react/datepicker/index.js +16 -16
- package/cdn/react/details/index.js +4 -4
- package/cdn/react/dialog/index.js +7 -7
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +7 -7
- package/cdn/react/dropdown/index.js +5 -5
- package/cdn/react/format-bytes/index.js +3 -3
- package/cdn/react/format-date/index.js +3 -3
- package/cdn/react/format-number/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/icon-button/index.js +4 -4
- package/cdn/react/image-comparer/index.js +4 -4
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.js +201 -201
- package/cdn/react/input/index.js +6 -6
- 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 +13 -13
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +4 -4
- 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 +5 -5
- package/cdn/react/range/index.js +5 -5
- 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 +9 -9
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +4 -4
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +6 -6
- package/cdn/react/tab-group/index.js +7 -7
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +32 -32
- package/cdn/react/tag/index.js +6 -6
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/timepicker/index.js +16 -16
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/tree/index.js +10 -10
- package/cdn/react/tree-item/index.js +9 -9
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/shoelace.js +158 -158
- package/cdn/types/vue/index.d.ts +145 -145
- package/cdn/vscode.html-custom-data.json +95 -95
- package/cdn/web-types.json +301 -301
- package/dist/assets/icons/Union.svg +2 -2
- package/dist/assets/icons/arrow-left.svg +3 -3
- package/dist/assets/icons/arrow-right.svg +3 -3
- package/dist/assets/icons/calendar.svg +3 -3
- package/dist/assets/icons/checkbox-unselected.svg +4 -0
- package/dist/assets/icons/chevron-bar-left.svg +3 -3
- package/dist/assets/icons/chevron-bar-right.svg +3 -3
- package/dist/assets/icons/chevron-double-left.svg +3 -4
- package/dist/assets/icons/chevron-double-right.svg +3 -4
- package/dist/assets/icons/chevron-left.svg +1 -1
- package/dist/assets/icons/chevron-right.svg +1 -1
- package/dist/assets/icons/chevron-up.svg +1 -1
- package/dist/assets/icons/clock.svg +3 -4
- package/dist/assets/icons/dash-lg.svg +3 -3
- package/dist/assets/icons/filter.svg +1 -1
- package/dist/assets/icons/gear.svg +1 -1
- package/dist/assets/icons/globe-americas.svg +3 -3
- package/dist/assets/icons/icons.json +2 -66
- package/dist/assets/icons/pencil.svg +1 -1
- package/dist/assets/icons/people.svg +0 -7
- package/dist/assets/icons/plus-lg.svg +3 -3
- package/dist/assets/icons/sort.svg +2 -2
- package/dist/assets/icons/star.svg +1 -1
- package/dist/assets/icons/textarea-resize.svg +3 -3
- package/dist/assets/icons/zoom-in.svg +1 -1
- package/dist/chunks/chunk.22A6U2DI.js +21 -0
- package/dist/chunks/chunk.2CFRBOE2.js +213 -0
- package/dist/chunks/chunk.2DWQVEIZ.js +24 -0
- package/dist/chunks/chunk.2FSVIWBT.js +11 -0
- package/dist/chunks/chunk.2MJ37SAI.js +52 -0
- package/dist/chunks/chunk.2QDWTIV5.js +21 -0
- package/dist/chunks/chunk.2SCRUQKD.js +11 -0
- package/dist/chunks/chunk.2U33PC3U.js +27 -0
- package/dist/chunks/chunk.2WNR5NMQ.js +21 -0
- package/dist/chunks/chunk.2ZMECS6C.js +338 -0
- package/dist/chunks/chunk.33U6HVX6.js +11 -0
- package/dist/chunks/chunk.3653MYZD.js +90 -0
- package/dist/chunks/chunk.3FXHNSLI.js +11 -0
- package/dist/chunks/chunk.3HZENZXD.js +11 -0
- package/dist/chunks/chunk.3I2KTUUN.js +21 -0
- package/dist/chunks/chunk.3IIEFVL6.js +11 -0
- package/dist/chunks/chunk.45B6NU5V.js +22 -0
- package/dist/chunks/chunk.47T4RO5S.js +29 -0
- package/dist/chunks/chunk.4BTGVTQW.js +28 -0
- package/dist/chunks/chunk.4E3HAU72.js +21 -0
- package/dist/chunks/chunk.4IGUPQGT.js +29 -0
- package/dist/chunks/chunk.4VGOPDED.js +11 -0
- package/dist/chunks/chunk.5AG34RLO.js +21 -0
- package/dist/chunks/chunk.5CBSCEYK.js +550 -0
- package/dist/chunks/chunk.5PEZ5XRN.js +263 -0
- package/dist/chunks/chunk.5WFVV24K.js +21 -0
- package/dist/chunks/chunk.5Z4SFLPI.js +29 -0
- package/dist/chunks/chunk.6BTSXLDE.js +21 -0
- package/dist/chunks/chunk.6JBMP6MT.js +11 -0
- package/dist/chunks/chunk.6UJUYNEO.js +25 -0
- package/dist/chunks/chunk.6USH5SB5.js +11 -0
- package/dist/chunks/chunk.73UOCYNW.js +11 -0
- package/dist/chunks/chunk.74NWJ2XF.js +21 -0
- package/dist/chunks/chunk.7AMJ3QAT.js +11 -0
- package/dist/chunks/chunk.7KX77ULX.js +11 -0
- package/dist/chunks/chunk.7UXURMD3.js +22 -0
- package/dist/chunks/chunk.7YYZ4AZE.js +28 -0
- package/dist/chunks/chunk.ACRQT3Z4.js +252 -0
- package/dist/chunks/chunk.AFYNEPK3.js +96 -0
- package/dist/chunks/chunk.AR4ZPLTP.js +11 -0
- package/dist/chunks/chunk.AUDYU2DU.js +24 -0
- package/dist/chunks/chunk.AVAYUR5U.js +280 -0
- package/dist/chunks/chunk.AYIFKLD5.js +11 -0
- package/dist/chunks/chunk.B3RMBEXD.js +11 -0
- package/dist/chunks/chunk.BBICQXG6.js +24 -0
- package/dist/chunks/chunk.BELAMHYN.js +11 -0
- package/dist/chunks/chunk.BGYZLBO3.js +42 -0
- package/dist/chunks/chunk.BIAV2N3Q.js +25 -0
- package/dist/chunks/chunk.BON4GZUX.js +59 -0
- package/dist/chunks/chunk.BP5HBF3K.js +11 -0
- package/dist/chunks/chunk.BSQEBEJV.js +11 -0
- package/dist/chunks/chunk.BT64PUGY.js +151 -0
- package/dist/chunks/chunk.BV34JOKT.js +109 -0
- package/dist/chunks/chunk.BXDCZJM6.js +100 -0
- package/dist/chunks/chunk.C622UHKI.js +11 -0
- package/dist/chunks/chunk.C7Y4JEVY.js +24 -0
- package/dist/chunks/chunk.CBBTEOPH.js +21 -0
- package/dist/chunks/chunk.CLNLU6ZS.js +21 -0
- package/dist/chunks/chunk.CLQ57WVB.js +11 -0
- package/dist/chunks/chunk.CSP4CCLB.js +11 -0
- package/dist/chunks/chunk.CXNO4MOD.js +11 -0
- package/dist/chunks/chunk.D2AKVI5B.js +11 -0
- package/dist/chunks/chunk.DAH64ZUT.js +147 -0
- package/dist/chunks/chunk.DBJG7GZJ.js +11 -0
- package/dist/chunks/chunk.DBXUAF2L.js +21 -0
- package/dist/chunks/chunk.DJQ2NVYJ.js +11 -0
- package/dist/chunks/chunk.DL7RX3V2.js +11 -0
- package/dist/chunks/chunk.EJVMY3LG.js +100 -0
- package/dist/chunks/chunk.EQ3RJA6L.js +126 -0
- package/dist/chunks/chunk.EWEFXHIM.js +231 -0
- package/dist/chunks/chunk.F5NXGX4A.js +11 -0
- package/dist/chunks/chunk.FIKDS5F7.js +27 -0
- package/dist/chunks/chunk.FKPBER7N.js +25 -0
- package/dist/chunks/chunk.G36FPDVV.js +11 -0
- package/dist/chunks/chunk.G3DYFYBG.js +384 -0
- package/dist/chunks/chunk.G6U6LOBV.js +11 -0
- package/dist/chunks/chunk.GAK6D3MG.js +11 -0
- package/dist/chunks/chunk.GBWQEYDD.js +24 -0
- package/dist/chunks/chunk.GHXATAW7.js +21 -0
- package/dist/chunks/chunk.GODD6VUZ.js +25 -0
- package/dist/chunks/chunk.GSRJ3JDV.js +75 -0
- package/dist/chunks/chunk.GXIILGR2.js +28 -0
- package/dist/chunks/chunk.H62BJSTW.js +397 -0
- package/dist/chunks/chunk.HMVLBGVR.js +26 -0
- package/dist/chunks/chunk.HOV3YQML.js +11 -0
- package/dist/chunks/chunk.HSBRH4IR.js +25 -0
- package/dist/chunks/chunk.HUX2ZOMQ.js +45 -0
- package/dist/chunks/chunk.HVVO5EJ2.js +11 -0
- package/dist/chunks/chunk.HWJWR22Q.js +11 -0
- package/dist/chunks/chunk.HYXVW2DO.js +11 -0
- package/dist/chunks/chunk.I6A2I7JO.js +11 -0
- package/dist/chunks/chunk.I6JLQCLG.js +21 -0
- package/dist/chunks/chunk.IRZEP6MZ.js +21 -0
- package/dist/chunks/chunk.IUVORREB.js +29 -0
- package/dist/chunks/chunk.J7VAKL5H.js +116 -0
- package/dist/chunks/chunk.JAGHL3AJ.js +11 -0
- package/dist/chunks/chunk.JAUWP4UP.js +117 -0
- package/dist/chunks/chunk.JBKKPWK2.js +11 -0
- package/dist/chunks/chunk.JHJ4J43Z.js +26 -0
- package/dist/chunks/chunk.JL7JJE52.js +11 -0
- package/dist/chunks/chunk.JR6MU73S.js +11 -0
- package/dist/chunks/chunk.JVMOPEJO.js +293 -0
- package/dist/chunks/chunk.K43Z4NTX.js +214 -0
- package/dist/chunks/chunk.KHFTAAPY.js +11 -0
- package/dist/chunks/chunk.KQ4EXMG7.js +1056 -0
- package/dist/chunks/chunk.KSGAGV7I.js +752 -0
- package/dist/chunks/chunk.KVVR3R4U.js +111 -0
- package/dist/chunks/chunk.KY3BSQFK.js +328 -0
- package/dist/chunks/chunk.KYH3L6IW.js +167 -0
- package/dist/chunks/chunk.L5VE6CZH.js +21 -0
- package/dist/chunks/chunk.LHAPANRW.js +21 -0
- package/dist/chunks/chunk.LPXIGNFO.js +315 -0
- package/dist/chunks/chunk.LUA5BYU3.js +192 -0
- package/dist/chunks/chunk.M77FW2XO.js +126 -0
- package/dist/chunks/chunk.MJ4IKE4Y.js +11 -0
- package/dist/chunks/chunk.MZKWKOYG.js +25 -0
- package/dist/chunks/chunk.N4J42K6H.js +24 -0
- package/dist/chunks/chunk.N4UTBNPU.js +67 -0
- package/dist/chunks/chunk.N5R6FTCP.js +26 -0
- package/dist/chunks/chunk.NQ3RUFHP.js +11 -0
- package/dist/chunks/chunk.NVYHCOUV.js +11 -0
- package/dist/chunks/chunk.NYUJZRFT.js +135 -0
- package/dist/chunks/chunk.O3JZWUJP.js +21 -0
- package/dist/chunks/chunk.O7LN5KKQ.js +21 -0
- package/dist/chunks/chunk.OGAE7V6Q.js +24 -0
- package/dist/chunks/chunk.ORRB6DGL.js +119 -0
- package/dist/chunks/chunk.OUYDV5D5.js +50 -0
- package/dist/chunks/chunk.P27ZFG7N.js +11 -0
- package/dist/chunks/chunk.P6DM4TV3.js +448 -0
- package/dist/chunks/chunk.PJRRA7DT.js +24 -0
- package/dist/chunks/chunk.PNWULFQA.js +25 -0
- package/dist/chunks/chunk.PPWNMC32.js +27 -0
- package/dist/chunks/chunk.PRDZ3C63.js +27 -0
- package/dist/chunks/chunk.Q5XVRUJP.js +452 -0
- package/dist/chunks/chunk.Q7JB3ETE.js +949 -0
- package/dist/chunks/chunk.QCPVW7IL.js +46 -0
- package/dist/chunks/chunk.QHAVLCRV.js +24 -0
- package/dist/chunks/chunk.QIJTEMBD.js +568 -0
- package/dist/chunks/chunk.QRQNWKCY.js +75 -0
- package/dist/chunks/chunk.R6MBATBE.js +11 -0
- package/dist/chunks/chunk.RBKIJMEU.js +11 -0
- package/dist/chunks/chunk.RCTZNTPH.js +80 -0
- package/dist/chunks/chunk.RLVSTNCZ.js +132 -0
- package/dist/chunks/chunk.RM3KSG2I.js +25 -0
- package/dist/chunks/chunk.ROGCNVJZ.js +21 -0
- package/dist/chunks/chunk.RRXE4W6C.js +134 -0
- package/dist/chunks/chunk.RUO2Z6LX.js +180 -0
- package/dist/chunks/chunk.RWAKQSQF.js +274 -0
- package/dist/chunks/chunk.S3ERUOZU.js +11 -0
- package/dist/chunks/chunk.SALXHKLM.js +27 -0
- package/dist/chunks/chunk.SB2ZS27X.js +277 -0
- package/dist/chunks/chunk.SCTCXEYU.js +28 -0
- package/dist/chunks/chunk.SD2F52WX.js +34 -0
- package/dist/chunks/chunk.SDGHFS5J.js +11 -0
- package/dist/chunks/chunk.SJYV7EXT.js +21 -0
- package/dist/chunks/chunk.SKWMDNFY.js +11 -0
- package/dist/chunks/chunk.SR2ON6JX.js +247 -0
- package/dist/chunks/chunk.SY54W2PO.js +21 -0
- package/dist/chunks/chunk.T25AYYOZ.js +11 -0
- package/dist/chunks/chunk.TGCFBS54.js +25 -0
- package/dist/chunks/chunk.TOBBEBCE.js +119 -0
- package/dist/chunks/chunk.TOT3T5XA.js +503 -0
- package/dist/chunks/chunk.TSVNQWUW.js +75 -0
- package/dist/chunks/chunk.U2TOMHEZ.js +21 -0
- package/dist/chunks/chunk.U3P6YKMZ.js +361 -0
- package/dist/chunks/chunk.U7CCYADI.js +24 -0
- package/dist/chunks/chunk.UIIVWF44.js +11 -0
- package/dist/chunks/chunk.UJ62ITLA.js +11 -0
- package/dist/chunks/chunk.UK7RN4JE.js +24 -0
- package/dist/chunks/chunk.UMBRYMRL.js +28 -0
- package/dist/chunks/chunk.URUACMGN.js +45 -0
- package/dist/chunks/chunk.US74ARTL.js +11 -0
- package/dist/chunks/chunk.UTCRPJNA.js +814 -0
- package/dist/chunks/chunk.V6NHMJ3R.js +93 -0
- package/dist/chunks/chunk.VAHEI2BL.js +24 -0
- package/dist/chunks/chunk.VNUS4MCW.js +11 -0
- package/dist/chunks/chunk.VOXLBXHE.js +494 -0
- package/dist/chunks/chunk.VVE6XSAV.js +21 -0
- package/dist/chunks/chunk.W46WHJHB.js +21 -0
- package/dist/chunks/chunk.WCYWLRTM.js +227 -0
- package/dist/chunks/chunk.WLI4RPET.js +337 -0
- package/dist/chunks/chunk.WP3DSH4Z.js +371 -0
- package/dist/chunks/chunk.WPZQZRVX.js +306 -0
- package/dist/chunks/chunk.WRQUEJBP.js +85 -0
- package/dist/chunks/chunk.WSOYPJKK.js +91 -0
- package/dist/chunks/chunk.WUMVUEDM.js +311 -0
- package/dist/chunks/chunk.X25CNFY5.js +113 -0
- package/dist/chunks/chunk.X64NNGXU.js +73 -0
- package/dist/chunks/chunk.XDVLMTX6.js +11 -0
- package/dist/chunks/chunk.XEMNM5PM.js +11 -0
- package/dist/chunks/chunk.XJQN5XHW.js +28 -0
- package/dist/chunks/chunk.XN6S2S6T.js +11 -0
- package/dist/chunks/chunk.XOYOGION.js +25 -0
- package/dist/chunks/chunk.XRMWGB46.js +181 -0
- package/dist/chunks/chunk.XSFYCPW7.js +33 -0
- package/dist/chunks/chunk.XSOCSQXW.js +24 -0
- package/dist/chunks/chunk.XXPAJJS3.js +11 -0
- package/dist/chunks/chunk.XZJBOTRT.js +25 -0
- package/dist/chunks/chunk.Y2JBCL3V.js +11 -0
- package/dist/chunks/chunk.Y3LUYSBZ.js +29 -0
- package/dist/chunks/chunk.Y4IP2V4M.js +11 -0
- package/dist/chunks/chunk.Y5O5JHJ4.js +417 -0
- package/dist/chunks/chunk.YGMVJECY.js +11 -0
- package/dist/chunks/chunk.YJIOISVJ.js +27 -0
- package/dist/chunks/chunk.YVCCEYSL.js +11 -0
- package/dist/chunks/chunk.YZJ3UCIB.js +63 -0
- package/dist/chunks/chunk.Z2TVVUBR.js +294 -0
- package/dist/chunks/chunk.ZHF356QW.js +11 -0
- package/dist/chunks/chunk.ZNNFIPY5.js +286 -0
- package/dist/chunks/chunk.ZWHR5OQB.js +11 -0
- package/dist/components/alert/alert.component.js +5 -5
- package/dist/components/alert/alert.js +6 -6
- package/dist/components/animated-image/animated-image.component.js +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 +5 -5
- package/dist/components/button/button.js +6 -6
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.js +7 -7
- package/dist/components/calendar/calendar.js +7 -7
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +3 -3
- package/dist/components/carousel/carousel.js +4 -4
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +4 -4
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/color-picker/color-picker.component.js +13 -13
- package/dist/components/color-picker/color-picker.js +14 -14
- package/dist/components/copy-button/copy-button.component.js +5 -5
- package/dist/components/copy-button/copy-button.js +6 -6
- package/dist/components/date-panel/date-panel.component.js +10 -10
- package/dist/components/date-panel/date-panel.js +10 -10
- package/dist/components/datepicker/datepicker.component.js +14 -14
- package/dist/components/datepicker/datepicker.js +14 -14
- package/dist/components/details/details.component.js +3 -3
- package/dist/components/details/details.js +4 -4
- package/dist/components/dialog/dialog.component.js +5 -5
- package/dist/components/dialog/dialog.js +6 -6
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +5 -5
- package/dist/components/drawer/drawer.js +6 -6
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image-comparer/image-comparer.component.js +3 -3
- package/dist/components/image-comparer/image-comparer.js +4 -4
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +4 -4
- package/dist/components/input/input.js +5 -5
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +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 +11 -11
- package/dist/components/pagination/pagination.js +11 -11
- package/dist/components/pagination/pagination.styles.js +1 -1
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +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 +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/range/range.component.js +3 -3
- package/dist/components/range/range.js +4 -4
- package/dist/components/rating/rating.component.js +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 +7 -7
- package/dist/components/select/select.js +8 -8
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +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/features/row-expend.js +1 -1
- package/dist/components/table/head-table.js +21 -21
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +30 -30
- package/dist/components/table/table.js +31 -31
- 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 +6 -6
- package/dist/components/time-panel/time-panel.js +6 -6
- package/dist/components/timepicker/timepicker.component.js +14 -14
- package/dist/components/timepicker/timepicker.js +14 -14
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +8 -8
- package/dist/components/tree/tree.js +9 -9
- package/dist/components/tree-item/tree-item.component.js +7 -7
- package/dist/components/tree-item/tree-item.js +8 -8
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +685 -685
- package/dist/react/alert/index.js +6 -6
- 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 +6 -6
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +4 -4
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +5 -5
- package/dist/react/color-picker/index.js +14 -14
- package/dist/react/copy-button/index.js +6 -6
- package/dist/react/date-panel/index.js +11 -11
- package/dist/react/datepicker/index.js +15 -15
- package/dist/react/details/index.js +4 -4
- package/dist/react/dialog/index.js +6 -6
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +6 -6
- 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 +200 -200
- package/dist/react/input/index.js +5 -5
- 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 +12 -12
- 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 +5 -5
- package/dist/react/range/index.js +4 -4
- package/dist/react/rating/index.js +4 -4
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/screen/index.js +3 -3
- package/dist/react/select/index.js +8 -8
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +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 +31 -31
- package/dist/react/tag/index.js +5 -5
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/timepicker/index.js +15 -15
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +9 -9
- package/dist/react/tree-item/index.js +8 -8
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/shoelace.js +157 -157
- package/dist/types/vue/index.d.ts +145 -145
- package/dist/vscode.html-custom-data.json +95 -95
- package/dist/web-types.json +301 -301
- package/package.json +2 -2
- package/cdn/assets/icons/add.svg +0 -3
- package/cdn/assets/icons/date.svg +0 -3
- package/cdn/assets/icons/jump-to-left.svg +0 -3
- package/cdn/assets/icons/jump-to-right.svg +0 -3
- package/cdn/assets/icons/language.svg +0 -3
- package/cdn/assets/icons/minus.svg +0 -3
- package/cdn/assets/icons/radio-selected.svg +0 -3
- package/cdn/assets/icons/resize.svg +0 -3
- package/cdn/assets/icons/time.svg +0 -3
- package/cdn/chunks/chunk.27HOYVCS.js +0 -25
- package/cdn/chunks/chunk.27Y4PZVV.js +0 -11
- package/cdn/chunks/chunk.27Y5FHMO.js +0 -236
- package/cdn/chunks/chunk.2FZS4X3M.js +0 -21
- package/cdn/chunks/chunk.2HDTSZN2.js +0 -282
- package/cdn/chunks/chunk.2QXBQ2NK.js +0 -11
- package/cdn/chunks/chunk.2VVVEGWA.js +0 -103
- package/cdn/chunks/chunk.32LBTDAX.js +0 -54
- package/cdn/chunks/chunk.33I3T7TR.js +0 -11
- package/cdn/chunks/chunk.33LT4SL5.js +0 -11
- package/cdn/chunks/chunk.35OCFEWG.js +0 -11
- package/cdn/chunks/chunk.37PW5KJK.js +0 -28
- package/cdn/chunks/chunk.3E7UTFOW.js +0 -24
- package/cdn/chunks/chunk.3EXN7PEK.js +0 -11
- package/cdn/chunks/chunk.3SP4KPG4.js +0 -11
- package/cdn/chunks/chunk.3WADD2II.js +0 -24
- package/cdn/chunks/chunk.45J66KZY.js +0 -158
- package/cdn/chunks/chunk.4B2BQBVK.js +0 -21
- package/cdn/chunks/chunk.4HRT2UJR.js +0 -33
- package/cdn/chunks/chunk.4I63ZQ66.js +0 -21
- package/cdn/chunks/chunk.4IHB7MMA.js +0 -11
- package/cdn/chunks/chunk.4OEATBDE.js +0 -26
- package/cdn/chunks/chunk.4PJ7G3CV.js +0 -11
- package/cdn/chunks/chunk.4RHFRC3G.js +0 -346
- package/cdn/chunks/chunk.4TNRRH5O.js +0 -11
- package/cdn/chunks/chunk.4YARN2QZ.js +0 -11
- package/cdn/chunks/chunk.4YGOLCMI.js +0 -75
- package/cdn/chunks/chunk.5ABUV5UR.js +0 -24
- package/cdn/chunks/chunk.5GGVS55R.js +0 -11
- package/cdn/chunks/chunk.5MOV4CPU.js +0 -21
- package/cdn/chunks/chunk.66I5PX2D.js +0 -29
- package/cdn/chunks/chunk.66YPE6LS.js +0 -142
- package/cdn/chunks/chunk.6ENVGHCX.js +0 -11
- package/cdn/chunks/chunk.6FRLQCVM.js +0 -11
- package/cdn/chunks/chunk.6FZ4EIZK.js +0 -11
- package/cdn/chunks/chunk.6ISNSVD3.js +0 -379
- package/cdn/chunks/chunk.6KEE7M5Z.js +0 -11
- package/cdn/chunks/chunk.6MKBM2IN.js +0 -266
- package/cdn/chunks/chunk.6MSM2SEG.js +0 -11
- package/cdn/chunks/chunk.6RLYTXI2.js +0 -11
- package/cdn/chunks/chunk.6TEKXFHG.js +0 -28
- package/cdn/chunks/chunk.6W44TUMM.js +0 -11
- package/cdn/chunks/chunk.6ZIASYIF.js +0 -48
- package/cdn/chunks/chunk.75PEDE7I.js +0 -27
- package/cdn/chunks/chunk.7COYCCE4.js +0 -67
- package/cdn/chunks/chunk.7HUAIMM7.js +0 -21
- package/cdn/chunks/chunk.7JV5OIVH.js +0 -186
- package/cdn/chunks/chunk.7MDST7I6.js +0 -29
- package/cdn/chunks/chunk.7ODZ7P7A.js +0 -21
- package/cdn/chunks/chunk.7PBDJRY6.js +0 -455
- package/cdn/chunks/chunk.7S4WG4SM.js +0 -135
- package/cdn/chunks/chunk.7SLQZCTW.js +0 -11
- package/cdn/chunks/chunk.A7CUPYQN.js +0 -27
- package/cdn/chunks/chunk.AIUCZ2HG.js +0 -21
- package/cdn/chunks/chunk.AK4YXL3V.js +0 -24
- package/cdn/chunks/chunk.AKVTZJZE.js +0 -5845
- package/cdn/chunks/chunk.ANWNIMZI.js +0 -153
- package/cdn/chunks/chunk.AOWPLCJZ.js +0 -822
- package/cdn/chunks/chunk.AQB2FSQO.js +0 -11
- package/cdn/chunks/chunk.B2VN3VDT.js +0 -11
- package/cdn/chunks/chunk.B6MIUMME.js +0 -114
- package/cdn/chunks/chunk.BH2WDPCP.js +0 -313
- package/cdn/chunks/chunk.BHAMTRIB.js +0 -27
- package/cdn/chunks/chunk.BJBADDZR.js +0 -11
- package/cdn/chunks/chunk.BJD2MP32.js +0 -11
- package/cdn/chunks/chunk.BPMCWLIP.js +0 -11
- package/cdn/chunks/chunk.C2WSS4PN.js +0 -11
- package/cdn/chunks/chunk.CB44ML4D.js +0 -11
- package/cdn/chunks/chunk.CC567GEA.js +0 -11
- package/cdn/chunks/chunk.CEWIGZ5F.js +0 -11
- package/cdn/chunks/chunk.CHTIGRTB.js +0 -21
- package/cdn/chunks/chunk.CWN5CGYB.js +0 -36
- package/cdn/chunks/chunk.DL6IVOOP.js +0 -11
- package/cdn/chunks/chunk.DLUXJ4CH.js +0 -24
- package/cdn/chunks/chunk.DO5FSPL3.js +0 -11
- package/cdn/chunks/chunk.DP7UQUTU.js +0 -586
- package/cdn/chunks/chunk.DVXR5Q5B.js +0 -25
- package/cdn/chunks/chunk.DW5UXU6T.js +0 -183
- package/cdn/chunks/chunk.DWD7HY7A.js +0 -314
- package/cdn/chunks/chunk.E5JFT45N.js +0 -95
- package/cdn/chunks/chunk.EEAJYMNF.js +0 -131
- package/cdn/chunks/chunk.EPPWMIN6.js +0 -292
- package/cdn/chunks/chunk.EUH2S3H2.js +0 -11
- package/cdn/chunks/chunk.EY6KVW5N.js +0 -21
- package/cdn/chunks/chunk.F43EQFX7.js +0 -73
- package/cdn/chunks/chunk.FDWGU6EJ.js +0 -334
- package/cdn/chunks/chunk.FMZN2U2U.js +0 -21
- package/cdn/chunks/chunk.FN23KPQ6.js +0 -25
- package/cdn/chunks/chunk.FZ4G6WQ3.js +0 -21
- package/cdn/chunks/chunk.GDOFH4N7.js +0 -24
- package/cdn/chunks/chunk.GFWWCI5D.js +0 -21
- package/cdn/chunks/chunk.GNDDYPL5.js +0 -122
- package/cdn/chunks/chunk.HAKTAYCJ.js +0 -271
- package/cdn/chunks/chunk.HF4HZ7OK.js +0 -11
- package/cdn/chunks/chunk.HH6FCSDY.js +0 -25
- package/cdn/chunks/chunk.HIXTBSVP.js +0 -24
- package/cdn/chunks/chunk.HNB6YNKJ.js +0 -127
- package/cdn/chunks/chunk.I23BNULJ.js +0 -25
- package/cdn/chunks/chunk.IJKYOXF6.js +0 -1058
- package/cdn/chunks/chunk.IK7T2LXB.js +0 -512
- package/cdn/chunks/chunk.IMUFDXOR.js +0 -27
- package/cdn/chunks/chunk.IPJYJUHJ.js +0 -137
- package/cdn/chunks/chunk.ITOSFWGF.js +0 -11
- package/cdn/chunks/chunk.IZW6T3JG.js +0 -123
- package/cdn/chunks/chunk.J5BEJWL2.js +0 -1990
- package/cdn/chunks/chunk.JDEKRW5T.js +0 -11
- package/cdn/chunks/chunk.JN3VVH3C.js +0 -28
- package/cdn/chunks/chunk.JRRMX7GT.js +0 -24
- package/cdn/chunks/chunk.JZBBC3QX.js +0 -279
- package/cdn/chunks/chunk.JZJCWSG7.js +0 -11
- package/cdn/chunks/chunk.K5AFO3UR.js +0 -367
- package/cdn/chunks/chunk.KBOPZLOK.js +0 -63
- package/cdn/chunks/chunk.KFLMS5SX.js +0 -11
- package/cdn/chunks/chunk.KHVZJL32.js +0 -82
- package/cdn/chunks/chunk.L3XUUIH5.js +0 -21
- package/cdn/chunks/chunk.L4E37H5Q.js +0 -11
- package/cdn/chunks/chunk.L7GOVIH2.js +0 -21
- package/cdn/chunks/chunk.LMEA3KHP.js +0 -11
- package/cdn/chunks/chunk.LSRNP2JM.js +0 -11
- package/cdn/chunks/chunk.LUBCPO5Q.js +0 -11
- package/cdn/chunks/chunk.M3H22HDR.js +0 -21
- package/cdn/chunks/chunk.M66LVJOQ.js +0 -724
- package/cdn/chunks/chunk.MA7NG7CT.js +0 -11
- package/cdn/chunks/chunk.MLDDECJX.js +0 -11
- package/cdn/chunks/chunk.MX74A37K.js +0 -50
- package/cdn/chunks/chunk.N244ZLNW.js +0 -402
- package/cdn/chunks/chunk.N4VXKJ3H.js +0 -299
- package/cdn/chunks/chunk.N74EGIUP.js +0 -11
- package/cdn/chunks/chunk.NE2PBG46.js +0 -25
- package/cdn/chunks/chunk.NFBJC5OG.js +0 -25
- package/cdn/chunks/chunk.NN45B5UV.js +0 -11
- package/cdn/chunks/chunk.NRTMXD42.js +0 -24
- package/cdn/chunks/chunk.NU34C7N5.js +0 -11
- package/cdn/chunks/chunk.NVCAAEJP.js +0 -257
- package/cdn/chunks/chunk.O6A73QV3.js +0 -24
- package/cdn/chunks/chunk.O7VOOY54.js +0 -77
- package/cdn/chunks/chunk.OL3VWXQU.js +0 -118
- package/cdn/chunks/chunk.ORPDF22S.js +0 -30
- package/cdn/chunks/chunk.OTQAYZHD.js +0 -1925
- package/cdn/chunks/chunk.OUOAKPFA.js +0 -24
- package/cdn/chunks/chunk.OWTULY4I.js +0 -11
- package/cdn/chunks/chunk.PCK67K7Q.js +0 -25
- package/cdn/chunks/chunk.PLGVU673.js +0 -11
- package/cdn/chunks/chunk.PNEGYNEM.js +0 -28
- package/cdn/chunks/chunk.PPUUDR74.js +0 -27
- package/cdn/chunks/chunk.PQIXAOO6.js +0 -11
- package/cdn/chunks/chunk.PT5CC63Y.js +0 -2647
- package/cdn/chunks/chunk.PVOS4CMB.js +0 -574
- package/cdn/chunks/chunk.PXJP7OZ6.js +0 -11
- package/cdn/chunks/chunk.PYQYLHC5.js +0 -255
- package/cdn/chunks/chunk.Q4F7SDTW.js +0 -21
- package/cdn/chunks/chunk.QEZ7DNUJ.js +0 -137
- package/cdn/chunks/chunk.QFT4E2NO.js +0 -11
- package/cdn/chunks/chunk.QKZJGEK7.js +0 -25
- package/cdn/chunks/chunk.QMGCWHDA.js +0 -21
- package/cdn/chunks/chunk.QXDZ3ITM.js +0 -216
- package/cdn/chunks/chunk.QZWIIKI2.js +0 -113
- package/cdn/chunks/chunk.RK6BCO7J.js +0 -291
- package/cdn/chunks/chunk.RLREXFTD.js +0 -11
- package/cdn/chunks/chunk.RLW3F65T.js +0 -21
- package/cdn/chunks/chunk.RSV42FXH.js +0 -87
- package/cdn/chunks/chunk.S2WTBVVC.js +0 -93
- package/cdn/chunks/chunk.S4PSRQFZ.js +0 -27
- package/cdn/chunks/chunk.S5OBCNM3.js +0 -7245
- package/cdn/chunks/chunk.SERKWKJL.js +0 -391
- package/cdn/chunks/chunk.SJNJAW55.js +0 -49
- package/cdn/chunks/chunk.SMCTTZ57.js +0 -11
- package/cdn/chunks/chunk.SUDNAO7O.js +0 -120
- package/cdn/chunks/chunk.SYN63DT6.js +0 -11
- package/cdn/chunks/chunk.T2YDJUZA.js +0 -77
- package/cdn/chunks/chunk.TAFRS2HJ.js +0 -29
- package/cdn/chunks/chunk.TBVPQYXO.js +0 -11
- package/cdn/chunks/chunk.TCMMK5SO.js +0 -219
- package/cdn/chunks/chunk.TCTD7BB3.js +0 -11
- package/cdn/chunks/chunk.TH3KULNJ.js +0 -24
- package/cdn/chunks/chunk.TOEOCJ5Y.js +0 -25
- package/cdn/chunks/chunk.TUKUOALN.js +0 -21
- package/cdn/chunks/chunk.UFVJE2US.js +0 -26
- package/cdn/chunks/chunk.UJZVXVFC.js +0 -336
- package/cdn/chunks/chunk.UPNXNIUX.js +0 -21
- package/cdn/chunks/chunk.UTB7U7KC.js +0 -24
- package/cdn/chunks/chunk.UZFCYF3Y.js +0 -302
- package/cdn/chunks/chunk.V2DHCAWN.js +0 -197
- package/cdn/chunks/chunk.V5P2IUUU.js +0 -233
- package/cdn/chunks/chunk.VPS4BDPR.js +0 -21
- package/cdn/chunks/chunk.VVGBUF2K.js +0 -42
- package/cdn/chunks/chunk.WAIBA7LN.js +0 -11
- package/cdn/chunks/chunk.WJIPS52N.js +0 -24
- package/cdn/chunks/chunk.WJYSUU36.js +0 -11
- package/cdn/chunks/chunk.WXPULUI5.js +0 -21
- package/cdn/chunks/chunk.X2LJADGH.js +0 -97
- package/cdn/chunks/chunk.X3RZSOQR.js +0 -21
- package/cdn/chunks/chunk.X4F4Y4IY.js +0 -49
- package/cdn/chunks/chunk.XKQTU7TJ.js +0 -11
- package/cdn/chunks/chunk.XQ6OX7CO.js +0 -502
- package/cdn/chunks/chunk.Y2L4NDGV.js +0 -11
- package/cdn/chunks/chunk.Y6LNLEEW.js +0 -342
- package/cdn/chunks/chunk.YAYUXCI5.js +0 -11
- package/cdn/chunks/chunk.YF74HNC6.js +0 -26
- package/cdn/chunks/chunk.YK63BO2L.js +0 -21
- package/cdn/chunks/chunk.YL2ZBZWN.js +0 -79
- package/cdn/chunks/chunk.YNJWGDX3.js +0 -24
- package/cdn/chunks/chunk.Z3N6IQ4G.js +0 -11
- package/cdn/chunks/chunk.ZAEWAWCF.js +0 -29
- package/cdn/chunks/chunk.ZARCEV5A.js +0 -11
- package/cdn/chunks/chunk.ZCHSYVN6.js +0 -28
- package/cdn/chunks/chunk.ZEFPLKD4.js +0 -27
- package/cdn/chunks/chunk.ZSWDMZNE.js +0 -11
- package/cdn/chunks/chunk.ZVLZBW3N.js +0 -28
- package/cdn/chunks/chunk.ZVRUVM2B.js +0 -21
- package/dist/assets/icons/add.svg +0 -3
- package/dist/assets/icons/date.svg +0 -3
- package/dist/assets/icons/jump-to-left.svg +0 -3
- package/dist/assets/icons/jump-to-right.svg +0 -3
- package/dist/assets/icons/language.svg +0 -3
- package/dist/assets/icons/minus.svg +0 -3
- package/dist/assets/icons/radio-selected.svg +0 -3
- package/dist/assets/icons/resize.svg +0 -3
- package/dist/assets/icons/time.svg +0 -3
- package/dist/chunks/chunk.24JCJPFS.js +0 -11
- package/dist/chunks/chunk.24YFAXAL.js +0 -27
- package/dist/chunks/chunk.2BYPJTDS.js +0 -28
- package/dist/chunks/chunk.2JUZRB2J.js +0 -24
- package/dist/chunks/chunk.2OQAG4OK.js +0 -361
- package/dist/chunks/chunk.2OX3WRST.js +0 -45
- package/dist/chunks/chunk.2TGDONBT.js +0 -11
- package/dist/chunks/chunk.2UESVMY6.js +0 -11
- package/dist/chunks/chunk.33AMEOTZ.js +0 -21
- package/dist/chunks/chunk.3AD2CXBX.js +0 -949
- package/dist/chunks/chunk.3LE7DJ56.js +0 -116
- package/dist/chunks/chunk.3OBEKYHK.js +0 -21
- package/dist/chunks/chunk.3OYKN5HS.js +0 -11
- package/dist/chunks/chunk.3TYXDO2K.js +0 -11
- package/dist/chunks/chunk.3WBAMZRV.js +0 -24
- package/dist/chunks/chunk.3XTJM2XB.js +0 -11
- package/dist/chunks/chunk.3ZRFBIP7.js +0 -338
- package/dist/chunks/chunk.47QEQQJC.js +0 -11
- package/dist/chunks/chunk.47YOCOBU.js +0 -29
- package/dist/chunks/chunk.4DIHPJSP.js +0 -28
- package/dist/chunks/chunk.4DQAMWWZ.js +0 -306
- package/dist/chunks/chunk.4O25DEXU.js +0 -11
- package/dist/chunks/chunk.4OEA3MVK.js +0 -24
- package/dist/chunks/chunk.4Q5ZIF3N.js +0 -167
- package/dist/chunks/chunk.4Y2CKVEC.js +0 -11
- package/dist/chunks/chunk.5KSDGVLS.js +0 -11
- package/dist/chunks/chunk.5KSHFKNA.js +0 -24
- package/dist/chunks/chunk.5RIQPUL7.js +0 -21
- package/dist/chunks/chunk.5TFAQ2NR.js +0 -11
- package/dist/chunks/chunk.5XTVGMG5.js +0 -11
- package/dist/chunks/chunk.63ZCUCDG.js +0 -11
- package/dist/chunks/chunk.64MHQOAR.js +0 -11
- package/dist/chunks/chunk.6FSBSTOL.js +0 -126
- package/dist/chunks/chunk.6JMTGAN5.js +0 -21
- package/dist/chunks/chunk.6LEXMZSA.js +0 -21
- package/dist/chunks/chunk.6ML3D323.js +0 -21
- package/dist/chunks/chunk.6QP52PB5.js +0 -25
- package/dist/chunks/chunk.6SXKNC6G.js +0 -91
- package/dist/chunks/chunk.6WE6TUWW.js +0 -214
- package/dist/chunks/chunk.77E7JNN5.js +0 -11
- package/dist/chunks/chunk.7BGADTVL.js +0 -25
- package/dist/chunks/chunk.7EYYO42F.js +0 -21
- package/dist/chunks/chunk.7I6XM5UP.js +0 -27
- package/dist/chunks/chunk.7KTXBDOQ.js +0 -11
- package/dist/chunks/chunk.7MVQJDOL.js +0 -21
- package/dist/chunks/chunk.7U6HAMQ5.js +0 -11
- package/dist/chunks/chunk.7VL35WAU.js +0 -75
- package/dist/chunks/chunk.A2RCU24N.js +0 -21
- package/dist/chunks/chunk.A56UU7VK.js +0 -24
- package/dist/chunks/chunk.ABWGT5QI.js +0 -448
- package/dist/chunks/chunk.ADORHWUV.js +0 -263
- package/dist/chunks/chunk.AE26YVIY.js +0 -11
- package/dist/chunks/chunk.AI272IQB.js +0 -29
- package/dist/chunks/chunk.AXE3OJLG.js +0 -24
- package/dist/chunks/chunk.AYMVTXL7.js +0 -27
- package/dist/chunks/chunk.AZ3RC4AT.js +0 -22
- package/dist/chunks/chunk.BAEVN6KY.js +0 -11
- package/dist/chunks/chunk.BHCAKHM5.js +0 -11
- package/dist/chunks/chunk.BLCBOYIE.js +0 -231
- package/dist/chunks/chunk.BMCE32AA.js +0 -27
- package/dist/chunks/chunk.BXMX3BME.js +0 -21
- package/dist/chunks/chunk.C2H36B45.js +0 -274
- package/dist/chunks/chunk.C3AAERA6.js +0 -11
- package/dist/chunks/chunk.CBNAHC5Y.js +0 -192
- package/dist/chunks/chunk.CRJPDWTU.js +0 -814
- package/dist/chunks/chunk.CUACSHSL.js +0 -24
- package/dist/chunks/chunk.D2DVT5W4.js +0 -11
- package/dist/chunks/chunk.D4V35CG7.js +0 -11
- package/dist/chunks/chunk.D57XQ5OQ.js +0 -25
- package/dist/chunks/chunk.D6MGMKS3.js +0 -11
- package/dist/chunks/chunk.D7HMIWUM.js +0 -21
- package/dist/chunks/chunk.DCQM44J4.js +0 -25
- package/dist/chunks/chunk.DIE4F4L2.js +0 -11
- package/dist/chunks/chunk.DTZVN4ZH.js +0 -21
- package/dist/chunks/chunk.E6QNXQ2G.js +0 -11
- package/dist/chunks/chunk.F3ETBO5U.js +0 -24
- package/dist/chunks/chunk.FGJ7PZ5N.js +0 -752
- package/dist/chunks/chunk.FLUFA3ER.js +0 -494
- package/dist/chunks/chunk.FQIGTIMY.js +0 -28
- package/dist/chunks/chunk.FSCUDDCF.js +0 -11
- package/dist/chunks/chunk.FUTMBVNX.js +0 -11
- package/dist/chunks/chunk.GG3ZUHJV.js +0 -21
- package/dist/chunks/chunk.GKSTUNJ4.js +0 -11
- package/dist/chunks/chunk.GQ7YDSPB.js +0 -111
- package/dist/chunks/chunk.GQRIAHO4.js +0 -11
- package/dist/chunks/chunk.HFJ53BFM.js +0 -90
- package/dist/chunks/chunk.HIOCELIO.js +0 -11
- package/dist/chunks/chunk.HJFDN2NJ.js +0 -22
- package/dist/chunks/chunk.HOT4BVMU.js +0 -25
- package/dist/chunks/chunk.HS556FKR.js +0 -25
- package/dist/chunks/chunk.I4KYJA5M.js +0 -52
- package/dist/chunks/chunk.I6LRHUVQ.js +0 -11
- package/dist/chunks/chunk.IFIDMWGB.js +0 -21
- package/dist/chunks/chunk.IFWPJR2L.js +0 -11
- package/dist/chunks/chunk.IGC2XAPJ.js +0 -21
- package/dist/chunks/chunk.IMAAXE2Q.js +0 -45
- package/dist/chunks/chunk.IPSR5MF4.js +0 -119
- package/dist/chunks/chunk.IZZQPRN5.js +0 -11
- package/dist/chunks/chunk.J5JBSIAI.js +0 -113
- package/dist/chunks/chunk.J7GEFYRN.js +0 -286
- package/dist/chunks/chunk.JD5VKZSV.js +0 -11
- package/dist/chunks/chunk.JSGP6FH6.js +0 -11
- package/dist/chunks/chunk.JUXRG2ZU.js +0 -328
- package/dist/chunks/chunk.JX7TUCDF.js +0 -21
- package/dist/chunks/chunk.K3KMYYYI.js +0 -126
- package/dist/chunks/chunk.K3SPPBSK.js +0 -100
- package/dist/chunks/chunk.K46S2N2E.js +0 -11
- package/dist/chunks/chunk.KADND6T7.js +0 -11
- package/dist/chunks/chunk.KCE6HXTM.js +0 -11
- package/dist/chunks/chunk.KMEVP5JM.js +0 -11
- package/dist/chunks/chunk.KONFEWJJ.js +0 -11
- package/dist/chunks/chunk.KROSAATH.js +0 -34
- package/dist/chunks/chunk.KTQV4KCH.js +0 -21
- package/dist/chunks/chunk.KXMFDM7V.js +0 -11
- package/dist/chunks/chunk.L77IOKRA.js +0 -100
- package/dist/chunks/chunk.LI4PIAXJ.js +0 -11
- package/dist/chunks/chunk.LM2GLM5U.js +0 -371
- package/dist/chunks/chunk.LNOMSVC7.js +0 -227
- package/dist/chunks/chunk.LOZL6Q4S.js +0 -151
- package/dist/chunks/chunk.LT5PYQM2.js +0 -11
- package/dist/chunks/chunk.M7GTV5KG.js +0 -96
- package/dist/chunks/chunk.MDODUGYJ.js +0 -21
- package/dist/chunks/chunk.MIZZELJ6.js +0 -93
- package/dist/chunks/chunk.MOGIWE5Z.js +0 -27
- package/dist/chunks/chunk.MPDIPD3S.js +0 -11
- package/dist/chunks/chunk.MQFX6HVM.js +0 -21
- package/dist/chunks/chunk.N2XI22GZ.js +0 -42
- package/dist/chunks/chunk.N5FD5NXG.js +0 -11
- package/dist/chunks/chunk.N6CM3M5F.js +0 -132
- package/dist/chunks/chunk.N7FGMCW3.js +0 -21
- package/dist/chunks/chunk.NPDZEN2O.js +0 -73
- package/dist/chunks/chunk.NQPOLKOS.js +0 -11
- package/dist/chunks/chunk.NTH5PH6D.js +0 -85
- package/dist/chunks/chunk.NWST6VHG.js +0 -311
- package/dist/chunks/chunk.NYGHPMF6.js +0 -25
- package/dist/chunks/chunk.OE6VLDUJ.js +0 -11
- package/dist/chunks/chunk.OOEZMIJE.js +0 -280
- package/dist/chunks/chunk.OP7QLQJD.js +0 -63
- package/dist/chunks/chunk.OU4FDW6N.js +0 -21
- package/dist/chunks/chunk.P6AA5MOA.js +0 -24
- package/dist/chunks/chunk.PBHJEZ2H.js +0 -59
- package/dist/chunks/chunk.PJE5SZLI.js +0 -50
- package/dist/chunks/chunk.PQNGHLFV.js +0 -147
- package/dist/chunks/chunk.PRERWPVU.js +0 -293
- package/dist/chunks/chunk.PRF3FOB6.js +0 -24
- package/dist/chunks/chunk.PRKY2UJU.js +0 -33
- package/dist/chunks/chunk.PTZ5J6PL.js +0 -134
- package/dist/chunks/chunk.PU5YIDID.js +0 -117
- package/dist/chunks/chunk.PVMVRYSF.js +0 -294
- package/dist/chunks/chunk.Q5HSK6Q6.js +0 -11
- package/dist/chunks/chunk.Q5INZRCZ.js +0 -11
- package/dist/chunks/chunk.QF6VINDV.js +0 -11
- package/dist/chunks/chunk.QQFXOVES.js +0 -29
- package/dist/chunks/chunk.QQZW2WXC.js +0 -11
- package/dist/chunks/chunk.QS6GIF5V.js +0 -11
- package/dist/chunks/chunk.RGY63AHL.js +0 -11
- package/dist/chunks/chunk.RJ6OKX6E.js +0 -46
- package/dist/chunks/chunk.RJRDQHBH.js +0 -28
- package/dist/chunks/chunk.RRXYVAAU.js +0 -503
- package/dist/chunks/chunk.SAUCJKFK.js +0 -11
- package/dist/chunks/chunk.SBBXFCWF.js +0 -11
- package/dist/chunks/chunk.SECGSCLV.js +0 -25
- package/dist/chunks/chunk.SHMTARDA.js +0 -11
- package/dist/chunks/chunk.SL5UGLUU.js +0 -25
- package/dist/chunks/chunk.SQ7EKPKN.js +0 -11
- package/dist/chunks/chunk.T6VCW6JZ.js +0 -29
- package/dist/chunks/chunk.TBKBLPKQ.js +0 -75
- package/dist/chunks/chunk.TCQCTMDP.js +0 -247
- package/dist/chunks/chunk.TEHSILQV.js +0 -28
- package/dist/chunks/chunk.TS7UGVMP.js +0 -26
- package/dist/chunks/chunk.TSTXB3ED.js +0 -417
- package/dist/chunks/chunk.TWR7M2O4.js +0 -11
- package/dist/chunks/chunk.TXK6TJMT.js +0 -277
- package/dist/chunks/chunk.TYJKKM6T.js +0 -135
- package/dist/chunks/chunk.U4UK2ESD.js +0 -11
- package/dist/chunks/chunk.UFHEBOTP.js +0 -11
- package/dist/chunks/chunk.UFMN3PHW.js +0 -21
- package/dist/chunks/chunk.UGCTDIZS.js +0 -21
- package/dist/chunks/chunk.UJY66GBC.js +0 -568
- package/dist/chunks/chunk.UKKX2IA7.js +0 -21
- package/dist/chunks/chunk.UR7D7W77.js +0 -28
- package/dist/chunks/chunk.UTDCBGYZ.js +0 -24
- package/dist/chunks/chunk.UUOI5HE6.js +0 -67
- package/dist/chunks/chunk.UXO3E2PW.js +0 -21
- package/dist/chunks/chunk.UYWN5P5X.js +0 -384
- package/dist/chunks/chunk.V2H6GVD2.js +0 -26
- package/dist/chunks/chunk.VHHBFM4E.js +0 -181
- package/dist/chunks/chunk.VHRTMFWQ.js +0 -11
- package/dist/chunks/chunk.VKQORXLB.js +0 -28
- package/dist/chunks/chunk.VMLX3RO3.js +0 -74
- package/dist/chunks/chunk.W3FASBZI.js +0 -1056
- package/dist/chunks/chunk.WA533QRX.js +0 -80
- package/dist/chunks/chunk.WDOD3SVU.js +0 -550
- package/dist/chunks/chunk.XC3KHZBK.js +0 -119
- package/dist/chunks/chunk.XHNI4KIO.js +0 -25
- package/dist/chunks/chunk.XJFPQDF7.js +0 -24
- package/dist/chunks/chunk.XKKSYCNX.js +0 -25
- package/dist/chunks/chunk.XN35THY2.js +0 -397
- package/dist/chunks/chunk.XUVE5DZ5.js +0 -24
- package/dist/chunks/chunk.XZG7J5MF.js +0 -26
- package/dist/chunks/chunk.YGMKGXUY.js +0 -315
- package/dist/chunks/chunk.YGUW2LXO.js +0 -109
- package/dist/chunks/chunk.YNORD2MI.js +0 -11
- package/dist/chunks/chunk.YRGFICMY.js +0 -27
- package/dist/chunks/chunk.ZH7CVCHX.js +0 -337
- package/dist/chunks/chunk.ZJC4FLKC.js +0 -437
- package/dist/chunks/chunk.ZK6W4KRT.js +0 -11
- package/dist/chunks/chunk.ZQMRTBNR.js +0 -180
- package/dist/chunks/chunk.ZVYNO5RH.js +0 -213
- package/dist/chunks/chunk.ZXGRLZON.js +0 -252
|
@@ -0,0 +1,949 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SlVisuallyHidden
|
|
3
|
+
} from "./chunk.45B6NU5V.js";
|
|
4
|
+
import {
|
|
5
|
+
drag
|
|
6
|
+
} from "./chunk.ESELY2US.js";
|
|
7
|
+
import {
|
|
8
|
+
SlDropdown
|
|
9
|
+
} from "./chunk.G3DYFYBG.js";
|
|
10
|
+
import {
|
|
11
|
+
SlInput
|
|
12
|
+
} from "./chunk.VOXLBXHE.js";
|
|
13
|
+
import {
|
|
14
|
+
color_picker_styles_default
|
|
15
|
+
} from "./chunk.O6CEROC7.js";
|
|
16
|
+
import {
|
|
17
|
+
defaultValue
|
|
18
|
+
} from "./chunk.GI7VDIWX.js";
|
|
19
|
+
import {
|
|
20
|
+
clamp
|
|
21
|
+
} from "./chunk.HF7GESMZ.js";
|
|
22
|
+
import {
|
|
23
|
+
SlButtonGroup
|
|
24
|
+
} from "./chunk.WSOYPJKK.js";
|
|
25
|
+
import {
|
|
26
|
+
SlButton
|
|
27
|
+
} from "./chunk.JVMOPEJO.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.XRMWGB46.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.AFYNEPK3.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
|
+
};
|