@cordwainer/cw-elements 1.3.0-alpha.0 → 1.3.0-alpha.2
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.26WSOE2X.js +82 -0
- package/cdn/chunks/chunk.2GQBK57C.js +21 -0
- package/cdn/chunks/chunk.2PW2QKYS.js +11 -0
- package/cdn/chunks/chunk.2U2TTDFY.js +21 -0
- package/cdn/chunks/chunk.3242SXOJ.js +336 -0
- package/cdn/chunks/chunk.32ZRRHBU.js +302 -0
- package/cdn/chunks/chunk.33URXAH3.js +218 -0
- package/cdn/chunks/chunk.3ARB4BUC.js +27 -0
- package/cdn/chunks/chunk.3IUWADBZ.js +216 -0
- package/cdn/chunks/chunk.3J7CB5LK.js +24 -0
- package/cdn/chunks/chunk.3K3JJKK4.js +73 -0
- package/cdn/chunks/chunk.3PDPHGHG.js +255 -0
- package/cdn/chunks/chunk.3PZEB6JT.js +11 -0
- package/cdn/chunks/chunk.3TPA7GQN.js +24 -0
- package/cdn/chunks/chunk.3WY5UV4F.js +68 -0
- package/cdn/chunks/chunk.45KMUOKV.js +11 -0
- package/cdn/chunks/chunk.4G6AE6LA.js +24 -0
- package/cdn/chunks/chunk.4K75R5VR.js +11 -0
- package/cdn/chunks/chunk.4RAPVAHL.js +25 -0
- package/cdn/chunks/chunk.4XLQ4X2K.js +21 -0
- package/cdn/chunks/chunk.57J7OEEI.js +25 -0
- package/cdn/chunks/chunk.5F76MEWP.js +346 -0
- package/cdn/chunks/chunk.5L7AW6FM.js +25 -0
- package/cdn/chunks/chunk.5PHXVCME.js +11 -0
- package/cdn/chunks/chunk.5WYMZNF6.js +28 -0
- package/cdn/chunks/chunk.65MZCEGR.js +233 -0
- package/cdn/chunks/chunk.6GU47XCA.js +26 -0
- package/cdn/chunks/chunk.6PHTFONO.js +26 -0
- package/cdn/chunks/chunk.6QLQZBQU.js +50 -0
- package/cdn/chunks/chunk.77PJUHB6.js +28 -0
- package/cdn/chunks/chunk.7AAZHDDS.js +49 -0
- package/cdn/chunks/chunk.7BUXWMXE.js +28 -0
- package/cdn/chunks/chunk.7DAXFFSC.js +11 -0
- package/cdn/chunks/chunk.7NULNU3H.js +11 -0
- package/cdn/chunks/chunk.7TPEJNB7.js +844 -0
- package/cdn/chunks/chunk.7XOG5GFO.js +11 -0
- package/cdn/chunks/chunk.7ZBK5WGA.js +11 -0
- package/cdn/chunks/chunk.7ZMWKRVJ.js +391 -0
- package/cdn/chunks/chunk.ABX25UC6.js +27 -0
- package/cdn/chunks/chunk.AJKXWZ4C.js +75 -0
- package/cdn/chunks/chunk.AKDLLCMM.js +26 -0
- package/cdn/chunks/chunk.AO4IHDIX.js +21 -0
- package/cdn/chunks/chunk.ASUHMZ5Z.js +218 -0
- package/cdn/chunks/chunk.B3OMWAHY.js +42 -0
- package/cdn/chunks/chunk.B4ACYUD5.js +21 -0
- package/cdn/chunks/chunk.B5NVEHPC.js +21 -0
- package/cdn/chunks/chunk.BCZHAALL.js +367 -0
- package/cdn/chunks/chunk.BNR5DOZQ.js +103 -0
- package/cdn/chunks/chunk.BOUHC5RQ.js +28 -0
- package/cdn/chunks/chunk.BYE2GI7R.js +21 -0
- package/cdn/chunks/chunk.C462ROOD.js +197 -0
- package/cdn/chunks/chunk.CBQPV2XP.js +11 -0
- package/cdn/chunks/chunk.CFLXAVEG.js +114 -0
- package/cdn/chunks/chunk.CIMQMOO5.js +11 -0
- package/cdn/chunks/chunk.CMJ2JOSO.js +33 -0
- package/cdn/chunks/chunk.CPS6O74Q.js +33 -0
- package/cdn/chunks/chunk.D5D6WCXD.js +24 -0
- package/cdn/chunks/chunk.D5DMNQ2B.js +186 -0
- package/cdn/chunks/chunk.DAMD3CDQ.js +113 -0
- package/cdn/chunks/chunk.DAUE7NHW.js +11 -0
- package/cdn/chunks/chunk.DH3IY2T5.js +267 -0
- package/cdn/chunks/chunk.DIJ445RQ.js +11 -0
- package/cdn/chunks/chunk.DT7CPYIO.js +25 -0
- package/cdn/chunks/chunk.DVUIGSMD.js +25 -0
- package/cdn/chunks/chunk.E7R53EFE.js +11 -0
- package/cdn/chunks/chunk.EET3ZV5W.js +11 -0
- package/cdn/chunks/chunk.EGCD4LGL.js +97 -0
- package/cdn/chunks/chunk.EMATHFZN.js +11 -0
- package/cdn/chunks/chunk.EOHBQQVF.js +21 -0
- package/cdn/chunks/chunk.ETCTXR4G.js +11 -0
- package/cdn/chunks/chunk.EURPGK3R.js +11 -0
- package/cdn/chunks/chunk.EZE3OMZ6.js +82 -0
- package/cdn/chunks/chunk.F57BXPJ7.js +24 -0
- package/cdn/chunks/chunk.F6VYXVQB.js +21 -0
- package/cdn/chunks/chunk.F7IXHFWY.js +11 -0
- package/cdn/chunks/chunk.FBHWAQR5.js +11 -0
- package/cdn/chunks/chunk.FGF6DRYC.js +29 -0
- package/cdn/chunks/chunk.FM2IBS7V.js +11 -0
- package/cdn/chunks/chunk.FUCWH2MU.js +21 -0
- package/cdn/chunks/chunk.FUI6TCOP.js +122 -0
- package/cdn/chunks/chunk.G2NWQJHP.js +57 -0
- package/cdn/chunks/chunk.G7T475QM.js +1990 -0
- package/cdn/chunks/chunk.GCLPDTUN.js +25 -0
- package/cdn/chunks/chunk.GHDM3OKR.js +11 -0
- package/cdn/chunks/chunk.GQC2ZJN5.js +24 -0
- package/cdn/chunks/chunk.GR3UGU76.js +11 -0
- package/cdn/chunks/chunk.GT5LUF36.js +24 -0
- package/cdn/chunks/chunk.HCEZF4HT.js +21 -0
- package/cdn/chunks/chunk.HXY4Y6R7.js +50 -0
- package/cdn/chunks/chunk.HYUTZFKB.js +11 -0
- package/cdn/chunks/chunk.I3WRJS2F.js +21 -0
- package/cdn/chunks/chunk.I7YBGNHY.js +11 -0
- package/cdn/chunks/chunk.IBSOCOZ7.js +29 -0
- package/cdn/chunks/chunk.IBYPWCZO.js +21 -0
- package/cdn/chunks/chunk.IGH4CPIX.js +11 -0
- package/cdn/chunks/chunk.IQ5BJRLN.js +11 -0
- package/cdn/chunks/chunk.IV6TAUME.js +21 -0
- package/cdn/chunks/chunk.IVBS2WNU.js +11 -0
- package/cdn/chunks/chunk.IZQHECE7.js +29 -0
- package/cdn/chunks/chunk.J2OEIMMO.js +49 -0
- package/cdn/chunks/chunk.J7S6MZKH.js +402 -0
- package/cdn/chunks/chunk.JCVV7FTN.js +499 -0
- package/cdn/chunks/chunk.JES63NI3.js +29 -0
- package/cdn/chunks/chunk.JFDV7RKY.js +11 -0
- package/cdn/chunks/chunk.JFZYJELR.js +11 -0
- package/cdn/chunks/chunk.JIWXBKLW.js +11 -0
- package/cdn/chunks/chunk.JNUSXZTH.js +21 -0
- package/cdn/chunks/chunk.JTU2PXLS.js +11 -0
- package/cdn/chunks/chunk.JWEYXEY2.js +11 -0
- package/cdn/chunks/chunk.K26M7D5A.js +11 -0
- package/cdn/chunks/chunk.K6IPJRL5.js +385 -0
- package/cdn/chunks/chunk.KCJICFCB.js +21 -0
- package/cdn/chunks/chunk.KDE7EMTP.js +292 -0
- package/cdn/chunks/chunk.KGIX6ROS.js +24 -0
- package/cdn/chunks/chunk.KJ6M2O43.js +11 -0
- package/cdn/chunks/chunk.KTWVV2FN.js +11 -0
- package/cdn/chunks/chunk.L4ARAZBG.js +63 -0
- package/cdn/chunks/chunk.L4TLIABV.js +11 -0
- package/cdn/chunks/chunk.L7DERNBR.js +11 -0
- package/cdn/chunks/chunk.LA2XEONC.js +236 -0
- package/cdn/chunks/chunk.LBQAIEIN.js +11 -0
- package/cdn/chunks/chunk.LHUBLSFM.js +11 -0
- package/cdn/chunks/chunk.LMDDPIDT.js +11 -0
- package/cdn/chunks/chunk.LOEDGLOZ.js +11 -0
- package/cdn/chunks/chunk.LQYAK6GR.js +11 -0
- package/cdn/chunks/chunk.LV3IZIAM.js +147 -0
- package/cdn/chunks/chunk.M4DCQYRX.js +25 -0
- package/cdn/chunks/chunk.M7X77RSC.js +455 -0
- package/cdn/chunks/chunk.MIA7HZ3H.js +21 -0
- package/cdn/chunks/chunk.MIWC3G2J.js +11 -0
- package/cdn/chunks/chunk.MJ3WZN3N.js +49 -0
- package/cdn/chunks/chunk.MMXL36JV.js +24 -0
- package/cdn/chunks/chunk.MQIMXAK3.js +77 -0
- package/cdn/chunks/chunk.MQZIWK2T.js +26 -0
- package/cdn/chunks/chunk.MXHQEQMC.js +25 -0
- package/cdn/chunks/chunk.MYXDOTBB.js +87 -0
- package/cdn/chunks/chunk.N2KNURD2.js +291 -0
- package/cdn/chunks/chunk.N3AV6QCX.js +314 -0
- package/cdn/chunks/chunk.N6OZTRMB.js +11 -0
- package/cdn/chunks/chunk.NBUPY5HO.js +969 -0
- package/cdn/chunks/chunk.NDGZTN7F.js +11 -0
- package/cdn/chunks/chunk.NGGQGQJJ.js +11 -0
- package/cdn/chunks/chunk.NPF6GP5E.js +11 -0
- package/cdn/chunks/chunk.NQ3SOIHB.js +114 -0
- package/cdn/chunks/chunk.NRQKIYZ3.js +11 -0
- package/cdn/chunks/chunk.NWSMFKBB.js +21 -0
- package/cdn/chunks/chunk.NWWBD2UI.js +1925 -0
- package/cdn/chunks/chunk.O63FAKPX.js +21 -0
- package/cdn/chunks/chunk.OE45G6KG.js +33 -0
- package/cdn/chunks/chunk.OE6WR3NM.js +25 -0
- package/cdn/chunks/chunk.OGDS2SL5.js +378 -0
- package/cdn/chunks/chunk.OI6ORT62.js +67 -0
- package/cdn/chunks/chunk.OKNJFDCH.js +11 -0
- package/cdn/chunks/chunk.ORADZNTG.js +28 -0
- package/cdn/chunks/chunk.OSZMUMUP.js +11 -0
- package/cdn/chunks/chunk.OUUT2YHY.js +24 -0
- package/cdn/chunks/chunk.PDV2THVX.js +93 -0
- package/cdn/chunks/chunk.PLKIFY5H.js +147 -0
- package/cdn/chunks/chunk.PYBDC3MU.js +11 -0
- package/cdn/chunks/chunk.QAXCHGNL.js +135 -0
- package/cdn/chunks/chunk.QG5WVM6I.js +79 -0
- package/cdn/chunks/chunk.QKV6PS52.js +21 -0
- package/cdn/chunks/chunk.QPVOSM7H.js +11 -0
- package/cdn/chunks/chunk.QW3SVSVB.js +21 -0
- package/cdn/chunks/chunk.QZN7YQN6.js +21 -0
- package/cdn/chunks/chunk.QZXDAMIQ.js +11 -0
- package/cdn/chunks/chunk.RJM4Q2BU.js +16 -0
- package/cdn/chunks/chunk.RLGPPF56.js +279 -0
- package/cdn/chunks/chunk.RWB3DAQ5.js +142 -0
- package/cdn/chunks/chunk.RYYAT43F.js +27 -0
- package/cdn/chunks/chunk.S5HHCXOC.js +174 -0
- package/cdn/chunks/chunk.S5VFNGJV.js +24 -0
- package/cdn/chunks/chunk.SBLEJD36.js +21 -0
- package/cdn/chunks/chunk.SDU4EZUW.js +299 -0
- package/cdn/chunks/chunk.SGLAHQRL.js +21 -0
- package/cdn/chunks/chunk.SNUTS4EA.js +11 -0
- package/cdn/chunks/chunk.SNYMIIEP.js +27 -0
- package/cdn/chunks/chunk.SR2E6BTY.js +24 -0
- package/cdn/chunks/chunk.SRHEI2X6.js +11 -0
- package/cdn/chunks/chunk.STXVOCON.js +11 -0
- package/cdn/chunks/chunk.THCTK4XY.js +84 -0
- package/cdn/chunks/chunk.TKP5Z3UW.js +36 -0
- package/cdn/chunks/chunk.TLVNUJKC.js +120 -0
- package/cdn/chunks/chunk.TM3XPVG7.js +24 -0
- package/cdn/chunks/chunk.TZ6OXKDT.js +27 -0
- package/cdn/chunks/chunk.U5JHA3PI.js +11 -0
- package/cdn/chunks/chunk.UUYBM2KC.js +724 -0
- package/cdn/chunks/chunk.V2O2M3XM.js +11 -0
- package/cdn/chunks/chunk.VJRT6DCH.js +11 -0
- package/cdn/chunks/chunk.VKQZTDML.js +21 -0
- package/cdn/chunks/chunk.VLJXTLJA.js +153 -0
- package/cdn/chunks/chunk.VNAVQLUE.js +79 -0
- package/cdn/chunks/chunk.VU7BAVDX.js +33 -0
- package/cdn/chunks/chunk.VYXQIKER.js +24 -0
- package/cdn/chunks/chunk.VZ75OPN7.js +127 -0
- package/cdn/chunks/chunk.WZ4D4SZQ.js +11 -0
- package/cdn/chunks/chunk.XIIPR36B.js +44 -0
- package/cdn/chunks/chunk.XKNAM3LM.js +11 -0
- package/cdn/chunks/chunk.XVBI2VEE.js +27 -0
- package/cdn/chunks/chunk.XWEVEBXH.js +27 -0
- package/cdn/chunks/chunk.XX22KMJK.js +11 -0
- package/cdn/chunks/chunk.XZQIOR6G.js +120 -0
- package/cdn/chunks/chunk.Y2QIMVUH.js +821 -0
- package/cdn/chunks/chunk.Y6AS3IIB.js +574 -0
- package/cdn/chunks/chunk.YA36YBRA.js +11 -0
- package/cdn/chunks/chunk.YAAV24U7.js +28 -0
- package/cdn/chunks/chunk.YH2AHAF2.js +21 -0
- package/cdn/chunks/chunk.YHZKTEVR.js +11 -0
- package/cdn/chunks/chunk.YLHWUAPP.js +95 -0
- package/cdn/chunks/chunk.YQZWG6CV.js +11 -0
- package/cdn/chunks/chunk.YSL3YDFJ.js +79 -0
- package/cdn/chunks/chunk.YSYZNFML.js +137 -0
- package/cdn/chunks/chunk.Z3TAOUKV.js +904 -0
- package/cdn/chunks/chunk.Z4NJEIK6.js +11 -0
- package/cdn/chunks/chunk.Z5D3QFBU.js +11 -0
- package/cdn/chunks/chunk.Z5HMEPDI.js +158 -0
- package/cdn/chunks/chunk.Z7CDTIHL.js +11 -0
- package/cdn/chunks/chunk.ZHH5AAWV.js +297 -0
- package/cdn/chunks/chunk.ZVJEVVDB.js +185 -0
- package/cdn/chunks/chunk.ZWWZHDAR.js +11 -0
- package/cdn/components/alert/alert.component.js +8 -8
- package/cdn/components/alert/alert.js +9 -9
- package/cdn/components/animated-image/animated-image.component.js +5 -5
- package/cdn/components/animated-image/animated-image.js +6 -6
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +5 -5
- package/cdn/components/avatar/avatar.js +6 -6
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +7 -7
- package/cdn/components/breadcrumb/breadcrumb.js +8 -8
- 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 +8 -8
- package/cdn/components/button/button.js +9 -9
- 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 +7 -7
- package/cdn/components/carousel/carousel.js +8 -8
- 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 +5 -5
- package/cdn/components/checkbox/checkbox.js +6 -6
- package/cdn/components/color-picker/color-picker.component.js +14 -14
- package/cdn/components/color-picker/color-picker.js +15 -15
- package/cdn/components/combobox/combobox.component.js +12 -12
- package/cdn/components/combobox/combobox.js +13 -13
- package/cdn/components/copy-button/copy-button.component.js +9 -9
- package/cdn/components/copy-button/copy-button.js +10 -10
- package/cdn/components/data-table/data-table.component.js +9 -9
- package/cdn/components/data-table/data-table.js +10 -10
- package/cdn/components/data-table-column/data-table-column.component.d.ts +39 -0
- package/cdn/components/data-table-column/data-table-column.component.js +10 -0
- package/cdn/components/data-table-column/data-table-column.d.ts +8 -2
- package/cdn/components/data-table-column/data-table-column.js +3 -3
- package/cdn/components/date-picker/date-picker.component.js +9 -9
- package/cdn/components/date-picker/date-picker.js +10 -10
- package/cdn/components/details/details.component.js +7 -7
- package/cdn/components/details/details.js +8 -8
- package/cdn/components/dialog/dialog.component.js +8 -8
- package/cdn/components/dialog/dialog.js +9 -9
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +9 -9
- package/cdn/components/drawer/drawer.js +10 -10
- package/cdn/components/dropdown/dropdown.component.js +5 -5
- package/cdn/components/dropdown/dropdown.js +6 -6
- package/cdn/components/format-bytes/format-bytes.component.js +4 -4
- package/cdn/components/format-bytes/format-bytes.js +5 -5
- package/cdn/components/format-date/format-date.component.js +4 -4
- package/cdn/components/format-date/format-date.js +5 -5
- package/cdn/components/format-number/format-number.component.js +4 -4
- package/cdn/components/format-number/format-number.js +5 -5
- package/cdn/components/icon/icon.component.js +4 -4
- package/cdn/components/icon/icon.js +5 -5
- package/cdn/components/icon/library.js +2 -2
- package/cdn/components/icon/library.system.js +1 -1
- package/cdn/components/icon-button/icon-button.component.js +5 -5
- package/cdn/components/icon-button/icon-button.js +6 -6
- package/cdn/components/image-comparer/image-comparer.component.js +7 -7
- package/cdn/components/image-comparer/image-comparer.js +8 -8
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +7 -7
- package/cdn/components/input/input.js +8 -8
- package/cdn/components/logo/logo.component.js +4 -4
- package/cdn/components/logo/logo.js +5 -5
- 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 +9 -9
- package/cdn/components/menu-item/menu-item.js +10 -10
- 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 +7 -7
- package/cdn/components/option/option.js +8 -8
- package/cdn/components/pagination/pagination.component.js +8 -8
- package/cdn/components/pagination/pagination.js +9 -9
- package/cdn/components/popup/popup.component.js +4 -4
- package/cdn/components/popup/popup.js +5 -5
- package/cdn/components/primary-navigation/primary-navigation.component.d.ts +60 -0
- package/cdn/components/primary-navigation/primary-navigation.component.js +27 -0
- package/cdn/components/primary-navigation/primary-navigation.d.ts +8 -0
- package/cdn/components/primary-navigation/primary-navigation.js +28 -0
- package/cdn/components/primary-navigation/primary-navigation.styles.d.ts +2 -0
- package/cdn/components/primary-navigation/primary-navigation.styles.js +8 -0
- package/cdn/components/primary-navigation-item/primary-navigation-item.component.d.ts +59 -0
- package/cdn/components/primary-navigation-item/primary-navigation-item.component.js +33 -0
- package/cdn/components/primary-navigation-item/primary-navigation-item.d.ts +8 -0
- package/cdn/components/primary-navigation-item/primary-navigation-item.js +34 -0
- package/cdn/components/primary-navigation-item/primary-navigation-item.styles.d.ts +2 -0
- package/cdn/components/primary-navigation-item/primary-navigation-item.styles.js +8 -0
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.component.d.ts +17 -0
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.component.js +11 -0
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.d.ts +8 -0
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.js +12 -0
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.styles.d.ts +2 -0
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.styles.js +8 -0
- package/cdn/components/progress-bar/progress-bar.component.js +4 -4
- package/cdn/components/progress-bar/progress-bar.js +5 -5
- package/cdn/components/progress-ring/progress-ring.component.js +4 -4
- package/cdn/components/progress-ring/progress-ring.js +5 -5
- 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 +5 -5
- package/cdn/components/radio/radio.js +6 -6
- 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 +4 -4
- package/cdn/components/range/range.js +5 -5
- package/cdn/components/rating/rating.component.js +7 -7
- package/cdn/components/rating/rating.js +8 -8
- package/cdn/components/relative-time/relative-time.component.js +4 -4
- package/cdn/components/relative-time/relative-time.js +5 -5
- 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.d.ts +52 -0
- package/cdn/components/secondary-navigation/secondary-navigation.component.js +28 -0
- package/cdn/components/secondary-navigation/secondary-navigation.d.ts +8 -0
- package/cdn/components/secondary-navigation/secondary-navigation.js +29 -0
- package/cdn/components/secondary-navigation/secondary-navigation.styles.d.ts +2 -0
- package/cdn/components/secondary-navigation/secondary-navigation.styles.js +8 -0
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.component.d.ts +29 -0
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.component.js +14 -0
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.d.ts +8 -0
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.js +15 -0
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.styles.d.ts +2 -0
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.styles.js +8 -0
- package/cdn/components/select/select.component.js +10 -10
- package/cdn/components/select/select.js +11 -11
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +4 -4
- package/cdn/components/spinner/spinner.js +5 -5
- package/cdn/components/split-panel/split-panel.component.js +4 -4
- package/cdn/components/split-panel/split-panel.js +5 -5
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +8 -8
- package/cdn/components/tab/tab.js +9 -9
- package/cdn/components/tab-group/tab-group.component.js +9 -9
- package/cdn/components/tab-group/tab-group.js +10 -10
- 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 +8 -8
- package/cdn/components/tag/tag.js +9 -9
- 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 +9 -9
- package/cdn/components/time-picker/time-picker.js +10 -10
- package/cdn/components/tooltip/tooltip.component.js +5 -5
- package/cdn/components/tooltip/tooltip.js +6 -6
- package/cdn/components/tree/tree.component.js +11 -11
- package/cdn/components/tree/tree.js +12 -12
- package/cdn/components/tree-item/tree-item.component.js +9 -9
- package/cdn/components/tree-item/tree-item.js +10 -10
- 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 +2404 -1535
- package/cdn/cw-elements.d.ts +6 -1
- package/cdn/cw-elements.js +193 -163
- package/cdn/react/alert/index.js +9 -9
- package/cdn/react/animated-image/index.js +6 -6
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +6 -6
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +8 -8
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +9 -9
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +8 -8
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +6 -6
- package/cdn/react/color-picker/index.js +15 -15
- package/cdn/react/combobox/index.js +13 -13
- package/cdn/react/copy-button/index.js +10 -10
- package/cdn/react/data-table/index.js +10 -10
- package/cdn/react/data-table-column/index.d.ts +2 -2
- package/cdn/react/data-table-column/index.js +3 -3
- package/cdn/react/date-picker/index.js +10 -10
- package/cdn/react/details/index.js +8 -8
- package/cdn/react/dialog/index.js +9 -9
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +10 -10
- package/cdn/react/dropdown/index.js +6 -6
- package/cdn/react/format-bytes/index.js +5 -5
- package/cdn/react/format-date/index.js +5 -5
- package/cdn/react/format-number/index.js +5 -5
- package/cdn/react/icon/index.js +5 -5
- package/cdn/react/icon-button/index.js +6 -6
- package/cdn/react/image-comparer/index.js +8 -8
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.d.ts +7 -2
- package/cdn/react/index.js +199 -169
- package/cdn/react/input/index.js +8 -8
- package/cdn/react/logo/index.js +5 -5
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +10 -10
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/option/index.js +8 -8
- package/cdn/react/pagination/index.js +9 -9
- package/cdn/react/popup/index.js +5 -5
- package/cdn/react/primary-navigation/index.d.ts +39 -0
- package/cdn/react/primary-navigation/index.js +28 -0
- package/cdn/react/primary-navigation-item/index.d.ts +40 -0
- package/cdn/react/primary-navigation-item/index.js +34 -0
- package/cdn/react/primary-navigation-menu/index.d.ts +14 -0
- package/cdn/react/primary-navigation-menu/index.js +12 -0
- package/cdn/react/progress-bar/index.js +5 -5
- package/cdn/react/progress-ring/index.js +5 -5
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +6 -6
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/range/index.js +5 -5
- package/cdn/react/rating/index.js +8 -8
- package/cdn/react/relative-time/index.js +5 -5
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/secondary-navigation/index.d.ts +22 -0
- package/cdn/react/secondary-navigation/index.js +29 -0
- package/cdn/react/secondary-navigation-item/index.d.ts +14 -0
- package/cdn/react/secondary-navigation-item/index.js +15 -0
- package/cdn/react/select/index.js +11 -11
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +5 -5
- package/cdn/react/split-panel/index.js +5 -5
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +9 -9
- package/cdn/react/tab-group/index.js +10 -10
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/tag/index.js +9 -9
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/time-picker/index.js +10 -10
- package/cdn/react/tooltip/index.js +6 -6
- package/cdn/react/tree/index.js +12 -12
- package/cdn/react/tree-item/index.js +10 -10
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/translations/da.js +2 -2
- package/cdn/translations/de-ch.js +2 -2
- package/cdn/translations/de.js +2 -2
- package/cdn/translations/en-gb.js +2 -2
- package/cdn/translations/en.js +1 -1
- package/cdn/translations/es.js +2 -2
- package/cdn/translations/fa.js +2 -2
- package/cdn/translations/fr.js +2 -2
- package/cdn/translations/he.js +2 -2
- package/cdn/translations/hu.js +2 -2
- package/cdn/translations/ja.js +2 -2
- package/cdn/translations/nb.js +2 -2
- package/cdn/translations/nl.js +2 -2
- package/cdn/translations/nn.js +2 -2
- package/cdn/translations/pl.js +2 -2
- package/cdn/translations/pt.js +2 -2
- package/cdn/translations/ru.js +2 -2
- package/cdn/translations/sv.js +2 -2
- package/cdn/translations/tr.js +2 -2
- package/cdn/translations/uk.js +2 -2
- package/cdn/translations/zh-cn.js +2 -2
- package/cdn/translations/zh-tw.js +2 -2
- package/cdn/types/vue/index.d.ts +290 -114
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/utilities/localize.d.ts +4 -0
- package/cdn/utilities/localize.js +2 -2
- package/cdn/vscode.html-custom-data.json +247 -113
- package/cdn/web-types.json +563 -260
- package/dist/chunks/chunk.2GZXC4JN.js +11 -0
- package/dist/chunks/chunk.2HQCTLS6.js +25 -0
- package/dist/chunks/chunk.2QQRBXOQ.js +11 -0
- package/dist/chunks/chunk.2WAUDZSH.js +28 -0
- package/dist/chunks/chunk.2WM72Z76.js +21 -0
- package/dist/chunks/chunk.35NWM5WT.js +294 -0
- package/dist/chunks/chunk.3AJKB2XW.js +24 -0
- package/dist/chunks/chunk.3BCUZO2I.js +93 -0
- package/dist/chunks/chunk.3E4TZ6Q4.js +813 -0
- package/dist/chunks/chunk.3F36WHGW.js +11 -0
- package/dist/chunks/chunk.3GDQEEJB.js +33 -0
- package/dist/chunks/chunk.3IKG4TUS.js +11 -0
- package/dist/chunks/chunk.3MSV6DEV.js +25 -0
- package/dist/chunks/chunk.3Z5DWOPR.js +21 -0
- package/dist/chunks/chunk.3ZPQKYXT.js +11 -0
- package/dist/chunks/chunk.42DTM56F.js +192 -0
- package/dist/chunks/chunk.437OBCKQ.js +59 -0
- package/dist/chunks/chunk.4GF4EQ45.js +21 -0
- package/dist/chunks/chunk.4REC2SBZ.js +11 -0
- package/dist/chunks/chunk.4WL3YI3O.js +65 -0
- package/dist/chunks/chunk.4WUKLYFS.js +15 -0
- package/dist/chunks/chunk.53VJSHOV.js +24 -0
- package/dist/chunks/chunk.5BT644RT.js +213 -0
- package/dist/chunks/chunk.5FHGGPOR.js +293 -0
- package/dist/chunks/chunk.5RELZ2GS.js +90 -0
- package/dist/chunks/chunk.5SCBY5DV.js +33 -0
- package/dist/chunks/chunk.5UROAQQY.js +22 -0
- package/dist/chunks/chunk.5ZLI6XXJ.js +290 -0
- package/dist/chunks/chunk.67Z45I6U.js +33 -0
- package/dist/chunks/chunk.6KLJ73UK.js +448 -0
- package/dist/chunks/chunk.6VO4DU6P.js +11 -0
- package/dist/chunks/chunk.6XKTEQE7.js +11 -0
- package/dist/chunks/chunk.74FKGAXK.js +11 -0
- package/dist/chunks/chunk.756BFCA3.js +11 -0
- package/dist/chunks/chunk.7D6BDGCC.js +11 -0
- package/dist/chunks/chunk.7HNY5BKU.js +11 -0
- package/dist/chunks/chunk.7KYKUXBB.js +11 -0
- package/dist/chunks/chunk.7N35AGCE.js +961 -0
- package/dist/chunks/chunk.ABLVNDXC.js +21 -0
- package/dist/chunks/chunk.AHPTEP6U.js +837 -0
- package/dist/chunks/chunk.AL7G7BLQ.js +25 -0
- package/dist/chunks/chunk.ANHS4EDT.js +11 -0
- package/dist/chunks/chunk.AQQBGFYR.js +181 -0
- package/dist/chunks/chunk.AW7Y7YWX.js +27 -0
- package/dist/chunks/chunk.AXILOHSN.js +11 -0
- package/dist/chunks/chunk.AXSLQ4D3.js +491 -0
- package/dist/chunks/chunk.AXXHNRKW.js +337 -0
- package/dist/chunks/chunk.B3ILT4H6.js +29 -0
- package/dist/chunks/chunk.BC24B56H.js +42 -0
- package/dist/chunks/chunk.BJIJHJAU.js +11 -0
- package/dist/chunks/chunk.BOHDFDFV.js +311 -0
- package/dist/chunks/chunk.BOVZVVI5.js +26 -0
- package/dist/chunks/chunk.CC6UYX57.js +138 -0
- package/dist/chunks/chunk.CJPQTJA4.js +134 -0
- package/dist/chunks/chunk.COLGBPEB.js +147 -0
- package/dist/chunks/chunk.CRNYOOIV.js +375 -0
- package/dist/chunks/chunk.CRWKNCBY.js +11 -0
- package/dist/chunks/chunk.D2ZIHOYJ.js +21 -0
- package/dist/chunks/chunk.D7OC7254.js +76 -0
- package/dist/chunks/chunk.DHX7EK7H.js +11 -0
- package/dist/chunks/chunk.DQNNYTV6.js +11 -0
- package/dist/chunks/chunk.DVNINZLP.js +259 -0
- package/dist/chunks/chunk.E4VPSCWI.js +11 -0
- package/dist/chunks/chunk.E5SZJSBP.js +11 -0
- package/dist/chunks/chunk.E6YLOWSL.js +24 -0
- package/dist/chunks/chunk.E6ZJ7PQP.js +212 -0
- package/dist/chunks/chunk.ECSI4YVN.js +11 -0
- package/dist/chunks/chunk.EI4QCQMB.js +11 -0
- package/dist/chunks/chunk.ELTS45P5.js +11 -0
- package/dist/chunks/chunk.EOSZJ4SD.js +25 -0
- package/dist/chunks/chunk.EQGE6544.js +22 -0
- package/dist/chunks/chunk.ERIUQRMZ.js +11 -0
- package/dist/chunks/chunk.FATOYQ7B.js +72 -0
- package/dist/chunks/chunk.FAYQVMJL.js +11 -0
- package/dist/chunks/chunk.FEAFR73M.js +25 -0
- package/dist/chunks/chunk.FGELTOEY.js +11 -0
- package/dist/chunks/chunk.FLF4HGKO.js +45 -0
- package/dist/chunks/chunk.FLWJDM6A.js +26 -0
- package/dist/chunks/chunk.FWHJWE2G.js +21 -0
- package/dist/chunks/chunk.FX7MFH3R.js +11 -0
- package/dist/chunks/chunk.G5JZHX5D.js +11 -0
- package/dist/chunks/chunk.G755YBUT.js +21 -0
- package/dist/chunks/chunk.G7BJUIQC.js +119 -0
- package/dist/chunks/chunk.GHO3TM7A.js +27 -0
- package/dist/chunks/chunk.GJ435TZ6.js +11 -0
- package/dist/chunks/chunk.GMJGHZKY.js +73 -0
- package/dist/chunks/chunk.GRUF2DYM.js +11 -0
- package/dist/chunks/chunk.GUJ4OA2U.js +11 -0
- package/dist/chunks/chunk.GV5X3WU5.js +11 -0
- package/dist/chunks/chunk.GYGNIFDN.js +27 -0
- package/dist/chunks/chunk.HESYXIGV.js +11 -0
- package/dist/chunks/chunk.HIR3YFEV.js +100 -0
- package/dist/chunks/chunk.HJSJ3IP3.js +26 -0
- package/dist/chunks/chunk.HKJQ6X5W.js +21 -0
- package/dist/chunks/chunk.HKMEBY7F.js +94 -0
- package/dist/chunks/chunk.HPOKBXO4.js +384 -0
- package/dist/chunks/chunk.HRDFQJ5Y.js +280 -0
- package/dist/chunks/chunk.HSFXY4KH.js +24 -0
- package/dist/chunks/chunk.HSJP5VT4.js +11 -0
- package/dist/chunks/chunk.HVQNWM7O.js +11 -0
- package/dist/chunks/chunk.I4VO3JYX.js +42 -0
- package/dist/chunks/chunk.IJXCWUGJ.js +24 -0
- package/dist/chunks/chunk.IKBHGKOM.js +11 -0
- package/dist/chunks/chunk.INBZV4AW.js +25 -0
- package/dist/chunks/chunk.IWCE2ZBD.js +11 -0
- package/dist/chunks/chunk.IWRFAONO.js +21 -0
- package/dist/chunks/chunk.J7HBOMZP.js +50 -0
- package/dist/chunks/chunk.JL6FVUMD.js +11 -0
- package/dist/chunks/chunk.KJKHTQ5H.js +21 -0
- package/dist/chunks/chunk.KLHGSGI4.js +11 -0
- package/dist/chunks/chunk.KTCUV3WH.js +24 -0
- package/dist/chunks/chunk.KVIUFBWR.js +21 -0
- package/dist/chunks/chunk.KVX4KZQ7.js +54 -0
- package/dist/chunks/chunk.L7263K5F.js +11 -0
- package/dist/chunks/chunk.L7RQQ75G.js +25 -0
- package/dist/chunks/chunk.LJKKQZ4Z.js +135 -0
- package/dist/chunks/chunk.LMEVH2KX.js +11 -0
- package/dist/chunks/chunk.LS56SMFF.js +82 -0
- package/dist/chunks/chunk.LUHSGF5O.js +11 -0
- package/dist/chunks/chunk.LUZLX6TY.js +11 -0
- package/dist/chunks/chunk.LXJDJY6J.js +27 -0
- package/dist/chunks/chunk.M2LW36F5.js +63 -0
- package/dist/chunks/chunk.M3IAQ5C5.js +417 -0
- package/dist/chunks/chunk.M6VSAABN.js +151 -0
- package/dist/chunks/chunk.M6VYHEFS.js +11 -0
- package/dist/chunks/chunk.ME6NRBKV.js +11 -0
- package/dist/chunks/chunk.MHML5OPO.js +21 -0
- package/dist/chunks/chunk.MJ2ZSVNB.js +116 -0
- package/dist/chunks/chunk.MLQ2OIB4.js +33 -0
- package/dist/chunks/chunk.MMN2BRAX.js +21 -0
- package/dist/chunks/chunk.MMR3NJZ2.js +11 -0
- package/dist/chunks/chunk.MP6J6SFL.js +100 -0
- package/dist/chunks/chunk.MVG6Y5IP.js +28 -0
- package/dist/chunks/chunk.MZEDTK4Y.js +315 -0
- package/dist/chunks/chunk.NGIRM5NK.js +21 -0
- package/dist/chunks/chunk.NT2UFBPQ.js +11 -0
- package/dist/chunks/chunk.NTBPP47X.js +67 -0
- package/dist/chunks/chunk.NTMPQXJG.js +29 -0
- package/dist/chunks/chunk.OEAWG44Z.js +11 -0
- package/dist/chunks/chunk.OHLVVUNL.js +24 -0
- package/dist/chunks/chunk.OJW3NTAT.js +11 -0
- package/dist/chunks/chunk.OQKWR6LX.js +21 -0
- package/dist/chunks/chunk.OQTBCO5T.js +11 -0
- package/dist/chunks/chunk.OVSWWNRG.js +11 -0
- package/dist/chunks/chunk.OVU6B7B2.js +21 -0
- package/dist/chunks/chunk.PDPBXHUC.js +47 -0
- package/dist/chunks/chunk.PLKIFY5H.js +147 -0
- package/dist/chunks/chunk.PQQTXJLY.js +21 -0
- package/dist/chunks/chunk.Q2TYF4FT.js +11 -0
- package/dist/chunks/chunk.Q75FLSRT.js +126 -0
- package/dist/chunks/chunk.QAUJC7Y2.js +11 -0
- package/dist/chunks/chunk.QDADM44L.js +11 -0
- package/dist/chunks/chunk.QJDCLJOW.js +231 -0
- package/dist/chunks/chunk.QN764SXC.js +11 -0
- package/dist/chunks/chunk.QPMEGAFM.js +11 -0
- package/dist/chunks/chunk.QUZR3IPH.js +11 -0
- package/dist/chunks/chunk.QWETGG6V.js +25 -0
- package/dist/chunks/chunk.R264AHE5.js +21 -0
- package/dist/chunks/chunk.R4VWT25Q.js +80 -0
- package/dist/chunks/chunk.RA5EMTOH.js +21 -0
- package/dist/chunks/chunk.RLGMXIQB.js +170 -0
- package/dist/chunks/chunk.RN3JCVX7.js +45 -0
- package/dist/chunks/chunk.RU7IDTFE.js +109 -0
- package/dist/chunks/chunk.RUBNRH3N.js +27 -0
- package/dist/chunks/chunk.RWTUEMYD.js +21 -0
- package/dist/chunks/chunk.SCFLJGXH.js +29 -0
- package/dist/chunks/chunk.SER5IREF.js +24 -0
- package/dist/chunks/chunk.SRQQNER7.js +227 -0
- package/dist/chunks/chunk.SSJBN76Y.js +26 -0
- package/dist/chunks/chunk.SXUKHJ7G.js +11 -0
- package/dist/chunks/chunk.T6H2ZLRP.js +11 -0
- package/dist/chunks/chunk.T6NLHTZM.js +27 -0
- package/dist/chunks/chunk.T6XA5WMW.js +949 -0
- package/dist/chunks/chunk.TEC4BLIT.js +21 -0
- package/dist/chunks/chunk.TXK3MU4Q.js +24 -0
- package/dist/chunks/chunk.TYML6Z66.js +115 -0
- package/dist/chunks/chunk.U4CUAG4F.js +111 -0
- package/dist/chunks/chunk.UD6INT3K.js +11 -0
- package/dist/chunks/chunk.UFF4TD4R.js +34 -0
- package/dist/chunks/chunk.UM5MYKWP.js +24 -0
- package/dist/chunks/chunk.UNGZECYX.js +25 -0
- package/dist/chunks/chunk.URKVUXPL.js +11 -0
- package/dist/chunks/chunk.UUHRNQ6S.js +11 -0
- package/dist/chunks/chunk.UVIGMCMU.js +361 -0
- package/dist/chunks/chunk.UVRBO4UU.js +26 -0
- package/dist/chunks/chunk.V4UPPRVV.js +896 -0
- package/dist/chunks/chunk.VNZGNXRR.js +28 -0
- package/dist/chunks/chunk.VO2WW6BN.js +11 -0
- package/dist/chunks/chunk.VWGYPYIQ.js +11 -0
- package/dist/chunks/chunk.W2QFWIXM.js +79 -0
- package/dist/chunks/chunk.W4VVINBW.js +11 -0
- package/dist/chunks/chunk.WGMKOXQR.js +21 -0
- package/dist/chunks/chunk.WJJ4EIAS.js +109 -0
- package/dist/chunks/chunk.WKNK4GUR.js +75 -0
- package/dist/chunks/chunk.WQQF33MM.js +117 -0
- package/dist/chunks/chunk.WUPFC44E.js +25 -0
- package/dist/chunks/chunk.WUY3LQIT.js +46 -0
- package/dist/chunks/chunk.WW35BDZF.js +11 -0
- package/dist/chunks/chunk.WZUCFRNR.js +28 -0
- package/dist/chunks/chunk.X25VL6EN.js +21 -0
- package/dist/chunks/chunk.XFOT6PSZ.js +21 -0
- package/dist/chunks/chunk.XIIPR36B.js +44 -0
- package/dist/chunks/chunk.XJCWQTAY.js +370 -0
- package/dist/chunks/chunk.XKRYR7C2.js +11 -0
- package/dist/chunks/chunk.XN6HXDDA.js +85 -0
- package/dist/chunks/chunk.XOLRLGIB.js +24 -0
- package/dist/chunks/chunk.Y4VQRJGR.js +11 -0
- package/dist/chunks/chunk.Y5ESJU2K.js +286 -0
- package/dist/chunks/chunk.YKHSLXCL.js +274 -0
- package/dist/chunks/chunk.YP5MP3RI.js +550 -0
- package/dist/chunks/chunk.YQ6HMBXN.js +28 -0
- package/dist/chunks/chunk.YSS6PQWE.js +21 -0
- package/dist/chunks/chunk.Z2CP2S43.js +11 -0
- package/dist/chunks/chunk.ZAVCCMCL.js +75 -0
- package/dist/chunks/chunk.ZDXHD2JA.js +24 -0
- package/dist/chunks/chunk.ZHV37UKQ.js +91 -0
- package/dist/chunks/chunk.ZJS7CYVN.js +21 -0
- package/dist/chunks/chunk.ZMC65GVN.js +178 -0
- package/dist/chunks/chunk.ZMYAXCMC.js +29 -0
- package/dist/chunks/chunk.ZPFMCIYD.js +247 -0
- package/dist/chunks/chunk.ZWCEEPTV.js +397 -0
- package/dist/components/alert/alert.component.js +8 -8
- package/dist/components/alert/alert.js +9 -9
- package/dist/components/animated-image/animated-image.component.js +5 -5
- package/dist/components/animated-image/animated-image.js +6 -6
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +5 -5
- package/dist/components/avatar/avatar.js +6 -6
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
- package/dist/components/breadcrumb/breadcrumb.js +8 -8
- 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 +8 -8
- package/dist/components/button/button.js +9 -9
- 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 +7 -7
- package/dist/components/carousel/carousel.js +8 -8
- 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 +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/color-picker/color-picker.component.js +14 -14
- package/dist/components/color-picker/color-picker.js +15 -15
- package/dist/components/combobox/combobox.component.js +12 -12
- package/dist/components/combobox/combobox.js +13 -13
- package/dist/components/copy-button/copy-button.component.js +9 -9
- package/dist/components/copy-button/copy-button.js +10 -10
- package/dist/components/data-table/data-table.component.js +9 -9
- package/dist/components/data-table/data-table.js +10 -10
- package/dist/components/data-table-column/data-table-column.component.d.ts +39 -0
- package/dist/components/data-table-column/data-table-column.component.js +9 -0
- package/dist/components/data-table-column/data-table-column.d.ts +8 -2
- package/dist/components/data-table-column/data-table-column.js +3 -3
- package/dist/components/date-picker/date-picker.component.js +9 -9
- package/dist/components/date-picker/date-picker.js +10 -10
- package/dist/components/details/details.component.js +7 -7
- package/dist/components/details/details.js +8 -8
- package/dist/components/dialog/dialog.component.js +8 -8
- package/dist/components/dialog/dialog.js +9 -9
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +9 -9
- package/dist/components/drawer/drawer.js +10 -10
- package/dist/components/dropdown/dropdown.component.js +5 -5
- package/dist/components/dropdown/dropdown.js +6 -6
- package/dist/components/format-bytes/format-bytes.component.js +4 -4
- package/dist/components/format-bytes/format-bytes.js +5 -5
- package/dist/components/format-date/format-date.component.js +4 -4
- package/dist/components/format-date/format-date.js +5 -5
- package/dist/components/format-number/format-number.component.js +4 -4
- package/dist/components/format-number/format-number.js +5 -5
- package/dist/components/icon/icon.component.js +4 -4
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon/library.system.js +1 -1
- package/dist/components/icon-button/icon-button.component.js +5 -5
- package/dist/components/icon-button/icon-button.js +6 -6
- package/dist/components/image-comparer/image-comparer.component.js +7 -7
- package/dist/components/image-comparer/image-comparer.js +8 -8
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +7 -7
- package/dist/components/input/input.js +8 -8
- package/dist/components/logo/logo.component.js +4 -4
- package/dist/components/logo/logo.js +5 -5
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +9 -9
- package/dist/components/menu-item/menu-item.js +10 -10
- 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 +7 -7
- package/dist/components/option/option.js +8 -8
- package/dist/components/pagination/pagination.component.js +8 -8
- package/dist/components/pagination/pagination.js +9 -9
- package/dist/components/popup/popup.component.js +4 -4
- package/dist/components/popup/popup.js +5 -5
- package/dist/components/primary-navigation/primary-navigation.component.d.ts +60 -0
- package/dist/components/primary-navigation/primary-navigation.component.js +22 -0
- package/dist/components/primary-navigation/primary-navigation.d.ts +8 -0
- package/dist/components/primary-navigation/primary-navigation.js +23 -0
- package/dist/components/primary-navigation/primary-navigation.styles.d.ts +2 -0
- package/dist/components/primary-navigation/primary-navigation.styles.js +7 -0
- package/dist/components/primary-navigation-item/primary-navigation-item.component.d.ts +59 -0
- package/dist/components/primary-navigation-item/primary-navigation-item.component.js +27 -0
- package/dist/components/primary-navigation-item/primary-navigation-item.d.ts +8 -0
- package/dist/components/primary-navigation-item/primary-navigation-item.js +28 -0
- package/dist/components/primary-navigation-item/primary-navigation-item.styles.d.ts +2 -0
- package/dist/components/primary-navigation-item/primary-navigation-item.styles.js +7 -0
- package/dist/components/primary-navigation-menu/primary-navigation-menu.component.d.ts +17 -0
- package/dist/components/primary-navigation-menu/primary-navigation-menu.component.js +10 -0
- package/dist/components/primary-navigation-menu/primary-navigation-menu.d.ts +8 -0
- package/dist/components/primary-navigation-menu/primary-navigation-menu.js +11 -0
- package/dist/components/primary-navigation-menu/primary-navigation-menu.styles.d.ts +2 -0
- package/dist/components/primary-navigation-menu/primary-navigation-menu.styles.js +7 -0
- package/dist/components/progress-bar/progress-bar.component.js +4 -4
- package/dist/components/progress-bar/progress-bar.js +5 -5
- package/dist/components/progress-ring/progress-ring.component.js +4 -4
- package/dist/components/progress-ring/progress-ring.js +5 -5
- 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 +5 -5
- package/dist/components/radio/radio.js +6 -6
- 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 +4 -4
- package/dist/components/range/range.js +5 -5
- package/dist/components/rating/rating.component.js +7 -7
- package/dist/components/rating/rating.js +8 -8
- package/dist/components/relative-time/relative-time.component.js +4 -4
- package/dist/components/relative-time/relative-time.js +5 -5
- 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.d.ts +52 -0
- package/dist/components/secondary-navigation/secondary-navigation.component.js +21 -0
- package/dist/components/secondary-navigation/secondary-navigation.d.ts +8 -0
- package/dist/components/secondary-navigation/secondary-navigation.js +22 -0
- package/dist/components/secondary-navigation/secondary-navigation.styles.d.ts +2 -0
- package/dist/components/secondary-navigation/secondary-navigation.styles.js +7 -0
- package/dist/components/secondary-navigation-item/secondary-navigation-item.component.d.ts +29 -0
- package/dist/components/secondary-navigation-item/secondary-navigation-item.component.js +10 -0
- package/dist/components/secondary-navigation-item/secondary-navigation-item.d.ts +8 -0
- package/dist/components/secondary-navigation-item/secondary-navigation-item.js +11 -0
- package/dist/components/secondary-navigation-item/secondary-navigation-item.styles.d.ts +2 -0
- package/dist/components/secondary-navigation-item/secondary-navigation-item.styles.js +7 -0
- package/dist/components/select/select.component.js +10 -10
- package/dist/components/select/select.js +11 -11
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +4 -4
- package/dist/components/spinner/spinner.js +5 -5
- package/dist/components/split-panel/split-panel.component.js +4 -4
- package/dist/components/split-panel/split-panel.js +5 -5
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +8 -8
- package/dist/components/tab/tab.js +9 -9
- package/dist/components/tab-group/tab-group.component.js +9 -9
- package/dist/components/tab-group/tab-group.js +10 -10
- 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 +8 -8
- package/dist/components/tag/tag.js +9 -9
- 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 +9 -9
- package/dist/components/time-picker/time-picker.js +10 -10
- package/dist/components/tooltip/tooltip.component.js +5 -5
- package/dist/components/tooltip/tooltip.js +6 -6
- package/dist/components/tree/tree.component.js +11 -11
- package/dist/components/tree/tree.js +12 -12
- package/dist/components/tree-item/tree-item.component.js +9 -9
- package/dist/components/tree-item/tree-item.js +10 -10
- 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 +2404 -1535
- package/dist/cw-elements.d.ts +6 -1
- package/dist/cw-elements.js +193 -163
- package/dist/react/alert/index.js +9 -9
- package/dist/react/animated-image/index.js +6 -6
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +6 -6
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +8 -8
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +9 -9
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +8 -8
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +6 -6
- package/dist/react/color-picker/index.js +15 -15
- package/dist/react/combobox/index.js +13 -13
- package/dist/react/copy-button/index.js +10 -10
- package/dist/react/data-table/index.js +10 -10
- package/dist/react/data-table-column/index.d.ts +2 -2
- package/dist/react/data-table-column/index.js +3 -3
- package/dist/react/date-picker/index.js +10 -10
- package/dist/react/details/index.js +8 -8
- package/dist/react/dialog/index.js +9 -9
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +10 -10
- package/dist/react/dropdown/index.js +6 -6
- package/dist/react/format-bytes/index.js +5 -5
- package/dist/react/format-date/index.js +5 -5
- package/dist/react/format-number/index.js +5 -5
- package/dist/react/icon/index.js +5 -5
- package/dist/react/icon-button/index.js +6 -6
- package/dist/react/image-comparer/index.js +8 -8
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.d.ts +7 -2
- package/dist/react/index.js +199 -169
- package/dist/react/input/index.js +8 -8
- package/dist/react/logo/index.js +5 -5
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +10 -10
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/option/index.js +8 -8
- package/dist/react/pagination/index.js +9 -9
- package/dist/react/popup/index.js +5 -5
- package/dist/react/primary-navigation/index.d.ts +39 -0
- package/dist/react/primary-navigation/index.js +23 -0
- package/dist/react/primary-navigation-item/index.d.ts +40 -0
- package/dist/react/primary-navigation-item/index.js +28 -0
- package/dist/react/primary-navigation-menu/index.d.ts +14 -0
- package/dist/react/primary-navigation-menu/index.js +11 -0
- package/dist/react/progress-bar/index.js +5 -5
- package/dist/react/progress-ring/index.js +5 -5
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +6 -6
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +5 -5
- package/dist/react/rating/index.js +8 -8
- package/dist/react/relative-time/index.js +5 -5
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/secondary-navigation/index.d.ts +22 -0
- package/dist/react/secondary-navigation/index.js +22 -0
- package/dist/react/secondary-navigation-item/index.d.ts +14 -0
- package/dist/react/secondary-navigation-item/index.js +11 -0
- package/dist/react/select/index.js +11 -11
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +5 -5
- package/dist/react/split-panel/index.js +5 -5
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +9 -9
- package/dist/react/tab-group/index.js +10 -10
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/tag/index.js +9 -9
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/time-picker/index.js +10 -10
- package/dist/react/tooltip/index.js +6 -6
- package/dist/react/tree/index.js +12 -12
- package/dist/react/tree-item/index.js +10 -10
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/translations/da.js +2 -2
- package/dist/translations/de-ch.js +3 -3
- package/dist/translations/de.js +3 -3
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en.js +1 -1
- package/dist/translations/es.js +2 -2
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fr.js +2 -2
- package/dist/translations/he.js +2 -2
- package/dist/translations/hu.js +2 -2
- package/dist/translations/ja.js +2 -2
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nn.js +2 -2
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pt.js +2 -2
- package/dist/translations/ru.js +2 -2
- package/dist/translations/sv.js +2 -2
- package/dist/translations/tr.js +2 -2
- package/dist/translations/uk.js +2 -2
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-tw.js +2 -2
- package/dist/types/vue/index.d.ts +290 -114
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +4 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +247 -113
- package/dist/web-types.json +563 -260
- package/package.json +1 -1
- package/cdn/chunks/chunk.22CT3NNE.js +0 -24
- package/cdn/chunks/chunk.25KMNMZK.js +0 -11
- package/cdn/chunks/chunk.2NENWIUU.js +0 -11
- package/cdn/chunks/chunk.2RICIUBA.js +0 -11
- package/cdn/chunks/chunk.2ZIRYB3Y.js +0 -25
- package/cdn/chunks/chunk.32LVF3NX.js +0 -25
- package/cdn/chunks/chunk.3HGG6RUA.js +0 -120
- package/cdn/chunks/chunk.3HLPK5O5.js +0 -21
- package/cdn/chunks/chunk.3MKLDNWG.js +0 -11
- package/cdn/chunks/chunk.46UTDLRO.js +0 -27
- package/cdn/chunks/chunk.4D3JC36O.js +0 -11
- package/cdn/chunks/chunk.4L6YA4BS.js +0 -21
- package/cdn/chunks/chunk.4NFOE2PI.js +0 -218
- package/cdn/chunks/chunk.4SC4TGCN.js +0 -969
- package/cdn/chunks/chunk.4UE7HAZW.js +0 -29
- package/cdn/chunks/chunk.4UT3CKES.js +0 -87
- package/cdn/chunks/chunk.52A7UAED.js +0 -24
- package/cdn/chunks/chunk.5FHIO4XA.js +0 -385
- package/cdn/chunks/chunk.5HK7XVCB.js +0 -33
- package/cdn/chunks/chunk.5I5OMI3N.js +0 -11
- package/cdn/chunks/chunk.5WBNCPLC.js +0 -21
- package/cdn/chunks/chunk.65HZIHGQ.js +0 -27
- package/cdn/chunks/chunk.6L4E2FRV.js +0 -135
- package/cdn/chunks/chunk.6M54ME6L.js +0 -11
- package/cdn/chunks/chunk.6MNPBWK5.js +0 -95
- package/cdn/chunks/chunk.6NN4W7MU.js +0 -11
- package/cdn/chunks/chunk.737DQEUX.js +0 -216
- package/cdn/chunks/chunk.7BW7WPEZ.js +0 -11
- package/cdn/chunks/chunk.7HCQTBTI.js +0 -27
- package/cdn/chunks/chunk.7IKCQ65R.js +0 -11
- package/cdn/chunks/chunk.7NUXY2EY.js +0 -28
- package/cdn/chunks/chunk.7PIHS5GL.js +0 -21
- package/cdn/chunks/chunk.7RXKDF4L.js +0 -29
- package/cdn/chunks/chunk.7SVYHQNT.js +0 -236
- package/cdn/chunks/chunk.A2EIYRV7.js +0 -11
- package/cdn/chunks/chunk.A6OFMGC3.js +0 -21
- package/cdn/chunks/chunk.ACCB6NI3.js +0 -11
- package/cdn/chunks/chunk.ACM7MAUS.js +0 -11
- package/cdn/chunks/chunk.ACSSYL4R.js +0 -120
- package/cdn/chunks/chunk.AE7QHBRW.js +0 -49
- package/cdn/chunks/chunk.AIIMDYAE.js +0 -11
- package/cdn/chunks/chunk.AQ7UKAJV.js +0 -1925
- package/cdn/chunks/chunk.AW4UTLG3.js +0 -25
- package/cdn/chunks/chunk.AY5MT3OR.js +0 -367
- package/cdn/chunks/chunk.B4BK3A6X.js +0 -21
- package/cdn/chunks/chunk.B5ZSFAU6.js +0 -11
- package/cdn/chunks/chunk.BI3L4BGR.js +0 -11
- package/cdn/chunks/chunk.BITDDFNS.js +0 -21
- package/cdn/chunks/chunk.BOCPUXU4.js +0 -24
- package/cdn/chunks/chunk.BOZP3WLH.js +0 -11
- package/cdn/chunks/chunk.BRGM4UJQ.js +0 -11
- package/cdn/chunks/chunk.BVMDTNP7.js +0 -27
- package/cdn/chunks/chunk.C7ZSFM4V.js +0 -11
- package/cdn/chunks/chunk.CD2E57CF.js +0 -84
- package/cdn/chunks/chunk.CVC2DMUB.js +0 -724
- package/cdn/chunks/chunk.DF4P6KAE.js +0 -26
- package/cdn/chunks/chunk.DITLZ5KK.js +0 -255
- package/cdn/chunks/chunk.DLVWLMOU.js +0 -11
- package/cdn/chunks/chunk.DZO5S3KM.js +0 -291
- package/cdn/chunks/chunk.E2G7LJZ4.js +0 -24
- package/cdn/chunks/chunk.E5PYVMR5.js +0 -21
- package/cdn/chunks/chunk.EFRG42G4.js +0 -21
- package/cdn/chunks/chunk.EGK3WFML.js +0 -113
- package/cdn/chunks/chunk.EGOMPAI6.js +0 -28
- package/cdn/chunks/chunk.EHNIMAMM.js +0 -11
- package/cdn/chunks/chunk.EIPQNPT2.js +0 -11
- package/cdn/chunks/chunk.EK5IWFN6.js +0 -21
- package/cdn/chunks/chunk.ESY6P4PM.js +0 -11
- package/cdn/chunks/chunk.F6VKIAAB.js +0 -11
- package/cdn/chunks/chunk.FNMITKXM.js +0 -24
- package/cdn/chunks/chunk.G3QUPFQZ.js +0 -11
- package/cdn/chunks/chunk.G6AAWWCJ.js +0 -73
- package/cdn/chunks/chunk.GEJTL6ST.js +0 -122
- package/cdn/chunks/chunk.GMJOFZJP.js +0 -11
- package/cdn/chunks/chunk.GV5OP2HG.js +0 -33
- package/cdn/chunks/chunk.GVDSP2U7.js +0 -28
- package/cdn/chunks/chunk.H4SY37DU.js +0 -103
- package/cdn/chunks/chunk.HDSZV4RM.js +0 -24
- package/cdn/chunks/chunk.HHFV4YKJ.js +0 -279
- package/cdn/chunks/chunk.HIP3MHFF.js +0 -11
- package/cdn/chunks/chunk.HJG3QTYZ.js +0 -186
- package/cdn/chunks/chunk.HMXHEG5B.js +0 -11
- package/cdn/chunks/chunk.I4ZFA2WC.js +0 -11
- package/cdn/chunks/chunk.I7EIBAE5.js +0 -77
- package/cdn/chunks/chunk.IGVDGCCQ.js +0 -21
- package/cdn/chunks/chunk.IIO6C37X.js +0 -11
- package/cdn/chunks/chunk.IJL7SK7X.js +0 -21
- package/cdn/chunks/chunk.IVQY2JPO.js +0 -11
- package/cdn/chunks/chunk.IVWHTOWG.js +0 -21
- package/cdn/chunks/chunk.IWXMLM5A.js +0 -21
- package/cdn/chunks/chunk.IYZV25WR.js +0 -127
- package/cdn/chunks/chunk.JCHF3N6T.js +0 -11
- package/cdn/chunks/chunk.JGHPJ4UU.js +0 -346
- package/cdn/chunks/chunk.JIG2RHZA.js +0 -21
- package/cdn/chunks/chunk.JPIAAJLH.js +0 -11
- package/cdn/chunks/chunk.JSREKKUV.js +0 -29
- package/cdn/chunks/chunk.JV5QRBAT.js +0 -50
- package/cdn/chunks/chunk.K3ZN73C5.js +0 -25
- package/cdn/chunks/chunk.K7HBYHFK.js +0 -11
- package/cdn/chunks/chunk.KEZUFS3Y.js +0 -11
- package/cdn/chunks/chunk.KKA4QL3V.js +0 -24
- package/cdn/chunks/chunk.KMX3WIZX.js +0 -11
- package/cdn/chunks/chunk.KP23WFZN.js +0 -79
- package/cdn/chunks/chunk.KSHDFQ5X.js +0 -391
- package/cdn/chunks/chunk.L2XIF6VQ.js +0 -402
- package/cdn/chunks/chunk.LBYPFP7A.js +0 -26
- package/cdn/chunks/chunk.LEWHPZQJ.js +0 -11
- package/cdn/chunks/chunk.LK73OQE3.js +0 -158
- package/cdn/chunks/chunk.LPSDL2X4.js +0 -11
- package/cdn/chunks/chunk.LQBCYFQZ.js +0 -24
- package/cdn/chunks/chunk.LQWDLVIQ.js +0 -233
- package/cdn/chunks/chunk.MANOJF6Z.js +0 -455
- package/cdn/chunks/chunk.MECD4Z2F.js +0 -26
- package/cdn/chunks/chunk.MKN4I4TZ.js +0 -11
- package/cdn/chunks/chunk.MPENKN44.js +0 -21
- package/cdn/chunks/chunk.N7ZIEEPG.js +0 -21
- package/cdn/chunks/chunk.NHHP7JDV.js +0 -24
- package/cdn/chunks/chunk.NLVJUY52.js +0 -499
- package/cdn/chunks/chunk.NQJEQLSK.js +0 -11
- package/cdn/chunks/chunk.OBNLKHVF.js +0 -24
- package/cdn/chunks/chunk.OOIOK4M5.js +0 -29
- package/cdn/chunks/chunk.OSGEXLYO.js +0 -11
- package/cdn/chunks/chunk.P6D5QHVJ.js +0 -11
- package/cdn/chunks/chunk.PCFUPG3W.js +0 -21
- package/cdn/chunks/chunk.PE36ZBOZ.js +0 -11
- package/cdn/chunks/chunk.PQHYKCLW.js +0 -33
- package/cdn/chunks/chunk.PQIT36YL.js +0 -11
- package/cdn/chunks/chunk.PUISP3Y6.js +0 -11
- package/cdn/chunks/chunk.Q2AH6F2K.js +0 -302
- package/cdn/chunks/chunk.Q5TDIOE2.js +0 -21
- package/cdn/chunks/chunk.QIACIGFY.js +0 -11
- package/cdn/chunks/chunk.QJYHURZU.js +0 -25
- package/cdn/chunks/chunk.QLEQQREQ.js +0 -11
- package/cdn/chunks/chunk.QVD6S2XJ.js +0 -11
- package/cdn/chunks/chunk.QVSQZ2OW.js +0 -297
- package/cdn/chunks/chunk.QYA66GYY.js +0 -21
- package/cdn/chunks/chunk.QZM74RZS.js +0 -21
- package/cdn/chunks/chunk.R44P3COQ.js +0 -292
- package/cdn/chunks/chunk.RCWARHL4.js +0 -63
- package/cdn/chunks/chunk.REY2TH4N.js +0 -114
- package/cdn/chunks/chunk.RFKZXGL6.js +0 -67
- package/cdn/chunks/chunk.RK2NGAHE.js +0 -21
- package/cdn/chunks/chunk.RMZ3GGOD.js +0 -378
- package/cdn/chunks/chunk.RN7BZPQ4.js +0 -44
- package/cdn/chunks/chunk.ROJNY45S.js +0 -904
- package/cdn/chunks/chunk.RREEJWO4.js +0 -267
- package/cdn/chunks/chunk.RSISCJLD.js +0 -42
- package/cdn/chunks/chunk.RXKUDDAG.js +0 -82
- package/cdn/chunks/chunk.RZ5U3IGJ.js +0 -25
- package/cdn/chunks/chunk.S2I7BGKV.js +0 -26
- package/cdn/chunks/chunk.S2U6HXBN.js +0 -11
- package/cdn/chunks/chunk.S5Y5NOSY.js +0 -25
- package/cdn/chunks/chunk.S5ZFA6QJ.js +0 -25
- package/cdn/chunks/chunk.SGU7G5BW.js +0 -24
- package/cdn/chunks/chunk.SNUNWMPG.js +0 -114
- package/cdn/chunks/chunk.SSHVYOP2.js +0 -153
- package/cdn/chunks/chunk.TEMNLUFV.js +0 -11
- package/cdn/chunks/chunk.TZC3IGYM.js +0 -11
- package/cdn/chunks/chunk.U2P5TSSF.js +0 -11
- package/cdn/chunks/chunk.U3HV6M7P.js +0 -11
- package/cdn/chunks/chunk.U3OKBJY3.js +0 -27
- package/cdn/chunks/chunk.UI2YPM4Q.js +0 -11
- package/cdn/chunks/chunk.UJXACBPA.js +0 -11
- package/cdn/chunks/chunk.UQ5DYLJH.js +0 -11
- package/cdn/chunks/chunk.URNAYTVR.js +0 -137
- package/cdn/chunks/chunk.V52Q2FBI.js +0 -28
- package/cdn/chunks/chunk.V7PVKTVW.js +0 -142
- package/cdn/chunks/chunk.VBUKH6YM.js +0 -93
- package/cdn/chunks/chunk.VE6544CF.js +0 -49
- package/cdn/chunks/chunk.VFTUSAG5.js +0 -24
- package/cdn/chunks/chunk.VKA62GEU.js +0 -844
- package/cdn/chunks/chunk.VTFDXTES.js +0 -299
- package/cdn/chunks/chunk.VTTTIHQX.js +0 -11
- package/cdn/chunks/chunk.W2JXCITZ.js +0 -11
- package/cdn/chunks/chunk.W5GFIJFT.js +0 -97
- package/cdn/chunks/chunk.WCIVOTUQ.js +0 -336
- package/cdn/chunks/chunk.WCND34TR.js +0 -21
- package/cdn/chunks/chunk.WJD4SWMF.js +0 -75
- package/cdn/chunks/chunk.WVVWJJYI.js +0 -36
- package/cdn/chunks/chunk.WWXJAZJK.js +0 -174
- package/cdn/chunks/chunk.WY5FIE23.js +0 -24
- package/cdn/chunks/chunk.X2ADPGES.js +0 -16
- package/cdn/chunks/chunk.XAFSQLOF.js +0 -574
- package/cdn/chunks/chunk.XDANFU7Z.js +0 -11
- package/cdn/chunks/chunk.XMSZO3YG.js +0 -33
- package/cdn/chunks/chunk.XSTJB6JL.js +0 -25
- package/cdn/chunks/chunk.Y24QYAXM.js +0 -24
- package/cdn/chunks/chunk.Y4VSHIAH.js +0 -11
- package/cdn/chunks/chunk.YDCHAHGS.js +0 -197
- package/cdn/chunks/chunk.YIX3R3PC.js +0 -11
- package/cdn/chunks/chunk.YMKYAE6G.js +0 -314
- package/cdn/chunks/chunk.YPL5IULB.js +0 -11
- package/cdn/chunks/chunk.YQTNXX3P.js +0 -821
- package/cdn/chunks/chunk.Z54NXJ3L.js +0 -28
- package/cdn/chunks/chunk.Z7Z7ZXYP.js +0 -11
- package/cdn/chunks/chunk.ZBOQ7FFE.js +0 -142
- package/cdn/chunks/chunk.ZIIKONRE.js +0 -1990
- package/cdn/chunks/chunk.ZOYWULJK.js +0 -11
- package/cdn/chunks/chunk.ZTC7TXX5.js +0 -53
- package/cdn/chunks/chunk.ZTLDMFWK.js +0 -11
- package/cdn/components/data-table/data-table-column.component.d.ts +0 -39
- package/cdn/components/data-table/data-table-column.component.js +0 -10
- package/cdn/components/data-table/data-table-column.d.ts +0 -8
- package/cdn/components/data-table/data-table-column.js +0 -11
- package/cdn/components/data-table/define/cw-data-table-column.d.ts +0 -8
- package/cdn/components/data-table/define/cw-data-table-column.js +0 -14
- package/dist/chunks/chunk.2AG4LGFF.js +0 -63
- package/dist/chunks/chunk.2GENM2T3.js +0 -59
- package/dist/chunks/chunk.2GYEND2E.js +0 -21
- package/dist/chunks/chunk.2I3PQAIB.js +0 -11
- package/dist/chunks/chunk.2NQUWBBI.js +0 -151
- package/dist/chunks/chunk.2THEKYZB.js +0 -11
- package/dist/chunks/chunk.2VLMLOWV.js +0 -21
- package/dist/chunks/chunk.33HALTCO.js +0 -227
- package/dist/chunks/chunk.35VTIGT7.js +0 -21
- package/dist/chunks/chunk.3AFGTKZX.js +0 -181
- package/dist/chunks/chunk.3AHTUBOG.js +0 -259
- package/dist/chunks/chunk.3FIJJQ4E.js +0 -25
- package/dist/chunks/chunk.3MAHNAX7.js +0 -11
- package/dist/chunks/chunk.3PVGQH5I.js +0 -11
- package/dist/chunks/chunk.427OFUAW.js +0 -24
- package/dist/chunks/chunk.42BBHZMM.js +0 -294
- package/dist/chunks/chunk.46QJGMRB.js +0 -11
- package/dist/chunks/chunk.4HEVS4JL.js +0 -24
- package/dist/chunks/chunk.4TVSRBHU.js +0 -11
- package/dist/chunks/chunk.4WU7ZJJD.js +0 -21
- package/dist/chunks/chunk.4YJCZA67.js +0 -21
- package/dist/chunks/chunk.53DASUJV.js +0 -293
- package/dist/chunks/chunk.57YOOINY.js +0 -21
- package/dist/chunks/chunk.5CCJ5XKE.js +0 -91
- package/dist/chunks/chunk.5JEYDXUT.js +0 -231
- package/dist/chunks/chunk.5N3A2GXA.js +0 -11
- package/dist/chunks/chunk.5QBMC36T.js +0 -11
- package/dist/chunks/chunk.5SMTGQNW.js +0 -11
- package/dist/chunks/chunk.65CWOEZ2.js +0 -22
- package/dist/chunks/chunk.6CA6X2V3.js +0 -21
- package/dist/chunks/chunk.6OCDHTPA.js +0 -28
- package/dist/chunks/chunk.774JT5LG.js +0 -25
- package/dist/chunks/chunk.7BQQMODJ.js +0 -33
- package/dist/chunks/chunk.7E7PWQHX.js +0 -42
- package/dist/chunks/chunk.7H3AMZLT.js +0 -11
- package/dist/chunks/chunk.7JHZMA57.js +0 -33
- package/dist/chunks/chunk.7KAIMHBR.js +0 -11
- package/dist/chunks/chunk.7UB7VKAC.js +0 -375
- package/dist/chunks/chunk.7VV2QIUG.js +0 -45
- package/dist/chunks/chunk.7ZQIIFZB.js +0 -448
- package/dist/chunks/chunk.A4H5IHH6.js +0 -11
- package/dist/chunks/chunk.A5NMUGPV.js +0 -11
- package/dist/chunks/chunk.AARBLRXJ.js +0 -29
- package/dist/chunks/chunk.ABRX4XJW.js +0 -11
- package/dist/chunks/chunk.AD4UFRUN.js +0 -21
- package/dist/chunks/chunk.APE5GL5Y.js +0 -75
- package/dist/chunks/chunk.AQQE6CGB.js +0 -11
- package/dist/chunks/chunk.AVNCTMUP.js +0 -837
- package/dist/chunks/chunk.B3A6JRXS.js +0 -116
- package/dist/chunks/chunk.B6XVF6TW.js +0 -24
- package/dist/chunks/chunk.B7S5PGDX.js +0 -813
- package/dist/chunks/chunk.BFI5RSZX.js +0 -22
- package/dist/chunks/chunk.BHOADBXG.js +0 -26
- package/dist/chunks/chunk.BLVN4KUO.js +0 -11
- package/dist/chunks/chunk.BP2NMHG3.js +0 -11
- package/dist/chunks/chunk.BQ3Q5TNW.js +0 -11
- package/dist/chunks/chunk.BRG6AG5W.js +0 -21
- package/dist/chunks/chunk.BVNGYC7G.js +0 -21
- package/dist/chunks/chunk.BZUNZWCQ.js +0 -21
- package/dist/chunks/chunk.C2H7NVVH.js +0 -11
- package/dist/chunks/chunk.C6MIIMK3.js +0 -11
- package/dist/chunks/chunk.CBN6JSDV.js +0 -491
- package/dist/chunks/chunk.CBOW7HNP.js +0 -126
- package/dist/chunks/chunk.CGTOLVZP.js +0 -11
- package/dist/chunks/chunk.CSNIA3KK.js +0 -33
- package/dist/chunks/chunk.CURUWSEO.js +0 -21
- package/dist/chunks/chunk.CVISD57X.js +0 -11
- package/dist/chunks/chunk.D5QUJ3MC.js +0 -11
- package/dist/chunks/chunk.DQEH6ERY.js +0 -24
- package/dist/chunks/chunk.DTFJMEL7.js +0 -27
- package/dist/chunks/chunk.DTUJ2XNL.js +0 -25
- package/dist/chunks/chunk.DVGAJ3DA.js +0 -15
- package/dist/chunks/chunk.DWRZIT4M.js +0 -24
- package/dist/chunks/chunk.E4XI5XFN.js +0 -11
- package/dist/chunks/chunk.E5CGWMEK.js +0 -11
- package/dist/chunks/chunk.E7YZQ4HD.js +0 -100
- package/dist/chunks/chunk.EABEXK5H.js +0 -11
- package/dist/chunks/chunk.EAFFBV3W.js +0 -28
- package/dist/chunks/chunk.EAIL4D57.js +0 -11
- package/dist/chunks/chunk.ELGVK57O.js +0 -11
- package/dist/chunks/chunk.ERQHS5I5.js +0 -550
- package/dist/chunks/chunk.EVCE56NW.js +0 -21
- package/dist/chunks/chunk.F3NM3ABB.js +0 -80
- package/dist/chunks/chunk.F5CGWV23.js +0 -337
- package/dist/chunks/chunk.FBHA7HUB.js +0 -42
- package/dist/chunks/chunk.FPQQJJVJ.js +0 -33
- package/dist/chunks/chunk.FUD6M45U.js +0 -24
- package/dist/chunks/chunk.G366KAC6.js +0 -361
- package/dist/chunks/chunk.G7W64YXN.js +0 -21
- package/dist/chunks/chunk.GH7A3UGH.js +0 -34
- package/dist/chunks/chunk.GLWSITVT.js +0 -11
- package/dist/chunks/chunk.GWSH3PL2.js +0 -21
- package/dist/chunks/chunk.GYZOVNX2.js +0 -119
- package/dist/chunks/chunk.H2O2N37B.js +0 -11
- package/dist/chunks/chunk.H5JYRGAC.js +0 -27
- package/dist/chunks/chunk.H7JBYTAA.js +0 -93
- package/dist/chunks/chunk.HD4RHRMS.js +0 -109
- package/dist/chunks/chunk.HGWLQ3XV.js +0 -117
- package/dist/chunks/chunk.HKAXVWKT.js +0 -111
- package/dist/chunks/chunk.HR6YWWWW.js +0 -11
- package/dist/chunks/chunk.I6WSHEOM.js +0 -21
- package/dist/chunks/chunk.IBSHPTFC.js +0 -11
- package/dist/chunks/chunk.IKMEH3KY.js +0 -21
- package/dist/chunks/chunk.J6JN5ZNA.js +0 -247
- package/dist/chunks/chunk.JCZYPLSM.js +0 -21
- package/dist/chunks/chunk.JJALDPWX.js +0 -21
- package/dist/chunks/chunk.JMM4USPE.js +0 -11
- package/dist/chunks/chunk.K3EXY3BU.js +0 -949
- package/dist/chunks/chunk.K5UGBPJ3.js +0 -11
- package/dist/chunks/chunk.KBNRGSIV.js +0 -11
- package/dist/chunks/chunk.KEDNZZ3P.js +0 -100
- package/dist/chunks/chunk.KQQLAKRZ.js +0 -21
- package/dist/chunks/chunk.L7Z6LGT6.js +0 -25
- package/dist/chunks/chunk.LK72UNTZ.js +0 -24
- package/dist/chunks/chunk.LLT4TMU5.js +0 -192
- package/dist/chunks/chunk.LOU3KYJG.js +0 -370
- package/dist/chunks/chunk.LXCC4JLY.js +0 -29
- package/dist/chunks/chunk.M357TFC3.js +0 -134
- package/dist/chunks/chunk.M4Y4ZID3.js +0 -25
- package/dist/chunks/chunk.M5RW4BPF.js +0 -109
- package/dist/chunks/chunk.MDH6IU4V.js +0 -170
- package/dist/chunks/chunk.MMNRUD4M.js +0 -896
- package/dist/chunks/chunk.N2DRBLDH.js +0 -67
- package/dist/chunks/chunk.NB4MG53P.js +0 -94
- package/dist/chunks/chunk.NKLUE7XC.js +0 -11
- package/dist/chunks/chunk.NSTCRPYY.js +0 -11
- package/dist/chunks/chunk.NUOLLJJR.js +0 -21
- package/dist/chunks/chunk.NZKCYY52.js +0 -961
- package/dist/chunks/chunk.O24JHPBJ.js +0 -50
- package/dist/chunks/chunk.O2BJRSTL.js +0 -24
- package/dist/chunks/chunk.O5KUIOYE.js +0 -11
- package/dist/chunks/chunk.OBI6YT4W.js +0 -11
- package/dist/chunks/chunk.OCPC37N2.js +0 -11
- package/dist/chunks/chunk.OLM7OFIX.js +0 -11
- package/dist/chunks/chunk.ONNRL3UG.js +0 -24
- package/dist/chunks/chunk.OOZE3NE6.js +0 -25
- package/dist/chunks/chunk.OPNTDH3O.js +0 -82
- package/dist/chunks/chunk.OQRAO7EF.js +0 -26
- package/dist/chunks/chunk.OTCTVE5V.js +0 -29
- package/dist/chunks/chunk.OUIVPB2G.js +0 -384
- package/dist/chunks/chunk.OV4DLZ2M.js +0 -75
- package/dist/chunks/chunk.PA4DYO7E.js +0 -274
- package/dist/chunks/chunk.PJ5CMMLX.js +0 -11
- package/dist/chunks/chunk.PJXIO5XQ.js +0 -25
- package/dist/chunks/chunk.PW26KANS.js +0 -11
- package/dist/chunks/chunk.Q3J6WFJT.js +0 -11
- package/dist/chunks/chunk.Q4ZVFZMU.js +0 -26
- package/dist/chunks/chunk.Q6YH2NQ3.js +0 -315
- package/dist/chunks/chunk.QBMZLXDX.js +0 -11
- package/dist/chunks/chunk.QFAIVRPD.js +0 -28
- package/dist/chunks/chunk.QFCBURYO.js +0 -11
- package/dist/chunks/chunk.QIND5MVN.js +0 -25
- package/dist/chunks/chunk.QM6HMP4D.js +0 -11
- package/dist/chunks/chunk.QNCK2GAI.js +0 -45
- package/dist/chunks/chunk.QQ3HVSBR.js +0 -11
- package/dist/chunks/chunk.QTEUSPPU.js +0 -11
- package/dist/chunks/chunk.QV4DFCEI.js +0 -11
- package/dist/chunks/chunk.QVYCCVZS.js +0 -11
- package/dist/chunks/chunk.QX4AFNN2.js +0 -11
- package/dist/chunks/chunk.QXDQOXQN.js +0 -147
- package/dist/chunks/chunk.QZC7L7EX.js +0 -90
- package/dist/chunks/chunk.RMKLMD4K.js +0 -26
- package/dist/chunks/chunk.RN7BZPQ4.js +0 -44
- package/dist/chunks/chunk.RZRNGKJL.js +0 -11
- package/dist/chunks/chunk.SA56QYLF.js +0 -28
- package/dist/chunks/chunk.STFWRH6P.js +0 -11
- package/dist/chunks/chunk.T62XVO2T.js +0 -11
- package/dist/chunks/chunk.TDV4IRGW.js +0 -11
- package/dist/chunks/chunk.THF2CNPG.js +0 -21
- package/dist/chunks/chunk.TJ5VIVAX.js +0 -286
- package/dist/chunks/chunk.TO5JY7TD.js +0 -21
- package/dist/chunks/chunk.TVNB4JXG.js +0 -50
- package/dist/chunks/chunk.UENUKMVE.js +0 -24
- package/dist/chunks/chunk.USKQZ7GU.js +0 -417
- package/dist/chunks/chunk.V2T5TJ5I.js +0 -85
- package/dist/chunks/chunk.V5WC7WLK.js +0 -213
- package/dist/chunks/chunk.V7PVKTVW.js +0 -142
- package/dist/chunks/chunk.VUP4OXM6.js +0 -135
- package/dist/chunks/chunk.WAP6D3KF.js +0 -280
- package/dist/chunks/chunk.WBQTNRCP.js +0 -11
- package/dist/chunks/chunk.WEJ3Q4DV.js +0 -11
- package/dist/chunks/chunk.WQNJKGUR.js +0 -24
- package/dist/chunks/chunk.X6HAPQKG.js +0 -11
- package/dist/chunks/chunk.X6U5CKLH.js +0 -11
- package/dist/chunks/chunk.XI24R2BK.js +0 -11
- package/dist/chunks/chunk.XSLAX4BM.js +0 -27
- package/dist/chunks/chunk.Y4DVHEWQ.js +0 -11
- package/dist/chunks/chunk.Y6DNILRD.js +0 -24
- package/dist/chunks/chunk.Y7OXOIP7.js +0 -290
- package/dist/chunks/chunk.YB3XVX7I.js +0 -11
- package/dist/chunks/chunk.YGOW7NSW.js +0 -25
- package/dist/chunks/chunk.YK4FA566.js +0 -115
- package/dist/chunks/chunk.YOBZT5FH.js +0 -27
- package/dist/chunks/chunk.YOK6NINY.js +0 -11
- package/dist/chunks/chunk.YRW45GH5.js +0 -28
- package/dist/chunks/chunk.Z4TUXG7F.js +0 -311
- package/dist/chunks/chunk.Z7QSHXUC.js +0 -29
- package/dist/chunks/chunk.ZEEZVIUF.js +0 -11
- package/dist/chunks/chunk.ZFK7C4IR.js +0 -397
- package/dist/chunks/chunk.ZMQF2BRT.js +0 -73
- package/dist/chunks/chunk.ZWDVOAET.js +0 -25
- package/dist/components/data-table/data-table-column.component.d.ts +0 -39
- package/dist/components/data-table/data-table-column.component.js +0 -9
- package/dist/components/data-table/data-table-column.d.ts +0 -8
- package/dist/components/data-table/data-table-column.js +0 -10
- package/dist/components/data-table/define/cw-data-table-column.d.ts +0 -8
- package/dist/components/data-table/define/cw-data-table-column.js +0 -13
|
@@ -1,949 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CwInput
|
|
3
|
-
} from "./chunk.CBN6JSDV.js";
|
|
4
|
-
import {
|
|
5
|
-
drag
|
|
6
|
-
} from "./chunk.ESELY2US.js";
|
|
7
|
-
import {
|
|
8
|
-
CwDropdown
|
|
9
|
-
} from "./chunk.OUIVPB2G.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.BFI5RSZX.js";
|
|
19
|
-
import {
|
|
20
|
-
clamp
|
|
21
|
-
} from "./chunk.HF7GESMZ.js";
|
|
22
|
-
import {
|
|
23
|
-
CwButton
|
|
24
|
-
} from "./chunk.53DASUJV.js";
|
|
25
|
-
import {
|
|
26
|
-
FormControlController
|
|
27
|
-
} from "./chunk.PH2VNONO.js";
|
|
28
|
-
import {
|
|
29
|
-
CwButtonGroup
|
|
30
|
-
} from "./chunk.5CCJ5XKE.js";
|
|
31
|
-
import {
|
|
32
|
-
LocalizeController
|
|
33
|
-
} from "./chunk.DVGAJ3DA.js";
|
|
34
|
-
import {
|
|
35
|
-
CwIcon
|
|
36
|
-
} from "./chunk.3AFGTKZX.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.NB4MG53P.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
|
-
};
|