@cordwainer/cw-elements 1.4.0-alpha.1 → 1.4.0
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.27OCCINH.js +11 -0
- package/cdn/chunks/chunk.2HHSDXBG.js +367 -0
- package/cdn/chunks/chunk.2RAKW6SE.js +11 -0
- package/cdn/chunks/chunk.2XD5QXVP.js +11 -0
- package/cdn/chunks/chunk.32A6X5HV.js +11 -0
- package/cdn/chunks/chunk.32VWOR5X.js +21 -0
- package/cdn/chunks/chunk.3HSPGFHD.js +1990 -0
- package/cdn/chunks/chunk.3JUWBOFV.js +25 -0
- package/cdn/chunks/chunk.3MM5OAO5.js +21 -0
- package/cdn/chunks/chunk.3Q5EU3WI.js +11 -0
- package/cdn/chunks/chunk.3ZCK73JE.js +114 -0
- package/cdn/chunks/chunk.4BCBTTEW.js +21 -0
- package/cdn/chunks/chunk.4G2FYI4F.js +844 -0
- package/cdn/chunks/chunk.4ILAC7LP.js +24 -0
- package/cdn/chunks/chunk.4P543D6E.js +11 -0
- package/cdn/chunks/chunk.54RSHWW6.js +29 -0
- package/cdn/chunks/chunk.54Y6WT2Q.js +724 -0
- package/cdn/chunks/chunk.5HVLQUKJ.js +33 -0
- package/cdn/chunks/chunk.5OZMYNLV.js +11 -0
- package/cdn/chunks/chunk.5T5GS4XK.js +11 -0
- package/cdn/chunks/chunk.6IV5RB7V.js +11 -0
- package/cdn/chunks/chunk.6LIUDJHC.js +267 -0
- package/cdn/chunks/chunk.6SBJBJZJ.js +11 -0
- package/cdn/chunks/chunk.6SVRRS3L.js +28 -0
- package/cdn/chunks/chunk.6W2CBZCZ.js +21 -0
- package/cdn/chunks/chunk.6WQ5EROA.js +26 -0
- package/cdn/chunks/chunk.75JO2FQC.js +91 -0
- package/cdn/chunks/chunk.76VM2WHP.js +11 -0
- package/cdn/chunks/chunk.77V3OC72.js +11 -0
- package/cdn/chunks/chunk.7ILIQXGA.js +103 -0
- package/cdn/chunks/chunk.7Q5HMTGM.js +82 -0
- package/cdn/chunks/chunk.A3QLPAAV.js +11 -0
- package/cdn/chunks/chunk.A73FGCJK.js +11 -0
- package/cdn/chunks/chunk.A76WECTG.js +24 -0
- package/cdn/chunks/chunk.ACRX2TQU.js +29 -0
- package/cdn/chunks/chunk.AHHCAQLE.js +75 -0
- package/cdn/chunks/chunk.AIIABWOO.js +28 -0
- package/cdn/chunks/chunk.APVKXK5N.js +11 -0
- package/cdn/chunks/chunk.ATPR7XM4.js +24 -0
- package/cdn/chunks/chunk.AVMYXOYT.js +142 -0
- package/cdn/chunks/chunk.AWFHDQ2V.js +336 -0
- package/cdn/chunks/chunk.AXGZ2A6D.js +21 -0
- package/cdn/chunks/chunk.AY6TPARD.js +29 -0
- package/cdn/chunks/chunk.AZQI6U52.js +11 -0
- package/cdn/chunks/chunk.B7VY5USP.js +11 -0
- package/cdn/chunks/chunk.BABP2R5R.js +26 -0
- package/cdn/chunks/chunk.BM34EJ2Q.js +11 -0
- package/cdn/chunks/chunk.BNUEIV6Q.js +11 -0
- package/cdn/chunks/chunk.BP7SZZ5D.js +11 -0
- package/cdn/chunks/chunk.BSZI2RJO.js +77 -0
- package/cdn/chunks/chunk.BXQMVJF7.js +21 -0
- package/cdn/chunks/chunk.BYFKVPVG.js +11 -0
- package/cdn/chunks/chunk.BZPAYOSJ.js +11 -0
- package/cdn/chunks/chunk.C3YA4D7G.js +11 -0
- package/cdn/chunks/chunk.C4YLFMS3.js +11 -0
- package/cdn/chunks/chunk.CDJIQDJK.js +21 -0
- package/cdn/chunks/chunk.CLEX5ANH.js +299 -0
- package/cdn/chunks/chunk.CVQS464Q.js +11 -0
- package/cdn/chunks/chunk.D3YOT4ZQ.js +174 -0
- package/cdn/chunks/chunk.D57UKYOE.js +21 -0
- package/cdn/chunks/chunk.D6J2MAWV.js +27 -0
- package/cdn/chunks/chunk.DDCQJWNB.js +11 -0
- package/cdn/chunks/chunk.DHOPPJLD.js +42 -0
- package/cdn/chunks/chunk.DKSE4WS6.js +197 -0
- package/cdn/chunks/chunk.DLKWLYCX.js +11 -0
- package/cdn/chunks/chunk.DVFW3MAH.js +11 -0
- package/cdn/chunks/chunk.E25KNVGW.js +11 -0
- package/cdn/chunks/chunk.E27AUMKA.js +27 -0
- package/cdn/chunks/chunk.E5ZTVYW5.js +27 -0
- package/cdn/chunks/chunk.E72F7IVR.js +45 -0
- package/cdn/chunks/chunk.EAOVRGIU.js +11 -0
- package/cdn/chunks/chunk.EC72L43A.js +1925 -0
- package/cdn/chunks/chunk.EKJQPQWA.js +455 -0
- package/cdn/chunks/chunk.ESUMN7MQ.js +11 -0
- package/cdn/chunks/chunk.FMGJIBVZ.js +11 -0
- package/cdn/chunks/chunk.FMUZMZO5.js +11 -0
- package/cdn/chunks/chunk.FUCRJQZG.js +218 -0
- package/cdn/chunks/chunk.G3A2MF7H.js +231 -0
- package/cdn/chunks/chunk.G4QZ2GSB.js +346 -0
- package/cdn/chunks/chunk.GBY7US5B.js +87 -0
- package/cdn/chunks/chunk.GGI4QBZS.js +21 -0
- package/cdn/chunks/chunk.GRGPVH6T.js +25 -0
- package/cdn/chunks/chunk.GSOPXDPW.js +24 -0
- package/cdn/chunks/chunk.GXZR2XQ6.js +11 -0
- package/cdn/chunks/chunk.GYIXOZLQ.js +11 -0
- package/cdn/chunks/chunk.H3RMWE4H.js +11 -0
- package/cdn/chunks/chunk.H5JPNFIH.js +11 -0
- package/cdn/chunks/chunk.HA72EVYM.js +292 -0
- package/cdn/chunks/chunk.HFV4KVVO.js +11 -0
- package/cdn/chunks/chunk.HKC73VFU.js +97 -0
- package/cdn/chunks/chunk.HKRZ4JXH.js +33 -0
- package/cdn/chunks/chunk.HPQRRIIS.js +21 -0
- package/cdn/chunks/chunk.HWPB7JQS.js +821 -0
- package/cdn/chunks/chunk.I7WESJ7P.js +11 -0
- package/cdn/chunks/chunk.ICT37GHN.js +11 -0
- package/cdn/chunks/chunk.IDV2KM4K.js +21 -0
- package/cdn/chunks/chunk.IGLP2YIB.js +11 -0
- package/cdn/chunks/chunk.IRZQJSDX.js +21 -0
- package/cdn/chunks/chunk.J3ZSIPCC.js +79 -0
- package/cdn/chunks/chunk.JBYQUV7Y.js +27 -0
- package/cdn/chunks/chunk.JCZCEVRR.js +330 -0
- package/cdn/chunks/chunk.JGHNLSTN.js +11 -0
- package/cdn/chunks/chunk.JNNUX6EV.js +24 -0
- package/cdn/chunks/chunk.JPRAJ35J.js +21 -0
- package/cdn/chunks/chunk.JT7AK4LS.js +11 -0
- package/cdn/chunks/chunk.JTN6EUJ5.js +21 -0
- package/cdn/chunks/chunk.K2ALMEPY.js +11 -0
- package/cdn/chunks/chunk.KDH7XQCW.js +11 -0
- package/cdn/chunks/chunk.KN52E635.js +21 -0
- package/cdn/chunks/chunk.KR43TNSL.js +33 -0
- package/cdn/chunks/chunk.KX7CPS5Q.js +969 -0
- package/cdn/chunks/chunk.KXTIDPIB.js +402 -0
- package/cdn/chunks/chunk.L5ST3XP2.js +137 -0
- package/cdn/chunks/chunk.LF7N6ZVG.js +28 -0
- package/cdn/chunks/chunk.LGVNJY6V.js +24 -0
- package/cdn/chunks/chunk.LK75HXBK.js +21 -0
- package/cdn/chunks/chunk.LOPDYTN7.js +21 -0
- package/cdn/chunks/chunk.LW7JZ6VC.js +11 -0
- package/cdn/chunks/chunk.LYZOUEOQ.js +11 -0
- package/cdn/chunks/chunk.M5Z6FJ3C.js +185 -0
- package/cdn/chunks/chunk.MRVJTH7I.js +391 -0
- package/cdn/chunks/chunk.N4HPGVDQ.js +11 -0
- package/cdn/chunks/chunk.N4TJ3JK3.js +11 -0
- package/cdn/chunks/chunk.N5IAWFX2.js +153 -0
- package/cdn/chunks/chunk.NAYOWOP2.js +285 -0
- package/cdn/chunks/chunk.NIPTXUBU.js +279 -0
- package/cdn/chunks/chunk.NLTWVAFO.js +79 -0
- package/cdn/chunks/chunk.NN4EHUXQ.js +11 -0
- package/cdn/chunks/chunk.NONAFM7L.js +27 -0
- package/cdn/chunks/chunk.NXUMO2VA.js +11 -0
- package/cdn/chunks/chunk.O2QTG46Y.js +84 -0
- package/cdn/chunks/chunk.OFVXUAWS.js +24 -0
- package/cdn/chunks/chunk.OHY22V3I.js +21 -0
- package/cdn/chunks/chunk.OLMX2ZCQ.js +25 -0
- package/cdn/chunks/chunk.OUAJ6S66.js +25 -0
- package/cdn/chunks/chunk.OV5YR256.js +236 -0
- package/cdn/chunks/chunk.OWRTOV4N.js +21 -0
- package/cdn/chunks/chunk.P56CUSBI.js +24 -0
- package/cdn/chunks/chunk.PASNO2ES.js +11 -0
- package/cdn/chunks/chunk.PE4T2ZAA.js +29 -0
- package/cdn/chunks/chunk.PE5CGDSQ.js +11 -0
- package/cdn/chunks/chunk.PJYFIVSR.js +233 -0
- package/cdn/chunks/chunk.PUUJ4N6N.js +113 -0
- package/cdn/chunks/chunk.PWF4CXC4.js +11 -0
- package/cdn/chunks/chunk.PXCZHDM3.js +28 -0
- package/cdn/chunks/chunk.Q3LL6TQO.js +11 -0
- package/cdn/chunks/chunk.Q66NEPDW.js +120 -0
- package/cdn/chunks/chunk.QC5K2J7C.js +21 -0
- package/cdn/chunks/chunk.QIEQJX4I.js +24 -0
- package/cdn/chunks/chunk.QLASCS3F.js +24 -0
- package/cdn/chunks/chunk.QM4CZGOX.js +11 -0
- package/cdn/chunks/chunk.QTKXGFRG.js +255 -0
- package/cdn/chunks/chunk.QUFCL44D.js +127 -0
- package/cdn/chunks/chunk.R3JFCVQC.js +11 -0
- package/cdn/chunks/chunk.R6KT3NBZ.js +26 -0
- package/cdn/chunks/chunk.RACRNOTN.js +11 -0
- package/cdn/chunks/chunk.RH7TFOTG.js +67 -0
- package/cdn/chunks/chunk.RIB3ECML.js +63 -0
- package/cdn/chunks/chunk.RIHYAQOT.js +27 -0
- package/cdn/chunks/chunk.RIXT3XPT.js +27 -0
- package/cdn/chunks/chunk.RRKKKIEW.js +186 -0
- package/cdn/chunks/chunk.RVMFTAEH.js +21 -0
- package/cdn/chunks/chunk.RVSAVNL3.js +291 -0
- package/cdn/chunks/chunk.RZ6HFONO.js +25 -0
- package/cdn/chunks/chunk.S2CVN25F.js +49 -0
- package/cdn/chunks/chunk.S4RYOIJE.js +11 -0
- package/cdn/chunks/chunk.S6RPOVH7.js +25 -0
- package/cdn/chunks/chunk.SEJI6U45.js +93 -0
- package/cdn/chunks/chunk.SFKBJC37.js +314 -0
- package/cdn/chunks/chunk.SIMNVUTM.js +120 -0
- package/cdn/chunks/chunk.SOOOKFEV.js +139 -0
- package/cdn/chunks/chunk.SW2NATUI.js +297 -0
- package/cdn/chunks/chunk.SZZGEOMF.js +11 -0
- package/cdn/chunks/chunk.T23JYXDR.js +24 -0
- package/cdn/chunks/chunk.T2IYF3SO.js +499 -0
- package/cdn/chunks/chunk.T62KRWCD.js +21 -0
- package/cdn/chunks/chunk.T6QAQTR6.js +11 -0
- package/cdn/chunks/chunk.TOCHNOXH.js +21 -0
- package/cdn/chunks/chunk.TYWLBDMM.js +24 -0
- package/cdn/chunks/chunk.U2DCWNY4.js +158 -0
- package/cdn/chunks/chunk.U3JH2UDJ.js +21 -0
- package/cdn/chunks/chunk.U6OIFZT3.js +122 -0
- package/cdn/chunks/chunk.U7ZRILCT.js +36 -0
- package/cdn/chunks/chunk.UAD332CS.js +25 -0
- package/cdn/chunks/chunk.UDCI5WUS.js +33 -0
- package/cdn/chunks/chunk.UHMA5JC7.js +11 -0
- package/cdn/chunks/chunk.UJKPMJMX.js +25 -0
- package/cdn/chunks/chunk.UKJLM4SX.js +21 -0
- package/cdn/chunks/chunk.ULI7IPUX.js +11 -0
- package/cdn/chunks/chunk.UPTIHXRN.js +25 -0
- package/cdn/chunks/chunk.UU2AEBFY.js +26 -0
- package/cdn/chunks/chunk.UUFHAESL.js +49 -0
- package/cdn/chunks/chunk.V26CZ7GA.js +378 -0
- package/cdn/chunks/chunk.VAEXASI6.js +11 -0
- package/cdn/chunks/chunk.VLRPWETG.js +24 -0
- package/cdn/chunks/chunk.VPT2H5JM.js +574 -0
- package/cdn/chunks/chunk.VWMLL6LD.js +216 -0
- package/cdn/chunks/chunk.W4MNBOAX.js +11 -0
- package/cdn/chunks/chunk.WEHLVUTU.js +11 -0
- package/cdn/chunks/chunk.WILAHZER.js +21 -0
- package/cdn/chunks/chunk.WJH3S342.js +385 -0
- package/cdn/chunks/chunk.WQHMAN3Y.js +28 -0
- package/cdn/chunks/chunk.X5HVV7XU.js +11 -0
- package/cdn/chunks/chunk.XIKISYIA.js +11 -0
- package/cdn/chunks/chunk.XU7UQMTC.js +114 -0
- package/cdn/chunks/chunk.XUONY7PB.js +21 -0
- package/cdn/chunks/chunk.XWJHCRFD.js +904 -0
- package/cdn/chunks/chunk.XWXUIR5R.js +27 -0
- package/cdn/chunks/chunk.XZWLQWZB.js +11 -0
- package/cdn/chunks/chunk.Y2SDYP2N.js +11 -0
- package/cdn/chunks/chunk.YM5TAKDG.js +302 -0
- package/cdn/chunks/chunk.YPIPMCMQ.js +11 -0
- package/cdn/chunks/chunk.YXQXOYFQ.js +95 -0
- package/cdn/chunks/chunk.Z2Y6XMML.js +73 -0
- package/cdn/chunks/chunk.Z3PNMC6M.js +64 -0
- package/cdn/chunks/chunk.Z6NS2UXW.js +50 -0
- package/cdn/chunks/chunk.ZC2CST2W.js +11 -0
- package/cdn/chunks/chunk.ZFDTO6GI.js +24 -0
- package/cdn/chunks/chunk.ZFI4RZGC.js +11 -0
- package/cdn/chunks/chunk.ZKNBMQ3N.js +21 -0
- package/cdn/components/alert/alert.component.js +4 -4
- package/cdn/components/alert/alert.js +5 -5
- package/cdn/components/animated-image/animated-image.component.js +3 -3
- package/cdn/components/animated-image/animated-image.js +4 -4
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +4 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +4 -4
- package/cdn/components/button/button.js +5 -5
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +3 -3
- package/cdn/components/carousel/carousel.js +4 -4
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +3 -3
- package/cdn/components/checkbox/checkbox.js +4 -4
- package/cdn/components/color-picker/color-picker.component.js +10 -10
- package/cdn/components/color-picker/color-picker.js +11 -11
- package/cdn/components/combobox/combobox.component.js +8 -8
- package/cdn/components/combobox/combobox.js +9 -9
- package/cdn/components/copy-button/copy-button.component.js +5 -5
- package/cdn/components/copy-button/copy-button.js +6 -6
- package/cdn/components/data-table/data-table.component.js +5 -5
- package/cdn/components/data-table/data-table.js +6 -6
- package/cdn/components/data-table-column/data-table-column.component.js +2 -2
- package/cdn/components/data-table-column/data-table-column.js +3 -3
- package/cdn/components/date-picker/date-picker.component.js +5 -5
- package/cdn/components/date-picker/date-picker.js +6 -6
- package/cdn/components/details/details.component.js +3 -3
- package/cdn/components/details/details.js +4 -4
- package/cdn/components/dialog/dialog.component.js +4 -4
- package/cdn/components/dialog/dialog.js +5 -5
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +4 -4
- package/cdn/components/drawer/drawer.js +5 -5
- package/cdn/components/dropdown/dropdown.component.js +3 -3
- package/cdn/components/dropdown/dropdown.js +4 -4
- package/cdn/components/footer/footer.component.js +2 -2
- package/cdn/components/footer/footer.js +3 -3
- 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/header/header.component.js +4 -4
- package/cdn/components/header/header.js +5 -5
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/image-comparer/image-comparer.component.js +3 -3
- package/cdn/components/image-comparer/image-comparer.js +4 -4
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +3 -3
- package/cdn/components/input/input.js +4 -4
- package/cdn/components/logo/logo.component.js +2 -2
- package/cdn/components/logo/logo.js +3 -3
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +5 -5
- package/cdn/components/menu-item/menu-item.js +6 -6
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/option/option.component.js +3 -3
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/pagination.component.js +4 -4
- package/cdn/components/pagination/pagination.js +5 -5
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/primary-navigation/primary-navigation.component.js +3 -3
- package/cdn/components/primary-navigation/primary-navigation.js +4 -4
- package/cdn/components/primary-navigation-item/primary-navigation-item.component.js +5 -5
- package/cdn/components/primary-navigation-item/primary-navigation-item.js +6 -6
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.component.js +2 -2
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +3 -3
- package/cdn/components/radio/radio.js +4 -4
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +3 -3
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/range/range.component.js +2 -2
- package/cdn/components/range/range.js +3 -3
- package/cdn/components/rating/rating.component.js +3 -3
- package/cdn/components/rating/rating.js +4 -4
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/secondary-navigation/secondary-navigation.component.js +4 -4
- package/cdn/components/secondary-navigation/secondary-navigation.js +5 -5
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.component.js +2 -2
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.js +3 -3
- package/cdn/components/select/select.component.js +6 -6
- package/cdn/components/select/select.js +7 -7
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/social-link/social-link.component.js +4 -4
- package/cdn/components/social-link/social-link.js +5 -5
- 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/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-picker/time-picker.component.js +5 -5
- package/cdn/components/time-picker/time-picker.js +6 -6
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/tree/tree.component.js +6 -6
- package/cdn/components/tree/tree.js +7 -7
- 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 +1 -1
- package/cdn/cw-elements.js +154 -154
- package/cdn/react/alert/index.js +5 -5
- package/cdn/react/animated-image/index.js +4 -4
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +4 -4
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +5 -5
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +4 -4
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +4 -4
- package/cdn/react/color-picker/index.js +11 -11
- package/cdn/react/combobox/index.js +9 -9
- package/cdn/react/copy-button/index.js +6 -6
- package/cdn/react/data-table/index.js +6 -6
- package/cdn/react/data-table-column/index.js +3 -3
- package/cdn/react/date-picker/index.js +6 -6
- package/cdn/react/details/index.js +4 -4
- package/cdn/react/dialog/index.js +5 -5
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +5 -5
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/footer/index.js +3 -3
- 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/header/index.js +5 -5
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/icon-button/index.js +4 -4
- package/cdn/react/image-comparer/index.js +4 -4
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.js +156 -156
- package/cdn/react/input/index.js +4 -4
- package/cdn/react/logo/index.js +3 -3
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +6 -6
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/option/index.js +4 -4
- package/cdn/react/pagination/index.js +5 -5
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/primary-navigation/index.js +4 -4
- package/cdn/react/primary-navigation-item/index.js +6 -6
- package/cdn/react/primary-navigation-menu/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +4 -4
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/range/index.js +3 -3
- package/cdn/react/rating/index.js +4 -4
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/secondary-navigation/index.js +5 -5
- package/cdn/react/secondary-navigation-item/index.js +3 -3
- package/cdn/react/select/index.js +7 -7
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/social-link/index.js +5 -5
- 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/tag/index.js +5 -5
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/time-picker/index.js +6 -6
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/tree/index.js +7 -7
- package/cdn/react/tree-item/index.js +6 -6
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/web-types.json +1 -1
- package/dist/chunks/chunk.2BMJERPA.js +33 -0
- package/dist/chunks/chunk.2FT4JEOF.js +25 -0
- package/dist/chunks/chunk.2H4XDCWD.js +25 -0
- package/dist/chunks/chunk.2IXICVD5.js +21 -0
- package/dist/chunks/chunk.2MAB4IHH.js +11 -0
- package/dist/chunks/chunk.34H2VU5P.js +21 -0
- package/dist/chunks/chunk.36ER34ZN.js +337 -0
- package/dist/chunks/chunk.3GJO5ZUH.js +87 -0
- package/dist/chunks/chunk.3TM4I27J.js +21 -0
- package/dist/chunks/chunk.466DEKAV.js +11 -0
- package/dist/chunks/chunk.4CIUXF4V.js +29 -0
- package/dist/chunks/chunk.4EX57VNI.js +11 -0
- package/dist/chunks/chunk.4GGY5LDK.js +11 -0
- package/dist/chunks/chunk.4O2IM4OJ.js +34 -0
- package/dist/chunks/chunk.4PEZN6NV.js +59 -0
- package/dist/chunks/chunk.4Y6NX67B.js +274 -0
- package/dist/chunks/chunk.52WVC6G4.js +28 -0
- package/dist/chunks/chunk.53DZ2XQK.js +11 -0
- package/dist/chunks/chunk.54Q7ADOL.js +11 -0
- package/dist/chunks/chunk.5AMXWI2D.js +384 -0
- package/dist/chunks/chunk.5LHWWDFY.js +11 -0
- package/dist/chunks/chunk.5PK73R5C.js +370 -0
- package/dist/chunks/chunk.5THOUECS.js +397 -0
- package/dist/chunks/chunk.5WSFKGAV.js +21 -0
- package/dist/chunks/chunk.623LXOHJ.js +33 -0
- package/dist/chunks/chunk.65UPXLWM.js +11 -0
- package/dist/chunks/chunk.66OPUERP.js +21 -0
- package/dist/chunks/chunk.6CJIWRKW.js +29 -0
- package/dist/chunks/chunk.6FISLRHO.js +11 -0
- package/dist/chunks/chunk.6KTN7CUH.js +813 -0
- package/dist/chunks/chunk.6LR7EAL3.js +21 -0
- package/dist/chunks/chunk.6OZAGKOF.js +11 -0
- package/dist/chunks/chunk.6ROUEMOB.js +24 -0
- package/dist/chunks/chunk.6SRVHWTJ.js +961 -0
- package/dist/chunks/chunk.6UKVBI63.js +11 -0
- package/dist/chunks/chunk.73U5MMFD.js +45 -0
- package/dist/chunks/chunk.7ANIX2MQ.js +151 -0
- package/dist/chunks/chunk.7IZ4N4YH.js +247 -0
- package/dist/chunks/chunk.7NHJYUTO.js +949 -0
- package/dist/chunks/chunk.7S57CMDD.js +293 -0
- package/dist/chunks/chunk.7TSUXECH.js +323 -0
- package/dist/chunks/chunk.A6CLFXNT.js +100 -0
- package/dist/chunks/chunk.AAF7KACQ.js +33 -0
- package/dist/chunks/chunk.AQEPYDYR.js +45 -0
- package/dist/chunks/chunk.AVIONTMM.js +21 -0
- package/dist/chunks/chunk.AXW6Z776.js +11 -0
- package/dist/chunks/chunk.B2HSNLYA.js +27 -0
- package/dist/chunks/chunk.B3OH3NRH.js +11 -0
- package/dist/chunks/chunk.B6CNYGBP.js +116 -0
- package/dist/chunks/chunk.BAGVTJEG.js +26 -0
- package/dist/chunks/chunk.BB2GZJXN.js +26 -0
- package/dist/chunks/chunk.BB4T4IPU.js +42 -0
- package/dist/chunks/chunk.BBB4HHPT.js +11 -0
- package/dist/chunks/chunk.BDGA743I.js +11 -0
- package/dist/chunks/chunk.BMEX3X2H.js +21 -0
- package/dist/chunks/chunk.BPTNOAAA.js +93 -0
- package/dist/chunks/chunk.C4AISUP3.js +22 -0
- package/dist/chunks/chunk.CCW4R3GF.js +11 -0
- package/dist/chunks/chunk.CTFMKSI3.js +111 -0
- package/dist/chunks/chunk.D3BGAMW7.js +11 -0
- package/dist/chunks/chunk.D6BFXUC6.js +231 -0
- package/dist/chunks/chunk.DCAJ4AAV.js +11 -0
- package/dist/chunks/chunk.DF2RDFRC.js +11 -0
- package/dist/chunks/chunk.DGPMDRA6.js +63 -0
- package/dist/chunks/chunk.DWIQYVEG.js +11 -0
- package/dist/chunks/chunk.E3WUIOYZ.js +21 -0
- package/dist/chunks/chunk.E5YK65DZ.js +11 -0
- package/dist/chunks/chunk.EBM4RYGF.js +21 -0
- package/dist/chunks/chunk.EHCDGUEL.js +85 -0
- package/dist/chunks/chunk.EID3J536.js +21 -0
- package/dist/chunks/chunk.ELYMX7ES.js +11 -0
- package/dist/chunks/chunk.ERCNKBQ5.js +11 -0
- package/dist/chunks/chunk.ERQ6T7B4.js +29 -0
- package/dist/chunks/chunk.ETD7M472.js +11 -0
- package/dist/chunks/chunk.EXG4FZGY.js +25 -0
- package/dist/chunks/chunk.F3A6NQ53.js +26 -0
- package/dist/chunks/chunk.F6OJ34D7.js +11 -0
- package/dist/chunks/chunk.F6UR3K2N.js +62 -0
- package/dist/chunks/chunk.FBHUYUKW.js +11 -0
- package/dist/chunks/chunk.FDD5TIQH.js +29 -0
- package/dist/chunks/chunk.FKBBC4RJ.js +11 -0
- package/dist/chunks/chunk.FSHG5PFQ.js +11 -0
- package/dist/chunks/chunk.FYCTPCZD.js +11 -0
- package/dist/chunks/chunk.FZXDCHYN.js +11 -0
- package/dist/chunks/chunk.G3TGXAXC.js +11 -0
- package/dist/chunks/chunk.GLPFTD6T.js +21 -0
- package/dist/chunks/chunk.GNVXOBE5.js +21 -0
- package/dist/chunks/chunk.GTXUNB2L.js +24 -0
- package/dist/chunks/chunk.GZ4FCB5R.js +11 -0
- package/dist/chunks/chunk.GZJCU5HV.js +227 -0
- package/dist/chunks/chunk.HBY46N2J.js +11 -0
- package/dist/chunks/chunk.HE3ETE5U.js +147 -0
- package/dist/chunks/chunk.HGCDNRVL.js +11 -0
- package/dist/chunks/chunk.HNGLKPMS.js +11 -0
- package/dist/chunks/chunk.HXWVY643.js +550 -0
- package/dist/chunks/chunk.IEAMYQ3R.js +21 -0
- package/dist/chunks/chunk.ILNEGAV2.js +896 -0
- package/dist/chunks/chunk.IQC45QUI.js +33 -0
- package/dist/chunks/chunk.IQVTPH3J.js +11 -0
- package/dist/chunks/chunk.J3AVKOEA.js +75 -0
- package/dist/chunks/chunk.JFK4RYU7.js +27 -0
- package/dist/chunks/chunk.JL2XI5NQ.js +11 -0
- package/dist/chunks/chunk.JLLZ5PKS.js +27 -0
- package/dist/chunks/chunk.JPPJ3ROG.js +491 -0
- package/dist/chunks/chunk.JSBQDUO7.js +11 -0
- package/dist/chunks/chunk.JU5DU6MN.js +67 -0
- package/dist/chunks/chunk.JUVVVFOV.js +11 -0
- package/dist/chunks/chunk.KDVJII6K.js +25 -0
- package/dist/chunks/chunk.KFTVPDZD.js +11 -0
- package/dist/chunks/chunk.KFWLPJCB.js +109 -0
- package/dist/chunks/chunk.KMMFKUHT.js +22 -0
- package/dist/chunks/chunk.KNJETVB6.js +11 -0
- package/dist/chunks/chunk.KQWNZAC3.js +192 -0
- package/dist/chunks/chunk.KW3XFXV5.js +24 -0
- package/dist/chunks/chunk.L26QM3TL.js +25 -0
- package/dist/chunks/chunk.LEDQCUVB.js +21 -0
- package/dist/chunks/chunk.LYCU4PDR.js +117 -0
- package/dist/chunks/chunk.M3U5IBL7.js +286 -0
- package/dist/chunks/chunk.M4SUNR6D.js +225 -0
- package/dist/chunks/chunk.M5PBLXJM.js +213 -0
- package/dist/chunks/chunk.MI4H375R.js +73 -0
- package/dist/chunks/chunk.MPTT2PJI.js +11 -0
- package/dist/chunks/chunk.MPWXBVPE.js +27 -0
- package/dist/chunks/chunk.MZUBXTAX.js +315 -0
- package/dist/chunks/chunk.N7JLVPLU.js +28 -0
- package/dist/chunks/chunk.N7TFWLZR.js +11 -0
- package/dist/chunks/chunk.NBRYQ5GF.js +25 -0
- package/dist/chunks/chunk.NJWLFRVF.js +178 -0
- package/dist/chunks/chunk.NPQEF4IC.js +11 -0
- package/dist/chunks/chunk.NUNJIVJU.js +11 -0
- package/dist/chunks/chunk.NYJJK5U3.js +361 -0
- package/dist/chunks/chunk.OMSMEMCM.js +82 -0
- package/dist/chunks/chunk.OQLFUARG.js +21 -0
- package/dist/chunks/chunk.OQM5JYP7.js +11 -0
- package/dist/chunks/chunk.OQQINPB4.js +25 -0
- package/dist/chunks/chunk.OUB4PDIB.js +11 -0
- package/dist/chunks/chunk.OXWTF5EE.js +11 -0
- package/dist/chunks/chunk.P4LGERJN.js +837 -0
- package/dist/chunks/chunk.P7N5FUDO.js +24 -0
- package/dist/chunks/chunk.P7Q5VFBM.js +311 -0
- package/dist/chunks/chunk.PH4R5BOO.js +11 -0
- package/dist/chunks/chunk.PIMGMZSO.js +24 -0
- package/dist/chunks/chunk.PJMZ5NIK.js +11 -0
- package/dist/chunks/chunk.PP7NGHVL.js +11 -0
- package/dist/chunks/chunk.PT4SU6ET.js +21 -0
- package/dist/chunks/chunk.PXC5TP6C.js +11 -0
- package/dist/chunks/chunk.Q767VHIG.js +11 -0
- package/dist/chunks/chunk.Q7EVTYJD.js +21 -0
- package/dist/chunks/chunk.QNSZUVGZ.js +94 -0
- package/dist/chunks/chunk.QU23MI35.js +21 -0
- package/dist/chunks/chunk.QV4TRFLA.js +119 -0
- package/dist/chunks/chunk.QZ4EKTOA.js +11 -0
- package/dist/chunks/chunk.QZIVY4BE.js +21 -0
- package/dist/chunks/chunk.R5F5Z27Z.js +21 -0
- package/dist/chunks/chunk.RFRBBAW5.js +115 -0
- package/dist/chunks/chunk.RZOERTZ6.js +11 -0
- package/dist/chunks/chunk.S2ZEZSSL.js +24 -0
- package/dist/chunks/chunk.S3ZXEN7L.js +28 -0
- package/dist/chunks/chunk.SCM4CRBO.js +72 -0
- package/dist/chunks/chunk.SEIFFDOK.js +24 -0
- package/dist/chunks/chunk.SKHX4OLU.js +181 -0
- package/dist/chunks/chunk.SNLG4ZRA.js +75 -0
- package/dist/chunks/chunk.SPYKEYM4.js +24 -0
- package/dist/chunks/chunk.SVN2DP27.js +25 -0
- package/dist/chunks/chunk.SXWJKERS.js +11 -0
- package/dist/chunks/chunk.T6EJ5U7T.js +135 -0
- package/dist/chunks/chunk.TNJVKXVC.js +27 -0
- package/dist/chunks/chunk.TOGJN3MY.js +41 -0
- package/dist/chunks/chunk.TQXDNE7W.js +417 -0
- package/dist/chunks/chunk.TSNPHUAB.js +91 -0
- package/dist/chunks/chunk.TUDH5U77.js +11 -0
- package/dist/chunks/chunk.TZ3TRTXB.js +276 -0
- package/dist/chunks/chunk.U5TJE7HP.js +11 -0
- package/dist/chunks/chunk.U5V3DEUR.js +21 -0
- package/dist/chunks/chunk.UC2TRPLH.js +21 -0
- package/dist/chunks/chunk.UIM765ZJ.js +11 -0
- package/dist/chunks/chunk.UVXJKQ5I.js +130 -0
- package/dist/chunks/chunk.V26GADCE.js +11 -0
- package/dist/chunks/chunk.V3AME4RB.js +11 -0
- package/dist/chunks/chunk.VEQM24YZ.js +90 -0
- package/dist/chunks/chunk.VNNPMBM3.js +294 -0
- package/dist/chunks/chunk.VQQLAK7B.js +21 -0
- package/dist/chunks/chunk.VUSPEHUI.js +11 -0
- package/dist/chunks/chunk.VW2OS7OG.js +170 -0
- package/dist/chunks/chunk.W5MX37JI.js +80 -0
- package/dist/chunks/chunk.WCJ4NBIQ.js +24 -0
- package/dist/chunks/chunk.WDRBLDYE.js +25 -0
- package/dist/chunks/chunk.WFBRG7ZL.js +280 -0
- package/dist/chunks/chunk.WTFLYDQ4.js +24 -0
- package/dist/chunks/chunk.WZJVWVZQ.js +27 -0
- package/dist/chunks/chunk.WZPAXFCB.js +11 -0
- package/dist/chunks/chunk.X2LMVHXH.js +11 -0
- package/dist/chunks/chunk.XB4GNWEX.js +134 -0
- package/dist/chunks/chunk.XFR364Z3.js +11 -0
- package/dist/chunks/chunk.XGYSAIQM.js +25 -0
- package/dist/chunks/chunk.XJE47WJD.js +28 -0
- package/dist/chunks/chunk.XQNUL4EJ.js +100 -0
- package/dist/chunks/chunk.XRQ3IBMC.js +50 -0
- package/dist/chunks/chunk.XXWNO7IM.js +109 -0
- package/dist/chunks/chunk.XYQ3HVMB.js +21 -0
- package/dist/chunks/chunk.XZYAVJ2W.js +11 -0
- package/dist/chunks/chunk.Y3CLURLX.js +11 -0
- package/dist/chunks/chunk.YCJE3D2X.js +24 -0
- package/dist/chunks/chunk.YF2ZJFUJ.js +28 -0
- package/dist/chunks/chunk.YOI7NVLU.js +259 -0
- package/dist/chunks/chunk.YQWWYVFC.js +24 -0
- package/dist/chunks/chunk.YUAU367D.js +26 -0
- package/dist/chunks/chunk.YUCR3S65.js +21 -0
- package/dist/chunks/chunk.YWT6CA7I.js +27 -0
- package/dist/chunks/chunk.YXLAG2VU.js +11 -0
- package/dist/chunks/chunk.YXLALHMJ.js +21 -0
- package/dist/chunks/chunk.YYYUHBX4.js +290 -0
- package/dist/chunks/chunk.Z47GB7RO.js +11 -0
- package/dist/chunks/chunk.Z4ZV545W.js +21 -0
- package/dist/chunks/chunk.ZAAEOCUE.js +11 -0
- package/dist/chunks/chunk.ZAQG6SV4.js +448 -0
- package/dist/chunks/chunk.ZQMUEBJQ.js +11 -0
- package/dist/chunks/chunk.ZSXYQZLO.js +11 -0
- package/dist/chunks/chunk.ZWAJEI2C.js +375 -0
- package/dist/chunks/chunk.ZZYGJQ3Q.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/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +3 -3
- package/dist/components/carousel/carousel.js +4 -4
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/color-picker/color-picker.component.js +10 -10
- package/dist/components/color-picker/color-picker.js +11 -11
- package/dist/components/combobox/combobox.component.js +8 -8
- package/dist/components/combobox/combobox.js +9 -9
- package/dist/components/copy-button/copy-button.component.js +5 -5
- package/dist/components/copy-button/copy-button.js +6 -6
- package/dist/components/data-table/data-table.component.js +5 -5
- package/dist/components/data-table/data-table.js +6 -6
- package/dist/components/data-table-column/data-table-column.component.js +2 -2
- package/dist/components/data-table-column/data-table-column.js +3 -3
- package/dist/components/date-picker/date-picker.component.js +5 -5
- package/dist/components/date-picker/date-picker.js +6 -6
- 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/footer/footer.component.js +2 -2
- package/dist/components/footer/footer.js +3 -3
- 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/header/header.component.js +4 -4
- package/dist/components/header/header.js +5 -5
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image-comparer/image-comparer.component.js +3 -3
- package/dist/components/image-comparer/image-comparer.js +4 -4
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +3 -3
- package/dist/components/input/input.js +4 -4
- package/dist/components/logo/logo.component.js +2 -2
- package/dist/components/logo/logo.js +3 -3
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +5 -5
- package/dist/components/menu-item/menu-item.js +6 -6
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/pagination/pagination.component.js +4 -4
- package/dist/components/pagination/pagination.js +5 -5
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/primary-navigation/primary-navigation.component.js +3 -3
- package/dist/components/primary-navigation/primary-navigation.js +4 -4
- package/dist/components/primary-navigation-item/primary-navigation-item.component.js +5 -5
- package/dist/components/primary-navigation-item/primary-navigation-item.js +6 -6
- package/dist/components/primary-navigation-menu/primary-navigation-menu.component.js +2 -2
- package/dist/components/primary-navigation-menu/primary-navigation-menu.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +2 -2
- package/dist/components/range/range.js +3 -3
- package/dist/components/rating/rating.component.js +3 -3
- package/dist/components/rating/rating.js +4 -4
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/secondary-navigation/secondary-navigation.component.js +4 -4
- package/dist/components/secondary-navigation/secondary-navigation.js +5 -5
- package/dist/components/secondary-navigation-item/secondary-navigation-item.component.js +2 -2
- package/dist/components/secondary-navigation-item/secondary-navigation-item.js +3 -3
- package/dist/components/select/select.component.js +6 -6
- package/dist/components/select/select.js +7 -7
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/social-link/social-link.component.js +4 -4
- package/dist/components/social-link/social-link.js +5 -5
- 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/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-picker/time-picker.component.js +5 -5
- package/dist/components/time-picker/time-picker.js +6 -6
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +6 -6
- package/dist/components/tree/tree.js +7 -7
- 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 +1 -1
- package/dist/cw-elements.js +154 -154
- package/dist/react/alert/index.js +5 -5
- package/dist/react/animated-image/index.js +4 -4
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +4 -4
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +5 -5
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +4 -4
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +4 -4
- package/dist/react/color-picker/index.js +11 -11
- package/dist/react/combobox/index.js +9 -9
- package/dist/react/copy-button/index.js +6 -6
- package/dist/react/data-table/index.js +6 -6
- package/dist/react/data-table-column/index.js +3 -3
- package/dist/react/date-picker/index.js +6 -6
- 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/footer/index.js +3 -3
- 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/header/index.js +5 -5
- package/dist/react/icon/index.js +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image-comparer/index.js +4 -4
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.js +156 -156
- package/dist/react/input/index.js +4 -4
- package/dist/react/logo/index.js +3 -3
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +6 -6
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/option/index.js +4 -4
- package/dist/react/pagination/index.js +5 -5
- package/dist/react/popup/index.js +3 -3
- package/dist/react/primary-navigation/index.js +4 -4
- package/dist/react/primary-navigation-item/index.js +6 -6
- package/dist/react/primary-navigation-menu/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +4 -4
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +3 -3
- package/dist/react/rating/index.js +4 -4
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/secondary-navigation/index.js +5 -5
- package/dist/react/secondary-navigation-item/index.js +3 -3
- package/dist/react/select/index.js +7 -7
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/social-link/index.js +5 -5
- 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/tag/index.js +5 -5
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/time-picker/index.js +6 -6
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +7 -7
- package/dist/react/tree-item/index.js +6 -6
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
- package/cdn/chunks/chunk.2GKMM5N5.js +0 -11
- package/cdn/chunks/chunk.2IQVBCSA.js +0 -25
- package/cdn/chunks/chunk.2KIYT5BL.js +0 -25
- package/cdn/chunks/chunk.2PJD3DNN.js +0 -11
- package/cdn/chunks/chunk.32DX3PT5.js +0 -299
- package/cdn/chunks/chunk.36QNXXYR.js +0 -11
- package/cdn/chunks/chunk.3AEOBQD4.js +0 -28
- package/cdn/chunks/chunk.3GVQTZZK.js +0 -279
- package/cdn/chunks/chunk.3LLWOQTM.js +0 -330
- package/cdn/chunks/chunk.3UAQLZIV.js +0 -267
- package/cdn/chunks/chunk.3YP773O6.js +0 -21
- package/cdn/chunks/chunk.3ZG6KWHH.js +0 -285
- package/cdn/chunks/chunk.3ZVTUE2V.js +0 -21
- package/cdn/chunks/chunk.4DXJKZX4.js +0 -11
- package/cdn/chunks/chunk.4PI3UCTC.js +0 -346
- package/cdn/chunks/chunk.4TEZX3PL.js +0 -28
- package/cdn/chunks/chunk.4XCS7HTA.js +0 -97
- package/cdn/chunks/chunk.5A2SF65V.js +0 -844
- package/cdn/chunks/chunk.5BUSABPJ.js +0 -11
- package/cdn/chunks/chunk.5HLNIERP.js +0 -113
- package/cdn/chunks/chunk.5LXCVKIC.js +0 -21
- package/cdn/chunks/chunk.5OX6GF33.js +0 -21
- package/cdn/chunks/chunk.5RJVEX3Y.js +0 -137
- package/cdn/chunks/chunk.5SPAVQM5.js +0 -21
- package/cdn/chunks/chunk.64CDMU3T.js +0 -11
- package/cdn/chunks/chunk.6EX7C3GV.js +0 -336
- package/cdn/chunks/chunk.6HAO5Y3P.js +0 -21
- package/cdn/chunks/chunk.6OY3K5ON.js +0 -11
- package/cdn/chunks/chunk.6RAXE62O.js +0 -25
- package/cdn/chunks/chunk.6VTG5UJL.js +0 -24
- package/cdn/chunks/chunk.72IOJ7RN.js +0 -49
- package/cdn/chunks/chunk.73774HQD.js +0 -153
- package/cdn/chunks/chunk.764B2BCT.js +0 -21
- package/cdn/chunks/chunk.7CMK4F5D.js +0 -64
- package/cdn/chunks/chunk.7F5HIQWV.js +0 -255
- package/cdn/chunks/chunk.7GDATJ3W.js +0 -25
- package/cdn/chunks/chunk.7L443S22.js +0 -120
- package/cdn/chunks/chunk.7P4GIA3G.js +0 -24
- package/cdn/chunks/chunk.7VQZQKR6.js +0 -11
- package/cdn/chunks/chunk.A6T6UTKR.js +0 -21
- package/cdn/chunks/chunk.ACSYMVCX.js +0 -24
- package/cdn/chunks/chunk.AES4367N.js +0 -402
- package/cdn/chunks/chunk.AFT3OAO6.js +0 -79
- package/cdn/chunks/chunk.AIEQUXTB.js +0 -11
- package/cdn/chunks/chunk.AJHVE44N.js +0 -25
- package/cdn/chunks/chunk.AJUWQB35.js +0 -904
- package/cdn/chunks/chunk.AKYDNI3P.js +0 -21
- package/cdn/chunks/chunk.APAUOLAG.js +0 -42
- package/cdn/chunks/chunk.AROIKJTR.js +0 -11
- package/cdn/chunks/chunk.B36QV5YF.js +0 -21
- package/cdn/chunks/chunk.BGZLTQMB.js +0 -24
- package/cdn/chunks/chunk.BIIC4PAX.js +0 -11
- package/cdn/chunks/chunk.BJU6XR2A.js +0 -11
- package/cdn/chunks/chunk.BKHMKJPJ.js +0 -11
- package/cdn/chunks/chunk.BL3OXJR6.js +0 -27
- package/cdn/chunks/chunk.C32CZ27M.js +0 -25
- package/cdn/chunks/chunk.C7IN2Y4T.js +0 -21
- package/cdn/chunks/chunk.CLVTYU4T.js +0 -11
- package/cdn/chunks/chunk.CR7LDGZ5.js +0 -27
- package/cdn/chunks/chunk.CTKO7JGM.js +0 -11
- package/cdn/chunks/chunk.D24PDSJ5.js +0 -21
- package/cdn/chunks/chunk.D43HDS6H.js +0 -11
- package/cdn/chunks/chunk.DF7TPY4O.js +0 -127
- package/cdn/chunks/chunk.DLGRYO5T.js +0 -11
- package/cdn/chunks/chunk.DUJXVWIF.js +0 -11
- package/cdn/chunks/chunk.E5MZ5HJH.js +0 -84
- package/cdn/chunks/chunk.EANDCG3V.js +0 -139
- package/cdn/chunks/chunk.ECTZXY3Z.js +0 -11
- package/cdn/chunks/chunk.EYB55BGH.js +0 -11
- package/cdn/chunks/chunk.F2DFHV6Q.js +0 -197
- package/cdn/chunks/chunk.FAHJISYX.js +0 -33
- package/cdn/chunks/chunk.FAX4LVV7.js +0 -103
- package/cdn/chunks/chunk.FEI2NA2Q.js +0 -50
- package/cdn/chunks/chunk.FGCA7NSJ.js +0 -11
- package/cdn/chunks/chunk.FKNHAJK6.js +0 -11
- package/cdn/chunks/chunk.FO23F5BY.js +0 -21
- package/cdn/chunks/chunk.FT4SV26N.js +0 -391
- package/cdn/chunks/chunk.FW6AUPT3.js +0 -33
- package/cdn/chunks/chunk.FWR7PTE4.js +0 -11
- package/cdn/chunks/chunk.FWZUD5CY.js +0 -75
- package/cdn/chunks/chunk.G4SAO7RS.js +0 -11
- package/cdn/chunks/chunk.GAGDMYOQ.js +0 -11
- package/cdn/chunks/chunk.GCH3JOZK.js +0 -24
- package/cdn/chunks/chunk.GDZJX3R7.js +0 -216
- package/cdn/chunks/chunk.GFVC66J3.js +0 -11
- package/cdn/chunks/chunk.GJCLW3RK.js +0 -24
- package/cdn/chunks/chunk.GMZXT6RY.js +0 -11
- package/cdn/chunks/chunk.GNUXZYV6.js +0 -24
- package/cdn/chunks/chunk.GOMN4ZMA.js +0 -11
- package/cdn/chunks/chunk.GRO73QT5.js +0 -79
- package/cdn/chunks/chunk.H6YKYXD6.js +0 -11
- package/cdn/chunks/chunk.HB3RJYC7.js +0 -11
- package/cdn/chunks/chunk.HCBURJFD.js +0 -25
- package/cdn/chunks/chunk.HHXC735E.js +0 -499
- package/cdn/chunks/chunk.I4BNK2NN.js +0 -11
- package/cdn/chunks/chunk.I5TQCMHV.js +0 -24
- package/cdn/chunks/chunk.IAMV6Q7U.js +0 -25
- package/cdn/chunks/chunk.IFLZPZCG.js +0 -185
- package/cdn/chunks/chunk.IUKC2YC2.js +0 -11
- package/cdn/chunks/chunk.IVU5EWBP.js +0 -11
- package/cdn/chunks/chunk.J3GIGCYZ.js +0 -378
- package/cdn/chunks/chunk.JB354B4L.js +0 -724
- package/cdn/chunks/chunk.JCLVTBCX.js +0 -11
- package/cdn/chunks/chunk.JIVTT6VY.js +0 -11
- package/cdn/chunks/chunk.JMV7J6UW.js +0 -455
- package/cdn/chunks/chunk.JPX2N46Q.js +0 -11
- package/cdn/chunks/chunk.JS6P4G3Y.js +0 -21
- package/cdn/chunks/chunk.JX7UQQ7Y.js +0 -11
- package/cdn/chunks/chunk.K4YY2KMA.js +0 -11
- package/cdn/chunks/chunk.KBQ3GDAG.js +0 -314
- package/cdn/chunks/chunk.KEEEH5PY.js +0 -29
- package/cdn/chunks/chunk.KJ3BEGQF.js +0 -236
- package/cdn/chunks/chunk.KLNB7CNS.js +0 -27
- package/cdn/chunks/chunk.KQ6MVQ46.js +0 -969
- package/cdn/chunks/chunk.KU6OYIEH.js +0 -29
- package/cdn/chunks/chunk.KUVHDDZ2.js +0 -11
- package/cdn/chunks/chunk.LBDOQD5N.js +0 -385
- package/cdn/chunks/chunk.LHNY52JJ.js +0 -11
- package/cdn/chunks/chunk.LKHQ2PKR.js +0 -11
- package/cdn/chunks/chunk.LNBHAOKX.js +0 -29
- package/cdn/chunks/chunk.LNWWRE6T.js +0 -11
- package/cdn/chunks/chunk.LOKX26HE.js +0 -33
- package/cdn/chunks/chunk.LTVMWHZN.js +0 -11
- package/cdn/chunks/chunk.LUY3O2ET.js +0 -11
- package/cdn/chunks/chunk.M5M47RDM.js +0 -367
- package/cdn/chunks/chunk.MADOPXMJ.js +0 -1925
- package/cdn/chunks/chunk.MI3N7DHH.js +0 -11
- package/cdn/chunks/chunk.MKPJPMC2.js +0 -11
- package/cdn/chunks/chunk.MNBYHSGM.js +0 -49
- package/cdn/chunks/chunk.MUGYC6JF.js +0 -21
- package/cdn/chunks/chunk.N2RK2JOR.js +0 -91
- package/cdn/chunks/chunk.N37OWTX3.js +0 -73
- package/cdn/chunks/chunk.N5O5TUAU.js +0 -21
- package/cdn/chunks/chunk.NDLNAPSC.js +0 -28
- package/cdn/chunks/chunk.NERDXA5M.js +0 -63
- package/cdn/chunks/chunk.NIOTH3UO.js +0 -26
- package/cdn/chunks/chunk.NRDEL2HR.js +0 -21
- package/cdn/chunks/chunk.NSADQJHQ.js +0 -11
- package/cdn/chunks/chunk.NXGUJPVH.js +0 -82
- package/cdn/chunks/chunk.NZCSWAZ3.js +0 -11
- package/cdn/chunks/chunk.O64R6OHT.js +0 -122
- package/cdn/chunks/chunk.OBZJU6DF.js +0 -291
- package/cdn/chunks/chunk.OL42M4ZF.js +0 -231
- package/cdn/chunks/chunk.OMX5VCH6.js +0 -11
- package/cdn/chunks/chunk.OYK2IB2F.js +0 -233
- package/cdn/chunks/chunk.OZZLQAS6.js +0 -21
- package/cdn/chunks/chunk.P34I54RQ.js +0 -114
- package/cdn/chunks/chunk.PHB3G2ED.js +0 -1990
- package/cdn/chunks/chunk.PKU5NHTE.js +0 -11
- package/cdn/chunks/chunk.PUZ6IDKT.js +0 -26
- package/cdn/chunks/chunk.Q55YOFVG.js +0 -120
- package/cdn/chunks/chunk.QB3AQREE.js +0 -27
- package/cdn/chunks/chunk.QR2CGRUW.js +0 -21
- package/cdn/chunks/chunk.QYTJH4FH.js +0 -11
- package/cdn/chunks/chunk.QZD7Z7CA.js +0 -24
- package/cdn/chunks/chunk.R2STZEJ6.js +0 -11
- package/cdn/chunks/chunk.R5S5O2U5.js +0 -11
- package/cdn/chunks/chunk.RD4P3ICM.js +0 -11
- package/cdn/chunks/chunk.RP4EWP3W.js +0 -11
- package/cdn/chunks/chunk.RPC6G2CL.js +0 -11
- package/cdn/chunks/chunk.RPPQFRET.js +0 -114
- package/cdn/chunks/chunk.RWQWIHOX.js +0 -11
- package/cdn/chunks/chunk.RZ2TUNSM.js +0 -27
- package/cdn/chunks/chunk.S2BHKCHK.js +0 -11
- package/cdn/chunks/chunk.SB75GE47.js +0 -45
- package/cdn/chunks/chunk.SNZPWYX3.js +0 -11
- package/cdn/chunks/chunk.SOWOGTOE.js +0 -67
- package/cdn/chunks/chunk.TEKD6R3J.js +0 -11
- package/cdn/chunks/chunk.TMA5V7H2.js +0 -87
- package/cdn/chunks/chunk.TMVTBE3P.js +0 -174
- package/cdn/chunks/chunk.TPWVND5J.js +0 -95
- package/cdn/chunks/chunk.TS5EOAFT.js +0 -11
- package/cdn/chunks/chunk.TSJD5MZF.js +0 -821
- package/cdn/chunks/chunk.TSRNGUEO.js +0 -36
- package/cdn/chunks/chunk.TVWYFUSM.js +0 -27
- package/cdn/chunks/chunk.TXGKWUII.js +0 -574
- package/cdn/chunks/chunk.TXPTZZQT.js +0 -11
- package/cdn/chunks/chunk.TYN7J55X.js +0 -26
- package/cdn/chunks/chunk.UAB6LN73.js +0 -11
- package/cdn/chunks/chunk.UEFRSWZR.js +0 -218
- package/cdn/chunks/chunk.UIHRXVN5.js +0 -297
- package/cdn/chunks/chunk.UTRBOB3Z.js +0 -24
- package/cdn/chunks/chunk.UU3OZKDZ.js +0 -21
- package/cdn/chunks/chunk.UUF66ZXZ.js +0 -27
- package/cdn/chunks/chunk.UXRO75JX.js +0 -21
- package/cdn/chunks/chunk.UZCHYKQO.js +0 -11
- package/cdn/chunks/chunk.V6SUJXCI.js +0 -11
- package/cdn/chunks/chunk.VBO27ONO.js +0 -11
- package/cdn/chunks/chunk.VIE2WHCP.js +0 -11
- package/cdn/chunks/chunk.VJTL2IMJ.js +0 -21
- package/cdn/chunks/chunk.VM7RMA4K.js +0 -24
- package/cdn/chunks/chunk.VMSS64H4.js +0 -29
- package/cdn/chunks/chunk.VP6RIJCO.js +0 -11
- package/cdn/chunks/chunk.VRNIJP4W.js +0 -21
- package/cdn/chunks/chunk.VVTYEC6R.js +0 -33
- package/cdn/chunks/chunk.VXWCFVYO.js +0 -11
- package/cdn/chunks/chunk.VZQIASUI.js +0 -24
- package/cdn/chunks/chunk.WDH5RT5F.js +0 -11
- package/cdn/chunks/chunk.WFYQCGCW.js +0 -77
- package/cdn/chunks/chunk.WT2OBPRK.js +0 -24
- package/cdn/chunks/chunk.WWBUYSJ3.js +0 -21
- package/cdn/chunks/chunk.X34UG3WA.js +0 -25
- package/cdn/chunks/chunk.XJYRXN74.js +0 -28
- package/cdn/chunks/chunk.XQ3BM2I5.js +0 -186
- package/cdn/chunks/chunk.XSBBI7XG.js +0 -302
- package/cdn/chunks/chunk.XXEC7I4C.js +0 -11
- package/cdn/chunks/chunk.XZATNLLW.js +0 -27
- package/cdn/chunks/chunk.Y5QL6ZB6.js +0 -21
- package/cdn/chunks/chunk.YNWQJX7X.js +0 -158
- package/cdn/chunks/chunk.YO2MTBFM.js +0 -11
- package/cdn/chunks/chunk.YVQC7AQH.js +0 -93
- package/cdn/chunks/chunk.YW2NPNAW.js +0 -292
- package/cdn/chunks/chunk.Z3XD3Y2V.js +0 -28
- package/cdn/chunks/chunk.ZBBEOMZ7.js +0 -21
- package/cdn/chunks/chunk.ZEX7WEQG.js +0 -24
- package/cdn/chunks/chunk.ZFTU7K3R.js +0 -21
- package/cdn/chunks/chunk.ZPQZ7M6Z.js +0 -26
- package/cdn/chunks/chunk.ZTBCPSZD.js +0 -11
- package/cdn/chunks/chunk.ZW2VBVQG.js +0 -21
- package/cdn/chunks/chunk.ZYE62WA3.js +0 -142
- package/dist/chunks/chunk.23KMXW5A.js +0 -75
- package/dist/chunks/chunk.2A2WQPHN.js +0 -80
- package/dist/chunks/chunk.2FIY3LDF.js +0 -11
- package/dist/chunks/chunk.2UJIHZKR.js +0 -225
- package/dist/chunks/chunk.3C3VLW4F.js +0 -11
- package/dist/chunks/chunk.3OX5OFFW.js +0 -72
- package/dist/chunks/chunk.3T4JIB23.js +0 -280
- package/dist/chunks/chunk.3V3P3I3Y.js +0 -231
- package/dist/chunks/chunk.3VWUJKYK.js +0 -11
- package/dist/chunks/chunk.43NGHCL6.js +0 -11
- package/dist/chunks/chunk.4H55T6YI.js +0 -87
- package/dist/chunks/chunk.4O5YILN4.js +0 -24
- package/dist/chunks/chunk.4U7HXTV6.js +0 -130
- package/dist/chunks/chunk.52JO3JL6.js +0 -21
- package/dist/chunks/chunk.5C7WSB4O.js +0 -25
- package/dist/chunks/chunk.5GNXZ5AZ.js +0 -11
- package/dist/chunks/chunk.5X5472X5.js +0 -25
- package/dist/chunks/chunk.5XL3NEA5.js +0 -22
- package/dist/chunks/chunk.5XMRASHY.js +0 -337
- package/dist/chunks/chunk.5YOXRIUR.js +0 -29
- package/dist/chunks/chunk.65IBQE6H.js +0 -293
- package/dist/chunks/chunk.6C2VUMBB.js +0 -323
- package/dist/chunks/chunk.6K3DOF2N.js +0 -21
- package/dist/chunks/chunk.6URJELYM.js +0 -259
- package/dist/chunks/chunk.75EZXT4F.js +0 -11
- package/dist/chunks/chunk.77TRFYGE.js +0 -28
- package/dist/chunks/chunk.7CGKQWNV.js +0 -11
- package/dist/chunks/chunk.7CK24XPF.js +0 -11
- package/dist/chunks/chunk.7EAF3A3K.js +0 -27
- package/dist/chunks/chunk.7FMISPFH.js +0 -286
- package/dist/chunks/chunk.7HW7QUQY.js +0 -227
- package/dist/chunks/chunk.7IERHUTR.js +0 -813
- package/dist/chunks/chunk.7KBHTMV2.js +0 -21
- package/dist/chunks/chunk.7KHMU3T4.js +0 -11
- package/dist/chunks/chunk.7OKWXOF3.js +0 -11
- package/dist/chunks/chunk.7VIDSELB.js +0 -11
- package/dist/chunks/chunk.AFAECRC6.js +0 -24
- package/dist/chunks/chunk.ALCGUCCM.js +0 -11
- package/dist/chunks/chunk.ANKFSQPH.js +0 -11
- package/dist/chunks/chunk.AXAZWVBR.js +0 -11
- package/dist/chunks/chunk.B2UN2MYX.js +0 -115
- package/dist/chunks/chunk.B4PKUQ5K.js +0 -45
- package/dist/chunks/chunk.BDPQBNBH.js +0 -109
- package/dist/chunks/chunk.BQJL2DOT.js +0 -11
- package/dist/chunks/chunk.BSW5FCSH.js +0 -11
- package/dist/chunks/chunk.BURZ7DHD.js +0 -27
- package/dist/chunks/chunk.BZOZDWV5.js +0 -94
- package/dist/chunks/chunk.C25GKOVP.js +0 -11
- package/dist/chunks/chunk.CAXXDDGT.js +0 -21
- package/dist/chunks/chunk.CFHB24TG.js +0 -21
- package/dist/chunks/chunk.CKCZIEUZ.js +0 -21
- package/dist/chunks/chunk.CT7B5CJS.js +0 -181
- package/dist/chunks/chunk.DDMN7NB3.js +0 -21
- package/dist/chunks/chunk.DDRQPLZU.js +0 -28
- package/dist/chunks/chunk.DLNP3MDY.js +0 -27
- package/dist/chunks/chunk.DM5725KA.js +0 -11
- package/dist/chunks/chunk.DMWBZZOC.js +0 -21
- package/dist/chunks/chunk.DSLGE7SK.js +0 -11
- package/dist/chunks/chunk.DU3FNVZY.js +0 -33
- package/dist/chunks/chunk.DX4VOOXW.js +0 -837
- package/dist/chunks/chunk.E23FM7HU.js +0 -11
- package/dist/chunks/chunk.E3DWWIUN.js +0 -11
- package/dist/chunks/chunk.E3VYYOP6.js +0 -63
- package/dist/chunks/chunk.EAJLU5HE.js +0 -11
- package/dist/chunks/chunk.EDYNZYLW.js +0 -151
- package/dist/chunks/chunk.EE5MZACC.js +0 -25
- package/dist/chunks/chunk.EHKQK2WI.js +0 -311
- package/dist/chunks/chunk.EHO7SNWS.js +0 -24
- package/dist/chunks/chunk.EJXY6SNE.js +0 -26
- package/dist/chunks/chunk.EKJYCQR3.js +0 -11
- package/dist/chunks/chunk.ETNDIE5Z.js +0 -21
- package/dist/chunks/chunk.EUESFI5V.js +0 -33
- package/dist/chunks/chunk.F2HMLYV3.js +0 -11
- package/dist/chunks/chunk.F2RCVGZN.js +0 -11
- package/dist/chunks/chunk.FJKGMZ7K.js +0 -11
- package/dist/chunks/chunk.FNMIMNLE.js +0 -11
- package/dist/chunks/chunk.FOUNQRMY.js +0 -27
- package/dist/chunks/chunk.G2VF753Q.js +0 -116
- package/dist/chunks/chunk.G4LXG3DO.js +0 -59
- package/dist/chunks/chunk.G5GXVAWJ.js +0 -117
- package/dist/chunks/chunk.GDNTWKKW.js +0 -24
- package/dist/chunks/chunk.GJWO7FVQ.js +0 -62
- package/dist/chunks/chunk.GMDX7BI4.js +0 -21
- package/dist/chunks/chunk.GPMEIY4X.js +0 -11
- package/dist/chunks/chunk.GRNB4Y2C.js +0 -11
- package/dist/chunks/chunk.GTJASLJ6.js +0 -11
- package/dist/chunks/chunk.H2HTLUMO.js +0 -11
- package/dist/chunks/chunk.H2MPMZR5.js +0 -21
- package/dist/chunks/chunk.HAQLVYD6.js +0 -24
- package/dist/chunks/chunk.HBWTIYQO.js +0 -384
- package/dist/chunks/chunk.HC5SX73D.js +0 -135
- package/dist/chunks/chunk.HUS5GD44.js +0 -21
- package/dist/chunks/chunk.HVBFPZZT.js +0 -85
- package/dist/chunks/chunk.I2JEPMHW.js +0 -27
- package/dist/chunks/chunk.I4E2OMLD.js +0 -100
- package/dist/chunks/chunk.IE63W443.js +0 -11
- package/dist/chunks/chunk.IFLQWJXF.js +0 -397
- package/dist/chunks/chunk.IGFR5MKY.js +0 -11
- package/dist/chunks/chunk.IJDMH32N.js +0 -315
- package/dist/chunks/chunk.IPNSXQFD.js +0 -11
- package/dist/chunks/chunk.IQWSUQK5.js +0 -27
- package/dist/chunks/chunk.IUPTGBLO.js +0 -192
- package/dist/chunks/chunk.IWMG2MDD.js +0 -28
- package/dist/chunks/chunk.IZ4625GY.js +0 -28
- package/dist/chunks/chunk.J3Z2RHJ7.js +0 -11
- package/dist/chunks/chunk.J4MTMBQ2.js +0 -25
- package/dist/chunks/chunk.JDG7CWWS.js +0 -28
- package/dist/chunks/chunk.JEXLEMD5.js +0 -11
- package/dist/chunks/chunk.JHW3AYDE.js +0 -11
- package/dist/chunks/chunk.JKQFUVDD.js +0 -25
- package/dist/chunks/chunk.JMSQWFFC.js +0 -11
- package/dist/chunks/chunk.JX3WDU7N.js +0 -21
- package/dist/chunks/chunk.JYVEWOPP.js +0 -11
- package/dist/chunks/chunk.KO55JZ76.js +0 -11
- package/dist/chunks/chunk.KTQJ4FL4.js +0 -11
- package/dist/chunks/chunk.KXEA4CBC.js +0 -111
- package/dist/chunks/chunk.L5RLIAAB.js +0 -21
- package/dist/chunks/chunk.LB7HTIBJ.js +0 -11
- package/dist/chunks/chunk.LHDNWXLV.js +0 -274
- package/dist/chunks/chunk.LHEUTYA4.js +0 -491
- package/dist/chunks/chunk.LIXSHKVE.js +0 -26
- package/dist/chunks/chunk.LJGTCTDV.js +0 -21
- package/dist/chunks/chunk.LK3HQDTM.js +0 -11
- package/dist/chunks/chunk.LLGZ75LE.js +0 -33
- package/dist/chunks/chunk.LRDSREPB.js +0 -67
- package/dist/chunks/chunk.LW5IA4CC.js +0 -21
- package/dist/chunks/chunk.M45DI7ES.js +0 -375
- package/dist/chunks/chunk.MBZRUXOZ.js +0 -134
- package/dist/chunks/chunk.MG4WXKIC.js +0 -109
- package/dist/chunks/chunk.NHEWBIPG.js +0 -417
- package/dist/chunks/chunk.NNNA5562.js +0 -73
- package/dist/chunks/chunk.NOHVLY4T.js +0 -11
- package/dist/chunks/chunk.NQWDUAJT.js +0 -11
- package/dist/chunks/chunk.OJEVXNBY.js +0 -11
- package/dist/chunks/chunk.OJSNZD47.js +0 -11
- package/dist/chunks/chunk.OMNUJC6E.js +0 -170
- package/dist/chunks/chunk.OPZ5CST6.js +0 -290
- package/dist/chunks/chunk.OS6ONNUE.js +0 -45
- package/dist/chunks/chunk.OUBTYMRZ.js +0 -21
- package/dist/chunks/chunk.PBY5FRU2.js +0 -11
- package/dist/chunks/chunk.PGV2S3WE.js +0 -21
- package/dist/chunks/chunk.PM46VRIO.js +0 -26
- package/dist/chunks/chunk.PPADVC4O.js +0 -25
- package/dist/chunks/chunk.PQ2EK77N.js +0 -11
- package/dist/chunks/chunk.PQONDGNT.js +0 -21
- package/dist/chunks/chunk.PXTLZNUT.js +0 -42
- package/dist/chunks/chunk.PZFM7B4P.js +0 -91
- package/dist/chunks/chunk.QHZ4WVDM.js +0 -24
- package/dist/chunks/chunk.QLEF64TR.js +0 -276
- package/dist/chunks/chunk.QN3EGVUV.js +0 -90
- package/dist/chunks/chunk.QWHQHBXF.js +0 -361
- package/dist/chunks/chunk.R4SP2TUK.js +0 -11
- package/dist/chunks/chunk.R5J2TYGS.js +0 -93
- package/dist/chunks/chunk.RAEKHNR5.js +0 -11
- package/dist/chunks/chunk.RCDEIJWQ.js +0 -11
- package/dist/chunks/chunk.RMRXCRDL.js +0 -24
- package/dist/chunks/chunk.RYFFJXO5.js +0 -11
- package/dist/chunks/chunk.S2DA6HZJ.js +0 -22
- package/dist/chunks/chunk.S4HXC6MT.js +0 -21
- package/dist/chunks/chunk.SBGSHHBU.js +0 -11
- package/dist/chunks/chunk.SMFTN2JR.js +0 -41
- package/dist/chunks/chunk.SO7YHSNI.js +0 -25
- package/dist/chunks/chunk.SR7MGVHD.js +0 -25
- package/dist/chunks/chunk.SXWYQR2W.js +0 -11
- package/dist/chunks/chunk.T4HCQ76W.js +0 -33
- package/dist/chunks/chunk.TEKXIROI.js +0 -11
- package/dist/chunks/chunk.TNKTKOAC.js +0 -21
- package/dist/chunks/chunk.TNPBPFWJ.js +0 -11
- package/dist/chunks/chunk.TQRJ2DN2.js +0 -448
- package/dist/chunks/chunk.TULZGRMC.js +0 -11
- package/dist/chunks/chunk.TV2LSQMW.js +0 -21
- package/dist/chunks/chunk.TYDVCTTU.js +0 -75
- package/dist/chunks/chunk.TZAD7XQX.js +0 -11
- package/dist/chunks/chunk.U6R57YDI.js +0 -11
- package/dist/chunks/chunk.U7CVXQNT.js +0 -370
- package/dist/chunks/chunk.UBENWUPT.js +0 -896
- package/dist/chunks/chunk.UGUQGEE4.js +0 -24
- package/dist/chunks/chunk.UH7EM7ZH.js +0 -949
- package/dist/chunks/chunk.UXMEMMJA.js +0 -247
- package/dist/chunks/chunk.V4PIZSEH.js +0 -11
- package/dist/chunks/chunk.VCICGMOB.js +0 -21
- package/dist/chunks/chunk.VGRVW3Y7.js +0 -11
- package/dist/chunks/chunk.VK6W72U5.js +0 -82
- package/dist/chunks/chunk.VKCE7RJJ.js +0 -294
- package/dist/chunks/chunk.VN5BQXOJ.js +0 -24
- package/dist/chunks/chunk.VT3WU4RZ.js +0 -11
- package/dist/chunks/chunk.W5J7FGNT.js +0 -26
- package/dist/chunks/chunk.W7CCLV4F.js +0 -11
- package/dist/chunks/chunk.WBPUEJ2P.js +0 -11
- package/dist/chunks/chunk.WFN7GJUV.js +0 -24
- package/dist/chunks/chunk.WG3DZDBX.js +0 -550
- package/dist/chunks/chunk.WIDRGJWJ.js +0 -24
- package/dist/chunks/chunk.WMCJFMYA.js +0 -29
- package/dist/chunks/chunk.WNZ7MY2H.js +0 -29
- package/dist/chunks/chunk.WUXRFAEL.js +0 -21
- package/dist/chunks/chunk.WYPTCFKK.js +0 -178
- package/dist/chunks/chunk.X3COXSZ6.js +0 -25
- package/dist/chunks/chunk.X7IPGO6Q.js +0 -119
- package/dist/chunks/chunk.XALUXKXQ.js +0 -147
- package/dist/chunks/chunk.XPRE4DI2.js +0 -11
- package/dist/chunks/chunk.XVB5AQVT.js +0 -11
- package/dist/chunks/chunk.XVRHZU3F.js +0 -11
- package/dist/chunks/chunk.XXI7YHW7.js +0 -24
- package/dist/chunks/chunk.Y4EGSQKQ.js +0 -50
- package/dist/chunks/chunk.Y76BKQ3A.js +0 -11
- package/dist/chunks/chunk.YAMTZRRC.js +0 -21
- package/dist/chunks/chunk.YDNEJSXR.js +0 -213
- package/dist/chunks/chunk.YEJXO6PQ.js +0 -21
- package/dist/chunks/chunk.YJFNSKVW.js +0 -27
- package/dist/chunks/chunk.YJJ42DO2.js +0 -11
- package/dist/chunks/chunk.YJOS5N6R.js +0 -100
- package/dist/chunks/chunk.YQGXHOPB.js +0 -11
- package/dist/chunks/chunk.YSWMDTJR.js +0 -11
- package/dist/chunks/chunk.Z23TV2DR.js +0 -34
- package/dist/chunks/chunk.Z4HIS5JO.js +0 -25
- package/dist/chunks/chunk.Z5XDZCYF.js +0 -21
- package/dist/chunks/chunk.Z6C5MR3K.js +0 -29
- package/dist/chunks/chunk.ZOFOHIGP.js +0 -11
- package/dist/chunks/chunk.ZZ6O2D5A.js +0 -21
- package/dist/chunks/chunk.ZZE3OAEQ.js +0 -961
|
@@ -1,949 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
drag
|
|
3
|
-
} from "./chunk.ESELY2US.js";
|
|
4
|
-
import {
|
|
5
|
-
CwInput
|
|
6
|
-
} from "./chunk.LHEUTYA4.js";
|
|
7
|
-
import {
|
|
8
|
-
CwDropdown
|
|
9
|
-
} from "./chunk.HBWTIYQO.js";
|
|
10
|
-
import {
|
|
11
|
-
defaultValue
|
|
12
|
-
} from "./chunk.GI7VDIWX.js";
|
|
13
|
-
import {
|
|
14
|
-
color_picker_styles_default
|
|
15
|
-
} from "./chunk.IXJCSAM3.js";
|
|
16
|
-
import {
|
|
17
|
-
CwVisuallyHidden
|
|
18
|
-
} from "./chunk.S2DA6HZJ.js";
|
|
19
|
-
import {
|
|
20
|
-
clamp
|
|
21
|
-
} from "./chunk.HF7GESMZ.js";
|
|
22
|
-
import {
|
|
23
|
-
CwButton
|
|
24
|
-
} from "./chunk.65IBQE6H.js";
|
|
25
|
-
import {
|
|
26
|
-
FormControlController
|
|
27
|
-
} from "./chunk.PH2VNONO.js";
|
|
28
|
-
import {
|
|
29
|
-
CwButtonGroup
|
|
30
|
-
} from "./chunk.PZFM7B4P.js";
|
|
31
|
-
import {
|
|
32
|
-
LocalizeController
|
|
33
|
-
} from "./chunk.OFFCHZOX.js";
|
|
34
|
-
import {
|
|
35
|
-
CwIcon
|
|
36
|
-
} from "./chunk.CT7B5CJS.js";
|
|
37
|
-
import {
|
|
38
|
-
watch
|
|
39
|
-
} from "./chunk.GQZ7EGMM.js";
|
|
40
|
-
import {
|
|
41
|
-
component_styles_default
|
|
42
|
-
} from "./chunk.TUVJKY7S.js";
|
|
43
|
-
import {
|
|
44
|
-
CwElement
|
|
45
|
-
} from "./chunk.BZOZDWV5.js";
|
|
46
|
-
import {
|
|
47
|
-
__decorateClass
|
|
48
|
-
} from "./chunk.Q44EX5TP.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 CwColorPicker = class extends CwElement {
|
|
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("cw-focus");
|
|
90
|
-
};
|
|
91
|
-
this.handleFocusOut = () => {
|
|
92
|
-
this.hasFocus = false;
|
|
93
|
-
this.emit("cw-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("cw-change");
|
|
126
|
-
this.emit("cw-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("cw-input");
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
onStop: () => {
|
|
146
|
-
if (this.value !== initialValue) {
|
|
147
|
-
initialValue = this.value;
|
|
148
|
-
this.emit("cw-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("cw-input");
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
onStop: () => {
|
|
172
|
-
if (this.value !== initialValue) {
|
|
173
|
-
initialValue = this.value;
|
|
174
|
-
this.emit("cw-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("cw-input");
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
onStop: () => {
|
|
200
|
-
this.isDraggingGridHandle = false;
|
|
201
|
-
if (this.value !== initialValue) {
|
|
202
|
-
initialValue = this.value;
|
|
203
|
-
this.emit("cw-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("cw-change");
|
|
234
|
-
this.emit("cw-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("cw-change");
|
|
262
|
-
this.emit("cw-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("cw-change");
|
|
290
|
-
this.emit("cw-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("cw-change");
|
|
305
|
-
this.emit("cw-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("cw-change");
|
|
320
|
-
this.emit("cw-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("cw-change");
|
|
459
|
-
this.emit("cw-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("cw-change");
|
|
470
|
-
this.emit("cw-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("cw-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
|
-
<cw-visually-hidden id="label">
|
|
607
|
-
<slot name="label">${this.label}</slot>
|
|
608
|
-
</cw-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
|
-
<cw-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
|
-
@cw-change=${this.handleInputChange}
|
|
724
|
-
@cw-input=${this.handleInputInput}
|
|
725
|
-
@cw-invalid=${this.handleInputInvalid}
|
|
726
|
-
@cw-blur=${this.stopNestedEventPropagation}
|
|
727
|
-
@cw-focus=${this.stopNestedEventPropagation}
|
|
728
|
-
></cw-input>
|
|
729
|
-
|
|
730
|
-
<cw-button-group>
|
|
731
|
-
${!this.noFormatToggle ? html`
|
|
732
|
-
<cw-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
|
-
@cw-blur=${this.stopNestedEventPropagation}
|
|
744
|
-
@cw-focus=${this.stopNestedEventPropagation}
|
|
745
|
-
>
|
|
746
|
-
${this.setLetterCase(this.format)}
|
|
747
|
-
</cw-button>
|
|
748
|
-
` : ""}
|
|
749
|
-
${hasEyeDropper ? html`
|
|
750
|
-
<cw-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
|
-
@cw-blur=${this.stopNestedEventPropagation}
|
|
761
|
-
@cw-focus=${this.stopNestedEventPropagation}
|
|
762
|
-
>
|
|
763
|
-
<cw-icon
|
|
764
|
-
library="system"
|
|
765
|
-
name="eyedropper"
|
|
766
|
-
label=${this.localize.term("selectAColorFromTheScreen")}
|
|
767
|
-
></cw-icon>
|
|
768
|
-
</cw-button>
|
|
769
|
-
` : ""}
|
|
770
|
-
</cw-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
|
-
<cw-dropdown
|
|
807
|
-
class="color-dropdown"
|
|
808
|
-
aria-disabled=${this.disabled ? "true" : "false"}
|
|
809
|
-
.containingElement=${this}
|
|
810
|
-
?disabled=${this.disabled}
|
|
811
|
-
?hoist=${this.hoist}
|
|
812
|
-
@cw-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
|
-
<cw-visually-hidden>
|
|
833
|
-
<slot name="label">${this.label}</slot>
|
|
834
|
-
</cw-visually-hidden>
|
|
835
|
-
</button>
|
|
836
|
-
${colorPicker}
|
|
837
|
-
</cw-dropdown>
|
|
838
|
-
`;
|
|
839
|
-
}
|
|
840
|
-
};
|
|
841
|
-
CwColorPicker.styles = [component_styles_default, color_picker_styles_default];
|
|
842
|
-
CwColorPicker.dependencies = {
|
|
843
|
-
"cw-button-group": CwButtonGroup,
|
|
844
|
-
"cw-button": CwButton,
|
|
845
|
-
"cw-dropdown": CwDropdown,
|
|
846
|
-
"cw-icon": CwIcon,
|
|
847
|
-
"cw-input": CwInput,
|
|
848
|
-
"cw-visually-hidden": CwVisuallyHidden
|
|
849
|
-
};
|
|
850
|
-
__decorateClass([
|
|
851
|
-
query('[part~="base"]')
|
|
852
|
-
], CwColorPicker.prototype, "base", 2);
|
|
853
|
-
__decorateClass([
|
|
854
|
-
query('[part~="input"]')
|
|
855
|
-
], CwColorPicker.prototype, "input", 2);
|
|
856
|
-
__decorateClass([
|
|
857
|
-
query(".color-dropdown")
|
|
858
|
-
], CwColorPicker.prototype, "dropdown", 2);
|
|
859
|
-
__decorateClass([
|
|
860
|
-
query('[part~="preview"]')
|
|
861
|
-
], CwColorPicker.prototype, "previewButton", 2);
|
|
862
|
-
__decorateClass([
|
|
863
|
-
query('[part~="trigger"]')
|
|
864
|
-
], CwColorPicker.prototype, "trigger", 2);
|
|
865
|
-
__decorateClass([
|
|
866
|
-
state()
|
|
867
|
-
], CwColorPicker.prototype, "hasFocus", 2);
|
|
868
|
-
__decorateClass([
|
|
869
|
-
state()
|
|
870
|
-
], CwColorPicker.prototype, "isDraggingGridHandle", 2);
|
|
871
|
-
__decorateClass([
|
|
872
|
-
state()
|
|
873
|
-
], CwColorPicker.prototype, "isEmpty", 2);
|
|
874
|
-
__decorateClass([
|
|
875
|
-
state()
|
|
876
|
-
], CwColorPicker.prototype, "inputValue", 2);
|
|
877
|
-
__decorateClass([
|
|
878
|
-
state()
|
|
879
|
-
], CwColorPicker.prototype, "hue", 2);
|
|
880
|
-
__decorateClass([
|
|
881
|
-
state()
|
|
882
|
-
], CwColorPicker.prototype, "saturation", 2);
|
|
883
|
-
__decorateClass([
|
|
884
|
-
state()
|
|
885
|
-
], CwColorPicker.prototype, "brightness", 2);
|
|
886
|
-
__decorateClass([
|
|
887
|
-
state()
|
|
888
|
-
], CwColorPicker.prototype, "alpha", 2);
|
|
889
|
-
__decorateClass([
|
|
890
|
-
property()
|
|
891
|
-
], CwColorPicker.prototype, "value", 2);
|
|
892
|
-
__decorateClass([
|
|
893
|
-
defaultValue()
|
|
894
|
-
], CwColorPicker.prototype, "defaultValue", 2);
|
|
895
|
-
__decorateClass([
|
|
896
|
-
property()
|
|
897
|
-
], CwColorPicker.prototype, "label", 2);
|
|
898
|
-
__decorateClass([
|
|
899
|
-
property()
|
|
900
|
-
], CwColorPicker.prototype, "format", 2);
|
|
901
|
-
__decorateClass([
|
|
902
|
-
property({ type: Boolean, reflect: true })
|
|
903
|
-
], CwColorPicker.prototype, "inline", 2);
|
|
904
|
-
__decorateClass([
|
|
905
|
-
property({ reflect: true })
|
|
906
|
-
], CwColorPicker.prototype, "size", 2);
|
|
907
|
-
__decorateClass([
|
|
908
|
-
property({ attribute: "no-format-toggle", type: Boolean })
|
|
909
|
-
], CwColorPicker.prototype, "noFormatToggle", 2);
|
|
910
|
-
__decorateClass([
|
|
911
|
-
property()
|
|
912
|
-
], CwColorPicker.prototype, "name", 2);
|
|
913
|
-
__decorateClass([
|
|
914
|
-
property({ type: Boolean, reflect: true })
|
|
915
|
-
], CwColorPicker.prototype, "disabled", 2);
|
|
916
|
-
__decorateClass([
|
|
917
|
-
property({ type: Boolean })
|
|
918
|
-
], CwColorPicker.prototype, "hoist", 2);
|
|
919
|
-
__decorateClass([
|
|
920
|
-
property({ type: Boolean })
|
|
921
|
-
], CwColorPicker.prototype, "opacity", 2);
|
|
922
|
-
__decorateClass([
|
|
923
|
-
property({ type: Boolean })
|
|
924
|
-
], CwColorPicker.prototype, "uppercase", 2);
|
|
925
|
-
__decorateClass([
|
|
926
|
-
property()
|
|
927
|
-
], CwColorPicker.prototype, "swatches", 2);
|
|
928
|
-
__decorateClass([
|
|
929
|
-
property({ reflect: true })
|
|
930
|
-
], CwColorPicker.prototype, "form", 2);
|
|
931
|
-
__decorateClass([
|
|
932
|
-
property({ type: Boolean, reflect: true })
|
|
933
|
-
], CwColorPicker.prototype, "required", 2);
|
|
934
|
-
__decorateClass([
|
|
935
|
-
eventOptions({ passive: false })
|
|
936
|
-
], CwColorPicker.prototype, "handleTouchMove", 1);
|
|
937
|
-
__decorateClass([
|
|
938
|
-
watch("format", { waitUntilFirstUpdate: true })
|
|
939
|
-
], CwColorPicker.prototype, "handleFormatChange", 1);
|
|
940
|
-
__decorateClass([
|
|
941
|
-
watch("opacity", { waitUntilFirstUpdate: true })
|
|
942
|
-
], CwColorPicker.prototype, "handleOpacityChange", 1);
|
|
943
|
-
__decorateClass([
|
|
944
|
-
watch("value")
|
|
945
|
-
], CwColorPicker.prototype, "handleValueChange", 1);
|
|
946
|
-
|
|
947
|
-
export {
|
|
948
|
-
CwColorPicker
|
|
949
|
-
};
|