@cordwainer/cw-elements 1.2.3 → 1.3.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.22CT3NNE.js +24 -0
- package/cdn/chunks/chunk.25KMNMZK.js +11 -0
- package/cdn/chunks/chunk.2NENWIUU.js +11 -0
- package/cdn/chunks/chunk.2RICIUBA.js +11 -0
- package/cdn/chunks/chunk.2ZIRYB3Y.js +25 -0
- package/cdn/chunks/chunk.32LVF3NX.js +25 -0
- package/cdn/chunks/chunk.3HGG6RUA.js +120 -0
- package/cdn/chunks/chunk.3HLPK5O5.js +21 -0
- package/cdn/chunks/chunk.3MKLDNWG.js +11 -0
- package/cdn/chunks/chunk.46UTDLRO.js +27 -0
- package/cdn/chunks/chunk.4D3JC36O.js +11 -0
- package/cdn/chunks/chunk.4L6YA4BS.js +21 -0
- package/cdn/chunks/chunk.4NFOE2PI.js +218 -0
- package/cdn/chunks/chunk.4SC4TGCN.js +969 -0
- package/cdn/chunks/chunk.4UE7HAZW.js +29 -0
- package/cdn/chunks/chunk.4UT3CKES.js +87 -0
- package/cdn/chunks/chunk.52A7UAED.js +24 -0
- package/cdn/chunks/chunk.5FHIO4XA.js +385 -0
- package/cdn/chunks/chunk.5HK7XVCB.js +33 -0
- package/cdn/chunks/chunk.5I5OMI3N.js +11 -0
- package/cdn/chunks/chunk.5WBNCPLC.js +21 -0
- package/cdn/chunks/chunk.65HZIHGQ.js +27 -0
- package/cdn/chunks/chunk.6L4E2FRV.js +135 -0
- package/cdn/chunks/chunk.6M54ME6L.js +11 -0
- package/cdn/chunks/chunk.6MNPBWK5.js +95 -0
- package/cdn/chunks/chunk.6NN4W7MU.js +11 -0
- package/cdn/chunks/chunk.737DQEUX.js +216 -0
- package/cdn/chunks/chunk.7BW7WPEZ.js +11 -0
- package/cdn/chunks/chunk.7HCQTBTI.js +27 -0
- package/cdn/chunks/chunk.7IKCQ65R.js +11 -0
- package/cdn/chunks/chunk.7NUXY2EY.js +28 -0
- package/cdn/chunks/chunk.7PIHS5GL.js +21 -0
- package/cdn/chunks/chunk.7RXKDF4L.js +29 -0
- package/cdn/chunks/chunk.7SVYHQNT.js +236 -0
- package/cdn/chunks/chunk.A2EIYRV7.js +11 -0
- package/cdn/chunks/chunk.A6OFMGC3.js +21 -0
- package/cdn/chunks/chunk.ACCB6NI3.js +11 -0
- package/cdn/chunks/chunk.ACM7MAUS.js +11 -0
- package/cdn/chunks/chunk.ACSSYL4R.js +120 -0
- package/cdn/chunks/chunk.AE7QHBRW.js +49 -0
- package/cdn/chunks/chunk.AIIMDYAE.js +11 -0
- package/cdn/chunks/chunk.AQ7UKAJV.js +1925 -0
- package/cdn/chunks/chunk.AW4UTLG3.js +25 -0
- package/cdn/chunks/chunk.AY5MT3OR.js +367 -0
- package/cdn/chunks/chunk.B4BK3A6X.js +21 -0
- package/cdn/chunks/chunk.B5ZSFAU6.js +11 -0
- package/cdn/chunks/chunk.BI3L4BGR.js +11 -0
- package/cdn/chunks/chunk.BITDDFNS.js +21 -0
- package/cdn/chunks/chunk.BOCPUXU4.js +24 -0
- package/cdn/chunks/chunk.BOZP3WLH.js +11 -0
- package/cdn/chunks/chunk.BRGM4UJQ.js +11 -0
- package/cdn/chunks/chunk.BVMDTNP7.js +27 -0
- package/cdn/chunks/chunk.C7ZSFM4V.js +11 -0
- package/cdn/chunks/chunk.CD2E57CF.js +84 -0
- package/cdn/chunks/chunk.CVC2DMUB.js +724 -0
- package/cdn/chunks/chunk.DF4P6KAE.js +26 -0
- package/cdn/chunks/chunk.DITLZ5KK.js +255 -0
- package/cdn/chunks/chunk.DLVWLMOU.js +11 -0
- package/cdn/chunks/chunk.DZO5S3KM.js +291 -0
- package/cdn/chunks/chunk.E2G7LJZ4.js +24 -0
- package/cdn/chunks/chunk.E5PYVMR5.js +21 -0
- package/cdn/chunks/chunk.EFRG42G4.js +21 -0
- package/cdn/chunks/chunk.EGK3WFML.js +113 -0
- package/cdn/chunks/chunk.EGOMPAI6.js +28 -0
- package/cdn/chunks/chunk.EHNIMAMM.js +11 -0
- package/cdn/chunks/chunk.EIPQNPT2.js +11 -0
- package/cdn/chunks/chunk.EK5IWFN6.js +21 -0
- package/cdn/chunks/chunk.ESY6P4PM.js +11 -0
- package/cdn/chunks/chunk.F6VKIAAB.js +11 -0
- package/cdn/chunks/chunk.FNMITKXM.js +24 -0
- package/cdn/chunks/chunk.G3QUPFQZ.js +11 -0
- package/cdn/chunks/chunk.G6AAWWCJ.js +73 -0
- package/cdn/chunks/chunk.GEJTL6ST.js +122 -0
- package/cdn/chunks/chunk.GMJOFZJP.js +11 -0
- package/cdn/chunks/chunk.GV5OP2HG.js +33 -0
- package/cdn/chunks/chunk.GVDSP2U7.js +28 -0
- package/cdn/chunks/chunk.H4SY37DU.js +103 -0
- package/cdn/chunks/chunk.HDSZV4RM.js +24 -0
- package/cdn/chunks/chunk.HHFV4YKJ.js +279 -0
- package/cdn/chunks/chunk.HIP3MHFF.js +11 -0
- package/cdn/chunks/chunk.HJG3QTYZ.js +186 -0
- package/cdn/chunks/chunk.HMXHEG5B.js +11 -0
- package/cdn/chunks/chunk.I4ZFA2WC.js +11 -0
- package/cdn/chunks/chunk.I7EIBAE5.js +77 -0
- package/cdn/chunks/chunk.IGVDGCCQ.js +21 -0
- package/cdn/chunks/chunk.IIO6C37X.js +11 -0
- package/cdn/chunks/chunk.IJL7SK7X.js +21 -0
- package/cdn/chunks/chunk.IVQY2JPO.js +11 -0
- package/cdn/chunks/chunk.IVWHTOWG.js +21 -0
- package/cdn/chunks/chunk.IWXMLM5A.js +21 -0
- package/cdn/chunks/chunk.IYZV25WR.js +127 -0
- package/cdn/chunks/chunk.JCHF3N6T.js +11 -0
- package/cdn/chunks/chunk.JGHPJ4UU.js +346 -0
- package/cdn/chunks/chunk.JIG2RHZA.js +21 -0
- package/cdn/chunks/chunk.JPIAAJLH.js +11 -0
- package/cdn/chunks/chunk.JSREKKUV.js +29 -0
- package/cdn/chunks/chunk.JV5QRBAT.js +50 -0
- package/cdn/chunks/chunk.K3ZN73C5.js +25 -0
- package/cdn/chunks/chunk.K7HBYHFK.js +11 -0
- package/cdn/chunks/chunk.KEZUFS3Y.js +11 -0
- package/cdn/chunks/chunk.KKA4QL3V.js +24 -0
- package/cdn/chunks/chunk.KMX3WIZX.js +11 -0
- package/cdn/chunks/chunk.KP23WFZN.js +79 -0
- package/cdn/chunks/chunk.KSHDFQ5X.js +391 -0
- package/cdn/chunks/chunk.L2XIF6VQ.js +402 -0
- package/cdn/chunks/chunk.LBYPFP7A.js +26 -0
- package/cdn/chunks/chunk.LEWHPZQJ.js +11 -0
- package/cdn/chunks/chunk.LK73OQE3.js +158 -0
- package/cdn/chunks/chunk.LPSDL2X4.js +11 -0
- package/cdn/chunks/chunk.LQBCYFQZ.js +24 -0
- package/cdn/chunks/chunk.LQWDLVIQ.js +233 -0
- package/cdn/chunks/chunk.MANOJF6Z.js +455 -0
- package/cdn/chunks/chunk.MECD4Z2F.js +26 -0
- package/cdn/chunks/chunk.MKN4I4TZ.js +11 -0
- package/cdn/chunks/chunk.MPENKN44.js +21 -0
- package/cdn/chunks/chunk.N7ZIEEPG.js +21 -0
- package/cdn/chunks/chunk.NHHP7JDV.js +24 -0
- package/cdn/chunks/chunk.NLVJUY52.js +499 -0
- package/cdn/chunks/chunk.NQJEQLSK.js +11 -0
- package/cdn/chunks/chunk.OBNLKHVF.js +24 -0
- package/cdn/chunks/chunk.OOIOK4M5.js +29 -0
- package/cdn/chunks/chunk.OSGEXLYO.js +11 -0
- package/cdn/chunks/chunk.P6D5QHVJ.js +11 -0
- package/cdn/chunks/chunk.PCFUPG3W.js +21 -0
- package/cdn/chunks/chunk.PE36ZBOZ.js +11 -0
- package/cdn/chunks/chunk.PPL67JOV.js +56 -0
- package/cdn/chunks/chunk.PQHYKCLW.js +33 -0
- package/cdn/chunks/chunk.PQIT36YL.js +11 -0
- package/cdn/chunks/chunk.PUISP3Y6.js +11 -0
- package/cdn/chunks/chunk.Q2AH6F2K.js +302 -0
- package/cdn/chunks/chunk.Q5TDIOE2.js +21 -0
- package/cdn/chunks/chunk.QIACIGFY.js +11 -0
- package/cdn/chunks/chunk.QJYHURZU.js +25 -0
- package/cdn/chunks/chunk.QLEQQREQ.js +11 -0
- package/cdn/chunks/chunk.QVD6S2XJ.js +11 -0
- package/cdn/chunks/chunk.QVSQZ2OW.js +297 -0
- package/cdn/chunks/chunk.QYA66GYY.js +21 -0
- package/cdn/chunks/chunk.QZM74RZS.js +21 -0
- package/cdn/chunks/chunk.R44P3COQ.js +292 -0
- package/cdn/chunks/chunk.RCWARHL4.js +63 -0
- package/cdn/chunks/chunk.REY2TH4N.js +114 -0
- package/cdn/chunks/chunk.RFKZXGL6.js +67 -0
- package/cdn/chunks/chunk.RK2NGAHE.js +21 -0
- package/cdn/chunks/chunk.RMZ3GGOD.js +378 -0
- package/cdn/chunks/chunk.ROJNY45S.js +904 -0
- package/cdn/chunks/chunk.RREEJWO4.js +267 -0
- package/cdn/chunks/chunk.RSISCJLD.js +42 -0
- package/cdn/chunks/chunk.RXKUDDAG.js +82 -0
- package/cdn/chunks/chunk.RZ5U3IGJ.js +25 -0
- package/cdn/chunks/chunk.S2I7BGKV.js +26 -0
- package/cdn/chunks/chunk.S2U6HXBN.js +11 -0
- package/cdn/chunks/chunk.S5Y5NOSY.js +25 -0
- package/cdn/chunks/chunk.S5ZFA6QJ.js +25 -0
- package/cdn/chunks/chunk.SGU7G5BW.js +24 -0
- package/cdn/chunks/chunk.SNUNWMPG.js +114 -0
- package/cdn/chunks/chunk.SSHVYOP2.js +153 -0
- package/cdn/chunks/chunk.TEMNLUFV.js +11 -0
- package/cdn/chunks/chunk.TYQ7ZMBW.js +24 -0
- package/cdn/chunks/chunk.TZC3IGYM.js +11 -0
- package/cdn/chunks/chunk.U2P5TSSF.js +11 -0
- package/cdn/chunks/chunk.U3HV6M7P.js +11 -0
- package/cdn/chunks/chunk.U3OKBJY3.js +27 -0
- package/cdn/chunks/chunk.UI2YPM4Q.js +11 -0
- package/cdn/chunks/chunk.UJXACBPA.js +11 -0
- package/cdn/chunks/chunk.UQ5DYLJH.js +11 -0
- package/cdn/chunks/chunk.URNAYTVR.js +137 -0
- package/cdn/chunks/chunk.V52Q2FBI.js +28 -0
- package/cdn/chunks/chunk.VBUKH6YM.js +93 -0
- package/cdn/chunks/chunk.VDHDE7LM.js +205 -0
- package/cdn/chunks/chunk.VE6544CF.js +49 -0
- package/cdn/chunks/chunk.VFTUSAG5.js +24 -0
- package/cdn/chunks/chunk.VKA62GEU.js +844 -0
- package/cdn/chunks/chunk.VTFDXTES.js +299 -0
- package/cdn/chunks/chunk.VTTTIHQX.js +11 -0
- package/cdn/chunks/chunk.W2JXCITZ.js +11 -0
- package/cdn/chunks/chunk.W5GFIJFT.js +97 -0
- package/cdn/chunks/chunk.WCIVOTUQ.js +336 -0
- package/cdn/chunks/chunk.WCND34TR.js +21 -0
- package/cdn/chunks/chunk.WJD4SWMF.js +75 -0
- package/cdn/chunks/chunk.WVVWJJYI.js +36 -0
- package/cdn/chunks/chunk.WWXJAZJK.js +174 -0
- package/cdn/chunks/chunk.WY5FIE23.js +24 -0
- package/cdn/chunks/chunk.X2ADPGES.js +16 -0
- package/cdn/chunks/chunk.XAFSQLOF.js +574 -0
- package/cdn/chunks/chunk.XDANFU7Z.js +11 -0
- package/cdn/chunks/chunk.XMSZO3YG.js +33 -0
- package/cdn/chunks/chunk.XSTJB6JL.js +25 -0
- package/cdn/chunks/chunk.Y24QYAXM.js +24 -0
- package/cdn/chunks/chunk.Y4VSHIAH.js +11 -0
- package/cdn/chunks/chunk.YDCHAHGS.js +197 -0
- package/cdn/chunks/chunk.YIX3R3PC.js +11 -0
- package/cdn/chunks/chunk.YMKYAE6G.js +314 -0
- package/cdn/chunks/chunk.YPL5IULB.js +11 -0
- package/cdn/chunks/chunk.YQTNXX3P.js +821 -0
- package/cdn/chunks/chunk.Z54NXJ3L.js +28 -0
- package/cdn/chunks/chunk.Z7Z7ZXYP.js +11 -0
- package/cdn/chunks/chunk.ZBOQ7FFE.js +142 -0
- package/cdn/chunks/chunk.ZIIKONRE.js +1990 -0
- package/cdn/chunks/chunk.ZOYWULJK.js +11 -0
- package/cdn/chunks/chunk.ZTC7TXX5.js +53 -0
- package/cdn/chunks/chunk.ZTLDMFWK.js +11 -0
- package/cdn/components/alert/alert.component.js +6 -6
- package/cdn/components/alert/alert.js +7 -7
- package/cdn/components/animated-image/animated-image.component.js +3 -3
- package/cdn/components/animated-image/animated-image.js +4 -4
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +5 -5
- package/cdn/components/breadcrumb/breadcrumb.js +6 -6
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +6 -6
- package/cdn/components/button/button.js +7 -7
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +5 -5
- package/cdn/components/carousel/carousel.js +6 -6
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +3 -3
- package/cdn/components/checkbox/checkbox.js +4 -4
- package/cdn/components/color-picker/color-picker.component.js +12 -12
- package/cdn/components/color-picker/color-picker.js +13 -13
- package/cdn/components/combobox/combobox.component.js +10 -10
- package/cdn/components/combobox/combobox.js +11 -11
- package/cdn/components/copy-button/copy-button.component.js +7 -7
- package/cdn/components/copy-button/copy-button.js +8 -8
- package/cdn/components/data-table/data-table-column.component.js +2 -2
- package/cdn/components/data-table/data-table-column.js +3 -3
- package/cdn/components/data-table/data-table.component.d.ts +3 -0
- package/cdn/components/data-table/data-table.component.js +9 -8
- package/cdn/components/data-table/data-table.js +10 -9
- package/cdn/components/data-table/data-table.styles.js +1 -1
- package/cdn/components/data-table/define/cw-data-table-column.js +2 -2
- package/cdn/components/data-table-column/data-table-column.js +3 -3
- package/cdn/components/date-picker/date-picker.component.js +7 -7
- package/cdn/components/date-picker/date-picker.js +8 -8
- package/cdn/components/details/details.component.js +5 -5
- package/cdn/components/details/details.js +6 -6
- package/cdn/components/dialog/dialog.component.js +6 -6
- package/cdn/components/dialog/dialog.js +7 -7
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +6 -6
- package/cdn/components/drawer/drawer.js +7 -7
- package/cdn/components/dropdown/dropdown.component.js +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 +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/image-comparer/image-comparer.component.js +5 -5
- package/cdn/components/image-comparer/image-comparer.js +6 -6
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +5 -5
- package/cdn/components/input/input.js +6 -6
- package/cdn/components/logo/logo.component.d.ts +43 -0
- package/cdn/components/logo/logo.component.js +16 -0
- package/cdn/components/logo/logo.d.ts +8 -0
- package/cdn/components/logo/logo.js +17 -0
- package/cdn/components/logo/logo.styles.d.ts +2 -0
- package/cdn/components/logo/logo.styles.js +8 -0
- 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 +7 -7
- package/cdn/components/menu-item/menu-item.js +8 -8
- 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 +5 -5
- package/cdn/components/option/option.js +6 -6
- package/cdn/components/pagination/pagination.component.js +6 -6
- package/cdn/components/pagination/pagination.js +7 -7
- package/cdn/components/popup/popup.component.js +4 -4
- package/cdn/components/popup/popup.js +5 -5
- 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 +3 -3
- package/cdn/components/radio/radio.js +4 -4
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +3 -3
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/range/range.component.js +4 -4
- package/cdn/components/range/range.js +5 -5
- package/cdn/components/rating/rating.component.js +5 -5
- package/cdn/components/rating/rating.js +6 -6
- 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/select/select.component.js +8 -8
- package/cdn/components/select/select.js +9 -9
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +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 +6 -6
- package/cdn/components/tab/tab.js +7 -7
- package/cdn/components/tab-group/tab-group.component.js +7 -7
- package/cdn/components/tab-group/tab-group.js +8 -8
- 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 +6 -6
- package/cdn/components/tag/tag.js +7 -7
- 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 +7 -7
- package/cdn/components/time-picker/time-picker.js +8 -8
- package/cdn/components/tooltip/tooltip.component.js +5 -5
- package/cdn/components/tooltip/tooltip.js +6 -6
- package/cdn/components/tree/tree.component.js +8 -8
- package/cdn/components/tree/tree.js +9 -9
- package/cdn/components/tree-item/tree-item.component.js +7 -7
- package/cdn/components/tree-item/tree-item.js +8 -8
- 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 +201 -1
- package/cdn/cw-elements.d.ts +1 -0
- package/cdn/cw-elements.js +169 -162
- package/cdn/internal/host-context-fallback.d.ts +8 -0
- package/cdn/react/alert/index.js +7 -7
- package/cdn/react/animated-image/index.js +4 -4
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +6 -6
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +7 -7
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +6 -6
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +4 -4
- package/cdn/react/color-picker/index.js +13 -13
- package/cdn/react/combobox/index.js +11 -11
- package/cdn/react/copy-button/index.js +8 -8
- package/cdn/react/data-table/index.js +10 -9
- package/cdn/react/data-table-column/index.js +3 -3
- package/cdn/react/date-picker/index.js +8 -8
- package/cdn/react/details/index.js +6 -6
- package/cdn/react/dialog/index.js +7 -7
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +7 -7
- package/cdn/react/dropdown/index.js +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 +3 -3
- package/cdn/react/icon-button/index.js +4 -4
- package/cdn/react/image-comparer/index.js +6 -6
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.d.ts +1 -0
- package/cdn/react/index.js +185 -178
- package/cdn/react/input/index.js +6 -6
- package/cdn/react/logo/index.d.ts +18 -0
- package/cdn/react/logo/index.js +17 -0
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +8 -8
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/option/index.js +6 -6
- package/cdn/react/pagination/index.js +7 -7
- package/cdn/react/popup/index.js +5 -5
- 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 +4 -4
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/range/index.js +5 -5
- package/cdn/react/rating/index.js +6 -6
- package/cdn/react/relative-time/index.js +5 -5
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/select/index.js +9 -9
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +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 +7 -7
- package/cdn/react/tab-group/index.js +8 -8
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/tag/index.js +7 -7
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/time-picker/index.js +8 -8
- package/cdn/react/tooltip/index.js +6 -6
- package/cdn/react/tree/index.js +9 -9
- package/cdn/react/tree-item/index.js +8 -8
- 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 +3 -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 +37 -0
- package/cdn/utilities/localize.d.ts +1 -0
- package/cdn/utilities/localize.js +2 -2
- package/cdn/vscode.html-custom-data.json +48 -0
- package/cdn/web-types.json +83 -1
- package/dist/chunks/chunk.2AG4LGFF.js +63 -0
- package/dist/chunks/chunk.2GENM2T3.js +59 -0
- package/dist/chunks/chunk.2GYEND2E.js +21 -0
- package/dist/chunks/chunk.2I3PQAIB.js +11 -0
- package/dist/chunks/chunk.2NQUWBBI.js +151 -0
- package/dist/chunks/chunk.2THEKYZB.js +11 -0
- package/dist/chunks/chunk.2VLMLOWV.js +21 -0
- package/dist/chunks/chunk.33HALTCO.js +227 -0
- package/dist/chunks/chunk.35VTIGT7.js +21 -0
- package/dist/chunks/chunk.3AFGTKZX.js +181 -0
- package/dist/chunks/chunk.3AHTUBOG.js +259 -0
- package/dist/chunks/chunk.3FIJJQ4E.js +25 -0
- package/dist/chunks/chunk.3MAHNAX7.js +11 -0
- package/dist/chunks/chunk.3PVGQH5I.js +11 -0
- package/dist/chunks/chunk.427OFUAW.js +24 -0
- package/dist/chunks/chunk.42BBHZMM.js +294 -0
- package/dist/chunks/chunk.46QJGMRB.js +11 -0
- package/dist/chunks/chunk.4HEVS4JL.js +24 -0
- package/dist/chunks/chunk.4TVSRBHU.js +11 -0
- package/dist/chunks/chunk.4WU7ZJJD.js +21 -0
- package/dist/chunks/chunk.4YJCZA67.js +21 -0
- package/dist/chunks/chunk.53DASUJV.js +293 -0
- package/dist/chunks/chunk.57YOOINY.js +21 -0
- package/dist/chunks/chunk.5CCJ5XKE.js +91 -0
- package/dist/chunks/chunk.5GXIU7UK.js +202 -0
- package/dist/chunks/chunk.5JEYDXUT.js +231 -0
- package/dist/chunks/chunk.5N3A2GXA.js +11 -0
- package/dist/chunks/chunk.5QBMC36T.js +11 -0
- package/dist/chunks/chunk.5SMTGQNW.js +11 -0
- package/dist/chunks/chunk.65CWOEZ2.js +22 -0
- package/dist/chunks/chunk.6CA6X2V3.js +21 -0
- package/dist/chunks/chunk.6OCDHTPA.js +28 -0
- package/dist/chunks/chunk.774JT5LG.js +25 -0
- package/dist/chunks/chunk.7BQQMODJ.js +33 -0
- package/dist/chunks/chunk.7E7PWQHX.js +42 -0
- package/dist/chunks/chunk.7H3AMZLT.js +11 -0
- package/dist/chunks/chunk.7JHZMA57.js +33 -0
- package/dist/chunks/chunk.7KAIMHBR.js +11 -0
- package/dist/chunks/chunk.7UB7VKAC.js +375 -0
- package/dist/chunks/chunk.7VV2QIUG.js +45 -0
- package/dist/chunks/chunk.7ZQIIFZB.js +448 -0
- package/dist/chunks/chunk.A4H5IHH6.js +11 -0
- package/dist/chunks/chunk.A5NMUGPV.js +11 -0
- package/dist/chunks/chunk.AARBLRXJ.js +29 -0
- package/dist/chunks/chunk.ABRX4XJW.js +11 -0
- package/dist/chunks/chunk.AD4UFRUN.js +21 -0
- package/dist/chunks/chunk.APE5GL5Y.js +75 -0
- package/dist/chunks/chunk.AQQE6CGB.js +11 -0
- package/dist/chunks/chunk.AVNCTMUP.js +837 -0
- package/dist/chunks/chunk.B3A6JRXS.js +116 -0
- package/dist/chunks/chunk.B6XVF6TW.js +24 -0
- package/dist/chunks/chunk.B7S5PGDX.js +813 -0
- package/dist/chunks/chunk.BFI5RSZX.js +22 -0
- package/dist/chunks/chunk.BHOADBXG.js +26 -0
- package/dist/chunks/chunk.BLVN4KUO.js +11 -0
- package/dist/chunks/chunk.BP2NMHG3.js +11 -0
- package/dist/chunks/chunk.BQ3Q5TNW.js +11 -0
- package/dist/chunks/chunk.BRG6AG5W.js +21 -0
- package/dist/chunks/chunk.BVNGYC7G.js +21 -0
- package/dist/chunks/chunk.BZUNZWCQ.js +21 -0
- package/dist/chunks/chunk.C2H7NVVH.js +11 -0
- package/dist/chunks/chunk.C6MIIMK3.js +11 -0
- package/dist/chunks/chunk.CBN6JSDV.js +491 -0
- package/dist/chunks/chunk.CBOW7HNP.js +126 -0
- package/dist/chunks/chunk.CGTOLVZP.js +11 -0
- package/dist/chunks/chunk.CSNIA3KK.js +33 -0
- package/dist/chunks/chunk.CURUWSEO.js +21 -0
- package/dist/chunks/chunk.CVISD57X.js +11 -0
- package/dist/chunks/chunk.D5QUJ3MC.js +11 -0
- package/dist/chunks/chunk.DQEH6ERY.js +24 -0
- package/dist/chunks/chunk.DTFJMEL7.js +27 -0
- package/dist/chunks/chunk.DTUJ2XNL.js +25 -0
- package/dist/chunks/chunk.DVGAJ3DA.js +15 -0
- package/dist/chunks/chunk.DWRZIT4M.js +24 -0
- package/dist/chunks/chunk.E4XI5XFN.js +11 -0
- package/dist/chunks/chunk.E5CGWMEK.js +11 -0
- package/dist/chunks/chunk.E7YZQ4HD.js +100 -0
- package/dist/chunks/chunk.EABEXK5H.js +11 -0
- package/dist/chunks/chunk.EAFFBV3W.js +28 -0
- package/dist/chunks/chunk.EAIL4D57.js +11 -0
- package/dist/chunks/chunk.ELGVK57O.js +11 -0
- package/dist/chunks/chunk.ERQHS5I5.js +550 -0
- package/dist/chunks/chunk.EVCE56NW.js +21 -0
- package/dist/chunks/chunk.F3NM3ABB.js +80 -0
- package/dist/chunks/chunk.F5CGWV23.js +337 -0
- package/dist/chunks/chunk.FBHA7HUB.js +42 -0
- package/dist/chunks/chunk.FPQQJJVJ.js +33 -0
- package/dist/chunks/chunk.FUD6M45U.js +24 -0
- package/dist/chunks/chunk.G366KAC6.js +361 -0
- package/dist/chunks/chunk.G7W64YXN.js +21 -0
- package/dist/chunks/chunk.GH7A3UGH.js +34 -0
- package/dist/chunks/chunk.GLWSITVT.js +11 -0
- package/dist/chunks/chunk.GWSH3PL2.js +21 -0
- package/dist/chunks/chunk.GYZOVNX2.js +119 -0
- package/dist/chunks/chunk.H2O2N37B.js +11 -0
- package/dist/chunks/chunk.H5JYRGAC.js +27 -0
- package/dist/chunks/chunk.H7JBYTAA.js +93 -0
- package/dist/chunks/chunk.HD4RHRMS.js +109 -0
- package/dist/chunks/chunk.HGWLQ3XV.js +117 -0
- package/dist/chunks/chunk.HKAXVWKT.js +111 -0
- package/dist/chunks/chunk.HR6YWWWW.js +11 -0
- package/dist/chunks/chunk.I6WSHEOM.js +21 -0
- package/dist/chunks/chunk.IBSHPTFC.js +11 -0
- package/dist/chunks/chunk.IKMEH3KY.js +21 -0
- package/dist/chunks/chunk.J6JN5ZNA.js +247 -0
- package/dist/chunks/chunk.JCZYPLSM.js +21 -0
- package/dist/chunks/chunk.JJALDPWX.js +21 -0
- package/dist/chunks/chunk.JMM4USPE.js +11 -0
- package/dist/chunks/chunk.K3EXY3BU.js +949 -0
- package/dist/chunks/chunk.K5UGBPJ3.js +11 -0
- package/dist/chunks/chunk.KBNRGSIV.js +11 -0
- package/dist/chunks/chunk.KEDNZZ3P.js +100 -0
- package/dist/chunks/chunk.KQQLAKRZ.js +21 -0
- package/dist/chunks/chunk.L7Z6LGT6.js +25 -0
- package/dist/chunks/chunk.LK72UNTZ.js +24 -0
- package/dist/chunks/chunk.LLT4TMU5.js +192 -0
- package/dist/chunks/chunk.LOU3KYJG.js +370 -0
- package/dist/chunks/chunk.LXCC4JLY.js +29 -0
- package/dist/chunks/chunk.M357TFC3.js +134 -0
- package/dist/chunks/chunk.M4Y4ZID3.js +25 -0
- package/dist/chunks/chunk.M5RW4BPF.js +109 -0
- package/dist/chunks/chunk.MDH6IU4V.js +170 -0
- package/dist/chunks/chunk.MMNRUD4M.js +896 -0
- package/dist/chunks/chunk.N2DRBLDH.js +67 -0
- package/dist/chunks/chunk.NB4MG53P.js +94 -0
- package/dist/chunks/chunk.NKLUE7XC.js +11 -0
- package/dist/chunks/chunk.NSTCRPYY.js +11 -0
- package/dist/chunks/chunk.NUOLLJJR.js +21 -0
- package/dist/chunks/chunk.NZKCYY52.js +961 -0
- package/dist/chunks/chunk.O24JHPBJ.js +50 -0
- package/dist/chunks/chunk.O2BJRSTL.js +24 -0
- package/dist/chunks/chunk.O5KUIOYE.js +11 -0
- package/dist/chunks/chunk.OBI6YT4W.js +11 -0
- package/dist/chunks/chunk.OCPC37N2.js +11 -0
- package/dist/chunks/chunk.OLM7OFIX.js +11 -0
- package/dist/chunks/chunk.ONNRL3UG.js +24 -0
- package/dist/chunks/chunk.OOZE3NE6.js +25 -0
- package/dist/chunks/chunk.OPNTDH3O.js +82 -0
- package/dist/chunks/chunk.OQRAO7EF.js +26 -0
- package/dist/chunks/chunk.OTCTVE5V.js +29 -0
- package/dist/chunks/chunk.OUIVPB2G.js +384 -0
- package/dist/chunks/chunk.OV4DLZ2M.js +75 -0
- package/dist/chunks/chunk.PA4DYO7E.js +274 -0
- package/dist/chunks/chunk.PJ5CMMLX.js +11 -0
- package/dist/chunks/chunk.PJXIO5XQ.js +25 -0
- package/dist/chunks/chunk.PW26KANS.js +11 -0
- package/dist/chunks/chunk.Q3J6WFJT.js +11 -0
- package/dist/chunks/chunk.Q4ZVFZMU.js +26 -0
- package/dist/chunks/chunk.Q6YH2NQ3.js +315 -0
- package/dist/chunks/chunk.QBMZLXDX.js +11 -0
- package/dist/chunks/chunk.QFAIVRPD.js +28 -0
- package/dist/chunks/chunk.QFCBURYO.js +11 -0
- package/dist/chunks/chunk.QIND5MVN.js +25 -0
- package/dist/chunks/chunk.QM6HMP4D.js +11 -0
- package/dist/chunks/chunk.QNCK2GAI.js +45 -0
- package/dist/chunks/chunk.QQ3HVSBR.js +11 -0
- package/dist/chunks/chunk.QTEUSPPU.js +11 -0
- package/dist/chunks/chunk.QV4DFCEI.js +11 -0
- package/dist/chunks/chunk.QVYCCVZS.js +11 -0
- package/dist/chunks/chunk.QX4AFNN2.js +11 -0
- package/dist/chunks/chunk.QXDQOXQN.js +147 -0
- package/dist/chunks/chunk.QZC7L7EX.js +90 -0
- package/dist/chunks/chunk.RMKLMD4K.js +26 -0
- package/dist/chunks/chunk.RZRNGKJL.js +11 -0
- package/dist/chunks/chunk.SA56QYLF.js +28 -0
- package/dist/chunks/chunk.STFWRH6P.js +11 -0
- package/dist/chunks/chunk.T62XVO2T.js +11 -0
- package/dist/chunks/chunk.TDV4IRGW.js +11 -0
- package/dist/chunks/chunk.THF2CNPG.js +21 -0
- package/dist/chunks/chunk.TJ5VIVAX.js +286 -0
- package/dist/chunks/chunk.TO5JY7TD.js +21 -0
- package/dist/chunks/chunk.TVNB4JXG.js +50 -0
- package/dist/chunks/chunk.TYQ7ZMBW.js +24 -0
- package/dist/chunks/chunk.UENUKMVE.js +24 -0
- package/dist/chunks/chunk.USKQZ7GU.js +417 -0
- package/dist/chunks/chunk.V2T5TJ5I.js +85 -0
- package/dist/chunks/chunk.V5WC7WLK.js +213 -0
- package/dist/chunks/chunk.VUP4OXM6.js +135 -0
- package/dist/chunks/chunk.WAP6D3KF.js +280 -0
- package/dist/chunks/chunk.WBQTNRCP.js +11 -0
- package/dist/chunks/chunk.WEJ3Q4DV.js +11 -0
- package/dist/chunks/chunk.WQNJKGUR.js +24 -0
- package/dist/chunks/chunk.X6HAPQKG.js +11 -0
- package/dist/chunks/chunk.X6U5CKLH.js +11 -0
- package/dist/chunks/chunk.XI24R2BK.js +11 -0
- package/dist/chunks/chunk.XSLAX4BM.js +27 -0
- package/dist/chunks/chunk.Y4DVHEWQ.js +11 -0
- package/dist/chunks/chunk.Y6DNILRD.js +24 -0
- package/dist/chunks/chunk.Y7OXOIP7.js +290 -0
- package/dist/chunks/chunk.YB3XVX7I.js +11 -0
- package/dist/chunks/chunk.YGOW7NSW.js +25 -0
- package/dist/chunks/chunk.YK4FA566.js +115 -0
- package/dist/chunks/chunk.YOBZT5FH.js +27 -0
- package/dist/chunks/chunk.YOK6NINY.js +11 -0
- package/dist/chunks/chunk.YRW45GH5.js +28 -0
- package/dist/chunks/chunk.Z4TUXG7F.js +311 -0
- package/dist/chunks/chunk.Z7QSHXUC.js +29 -0
- package/dist/chunks/chunk.ZEEZVIUF.js +11 -0
- package/dist/chunks/chunk.ZFK7C4IR.js +397 -0
- package/dist/chunks/chunk.ZJCU7ADP.js +53 -0
- package/dist/chunks/chunk.ZMQF2BRT.js +73 -0
- package/dist/chunks/chunk.ZWDVOAET.js +25 -0
- package/dist/components/alert/alert.component.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/animated-image/animated-image.component.js +3 -3
- package/dist/components/animated-image/animated-image.js +4 -4
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +3 -3
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +5 -5
- package/dist/components/breadcrumb/breadcrumb.js +6 -6
- 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 +6 -6
- package/dist/components/button/button.js +7 -7
- 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 +5 -5
- package/dist/components/carousel/carousel.js +6 -6
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/color-picker/color-picker.component.js +12 -12
- package/dist/components/color-picker/color-picker.js +13 -13
- package/dist/components/combobox/combobox.component.js +10 -10
- package/dist/components/combobox/combobox.js +11 -11
- package/dist/components/copy-button/copy-button.component.js +7 -7
- package/dist/components/copy-button/copy-button.js +8 -8
- package/dist/components/data-table/data-table-column.component.js +2 -2
- package/dist/components/data-table/data-table-column.js +3 -3
- package/dist/components/data-table/data-table.component.d.ts +3 -0
- package/dist/components/data-table/data-table.component.js +9 -8
- package/dist/components/data-table/data-table.js +10 -9
- package/dist/components/data-table/data-table.styles.js +1 -1
- package/dist/components/data-table/define/cw-data-table-column.js +2 -2
- package/dist/components/data-table-column/data-table-column.js +3 -3
- package/dist/components/date-picker/date-picker.component.js +7 -7
- package/dist/components/date-picker/date-picker.js +8 -8
- package/dist/components/details/details.component.js +5 -5
- package/dist/components/details/details.js +6 -6
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +6 -6
- package/dist/components/drawer/drawer.js +7 -7
- 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 +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image-comparer/image-comparer.component.js +5 -5
- package/dist/components/image-comparer/image-comparer.js +6 -6
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +5 -5
- package/dist/components/input/input.js +6 -6
- package/dist/components/logo/logo.component.d.ts +43 -0
- package/dist/components/logo/logo.component.js +13 -0
- package/dist/components/logo/logo.d.ts +8 -0
- package/dist/components/logo/logo.js +14 -0
- package/dist/components/logo/logo.styles.d.ts +2 -0
- package/dist/components/logo/logo.styles.js +7 -0
- 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 +7 -7
- package/dist/components/menu-item/menu-item.js +8 -8
- 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 +5 -5
- package/dist/components/option/option.js +6 -6
- package/dist/components/pagination/pagination.component.js +6 -6
- package/dist/components/pagination/pagination.js +7 -7
- package/dist/components/popup/popup.component.js +4 -4
- package/dist/components/popup/popup.js +5 -5
- 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 +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +4 -4
- package/dist/components/range/range.js +5 -5
- package/dist/components/rating/rating.component.js +5 -5
- package/dist/components/rating/rating.js +6 -6
- 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/select/select.component.js +8 -8
- package/dist/components/select/select.js +9 -9
- 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 +6 -6
- package/dist/components/tab/tab.js +7 -7
- package/dist/components/tab-group/tab-group.component.js +7 -7
- package/dist/components/tab-group/tab-group.js +8 -8
- 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 +6 -6
- package/dist/components/tag/tag.js +7 -7
- 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 +7 -7
- package/dist/components/time-picker/time-picker.js +8 -8
- package/dist/components/tooltip/tooltip.component.js +5 -5
- package/dist/components/tooltip/tooltip.js +6 -6
- package/dist/components/tree/tree.component.js +8 -8
- package/dist/components/tree/tree.js +9 -9
- package/dist/components/tree-item/tree-item.component.js +7 -7
- package/dist/components/tree-item/tree-item.js +8 -8
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +201 -1
- package/dist/cw-elements.d.ts +1 -0
- package/dist/cw-elements.js +169 -162
- package/dist/internal/host-context-fallback.d.ts +8 -0
- package/dist/react/alert/index.js +7 -7
- package/dist/react/animated-image/index.js +4 -4
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +6 -6
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +7 -7
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +6 -6
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +4 -4
- package/dist/react/color-picker/index.js +13 -13
- package/dist/react/combobox/index.js +11 -11
- package/dist/react/copy-button/index.js +8 -8
- package/dist/react/data-table/index.js +10 -9
- package/dist/react/data-table-column/index.js +3 -3
- package/dist/react/date-picker/index.js +8 -8
- package/dist/react/details/index.js +6 -6
- package/dist/react/dialog/index.js +7 -7
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +7 -7
- 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 +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image-comparer/index.js +6 -6
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +185 -178
- package/dist/react/input/index.js +6 -6
- package/dist/react/logo/index.d.ts +18 -0
- package/dist/react/logo/index.js +14 -0
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +8 -8
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/option/index.js +6 -6
- package/dist/react/pagination/index.js +7 -7
- package/dist/react/popup/index.js +5 -5
- 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 +4 -4
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +5 -5
- package/dist/react/rating/index.js +6 -6
- package/dist/react/relative-time/index.js +5 -5
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/select/index.js +9 -9
- 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 +7 -7
- package/dist/react/tab-group/index.js +8 -8
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/tag/index.js +7 -7
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/time-picker/index.js +8 -8
- package/dist/react/tooltip/index.js +6 -6
- package/dist/react/tree/index.js +9 -9
- package/dist/react/tree-item/index.js +8 -8
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/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 +3 -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 +37 -0
- package/dist/utilities/localize.d.ts +1 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +48 -0
- package/dist/web-types.json +83 -1
- package/package.json +1 -1
- package/cdn/chunks/chunk.27DWKH6T.js +0 -11
- package/cdn/chunks/chunk.2DDICLPD.js +0 -28
- package/cdn/chunks/chunk.2FFPERIE.js +0 -153
- package/cdn/chunks/chunk.2P4ZZC7W.js +0 -11
- package/cdn/chunks/chunk.2UFSI2MO.js +0 -267
- package/cdn/chunks/chunk.2VN5Z4ZW.js +0 -11
- package/cdn/chunks/chunk.3ALKICKA.js +0 -24
- package/cdn/chunks/chunk.3ITR3YMH.js +0 -16
- package/cdn/chunks/chunk.3MIQW4YV.js +0 -24
- package/cdn/chunks/chunk.472JP4U2.js +0 -21
- package/cdn/chunks/chunk.4AOCDYQ7.js +0 -25
- package/cdn/chunks/chunk.4GH37RHM.js +0 -11
- package/cdn/chunks/chunk.4GJSHMMS.js +0 -11
- package/cdn/chunks/chunk.4HGRVMHE.js +0 -27
- package/cdn/chunks/chunk.4L4ADGYI.js +0 -11
- package/cdn/chunks/chunk.4PYMSCBF.js +0 -11
- package/cdn/chunks/chunk.4SW6W2T3.js +0 -67
- package/cdn/chunks/chunk.4YGPL3O5.js +0 -21
- package/cdn/chunks/chunk.5DDDX6SU.js +0 -11
- package/cdn/chunks/chunk.5NRIGGVD.js +0 -82
- package/cdn/chunks/chunk.5P27I6WT.js +0 -26
- package/cdn/chunks/chunk.5ZFLYA52.js +0 -36
- package/cdn/chunks/chunk.645KM5OC.js +0 -95
- package/cdn/chunks/chunk.657OE6QW.js +0 -11
- package/cdn/chunks/chunk.67VUP6R6.js +0 -49
- package/cdn/chunks/chunk.6FPJ4FPW.js +0 -25
- package/cdn/chunks/chunk.6TG2M3KU.js +0 -11
- package/cdn/chunks/chunk.73WVTKBY.js +0 -1990
- package/cdn/chunks/chunk.74SHEGOG.js +0 -49
- package/cdn/chunks/chunk.76UKF746.js +0 -28
- package/cdn/chunks/chunk.7DXYZUKL.js +0 -33
- package/cdn/chunks/chunk.7ZIVYTTK.js +0 -199
- package/cdn/chunks/chunk.AANGFSUB.js +0 -291
- package/cdn/chunks/chunk.AKBYURFA.js +0 -24
- package/cdn/chunks/chunk.ALSOXEVP.js +0 -11
- package/cdn/chunks/chunk.AOZIM25C.js +0 -363
- package/cdn/chunks/chunk.AQBPTBC5.js +0 -314
- package/cdn/chunks/chunk.AQQFKDOW.js +0 -63
- package/cdn/chunks/chunk.AR7N2GNT.js +0 -11
- package/cdn/chunks/chunk.ARN3CCTG.js +0 -24
- package/cdn/chunks/chunk.AUJND7BT.js +0 -11
- package/cdn/chunks/chunk.AXPW2B6I.js +0 -11
- package/cdn/chunks/chunk.B5XCFP5B.js +0 -25
- package/cdn/chunks/chunk.BNI3PLC7.js +0 -24
- package/cdn/chunks/chunk.BUKC7CMC.js +0 -724
- package/cdn/chunks/chunk.C3OPPFUA.js +0 -336
- package/cdn/chunks/chunk.C4KXBIGP.js +0 -11
- package/cdn/chunks/chunk.C7MOQHUM.js +0 -11
- package/cdn/chunks/chunk.CETTTOVQ.js +0 -29
- package/cdn/chunks/chunk.COBVAO57.js +0 -292
- package/cdn/chunks/chunk.CTZTBJX6.js +0 -25
- package/cdn/chunks/chunk.D4RHZ3VF.js +0 -50
- package/cdn/chunks/chunk.DBO4KLPN.js +0 -21
- package/cdn/chunks/chunk.DCDRLLMM.js +0 -24
- package/cdn/chunks/chunk.DL7KX4XQ.js +0 -11
- package/cdn/chunks/chunk.DLXKA2WE.js +0 -11
- package/cdn/chunks/chunk.DPWUHO5G.js +0 -236
- package/cdn/chunks/chunk.DZIZWO42.js +0 -77
- package/cdn/chunks/chunk.EAYAE4R4.js +0 -142
- package/cdn/chunks/chunk.ELLNTHHF.js +0 -21
- package/cdn/chunks/chunk.EN47T4SP.js +0 -11
- package/cdn/chunks/chunk.EOCEWG7C.js +0 -11
- package/cdn/chunks/chunk.ESZSDU54.js +0 -11
- package/cdn/chunks/chunk.EUB4VEZI.js +0 -11
- package/cdn/chunks/chunk.EURODS3L.js +0 -24
- package/cdn/chunks/chunk.EWDXUCUZ.js +0 -21
- package/cdn/chunks/chunk.EZB4OORS.js +0 -21
- package/cdn/chunks/chunk.F4GUMM7Z.js +0 -84
- package/cdn/chunks/chunk.F6DTB5PE.js +0 -28
- package/cdn/chunks/chunk.FAJPJSRZ.js +0 -24
- package/cdn/chunks/chunk.FEDW52Q4.js +0 -11
- package/cdn/chunks/chunk.FFDZMFCK.js +0 -11
- package/cdn/chunks/chunk.FHUJBZLE.js +0 -27
- package/cdn/chunks/chunk.FJ6XPN5Y.js +0 -29
- package/cdn/chunks/chunk.FKKIPZQY.js +0 -11
- package/cdn/chunks/chunk.FN5M275P.js +0 -11
- package/cdn/chunks/chunk.FQWZODEG.js +0 -24
- package/cdn/chunks/chunk.GJS4NFZQ.js +0 -11
- package/cdn/chunks/chunk.GKDT6QDX.js +0 -137
- package/cdn/chunks/chunk.GMTRFL2A.js +0 -11
- package/cdn/chunks/chunk.GP3T2NEF.js +0 -29
- package/cdn/chunks/chunk.GTN47IXP.js +0 -297
- package/cdn/chunks/chunk.GTV3SFZH.js +0 -11
- package/cdn/chunks/chunk.GTXKIR57.js +0 -33
- package/cdn/chunks/chunk.GTZX7PG7.js +0 -11
- package/cdn/chunks/chunk.GUA2R5I7.js +0 -402
- package/cdn/chunks/chunk.GWG3KO7N.js +0 -255
- package/cdn/chunks/chunk.GWQBPWIA.js +0 -33
- package/cdn/chunks/chunk.HD7BS73M.js +0 -11
- package/cdn/chunks/chunk.HDIQVJNT.js +0 -11
- package/cdn/chunks/chunk.HEBUFHZQ.js +0 -11
- package/cdn/chunks/chunk.HFCQVBWC.js +0 -11
- package/cdn/chunks/chunk.HRF64CAP.js +0 -391
- package/cdn/chunks/chunk.I3I6CEYW.js +0 -574
- package/cdn/chunks/chunk.I46LCLLP.js +0 -24
- package/cdn/chunks/chunk.IAHYET3T.js +0 -21
- package/cdn/chunks/chunk.IEN6MHOY.js +0 -24
- package/cdn/chunks/chunk.IUTQYA3C.js +0 -25
- package/cdn/chunks/chunk.J4OZIFDM.js +0 -42
- package/cdn/chunks/chunk.J6B3QIGZ.js +0 -24
- package/cdn/chunks/chunk.K5EH3RMN.js +0 -299
- package/cdn/chunks/chunk.K5MA6C63.js +0 -11
- package/cdn/chunks/chunk.K7HRJYUO.js +0 -24
- package/cdn/chunks/chunk.KAD2F52T.js +0 -844
- package/cdn/chunks/chunk.KFWERZX4.js +0 -158
- package/cdn/chunks/chunk.KKHUHZCF.js +0 -11
- package/cdn/chunks/chunk.KLWOOM7L.js +0 -21
- package/cdn/chunks/chunk.KNIMCNTZ.js +0 -218
- package/cdn/chunks/chunk.KX5VDMEI.js +0 -21
- package/cdn/chunks/chunk.KYYCBJMX.js +0 -11
- package/cdn/chunks/chunk.L6YMQL6L.js +0 -21
- package/cdn/chunks/chunk.LARJ342C.js +0 -29
- package/cdn/chunks/chunk.LE4IQW2L.js +0 -197
- package/cdn/chunks/chunk.LSY6YX4H.js +0 -28
- package/cdn/chunks/chunk.MITK4Y4A.js +0 -97
- package/cdn/chunks/chunk.MKFHQIET.js +0 -21
- package/cdn/chunks/chunk.MVUSKR7C.js +0 -11
- package/cdn/chunks/chunk.MWAGFGKT.js +0 -75
- package/cdn/chunks/chunk.N6MFPWKB.js +0 -25
- package/cdn/chunks/chunk.NCDRUVIZ.js +0 -11
- package/cdn/chunks/chunk.NFVRWEEV.js +0 -113
- package/cdn/chunks/chunk.NY36WSQL.js +0 -11
- package/cdn/chunks/chunk.NYP7QB2C.js +0 -27
- package/cdn/chunks/chunk.O4AEKGPG.js +0 -103
- package/cdn/chunks/chunk.O5SH3R2S.js +0 -499
- package/cdn/chunks/chunk.OAEMXTXE.js +0 -346
- package/cdn/chunks/chunk.OEUG7QY3.js +0 -33
- package/cdn/chunks/chunk.OIINJHKG.js +0 -11
- package/cdn/chunks/chunk.OIQCODSK.js +0 -122
- package/cdn/chunks/chunk.OJPTRK7F.js +0 -11
- package/cdn/chunks/chunk.OJX7VSUJ.js +0 -79
- package/cdn/chunks/chunk.ONTMT5LW.js +0 -11
- package/cdn/chunks/chunk.OX7ATLHD.js +0 -11
- package/cdn/chunks/chunk.P23SGZLF.js +0 -127
- package/cdn/chunks/chunk.P23UHFGK.js +0 -11
- package/cdn/chunks/chunk.PDCLSMMS.js +0 -26
- package/cdn/chunks/chunk.PFOQ6JAV.js +0 -378
- package/cdn/chunks/chunk.PPHSH4CX.js +0 -21
- package/cdn/chunks/chunk.PVWDCFHB.js +0 -25
- package/cdn/chunks/chunk.PZ5C5PLV.js +0 -11
- package/cdn/chunks/chunk.Q66ZEK7K.js +0 -28
- package/cdn/chunks/chunk.QLLO4QPD.js +0 -11
- package/cdn/chunks/chunk.QONVXYG5.js +0 -21
- package/cdn/chunks/chunk.QQLNEH7Q.js +0 -25
- package/cdn/chunks/chunk.QVFSL6NQ.js +0 -11
- package/cdn/chunks/chunk.QW4QMDCV.js +0 -21
- package/cdn/chunks/chunk.QY7D75ZP.js +0 -969
- package/cdn/chunks/chunk.R2NMH67H.js +0 -11
- package/cdn/chunks/chunk.RIGA6ZDJ.js +0 -114
- package/cdn/chunks/chunk.RLJ5SPTY.js +0 -21
- package/cdn/chunks/chunk.SIDBRE7F.js +0 -367
- package/cdn/chunks/chunk.SKSHB4FA.js +0 -21
- package/cdn/chunks/chunk.SO6THTVQ.js +0 -11
- package/cdn/chunks/chunk.SY3MSP6Z.js +0 -21
- package/cdn/chunks/chunk.SYCSG742.js +0 -52
- package/cdn/chunks/chunk.T57ACNT3.js +0 -11
- package/cdn/chunks/chunk.TFG2J4TS.js +0 -186
- package/cdn/chunks/chunk.TFGNAFBD.js +0 -11
- package/cdn/chunks/chunk.TMUYFMT3.js +0 -216
- package/cdn/chunks/chunk.TOK4VYF6.js +0 -1925
- package/cdn/chunks/chunk.TVZ5WEQP.js +0 -279
- package/cdn/chunks/chunk.UGWSTXXI.js +0 -11
- package/cdn/chunks/chunk.UMQORM2W.js +0 -11
- package/cdn/chunks/chunk.UPU52UDS.js +0 -21
- package/cdn/chunks/chunk.UTEBD5S7.js +0 -27
- package/cdn/chunks/chunk.V7KENM7T.js +0 -233
- package/cdn/chunks/chunk.VFGWPTCN.js +0 -11
- package/cdn/chunks/chunk.VQE2DRLS.js +0 -135
- package/cdn/chunks/chunk.VU37Z6RL.js +0 -11
- package/cdn/chunks/chunk.W3YZCA4C.js +0 -11
- package/cdn/chunks/chunk.W6US6GNQ.js +0 -24
- package/cdn/chunks/chunk.WAGONEYI.js +0 -302
- package/cdn/chunks/chunk.WCRO256V.js +0 -26
- package/cdn/chunks/chunk.WF6PWDU3.js +0 -93
- package/cdn/chunks/chunk.WKH2ZOZU.js +0 -25
- package/cdn/chunks/chunk.WNADPE2V.js +0 -21
- package/cdn/chunks/chunk.XCRIXBIS.js +0 -21
- package/cdn/chunks/chunk.XGANYK22.js +0 -120
- package/cdn/chunks/chunk.XQNKEAPY.js +0 -11
- package/cdn/chunks/chunk.XQRBW55Q.js +0 -174
- package/cdn/chunks/chunk.Y3VDNFYF.js +0 -821
- package/cdn/chunks/chunk.YCRBTYTG.js +0 -11
- package/cdn/chunks/chunk.YDURJ65O.js +0 -11
- package/cdn/chunks/chunk.YJOB5B4Q.js +0 -11
- package/cdn/chunks/chunk.YOKPFMB5.js +0 -27
- package/cdn/chunks/chunk.YP3D6CJV.js +0 -73
- package/cdn/chunks/chunk.YQBZBVE3.js +0 -26
- package/cdn/chunks/chunk.YTJW2VG2.js +0 -11
- package/cdn/chunks/chunk.ZFOK3JXZ.js +0 -87
- package/cdn/chunks/chunk.ZFORX3IG.js +0 -21
- package/cdn/chunks/chunk.ZHCMYQ2U.js +0 -21
- package/cdn/chunks/chunk.ZJ7CDAFI.js +0 -120
- package/cdn/chunks/chunk.ZLIKKNJM.js +0 -455
- package/cdn/chunks/chunk.ZNEUG3IK.js +0 -904
- package/cdn/chunks/chunk.ZUPXBXTX.js +0 -11
- package/cdn/chunks/chunk.ZZ7YCEI3.js +0 -11
- package/dist/chunks/chunk.23N4SAMY.js +0 -34
- package/dist/chunks/chunk.2CXXSXIX.js +0 -11
- package/dist/chunks/chunk.2H4HZOD6.js +0 -15
- package/dist/chunks/chunk.2I6PDZ3R.js +0 -11
- package/dist/chunks/chunk.3KEYLNAR.js +0 -11
- package/dist/chunks/chunk.3KXOVRKI.js +0 -80
- package/dist/chunks/chunk.3TYZILKJ.js +0 -315
- package/dist/chunks/chunk.3WFPBVZF.js +0 -25
- package/dist/chunks/chunk.3YY7BARO.js +0 -11
- package/dist/chunks/chunk.4EIVALKT.js +0 -11
- package/dist/chunks/chunk.4IRXF2F4.js +0 -11
- package/dist/chunks/chunk.4RXZVGY3.js +0 -29
- package/dist/chunks/chunk.5BQHFM4W.js +0 -25
- package/dist/chunks/chunk.5CZ7WNV6.js +0 -11
- package/dist/chunks/chunk.5D64KNSO.js +0 -11
- package/dist/chunks/chunk.5HWZYFVQ.js +0 -448
- package/dist/chunks/chunk.5OAIQ7IB.js +0 -29
- package/dist/chunks/chunk.5PHJIWJY.js +0 -21
- package/dist/chunks/chunk.5U4NNYDR.js +0 -11
- package/dist/chunks/chunk.6CA3JTSS.js +0 -290
- package/dist/chunks/chunk.6DDZRALL.js +0 -11
- package/dist/chunks/chunk.6Y7LWTWC.js +0 -22
- package/dist/chunks/chunk.6YJKCUTH.js +0 -24
- package/dist/chunks/chunk.6ZQ3L2JR.js +0 -837
- package/dist/chunks/chunk.7IPNC6N4.js +0 -192
- package/dist/chunks/chunk.7OBNRVTG.js +0 -151
- package/dist/chunks/chunk.7RMULBN7.js +0 -59
- package/dist/chunks/chunk.7YFX6UD5.js +0 -24
- package/dist/chunks/chunk.ACFMG3B2.js +0 -21
- package/dist/chunks/chunk.AID3TGOX.js +0 -21
- package/dist/chunks/chunk.ARDUAB5Q.js +0 -11
- package/dist/chunks/chunk.AUYLSGQO.js +0 -33
- package/dist/chunks/chunk.BN7R6GBX.js +0 -67
- package/dist/chunks/chunk.BNUVSZQZ.js +0 -21
- package/dist/chunks/chunk.BOPYTRGY.js +0 -42
- package/dist/chunks/chunk.BTOJUKXC.js +0 -259
- package/dist/chunks/chunk.BTWNDTCP.js +0 -11
- package/dist/chunks/chunk.C5J4BILB.js +0 -11
- package/dist/chunks/chunk.CCL6GA7T.js +0 -27
- package/dist/chunks/chunk.CEIJBG6Z.js +0 -293
- package/dist/chunks/chunk.CFMVEJY2.js +0 -24
- package/dist/chunks/chunk.CGLGYZBQ.js +0 -21
- package/dist/chunks/chunk.COJHSVW5.js +0 -11
- package/dist/chunks/chunk.CQCVZ3YH.js +0 -11
- package/dist/chunks/chunk.CTWSV766.js +0 -33
- package/dist/chunks/chunk.CVT53LCI.js +0 -63
- package/dist/chunks/chunk.CW6OZ54I.js +0 -813
- package/dist/chunks/chunk.CXJRAFME.js +0 -11
- package/dist/chunks/chunk.CXZ42BCB.js +0 -311
- package/dist/chunks/chunk.D3WZPEZ7.js +0 -24
- package/dist/chunks/chunk.D6RZFAZT.js +0 -28
- package/dist/chunks/chunk.D74ACVEA.js +0 -11
- package/dist/chunks/chunk.DLJ4D6XI.js +0 -45
- package/dist/chunks/chunk.DPDIUYSC.js +0 -417
- package/dist/chunks/chunk.E4LENKUP.js +0 -126
- package/dist/chunks/chunk.E6ZE6XZA.js +0 -361
- package/dist/chunks/chunk.EFPXZPLF.js +0 -25
- package/dist/chunks/chunk.EONAQ3TD.js +0 -75
- package/dist/chunks/chunk.EOOAC2OP.js +0 -24
- package/dist/chunks/chunk.EQY4YMS4.js +0 -491
- package/dist/chunks/chunk.EUI4TRBJ.js +0 -196
- package/dist/chunks/chunk.EXT4JQLR.js +0 -42
- package/dist/chunks/chunk.F5EDU6OE.js +0 -21
- package/dist/chunks/chunk.F6KTOKBY.js +0 -26
- package/dist/chunks/chunk.FBLDFC7P.js +0 -21
- package/dist/chunks/chunk.FE3JZ2VR.js +0 -25
- package/dist/chunks/chunk.FEYZXJOB.js +0 -11
- package/dist/chunks/chunk.FHXXOO7G.js +0 -147
- package/dist/chunks/chunk.FV55SEKJ.js +0 -11
- package/dist/chunks/chunk.FZGFBVSM.js +0 -21
- package/dist/chunks/chunk.G6CMRQ7K.js +0 -11
- package/dist/chunks/chunk.GAYWTLIM.js +0 -353
- package/dist/chunks/chunk.GIAIEH4Y.js +0 -11
- package/dist/chunks/chunk.GMR3NLB6.js +0 -11
- package/dist/chunks/chunk.GRVR5DL2.js +0 -11
- package/dist/chunks/chunk.GSHFSL62.js +0 -45
- package/dist/chunks/chunk.GU5XYVWV.js +0 -397
- package/dist/chunks/chunk.GWI6XHIR.js +0 -21
- package/dist/chunks/chunk.H47NIUSR.js +0 -11
- package/dist/chunks/chunk.HCDRZ3LC.js +0 -11
- package/dist/chunks/chunk.HLR4DDQR.js +0 -24
- package/dist/chunks/chunk.HMFUBDZD.js +0 -337
- package/dist/chunks/chunk.HWZ7TZXA.js +0 -29
- package/dist/chunks/chunk.HXHTA5SF.js +0 -11
- package/dist/chunks/chunk.HXKJACW5.js +0 -21
- package/dist/chunks/chunk.I2KRLKCK.js +0 -28
- package/dist/chunks/chunk.I6AAGNGJ.js +0 -11
- package/dist/chunks/chunk.IGYJFBTO.js +0 -24
- package/dist/chunks/chunk.IK6DMWZC.js +0 -100
- package/dist/chunks/chunk.IQVJDH3V.js +0 -11
- package/dist/chunks/chunk.IR5BKOLA.js +0 -93
- package/dist/chunks/chunk.IRCP3L77.js +0 -24
- package/dist/chunks/chunk.ISKWVDD7.js +0 -25
- package/dist/chunks/chunk.IWKWPOO6.js +0 -286
- package/dist/chunks/chunk.J2MX4VMS.js +0 -294
- package/dist/chunks/chunk.JAJ4RV4L.js +0 -11
- package/dist/chunks/chunk.JBFXIBJH.js +0 -24
- package/dist/chunks/chunk.JBGFES6N.js +0 -11
- package/dist/chunks/chunk.JJEVDLD4.js +0 -280
- package/dist/chunks/chunk.JNM54WIG.js +0 -33
- package/dist/chunks/chunk.JZSXGRVZ.js +0 -90
- package/dist/chunks/chunk.K5G5LLRV.js +0 -11
- package/dist/chunks/chunk.KBXOSUEA.js +0 -11
- package/dist/chunks/chunk.KHZCJT6C.js +0 -11
- package/dist/chunks/chunk.KT4N3HLN.js +0 -181
- package/dist/chunks/chunk.KWAIF557.js +0 -170
- package/dist/chunks/chunk.L75F42ZU.js +0 -21
- package/dist/chunks/chunk.LDZNPU2T.js +0 -75
- package/dist/chunks/chunk.LEIQTV2L.js +0 -82
- package/dist/chunks/chunk.MD5MSAMT.js +0 -117
- package/dist/chunks/chunk.MIYXXMLB.js +0 -25
- package/dist/chunks/chunk.MPJHNR5Z.js +0 -11
- package/dist/chunks/chunk.MXXHCU7O.js +0 -11
- package/dist/chunks/chunk.MZM4L5SM.js +0 -11
- package/dist/chunks/chunk.N5H4L3UV.js +0 -21
- package/dist/chunks/chunk.NC6YOWH4.js +0 -27
- package/dist/chunks/chunk.NCJAEK4J.js +0 -11
- package/dist/chunks/chunk.NL6IHKV2.js +0 -21
- package/dist/chunks/chunk.NMP6U3G2.js +0 -22
- package/dist/chunks/chunk.NPTBUNDK.js +0 -11
- package/dist/chunks/chunk.NVOFMWPG.js +0 -73
- package/dist/chunks/chunk.O4L44QUN.js +0 -24
- package/dist/chunks/chunk.O6HFIWAA.js +0 -21
- package/dist/chunks/chunk.O7TV75SE.js +0 -213
- package/dist/chunks/chunk.OHV2SI2S.js +0 -11
- package/dist/chunks/chunk.OP4OBQAA.js +0 -25
- package/dist/chunks/chunk.P2RQFEMU.js +0 -11
- package/dist/chunks/chunk.P7T7FOE5.js +0 -961
- package/dist/chunks/chunk.PA4JVCSN.js +0 -11
- package/dist/chunks/chunk.PAOBXVAT.js +0 -11
- package/dist/chunks/chunk.PCCJSGYV.js +0 -11
- package/dist/chunks/chunk.PDNMI4RF.js +0 -274
- package/dist/chunks/chunk.PMFK4GLD.js +0 -11
- package/dist/chunks/chunk.PT77KAII.js +0 -25
- package/dist/chunks/chunk.PV2Y6T4G.js +0 -21
- package/dist/chunks/chunk.Q6VIDFKN.js +0 -33
- package/dist/chunks/chunk.QMTDXZSJ.js +0 -116
- package/dist/chunks/chunk.QTC7GAFZ.js +0 -11
- package/dist/chunks/chunk.R5U4J5ZX.js +0 -11
- package/dist/chunks/chunk.RCHVO5BU.js +0 -11
- package/dist/chunks/chunk.RGBGPSJY.js +0 -49
- package/dist/chunks/chunk.RKKW4FV2.js +0 -384
- package/dist/chunks/chunk.RLAVZQMK.js +0 -370
- package/dist/chunks/chunk.S4TJW5AL.js +0 -21
- package/dist/chunks/chunk.SB7LKQKZ.js +0 -11
- package/dist/chunks/chunk.SILJFXYQ.js +0 -21
- package/dist/chunks/chunk.SJPL5DWG.js +0 -11
- package/dist/chunks/chunk.SJVLRJH4.js +0 -119
- package/dist/chunks/chunk.SXJFWD67.js +0 -21
- package/dist/chunks/chunk.SYRYMRUL.js +0 -231
- package/dist/chunks/chunk.T2VTUW4B.js +0 -227
- package/dist/chunks/chunk.T3GN4DLR.js +0 -50
- package/dist/chunks/chunk.T5JB6BN4.js +0 -26
- package/dist/chunks/chunk.T62FZLC2.js +0 -11
- package/dist/chunks/chunk.TBGGCI6E.js +0 -11
- package/dist/chunks/chunk.TECRUSQH.js +0 -27
- package/dist/chunks/chunk.TQCMER4O.js +0 -21
- package/dist/chunks/chunk.TUH2GJI5.js +0 -21
- package/dist/chunks/chunk.TUPFUUKJ.js +0 -25
- package/dist/chunks/chunk.U4A26HHQ.js +0 -11
- package/dist/chunks/chunk.U62LDBVA.js +0 -111
- package/dist/chunks/chunk.U67V6OSH.js +0 -896
- package/dist/chunks/chunk.U7R5JOFG.js +0 -94
- package/dist/chunks/chunk.UCI2WE4M.js +0 -11
- package/dist/chunks/chunk.UZRLTOEQ.js +0 -247
- package/dist/chunks/chunk.V3THGZWL.js +0 -28
- package/dist/chunks/chunk.VAAGB7RU.js +0 -11
- package/dist/chunks/chunk.VDPMDJGA.js +0 -24
- package/dist/chunks/chunk.VKGTIHMS.js +0 -21
- package/dist/chunks/chunk.VYOVK7BA.js +0 -949
- package/dist/chunks/chunk.WDLDVZW3.js +0 -11
- package/dist/chunks/chunk.WMHX7OZQ.js +0 -26
- package/dist/chunks/chunk.WOYQ5I6F.js +0 -11
- package/dist/chunks/chunk.WSFBE4H4.js +0 -26
- package/dist/chunks/chunk.XCRXZRGV.js +0 -134
- package/dist/chunks/chunk.XFFPNCES.js +0 -115
- package/dist/chunks/chunk.XMY3HVZA.js +0 -11
- package/dist/chunks/chunk.XP4FEI4M.js +0 -11
- package/dist/chunks/chunk.XQF762VL.js +0 -135
- package/dist/chunks/chunk.XQXAJ5FU.js +0 -11
- package/dist/chunks/chunk.XTBOWYQC.js +0 -11
- package/dist/chunks/chunk.XTDWTS2T.js +0 -85
- package/dist/chunks/chunk.XUIFIKTL.js +0 -100
- package/dist/chunks/chunk.XY4WIQPN.js +0 -550
- package/dist/chunks/chunk.XZVQSRZC.js +0 -109
- package/dist/chunks/chunk.YE63MSG4.js +0 -29
- package/dist/chunks/chunk.YFONFUQA.js +0 -21
- package/dist/chunks/chunk.YGOPRZT5.js +0 -28
- package/dist/chunks/chunk.YGVM7SPC.js +0 -11
- package/dist/chunks/chunk.YMKC5AO5.js +0 -11
- package/dist/chunks/chunk.Z5KSQILQ.js +0 -28
- package/dist/chunks/chunk.ZBA5Z7YW.js +0 -11
- package/dist/chunks/chunk.ZMAWTMUV.js +0 -11
- package/dist/chunks/chunk.ZMMF6C2X.js +0 -25
- package/dist/chunks/chunk.ZNTCWYKB.js +0 -24
- package/dist/chunks/chunk.ZYTFF3TR.js +0 -27
- package/dist/chunks/chunk.ZZQ6JNAT.js +0 -91
|
@@ -0,0 +1,813 @@
|
|
|
1
|
+
import {
|
|
2
|
+
select_styles_default
|
|
3
|
+
} from "./chunk.KK7GGNWV.js";
|
|
4
|
+
import {
|
|
5
|
+
CwTag
|
|
6
|
+
} from "./chunk.H7JBYTAA.js";
|
|
7
|
+
import {
|
|
8
|
+
scrollIntoView
|
|
9
|
+
} from "./chunk.PH2N3MLE.js";
|
|
10
|
+
import {
|
|
11
|
+
CwPopup
|
|
12
|
+
} from "./chunk.USKQZ7GU.js";
|
|
13
|
+
import {
|
|
14
|
+
form_control_styles_default
|
|
15
|
+
} from "./chunk.YBI2MSEM.js";
|
|
16
|
+
import {
|
|
17
|
+
FormControlController
|
|
18
|
+
} from "./chunk.PH2VNONO.js";
|
|
19
|
+
import {
|
|
20
|
+
getAnimation,
|
|
21
|
+
setDefaultAnimation
|
|
22
|
+
} from "./chunk.SPWJX47D.js";
|
|
23
|
+
import {
|
|
24
|
+
waitForEvent
|
|
25
|
+
} from "./chunk.B4BZKR24.js";
|
|
26
|
+
import {
|
|
27
|
+
animateTo,
|
|
28
|
+
stopAnimations
|
|
29
|
+
} from "./chunk.TJQYJP53.js";
|
|
30
|
+
import {
|
|
31
|
+
LocalizeController
|
|
32
|
+
} from "./chunk.DVGAJ3DA.js";
|
|
33
|
+
import {
|
|
34
|
+
HasSlotController
|
|
35
|
+
} from "./chunk.BVGZUUCX.js";
|
|
36
|
+
import {
|
|
37
|
+
CwIcon
|
|
38
|
+
} from "./chunk.3AFGTKZX.js";
|
|
39
|
+
import {
|
|
40
|
+
watch
|
|
41
|
+
} from "./chunk.GQZ7EGMM.js";
|
|
42
|
+
import {
|
|
43
|
+
component_styles_default
|
|
44
|
+
} from "./chunk.TUVJKY7S.js";
|
|
45
|
+
import {
|
|
46
|
+
CwElement
|
|
47
|
+
} from "./chunk.NB4MG53P.js";
|
|
48
|
+
import {
|
|
49
|
+
__decorateClass
|
|
50
|
+
} from "./chunk.Q44EX5TP.js";
|
|
51
|
+
|
|
52
|
+
// src/components/select/select.component.ts
|
|
53
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
54
|
+
import { html } from "lit";
|
|
55
|
+
import { property, query, state } from "lit/decorators.js";
|
|
56
|
+
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
57
|
+
var CwSelect = class extends CwElement {
|
|
58
|
+
constructor() {
|
|
59
|
+
super(...arguments);
|
|
60
|
+
this.formControlController = new FormControlController(this, {
|
|
61
|
+
assumeInteractionOn: ["cw-blur", "cw-input"]
|
|
62
|
+
});
|
|
63
|
+
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
64
|
+
this.localize = new LocalizeController(this);
|
|
65
|
+
this.typeToSelectString = "";
|
|
66
|
+
this.hasFocus = false;
|
|
67
|
+
this.displayLabel = "";
|
|
68
|
+
this.selectedOptions = [];
|
|
69
|
+
this.valueHasChanged = false;
|
|
70
|
+
this.name = "";
|
|
71
|
+
this._value = "";
|
|
72
|
+
this.defaultValue = "";
|
|
73
|
+
this.size = "medium";
|
|
74
|
+
this.placeholder = "";
|
|
75
|
+
this.multiple = false;
|
|
76
|
+
this.maxOptionsVisible = 3;
|
|
77
|
+
this.disabled = false;
|
|
78
|
+
this.clearable = false;
|
|
79
|
+
this.open = false;
|
|
80
|
+
this.hoist = false;
|
|
81
|
+
this.filled = false;
|
|
82
|
+
this.pill = false;
|
|
83
|
+
this.label = "";
|
|
84
|
+
this.placement = "bottom";
|
|
85
|
+
this.helpText = "";
|
|
86
|
+
this.form = "";
|
|
87
|
+
this.required = false;
|
|
88
|
+
this.getTag = (option) => {
|
|
89
|
+
return html`
|
|
90
|
+
<cw-tag
|
|
91
|
+
part="tag"
|
|
92
|
+
exportparts="
|
|
93
|
+
base:tag__base,
|
|
94
|
+
content:tag__content,
|
|
95
|
+
remove-button:tag__remove-button,
|
|
96
|
+
remove-button__base:tag__remove-button__base
|
|
97
|
+
"
|
|
98
|
+
?pill=${this.pill}
|
|
99
|
+
size=${this.size}
|
|
100
|
+
removable
|
|
101
|
+
@cw-remove=${(event) => this.handleTagRemove(event, option)}
|
|
102
|
+
>
|
|
103
|
+
${option.getTextLabel()}
|
|
104
|
+
</cw-tag>
|
|
105
|
+
`;
|
|
106
|
+
};
|
|
107
|
+
this.handleDocumentFocusIn = (event) => {
|
|
108
|
+
const path = event.composedPath();
|
|
109
|
+
if (this && !path.includes(this)) {
|
|
110
|
+
this.hide();
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
this.handleDocumentKeyDown = (event) => {
|
|
114
|
+
const target = event.target;
|
|
115
|
+
const isClearButton = target.closest(".select__clear") !== null;
|
|
116
|
+
const isIconButton = target.closest("cw-icon-button") !== null;
|
|
117
|
+
if (isClearButton || isIconButton) {
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
if (event.key === "Escape" && this.open && !this.closeWatcher) {
|
|
121
|
+
event.preventDefault();
|
|
122
|
+
event.stopPropagation();
|
|
123
|
+
this.hide();
|
|
124
|
+
this.displayInput.focus({ preventScroll: true });
|
|
125
|
+
}
|
|
126
|
+
if (event.key === "Enter" || event.key === " " && this.typeToSelectString === "") {
|
|
127
|
+
event.preventDefault();
|
|
128
|
+
event.stopImmediatePropagation();
|
|
129
|
+
if (!this.open) {
|
|
130
|
+
this.show();
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
if (this.currentOption && !this.currentOption.disabled) {
|
|
134
|
+
this.valueHasChanged = true;
|
|
135
|
+
if (this.multiple) {
|
|
136
|
+
this.toggleOptionSelection(this.currentOption);
|
|
137
|
+
} else {
|
|
138
|
+
this.setSelectedOptions(this.currentOption);
|
|
139
|
+
}
|
|
140
|
+
this.updateComplete.then(() => {
|
|
141
|
+
this.emit("cw-input");
|
|
142
|
+
this.emit("cw-change");
|
|
143
|
+
});
|
|
144
|
+
if (!this.multiple) {
|
|
145
|
+
this.hide();
|
|
146
|
+
this.displayInput.focus({ preventScroll: true });
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
return;
|
|
150
|
+
}
|
|
151
|
+
if (["ArrowUp", "ArrowDown", "Home", "End"].includes(event.key)) {
|
|
152
|
+
const allOptions = this.getAllOptions();
|
|
153
|
+
const currentIndex = allOptions.indexOf(this.currentOption);
|
|
154
|
+
let newIndex = Math.max(0, currentIndex);
|
|
155
|
+
event.preventDefault();
|
|
156
|
+
if (!this.open) {
|
|
157
|
+
this.show();
|
|
158
|
+
if (this.currentOption) {
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
if (event.key === "ArrowDown") {
|
|
163
|
+
newIndex = currentIndex + 1;
|
|
164
|
+
if (newIndex > allOptions.length - 1) newIndex = 0;
|
|
165
|
+
} else if (event.key === "ArrowUp") {
|
|
166
|
+
newIndex = currentIndex - 1;
|
|
167
|
+
if (newIndex < 0) newIndex = allOptions.length - 1;
|
|
168
|
+
} else if (event.key === "Home") {
|
|
169
|
+
newIndex = 0;
|
|
170
|
+
} else if (event.key === "End") {
|
|
171
|
+
newIndex = allOptions.length - 1;
|
|
172
|
+
}
|
|
173
|
+
this.setCurrentOption(allOptions[newIndex]);
|
|
174
|
+
}
|
|
175
|
+
if (event.key && event.key.length === 1 || event.key === "Backspace") {
|
|
176
|
+
const allOptions = this.getAllOptions();
|
|
177
|
+
if (event.metaKey || event.ctrlKey || event.altKey) {
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
180
|
+
if (!this.open) {
|
|
181
|
+
if (event.key === "Backspace") {
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
this.show();
|
|
185
|
+
}
|
|
186
|
+
event.stopPropagation();
|
|
187
|
+
event.preventDefault();
|
|
188
|
+
clearTimeout(this.typeToSelectTimeout);
|
|
189
|
+
this.typeToSelectTimeout = window.setTimeout(() => this.typeToSelectString = "", 1e3);
|
|
190
|
+
if (event.key === "Backspace") {
|
|
191
|
+
this.typeToSelectString = this.typeToSelectString.slice(0, -1);
|
|
192
|
+
} else {
|
|
193
|
+
this.typeToSelectString += event.key.toLowerCase();
|
|
194
|
+
}
|
|
195
|
+
for (const option of allOptions) {
|
|
196
|
+
const label = option.getTextLabel().toLowerCase();
|
|
197
|
+
if (label.startsWith(this.typeToSelectString)) {
|
|
198
|
+
this.setCurrentOption(option);
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
this.handleDocumentMouseDown = (event) => {
|
|
205
|
+
const path = event.composedPath();
|
|
206
|
+
if (this && !path.includes(this)) {
|
|
207
|
+
this.hide();
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
get value() {
|
|
212
|
+
return this._value;
|
|
213
|
+
}
|
|
214
|
+
set value(val) {
|
|
215
|
+
if (this.multiple) {
|
|
216
|
+
val = Array.isArray(val) ? val : val.split(" ");
|
|
217
|
+
} else {
|
|
218
|
+
val = Array.isArray(val) ? val.join(" ") : val;
|
|
219
|
+
}
|
|
220
|
+
if (this._value === val) {
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
223
|
+
this.valueHasChanged = true;
|
|
224
|
+
this._value = val;
|
|
225
|
+
}
|
|
226
|
+
/** Gets the validity state object */
|
|
227
|
+
get validity() {
|
|
228
|
+
return this.valueInput.validity;
|
|
229
|
+
}
|
|
230
|
+
/** Gets the validation message */
|
|
231
|
+
get validationMessage() {
|
|
232
|
+
return this.valueInput.validationMessage;
|
|
233
|
+
}
|
|
234
|
+
connectedCallback() {
|
|
235
|
+
super.connectedCallback();
|
|
236
|
+
setTimeout(() => {
|
|
237
|
+
this.handleDefaultSlotChange();
|
|
238
|
+
});
|
|
239
|
+
this.open = false;
|
|
240
|
+
}
|
|
241
|
+
addOpenListeners() {
|
|
242
|
+
var _a;
|
|
243
|
+
document.addEventListener("focusin", this.handleDocumentFocusIn);
|
|
244
|
+
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
245
|
+
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
246
|
+
if (this.getRootNode() !== document) {
|
|
247
|
+
this.getRootNode().addEventListener("focusin", this.handleDocumentFocusIn);
|
|
248
|
+
}
|
|
249
|
+
if ("CloseWatcher" in window) {
|
|
250
|
+
(_a = this.closeWatcher) == null ? void 0 : _a.destroy();
|
|
251
|
+
this.closeWatcher = new CloseWatcher();
|
|
252
|
+
this.closeWatcher.onclose = () => {
|
|
253
|
+
if (this.open) {
|
|
254
|
+
this.hide();
|
|
255
|
+
this.displayInput.focus({ preventScroll: true });
|
|
256
|
+
}
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
removeOpenListeners() {
|
|
261
|
+
var _a;
|
|
262
|
+
document.removeEventListener("focusin", this.handleDocumentFocusIn);
|
|
263
|
+
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
264
|
+
document.removeEventListener("mousedown", this.handleDocumentMouseDown);
|
|
265
|
+
if (this.getRootNode() !== document) {
|
|
266
|
+
this.getRootNode().removeEventListener("focusin", this.handleDocumentFocusIn);
|
|
267
|
+
}
|
|
268
|
+
(_a = this.closeWatcher) == null ? void 0 : _a.destroy();
|
|
269
|
+
}
|
|
270
|
+
handleFocus() {
|
|
271
|
+
this.hasFocus = true;
|
|
272
|
+
this.displayInput.setSelectionRange(0, 0);
|
|
273
|
+
this.emit("cw-focus");
|
|
274
|
+
}
|
|
275
|
+
handleBlur() {
|
|
276
|
+
this.hasFocus = false;
|
|
277
|
+
this.emit("cw-blur");
|
|
278
|
+
}
|
|
279
|
+
handleLabelClick() {
|
|
280
|
+
this.displayInput.focus();
|
|
281
|
+
}
|
|
282
|
+
handleComboboxMouseDown(event) {
|
|
283
|
+
const path = event.composedPath();
|
|
284
|
+
const isIconButton = path.some((el) => el instanceof Element && el.tagName.toLowerCase() === "cw-icon-button");
|
|
285
|
+
if (this.disabled || isIconButton) {
|
|
286
|
+
return;
|
|
287
|
+
}
|
|
288
|
+
event.preventDefault();
|
|
289
|
+
this.displayInput.focus({ preventScroll: true });
|
|
290
|
+
this.open = !this.open;
|
|
291
|
+
}
|
|
292
|
+
handleComboboxKeyDown(event) {
|
|
293
|
+
if (event.key === "Tab") {
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
event.stopPropagation();
|
|
297
|
+
this.handleDocumentKeyDown(event);
|
|
298
|
+
}
|
|
299
|
+
handleClearClick(event) {
|
|
300
|
+
event.stopPropagation();
|
|
301
|
+
this.valueHasChanged = true;
|
|
302
|
+
if (this.value !== "") {
|
|
303
|
+
this.setSelectedOptions([]);
|
|
304
|
+
this.displayInput.focus({ preventScroll: true });
|
|
305
|
+
this.updateComplete.then(() => {
|
|
306
|
+
this.emit("cw-clear");
|
|
307
|
+
this.emit("cw-input");
|
|
308
|
+
this.emit("cw-change");
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
handleClearMouseDown(event) {
|
|
313
|
+
event.stopPropagation();
|
|
314
|
+
event.preventDefault();
|
|
315
|
+
}
|
|
316
|
+
handleOptionClick(event) {
|
|
317
|
+
const target = event.target;
|
|
318
|
+
const option = target.closest("cw-option");
|
|
319
|
+
const oldValue = this.value;
|
|
320
|
+
if (option && !option.disabled) {
|
|
321
|
+
this.valueHasChanged = true;
|
|
322
|
+
if (this.multiple) {
|
|
323
|
+
this.toggleOptionSelection(option);
|
|
324
|
+
} else {
|
|
325
|
+
this.setSelectedOptions(option);
|
|
326
|
+
}
|
|
327
|
+
this.updateComplete.then(() => this.displayInput.focus({ preventScroll: true }));
|
|
328
|
+
if (this.value !== oldValue) {
|
|
329
|
+
this.updateComplete.then(() => {
|
|
330
|
+
this.emit("cw-input");
|
|
331
|
+
this.emit("cw-change");
|
|
332
|
+
});
|
|
333
|
+
}
|
|
334
|
+
if (!this.multiple) {
|
|
335
|
+
this.hide();
|
|
336
|
+
this.displayInput.focus({ preventScroll: true });
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
/* @internal - used by options to update labels */
|
|
341
|
+
handleDefaultSlotChange() {
|
|
342
|
+
if (!customElements.get("cw-option")) {
|
|
343
|
+
customElements.whenDefined("cw-option").then(() => this.handleDefaultSlotChange());
|
|
344
|
+
}
|
|
345
|
+
const allOptions = this.getAllOptions();
|
|
346
|
+
const val = this.valueHasChanged ? this.value : this.defaultValue;
|
|
347
|
+
const value = Array.isArray(val) ? val : [val];
|
|
348
|
+
const values = [];
|
|
349
|
+
allOptions.forEach((option) => values.push(option.value));
|
|
350
|
+
this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
|
|
351
|
+
}
|
|
352
|
+
handleTagRemove(event, option) {
|
|
353
|
+
event.stopPropagation();
|
|
354
|
+
this.valueHasChanged = true;
|
|
355
|
+
if (!this.disabled) {
|
|
356
|
+
this.toggleOptionSelection(option, false);
|
|
357
|
+
this.updateComplete.then(() => {
|
|
358
|
+
this.emit("cw-input");
|
|
359
|
+
this.emit("cw-change");
|
|
360
|
+
});
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
// Gets an array of all <cw-option> elements
|
|
364
|
+
getAllOptions() {
|
|
365
|
+
return [...this.querySelectorAll("cw-option")];
|
|
366
|
+
}
|
|
367
|
+
// Gets the first <cw-option> element
|
|
368
|
+
getFirstOption() {
|
|
369
|
+
return this.querySelector("cw-option");
|
|
370
|
+
}
|
|
371
|
+
// Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one
|
|
372
|
+
// option may be "current" at a time.
|
|
373
|
+
setCurrentOption(option) {
|
|
374
|
+
const allOptions = this.getAllOptions();
|
|
375
|
+
allOptions.forEach((el) => {
|
|
376
|
+
el.current = false;
|
|
377
|
+
el.tabIndex = -1;
|
|
378
|
+
});
|
|
379
|
+
if (option) {
|
|
380
|
+
this.currentOption = option;
|
|
381
|
+
option.current = true;
|
|
382
|
+
option.tabIndex = 0;
|
|
383
|
+
option.focus();
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
// Sets the selected option(s)
|
|
387
|
+
setSelectedOptions(option) {
|
|
388
|
+
const allOptions = this.getAllOptions();
|
|
389
|
+
const newSelectedOptions = Array.isArray(option) ? option : [option];
|
|
390
|
+
allOptions.forEach((el) => el.selected = false);
|
|
391
|
+
if (newSelectedOptions.length) {
|
|
392
|
+
newSelectedOptions.forEach((el) => el.selected = true);
|
|
393
|
+
}
|
|
394
|
+
this.selectionChanged();
|
|
395
|
+
}
|
|
396
|
+
// Toggles an option's selected state
|
|
397
|
+
toggleOptionSelection(option, force) {
|
|
398
|
+
if (force === true || force === false) {
|
|
399
|
+
option.selected = force;
|
|
400
|
+
} else {
|
|
401
|
+
option.selected = !option.selected;
|
|
402
|
+
}
|
|
403
|
+
this.selectionChanged();
|
|
404
|
+
}
|
|
405
|
+
// This method must be called whenever the selection changes. It will update the selected options cache, the current
|
|
406
|
+
// value, and the display value
|
|
407
|
+
selectionChanged() {
|
|
408
|
+
var _a, _b, _c;
|
|
409
|
+
const options = this.getAllOptions();
|
|
410
|
+
this.selectedOptions = options.filter((el) => el.selected);
|
|
411
|
+
const cachedValueHasChanged = this.valueHasChanged;
|
|
412
|
+
if (this.multiple) {
|
|
413
|
+
this.value = this.selectedOptions.map((el) => el.value);
|
|
414
|
+
if (this.placeholder && this.value.length === 0) {
|
|
415
|
+
this.displayLabel = "";
|
|
416
|
+
} else {
|
|
417
|
+
this.displayLabel = this.localize.term("numOptionsSelected", this.selectedOptions.length);
|
|
418
|
+
}
|
|
419
|
+
} else {
|
|
420
|
+
const selectedOption = this.selectedOptions[0];
|
|
421
|
+
this.value = (_a = selectedOption == null ? void 0 : selectedOption.value) != null ? _a : "";
|
|
422
|
+
this.displayLabel = (_c = (_b = selectedOption == null ? void 0 : selectedOption.getTextLabel) == null ? void 0 : _b.call(selectedOption)) != null ? _c : "";
|
|
423
|
+
}
|
|
424
|
+
this.valueHasChanged = cachedValueHasChanged;
|
|
425
|
+
this.updateComplete.then(() => {
|
|
426
|
+
this.formControlController.updateValidity();
|
|
427
|
+
});
|
|
428
|
+
}
|
|
429
|
+
get tags() {
|
|
430
|
+
return this.selectedOptions.map((option, index) => {
|
|
431
|
+
if (index < this.maxOptionsVisible || this.maxOptionsVisible <= 0) {
|
|
432
|
+
const tag = this.getTag(option, index);
|
|
433
|
+
return html`<div @cw-remove=${(e) => this.handleTagRemove(e, option)}>
|
|
434
|
+
${typeof tag === "string" ? unsafeHTML(tag) : tag}
|
|
435
|
+
</div>`;
|
|
436
|
+
} else if (index === this.maxOptionsVisible) {
|
|
437
|
+
return html`<cw-tag size=${this.size}>+${this.selectedOptions.length - index}</cw-tag>`;
|
|
438
|
+
}
|
|
439
|
+
return html``;
|
|
440
|
+
});
|
|
441
|
+
}
|
|
442
|
+
handleInvalid(event) {
|
|
443
|
+
this.formControlController.setValidity(false);
|
|
444
|
+
this.formControlController.emitInvalidEvent(event);
|
|
445
|
+
}
|
|
446
|
+
handleDisabledChange() {
|
|
447
|
+
if (this.disabled) {
|
|
448
|
+
this.open = false;
|
|
449
|
+
this.handleOpenChange();
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
attributeChangedCallback(name, oldVal, newVal) {
|
|
453
|
+
super.attributeChangedCallback(name, oldVal, newVal);
|
|
454
|
+
if (name === "value") {
|
|
455
|
+
const cachedValueHasChanged = this.valueHasChanged;
|
|
456
|
+
this.value = this.defaultValue;
|
|
457
|
+
this.valueHasChanged = cachedValueHasChanged;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
handleValueChange() {
|
|
461
|
+
if (!this.valueHasChanged) {
|
|
462
|
+
const cachedValueHasChanged = this.valueHasChanged;
|
|
463
|
+
this.value = this.defaultValue;
|
|
464
|
+
this.valueHasChanged = cachedValueHasChanged;
|
|
465
|
+
}
|
|
466
|
+
const allOptions = this.getAllOptions();
|
|
467
|
+
const value = Array.isArray(this.value) ? this.value : [this.value];
|
|
468
|
+
this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
|
|
469
|
+
}
|
|
470
|
+
async handleOpenChange() {
|
|
471
|
+
if (this.open && !this.disabled) {
|
|
472
|
+
this.setCurrentOption(this.selectedOptions[0] || this.getFirstOption());
|
|
473
|
+
this.emit("cw-show");
|
|
474
|
+
this.addOpenListeners();
|
|
475
|
+
await stopAnimations(this);
|
|
476
|
+
this.listbox.hidden = false;
|
|
477
|
+
this.popup.active = true;
|
|
478
|
+
requestAnimationFrame(() => {
|
|
479
|
+
this.setCurrentOption(this.currentOption);
|
|
480
|
+
});
|
|
481
|
+
const { keyframes, options } = getAnimation(this, "select.show", { dir: this.localize.dir() });
|
|
482
|
+
await animateTo(this.popup.popup, keyframes, options);
|
|
483
|
+
if (this.currentOption) {
|
|
484
|
+
scrollIntoView(this.currentOption, this.listbox, "vertical", "auto");
|
|
485
|
+
}
|
|
486
|
+
this.emit("cw-after-show");
|
|
487
|
+
} else {
|
|
488
|
+
this.emit("cw-hide");
|
|
489
|
+
this.removeOpenListeners();
|
|
490
|
+
await stopAnimations(this);
|
|
491
|
+
const { keyframes, options } = getAnimation(this, "select.hide", { dir: this.localize.dir() });
|
|
492
|
+
await animateTo(this.popup.popup, keyframes, options);
|
|
493
|
+
this.listbox.hidden = true;
|
|
494
|
+
this.popup.active = false;
|
|
495
|
+
this.emit("cw-after-hide");
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
/** Shows the listbox. */
|
|
499
|
+
async show() {
|
|
500
|
+
if (this.open || this.disabled) {
|
|
501
|
+
this.open = false;
|
|
502
|
+
return void 0;
|
|
503
|
+
}
|
|
504
|
+
this.open = true;
|
|
505
|
+
return waitForEvent(this, "cw-after-show");
|
|
506
|
+
}
|
|
507
|
+
/** Hides the listbox. */
|
|
508
|
+
async hide() {
|
|
509
|
+
if (!this.open || this.disabled) {
|
|
510
|
+
this.open = false;
|
|
511
|
+
return void 0;
|
|
512
|
+
}
|
|
513
|
+
this.open = false;
|
|
514
|
+
return waitForEvent(this, "cw-after-hide");
|
|
515
|
+
}
|
|
516
|
+
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
517
|
+
checkValidity() {
|
|
518
|
+
return this.valueInput.checkValidity();
|
|
519
|
+
}
|
|
520
|
+
/** Gets the associated form, if one exists. */
|
|
521
|
+
getForm() {
|
|
522
|
+
return this.formControlController.getForm();
|
|
523
|
+
}
|
|
524
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
525
|
+
reportValidity() {
|
|
526
|
+
return this.valueInput.reportValidity();
|
|
527
|
+
}
|
|
528
|
+
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
529
|
+
setCustomValidity(message) {
|
|
530
|
+
this.valueInput.setCustomValidity(message);
|
|
531
|
+
this.formControlController.updateValidity();
|
|
532
|
+
}
|
|
533
|
+
/** Sets focus on the control. */
|
|
534
|
+
focus(options) {
|
|
535
|
+
this.displayInput.focus(options);
|
|
536
|
+
}
|
|
537
|
+
/** Removes focus from the control. */
|
|
538
|
+
blur() {
|
|
539
|
+
this.displayInput.blur();
|
|
540
|
+
}
|
|
541
|
+
render() {
|
|
542
|
+
const hasLabelSlot = this.hasSlotController.test("label");
|
|
543
|
+
const hasHelpTextSlot = this.hasSlotController.test("help-text");
|
|
544
|
+
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
545
|
+
const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;
|
|
546
|
+
const hasClearIcon = this.clearable && !this.disabled && this.value.length > 0;
|
|
547
|
+
const isPlaceholderVisible = this.placeholder && this.value && this.value.length <= 0;
|
|
548
|
+
return html`
|
|
549
|
+
<div
|
|
550
|
+
part="form-control"
|
|
551
|
+
class=${classMap({
|
|
552
|
+
"form-control": true,
|
|
553
|
+
"form-control--small": this.size === "small",
|
|
554
|
+
"form-control--medium": this.size === "medium",
|
|
555
|
+
"form-control--large": this.size === "large",
|
|
556
|
+
"form-control--has-label": hasLabel,
|
|
557
|
+
"form-control--has-help-text": hasHelpText
|
|
558
|
+
})}
|
|
559
|
+
>
|
|
560
|
+
<label
|
|
561
|
+
id="label"
|
|
562
|
+
part="form-control-label"
|
|
563
|
+
class="form-control__label"
|
|
564
|
+
aria-hidden=${hasLabel ? "false" : "true"}
|
|
565
|
+
@click=${this.handleLabelClick}
|
|
566
|
+
>
|
|
567
|
+
<slot name="label">${this.label}</slot>
|
|
568
|
+
</label>
|
|
569
|
+
|
|
570
|
+
<div part="form-control-input" class="form-control-input">
|
|
571
|
+
<cw-popup
|
|
572
|
+
class=${classMap({
|
|
573
|
+
select: true,
|
|
574
|
+
"select--standard": true,
|
|
575
|
+
"select--filled": this.filled,
|
|
576
|
+
"select--pill": this.pill,
|
|
577
|
+
"select--open": this.open,
|
|
578
|
+
"select--disabled": this.disabled,
|
|
579
|
+
"select--multiple": this.multiple,
|
|
580
|
+
"select--focused": this.hasFocus,
|
|
581
|
+
"select--placeholder-visible": isPlaceholderVisible,
|
|
582
|
+
"select--top": this.placement === "top",
|
|
583
|
+
"select--bottom": this.placement === "bottom",
|
|
584
|
+
"select--small": this.size === "small",
|
|
585
|
+
"select--medium": this.size === "medium",
|
|
586
|
+
"select--large": this.size === "large"
|
|
587
|
+
})}
|
|
588
|
+
placement=${this.placement}
|
|
589
|
+
strategy=${this.hoist ? "fixed" : "absolute"}
|
|
590
|
+
flip
|
|
591
|
+
shift
|
|
592
|
+
sync="width"
|
|
593
|
+
auto-size="vertical"
|
|
594
|
+
auto-size-padding="10"
|
|
595
|
+
>
|
|
596
|
+
<div
|
|
597
|
+
part="combobox"
|
|
598
|
+
class="select__combobox"
|
|
599
|
+
slot="anchor"
|
|
600
|
+
@keydown=${this.handleComboboxKeyDown}
|
|
601
|
+
@mousedown=${this.handleComboboxMouseDown}
|
|
602
|
+
>
|
|
603
|
+
<slot part="prefix" name="prefix" class="select__prefix"></slot>
|
|
604
|
+
|
|
605
|
+
<input
|
|
606
|
+
part="display-input"
|
|
607
|
+
class="select__display-input"
|
|
608
|
+
type="text"
|
|
609
|
+
placeholder=${this.placeholder}
|
|
610
|
+
.disabled=${this.disabled}
|
|
611
|
+
.value=${this.displayLabel}
|
|
612
|
+
autocomplete="off"
|
|
613
|
+
spellcheck="false"
|
|
614
|
+
autocapitalize="off"
|
|
615
|
+
readonly
|
|
616
|
+
aria-controls="listbox"
|
|
617
|
+
aria-expanded=${this.open ? "true" : "false"}
|
|
618
|
+
aria-haspopup="listbox"
|
|
619
|
+
aria-labelledby="label"
|
|
620
|
+
aria-disabled=${this.disabled ? "true" : "false"}
|
|
621
|
+
aria-describedby="help-text"
|
|
622
|
+
role="combobox"
|
|
623
|
+
tabindex="0"
|
|
624
|
+
@focus=${this.handleFocus}
|
|
625
|
+
@blur=${this.handleBlur}
|
|
626
|
+
/>
|
|
627
|
+
|
|
628
|
+
${this.multiple ? html`<div part="tags" class="select__tags">${this.tags}</div>` : ""}
|
|
629
|
+
|
|
630
|
+
<input
|
|
631
|
+
class="select__value-input"
|
|
632
|
+
type="text"
|
|
633
|
+
?disabled=${this.disabled}
|
|
634
|
+
?required=${this.required}
|
|
635
|
+
.value=${Array.isArray(this.value) ? this.value.join(", ") : this.value}
|
|
636
|
+
tabindex="-1"
|
|
637
|
+
aria-hidden="true"
|
|
638
|
+
@focus=${() => this.focus()}
|
|
639
|
+
@invalid=${this.handleInvalid}
|
|
640
|
+
/>
|
|
641
|
+
|
|
642
|
+
${hasClearIcon ? html`
|
|
643
|
+
<button
|
|
644
|
+
part="clear-button"
|
|
645
|
+
class="select__clear"
|
|
646
|
+
type="button"
|
|
647
|
+
aria-label=${this.localize.term("clearEntry")}
|
|
648
|
+
@mousedown=${this.handleClearMouseDown}
|
|
649
|
+
@click=${this.handleClearClick}
|
|
650
|
+
tabindex="-1"
|
|
651
|
+
>
|
|
652
|
+
<slot name="clear-icon">
|
|
653
|
+
<cw-icon name="x-circle-fill" library="system"></cw-icon>
|
|
654
|
+
</slot>
|
|
655
|
+
</button>
|
|
656
|
+
` : ""}
|
|
657
|
+
|
|
658
|
+
<slot name="suffix" part="suffix" class="select__suffix"></slot>
|
|
659
|
+
|
|
660
|
+
<slot name="expand-icon" part="expand-icon" class="select__expand-icon">
|
|
661
|
+
<cw-icon library="system" name="chevron-down"></cw-icon>
|
|
662
|
+
</slot>
|
|
663
|
+
</div>
|
|
664
|
+
|
|
665
|
+
<div
|
|
666
|
+
id="listbox"
|
|
667
|
+
role="listbox"
|
|
668
|
+
aria-expanded=${this.open ? "true" : "false"}
|
|
669
|
+
aria-multiselectable=${this.multiple ? "true" : "false"}
|
|
670
|
+
aria-labelledby="label"
|
|
671
|
+
part="listbox"
|
|
672
|
+
class="select__listbox"
|
|
673
|
+
tabindex="-1"
|
|
674
|
+
@mouseup=${this.handleOptionClick}
|
|
675
|
+
@slotchange=${this.handleDefaultSlotChange}
|
|
676
|
+
>
|
|
677
|
+
<slot></slot>
|
|
678
|
+
</div>
|
|
679
|
+
</cw-popup>
|
|
680
|
+
</div>
|
|
681
|
+
|
|
682
|
+
<div
|
|
683
|
+
part="form-control-help-text"
|
|
684
|
+
id="help-text"
|
|
685
|
+
class="form-control__help-text"
|
|
686
|
+
aria-hidden=${hasHelpText ? "false" : "true"}
|
|
687
|
+
>
|
|
688
|
+
<slot name="help-text">${this.helpText}</slot>
|
|
689
|
+
</div>
|
|
690
|
+
</div>
|
|
691
|
+
`;
|
|
692
|
+
}
|
|
693
|
+
};
|
|
694
|
+
CwSelect.styles = [component_styles_default, form_control_styles_default, select_styles_default];
|
|
695
|
+
CwSelect.dependencies = {
|
|
696
|
+
"cw-icon": CwIcon,
|
|
697
|
+
"cw-popup": CwPopup,
|
|
698
|
+
"cw-tag": CwTag
|
|
699
|
+
};
|
|
700
|
+
__decorateClass([
|
|
701
|
+
query(".select")
|
|
702
|
+
], CwSelect.prototype, "popup", 2);
|
|
703
|
+
__decorateClass([
|
|
704
|
+
query(".select__combobox")
|
|
705
|
+
], CwSelect.prototype, "combobox", 2);
|
|
706
|
+
__decorateClass([
|
|
707
|
+
query(".select__display-input")
|
|
708
|
+
], CwSelect.prototype, "displayInput", 2);
|
|
709
|
+
__decorateClass([
|
|
710
|
+
query(".select__value-input")
|
|
711
|
+
], CwSelect.prototype, "valueInput", 2);
|
|
712
|
+
__decorateClass([
|
|
713
|
+
query(".select__listbox")
|
|
714
|
+
], CwSelect.prototype, "listbox", 2);
|
|
715
|
+
__decorateClass([
|
|
716
|
+
state()
|
|
717
|
+
], CwSelect.prototype, "hasFocus", 2);
|
|
718
|
+
__decorateClass([
|
|
719
|
+
state()
|
|
720
|
+
], CwSelect.prototype, "displayLabel", 2);
|
|
721
|
+
__decorateClass([
|
|
722
|
+
state()
|
|
723
|
+
], CwSelect.prototype, "currentOption", 2);
|
|
724
|
+
__decorateClass([
|
|
725
|
+
state()
|
|
726
|
+
], CwSelect.prototype, "selectedOptions", 2);
|
|
727
|
+
__decorateClass([
|
|
728
|
+
state()
|
|
729
|
+
], CwSelect.prototype, "valueHasChanged", 2);
|
|
730
|
+
__decorateClass([
|
|
731
|
+
property()
|
|
732
|
+
], CwSelect.prototype, "name", 2);
|
|
733
|
+
__decorateClass([
|
|
734
|
+
state()
|
|
735
|
+
], CwSelect.prototype, "value", 1);
|
|
736
|
+
__decorateClass([
|
|
737
|
+
property({ attribute: "value" })
|
|
738
|
+
], CwSelect.prototype, "defaultValue", 2);
|
|
739
|
+
__decorateClass([
|
|
740
|
+
property({ reflect: true })
|
|
741
|
+
], CwSelect.prototype, "size", 2);
|
|
742
|
+
__decorateClass([
|
|
743
|
+
property()
|
|
744
|
+
], CwSelect.prototype, "placeholder", 2);
|
|
745
|
+
__decorateClass([
|
|
746
|
+
property({ type: Boolean, reflect: true })
|
|
747
|
+
], CwSelect.prototype, "multiple", 2);
|
|
748
|
+
__decorateClass([
|
|
749
|
+
property({ attribute: "max-options-visible", type: Number })
|
|
750
|
+
], CwSelect.prototype, "maxOptionsVisible", 2);
|
|
751
|
+
__decorateClass([
|
|
752
|
+
property({ type: Boolean, reflect: true })
|
|
753
|
+
], CwSelect.prototype, "disabled", 2);
|
|
754
|
+
__decorateClass([
|
|
755
|
+
property({ type: Boolean })
|
|
756
|
+
], CwSelect.prototype, "clearable", 2);
|
|
757
|
+
__decorateClass([
|
|
758
|
+
property({ type: Boolean, reflect: true })
|
|
759
|
+
], CwSelect.prototype, "open", 2);
|
|
760
|
+
__decorateClass([
|
|
761
|
+
property({ type: Boolean })
|
|
762
|
+
], CwSelect.prototype, "hoist", 2);
|
|
763
|
+
__decorateClass([
|
|
764
|
+
property({ type: Boolean, reflect: true })
|
|
765
|
+
], CwSelect.prototype, "filled", 2);
|
|
766
|
+
__decorateClass([
|
|
767
|
+
property({ type: Boolean, reflect: true })
|
|
768
|
+
], CwSelect.prototype, "pill", 2);
|
|
769
|
+
__decorateClass([
|
|
770
|
+
property()
|
|
771
|
+
], CwSelect.prototype, "label", 2);
|
|
772
|
+
__decorateClass([
|
|
773
|
+
property({ reflect: true })
|
|
774
|
+
], CwSelect.prototype, "placement", 2);
|
|
775
|
+
__decorateClass([
|
|
776
|
+
property({ attribute: "help-text" })
|
|
777
|
+
], CwSelect.prototype, "helpText", 2);
|
|
778
|
+
__decorateClass([
|
|
779
|
+
property({ reflect: true })
|
|
780
|
+
], CwSelect.prototype, "form", 2);
|
|
781
|
+
__decorateClass([
|
|
782
|
+
property({ type: Boolean, reflect: true })
|
|
783
|
+
], CwSelect.prototype, "required", 2);
|
|
784
|
+
__decorateClass([
|
|
785
|
+
property()
|
|
786
|
+
], CwSelect.prototype, "getTag", 2);
|
|
787
|
+
__decorateClass([
|
|
788
|
+
watch("disabled", { waitUntilFirstUpdate: true })
|
|
789
|
+
], CwSelect.prototype, "handleDisabledChange", 1);
|
|
790
|
+
__decorateClass([
|
|
791
|
+
watch(["defaultValue", "value"], { waitUntilFirstUpdate: true })
|
|
792
|
+
], CwSelect.prototype, "handleValueChange", 1);
|
|
793
|
+
__decorateClass([
|
|
794
|
+
watch("open", { waitUntilFirstUpdate: true })
|
|
795
|
+
], CwSelect.prototype, "handleOpenChange", 1);
|
|
796
|
+
setDefaultAnimation("select.show", {
|
|
797
|
+
keyframes: [
|
|
798
|
+
{ opacity: 0, scale: 0.9 },
|
|
799
|
+
{ opacity: 1, scale: 1 }
|
|
800
|
+
],
|
|
801
|
+
options: { duration: 100, easing: "ease" }
|
|
802
|
+
});
|
|
803
|
+
setDefaultAnimation("select.hide", {
|
|
804
|
+
keyframes: [
|
|
805
|
+
{ opacity: 1, scale: 1 },
|
|
806
|
+
{ opacity: 0, scale: 0.9 }
|
|
807
|
+
],
|
|
808
|
+
options: { duration: 100, easing: "ease" }
|
|
809
|
+
});
|
|
810
|
+
|
|
811
|
+
export {
|
|
812
|
+
CwSelect
|
|
813
|
+
};
|