@cordwainer/cw-elements 1.3.0 → 1.4.0-alpha.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.25BKUIO6.js +113 -0
- package/cdn/chunks/chunk.267AC5FJ.js +24 -0
- package/cdn/chunks/chunk.27JTVOML.js +391 -0
- package/cdn/chunks/chunk.2CR5EWKY.js +29 -0
- package/cdn/chunks/chunk.2DAZBKS7.js +292 -0
- package/cdn/chunks/chunk.2GF74FDV.js +455 -0
- package/cdn/chunks/chunk.2JV3ICK7.js +21 -0
- package/cdn/chunks/chunk.2OUG33CO.js +25 -0
- package/cdn/chunks/chunk.2U7OXVWO.js +11 -0
- package/cdn/chunks/chunk.2UPGI2KU.js +79 -0
- package/cdn/chunks/chunk.3BD4MZUP.js +11 -0
- package/cdn/chunks/chunk.3GAYFRZG.js +11 -0
- package/cdn/chunks/chunk.3IGENZDT.js +49 -0
- package/cdn/chunks/chunk.3RSF3RO7.js +11 -0
- package/cdn/chunks/chunk.3XFGDBRJ.js +26 -0
- package/cdn/chunks/chunk.46YJ7NKP.js +33 -0
- package/cdn/chunks/chunk.473N5PO6.js +26 -0
- package/cdn/chunks/chunk.47HLZZYV.js +33 -0
- package/cdn/chunks/chunk.4C3JOQAN.js +158 -0
- package/cdn/chunks/chunk.4MIYBTVK.js +28 -0
- package/cdn/chunks/chunk.4QFXJYDZ.js +25 -0
- package/cdn/chunks/chunk.4RRMU4G7.js +378 -0
- package/cdn/chunks/chunk.4TDCDQNV.js +11 -0
- package/cdn/chunks/chunk.4VRXA4KP.js +11 -0
- package/cdn/chunks/chunk.522YG6NI.js +45 -0
- package/cdn/chunks/chunk.57K7QOQK.js +28 -0
- package/cdn/chunks/chunk.5GZVTUN4.js +11 -0
- package/cdn/chunks/chunk.5IPIDZIA.js +21 -0
- package/cdn/chunks/chunk.5MQSRLSR.js +11 -0
- package/cdn/chunks/chunk.5P3PLH7G.js +574 -0
- package/cdn/chunks/chunk.5SQ2OXNV.js +11 -0
- package/cdn/chunks/chunk.5T4OWRZ5.js +24 -0
- package/cdn/chunks/chunk.62DTZGHA.js +904 -0
- package/cdn/chunks/chunk.63QEUZIO.js +21 -0
- package/cdn/chunks/chunk.64X6IM4D.js +27 -0
- package/cdn/chunks/chunk.6FLQNST6.js +27 -0
- package/cdn/chunks/chunk.6KRQCXBI.js +21 -0
- package/cdn/chunks/chunk.6NDICECA.js +185 -0
- package/cdn/chunks/chunk.6QE7VFZH.js +11 -0
- package/cdn/chunks/chunk.6W6IJQXF.js +11 -0
- package/cdn/chunks/chunk.6WCYML6W.js +11 -0
- package/cdn/chunks/chunk.7AIBHPZK.js +11 -0
- package/cdn/chunks/chunk.7AJYMPD3.js +36 -0
- package/cdn/chunks/chunk.7CHVNJEY.js +21 -0
- package/cdn/chunks/chunk.7IIWTNL3.js +84 -0
- package/cdn/chunks/chunk.7IW7OLDO.js +24 -0
- package/cdn/chunks/chunk.7M4SLGSB.js +93 -0
- package/cdn/chunks/chunk.7OXYSVCM.js +11 -0
- package/cdn/chunks/chunk.7SIISX5P.js +11 -0
- package/cdn/chunks/chunk.A7FPGOOF.js +11 -0
- package/cdn/chunks/chunk.A7GYB3NL.js +1990 -0
- package/cdn/chunks/chunk.A7LL4DKT.js +11 -0
- package/cdn/chunks/chunk.APYHZJEB.js +11 -0
- package/cdn/chunks/chunk.ASOI3AXG.js +11 -0
- package/cdn/chunks/chunk.AU2G3DA2.js +27 -0
- package/cdn/chunks/chunk.AZX5DVNB.js +24 -0
- package/cdn/chunks/chunk.BDWPOM4T.js +11 -0
- package/cdn/chunks/chunk.BEXK6U3B.js +11 -0
- package/cdn/chunks/chunk.C5ZZZP6F.js +25 -0
- package/cdn/chunks/chunk.C7PU5WQL.js +24 -0
- package/cdn/chunks/chunk.CHYNMOQX.js +11 -0
- package/cdn/chunks/chunk.CI7ZFF3Y.js +28 -0
- package/cdn/chunks/chunk.CIEKJB7M.js +11 -0
- package/cdn/chunks/chunk.CIRHDN74.js +25 -0
- package/cdn/chunks/chunk.CJRB4ETE.js +299 -0
- package/cdn/chunks/chunk.COIYITUF.js +297 -0
- package/cdn/chunks/chunk.COZVDT2Q.js +21 -0
- package/cdn/chunks/chunk.CQJWA3AA.js +11 -0
- package/cdn/chunks/chunk.CSZ3NLAE.js +25 -0
- package/cdn/chunks/chunk.CT5NSCKO.js +11 -0
- package/cdn/chunks/chunk.CV37CH4G.js +11 -0
- package/cdn/chunks/chunk.CV4OV6BK.js +385 -0
- package/cdn/chunks/chunk.D3W37JHT.js +21 -0
- package/cdn/chunks/chunk.D7SEUAQQ.js +291 -0
- package/cdn/chunks/chunk.DBS3VQJM.js +97 -0
- package/cdn/chunks/chunk.DF6TJULT.js +969 -0
- package/cdn/chunks/chunk.DHITYL4Q.js +186 -0
- package/cdn/chunks/chunk.DIU4A53Q.js +120 -0
- package/cdn/chunks/chunk.DJRHXXWL.js +137 -0
- package/cdn/chunks/chunk.DL25RKJU.js +330 -0
- package/cdn/chunks/chunk.DNI7EL2W.js +24 -0
- package/cdn/chunks/chunk.EI2FQ6NY.js +821 -0
- package/cdn/chunks/chunk.EMQIWHZX.js +21 -0
- package/cdn/chunks/chunk.F7OOFBQ4.js +11 -0
- package/cdn/chunks/chunk.FEQVNZSG.js +21 -0
- package/cdn/chunks/chunk.FFHNNS3N.js +25 -0
- package/cdn/chunks/chunk.FHDEN7NJ.js +11 -0
- package/cdn/chunks/chunk.FHNM6YUL.js +25 -0
- package/cdn/chunks/chunk.GCINJ4NL.js +314 -0
- package/cdn/chunks/chunk.GCWBRCST.js +402 -0
- package/cdn/chunks/chunk.GEIZZBYF.js +142 -0
- package/cdn/chunks/chunk.GHLHFLMU.js +29 -0
- package/cdn/chunks/chunk.GUVDL4MS.js +336 -0
- package/cdn/chunks/chunk.GW6GW5OU.js +21 -0
- package/cdn/chunks/chunk.GYUU2KNR.js +21 -0
- package/cdn/chunks/chunk.H33NJHOU.js +267 -0
- package/cdn/chunks/chunk.H5FBN64I.js +63 -0
- package/cdn/chunks/chunk.HFDPYR5C.js +499 -0
- package/cdn/chunks/chunk.HGHLBRO5.js +367 -0
- package/cdn/chunks/chunk.HGST26UR.js +21 -0
- package/cdn/chunks/chunk.HIYNLEAG.js +11 -0
- package/cdn/chunks/chunk.HJNPJZSO.js +11 -0
- package/cdn/chunks/chunk.HLGCXMR6.js +11 -0
- package/cdn/chunks/chunk.HNWZD3T3.js +64 -0
- package/cdn/chunks/chunk.HQNRPN7L.js +11 -0
- package/cdn/chunks/chunk.I2TIKDSM.js +26 -0
- package/cdn/chunks/chunk.I3B4NT5I.js +11 -0
- package/cdn/chunks/chunk.I77REHIB.js +11 -0
- package/cdn/chunks/chunk.IK5BH4NG.js +24 -0
- package/cdn/chunks/chunk.IKNNTD3Q.js +11 -0
- package/cdn/chunks/chunk.IUEJFZOX.js +73 -0
- package/cdn/chunks/chunk.IXHPZC4J.js +26 -0
- package/cdn/chunks/chunk.IYAQDW6B.js +21 -0
- package/cdn/chunks/chunk.JAEMUT64.js +21 -0
- package/cdn/chunks/chunk.JC6EFBN4.js +218 -0
- package/cdn/chunks/chunk.JJ7OMPH3.js +82 -0
- package/cdn/chunks/chunk.JY7KRNZL.js +28 -0
- package/cdn/chunks/chunk.K2S3B3NF.js +11 -0
- package/cdn/chunks/chunk.K55MB3E5.js +11 -0
- package/cdn/chunks/chunk.KP4XLA6Y.js +11 -0
- package/cdn/chunks/chunk.KVWE66IK.js +24 -0
- package/cdn/chunks/chunk.KZ577TVV.js +33 -0
- package/cdn/chunks/chunk.KZ7TF5AZ.js +28 -0
- package/cdn/chunks/chunk.L3GQHDEL.js +24 -0
- package/cdn/chunks/chunk.LBBRYPPG.js +11 -0
- package/cdn/chunks/chunk.LK36FVSK.js +11 -0
- package/cdn/chunks/chunk.LTTWYG5W.js +122 -0
- package/cdn/chunks/chunk.LURMXD2O.js +255 -0
- package/cdn/chunks/chunk.M2MKLLJ7.js +197 -0
- package/cdn/chunks/chunk.M3NCMF6I.js +11 -0
- package/cdn/chunks/chunk.M4T5LVOP.js +11 -0
- package/cdn/chunks/chunk.MC27RCUS.js +11 -0
- package/cdn/chunks/chunk.MIEQKEBN.js +114 -0
- package/cdn/chunks/chunk.N3CEZCIS.js +49 -0
- package/cdn/chunks/chunk.N733VFZZ.js +25 -0
- package/cdn/chunks/chunk.NG6KJ44B.js +21 -0
- package/cdn/chunks/chunk.NUNQQNI3.js +11 -0
- package/cdn/chunks/chunk.NXE3UEAD.js +67 -0
- package/cdn/chunks/chunk.O6ALZZY7.js +24 -0
- package/cdn/chunks/chunk.OF7LXCTT.js +279 -0
- package/cdn/chunks/chunk.OJC2MMIW.js +11 -0
- package/cdn/chunks/chunk.OJSEOYAA.js +11 -0
- package/cdn/chunks/chunk.OUTRX66X.js +24 -0
- package/cdn/chunks/chunk.OW5DQWEU.js +21 -0
- package/cdn/chunks/chunk.OWDTBITP.js +21 -0
- package/cdn/chunks/chunk.OZTEYNHC.js +27 -0
- package/cdn/chunks/chunk.PAP4XN6H.js +11 -0
- package/cdn/chunks/chunk.PGUPHZXL.js +27 -0
- package/cdn/chunks/chunk.PIIJG5FP.js +87 -0
- package/cdn/chunks/chunk.PNTBEOVA.js +11 -0
- package/cdn/chunks/chunk.PPUFIRW6.js +724 -0
- package/cdn/chunks/chunk.PSV7TYNT.js +27 -0
- package/cdn/chunks/chunk.PXBZFNOV.js +29 -0
- package/cdn/chunks/chunk.Q57CAXQI.js +11 -0
- package/cdn/chunks/chunk.QARADRDP.js +139 -0
- package/cdn/chunks/chunk.QGD33HA5.js +21 -0
- package/cdn/chunks/chunk.QI3FVNQU.js +27 -0
- package/cdn/chunks/chunk.QIJ4MKB5.js +346 -0
- package/cdn/chunks/chunk.QWELAWIQ.js +11 -0
- package/cdn/chunks/chunk.QYTCIMBF.js +11 -0
- package/cdn/chunks/chunk.QZ7LLZAD.js +231 -0
- package/cdn/chunks/chunk.RBLYENJA.js +11 -0
- package/cdn/chunks/chunk.RCMMCTOJ.js +153 -0
- package/cdn/chunks/chunk.RCTCJUCC.js +21 -0
- package/cdn/chunks/chunk.RJ47ONSO.js +11 -0
- package/cdn/chunks/chunk.RTLJO7P3.js +11 -0
- package/cdn/chunks/chunk.RXAVZW6N.js +24 -0
- package/cdn/chunks/chunk.SBE5ZHJ5.js +11 -0
- package/cdn/chunks/chunk.SFQ4MJ3R.js +27 -0
- package/cdn/chunks/chunk.SGCMBPWC.js +302 -0
- package/cdn/chunks/chunk.SGLSTQUF.js +11 -0
- package/cdn/chunks/chunk.SKZH7WIG.js +11 -0
- package/cdn/chunks/chunk.SQIMVXGB.js +103 -0
- package/cdn/chunks/chunk.SQV2JPQK.js +11 -0
- package/cdn/chunks/chunk.SRWDOFJN.js +11 -0
- package/cdn/chunks/chunk.SYCSDIAW.js +24 -0
- package/cdn/chunks/chunk.T2BMUXX3.js +21 -0
- package/cdn/chunks/chunk.T4J5WJI3.js +29 -0
- package/cdn/chunks/chunk.T5N62ADF.js +50 -0
- package/cdn/chunks/chunk.TAE5R5Z3.js +233 -0
- package/cdn/chunks/chunk.TO7YQHWU.js +11 -0
- package/cdn/chunks/chunk.TOZOEL7R.js +11 -0
- package/cdn/chunks/chunk.TS3ZCVLH.js +21 -0
- package/cdn/chunks/chunk.TVHOH7RW.js +77 -0
- package/cdn/chunks/chunk.UE5NHR6O.js +21 -0
- package/cdn/chunks/chunk.UFC4NVTQ.js +42 -0
- package/cdn/chunks/chunk.ULFDARCH.js +11 -0
- package/cdn/chunks/chunk.UO66K3LJ.js +11 -0
- package/cdn/chunks/chunk.UPMQVBJE.js +114 -0
- package/cdn/chunks/chunk.UTH6OI3D.js +216 -0
- package/cdn/chunks/chunk.VA6GXU7K.js +91 -0
- package/cdn/chunks/chunk.VBUWDTWQ.js +11 -0
- package/cdn/chunks/chunk.VGH7LYNV.js +1925 -0
- package/cdn/chunks/chunk.VP3LZ7RD.js +79 -0
- package/cdn/chunks/chunk.VP456HHA.js +21 -0
- package/cdn/chunks/chunk.VYSJUA7M.js +11 -0
- package/cdn/chunks/chunk.VZEENRAL.js +11 -0
- package/cdn/chunks/chunk.VZVTFUNI.js +21 -0
- package/cdn/chunks/chunk.W2423I3G.js +11 -0
- package/cdn/chunks/chunk.W35UF66Z.js +11 -0
- package/cdn/chunks/chunk.W6UNIRPU.js +285 -0
- package/cdn/chunks/chunk.WAXYSBBZ.js +75 -0
- package/cdn/chunks/chunk.WI2TV5IC.js +21 -0
- package/cdn/chunks/chunk.WN2FZLRW.js +11 -0
- package/cdn/chunks/chunk.WYMD2QAX.js +21 -0
- package/cdn/chunks/chunk.X2EGHM6G.js +11 -0
- package/cdn/chunks/chunk.XBC7O5FD.js +95 -0
- package/cdn/chunks/chunk.XHVDC3ZJ.js +11 -0
- package/cdn/chunks/chunk.XRPG67N2.js +24 -0
- package/cdn/chunks/chunk.XSWBK66A.js +33 -0
- package/cdn/chunks/chunk.YIVHLPBT.js +120 -0
- package/cdn/chunks/chunk.YN6NNZEK.js +127 -0
- package/cdn/chunks/chunk.YQB32MJU.js +174 -0
- package/cdn/chunks/chunk.ZC3SD4X2.js +21 -0
- package/cdn/chunks/chunk.ZDWI4LX3.js +11 -0
- package/cdn/chunks/chunk.ZEWASEZU.js +25 -0
- package/cdn/chunks/chunk.ZQCSKW7S.js +236 -0
- package/cdn/chunks/chunk.ZRE5FRKT.js +11 -0
- package/cdn/chunks/chunk.ZTLCRCPR.js +21 -0
- package/cdn/chunks/chunk.ZUE2LHLD.js +844 -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 +149 -149
- 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 +147 -147
- 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.23J5LWLY.js +25 -0
- package/dist/chunks/chunk.23PC5KDK.js +87 -0
- package/dist/chunks/chunk.23YKTAW4.js +11 -0
- package/dist/chunks/chunk.24PNS2ZK.js +813 -0
- package/dist/chunks/chunk.2C32WBUI.js +24 -0
- package/dist/chunks/chunk.2H667STK.js +21 -0
- package/dist/chunks/chunk.2LESIYQK.js +21 -0
- package/dist/chunks/chunk.2LVM3ERI.js +286 -0
- package/dist/chunks/chunk.2PDK7EXN.js +11 -0
- package/dist/chunks/chunk.2PYILGRH.js +24 -0
- package/dist/chunks/chunk.2WLX2D74.js +25 -0
- package/dist/chunks/chunk.2YG4GDRH.js +25 -0
- package/dist/chunks/chunk.2ZWULHQI.js +21 -0
- package/dist/chunks/chunk.32DDPZ7F.js +11 -0
- package/dist/chunks/chunk.34ZCVNRE.js +11 -0
- package/dist/chunks/chunk.37FQ4AGX.js +27 -0
- package/dist/chunks/chunk.3AY76DFS.js +62 -0
- package/dist/chunks/chunk.3GPO34NL.js +11 -0
- package/dist/chunks/chunk.3WUBH4JF.js +50 -0
- package/dist/chunks/chunk.3X5ZSDDB.js +21 -0
- package/dist/chunks/chunk.3Y3HXJEU.js +34 -0
- package/dist/chunks/chunk.4772BCPE.js +24 -0
- package/dist/chunks/chunk.4JYZQY2M.js +11 -0
- package/dist/chunks/chunk.4MK2FYQ3.js +11 -0
- package/dist/chunks/chunk.4N2WXUSS.js +109 -0
- package/dist/chunks/chunk.4QFJBJPJ.js +28 -0
- package/dist/chunks/chunk.4RIAMCZ2.js +21 -0
- package/dist/chunks/chunk.4TNNU3KY.js +11 -0
- package/dist/chunks/chunk.55SMRS4K.js +11 -0
- package/dist/chunks/chunk.57VLHKWD.js +24 -0
- package/dist/chunks/chunk.5L6RKR7A.js +11 -0
- package/dist/chunks/chunk.5QCZNF4T.js +11 -0
- package/dist/chunks/chunk.5RA3PDIU.js +111 -0
- package/dist/chunks/chunk.5TXO3ETQ.js +21 -0
- package/dist/chunks/chunk.5VFWJ4FS.js +11 -0
- package/dist/chunks/chunk.5WGIHEFU.js +25 -0
- package/dist/chunks/chunk.6APDOFOA.js +26 -0
- package/dist/chunks/chunk.6NQDIE7L.js +11 -0
- package/dist/chunks/chunk.7C6HZTNY.js +491 -0
- package/dist/chunks/chunk.7DHTJBDJ.js +27 -0
- package/dist/chunks/chunk.7LKUIAPZ.js +11 -0
- package/dist/chunks/chunk.7LV27YY4.js +213 -0
- package/dist/chunks/chunk.7MDH3KQ7.js +24 -0
- package/dist/chunks/chunk.7OCONDWW.js +11 -0
- package/dist/chunks/chunk.7PLNSJKA.js +11 -0
- package/dist/chunks/chunk.7PQAXNDW.js +11 -0
- package/dist/chunks/chunk.7QKQHII4.js +21 -0
- package/dist/chunks/chunk.7TT3IKJ7.js +21 -0
- package/dist/chunks/chunk.A2KEIQ4P.js +21 -0
- package/dist/chunks/chunk.AGHEKCXJ.js +961 -0
- package/dist/chunks/chunk.AMB7IBSH.js +11 -0
- package/dist/chunks/chunk.AS4LTJ6L.js +11 -0
- package/dist/chunks/chunk.AVLLDZL2.js +21 -0
- package/dist/chunks/chunk.AVOVI22X.js +11 -0
- package/dist/chunks/chunk.AW355MEM.js +63 -0
- package/dist/chunks/chunk.AWTEP7OL.js +949 -0
- package/dist/chunks/chunk.AXIJTPXC.js +11 -0
- package/dist/chunks/chunk.B2FHVHZU.js +11 -0
- package/dist/chunks/chunk.B3FBRBCM.js +29 -0
- package/dist/chunks/chunk.BDKA5PUR.js +21 -0
- package/dist/chunks/chunk.BTTZLX7Q.js +11 -0
- package/dist/chunks/chunk.BWKWTTFF.js +21 -0
- package/dist/chunks/chunk.BYPCMXKE.js +100 -0
- package/dist/chunks/chunk.C5MNQVRY.js +11 -0
- package/dist/chunks/chunk.C75DYBC2.js +11 -0
- package/dist/chunks/chunk.CAQ4AUC6.js +370 -0
- package/dist/chunks/chunk.CFM7BMLQ.js +24 -0
- package/dist/chunks/chunk.CMTR5FVW.js +11 -0
- package/dist/chunks/chunk.CYCOEIH6.js +21 -0
- package/dist/chunks/chunk.DAOKGNNK.js +11 -0
- package/dist/chunks/chunk.DC3L5PBG.js +11 -0
- package/dist/chunks/chunk.DFBKZZMZ.js +94 -0
- package/dist/chunks/chunk.DIXJ6ANP.js +21 -0
- package/dist/chunks/chunk.DNQCOJ6C.js +11 -0
- package/dist/chunks/chunk.DOWFAMGU.js +41 -0
- package/dist/chunks/chunk.DRLMSTTH.js +21 -0
- package/dist/chunks/chunk.DTE7TE7M.js +11 -0
- package/dist/chunks/chunk.DV7XOXJK.js +59 -0
- package/dist/chunks/chunk.DVHCNMSZ.js +11 -0
- package/dist/chunks/chunk.DVXJFKTU.js +11 -0
- package/dist/chunks/chunk.E6CT7YZ7.js +21 -0
- package/dist/chunks/chunk.ECRLUUIB.js +25 -0
- package/dist/chunks/chunk.ED6OJB7S.js +73 -0
- package/dist/chunks/chunk.EE3NTPL2.js +33 -0
- package/dist/chunks/chunk.EYKKKM6O.js +109 -0
- package/dist/chunks/chunk.EYQPBXU4.js +11 -0
- package/dist/chunks/chunk.F6IVPEKP.js +294 -0
- package/dist/chunks/chunk.F6LRGTZL.js +11 -0
- package/dist/chunks/chunk.FEYD2AM3.js +181 -0
- package/dist/chunks/chunk.FEZXWJYC.js +11 -0
- package/dist/chunks/chunk.FOFTMQQL.js +26 -0
- package/dist/chunks/chunk.FPBVJCMF.js +11 -0
- package/dist/chunks/chunk.FYFSFWUQ.js +11 -0
- package/dist/chunks/chunk.FZV6VI6Z.js +11 -0
- package/dist/chunks/chunk.G3XKK3FN.js +896 -0
- package/dist/chunks/chunk.GARAQM2K.js +29 -0
- package/dist/chunks/chunk.GGZAL2QW.js +11 -0
- package/dist/chunks/chunk.GSNOYI54.js +11 -0
- package/dist/chunks/chunk.H5ZVLU2H.js +417 -0
- package/dist/chunks/chunk.HB3RNP7A.js +11 -0
- package/dist/chunks/chunk.HL3W3STA.js +45 -0
- package/dist/chunks/chunk.HO35NJGX.js +33 -0
- package/dist/chunks/chunk.HZVXNKY2.js +21 -0
- package/dist/chunks/chunk.IBL4MDKA.js +293 -0
- package/dist/chunks/chunk.IVOZE5IY.js +25 -0
- package/dist/chunks/chunk.IWR7S6M4.js +27 -0
- package/dist/chunks/chunk.J2LXSLCJ.js +276 -0
- package/dist/chunks/chunk.J66L5R2P.js +22 -0
- package/dist/chunks/chunk.J66WTPND.js +24 -0
- package/dist/chunks/chunk.JDCEXTNT.js +21 -0
- package/dist/chunks/chunk.JFMTV2B2.js +227 -0
- package/dist/chunks/chunk.JGNZYC6V.js +178 -0
- package/dist/chunks/chunk.JGRXLI5N.js +315 -0
- package/dist/chunks/chunk.JLMSPXC7.js +11 -0
- package/dist/chunks/chunk.JNJ5Q6QU.js +33 -0
- package/dist/chunks/chunk.JYEKEKNU.js +11 -0
- package/dist/chunks/chunk.KDQU7LXQ.js +45 -0
- package/dist/chunks/chunk.KFXAPPBK.js +11 -0
- package/dist/chunks/chunk.KIHF7Y3R.js +11 -0
- package/dist/chunks/chunk.KL3LYXOA.js +130 -0
- package/dist/chunks/chunk.KOUWG3HM.js +11 -0
- package/dist/chunks/chunk.KPFZEWXG.js +100 -0
- package/dist/chunks/chunk.KYD5YK2F.js +337 -0
- package/dist/chunks/chunk.L3X2JHBJ.js +25 -0
- package/dist/chunks/chunk.LD5O2CYM.js +27 -0
- package/dist/chunks/chunk.LFRKCYUH.js +26 -0
- package/dist/chunks/chunk.LJLOQKQH.js +323 -0
- package/dist/chunks/chunk.LV4SUELF.js +311 -0
- package/dist/chunks/chunk.LX62UROU.js +21 -0
- package/dist/chunks/chunk.M3V4D4JA.js +135 -0
- package/dist/chunks/chunk.M4XM7RKK.js +274 -0
- package/dist/chunks/chunk.MA5FK2BO.js +21 -0
- package/dist/chunks/chunk.MFUJMWCK.js +11 -0
- package/dist/chunks/chunk.MGDL7DHN.js +11 -0
- package/dist/chunks/chunk.MRKPQPTS.js +91 -0
- package/dist/chunks/chunk.MUDP22KA.js +33 -0
- package/dist/chunks/chunk.MYOWYY5K.js +24 -0
- package/dist/chunks/chunk.MZ3PX27L.js +29 -0
- package/dist/chunks/chunk.MZM3SR4P.js +75 -0
- package/dist/chunks/chunk.N52E3YCV.js +24 -0
- package/dist/chunks/chunk.NIOJE7BH.js +21 -0
- package/dist/chunks/chunk.NKFXDB2Z.js +90 -0
- package/dist/chunks/chunk.NPCVJUKV.js +24 -0
- package/dist/chunks/chunk.NWVHYK4D.js +259 -0
- package/dist/chunks/chunk.NYUE5UE4.js +11 -0
- package/dist/chunks/chunk.OEC5HAS4.js +80 -0
- package/dist/chunks/chunk.OOIYQEAE.js +11 -0
- package/dist/chunks/chunk.OT3W2VDS.js +22 -0
- package/dist/chunks/chunk.OV4S6AGL.js +115 -0
- package/dist/chunks/chunk.P3NINL2S.js +21 -0
- package/dist/chunks/chunk.P4DOHLYK.js +11 -0
- package/dist/chunks/chunk.P5UKPHEQ.js +119 -0
- package/dist/chunks/chunk.PSMEGYOA.js +134 -0
- package/dist/chunks/chunk.PSN7NXHC.js +29 -0
- package/dist/chunks/chunk.PVW7RFIH.js +375 -0
- package/dist/chunks/chunk.PX4XLM7D.js +11 -0
- package/dist/chunks/chunk.Q42I7RUE.js +25 -0
- package/dist/chunks/chunk.Q46OBR7H.js +225 -0
- package/dist/chunks/chunk.Q6RGCGBR.js +26 -0
- package/dist/chunks/chunk.QANK2AJX.js +11 -0
- package/dist/chunks/chunk.QHWDQUJX.js +397 -0
- package/dist/chunks/chunk.QJCORUXE.js +21 -0
- package/dist/chunks/chunk.QLVRXHOW.js +170 -0
- package/dist/chunks/chunk.QXKDIV3Z.js +21 -0
- package/dist/chunks/chunk.R6VA3FRI.js +27 -0
- package/dist/chunks/chunk.RUVQNNBC.js +11 -0
- package/dist/chunks/chunk.S3LYD6HD.js +11 -0
- package/dist/chunks/chunk.S64PD7CH.js +11 -0
- package/dist/chunks/chunk.SFZ5ICKB.js +116 -0
- package/dist/chunks/chunk.SO4CGIUH.js +247 -0
- package/dist/chunks/chunk.SOOCVZ5A.js +11 -0
- package/dist/chunks/chunk.SOTEACBR.js +27 -0
- package/dist/chunks/chunk.SXEIIIPL.js +24 -0
- package/dist/chunks/chunk.T4PEVNTO.js +361 -0
- package/dist/chunks/chunk.TGT4KT54.js +24 -0
- package/dist/chunks/chunk.TJDTPPIK.js +11 -0
- package/dist/chunks/chunk.TKICP3DR.js +25 -0
- package/dist/chunks/chunk.TNUDUCHM.js +550 -0
- package/dist/chunks/chunk.TUS54LUF.js +28 -0
- package/dist/chunks/chunk.TWPMWSDV.js +11 -0
- package/dist/chunks/chunk.UF7BU6VA.js +28 -0
- package/dist/chunks/chunk.ULLIMFGR.js +11 -0
- package/dist/chunks/chunk.UOCVUF2S.js +11 -0
- package/dist/chunks/chunk.UOOOBU4X.js +21 -0
- package/dist/chunks/chunk.UTF6FHFG.js +25 -0
- package/dist/chunks/chunk.UVECSHMZ.js +75 -0
- package/dist/chunks/chunk.UYUYYVKA.js +28 -0
- package/dist/chunks/chunk.VAYO25LX.js +290 -0
- package/dist/chunks/chunk.VIXWSCRM.js +93 -0
- package/dist/chunks/chunk.VIZBVMV5.js +11 -0
- package/dist/chunks/chunk.VMZEHNQX.js +28 -0
- package/dist/chunks/chunk.VQCVZ2BZ.js +11 -0
- package/dist/chunks/chunk.W7MY3CYU.js +11 -0
- package/dist/chunks/chunk.WC6B36P6.js +85 -0
- package/dist/chunks/chunk.WDYBD7AF.js +42 -0
- package/dist/chunks/chunk.WIXQXCWQ.js +147 -0
- package/dist/chunks/chunk.WONM6JHU.js +67 -0
- package/dist/chunks/chunk.XBDEMWNV.js +11 -0
- package/dist/chunks/chunk.XC26U4S4.js +11 -0
- package/dist/chunks/chunk.XE7M2YNN.js +448 -0
- package/dist/chunks/chunk.XEVAXDNB.js +21 -0
- package/dist/chunks/chunk.XFOSVUFO.js +72 -0
- package/dist/chunks/chunk.XSH3KPB7.js +11 -0
- package/dist/chunks/chunk.XTBG4YND.js +21 -0
- package/dist/chunks/chunk.XU3J2CJ6.js +11 -0
- package/dist/chunks/chunk.XUFIU7LH.js +11 -0
- package/dist/chunks/chunk.XVQLVEQI.js +11 -0
- package/dist/chunks/chunk.YDFLXP7I.js +117 -0
- package/dist/chunks/chunk.YF7FALUM.js +280 -0
- package/dist/chunks/chunk.YIPBRXYZ.js +384 -0
- package/dist/chunks/chunk.YLVLRLYL.js +837 -0
- package/dist/chunks/chunk.Z3HVR3RL.js +231 -0
- package/dist/chunks/chunk.Z3R4LXXC.js +27 -0
- package/dist/chunks/chunk.Z3Z5NBLL.js +151 -0
- package/dist/chunks/chunk.Z5FHJQ4D.js +192 -0
- package/dist/chunks/chunk.ZM6QH3UJ.js +11 -0
- package/dist/chunks/chunk.ZMHW2NZS.js +11 -0
- package/dist/chunks/chunk.ZMKAMAZ3.js +11 -0
- package/dist/chunks/chunk.ZNVI2MKD.js +82 -0
- package/dist/chunks/chunk.ZZUTMMSS.js +21 -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 +149 -149
- 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 +147 -147
- 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.2B4Q34RX.js +0 -24
- package/cdn/chunks/chunk.2NMXY3V6.js +0 -27
- package/cdn/chunks/chunk.2Q3ALMEK.js +0 -79
- package/cdn/chunks/chunk.2V3GNMGU.js +0 -114
- package/cdn/chunks/chunk.2Y7X4JJP.js +0 -49
- package/cdn/chunks/chunk.34UJYSU6.js +0 -11
- package/cdn/chunks/chunk.3CE44NBJ.js +0 -27
- package/cdn/chunks/chunk.3LKVCGMI.js +0 -120
- package/cdn/chunks/chunk.3OHQRU3B.js +0 -24
- package/cdn/chunks/chunk.4AJWZHMI.js +0 -11
- package/cdn/chunks/chunk.4AVXRAKM.js +0 -314
- package/cdn/chunks/chunk.4I3LC6DD.js +0 -11
- package/cdn/chunks/chunk.4M5YCIFV.js +0 -142
- package/cdn/chunks/chunk.53655SF6.js +0 -11
- package/cdn/chunks/chunk.5BDJ6YC2.js +0 -82
- package/cdn/chunks/chunk.5H2Y3PUM.js +0 -24
- package/cdn/chunks/chunk.5OZY36NI.js +0 -84
- package/cdn/chunks/chunk.63VP6NAM.js +0 -50
- package/cdn/chunks/chunk.66Q4NCX2.js +0 -21
- package/cdn/chunks/chunk.6ITLJOI5.js +0 -291
- package/cdn/chunks/chunk.6IYBTV2V.js +0 -11
- package/cdn/chunks/chunk.6L4OQPIL.js +0 -137
- package/cdn/chunks/chunk.6M4JPTBD.js +0 -11
- package/cdn/chunks/chunk.6OCFP5NL.js +0 -97
- package/cdn/chunks/chunk.6TPCSX3R.js +0 -21
- package/cdn/chunks/chunk.7GM7DBZ3.js +0 -11
- package/cdn/chunks/chunk.7HE54SFX.js +0 -24
- package/cdn/chunks/chunk.7IH4P76I.js +0 -27
- package/cdn/chunks/chunk.7MNGUYFJ.js +0 -11
- package/cdn/chunks/chunk.7TH3XZ3A.js +0 -21
- package/cdn/chunks/chunk.7W65UXNO.js +0 -11
- package/cdn/chunks/chunk.7XJDUB4R.js +0 -11
- package/cdn/chunks/chunk.A2SFC667.js +0 -367
- package/cdn/chunks/chunk.A5DT7LLS.js +0 -11
- package/cdn/chunks/chunk.A5X2TCOK.js +0 -27
- package/cdn/chunks/chunk.A7EL62CP.js +0 -21
- package/cdn/chunks/chunk.A7P3JGIV.js +0 -11
- package/cdn/chunks/chunk.AKSCFOKB.js +0 -11
- package/cdn/chunks/chunk.ANR5IM3G.js +0 -11
- package/cdn/chunks/chunk.AQMCMZEV.js +0 -11
- package/cdn/chunks/chunk.AW7LY2JH.js +0 -153
- package/cdn/chunks/chunk.AYFJOTEI.js +0 -378
- package/cdn/chunks/chunk.B7TSQPEH.js +0 -28
- package/cdn/chunks/chunk.BDR4CIWV.js +0 -91
- package/cdn/chunks/chunk.BHBHHH56.js +0 -11
- package/cdn/chunks/chunk.BJMJEO7A.js +0 -25
- package/cdn/chunks/chunk.BP336MNV.js +0 -87
- package/cdn/chunks/chunk.BQGL7BVJ.js +0 -11
- package/cdn/chunks/chunk.BS4GB46O.js +0 -24
- package/cdn/chunks/chunk.C2M7QWWQ.js +0 -186
- package/cdn/chunks/chunk.C4B6RPNJ.js +0 -24
- package/cdn/chunks/chunk.C5HM5UOE.js +0 -11
- package/cdn/chunks/chunk.C5RIGNDG.js +0 -11
- package/cdn/chunks/chunk.CDD5LRJE.js +0 -11
- package/cdn/chunks/chunk.CVPQZFGK.js +0 -33
- package/cdn/chunks/chunk.D7DEMDHZ.js +0 -724
- package/cdn/chunks/chunk.DL3VZLFR.js +0 -11
- package/cdn/chunks/chunk.DN34TMAW.js +0 -24
- package/cdn/chunks/chunk.DS7D7AEL.js +0 -391
- package/cdn/chunks/chunk.DTCJP3UA.js +0 -11
- package/cdn/chunks/chunk.E2A3E64W.js +0 -49
- package/cdn/chunks/chunk.ECAAAJBR.js +0 -302
- package/cdn/chunks/chunk.ELO2QPLP.js +0 -29
- package/cdn/chunks/chunk.EOFPCKV4.js +0 -11
- package/cdn/chunks/chunk.EOKIPGSK.js +0 -25
- package/cdn/chunks/chunk.ERECRABC.js +0 -11
- package/cdn/chunks/chunk.EZFLEW2E.js +0 -11
- package/cdn/chunks/chunk.EZGEM7EC.js +0 -21
- package/cdn/chunks/chunk.F2DK6JKL.js +0 -93
- package/cdn/chunks/chunk.FEH4QNGK.js +0 -25
- package/cdn/chunks/chunk.FHHO6IXA.js +0 -11
- package/cdn/chunks/chunk.FLNVNWJS.js +0 -218
- package/cdn/chunks/chunk.FLZY4CGF.js +0 -346
- package/cdn/chunks/chunk.FP6YB32V.js +0 -11
- package/cdn/chunks/chunk.FRHT5JUO.js +0 -11
- package/cdn/chunks/chunk.FVOHYWTN.js +0 -21
- package/cdn/chunks/chunk.G4OBBQCB.js +0 -402
- package/cdn/chunks/chunk.GIQZHRC2.js +0 -11
- package/cdn/chunks/chunk.GM3UAGLB.js +0 -11
- package/cdn/chunks/chunk.GVAVTCFG.js +0 -11
- package/cdn/chunks/chunk.GYJKPMSO.js +0 -21
- package/cdn/chunks/chunk.HGF66M35.js +0 -21
- package/cdn/chunks/chunk.HMCWA3QE.js +0 -28
- package/cdn/chunks/chunk.HPDUHPR2.js +0 -11
- package/cdn/chunks/chunk.I7S55YYP.js +0 -11
- package/cdn/chunks/chunk.IB56CDHK.js +0 -1925
- package/cdn/chunks/chunk.IE5PABZV.js +0 -29
- package/cdn/chunks/chunk.IHRSYKXP.js +0 -231
- package/cdn/chunks/chunk.IISID25Z.js +0 -21
- package/cdn/chunks/chunk.IJ7RAA2R.js +0 -844
- package/cdn/chunks/chunk.IJVCTXNB.js +0 -21
- package/cdn/chunks/chunk.IPLVQ3X5.js +0 -24
- package/cdn/chunks/chunk.J3KPK6HC.js +0 -28
- package/cdn/chunks/chunk.J57WWO4W.js +0 -11
- package/cdn/chunks/chunk.JEIYXY4Y.js +0 -174
- package/cdn/chunks/chunk.JL56I5XF.js +0 -21
- package/cdn/chunks/chunk.JMFIHBKE.js +0 -21
- package/cdn/chunks/chunk.JMX7JUKG.js +0 -26
- package/cdn/chunks/chunk.JZ2XUPBY.js +0 -292
- package/cdn/chunks/chunk.KF3KN5OS.js +0 -21
- package/cdn/chunks/chunk.KF7YI4P7.js +0 -11
- package/cdn/chunks/chunk.KRXGBSMG.js +0 -11
- package/cdn/chunks/chunk.KRYRRQ45.js +0 -25
- package/cdn/chunks/chunk.KSQGSWE2.js +0 -336
- package/cdn/chunks/chunk.KTVDAEXW.js +0 -574
- package/cdn/chunks/chunk.L4SDI37F.js +0 -11
- package/cdn/chunks/chunk.L5XLV3B4.js +0 -139
- package/cdn/chunks/chunk.LB2DTWBV.js +0 -11
- package/cdn/chunks/chunk.LB4RCMXI.js +0 -969
- package/cdn/chunks/chunk.LBS3GBD6.js +0 -1990
- package/cdn/chunks/chunk.LD7T6IV6.js +0 -27
- package/cdn/chunks/chunk.LQNVD4JC.js +0 -21
- package/cdn/chunks/chunk.LUVPRETA.js +0 -29
- package/cdn/chunks/chunk.LWWWFVEF.js +0 -11
- package/cdn/chunks/chunk.M6J5235P.js +0 -11
- package/cdn/chunks/chunk.M7WRXDRS.js +0 -299
- package/cdn/chunks/chunk.MG4GE3YI.js +0 -185
- package/cdn/chunks/chunk.MGSJMEMA.js +0 -33
- package/cdn/chunks/chunk.MK7TXRVG.js +0 -27
- package/cdn/chunks/chunk.MRW4Z5SV.js +0 -77
- package/cdn/chunks/chunk.MVNZWPX3.js +0 -114
- package/cdn/chunks/chunk.MWFXKD76.js +0 -158
- package/cdn/chunks/chunk.N2P42CY4.js +0 -11
- package/cdn/chunks/chunk.N36WHIUN.js +0 -11
- package/cdn/chunks/chunk.NF75CIKV.js +0 -11
- package/cdn/chunks/chunk.NKJZAVMB.js +0 -24
- package/cdn/chunks/chunk.NN6K4NN6.js +0 -11
- package/cdn/chunks/chunk.NOY5CJSA.js +0 -63
- package/cdn/chunks/chunk.NQKQLSSO.js +0 -11
- package/cdn/chunks/chunk.O2RRDT5B.js +0 -11
- package/cdn/chunks/chunk.O6TUI7LE.js +0 -297
- package/cdn/chunks/chunk.OLVAYDUN.js +0 -21
- package/cdn/chunks/chunk.OW7XLMPX.js +0 -11
- package/cdn/chunks/chunk.OYZHONPM.js +0 -255
- package/cdn/chunks/chunk.P7EBRKDT.js +0 -330
- package/cdn/chunks/chunk.PC4SF3KR.js +0 -25
- package/cdn/chunks/chunk.PEBVIS6K.js +0 -821
- package/cdn/chunks/chunk.PJHA4AL3.js +0 -21
- package/cdn/chunks/chunk.PRHXCPC4.js +0 -67
- package/cdn/chunks/chunk.PWRJF2BG.js +0 -11
- package/cdn/chunks/chunk.PXOELIWL.js +0 -11
- package/cdn/chunks/chunk.PXSWSPT7.js +0 -25
- package/cdn/chunks/chunk.PYWHUJ2N.js +0 -33
- package/cdn/chunks/chunk.Q22MI4ZD.js +0 -499
- package/cdn/chunks/chunk.Q45GZPA5.js +0 -122
- package/cdn/chunks/chunk.Q4SYZWDL.js +0 -11
- package/cdn/chunks/chunk.Q6V6Z7RU.js +0 -21
- package/cdn/chunks/chunk.Q7XI3CGO.js +0 -267
- package/cdn/chunks/chunk.QCHEL53A.js +0 -21
- package/cdn/chunks/chunk.QEZXRVUA.js +0 -42
- package/cdn/chunks/chunk.QFMQPXNW.js +0 -11
- package/cdn/chunks/chunk.QGDFPNUI.js +0 -120
- package/cdn/chunks/chunk.QHDZUDMX.js +0 -26
- package/cdn/chunks/chunk.QLIIIMFZ.js +0 -33
- package/cdn/chunks/chunk.QQXGLQGE.js +0 -25
- package/cdn/chunks/chunk.QQZ6ECQI.js +0 -11
- package/cdn/chunks/chunk.QS4237YC.js +0 -11
- package/cdn/chunks/chunk.R56T5IQU.js +0 -11
- package/cdn/chunks/chunk.RAXGMCN5.js +0 -21
- package/cdn/chunks/chunk.RD3KLWPH.js +0 -21
- package/cdn/chunks/chunk.RO2MLSDH.js +0 -285
- package/cdn/chunks/chunk.RPG7WVUV.js +0 -11
- package/cdn/chunks/chunk.RS4OWTJ5.js +0 -45
- package/cdn/chunks/chunk.RWHV7O4S.js +0 -11
- package/cdn/chunks/chunk.RWKZUNZA.js +0 -24
- package/cdn/chunks/chunk.RXLYNMRL.js +0 -24
- package/cdn/chunks/chunk.RXQ57RZO.js +0 -11
- package/cdn/chunks/chunk.S6XJYSJC.js +0 -233
- package/cdn/chunks/chunk.SAC4LGYP.js +0 -29
- package/cdn/chunks/chunk.SANZ24JE.js +0 -27
- package/cdn/chunks/chunk.SBQWGTKG.js +0 -11
- package/cdn/chunks/chunk.SNRT7CRO.js +0 -904
- package/cdn/chunks/chunk.SOTNLOIT.js +0 -11
- package/cdn/chunks/chunk.T5NIDDI3.js +0 -27
- package/cdn/chunks/chunk.TARJHCBV.js +0 -11
- package/cdn/chunks/chunk.TDBXDFZ5.js +0 -24
- package/cdn/chunks/chunk.TEALCI5A.js +0 -11
- package/cdn/chunks/chunk.TEBOKWUX.js +0 -11
- package/cdn/chunks/chunk.TEIDR2HL.js +0 -11
- package/cdn/chunks/chunk.TNSGWKSA.js +0 -75
- package/cdn/chunks/chunk.TOP5MCYV.js +0 -11
- package/cdn/chunks/chunk.TPRPU4FI.js +0 -103
- package/cdn/chunks/chunk.TTOK3OGK.js +0 -11
- package/cdn/chunks/chunk.TYNNGPGN.js +0 -26
- package/cdn/chunks/chunk.TYP7WH4C.js +0 -64
- package/cdn/chunks/chunk.U2W5GRUE.js +0 -73
- package/cdn/chunks/chunk.UOZLBIGB.js +0 -11
- package/cdn/chunks/chunk.UUZPAIC6.js +0 -25
- package/cdn/chunks/chunk.UWRGYYJO.js +0 -79
- package/cdn/chunks/chunk.UXTJBJQE.js +0 -24
- package/cdn/chunks/chunk.V4H3IGRJ.js +0 -28
- package/cdn/chunks/chunk.VAAD4OVB.js +0 -21
- package/cdn/chunks/chunk.VAPZDHBU.js +0 -25
- package/cdn/chunks/chunk.VG534EFM.js +0 -197
- package/cdn/chunks/chunk.VLC3JLLK.js +0 -11
- package/cdn/chunks/chunk.VM2C2XMU.js +0 -21
- package/cdn/chunks/chunk.VNH6CT6T.js +0 -11
- package/cdn/chunks/chunk.VNUEPJDF.js +0 -11
- package/cdn/chunks/chunk.VUYMM42W.js +0 -21
- package/cdn/chunks/chunk.W5ZEQA5N.js +0 -385
- package/cdn/chunks/chunk.WIKTHTUQ.js +0 -21
- package/cdn/chunks/chunk.WOOZHMYB.js +0 -236
- package/cdn/chunks/chunk.XJ6FDYQV.js +0 -24
- package/cdn/chunks/chunk.XWWO6SKL.js +0 -279
- package/cdn/chunks/chunk.XXCSDFM5.js +0 -216
- package/cdn/chunks/chunk.XZAG4RET.js +0 -11
- package/cdn/chunks/chunk.Y2AXTNRM.js +0 -26
- package/cdn/chunks/chunk.Y6RJGXAX.js +0 -21
- package/cdn/chunks/chunk.YGCQG7BU.js +0 -21
- package/cdn/chunks/chunk.YIWKMUIV.js +0 -21
- package/cdn/chunks/chunk.YRFY23LK.js +0 -36
- package/cdn/chunks/chunk.YUXY4FHO.js +0 -28
- package/cdn/chunks/chunk.Z3GS56QK.js +0 -95
- package/cdn/chunks/chunk.Z4OPMQB6.js +0 -11
- package/cdn/chunks/chunk.ZDBBX6AF.js +0 -127
- package/cdn/chunks/chunk.ZOCFZME7.js +0 -21
- package/cdn/chunks/chunk.ZRHMRSX5.js +0 -113
- package/cdn/chunks/chunk.ZT3JUYJ3.js +0 -11
- package/cdn/chunks/chunk.ZT4THDOY.js +0 -455
- package/cdn/chunks/chunk.ZUCQW2K5.js +0 -11
- package/dist/chunks/chunk.23JIRIFZ.js +0 -896
- package/dist/chunks/chunk.24LVT35E.js +0 -11
- package/dist/chunks/chunk.27TDF6FT.js +0 -11
- package/dist/chunks/chunk.2IID2SMN.js +0 -24
- package/dist/chunks/chunk.2JYUQFC4.js +0 -29
- package/dist/chunks/chunk.333VCOQY.js +0 -274
- package/dist/chunks/chunk.336GC7KL.js +0 -11
- package/dist/chunks/chunk.33GEZ654.js +0 -837
- package/dist/chunks/chunk.33K6WD6E.js +0 -370
- package/dist/chunks/chunk.34UNNGYU.js +0 -11
- package/dist/chunks/chunk.355UDECE.js +0 -21
- package/dist/chunks/chunk.37AZ67WP.js +0 -25
- package/dist/chunks/chunk.37GXNTBP.js +0 -45
- package/dist/chunks/chunk.3CGLF224.js +0 -21
- package/dist/chunks/chunk.3HBWEZZM.js +0 -21
- package/dist/chunks/chunk.3ISEF6VK.js +0 -90
- package/dist/chunks/chunk.3LUJD7V4.js +0 -25
- package/dist/chunks/chunk.3PYJW6WU.js +0 -25
- package/dist/chunks/chunk.3R43SIQQ.js +0 -21
- package/dist/chunks/chunk.3ZR7LOFL.js +0 -11
- package/dist/chunks/chunk.4AHD7X7P.js +0 -21
- package/dist/chunks/chunk.4BEM7DUS.js +0 -27
- package/dist/chunks/chunk.4EE2MU7D.js +0 -276
- package/dist/chunks/chunk.4IMAWSCZ.js +0 -11
- package/dist/chunks/chunk.4JXJMHXU.js +0 -11
- package/dist/chunks/chunk.4QKVJRNN.js +0 -116
- package/dist/chunks/chunk.4TKAGXDP.js +0 -21
- package/dist/chunks/chunk.5GTCWMT2.js +0 -24
- package/dist/chunks/chunk.5NTESLKU.js +0 -115
- package/dist/chunks/chunk.5PRI4B2B.js +0 -286
- package/dist/chunks/chunk.5RYPZ4GO.js +0 -21
- package/dist/chunks/chunk.5WMDKRFL.js +0 -27
- package/dist/chunks/chunk.6A4EPLC7.js +0 -24
- package/dist/chunks/chunk.6ENV2UPT.js +0 -117
- package/dist/chunks/chunk.6FTXW273.js +0 -11
- package/dist/chunks/chunk.6FXDFIMU.js +0 -11
- package/dist/chunks/chunk.6LATTAZQ.js +0 -25
- package/dist/chunks/chunk.6NNDGKOX.js +0 -21
- package/dist/chunks/chunk.6NZPDECC.js +0 -21
- package/dist/chunks/chunk.6O5KOZAS.js +0 -91
- package/dist/chunks/chunk.6TX3JMV5.js +0 -11
- package/dist/chunks/chunk.6ZKEZDHX.js +0 -21
- package/dist/chunks/chunk.7O2ZGKQV.js +0 -11
- package/dist/chunks/chunk.7QEPPRA2.js +0 -26
- package/dist/chunks/chunk.7TUEL6Y2.js +0 -550
- package/dist/chunks/chunk.ABN7BQ52.js +0 -227
- package/dist/chunks/chunk.ADCXYGZX.js +0 -24
- package/dist/chunks/chunk.AGY32VOO.js +0 -50
- package/dist/chunks/chunk.B4DPA57B.js +0 -213
- package/dist/chunks/chunk.BCRWTPSZ.js +0 -67
- package/dist/chunks/chunk.BRXJYORJ.js +0 -42
- package/dist/chunks/chunk.BU2TLZR4.js +0 -135
- package/dist/chunks/chunk.BUBJW4RQ.js +0 -73
- package/dist/chunks/chunk.BZDTD7I3.js +0 -24
- package/dist/chunks/chunk.C7OUWA7J.js +0 -11
- package/dist/chunks/chunk.CH3DNLXL.js +0 -11
- package/dist/chunks/chunk.CJ6EL5KV.js +0 -11
- package/dist/chunks/chunk.CPYMXFDY.js +0 -21
- package/dist/chunks/chunk.CQY4M7GC.js +0 -21
- package/dist/chunks/chunk.CRKE2QLA.js +0 -100
- package/dist/chunks/chunk.CUVX7WI2.js +0 -24
- package/dist/chunks/chunk.CW7D5SQD.js +0 -11
- package/dist/chunks/chunk.CYPTUEVK.js +0 -111
- package/dist/chunks/chunk.CYWSUUUH.js +0 -11
- package/dist/chunks/chunk.CZIPUHNR.js +0 -134
- package/dist/chunks/chunk.CZOBWRGT.js +0 -26
- package/dist/chunks/chunk.D54FJ6QD.js +0 -27
- package/dist/chunks/chunk.DEZU3E6U.js +0 -21
- package/dist/chunks/chunk.DQRCYRSM.js +0 -25
- package/dist/chunks/chunk.E2V2NDVF.js +0 -11
- package/dist/chunks/chunk.ELLGKNWI.js +0 -21
- package/dist/chunks/chunk.EQRYZIFK.js +0 -21
- package/dist/chunks/chunk.EUHOP6U2.js +0 -24
- package/dist/chunks/chunk.EUQQNK77.js +0 -11
- package/dist/chunks/chunk.EY45TVSJ.js +0 -11
- package/dist/chunks/chunk.FBOGODJ6.js +0 -21
- package/dist/chunks/chunk.FFIM2JNB.js +0 -11
- package/dist/chunks/chunk.FQYNEWV5.js +0 -11
- package/dist/chunks/chunk.GAH43BEN.js +0 -11
- package/dist/chunks/chunk.GHHK3E3Z.js +0 -93
- package/dist/chunks/chunk.GJG2GJXN.js +0 -11
- package/dist/chunks/chunk.GTT763UO.js +0 -231
- package/dist/chunks/chunk.GUIMPZET.js +0 -11
- package/dist/chunks/chunk.HFPECGA2.js +0 -62
- package/dist/chunks/chunk.HMIT75CD.js +0 -311
- package/dist/chunks/chunk.I45XSRLV.js +0 -11
- package/dist/chunks/chunk.IDIIQ3GL.js +0 -24
- package/dist/chunks/chunk.IIWHG7FT.js +0 -293
- package/dist/chunks/chunk.INHYXWVX.js +0 -25
- package/dist/chunks/chunk.IT3O3NER.js +0 -45
- package/dist/chunks/chunk.IUJLFO7Q.js +0 -22
- package/dist/chunks/chunk.IWWHI7PI.js +0 -100
- package/dist/chunks/chunk.J6FJXYID.js +0 -397
- package/dist/chunks/chunk.JBWFGTD3.js +0 -11
- package/dist/chunks/chunk.JEOBD6O3.js +0 -21
- package/dist/chunks/chunk.JFZK3DP2.js +0 -181
- package/dist/chunks/chunk.JHIEYQUR.js +0 -11
- package/dist/chunks/chunk.JIDCCYY6.js +0 -27
- package/dist/chunks/chunk.JK7KZMDU.js +0 -28
- package/dist/chunks/chunk.JKUBSWVB.js +0 -11
- package/dist/chunks/chunk.JODNOD4H.js +0 -11
- package/dist/chunks/chunk.KEWGTV5R.js +0 -29
- package/dist/chunks/chunk.KIQLZF7L.js +0 -72
- package/dist/chunks/chunk.KTXJRWM6.js +0 -33
- package/dist/chunks/chunk.L6SVHB36.js +0 -22
- package/dist/chunks/chunk.LA35R2GR.js +0 -24
- package/dist/chunks/chunk.LAVHIT2D.js +0 -33
- package/dist/chunks/chunk.LB3AM2WC.js +0 -11
- package/dist/chunks/chunk.LDK5JRWX.js +0 -26
- package/dist/chunks/chunk.LLFARZQL.js +0 -11
- package/dist/chunks/chunk.LLVYJ3NM.js +0 -75
- package/dist/chunks/chunk.LWRDNRJG.js +0 -11
- package/dist/chunks/chunk.LZGCDCKP.js +0 -11
- package/dist/chunks/chunk.LZX6O7SW.js +0 -11
- package/dist/chunks/chunk.M4ZW73TB.js +0 -192
- package/dist/chunks/chunk.MB6IXPBX.js +0 -11
- package/dist/chunks/chunk.MFGTOZS3.js +0 -178
- package/dist/chunks/chunk.MFZIBJOD.js +0 -28
- package/dist/chunks/chunk.MIJ3IREJ.js +0 -29
- package/dist/chunks/chunk.MOBDKDQV.js +0 -323
- package/dist/chunks/chunk.MOZXLLIQ.js +0 -11
- package/dist/chunks/chunk.MQMITWBO.js +0 -361
- package/dist/chunks/chunk.MQX322UN.js +0 -225
- package/dist/chunks/chunk.MVEKZEJS.js +0 -11
- package/dist/chunks/chunk.MVISLCI7.js +0 -11
- package/dist/chunks/chunk.MWQPEDLA.js +0 -109
- package/dist/chunks/chunk.MYBMC7CS.js +0 -280
- package/dist/chunks/chunk.MZURR4UO.js +0 -11
- package/dist/chunks/chunk.N6AVGMGP.js +0 -11
- package/dist/chunks/chunk.NKY5F27I.js +0 -25
- package/dist/chunks/chunk.NNQ5ZAWA.js +0 -130
- package/dist/chunks/chunk.NP7CMY5X.js +0 -63
- package/dist/chunks/chunk.NUJW5YCN.js +0 -147
- package/dist/chunks/chunk.O4XUNIMC.js +0 -26
- package/dist/chunks/chunk.OAVSFVDD.js +0 -29
- package/dist/chunks/chunk.ORLAJ5LY.js +0 -24
- package/dist/chunks/chunk.P746OXKQ.js +0 -27
- package/dist/chunks/chunk.P7PNCRHE.js +0 -21
- package/dist/chunks/chunk.PIMEKNGV.js +0 -11
- package/dist/chunks/chunk.PL5YN4PY.js +0 -961
- package/dist/chunks/chunk.PMRORZFA.js +0 -85
- package/dist/chunks/chunk.PVBXPSNQ.js +0 -11
- package/dist/chunks/chunk.PXTOJL2K.js +0 -21
- package/dist/chunks/chunk.Q3P2UKFW.js +0 -80
- package/dist/chunks/chunk.Q6UNNDJB.js +0 -259
- package/dist/chunks/chunk.QANT5PDJ.js +0 -11
- package/dist/chunks/chunk.QEVWNSND.js +0 -11
- package/dist/chunks/chunk.QJ4AVEBP.js +0 -247
- package/dist/chunks/chunk.QMIQ5Q5K.js +0 -119
- package/dist/chunks/chunk.QPFI4FQY.js +0 -315
- package/dist/chunks/chunk.QQ3FMHAZ.js +0 -21
- package/dist/chunks/chunk.QRPZI2ZW.js +0 -11
- package/dist/chunks/chunk.QRVBZ5WV.js +0 -75
- package/dist/chunks/chunk.QTPIPPHY.js +0 -11
- package/dist/chunks/chunk.QY4AOMLY.js +0 -170
- package/dist/chunks/chunk.R4PXHOSB.js +0 -33
- package/dist/chunks/chunk.RBWK2ZG4.js +0 -813
- package/dist/chunks/chunk.RN33VKJR.js +0 -25
- package/dist/chunks/chunk.ROBNFT4L.js +0 -28
- package/dist/chunks/chunk.ROY4INQH.js +0 -417
- package/dist/chunks/chunk.RSX33MOY.js +0 -11
- package/dist/chunks/chunk.RWRQ5SA6.js +0 -337
- package/dist/chunks/chunk.S2J4FLC6.js +0 -11
- package/dist/chunks/chunk.S3KBK5OS.js +0 -11
- package/dist/chunks/chunk.S6UKQPLS.js +0 -11
- package/dist/chunks/chunk.SKWG5L5B.js +0 -21
- package/dist/chunks/chunk.SMLU5LWV.js +0 -11
- package/dist/chunks/chunk.SNCMJMHH.js +0 -11
- package/dist/chunks/chunk.SPB36PC3.js +0 -11
- package/dist/chunks/chunk.SPHB2ZYK.js +0 -21
- package/dist/chunks/chunk.SQTJWRRM.js +0 -28
- package/dist/chunks/chunk.SU44QZWS.js +0 -41
- package/dist/chunks/chunk.SV2HJZLT.js +0 -384
- package/dist/chunks/chunk.T2POQVSZ.js +0 -25
- package/dist/chunks/chunk.T3S7WZ3T.js +0 -94
- package/dist/chunks/chunk.T5M65WLB.js +0 -11
- package/dist/chunks/chunk.TG47ATFB.js +0 -34
- package/dist/chunks/chunk.THIPM3JK.js +0 -87
- package/dist/chunks/chunk.U24VHM6I.js +0 -82
- package/dist/chunks/chunk.U4AOBFKD.js +0 -11
- package/dist/chunks/chunk.UIKLFKEF.js +0 -21
- package/dist/chunks/chunk.UNDJNP3N.js +0 -21
- package/dist/chunks/chunk.UNMCL5B3.js +0 -11
- package/dist/chunks/chunk.V65GGQA6.js +0 -11
- package/dist/chunks/chunk.VB3VMN75.js +0 -25
- package/dist/chunks/chunk.VJ67JSHW.js +0 -109
- package/dist/chunks/chunk.VKGF6WWM.js +0 -11
- package/dist/chunks/chunk.W63FGMT2.js +0 -21
- package/dist/chunks/chunk.WD4OQ4PV.js +0 -290
- package/dist/chunks/chunk.WITBYVW2.js +0 -11
- package/dist/chunks/chunk.WNYPD5WT.js +0 -27
- package/dist/chunks/chunk.WXSCZZN4.js +0 -11
- package/dist/chunks/chunk.WY7EBVFL.js +0 -11
- package/dist/chunks/chunk.X4G6GUL4.js +0 -59
- package/dist/chunks/chunk.XAP7ZFO2.js +0 -24
- package/dist/chunks/chunk.XBFFMSXS.js +0 -21
- package/dist/chunks/chunk.XBOZQKVI.js +0 -11
- package/dist/chunks/chunk.XBSSJ3Z4.js +0 -24
- package/dist/chunks/chunk.XMSG7ELT.js +0 -33
- package/dist/chunks/chunk.XPDXCF3Y.js +0 -949
- package/dist/chunks/chunk.XPPIKI37.js +0 -21
- package/dist/chunks/chunk.XUIKDEG7.js +0 -11
- package/dist/chunks/chunk.XY53BTXU.js +0 -11
- package/dist/chunks/chunk.YAU3RAHO.js +0 -21
- package/dist/chunks/chunk.YFJFJ6O3.js +0 -11
- package/dist/chunks/chunk.YFJK3XEG.js +0 -11
- package/dist/chunks/chunk.YLX6ZL3E.js +0 -151
- package/dist/chunks/chunk.YMDDKMAH.js +0 -27
- package/dist/chunks/chunk.YPLJWVQE.js +0 -448
- package/dist/chunks/chunk.YQ4JGKLL.js +0 -11
- package/dist/chunks/chunk.YTCLBCMK.js +0 -11
- package/dist/chunks/chunk.Z4M45GQI.js +0 -294
- package/dist/chunks/chunk.Z6MRLPVV.js +0 -491
- package/dist/chunks/chunk.ZEBPRHZG.js +0 -375
- package/dist/chunks/chunk.ZEHYGJ5G.js +0 -11
- package/dist/chunks/chunk.ZEW3O53C.js +0 -11
- package/dist/chunks/chunk.ZIE6AQ67.js +0 -11
- package/dist/chunks/chunk.ZLDCF542.js +0 -28
- package/dist/chunks/chunk.ZQ6WSUC5.js +0 -11
- package/dist/chunks/chunk.ZWJEX2FL.js +0 -11
|
@@ -0,0 +1,949 @@
|
|
|
1
|
+
import {
|
|
2
|
+
drag
|
|
3
|
+
} from "./chunk.ESELY2US.js";
|
|
4
|
+
import {
|
|
5
|
+
CwInput
|
|
6
|
+
} from "./chunk.7C6HZTNY.js";
|
|
7
|
+
import {
|
|
8
|
+
CwDropdown
|
|
9
|
+
} from "./chunk.YIPBRXYZ.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.OT3W2VDS.js";
|
|
19
|
+
import {
|
|
20
|
+
clamp
|
|
21
|
+
} from "./chunk.HF7GESMZ.js";
|
|
22
|
+
import {
|
|
23
|
+
CwButton
|
|
24
|
+
} from "./chunk.IBL4MDKA.js";
|
|
25
|
+
import {
|
|
26
|
+
FormControlController
|
|
27
|
+
} from "./chunk.PH2VNONO.js";
|
|
28
|
+
import {
|
|
29
|
+
CwButtonGroup
|
|
30
|
+
} from "./chunk.MRKPQPTS.js";
|
|
31
|
+
import {
|
|
32
|
+
LocalizeController
|
|
33
|
+
} from "./chunk.OFFCHZOX.js";
|
|
34
|
+
import {
|
|
35
|
+
CwIcon
|
|
36
|
+
} from "./chunk.FEYD2AM3.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.DFBKZZMZ.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
|
+
};
|