@kdcloudjs/shoelace 1.0.9 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.22A3M2YQ.js +586 -0
- package/cdn/chunks/chunk.2E7GVO3N.js +1925 -0
- package/cdn/chunks/chunk.2EHWYELU.js +11 -0
- package/cdn/chunks/chunk.2GLKXEZH.js +11 -0
- package/cdn/chunks/chunk.2J6SQP4B.js +87 -0
- package/cdn/chunks/chunk.2LY7PHFF.js +11 -0
- package/cdn/chunks/chunk.2STG2AH7.js +11 -0
- package/cdn/chunks/chunk.2T7SDOCE.js +11 -0
- package/cdn/chunks/chunk.2YI6E5AY.js +50 -0
- package/cdn/chunks/chunk.34O6HKP2.js +11 -0
- package/cdn/chunks/chunk.3CPEBZVA.js +24 -0
- package/cdn/chunks/chunk.3DB3WXY7.js +21 -0
- package/cdn/chunks/chunk.3EK26RRI.js +11 -0
- package/cdn/chunks/chunk.3GOTFTB2.js +27 -0
- package/cdn/chunks/chunk.3NLFUM7D.js +292 -0
- package/cdn/chunks/chunk.3P35WB6S.js +21 -0
- package/cdn/chunks/chunk.3PQGSM3Z.js +346 -0
- package/cdn/chunks/chunk.3ZFESO7N.js +11 -0
- package/cdn/chunks/chunk.3ZGZCVUR.js +724 -0
- package/cdn/chunks/chunk.3ZVHPJXQ.js +11 -0
- package/cdn/chunks/chunk.42PCX7OA.js +11 -0
- package/cdn/chunks/chunk.4HLF6E5S.js +313 -0
- package/cdn/chunks/chunk.4JOM6WNB.js +27 -0
- package/cdn/chunks/chunk.4KYL7I5R.js +11 -0
- package/cdn/chunks/chunk.4N4SXTKN.js +28 -0
- package/cdn/chunks/chunk.4NBBJCP5.js +24 -0
- package/cdn/chunks/chunk.4NQLURU3.js +21 -0
- package/cdn/chunks/chunk.4SZGQQXG.js +11 -0
- package/cdn/chunks/chunk.4YUU7XVF.js +73 -0
- package/cdn/chunks/chunk.5AHQNL5Y.js +55 -0
- package/cdn/chunks/chunk.5HFOXRZT.js +49 -0
- package/cdn/chunks/chunk.5N42UBDF.js +21 -0
- package/cdn/chunks/chunk.5NIZNLUR.js +113 -0
- package/cdn/chunks/chunk.5ZKQCMKA.js +11 -0
- package/cdn/chunks/chunk.6AYVY3R6.js +11 -0
- package/cdn/chunks/chunk.6CGGGWLL.js +28 -0
- package/cdn/chunks/chunk.6FJGIUON.js +11 -0
- package/cdn/chunks/chunk.6S5OOFWU.js +21 -0
- package/cdn/chunks/chunk.6T54X5QA.js +266 -0
- package/cdn/chunks/chunk.772JJMY5.js +11 -0
- package/cdn/chunks/chunk.7CIFKUB3.js +27 -0
- package/cdn/chunks/chunk.7YTQ6YRW.js +367 -0
- package/cdn/chunks/chunk.7ZH7CQ2M.js +25 -0
- package/cdn/chunks/chunk.A3PVBFPS.js +27 -0
- package/cdn/chunks/chunk.ACBGT7WE.js +24 -0
- package/cdn/chunks/chunk.ACQXACKL.js +183 -0
- package/cdn/chunks/chunk.AFIGAWL6.js +25 -0
- package/cdn/chunks/chunk.AIN2IDXT.js +186 -0
- package/cdn/chunks/chunk.AJCLFCVW.js +11 -0
- package/cdn/chunks/chunk.AMIUWLP3.js +49 -0
- package/cdn/chunks/chunk.AQCVHF7X.js +402 -0
- package/cdn/chunks/chunk.AXJ7LT6J.js +236 -0
- package/cdn/chunks/chunk.B36WRXBI.js +26 -0
- package/cdn/chunks/chunk.B4BC6WJB.js +1990 -0
- package/cdn/chunks/chunk.BFWYMZ7M.js +27 -0
- package/cdn/chunks/chunk.BHOWNEDP.js +11 -0
- package/cdn/chunks/chunk.BIRDFPJ7.js +502 -0
- package/cdn/chunks/chunk.BNIWDM2W.js +21 -0
- package/cdn/chunks/chunk.BNZE5LEG.js +24 -0
- package/cdn/chunks/chunk.BORE5JTW.js +120 -0
- package/cdn/chunks/chunk.BQ7CXMR7.js +233 -0
- package/cdn/chunks/chunk.BT2KYTZY.js +21 -0
- package/cdn/chunks/chunk.C4OYNMZR.js +379 -0
- package/cdn/chunks/chunk.C627WE5R.js +25 -0
- package/cdn/chunks/chunk.CA5Q6W56.js +122 -0
- package/cdn/chunks/chunk.CTYP46R3.js +21 -0
- package/cdn/chunks/chunk.CV3AWRN2.js +11 -0
- package/cdn/chunks/chunk.D5XAV2XI.js +11 -0
- package/cdn/chunks/chunk.DHJ347NX.js +391 -0
- package/cdn/chunks/chunk.DHWD4EEV.js +336 -0
- package/cdn/chunks/chunk.DULUMSS5.js +11 -0
- package/cdn/chunks/chunk.DVWZNKR5.js +11 -0
- package/cdn/chunks/chunk.EDMNW326.js +271 -0
- package/cdn/chunks/chunk.EGNFJEEB.js +25 -0
- package/cdn/chunks/chunk.EJVG3JOX.js +455 -0
- package/cdn/chunks/chunk.EMRX6KNZ.js +512 -0
- package/cdn/chunks/chunk.EZFSCYEJ.js +25 -0
- package/cdn/chunks/chunk.FE7WNJ4G.js +24 -0
- package/cdn/chunks/chunk.FFKQLO7Y.js +142 -0
- package/cdn/chunks/chunk.FLM54LH6.js +24 -0
- package/cdn/chunks/chunk.FNCRZ35W.js +137 -0
- package/cdn/chunks/chunk.GAFIZO77.js +24 -0
- package/cdn/chunks/chunk.GSZG553O.js +11 -0
- package/cdn/chunks/chunk.GV6O3XI6.js +279 -0
- package/cdn/chunks/chunk.HDNOLEYJ.js +24 -0
- package/cdn/chunks/chunk.I5UAVWWB.js +11 -0
- package/cdn/chunks/chunk.IAAOF2RM.js +21 -0
- package/cdn/chunks/chunk.IFAQECJ5.js +21 -0
- package/cdn/chunks/chunk.IKK2ENLT.js +11 -0
- package/cdn/chunks/chunk.IMHHYNSZ.js +11 -0
- package/cdn/chunks/chunk.ITEV4ANR.js +11 -0
- package/cdn/chunks/chunk.IW24QF5E.js +197 -0
- package/cdn/chunks/chunk.J45TJV3R.js +21 -0
- package/cdn/chunks/chunk.JBHAIZP4.js +7240 -0
- package/cdn/chunks/chunk.JBPCQOQK.js +11 -0
- package/cdn/chunks/chunk.JE4XQUZW.js +63 -0
- package/cdn/chunks/chunk.JGBJMO2U.js +11 -0
- package/cdn/chunks/chunk.JGVCZ773.js +77 -0
- package/cdn/chunks/chunk.JHM4L4J3.js +21 -0
- package/cdn/chunks/chunk.JJBNZVSZ.js +21 -0
- package/cdn/chunks/chunk.JMUKLJEY.js +127 -0
- package/cdn/chunks/chunk.JP2TFC3R.js +11 -0
- package/cdn/chunks/chunk.K5RMCSRC.js +5845 -0
- package/cdn/chunks/chunk.K6SREXHF.js +21 -0
- package/cdn/chunks/chunk.KDZXJJAO.js +342 -0
- package/cdn/chunks/chunk.KGN5SJ4X.js +21 -0
- package/cdn/chunks/chunk.KLN5LOSQ.js +822 -0
- package/cdn/chunks/chunk.KULTWLSD.js +137 -0
- package/cdn/chunks/chunk.KUZLWLX3.js +11 -0
- package/cdn/chunks/chunk.KZKZOQJN.js +21 -0
- package/cdn/chunks/chunk.L22ZANUG.js +11 -0
- package/cdn/chunks/chunk.L4GODPF4.js +123 -0
- package/cdn/chunks/chunk.LCWBKBR6.js +334 -0
- package/cdn/chunks/chunk.LGK3E6KO.js +27 -0
- package/cdn/chunks/chunk.LPIAAH6L.js +11 -0
- package/cdn/chunks/chunk.LUDLML6M.js +11 -0
- package/cdn/chunks/chunk.LXM5HC7B.js +54 -0
- package/cdn/chunks/chunk.M2LPTVBV.js +25 -0
- package/cdn/chunks/chunk.MAKNUJR5.js +257 -0
- package/cdn/chunks/chunk.MGBILHSB.js +28 -0
- package/cdn/chunks/chunk.MNVKEC3Z.js +11 -0
- package/cdn/chunks/chunk.MSDJJPRE.js +25 -0
- package/cdn/chunks/chunk.MTK44GWI.js +11 -0
- package/cdn/chunks/chunk.MWGLIM4P.js +11 -0
- package/cdn/chunks/chunk.MWVEYDIZ.js +11 -0
- package/cdn/chunks/chunk.ND3OJQXG.js +314 -0
- package/cdn/chunks/chunk.NGESNEUN.js +282 -0
- package/cdn/chunks/chunk.NNFSUXL3.js +11 -0
- package/cdn/chunks/chunk.NVQYIJTH.js +21 -0
- package/cdn/chunks/chunk.NVSKFYMX.js +11 -0
- package/cdn/chunks/chunk.NYPURUZ2.js +48 -0
- package/cdn/chunks/chunk.O4RQMHLI.js +11 -0
- package/cdn/chunks/chunk.O5MG3DUF.js +216 -0
- package/cdn/chunks/chunk.OAAKSS62.js +219 -0
- package/cdn/chunks/chunk.OBWAFF62.js +114 -0
- package/cdn/chunks/chunk.OJGQCMOO.js +291 -0
- package/cdn/chunks/chunk.OMKHV7Q2.js +37 -0
- package/cdn/chunks/chunk.OPVXYKDL.js +29 -0
- package/cdn/chunks/chunk.OV5VSA73.js +24 -0
- package/cdn/chunks/chunk.P25ZLB3Q.js +21 -0
- package/cdn/chunks/chunk.P2PVBFQY.js +27 -0
- package/cdn/chunks/chunk.PBGNTVJS.js +21 -0
- package/cdn/chunks/chunk.PDCHX3MK.js +299 -0
- package/cdn/chunks/chunk.PG2UKS6C.js +11 -0
- package/cdn/chunks/chunk.PL24CQWF.js +11 -0
- package/cdn/chunks/chunk.POWSXWQO.js +11 -0
- package/cdn/chunks/chunk.PQDBL5S4.js +1058 -0
- package/cdn/chunks/chunk.PWUNZ5VX.js +117 -0
- package/cdn/chunks/chunk.PZHXSRPD.js +82 -0
- package/cdn/chunks/chunk.QHJR4NNF.js +21 -0
- package/cdn/chunks/chunk.QHWDC4SJ.js +21 -0
- package/cdn/chunks/chunk.QKUOUPFZ.js +11 -0
- package/cdn/chunks/chunk.QTEHRCWY.js +11 -0
- package/cdn/chunks/chunk.R5C3NY3M.js +2647 -0
- package/cdn/chunks/chunk.RYOIRNO4.js +11 -0
- package/cdn/chunks/chunk.SCV6EE7W.js +11 -0
- package/cdn/chunks/chunk.SEYY5NYF.js +24 -0
- package/cdn/chunks/chunk.SLJTL6UJ.js +11 -0
- package/cdn/chunks/chunk.SOPWTFR2.js +24 -0
- package/cdn/chunks/chunk.SW4RRYMD.js +42 -0
- package/cdn/chunks/chunk.T6CXKURD.js +574 -0
- package/cdn/chunks/chunk.TEBNMPF6.js +11 -0
- package/cdn/chunks/chunk.TEGE7AMT.js +21 -0
- package/cdn/chunks/chunk.TG7CCJLG.js +11 -0
- package/cdn/chunks/chunk.TGAMAVFX.js +153 -0
- package/cdn/chunks/chunk.TKSVHHZH.js +33 -0
- package/cdn/chunks/chunk.TOVCR6RW.js +24 -0
- package/cdn/chunks/chunk.TRN6KKZP.js +11 -0
- package/cdn/chunks/chunk.TVMO6TMA.js +25 -0
- package/cdn/chunks/chunk.UBPIDF2E.js +113 -0
- package/cdn/chunks/chunk.UIVOD6BA.js +67 -0
- package/cdn/chunks/chunk.UJHDHH5Y.js +118 -0
- package/cdn/chunks/chunk.UMS57BRH.js +28 -0
- package/cdn/chunks/chunk.US7MEO3T.js +24 -0
- package/cdn/chunks/chunk.UXNBW664.js +11 -0
- package/cdn/chunks/chunk.V35WR5OJ.js +11 -0
- package/cdn/chunks/chunk.V4DE7N2N.js +302 -0
- package/cdn/chunks/chunk.V4W3G6BQ.js +29 -0
- package/cdn/chunks/chunk.V4WK33BA.js +11 -0
- package/cdn/chunks/chunk.V6BWOKR3.js +21 -0
- package/cdn/chunks/chunk.V7KC3VJS.js +28 -0
- package/cdn/chunks/chunk.VCFGDJIV.js +11 -0
- package/cdn/chunks/chunk.VD3UWQ7K.js +25 -0
- package/cdn/chunks/chunk.VGQMV2A5.js +11 -0
- package/cdn/chunks/chunk.VUQ3O6ZO.js +26 -0
- package/cdn/chunks/chunk.VZV7YL3P.js +79 -0
- package/cdn/chunks/chunk.W3B35NGL.js +21 -0
- package/cdn/chunks/chunk.WG45N2GR.js +11 -0
- package/cdn/chunks/chunk.WGROJTCR.js +25 -0
- package/cdn/chunks/chunk.WKZI3WTY.js +158 -0
- package/cdn/chunks/chunk.WMLOXTSS.js +131 -0
- package/cdn/chunks/chunk.WTB7HVHT.js +21 -0
- package/cdn/chunks/chunk.WW3SBVGF.js +11 -0
- package/cdn/chunks/chunk.WYDKDGNR.js +11 -0
- package/cdn/chunks/chunk.X7AFBYQV.js +29 -0
- package/cdn/chunks/chunk.XKRE5JJO.js +255 -0
- package/cdn/chunks/chunk.XLWDKVJI.js +103 -0
- package/cdn/chunks/chunk.XTXV76WQ.js +29 -0
- package/cdn/chunks/chunk.XY7ZDMEJ.js +24 -0
- package/cdn/chunks/chunk.XZRZTPLD.js +11 -0
- package/cdn/chunks/chunk.YDVM27WK.js +28 -0
- package/cdn/chunks/chunk.YFRKEJ45.js +75 -0
- package/cdn/chunks/chunk.YGE6OCUH.js +36 -0
- package/cdn/chunks/chunk.YINZT6YC.js +95 -0
- package/cdn/chunks/chunk.YQMWKNTM.js +26 -0
- package/cdn/chunks/chunk.YQTR5KEY.js +93 -0
- package/cdn/chunks/chunk.YSBMACNG.js +11 -0
- package/cdn/chunks/chunk.ZBCJA323.js +11 -0
- package/cdn/chunks/chunk.ZGK33JLX.js +11 -0
- package/cdn/chunks/chunk.ZHQ25TMS.js +24 -0
- package/cdn/chunks/chunk.ZP57NVO6.js +135 -0
- package/cdn/chunks/chunk.ZXUIDXUO.js +97 -0
- package/cdn/components/alert/alert.component.js +5 -5
- package/cdn/components/alert/alert.js +6 -6
- package/cdn/components/animated-image/animated-image.component.js +3 -3
- package/cdn/components/animated-image/animated-image.js +4 -4
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +4 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +4 -4
- package/cdn/components/button/button.js +5 -5
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/calendar/calendar.component.js +6 -6
- package/cdn/components/calendar/calendar.js +6 -6
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +4 -4
- package/cdn/components/carousel/carousel.js +5 -5
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +3 -3
- package/cdn/components/checkbox/checkbox.js +4 -4
- package/cdn/components/color-picker/color-picker.component.js +14 -14
- package/cdn/components/color-picker/color-picker.js +15 -15
- package/cdn/components/copy-button/copy-button.component.js +5 -5
- package/cdn/components/copy-button/copy-button.js +6 -6
- package/cdn/components/date-panel/date-panel.component.js +10 -10
- package/cdn/components/date-panel/date-panel.js +10 -10
- package/cdn/components/datepicker/datepicker.component.js +14 -14
- package/cdn/components/datepicker/datepicker.js +14 -14
- package/cdn/components/details/details.component.js +3 -3
- package/cdn/components/details/details.js +4 -4
- package/cdn/components/dialog/dialog.component.js +5 -5
- package/cdn/components/dialog/dialog.js +6 -6
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +5 -5
- package/cdn/components/drawer/drawer.js +6 -6
- package/cdn/components/dropdown/dropdown.component.js +3 -3
- package/cdn/components/dropdown/dropdown.js +4 -4
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/image-comparer/image-comparer.component.js +3 -3
- package/cdn/components/image-comparer/image-comparer.js +4 -4
- package/cdn/components/include/include.component.js +3 -3
- package/cdn/components/include/include.js +4 -4
- package/cdn/components/input/input.component.js +3 -3
- package/cdn/components/input/input.js +4 -4
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +6 -6
- package/cdn/components/menu-item/menu-item.js +7 -7
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/nav/nav.component.js +2 -2
- package/cdn/components/nav/nav.js +3 -3
- package/cdn/components/nav-group/nav-group.component.js +2 -2
- package/cdn/components/nav-group/nav-group.js +3 -3
- package/cdn/components/nav-item/nav-item.component.js +2 -2
- package/cdn/components/nav-item/nav-item.js +3 -3
- package/cdn/components/nav-submenu/nav-submenu.component.js +4 -4
- package/cdn/components/nav-submenu/nav-submenu.js +5 -5
- package/cdn/components/option/option.component.js +3 -3
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/custom-select.js +10 -10
- package/cdn/components/pagination/pagination.component.js +11 -11
- package/cdn/components/pagination/pagination.js +11 -11
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +3 -3
- package/cdn/components/radio/radio.js +4 -4
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +4 -4
- package/cdn/components/radio-group/radio-group.js +5 -5
- package/cdn/components/range/range.component.js +2 -2
- package/cdn/components/range/range.js +3 -3
- package/cdn/components/rating/rating.component.js +3 -3
- package/cdn/components/rating/rating.js +4 -4
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/screen/screen.component.js +3 -3
- package/cdn/components/screen/screen.js +4 -4
- package/cdn/components/select/select.component.js +7 -7
- package/cdn/components/select/select.js +8 -8
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +2 -2
- package/cdn/components/split-panel/split-panel.js +3 -3
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +4 -4
- package/cdn/components/tab/tab.js +5 -5
- package/cdn/components/tab-group/tab-group.component.js +5 -5
- package/cdn/components/tab-group/tab-group.js +6 -6
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/table/body-table.js +6 -6
- package/cdn/components/table/col-group.js +2 -2
- package/cdn/components/table/features/col-pining.js +2 -2
- package/cdn/components/table/features/index.js +2 -2
- package/cdn/components/table/head-table.js +25 -25
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +34 -34
- package/cdn/components/table/table.js +35 -35
- package/cdn/components/table/utils.js +1 -1
- package/cdn/components/tag/tag.component.js +4 -4
- package/cdn/components/tag/tag.js +5 -5
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-panel/time-panel.component.js +5 -5
- package/cdn/components/time-panel/time-panel.js +5 -5
- package/cdn/components/timepicker/timepicker.component.js +14 -14
- package/cdn/components/timepicker/timepicker.js +14 -14
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/tree/tree.component.js +8 -8
- package/cdn/components/tree/tree.js +9 -9
- package/cdn/components/tree-item/tree-item.component.js +5 -5
- package/cdn/components/tree-item/tree-item.js +6 -6
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/custom-elements.json +3294 -3294
- package/cdn/react/alert/index.js +6 -6
- package/cdn/react/animated-image/index.js +4 -4
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +4 -4
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +5 -5
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +5 -5
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +4 -4
- package/cdn/react/color-picker/index.js +15 -15
- package/cdn/react/copy-button/index.js +6 -6
- package/cdn/react/date-panel/index.js +11 -11
- package/cdn/react/datepicker/index.js +15 -15
- package/cdn/react/details/index.js +4 -4
- package/cdn/react/dialog/index.js +6 -6
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +6 -6
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/format-bytes/index.js +3 -3
- package/cdn/react/format-date/index.js +3 -3
- package/cdn/react/format-number/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/icon-button/index.js +4 -4
- package/cdn/react/image-comparer/index.js +4 -4
- package/cdn/react/include/index.js +4 -4
- package/cdn/react/index.js +211 -211
- package/cdn/react/input/index.js +4 -4
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +7 -7
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/nav/index.js +3 -3
- package/cdn/react/nav-group/index.js +3 -3
- package/cdn/react/nav-item/index.js +3 -3
- package/cdn/react/nav-submenu/index.js +5 -5
- package/cdn/react/option/index.js +4 -4
- package/cdn/react/pagination/index.js +12 -12
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +4 -4
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +5 -5
- package/cdn/react/range/index.js +3 -3
- package/cdn/react/rating/index.js +4 -4
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/screen/index.js +4 -4
- package/cdn/react/select/index.js +8 -8
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +3 -3
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +5 -5
- package/cdn/react/tab-group/index.js +6 -6
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +35 -35
- package/cdn/react/tag/index.js +5 -5
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/timepicker/index.js +15 -15
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/tree/index.js +9 -9
- package/cdn/react/tree-item/index.js +6 -6
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/shoelace.js +202 -202
- package/cdn/types/vue/index.d.ts +399 -399
- package/cdn/vscode.html-custom-data.json +295 -295
- package/cdn/web-types.json +618 -618
- package/dist/chunks/chunk.2AGMSWQ3.js +24 -0
- package/dist/chunks/chunk.2AKPKESP.js +25 -0
- package/dist/chunks/chunk.2B6SZPSB.js +11 -0
- package/dist/chunks/chunk.2G5BRIZO.js +25 -0
- package/dist/chunks/chunk.2GEKAE7B.js +21 -0
- package/dist/chunks/chunk.2HWAAINE.js +24 -0
- package/dist/chunks/chunk.2I5NSDA3.js +50 -0
- package/dist/chunks/chunk.2JBERLVD.js +42 -0
- package/dist/chunks/chunk.2KIO3HAG.js +25 -0
- package/dist/chunks/chunk.2SLZZQYM.js +192 -0
- package/dist/chunks/chunk.2XKG643M.js +11 -0
- package/dist/chunks/chunk.2XVFEHSO.js +361 -0
- package/dist/chunks/chunk.3MHYIUMZ.js +11 -0
- package/dist/chunks/chunk.3MI6FFND.js +280 -0
- package/dist/chunks/chunk.3OVZFWLQ.js +90 -0
- package/dist/chunks/chunk.3U2YGNEM.js +11 -0
- package/dist/chunks/chunk.3W5WAOJN.js +28 -0
- package/dist/chunks/chunk.4BSHT5OM.js +119 -0
- package/dist/chunks/chunk.4RHTPUKV.js +11 -0
- package/dist/chunks/chunk.4UGGBC4S.js +75 -0
- package/dist/chunks/chunk.4WIX2IJQ.js +26 -0
- package/dist/chunks/chunk.566J3G5O.js +28 -0
- package/dist/chunks/chunk.5AHQNL5Y.js +55 -0
- package/dist/chunks/chunk.5BXLFKDP.js +27 -0
- package/dist/chunks/chunk.5VMZZO5N.js +151 -0
- package/dist/chunks/chunk.5WEDPOQM.js +24 -0
- package/dist/chunks/chunk.6AWZT2DL.js +132 -0
- package/dist/chunks/chunk.6D337CRO.js +11 -0
- package/dist/chunks/chunk.6IWPS33G.js +11 -0
- package/dist/chunks/chunk.6QHPFU7W.js +11 -0
- package/dist/chunks/chunk.77DZUVS6.js +24 -0
- package/dist/chunks/chunk.7DCG5NJM.js +11 -0
- package/dist/chunks/chunk.7ENY6KCX.js +25 -0
- package/dist/chunks/chunk.7G3P2HOV.js +73 -0
- package/dist/chunks/chunk.7IZ4S4JF.js +263 -0
- package/dist/chunks/chunk.7N2XFSOU.js +29 -0
- package/dist/chunks/chunk.7UEZE5SE.js +63 -0
- package/dist/chunks/chunk.7ZZ53HWP.js +11 -0
- package/dist/chunks/chunk.A236XJNK.js +437 -0
- package/dist/chunks/chunk.ACFWV6JZ.js +91 -0
- package/dist/chunks/chunk.AQLIAUBR.js +28 -0
- package/dist/chunks/chunk.AVNQQS4Q.js +21 -0
- package/dist/chunks/chunk.BJEARW3E.js +28 -0
- package/dist/chunks/chunk.BS32CM5D.js +80 -0
- package/dist/chunks/chunk.BU33S5IX.js +117 -0
- package/dist/chunks/chunk.BU7CS7DG.js +24 -0
- package/dist/chunks/chunk.BUKXV23V.js +24 -0
- package/dist/chunks/chunk.BZBOJSAW.js +11 -0
- package/dist/chunks/chunk.C3KTGA3N.js +11 -0
- package/dist/chunks/chunk.CC7B3VFN.js +11 -0
- package/dist/chunks/chunk.CD3W4OKL.js +231 -0
- package/dist/chunks/chunk.CDENJSIL.js +25 -0
- package/dist/chunks/chunk.CDMX7FSB.js +45 -0
- package/dist/chunks/chunk.CFUHD4SV.js +21 -0
- package/dist/chunks/chunk.CHQ55Z57.js +29 -0
- package/dist/chunks/chunk.CK6OV2BK.js +338 -0
- package/dist/chunks/chunk.CLEZ2AZE.js +100 -0
- package/dist/chunks/chunk.CSVWI6Y4.js +25 -0
- package/dist/chunks/chunk.CUYJVL7R.js +35 -0
- package/dist/chunks/chunk.CW3SMEMO.js +111 -0
- package/dist/chunks/chunk.CWIT4JOL.js +11 -0
- package/dist/chunks/chunk.CXUTYTWH.js +294 -0
- package/dist/chunks/chunk.CYJU5GS7.js +11 -0
- package/dist/chunks/chunk.D3Y3WW77.js +25 -0
- package/dist/chunks/chunk.DHQWUNZ7.js +26 -0
- package/dist/chunks/chunk.DPPHNIDC.js +11 -0
- package/dist/chunks/chunk.DUMLPWIL.js +24 -0
- package/dist/chunks/chunk.DW7HAH5F.js +21 -0
- package/dist/chunks/chunk.DZMRFWYF.js +11 -0
- package/dist/chunks/chunk.E65L7RMX.js +21 -0
- package/dist/chunks/chunk.EBJFB5ED.js +28 -0
- package/dist/chunks/chunk.EGMPNGE4.js +27 -0
- package/dist/chunks/chunk.EI4X2NZZ.js +11 -0
- package/dist/chunks/chunk.EJY3J7NW.js +134 -0
- package/dist/chunks/chunk.ETW3CARH.js +85 -0
- package/dist/chunks/chunk.EUHALBSG.js +27 -0
- package/dist/chunks/chunk.EYXJPF4T.js +11 -0
- package/dist/chunks/chunk.F2BIKL72.js +34 -0
- package/dist/chunks/chunk.F5KDDEGG.js +21 -0
- package/dist/chunks/chunk.FF3JSJKT.js +747 -0
- package/dist/chunks/chunk.FJD2BLEJ.js +494 -0
- package/dist/chunks/chunk.FSGF5W6S.js +21 -0
- package/dist/chunks/chunk.FZHUM3HC.js +11 -0
- package/dist/chunks/chunk.G22CZGOK.js +21 -0
- package/dist/chunks/chunk.G2XPKRQD.js +11 -0
- package/dist/chunks/chunk.GGK2EW5V.js +59 -0
- package/dist/chunks/chunk.GJADB4CF.js +11 -0
- package/dist/chunks/chunk.GJBMOBND.js +21 -0
- package/dist/chunks/chunk.GN44I7UO.js +24 -0
- package/dist/chunks/chunk.GQGC3KU4.js +371 -0
- package/dist/chunks/chunk.H2B2ZHRX.js +67 -0
- package/dist/chunks/chunk.H4H7GWLL.js +814 -0
- package/dist/chunks/chunk.H5R4TGZH.js +11 -0
- package/dist/chunks/chunk.HTFHWJM3.js +328 -0
- package/dist/chunks/chunk.HTHEA36S.js +21 -0
- package/dist/chunks/chunk.I7A23GA6.js +29 -0
- package/dist/chunks/chunk.I7LLE46P.js +11 -0
- package/dist/chunks/chunk.I7MYJ6T7.js +21 -0
- package/dist/chunks/chunk.IGD3XHBJ.js +11 -0
- package/dist/chunks/chunk.INHRT4XX.js +252 -0
- package/dist/chunks/chunk.J76YHVQV.js +11 -0
- package/dist/chunks/chunk.JEHBPENY.js +11 -0
- package/dist/chunks/chunk.JEIRYLA7.js +11 -0
- package/dist/chunks/chunk.JGOR72YW.js +11 -0
- package/dist/chunks/chunk.JI646VQW.js +21 -0
- package/dist/chunks/chunk.JPBXGFR4.js +180 -0
- package/dist/chunks/chunk.JRE3XEGV.js +96 -0
- package/dist/chunks/chunk.K5UHBRBV.js +11 -0
- package/dist/chunks/chunk.KFD6SN4C.js +11 -0
- package/dist/chunks/chunk.KIRCNHCN.js +11 -0
- package/dist/chunks/chunk.KKZQFBSH.js +306 -0
- package/dist/chunks/chunk.KUH7IHNM.js +21 -0
- package/dist/chunks/chunk.L2GNETEW.js +52 -0
- package/dist/chunks/chunk.L3EQKDDD.js +22 -0
- package/dist/chunks/chunk.LDYNEEPR.js +25 -0
- package/dist/chunks/chunk.LHEMCYGN.js +21 -0
- package/dist/chunks/chunk.LI6FEX4U.js +11 -0
- package/dist/chunks/chunk.LJNA7HKE.js +384 -0
- package/dist/chunks/chunk.LKK2PFM6.js +11 -0
- package/dist/chunks/chunk.LO3Y3SC3.js +21 -0
- package/dist/chunks/chunk.LOQEZNOO.js +11 -0
- package/dist/chunks/chunk.LS6NLVX5.js +247 -0
- package/dist/chunks/chunk.LZYWPESL.js +11 -0
- package/dist/chunks/chunk.MBBHJ5GO.js +337 -0
- package/dist/chunks/chunk.MEBOP6MN.js +11 -0
- package/dist/chunks/chunk.MHS3FJGV.js +11 -0
- package/dist/chunks/chunk.MJJGFKLO.js +21 -0
- package/dist/chunks/chunk.MRGIVQTT.js +949 -0
- package/dist/chunks/chunk.MU5AZVCP.js +227 -0
- package/dist/chunks/chunk.NNXYAEOE.js +311 -0
- package/dist/chunks/chunk.NPS3ESCM.js +126 -0
- package/dist/chunks/chunk.O4XNLUHD.js +24 -0
- package/dist/chunks/chunk.OMKHV7Q2.js +37 -0
- package/dist/chunks/chunk.OSQ3CCFF.js +214 -0
- package/dist/chunks/chunk.OUNPBRRD.js +22 -0
- package/dist/chunks/chunk.OVX7KABZ.js +113 -0
- package/dist/chunks/chunk.OX3TLBRT.js +11 -0
- package/dist/chunks/chunk.PAX76REB.js +27 -0
- package/dist/chunks/chunk.PKSNYBHX.js +448 -0
- package/dist/chunks/chunk.PLFXQQK7.js +27 -0
- package/dist/chunks/chunk.PNOWRX3O.js +21 -0
- package/dist/chunks/chunk.PQ5ZAUZQ.js +11 -0
- package/dist/chunks/chunk.Q4TW2YVD.js +568 -0
- package/dist/chunks/chunk.Q4TZCBZJ.js +109 -0
- package/dist/chunks/chunk.Q5QQPLBB.js +11 -0
- package/dist/chunks/chunk.QANQXALU.js +126 -0
- package/dist/chunks/chunk.QDH4YEPH.js +11 -0
- package/dist/chunks/chunk.QHUOTUN2.js +147 -0
- package/dist/chunks/chunk.QIBAK7JU.js +11 -0
- package/dist/chunks/chunk.QMGJ4MAM.js +11 -0
- package/dist/chunks/chunk.QMXUTF42.js +29 -0
- package/dist/chunks/chunk.QP55ES4D.js +21 -0
- package/dist/chunks/chunk.QYMPK63A.js +21 -0
- package/dist/chunks/chunk.QYPMCDLQ.js +75 -0
- package/dist/chunks/chunk.R7KBW4QU.js +213 -0
- package/dist/chunks/chunk.RAQSRVTG.js +293 -0
- package/dist/chunks/chunk.RB2I5S6R.js +26 -0
- package/dist/chunks/chunk.RCY5ZNAO.js +25 -0
- package/dist/chunks/chunk.RILCHLUW.js +11 -0
- package/dist/chunks/chunk.RRE67WPJ.js +25 -0
- package/dist/chunks/chunk.RS5RBPPC.js +24 -0
- package/dist/chunks/chunk.RXBN6NOS.js +27 -0
- package/dist/chunks/chunk.RXIN2NBH.js +11 -0
- package/dist/chunks/chunk.RXL26ZVA.js +21 -0
- package/dist/chunks/chunk.S3KIYD3N.js +119 -0
- package/dist/chunks/chunk.SWBDS6VT.js +21 -0
- package/dist/chunks/chunk.SZGU5QMS.js +46 -0
- package/dist/chunks/chunk.T5EH4HRM.js +28 -0
- package/dist/chunks/chunk.T6LQGRUO.js +11 -0
- package/dist/chunks/chunk.T75MXKKM.js +11 -0
- package/dist/chunks/chunk.TJEPUVRV.js +25 -0
- package/dist/chunks/chunk.TJTYBIR7.js +181 -0
- package/dist/chunks/chunk.TN7PWYQP.js +315 -0
- package/dist/chunks/chunk.TNW2T6C3.js +550 -0
- package/dist/chunks/chunk.TS6C6XE6.js +11 -0
- package/dist/chunks/chunk.TVTYAME6.js +24 -0
- package/dist/chunks/chunk.U3TBBNK7.js +11 -0
- package/dist/chunks/chunk.U3UMKL2C.js +277 -0
- package/dist/chunks/chunk.UCPVFXHQ.js +33 -0
- package/dist/chunks/chunk.UCRIUDWV.js +24 -0
- package/dist/chunks/chunk.UFZ64NW7.js +286 -0
- package/dist/chunks/chunk.UJBLG2EM.js +45 -0
- package/dist/chunks/chunk.USK5EGSO.js +11 -0
- package/dist/chunks/chunk.UTRX2GAS.js +11 -0
- package/dist/chunks/chunk.UU4BKVCO.js +21 -0
- package/dist/chunks/chunk.UUFFPP2C.js +397 -0
- package/dist/chunks/chunk.VCKKWWX5.js +11 -0
- package/dist/chunks/chunk.VFO6XX4A.js +93 -0
- package/dist/chunks/chunk.VP6N43AR.js +11 -0
- package/dist/chunks/chunk.VSR2VRYO.js +11 -0
- package/dist/chunks/chunk.VWUHLZYU.js +167 -0
- package/dist/chunks/chunk.W4CK4MNF.js +11 -0
- package/dist/chunks/chunk.W5XOGECB.js +135 -0
- package/dist/chunks/chunk.W6WWCEDK.js +11 -0
- package/dist/chunks/chunk.WLIH7OTH.js +116 -0
- package/dist/chunks/chunk.WYGWB63T.js +11 -0
- package/dist/chunks/chunk.XLVA5ZEI.js +11 -0
- package/dist/chunks/chunk.XSTUR5XW.js +503 -0
- package/dist/chunks/chunk.XSZIVLXG.js +21 -0
- package/dist/chunks/chunk.XWFL7NJJ.js +11 -0
- package/dist/chunks/chunk.Y4XGHZNT.js +100 -0
- package/dist/chunks/chunk.Y55XZF3E.js +11 -0
- package/dist/chunks/chunk.YCYQBXZ6.js +1056 -0
- package/dist/chunks/chunk.YETPLLCY.js +114 -0
- package/dist/chunks/chunk.YFHUR4GU.js +21 -0
- package/dist/chunks/chunk.YPHENAEZ.js +417 -0
- package/dist/chunks/chunk.Z5BUSFRU.js +24 -0
- package/dist/chunks/chunk.Z73U3F6N.js +11 -0
- package/dist/chunks/chunk.ZABCFN7Q.js +21 -0
- package/dist/chunks/chunk.ZO3NUUSF.js +274 -0
- package/dist/chunks/chunk.ZUEFDSKK.js +11 -0
- package/dist/chunks/chunk.ZYEU5MVF.js +11 -0
- package/dist/components/alert/alert.component.js +4 -4
- package/dist/components/alert/alert.js +5 -5
- package/dist/components/animated-image/animated-image.component.js +3 -3
- package/dist/components/animated-image/animated-image.js +4 -4
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +3 -3
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +4 -4
- package/dist/components/button/button.js +5 -5
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.js +6 -6
- package/dist/components/calendar/calendar.js +6 -6
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +4 -4
- package/dist/components/carousel/carousel.js +5 -5
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/color-picker/color-picker.component.js +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 +9 -9
- package/dist/components/date-panel/date-panel.js +9 -9
- package/dist/components/datepicker/datepicker.component.js +13 -13
- package/dist/components/datepicker/datepicker.js +13 -13
- package/dist/components/details/details.component.js +3 -3
- package/dist/components/details/details.js +4 -4
- package/dist/components/dialog/dialog.component.js +4 -4
- package/dist/components/dialog/dialog.js +5 -5
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +4 -4
- package/dist/components/drawer/drawer.js +5 -5
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image-comparer/image-comparer.component.js +3 -3
- package/dist/components/image-comparer/image-comparer.js +4 -4
- package/dist/components/include/include.component.js +3 -3
- package/dist/components/include/include.js +4 -4
- package/dist/components/input/input.component.js +3 -3
- package/dist/components/input/input.js +4 -4
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +6 -6
- package/dist/components/menu-item/menu-item.js +7 -7
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/nav/nav.component.js +2 -2
- package/dist/components/nav/nav.js +3 -3
- package/dist/components/nav-group/nav-group.component.js +2 -2
- package/dist/components/nav-group/nav-group.js +3 -3
- package/dist/components/nav-item/nav-item.component.js +2 -2
- package/dist/components/nav-item/nav-item.js +3 -3
- package/dist/components/nav-submenu/nav-submenu.component.js +4 -4
- package/dist/components/nav-submenu/nav-submenu.js +5 -5
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/pagination/custom-select.js +10 -10
- package/dist/components/pagination/pagination.component.js +11 -11
- package/dist/components/pagination/pagination.js +11 -11
- 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 +2 -2
- package/dist/components/range/range.js +3 -3
- package/dist/components/rating/rating.component.js +3 -3
- package/dist/components/rating/rating.js +4 -4
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/screen/screen.component.js +3 -3
- package/dist/components/screen/screen.js +4 -4
- package/dist/components/select/select.component.js +6 -6
- package/dist/components/select/select.js +7 -7
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +4 -4
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.component.js +5 -5
- package/dist/components/tab-group/tab-group.js +6 -6
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +6 -6
- package/dist/components/table/col-group.js +2 -2
- package/dist/components/table/features/col-pining.js +2 -2
- package/dist/components/table/features/index.js +2 -2
- package/dist/components/table/head-table.js +24 -24
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +33 -33
- package/dist/components/table/table.js +34 -34
- package/dist/components/table/utils.js +1 -1
- package/dist/components/tag/tag.component.js +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-panel/time-panel.component.js +5 -5
- package/dist/components/time-panel/time-panel.js +5 -5
- package/dist/components/timepicker/timepicker.component.js +13 -13
- package/dist/components/timepicker/timepicker.js +13 -13
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +8 -8
- package/dist/components/tree/tree.js +9 -9
- package/dist/components/tree-item/tree-item.component.js +5 -5
- package/dist/components/tree-item/tree-item.js +6 -6
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +3294 -3294
- package/dist/react/alert/index.js +5 -5
- package/dist/react/animated-image/index.js +4 -4
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +4 -4
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +5 -5
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +5 -5
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +4 -4
- package/dist/react/color-picker/index.js +14 -14
- package/dist/react/copy-button/index.js +6 -6
- package/dist/react/date-panel/index.js +10 -10
- package/dist/react/datepicker/index.js +14 -14
- package/dist/react/details/index.js +4 -4
- package/dist/react/dialog/index.js +5 -5
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +5 -5
- package/dist/react/dropdown/index.js +4 -4
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/icon/index.js +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image-comparer/index.js +4 -4
- package/dist/react/include/index.js +4 -4
- package/dist/react/index.js +209 -209
- package/dist/react/input/index.js +4 -4
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +7 -7
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +3 -3
- package/dist/react/nav-group/index.js +3 -3
- package/dist/react/nav-item/index.js +3 -3
- package/dist/react/nav-submenu/index.js +5 -5
- package/dist/react/option/index.js +4 -4
- package/dist/react/pagination/index.js +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 +3 -3
- package/dist/react/rating/index.js +4 -4
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/screen/index.js +4 -4
- package/dist/react/select/index.js +7 -7
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +5 -5
- package/dist/react/tab-group/index.js +6 -6
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +34 -34
- package/dist/react/tag/index.js +5 -5
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/timepicker/index.js +14 -14
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +9 -9
- package/dist/react/tree-item/index.js +6 -6
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/shoelace.js +199 -199
- package/dist/types/vue/index.d.ts +399 -399
- package/dist/vscode.html-custom-data.json +295 -295
- package/dist/web-types.json +618 -618
- package/package.json +1 -1
- package/cdn/chunks/chunk.23WX4IIK.js +0 -26
- package/cdn/chunks/chunk.2F6BH5VZ.js +0 -48
- package/cdn/chunks/chunk.2FVW6KTS.js +0 -24
- package/cdn/chunks/chunk.2GQXLKH2.js +0 -11
- package/cdn/chunks/chunk.2M63QR5H.js +0 -137
- package/cdn/chunks/chunk.2YDZBONK.js +0 -36
- package/cdn/chunks/chunk.33GIVBCX.js +0 -186
- package/cdn/chunks/chunk.33HCVHKR.js +0 -402
- package/cdn/chunks/chunk.3BBWICYY.js +0 -11
- package/cdn/chunks/chunk.3ROPEJ6A.js +0 -11
- package/cdn/chunks/chunk.3ZKAIQC3.js +0 -257
- package/cdn/chunks/chunk.4E6VVZLR.js +0 -113
- package/cdn/chunks/chunk.4HEFI3TR.js +0 -21
- package/cdn/chunks/chunk.4ITOXMOC.js +0 -50
- package/cdn/chunks/chunk.4M63ZPLF.js +0 -7180
- package/cdn/chunks/chunk.4OO66AUH.js +0 -11
- package/cdn/chunks/chunk.4PCTXN2L.js +0 -11
- package/cdn/chunks/chunk.4S76P34M.js +0 -11
- package/cdn/chunks/chunk.4UU2AHNM.js +0 -11
- package/cdn/chunks/chunk.4WYLYP2R.js +0 -2654
- package/cdn/chunks/chunk.4XZRAY4I.js +0 -1925
- package/cdn/chunks/chunk.535UQ7PU.js +0 -11
- package/cdn/chunks/chunk.5DULFYC5.js +0 -11
- package/cdn/chunks/chunk.5IST66LN.js +0 -21
- package/cdn/chunks/chunk.5LQPJK4T.js +0 -25
- package/cdn/chunks/chunk.5QBHYHI5.js +0 -11
- package/cdn/chunks/chunk.5TFURW2T.js +0 -11
- package/cdn/chunks/chunk.5TSM4VI7.js +0 -236
- package/cdn/chunks/chunk.5VRD66ML.js +0 -24
- package/cdn/chunks/chunk.62BUAYEN.js +0 -158
- package/cdn/chunks/chunk.6BPAJGHW.js +0 -37
- package/cdn/chunks/chunk.6F2FLYOW.js +0 -21
- package/cdn/chunks/chunk.6F6QUINY.js +0 -21
- package/cdn/chunks/chunk.6US6F6S3.js +0 -120
- package/cdn/chunks/chunk.6ZIXSOPR.js +0 -21
- package/cdn/chunks/chunk.6ZKNFZGQ.js +0 -63
- package/cdn/chunks/chunk.7GZEZ2Y5.js +0 -11
- package/cdn/chunks/chunk.7QQEWD4L.js +0 -21
- package/cdn/chunks/chunk.7R6STMVQ.js +0 -24
- package/cdn/chunks/chunk.AJ2OYLPL.js +0 -87
- package/cdn/chunks/chunk.AQBMDC3E.js +0 -11
- package/cdn/chunks/chunk.AVRLZDY5.js +0 -21
- package/cdn/chunks/chunk.BWF6NN7L.js +0 -336
- package/cdn/chunks/chunk.BXTUASYQ.js +0 -29
- package/cdn/chunks/chunk.BY6KFH73.js +0 -11
- package/cdn/chunks/chunk.C6IEKD4A.js +0 -216
- package/cdn/chunks/chunk.CL5YXDWF.js +0 -28
- package/cdn/chunks/chunk.CMFW5LOK.js +0 -367
- package/cdn/chunks/chunk.CPLLGC7O.js +0 -137
- package/cdn/chunks/chunk.CREPJYOR.js +0 -21
- package/cdn/chunks/chunk.D36AO6T3.js +0 -11
- package/cdn/chunks/chunk.DJGGJMPC.js +0 -21
- package/cdn/chunks/chunk.DKPXHODS.js +0 -11
- package/cdn/chunks/chunk.DLXIAJ2V.js +0 -11
- package/cdn/chunks/chunk.DMYOWHYC.js +0 -11
- package/cdn/chunks/chunk.DRGDUTKF.js +0 -11
- package/cdn/chunks/chunk.DSLJYWB4.js +0 -21
- package/cdn/chunks/chunk.E25NP5SO.js +0 -11
- package/cdn/chunks/chunk.EAUOUIX4.js +0 -67
- package/cdn/chunks/chunk.ED24VHRA.js +0 -586
- package/cdn/chunks/chunk.ED2UP6WZ.js +0 -11
- package/cdn/chunks/chunk.EDBLN2VQ.js +0 -25
- package/cdn/chunks/chunk.EGHXUYMK.js +0 -510
- package/cdn/chunks/chunk.EJFHWZ3C.js +0 -11
- package/cdn/chunks/chunk.ELRVTLCB.js +0 -21
- package/cdn/chunks/chunk.EN2D7JQA.js +0 -11
- package/cdn/chunks/chunk.EXK5T256.js +0 -21
- package/cdn/chunks/chunk.EZNWAXFF.js +0 -11
- package/cdn/chunks/chunk.FBR4Q63N.js +0 -25
- package/cdn/chunks/chunk.FEW45SGJ.js +0 -24
- package/cdn/chunks/chunk.FG7FIJ4A.js +0 -255
- package/cdn/chunks/chunk.FHQ6SOQJ.js +0 -103
- package/cdn/chunks/chunk.FQCV7DYK.js +0 -291
- package/cdn/chunks/chunk.G7UJGWHN.js +0 -21
- package/cdn/chunks/chunk.GCDL523E.js +0 -391
- package/cdn/chunks/chunk.GDDL2ZQP.js +0 -379
- package/cdn/chunks/chunk.GETMDTK6.js +0 -314
- package/cdn/chunks/chunk.GI23BFSO.js +0 -11
- package/cdn/chunks/chunk.GL362K25.js +0 -11
- package/cdn/chunks/chunk.GO57DLFX.js +0 -1058
- package/cdn/chunks/chunk.GPQH7V6M.js +0 -26
- package/cdn/chunks/chunk.GQX7LPK4.js +0 -5845
- package/cdn/chunks/chunk.GRX55RH2.js +0 -177
- package/cdn/chunks/chunk.HDWRDDWI.js +0 -73
- package/cdn/chunks/chunk.HGQHIEUA.js +0 -11
- package/cdn/chunks/chunk.HKBYSRKH.js +0 -724
- package/cdn/chunks/chunk.HLG4GWMI.js +0 -21
- package/cdn/chunks/chunk.HMNFR2UP.js +0 -42
- package/cdn/chunks/chunk.HOOU7UNX.js +0 -127
- package/cdn/chunks/chunk.HP5EQBJI.js +0 -1990
- package/cdn/chunks/chunk.I7F4TU4S.js +0 -11
- package/cdn/chunks/chunk.ICXEJ5NW.js +0 -142
- package/cdn/chunks/chunk.IIKXCPWN.js +0 -11
- package/cdn/chunks/chunk.IMYUHA7A.js +0 -95
- package/cdn/chunks/chunk.IX2EEYGP.js +0 -24
- package/cdn/chunks/chunk.IXXY6EMT.js +0 -130
- package/cdn/chunks/chunk.JFJGWT5X.js +0 -11
- package/cdn/chunks/chunk.JPJQNOE3.js +0 -11
- package/cdn/chunks/chunk.JVMLLWDE.js +0 -11
- package/cdn/chunks/chunk.JYAK756K.js +0 -27
- package/cdn/chunks/chunk.K56PLL3U.js +0 -153
- package/cdn/chunks/chunk.KBJCVKVV.js +0 -29
- package/cdn/chunks/chunk.KEVRKCI3.js +0 -11
- package/cdn/chunks/chunk.KF4JUKBH.js +0 -11
- package/cdn/chunks/chunk.KGZ7SQSK.js +0 -26
- package/cdn/chunks/chunk.KOQK2UQV.js +0 -123
- package/cdn/chunks/chunk.KWYJUC6D.js +0 -279
- package/cdn/chunks/chunk.KZ22B4H2.js +0 -93
- package/cdn/chunks/chunk.L636OJ7W.js +0 -28
- package/cdn/chunks/chunk.L7ESWREN.js +0 -219
- package/cdn/chunks/chunk.LH37CC6N.js +0 -82
- package/cdn/chunks/chunk.LHJA5GEJ.js +0 -233
- package/cdn/chunks/chunk.LIHFS4YL.js +0 -822
- package/cdn/chunks/chunk.LOTHJHHC.js +0 -27
- package/cdn/chunks/chunk.M564KY5J.js +0 -11
- package/cdn/chunks/chunk.MARNMIR3.js +0 -11
- package/cdn/chunks/chunk.MCVJD4TI.js +0 -11
- package/cdn/chunks/chunk.MKWDM3XY.js +0 -27
- package/cdn/chunks/chunk.MR4WVQXP.js +0 -135
- package/cdn/chunks/chunk.MUIYRTUD.js +0 -28
- package/cdn/chunks/chunk.N2BWLT5M.js +0 -79
- package/cdn/chunks/chunk.N4TFCEDA.js +0 -11
- package/cdn/chunks/chunk.N5UQGXF5.js +0 -28
- package/cdn/chunks/chunk.N6IGVEXW.js +0 -54
- package/cdn/chunks/chunk.NHTFPAPK.js +0 -97
- package/cdn/chunks/chunk.NLD3CJ2O.js +0 -11
- package/cdn/chunks/chunk.NNBPVQ3D.js +0 -24
- package/cdn/chunks/chunk.NNEFB3JX.js +0 -25
- package/cdn/chunks/chunk.NSDCQFXI.js +0 -24
- package/cdn/chunks/chunk.NYGQJUAI.js +0 -111
- package/cdn/chunks/chunk.NYJEK2IL.js +0 -24
- package/cdn/chunks/chunk.O4QAGFOM.js +0 -25
- package/cdn/chunks/chunk.OE7W3DLA.js +0 -28
- package/cdn/chunks/chunk.OELR5RX6.js +0 -11
- package/cdn/chunks/chunk.OFZH2C6Q.js +0 -299
- package/cdn/chunks/chunk.OJNHFZFI.js +0 -11
- package/cdn/chunks/chunk.OQC5PZVQ.js +0 -271
- package/cdn/chunks/chunk.OYPNUBXO.js +0 -21
- package/cdn/chunks/chunk.P6BV3EX3.js +0 -24
- package/cdn/chunks/chunk.P6XVSHPE.js +0 -455
- package/cdn/chunks/chunk.P7GNMMSW.js +0 -27
- package/cdn/chunks/chunk.PCCSA6OV.js +0 -11
- package/cdn/chunks/chunk.PDSZA3NP.js +0 -21
- package/cdn/chunks/chunk.PJYXONJJ.js +0 -11
- package/cdn/chunks/chunk.PPJJBFF4.js +0 -11
- package/cdn/chunks/chunk.PQV3XRTK.js +0 -75
- package/cdn/chunks/chunk.Q6XHH6QC.js +0 -29
- package/cdn/chunks/chunk.QA2FJSHX.js +0 -266
- package/cdn/chunks/chunk.QD43L3QY.js +0 -29
- package/cdn/chunks/chunk.QT5V3QPK.js +0 -11
- package/cdn/chunks/chunk.QXNCQNDR.js +0 -49
- package/cdn/chunks/chunk.R4NWL2KS.js +0 -24
- package/cdn/chunks/chunk.R6JWTZZK.js +0 -27
- package/cdn/chunks/chunk.RBQAAD2J.js +0 -118
- package/cdn/chunks/chunk.RCCQJPZS.js +0 -25
- package/cdn/chunks/chunk.RHPZC6GF.js +0 -27
- package/cdn/chunks/chunk.RI75IJR5.js +0 -11
- package/cdn/chunks/chunk.RTPVXMFH.js +0 -11
- package/cdn/chunks/chunk.RUCVRRD2.js +0 -21
- package/cdn/chunks/chunk.RVTVMACR.js +0 -11
- package/cdn/chunks/chunk.S7NFFKPD.js +0 -11
- package/cdn/chunks/chunk.SJNTLIDF.js +0 -21
- package/cdn/chunks/chunk.SMQMGR25.js +0 -25
- package/cdn/chunks/chunk.SO4NNE4G.js +0 -11
- package/cdn/chunks/chunk.SQQ7ETBT.js +0 -21
- package/cdn/chunks/chunk.TAV4D7VV.js +0 -11
- package/cdn/chunks/chunk.TDVD67IW.js +0 -24
- package/cdn/chunks/chunk.TE7YSKAA.js +0 -21
- package/cdn/chunks/chunk.TH32XAJZ.js +0 -502
- package/cdn/chunks/chunk.TNKASOE5.js +0 -33
- package/cdn/chunks/chunk.TPPDV5GY.js +0 -21
- package/cdn/chunks/chunk.TSM6P6WK.js +0 -11
- package/cdn/chunks/chunk.TTE3RW6X.js +0 -11
- package/cdn/chunks/chunk.TV4BBYZZ.js +0 -21
- package/cdn/chunks/chunk.U3EP43KI.js +0 -27
- package/cdn/chunks/chunk.UBEFQ5SQ.js +0 -55
- package/cdn/chunks/chunk.UFGMX3XH.js +0 -28
- package/cdn/chunks/chunk.UKEYLVHN.js +0 -21
- package/cdn/chunks/chunk.UKKAD4IJ.js +0 -302
- package/cdn/chunks/chunk.UKS2GT4S.js +0 -11
- package/cdn/chunks/chunk.UW2F6UPY.js +0 -334
- package/cdn/chunks/chunk.UW7KXJNU.js +0 -313
- package/cdn/chunks/chunk.V2IAOEIJ.js +0 -21
- package/cdn/chunks/chunk.V6QY3NB5.js +0 -113
- package/cdn/chunks/chunk.VGEIUGHU.js +0 -24
- package/cdn/chunks/chunk.VJEWHPOO.js +0 -122
- package/cdn/chunks/chunk.VQ6A4KVQ.js +0 -24
- package/cdn/chunks/chunk.VQZN3VF4.js +0 -77
- package/cdn/chunks/chunk.W3R2LWJ2.js +0 -49
- package/cdn/chunks/chunk.W5TDEUTT.js +0 -25
- package/cdn/chunks/chunk.WACRJU63.js +0 -346
- package/cdn/chunks/chunk.WB7R5MZO.js +0 -11
- package/cdn/chunks/chunk.WDV5PM2Q.js +0 -25
- package/cdn/chunks/chunk.WRCIQWGB.js +0 -11
- package/cdn/chunks/chunk.WRQAWFOS.js +0 -11
- package/cdn/chunks/chunk.WUCNRQR2.js +0 -11
- package/cdn/chunks/chunk.WWQQYRTC.js +0 -342
- package/cdn/chunks/chunk.X4GBQOQN.js +0 -11
- package/cdn/chunks/chunk.XB6H2JAW.js +0 -197
- package/cdn/chunks/chunk.XCQWFE6U.js +0 -11
- package/cdn/chunks/chunk.XEJLVA7W.js +0 -11
- package/cdn/chunks/chunk.XOO4HRZU.js +0 -114
- package/cdn/chunks/chunk.XSHHGP57.js +0 -292
- package/cdn/chunks/chunk.YBUA67DG.js +0 -24
- package/cdn/chunks/chunk.YFUVB5JK.js +0 -11
- package/cdn/chunks/chunk.YMCRK2WA.js +0 -21
- package/cdn/chunks/chunk.YSD4CRJR.js +0 -574
- package/cdn/chunks/chunk.YWJXPHLW.js +0 -24
- package/cdn/chunks/chunk.YX664DDU.js +0 -282
- package/cdn/chunks/chunk.ZCZ26FJE.js +0 -11
- package/cdn/chunks/chunk.ZGIEOFJ3.js +0 -25
- package/cdn/chunks/chunk.ZJU3XDMM.js +0 -11
- package/dist/chunks/chunk.27CAO2WY.js +0 -28
- package/dist/chunks/chunk.2ANYYJDB.js +0 -22
- package/dist/chunks/chunk.2BTEDRNT.js +0 -11
- package/dist/chunks/chunk.2I3UOM2Y.js +0 -25
- package/dist/chunks/chunk.2R5AP4PT.js +0 -371
- package/dist/chunks/chunk.3EVQBFEF.js +0 -417
- package/dist/chunks/chunk.3N5TNFZE.js +0 -113
- package/dist/chunks/chunk.3O2ZAWRN.js +0 -11
- package/dist/chunks/chunk.3SQA2NPF.js +0 -11
- package/dist/chunks/chunk.45F4OUGN.js +0 -96
- package/dist/chunks/chunk.46RNQAVZ.js +0 -24
- package/dist/chunks/chunk.4C5EWVQA.js +0 -147
- package/dist/chunks/chunk.4FG5MP7E.js +0 -181
- package/dist/chunks/chunk.4UTPMO5J.js +0 -11
- package/dist/chunks/chunk.5AVBROC7.js +0 -25
- package/dist/chunks/chunk.5SWE2TKS.js +0 -100
- package/dist/chunks/chunk.5VEVKL5Z.js +0 -93
- package/dist/chunks/chunk.5VGVDAC3.js +0 -80
- package/dist/chunks/chunk.63AR3LCX.js +0 -11
- package/dist/chunks/chunk.65SWTFEH.js +0 -338
- package/dist/chunks/chunk.67P7OKOD.js +0 -11
- package/dist/chunks/chunk.6B33ESGD.js +0 -21
- package/dist/chunks/chunk.6BPAJGHW.js +0 -37
- package/dist/chunks/chunk.6ETBKQ67.js +0 -73
- package/dist/chunks/chunk.6K3SBMWI.js +0 -21
- package/dist/chunks/chunk.6RHSUPZ4.js +0 -135
- package/dist/chunks/chunk.74UZI6MB.js +0 -11
- package/dist/chunks/chunk.7A5RDYHB.js +0 -21
- package/dist/chunks/chunk.7A6RUEOP.js +0 -63
- package/dist/chunks/chunk.7DRTYVWG.js +0 -27
- package/dist/chunks/chunk.7JOVR2EA.js +0 -25
- package/dist/chunks/chunk.7PZSXHJK.js +0 -231
- package/dist/chunks/chunk.7UI4EO3S.js +0 -116
- package/dist/chunks/chunk.7ZIIY6WW.js +0 -24
- package/dist/chunks/chunk.7ZP7HD7M.js +0 -550
- package/dist/chunks/chunk.A5QKINZS.js +0 -111
- package/dist/chunks/chunk.A7XGUTBO.js +0 -814
- package/dist/chunks/chunk.AA6JYI52.js +0 -28
- package/dist/chunks/chunk.AGIKKQWV.js +0 -24
- package/dist/chunks/chunk.AKAMCQ35.js +0 -132
- package/dist/chunks/chunk.AX7A3TMU.js +0 -21
- package/dist/chunks/chunk.B36WUI3P.js +0 -24
- package/dist/chunks/chunk.B7BCUVF5.js +0 -91
- package/dist/chunks/chunk.BEAXM65Y.js +0 -11
- package/dist/chunks/chunk.BGAOXRYS.js +0 -24
- package/dist/chunks/chunk.BGV3JLGD.js +0 -306
- package/dist/chunks/chunk.BT3IVBNL.js +0 -11
- package/dist/chunks/chunk.BYYLDQAW.js +0 -27
- package/dist/chunks/chunk.C3IQZ3QU.js +0 -27
- package/dist/chunks/chunk.C5L4ZKSW.js +0 -21
- package/dist/chunks/chunk.C6MVGHHV.js +0 -21
- package/dist/chunks/chunk.C6ZITJ7J.js +0 -11
- package/dist/chunks/chunk.CBS5R35Z.js +0 -11
- package/dist/chunks/chunk.CIJACHTX.js +0 -192
- package/dist/chunks/chunk.CZ5CZSHJ.js +0 -21
- package/dist/chunks/chunk.D2ALMOVG.js +0 -11
- package/dist/chunks/chunk.D2B5TMBH.js +0 -24
- package/dist/chunks/chunk.D2HTCBDV.js +0 -28
- package/dist/chunks/chunk.D4DHWAPW.js +0 -21
- package/dist/chunks/chunk.DACAH5V4.js +0 -67
- package/dist/chunks/chunk.DAGWKTJ3.js +0 -21
- package/dist/chunks/chunk.DDQ2YNYS.js +0 -11
- package/dist/chunks/chunk.DFHK6AXP.js +0 -11
- package/dist/chunks/chunk.DFM5TOGZ.js +0 -24
- package/dist/chunks/chunk.DLVEHT6T.js +0 -35
- package/dist/chunks/chunk.DNWIIWHB.js +0 -29
- package/dist/chunks/chunk.DSTAA2LN.js +0 -21
- package/dist/chunks/chunk.DWZZOQAO.js +0 -22
- package/dist/chunks/chunk.E7FUKHCA.js +0 -280
- package/dist/chunks/chunk.EE7OR5ZV.js +0 -28
- package/dist/chunks/chunk.EFANNIAX.js +0 -501
- package/dist/chunks/chunk.ENBWH4YM.js +0 -328
- package/dist/chunks/chunk.ESXW3HGE.js +0 -119
- package/dist/chunks/chunk.ETP3Z47A.js +0 -21
- package/dist/chunks/chunk.EW3SB3JX.js +0 -315
- package/dist/chunks/chunk.EYP7N2GI.js +0 -21
- package/dist/chunks/chunk.F2DTBEM6.js +0 -25
- package/dist/chunks/chunk.F37QAM3X.js +0 -34
- package/dist/chunks/chunk.F4FIAUYQ.js +0 -11
- package/dist/chunks/chunk.F526NNJ7.js +0 -100
- package/dist/chunks/chunk.F55EWCUL.js +0 -52
- package/dist/chunks/chunk.FAIR7ZLB.js +0 -11
- package/dist/chunks/chunk.FCK4DHC6.js +0 -50
- package/dist/chunks/chunk.FDXKOEYC.js +0 -444
- package/dist/chunks/chunk.FGGHZJHD.js +0 -11
- package/dist/chunks/chunk.FH6HU3TJ.js +0 -29
- package/dist/chunks/chunk.FHZLYJ7H.js +0 -11
- package/dist/chunks/chunk.FIVKTUOJ.js +0 -738
- package/dist/chunks/chunk.FWTYDXC5.js +0 -11
- package/dist/chunks/chunk.FXPO4GRV.js +0 -11
- package/dist/chunks/chunk.GCJ6K5EI.js +0 -21
- package/dist/chunks/chunk.GEKMBNLB.js +0 -227
- package/dist/chunks/chunk.GVDYPTE6.js +0 -108
- package/dist/chunks/chunk.GYMZFBKQ.js +0 -21
- package/dist/chunks/chunk.HNLTILQL.js +0 -24
- package/dist/chunks/chunk.HPOC4CDW.js +0 -274
- package/dist/chunks/chunk.HRISZKCY.js +0 -11
- package/dist/chunks/chunk.HS4WDML7.js +0 -25
- package/dist/chunks/chunk.HSDGB6VT.js +0 -29
- package/dist/chunks/chunk.HUWQZTJS.js +0 -11
- package/dist/chunks/chunk.I65ZJJUJ.js +0 -11
- package/dist/chunks/chunk.IDUXZIWD.js +0 -11
- package/dist/chunks/chunk.IPQGRX5Y.js +0 -286
- package/dist/chunks/chunk.ISXBJOWZ.js +0 -949
- package/dist/chunks/chunk.IVBA4STO.js +0 -26
- package/dist/chunks/chunk.J5Z3MMJA.js +0 -11
- package/dist/chunks/chunk.JGVFJLYW.js +0 -11
- package/dist/chunks/chunk.JKMZKEKQ.js +0 -27
- package/dist/chunks/chunk.JL2TZDEG.js +0 -11
- package/dist/chunks/chunk.JLB2MD35.js +0 -21
- package/dist/chunks/chunk.JOXCBGLB.js +0 -11
- package/dist/chunks/chunk.JRAVB43A.js +0 -27
- package/dist/chunks/chunk.JVEC6U7Q.js +0 -21
- package/dist/chunks/chunk.K7LDLQY6.js +0 -11
- package/dist/chunks/chunk.KOJOKR3G.js +0 -26
- package/dist/chunks/chunk.L2OOPUMP.js +0 -117
- package/dist/chunks/chunk.LJ7XEI5K.js +0 -24
- package/dist/chunks/chunk.LKQY7XWY.js +0 -293
- package/dist/chunks/chunk.LV3SFAIR.js +0 -134
- package/dist/chunks/chunk.LWWASERC.js +0 -247
- package/dist/chunks/chunk.LX4OQWJE.js +0 -85
- package/dist/chunks/chunk.M3O3G7U7.js +0 -46
- package/dist/chunks/chunk.M6YXAFOU.js +0 -21
- package/dist/chunks/chunk.M7SY65QP.js +0 -214
- package/dist/chunks/chunk.MN6YR3FC.js +0 -174
- package/dist/chunks/chunk.MP5S62BQ.js +0 -24
- package/dist/chunks/chunk.MQTZGVQC.js +0 -11
- package/dist/chunks/chunk.MVX4T6YW.js +0 -11
- package/dist/chunks/chunk.MWEQR4PV.js +0 -311
- package/dist/chunks/chunk.MWZE6QFU.js +0 -29
- package/dist/chunks/chunk.MZ3VGQTC.js +0 -11
- package/dist/chunks/chunk.N6YBAJST.js +0 -337
- package/dist/chunks/chunk.NIET4WDR.js +0 -21
- package/dist/chunks/chunk.NJO2X5AJ.js +0 -11
- package/dist/chunks/chunk.NKRWRM75.js +0 -11
- package/dist/chunks/chunk.NLNGXVHU.js +0 -11
- package/dist/chunks/chunk.NQIFXCK4.js +0 -11
- package/dist/chunks/chunk.NWCCTEYD.js +0 -21
- package/dist/chunks/chunk.NXBCJFOG.js +0 -119
- package/dist/chunks/chunk.O6TH37K3.js +0 -11
- package/dist/chunks/chunk.O7Z5E3EE.js +0 -21
- package/dist/chunks/chunk.OGBFUVUQ.js +0 -11
- package/dist/chunks/chunk.OHMIEXBK.js +0 -59
- package/dist/chunks/chunk.OJSCWHEP.js +0 -11
- package/dist/chunks/chunk.OQMSL7DX.js +0 -33
- package/dist/chunks/chunk.ORWUGWZH.js +0 -11
- package/dist/chunks/chunk.PBPPZ2MK.js +0 -252
- package/dist/chunks/chunk.PJSMHPAF.js +0 -11
- package/dist/chunks/chunk.PKTQG65O.js +0 -25
- package/dist/chunks/chunk.PNTCG2IC.js +0 -11
- package/dist/chunks/chunk.PPZFBRTA.js +0 -11
- package/dist/chunks/chunk.PRGGJCNJ.js +0 -11
- package/dist/chunks/chunk.PVO3A4II.js +0 -11
- package/dist/chunks/chunk.PZTB35EW.js +0 -75
- package/dist/chunks/chunk.QCWUDPZF.js +0 -26
- package/dist/chunks/chunk.QPIANCBU.js +0 -126
- package/dist/chunks/chunk.QQS47AAN.js +0 -25
- package/dist/chunks/chunk.QUEVSO7U.js +0 -28
- package/dist/chunks/chunk.RETGKMAB.js +0 -11
- package/dist/chunks/chunk.RL3SUI4A.js +0 -11
- package/dist/chunks/chunk.RU2OFHHK.js +0 -448
- package/dist/chunks/chunk.RVED3QP3.js +0 -125
- package/dist/chunks/chunk.RZIN3JXU.js +0 -11
- package/dist/chunks/chunk.S632BJPH.js +0 -263
- package/dist/chunks/chunk.SF6FGUCP.js +0 -11
- package/dist/chunks/chunk.SFMM7FSW.js +0 -11
- package/dist/chunks/chunk.SHMJHIA3.js +0 -11
- package/dist/chunks/chunk.SHNX4K27.js +0 -11
- package/dist/chunks/chunk.SKCRDFMA.js +0 -24
- package/dist/chunks/chunk.SVREM4GW.js +0 -494
- package/dist/chunks/chunk.SYIFIRPM.js +0 -24
- package/dist/chunks/chunk.SZVFOJPZ.js +0 -11
- package/dist/chunks/chunk.T272OB6C.js +0 -24
- package/dist/chunks/chunk.T2JSCPSE.js +0 -21
- package/dist/chunks/chunk.TB3SF74U.js +0 -568
- package/dist/chunks/chunk.THEKMTXT.js +0 -11
- package/dist/chunks/chunk.TJA2C3UG.js +0 -45
- package/dist/chunks/chunk.TQPRO7MK.js +0 -27
- package/dist/chunks/chunk.TT3XJXDP.js +0 -11
- package/dist/chunks/chunk.TTGNTQ4Q.js +0 -361
- package/dist/chunks/chunk.TY7ZAVOX.js +0 -1056
- package/dist/chunks/chunk.U4A23QZQ.js +0 -213
- package/dist/chunks/chunk.U5B2XCTR.js +0 -45
- package/dist/chunks/chunk.UBEFQ5SQ.js +0 -55
- package/dist/chunks/chunk.UI7O6SO3.js +0 -25
- package/dist/chunks/chunk.UJ6PDFWZ.js +0 -28
- package/dist/chunks/chunk.UNBYHWGI.js +0 -167
- package/dist/chunks/chunk.UOQLVORX.js +0 -397
- package/dist/chunks/chunk.UVJY6KLK.js +0 -21
- package/dist/chunks/chunk.V2ZTEHDU.js +0 -11
- package/dist/chunks/chunk.V5IKJSIP.js +0 -11
- package/dist/chunks/chunk.V7W3I3NS.js +0 -294
- package/dist/chunks/chunk.VKCGMSAZ.js +0 -90
- package/dist/chunks/chunk.VRNGQRX4.js +0 -384
- package/dist/chunks/chunk.VVPVWY4N.js +0 -75
- package/dist/chunks/chunk.W6JUTZTP.js +0 -11
- package/dist/chunks/chunk.WK2QKP3A.js +0 -42
- package/dist/chunks/chunk.WLLMG6V4.js +0 -25
- package/dist/chunks/chunk.WNKSKO35.js +0 -25
- package/dist/chunks/chunk.WO6LGHBG.js +0 -11
- package/dist/chunks/chunk.X56YRKLT.js +0 -21
- package/dist/chunks/chunk.XA6LZ3CP.js +0 -21
- package/dist/chunks/chunk.XEFYOQ4T.js +0 -277
- package/dist/chunks/chunk.XFLYLBM7.js +0 -11
- package/dist/chunks/chunk.XGGTHF7X.js +0 -11
- package/dist/chunks/chunk.XND5Q7FK.js +0 -25
- package/dist/chunks/chunk.Y27GLNCV.js +0 -21
- package/dist/chunks/chunk.YD7RQMAR.js +0 -11
- package/dist/chunks/chunk.YUTQSXJK.js +0 -151
- package/dist/chunks/chunk.Z2OWT5NW.js +0 -109
- package/dist/chunks/chunk.Z3PZY7SX.js +0 -11
- package/dist/chunks/chunk.Z4IE5BCD.js +0 -11
|
@@ -0,0 +1,949 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SlVisuallyHidden
|
|
3
|
+
} from "./chunk.OUNPBRRD.js";
|
|
4
|
+
import {
|
|
5
|
+
drag
|
|
6
|
+
} from "./chunk.ESELY2US.js";
|
|
7
|
+
import {
|
|
8
|
+
SlDropdown
|
|
9
|
+
} from "./chunk.LJNA7HKE.js";
|
|
10
|
+
import {
|
|
11
|
+
SlInput
|
|
12
|
+
} from "./chunk.FJD2BLEJ.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
|
+
SlButton
|
|
21
|
+
} from "./chunk.RAQSRVTG.js";
|
|
22
|
+
import {
|
|
23
|
+
FormControlController
|
|
24
|
+
} from "./chunk.WBWPWG4N.js";
|
|
25
|
+
import {
|
|
26
|
+
SlButtonGroup
|
|
27
|
+
} from "./chunk.ACFWV6JZ.js";
|
|
28
|
+
import {
|
|
29
|
+
clamp
|
|
30
|
+
} from "./chunk.HF7GESMZ.js";
|
|
31
|
+
import {
|
|
32
|
+
LocalizeController
|
|
33
|
+
} from "./chunk.6CTB5ZDJ.js";
|
|
34
|
+
import {
|
|
35
|
+
SlIcon
|
|
36
|
+
} from "./chunk.TJTYBIR7.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.JRE3XEGV.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
|
+
};
|