@cordwainer/cw-elements 1.3.0-alpha.1 → 1.3.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.26WSOE2X.js +82 -0
- package/cdn/chunks/chunk.2GQBK57C.js +21 -0
- package/cdn/chunks/chunk.2PW2QKYS.js +11 -0
- package/cdn/chunks/chunk.2U2TTDFY.js +21 -0
- package/cdn/chunks/chunk.3242SXOJ.js +336 -0
- package/cdn/chunks/chunk.32ZRRHBU.js +302 -0
- package/cdn/chunks/chunk.33URXAH3.js +218 -0
- package/cdn/chunks/chunk.3ARB4BUC.js +27 -0
- package/cdn/chunks/chunk.3IUWADBZ.js +216 -0
- package/cdn/chunks/chunk.3J7CB5LK.js +24 -0
- package/cdn/chunks/chunk.3K3JJKK4.js +73 -0
- package/cdn/chunks/chunk.3PDPHGHG.js +255 -0
- package/cdn/chunks/chunk.3PZEB6JT.js +11 -0
- package/cdn/chunks/chunk.3TPA7GQN.js +24 -0
- package/cdn/chunks/chunk.45KMUOKV.js +11 -0
- package/cdn/chunks/chunk.4G6AE6LA.js +24 -0
- package/cdn/chunks/chunk.4K75R5VR.js +11 -0
- package/cdn/chunks/chunk.4RAPVAHL.js +25 -0
- package/cdn/chunks/chunk.4XLQ4X2K.js +21 -0
- package/cdn/chunks/chunk.57J7OEEI.js +25 -0
- package/cdn/chunks/chunk.5F76MEWP.js +346 -0
- package/cdn/chunks/chunk.5L7AW6FM.js +25 -0
- package/cdn/chunks/chunk.5PHXVCME.js +11 -0
- package/cdn/chunks/chunk.5WYMZNF6.js +28 -0
- package/cdn/chunks/chunk.65MZCEGR.js +233 -0
- package/cdn/chunks/chunk.6GU47XCA.js +26 -0
- package/cdn/chunks/chunk.6PHTFONO.js +26 -0
- package/cdn/chunks/chunk.6QLQZBQU.js +50 -0
- package/cdn/chunks/chunk.77PJUHB6.js +28 -0
- package/cdn/chunks/chunk.7AAZHDDS.js +49 -0
- package/cdn/chunks/chunk.7BUXWMXE.js +28 -0
- package/cdn/chunks/chunk.7DAXFFSC.js +11 -0
- package/cdn/chunks/chunk.7NULNU3H.js +11 -0
- package/cdn/chunks/chunk.7TPEJNB7.js +844 -0
- package/cdn/chunks/chunk.7XOG5GFO.js +11 -0
- package/cdn/chunks/chunk.7ZBK5WGA.js +11 -0
- package/cdn/chunks/chunk.7ZMWKRVJ.js +391 -0
- package/cdn/chunks/chunk.ABX25UC6.js +27 -0
- package/cdn/chunks/chunk.AJKXWZ4C.js +75 -0
- package/cdn/chunks/chunk.AKDLLCMM.js +26 -0
- package/cdn/chunks/chunk.AO4IHDIX.js +21 -0
- package/cdn/chunks/chunk.ASUHMZ5Z.js +218 -0
- package/cdn/chunks/chunk.B3OMWAHY.js +42 -0
- package/cdn/chunks/chunk.B4ACYUD5.js +21 -0
- package/cdn/chunks/chunk.B5NVEHPC.js +21 -0
- package/cdn/chunks/chunk.BCZHAALL.js +367 -0
- package/cdn/chunks/chunk.BNR5DOZQ.js +103 -0
- package/cdn/chunks/chunk.BOUHC5RQ.js +28 -0
- package/cdn/chunks/chunk.BYE2GI7R.js +21 -0
- package/cdn/chunks/chunk.C462ROOD.js +197 -0
- package/cdn/chunks/chunk.CBQPV2XP.js +11 -0
- package/cdn/chunks/chunk.CFLXAVEG.js +114 -0
- package/cdn/chunks/chunk.CIMQMOO5.js +11 -0
- package/cdn/chunks/chunk.CMJ2JOSO.js +33 -0
- package/cdn/chunks/chunk.CPS6O74Q.js +33 -0
- package/cdn/chunks/chunk.D5D6WCXD.js +24 -0
- package/cdn/chunks/chunk.D5DMNQ2B.js +186 -0
- package/cdn/chunks/chunk.DAMD3CDQ.js +113 -0
- package/cdn/chunks/chunk.DAUE7NHW.js +11 -0
- package/cdn/chunks/chunk.DH3IY2T5.js +267 -0
- package/cdn/chunks/chunk.DIJ445RQ.js +11 -0
- package/cdn/chunks/chunk.DT7CPYIO.js +25 -0
- package/cdn/chunks/chunk.DVUIGSMD.js +25 -0
- package/cdn/chunks/chunk.E7R53EFE.js +11 -0
- package/cdn/chunks/chunk.EET3ZV5W.js +11 -0
- package/cdn/chunks/chunk.EGCD4LGL.js +97 -0
- package/cdn/chunks/chunk.EMATHFZN.js +11 -0
- package/cdn/chunks/chunk.EOHBQQVF.js +21 -0
- package/cdn/chunks/chunk.ETCTXR4G.js +11 -0
- package/cdn/chunks/chunk.EURPGK3R.js +11 -0
- package/cdn/chunks/chunk.EZE3OMZ6.js +82 -0
- package/cdn/chunks/chunk.F57BXPJ7.js +24 -0
- package/cdn/chunks/chunk.F6VYXVQB.js +21 -0
- package/cdn/chunks/chunk.F7IXHFWY.js +11 -0
- package/cdn/chunks/chunk.FBHWAQR5.js +11 -0
- package/cdn/chunks/chunk.FGF6DRYC.js +29 -0
- package/cdn/chunks/chunk.FM2IBS7V.js +11 -0
- package/cdn/chunks/chunk.FUCWH2MU.js +21 -0
- package/cdn/chunks/chunk.FUI6TCOP.js +122 -0
- package/cdn/chunks/chunk.G2NWQJHP.js +57 -0
- package/cdn/chunks/chunk.G7T475QM.js +1990 -0
- package/cdn/chunks/chunk.GCLPDTUN.js +25 -0
- package/cdn/chunks/chunk.GHDM3OKR.js +11 -0
- package/cdn/chunks/chunk.GQC2ZJN5.js +24 -0
- package/cdn/chunks/chunk.GR3UGU76.js +11 -0
- package/cdn/chunks/chunk.GT5LUF36.js +24 -0
- package/cdn/chunks/chunk.HCEZF4HT.js +21 -0
- package/cdn/chunks/chunk.HYUTZFKB.js +11 -0
- package/cdn/chunks/chunk.I3WRJS2F.js +21 -0
- package/cdn/chunks/chunk.I7YBGNHY.js +11 -0
- package/cdn/chunks/chunk.IBSOCOZ7.js +29 -0
- package/cdn/chunks/chunk.IBYPWCZO.js +21 -0
- package/cdn/chunks/chunk.IGH4CPIX.js +11 -0
- package/cdn/chunks/chunk.IQ5BJRLN.js +11 -0
- package/cdn/chunks/chunk.IV6TAUME.js +21 -0
- package/cdn/chunks/chunk.IVBS2WNU.js +11 -0
- package/cdn/chunks/chunk.IZQHECE7.js +29 -0
- package/cdn/chunks/chunk.J2OEIMMO.js +49 -0
- package/cdn/chunks/chunk.J7S6MZKH.js +402 -0
- package/cdn/chunks/chunk.JCVV7FTN.js +499 -0
- package/cdn/chunks/chunk.JES63NI3.js +29 -0
- package/cdn/chunks/chunk.JFDV7RKY.js +11 -0
- package/cdn/chunks/chunk.JFZYJELR.js +11 -0
- package/cdn/chunks/chunk.JIWXBKLW.js +11 -0
- package/cdn/chunks/chunk.JNUSXZTH.js +21 -0
- package/cdn/chunks/chunk.JTU2PXLS.js +11 -0
- package/cdn/chunks/chunk.JWEYXEY2.js +11 -0
- package/cdn/chunks/chunk.K26M7D5A.js +11 -0
- package/cdn/chunks/chunk.K6IPJRL5.js +385 -0
- package/cdn/chunks/chunk.KCJICFCB.js +21 -0
- package/cdn/chunks/chunk.KDE7EMTP.js +292 -0
- package/cdn/chunks/chunk.KGIX6ROS.js +24 -0
- package/cdn/chunks/chunk.KJ6M2O43.js +11 -0
- package/cdn/chunks/chunk.KTWVV2FN.js +11 -0
- package/cdn/chunks/chunk.L4ARAZBG.js +63 -0
- package/cdn/chunks/chunk.L4TLIABV.js +11 -0
- package/cdn/chunks/chunk.L7DERNBR.js +11 -0
- package/cdn/chunks/chunk.LA2XEONC.js +236 -0
- package/cdn/chunks/chunk.LBQAIEIN.js +11 -0
- package/cdn/chunks/chunk.LHUBLSFM.js +11 -0
- package/cdn/chunks/chunk.LMDDPIDT.js +11 -0
- package/cdn/chunks/chunk.LOEDGLOZ.js +11 -0
- package/cdn/chunks/chunk.LQYAK6GR.js +11 -0
- package/cdn/chunks/chunk.LV3IZIAM.js +147 -0
- package/cdn/chunks/chunk.M4DCQYRX.js +25 -0
- package/cdn/chunks/chunk.M7X77RSC.js +455 -0
- package/cdn/chunks/chunk.MIA7HZ3H.js +21 -0
- package/cdn/chunks/chunk.MIWC3G2J.js +11 -0
- package/cdn/chunks/chunk.MJ3WZN3N.js +49 -0
- package/cdn/chunks/chunk.MMXL36JV.js +24 -0
- package/cdn/chunks/chunk.MQIMXAK3.js +77 -0
- package/cdn/chunks/chunk.MQZIWK2T.js +26 -0
- package/cdn/chunks/chunk.MXHQEQMC.js +25 -0
- package/cdn/chunks/chunk.MYXDOTBB.js +87 -0
- package/cdn/chunks/chunk.N2KNURD2.js +291 -0
- package/cdn/chunks/chunk.N3AV6QCX.js +314 -0
- package/cdn/chunks/chunk.N6OZTRMB.js +11 -0
- package/cdn/chunks/chunk.NBUPY5HO.js +969 -0
- package/cdn/chunks/chunk.NDGZTN7F.js +11 -0
- package/cdn/chunks/chunk.NGGQGQJJ.js +11 -0
- package/cdn/chunks/chunk.NPF6GP5E.js +11 -0
- package/cdn/chunks/chunk.NQ3SOIHB.js +114 -0
- package/cdn/chunks/chunk.NRQKIYZ3.js +11 -0
- package/cdn/chunks/chunk.NWSMFKBB.js +21 -0
- package/cdn/chunks/chunk.NWWBD2UI.js +1925 -0
- package/cdn/chunks/chunk.O63FAKPX.js +21 -0
- package/cdn/chunks/chunk.OE45G6KG.js +33 -0
- package/cdn/chunks/chunk.OE6WR3NM.js +25 -0
- package/cdn/chunks/chunk.OGDS2SL5.js +378 -0
- package/cdn/chunks/chunk.OI6ORT62.js +67 -0
- package/cdn/chunks/chunk.OKNJFDCH.js +11 -0
- package/cdn/chunks/chunk.ORADZNTG.js +28 -0
- package/cdn/chunks/chunk.OSZMUMUP.js +11 -0
- package/cdn/chunks/chunk.OUUT2YHY.js +24 -0
- package/cdn/chunks/chunk.PDV2THVX.js +93 -0
- package/cdn/chunks/chunk.PYBDC3MU.js +11 -0
- package/cdn/chunks/chunk.QAXCHGNL.js +135 -0
- package/cdn/chunks/chunk.QG5WVM6I.js +79 -0
- package/cdn/chunks/chunk.QKV6PS52.js +21 -0
- package/cdn/chunks/chunk.QPVOSM7H.js +11 -0
- package/cdn/chunks/chunk.QW3SVSVB.js +21 -0
- package/cdn/chunks/chunk.QZN7YQN6.js +21 -0
- package/cdn/chunks/chunk.QZXDAMIQ.js +11 -0
- package/cdn/chunks/chunk.RJM4Q2BU.js +16 -0
- package/cdn/chunks/chunk.RLGPPF56.js +279 -0
- package/cdn/chunks/chunk.RWB3DAQ5.js +142 -0
- package/cdn/chunks/chunk.RYYAT43F.js +27 -0
- package/cdn/chunks/chunk.S5HHCXOC.js +174 -0
- package/cdn/chunks/chunk.S5VFNGJV.js +24 -0
- package/cdn/chunks/chunk.SBLEJD36.js +21 -0
- package/cdn/chunks/chunk.SDU4EZUW.js +299 -0
- package/cdn/chunks/chunk.SGLAHQRL.js +21 -0
- package/cdn/chunks/chunk.SNUTS4EA.js +11 -0
- package/cdn/chunks/chunk.SNYMIIEP.js +27 -0
- package/cdn/chunks/chunk.SR2E6BTY.js +24 -0
- package/cdn/chunks/chunk.SRHEI2X6.js +11 -0
- package/cdn/chunks/chunk.STXVOCON.js +11 -0
- package/cdn/chunks/chunk.THCTK4XY.js +84 -0
- package/cdn/chunks/chunk.TKP5Z3UW.js +36 -0
- package/cdn/chunks/chunk.TLVNUJKC.js +120 -0
- package/cdn/chunks/chunk.TM3XPVG7.js +24 -0
- package/cdn/chunks/chunk.TZ6OXKDT.js +27 -0
- package/cdn/chunks/chunk.U5JHA3PI.js +11 -0
- package/cdn/chunks/chunk.UUYBM2KC.js +724 -0
- package/cdn/chunks/chunk.V2O2M3XM.js +11 -0
- package/cdn/chunks/chunk.VJRT6DCH.js +11 -0
- package/cdn/chunks/chunk.VKQZTDML.js +21 -0
- package/cdn/chunks/chunk.VLJXTLJA.js +153 -0
- package/cdn/chunks/chunk.VNAVQLUE.js +79 -0
- package/cdn/chunks/chunk.VU7BAVDX.js +33 -0
- package/cdn/chunks/chunk.VYXQIKER.js +24 -0
- package/cdn/chunks/chunk.VZ75OPN7.js +127 -0
- package/cdn/chunks/chunk.WZ4D4SZQ.js +11 -0
- package/cdn/chunks/chunk.XKNAM3LM.js +11 -0
- package/cdn/chunks/chunk.XVBI2VEE.js +27 -0
- package/cdn/chunks/chunk.XWEVEBXH.js +27 -0
- package/cdn/chunks/chunk.XX22KMJK.js +11 -0
- package/cdn/chunks/chunk.XZQIOR6G.js +120 -0
- package/cdn/chunks/chunk.Y2QIMVUH.js +821 -0
- package/cdn/chunks/chunk.Y6AS3IIB.js +574 -0
- package/cdn/chunks/chunk.YA36YBRA.js +11 -0
- package/cdn/chunks/chunk.YAAV24U7.js +28 -0
- package/cdn/chunks/chunk.YH2AHAF2.js +21 -0
- package/cdn/chunks/chunk.YHZKTEVR.js +11 -0
- package/cdn/chunks/chunk.YLHWUAPP.js +95 -0
- package/cdn/chunks/chunk.YQZWG6CV.js +11 -0
- package/cdn/chunks/chunk.YSYZNFML.js +137 -0
- package/cdn/chunks/chunk.Z3TAOUKV.js +904 -0
- package/cdn/chunks/chunk.Z4NJEIK6.js +11 -0
- package/cdn/chunks/chunk.Z5D3QFBU.js +11 -0
- package/cdn/chunks/chunk.Z5HMEPDI.js +158 -0
- package/cdn/chunks/chunk.Z7CDTIHL.js +11 -0
- package/cdn/chunks/chunk.ZHH5AAWV.js +297 -0
- package/cdn/chunks/chunk.ZVJEVVDB.js +185 -0
- package/cdn/chunks/chunk.ZWWZHDAR.js +11 -0
- package/cdn/components/alert/alert.component.js +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.component.js +7 -7
- package/cdn/components/data-table/data-table.js +8 -8
- package/cdn/components/data-table-column/data-table-column.component.d.ts +39 -0
- package/cdn/components/data-table-column/data-table-column.component.js +10 -0
- package/cdn/components/data-table-column/data-table-column.d.ts +8 -2
- package/cdn/components/data-table-column/data-table-column.js +3 -3
- package/cdn/components/date-picker/date-picker.component.js +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 +7 -7
- package/cdn/components/drawer/drawer.js +8 -8
- 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.js +4 -4
- package/cdn/components/logo/logo.js +5 -5
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +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/primary-navigation/primary-navigation.component.js +5 -5
- package/cdn/components/primary-navigation/primary-navigation.js +6 -6
- package/cdn/components/primary-navigation-item/primary-navigation-item.component.js +7 -7
- package/cdn/components/primary-navigation-item/primary-navigation-item.js +8 -8
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.component.js +2 -2
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +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/secondary-navigation/secondary-navigation.component.d.ts +52 -0
- package/cdn/components/secondary-navigation/secondary-navigation.component.js +28 -0
- package/cdn/components/secondary-navigation/secondary-navigation.d.ts +8 -0
- package/cdn/components/secondary-navigation/secondary-navigation.js +29 -0
- package/cdn/components/secondary-navigation/secondary-navigation.styles.d.ts +2 -0
- package/cdn/components/secondary-navigation/secondary-navigation.styles.js +8 -0
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.component.d.ts +29 -0
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.component.js +14 -0
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.d.ts +8 -0
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.js +15 -0
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.styles.d.ts +2 -0
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.styles.js +8 -0
- package/cdn/components/select/select.component.js +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 +9 -9
- package/cdn/components/tree/tree.js +10 -10
- 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 +1700 -1367
- package/cdn/cw-elements.d.ts +3 -1
- package/cdn/cw-elements.js +186 -174
- 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 +8 -8
- package/cdn/react/data-table-column/index.d.ts +2 -2
- package/cdn/react/data-table-column/index.js +3 -3
- package/cdn/react/date-picker/index.js +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 +8 -8
- 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 +4 -2
- package/cdn/react/index.js +199 -187
- package/cdn/react/input/index.js +6 -6
- package/cdn/react/logo/index.js +5 -5
- 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/primary-navigation/index.js +6 -6
- package/cdn/react/primary-navigation-item/index.js +8 -8
- package/cdn/react/primary-navigation-menu/index.js +3 -3
- 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/secondary-navigation/index.d.ts +22 -0
- package/cdn/react/secondary-navigation/index.js +29 -0
- package/cdn/react/secondary-navigation-item/index.d.ts +14 -0
- package/cdn/react/secondary-navigation-item/index.js +15 -0
- package/cdn/react/select/index.js +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 +10 -10
- 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 +2 -2
- package/cdn/translations/fa.js +2 -2
- package/cdn/translations/fr.js +2 -2
- package/cdn/translations/he.js +2 -2
- package/cdn/translations/hu.js +2 -2
- package/cdn/translations/ja.js +2 -2
- package/cdn/translations/nb.js +2 -2
- package/cdn/translations/nl.js +2 -2
- package/cdn/translations/nn.js +2 -2
- package/cdn/translations/pl.js +2 -2
- package/cdn/translations/pt.js +2 -2
- package/cdn/translations/ru.js +2 -2
- package/cdn/translations/sv.js +2 -2
- package/cdn/translations/tr.js +2 -2
- package/cdn/translations/uk.js +2 -2
- package/cdn/translations/zh-cn.js +2 -2
- package/cdn/translations/zh-tw.js +2 -2
- package/cdn/types/vue/index.d.ts +171 -114
- package/cdn/utilities/localize.d.ts +1 -0
- package/cdn/utilities/localize.js +2 -2
- package/cdn/vscode.html-custom-data.json +172 -113
- package/cdn/web-types.json +401 -300
- package/dist/chunks/chunk.2GZXC4JN.js +11 -0
- package/dist/chunks/chunk.2HQCTLS6.js +25 -0
- package/dist/chunks/chunk.2QQRBXOQ.js +11 -0
- package/dist/chunks/chunk.2WAUDZSH.js +28 -0
- package/dist/chunks/chunk.2WM72Z76.js +21 -0
- package/dist/chunks/chunk.35NWM5WT.js +294 -0
- package/dist/chunks/chunk.3AJKB2XW.js +24 -0
- package/dist/chunks/chunk.3BCUZO2I.js +93 -0
- package/dist/chunks/chunk.3E4TZ6Q4.js +813 -0
- package/dist/chunks/chunk.3F36WHGW.js +11 -0
- package/dist/chunks/chunk.3GDQEEJB.js +33 -0
- package/dist/chunks/chunk.3IKG4TUS.js +11 -0
- package/dist/chunks/chunk.3MSV6DEV.js +25 -0
- package/dist/chunks/chunk.3Z5DWOPR.js +21 -0
- package/dist/chunks/chunk.3ZPQKYXT.js +11 -0
- package/dist/chunks/chunk.42DTM56F.js +192 -0
- package/dist/chunks/chunk.437OBCKQ.js +59 -0
- package/dist/chunks/chunk.4GF4EQ45.js +21 -0
- package/dist/chunks/chunk.4REC2SBZ.js +11 -0
- package/dist/chunks/chunk.4WUKLYFS.js +15 -0
- package/dist/chunks/chunk.53VJSHOV.js +24 -0
- package/dist/chunks/chunk.5BT644RT.js +213 -0
- package/dist/chunks/chunk.5FHGGPOR.js +293 -0
- package/dist/chunks/chunk.5RELZ2GS.js +90 -0
- package/dist/chunks/chunk.5SCBY5DV.js +33 -0
- package/dist/chunks/chunk.5UROAQQY.js +22 -0
- package/dist/chunks/chunk.5ZLI6XXJ.js +290 -0
- package/dist/chunks/chunk.67Z45I6U.js +33 -0
- package/dist/chunks/chunk.6KLJ73UK.js +448 -0
- package/dist/chunks/chunk.6VO4DU6P.js +11 -0
- package/dist/chunks/chunk.6XKTEQE7.js +11 -0
- package/dist/chunks/chunk.74FKGAXK.js +11 -0
- package/dist/chunks/chunk.756BFCA3.js +11 -0
- package/dist/chunks/chunk.7D6BDGCC.js +11 -0
- package/dist/chunks/chunk.7HNY5BKU.js +11 -0
- package/dist/chunks/chunk.7KYKUXBB.js +11 -0
- package/dist/chunks/chunk.7N35AGCE.js +961 -0
- package/dist/chunks/chunk.ABLVNDXC.js +21 -0
- package/dist/chunks/chunk.AHPTEP6U.js +837 -0
- package/dist/chunks/chunk.AL7G7BLQ.js +25 -0
- package/dist/chunks/chunk.ANHS4EDT.js +11 -0
- package/dist/chunks/chunk.AQQBGFYR.js +181 -0
- package/dist/chunks/chunk.AW7Y7YWX.js +27 -0
- package/dist/chunks/chunk.AXILOHSN.js +11 -0
- package/dist/chunks/chunk.AXSLQ4D3.js +491 -0
- package/dist/chunks/chunk.AXXHNRKW.js +337 -0
- package/dist/chunks/chunk.B3ILT4H6.js +29 -0
- package/dist/chunks/chunk.BC24B56H.js +42 -0
- package/dist/chunks/chunk.BJIJHJAU.js +11 -0
- package/dist/chunks/chunk.BOHDFDFV.js +311 -0
- package/dist/chunks/chunk.BOVZVVI5.js +26 -0
- package/dist/chunks/chunk.CC6UYX57.js +138 -0
- package/dist/chunks/chunk.CJPQTJA4.js +134 -0
- package/dist/chunks/chunk.COLGBPEB.js +147 -0
- package/dist/chunks/chunk.CRNYOOIV.js +375 -0
- package/dist/chunks/chunk.CRWKNCBY.js +11 -0
- package/dist/chunks/chunk.D2ZIHOYJ.js +21 -0
- package/dist/chunks/chunk.DHX7EK7H.js +11 -0
- package/dist/chunks/chunk.DQNNYTV6.js +11 -0
- package/dist/chunks/chunk.DVNINZLP.js +259 -0
- package/dist/chunks/chunk.E4VPSCWI.js +11 -0
- package/dist/chunks/chunk.E5SZJSBP.js +11 -0
- package/dist/chunks/chunk.E6YLOWSL.js +24 -0
- package/dist/chunks/chunk.E6ZJ7PQP.js +212 -0
- package/dist/chunks/chunk.ECSI4YVN.js +11 -0
- package/dist/chunks/chunk.EI4QCQMB.js +11 -0
- package/dist/chunks/chunk.ELTS45P5.js +11 -0
- package/dist/chunks/chunk.EOSZJ4SD.js +25 -0
- package/dist/chunks/chunk.EQGE6544.js +22 -0
- package/dist/chunks/chunk.ERIUQRMZ.js +11 -0
- package/dist/chunks/chunk.FATOYQ7B.js +72 -0
- package/dist/chunks/chunk.FAYQVMJL.js +11 -0
- package/dist/chunks/chunk.FEAFR73M.js +25 -0
- package/dist/chunks/chunk.FGELTOEY.js +11 -0
- package/dist/chunks/chunk.FLF4HGKO.js +45 -0
- package/dist/chunks/chunk.FLWJDM6A.js +26 -0
- package/dist/chunks/chunk.FWHJWE2G.js +21 -0
- package/dist/chunks/chunk.FX7MFH3R.js +11 -0
- package/dist/chunks/chunk.G5JZHX5D.js +11 -0
- package/dist/chunks/chunk.G755YBUT.js +21 -0
- package/dist/chunks/chunk.G7BJUIQC.js +119 -0
- package/dist/chunks/chunk.GHO3TM7A.js +27 -0
- package/dist/chunks/chunk.GJ435TZ6.js +11 -0
- package/dist/chunks/chunk.GMJGHZKY.js +73 -0
- package/dist/chunks/chunk.GRUF2DYM.js +11 -0
- package/dist/chunks/chunk.GUJ4OA2U.js +11 -0
- package/dist/chunks/chunk.GV5X3WU5.js +11 -0
- package/dist/chunks/chunk.GYGNIFDN.js +27 -0
- package/dist/chunks/chunk.HESYXIGV.js +11 -0
- package/dist/chunks/chunk.HIR3YFEV.js +100 -0
- package/dist/chunks/chunk.HJSJ3IP3.js +26 -0
- package/dist/chunks/chunk.HKJQ6X5W.js +21 -0
- package/dist/chunks/chunk.HKMEBY7F.js +94 -0
- package/dist/chunks/chunk.HPOKBXO4.js +384 -0
- package/dist/chunks/chunk.HRDFQJ5Y.js +280 -0
- package/dist/chunks/chunk.HSFXY4KH.js +24 -0
- package/dist/chunks/chunk.HSJP5VT4.js +11 -0
- package/dist/chunks/chunk.HVQNWM7O.js +11 -0
- package/dist/chunks/chunk.I4VO3JYX.js +42 -0
- package/dist/chunks/chunk.IJXCWUGJ.js +24 -0
- package/dist/chunks/chunk.IKBHGKOM.js +11 -0
- package/dist/chunks/chunk.INBZV4AW.js +25 -0
- package/dist/chunks/chunk.IWCE2ZBD.js +11 -0
- package/dist/chunks/chunk.IWRFAONO.js +21 -0
- package/dist/chunks/chunk.J7HBOMZP.js +50 -0
- package/dist/chunks/chunk.JL6FVUMD.js +11 -0
- package/dist/chunks/chunk.KJKHTQ5H.js +21 -0
- package/dist/chunks/chunk.KLHGSGI4.js +11 -0
- package/dist/chunks/chunk.KTCUV3WH.js +24 -0
- package/dist/chunks/chunk.KVIUFBWR.js +21 -0
- package/dist/chunks/chunk.KVX4KZQ7.js +54 -0
- package/dist/chunks/chunk.L7263K5F.js +11 -0
- package/dist/chunks/chunk.L7RQQ75G.js +25 -0
- package/dist/chunks/chunk.LJKKQZ4Z.js +135 -0
- package/dist/chunks/chunk.LMEVH2KX.js +11 -0
- package/dist/chunks/chunk.LS56SMFF.js +82 -0
- package/dist/chunks/chunk.LUHSGF5O.js +11 -0
- package/dist/chunks/chunk.LUZLX6TY.js +11 -0
- package/dist/chunks/chunk.LXJDJY6J.js +27 -0
- package/dist/chunks/chunk.M2LW36F5.js +63 -0
- package/dist/chunks/chunk.M3IAQ5C5.js +417 -0
- package/dist/chunks/chunk.M6VSAABN.js +151 -0
- package/dist/chunks/chunk.M6VYHEFS.js +11 -0
- package/dist/chunks/chunk.ME6NRBKV.js +11 -0
- package/dist/chunks/chunk.MHML5OPO.js +21 -0
- package/dist/chunks/chunk.MJ2ZSVNB.js +116 -0
- package/dist/chunks/chunk.MLQ2OIB4.js +33 -0
- package/dist/chunks/chunk.MMN2BRAX.js +21 -0
- package/dist/chunks/chunk.MMR3NJZ2.js +11 -0
- package/dist/chunks/chunk.MP6J6SFL.js +100 -0
- package/dist/chunks/chunk.MVG6Y5IP.js +28 -0
- package/dist/chunks/chunk.MZEDTK4Y.js +315 -0
- package/dist/chunks/chunk.NGIRM5NK.js +21 -0
- package/dist/chunks/chunk.NT2UFBPQ.js +11 -0
- package/dist/chunks/chunk.NTBPP47X.js +67 -0
- package/dist/chunks/chunk.NTMPQXJG.js +29 -0
- package/dist/chunks/chunk.OEAWG44Z.js +11 -0
- package/dist/chunks/chunk.OHLVVUNL.js +24 -0
- package/dist/chunks/chunk.OJW3NTAT.js +11 -0
- package/dist/chunks/chunk.OQKWR6LX.js +21 -0
- package/dist/chunks/chunk.OQTBCO5T.js +11 -0
- package/dist/chunks/chunk.OVSWWNRG.js +11 -0
- package/dist/chunks/chunk.OVU6B7B2.js +21 -0
- package/dist/chunks/chunk.PQQTXJLY.js +21 -0
- package/dist/chunks/chunk.Q2TYF4FT.js +11 -0
- package/dist/chunks/chunk.Q75FLSRT.js +126 -0
- package/dist/chunks/chunk.QAUJC7Y2.js +11 -0
- package/dist/chunks/chunk.QDADM44L.js +11 -0
- package/dist/chunks/chunk.QJDCLJOW.js +231 -0
- package/dist/chunks/chunk.QN764SXC.js +11 -0
- package/dist/chunks/chunk.QPMEGAFM.js +11 -0
- package/dist/chunks/chunk.QUZR3IPH.js +11 -0
- package/dist/chunks/chunk.QWETGG6V.js +25 -0
- package/dist/chunks/chunk.R264AHE5.js +21 -0
- package/dist/chunks/chunk.R4VWT25Q.js +80 -0
- package/dist/chunks/chunk.RA5EMTOH.js +21 -0
- package/dist/chunks/chunk.RLGMXIQB.js +170 -0
- package/dist/chunks/chunk.RN3JCVX7.js +45 -0
- package/dist/chunks/chunk.RU7IDTFE.js +109 -0
- package/dist/chunks/chunk.RUBNRH3N.js +27 -0
- package/dist/chunks/chunk.RWTUEMYD.js +21 -0
- package/dist/chunks/chunk.SCFLJGXH.js +29 -0
- package/dist/chunks/chunk.SER5IREF.js +24 -0
- package/dist/chunks/chunk.SRQQNER7.js +227 -0
- package/dist/chunks/chunk.SSJBN76Y.js +26 -0
- package/dist/chunks/chunk.SXUKHJ7G.js +11 -0
- package/dist/chunks/chunk.T6H2ZLRP.js +11 -0
- package/dist/chunks/chunk.T6NLHTZM.js +27 -0
- package/dist/chunks/chunk.T6XA5WMW.js +949 -0
- package/dist/chunks/chunk.TEC4BLIT.js +21 -0
- package/dist/chunks/chunk.TXK3MU4Q.js +24 -0
- package/dist/chunks/chunk.TYML6Z66.js +115 -0
- package/dist/chunks/chunk.U4CUAG4F.js +111 -0
- package/dist/chunks/chunk.UD6INT3K.js +11 -0
- package/dist/chunks/chunk.UFF4TD4R.js +34 -0
- package/dist/chunks/chunk.UM5MYKWP.js +24 -0
- package/dist/chunks/chunk.UNGZECYX.js +25 -0
- package/dist/chunks/chunk.URKVUXPL.js +11 -0
- package/dist/chunks/chunk.UUHRNQ6S.js +11 -0
- package/dist/chunks/chunk.UVIGMCMU.js +361 -0
- package/dist/chunks/chunk.UVRBO4UU.js +26 -0
- package/dist/chunks/chunk.V4UPPRVV.js +896 -0
- package/dist/chunks/chunk.VNZGNXRR.js +28 -0
- package/dist/chunks/chunk.VO2WW6BN.js +11 -0
- package/dist/chunks/chunk.VWGYPYIQ.js +11 -0
- package/dist/chunks/chunk.W2QFWIXM.js +79 -0
- package/dist/chunks/chunk.W4VVINBW.js +11 -0
- package/dist/chunks/chunk.WGMKOXQR.js +21 -0
- package/dist/chunks/chunk.WJJ4EIAS.js +109 -0
- package/dist/chunks/chunk.WKNK4GUR.js +75 -0
- package/dist/chunks/chunk.WQQF33MM.js +117 -0
- package/dist/chunks/chunk.WUPFC44E.js +25 -0
- package/dist/chunks/chunk.WUY3LQIT.js +46 -0
- package/dist/chunks/chunk.WW35BDZF.js +11 -0
- package/dist/chunks/chunk.WZUCFRNR.js +28 -0
- package/dist/chunks/chunk.X25VL6EN.js +21 -0
- package/dist/chunks/chunk.XFOT6PSZ.js +21 -0
- package/dist/chunks/chunk.XJCWQTAY.js +370 -0
- package/dist/chunks/chunk.XKRYR7C2.js +11 -0
- package/dist/chunks/chunk.XN6HXDDA.js +85 -0
- package/dist/chunks/chunk.XOLRLGIB.js +24 -0
- package/dist/chunks/chunk.Y4VQRJGR.js +11 -0
- package/dist/chunks/chunk.Y5ESJU2K.js +286 -0
- package/dist/chunks/chunk.YKHSLXCL.js +274 -0
- package/dist/chunks/chunk.YP5MP3RI.js +550 -0
- package/dist/chunks/chunk.YQ6HMBXN.js +28 -0
- package/dist/chunks/chunk.YSS6PQWE.js +21 -0
- package/dist/chunks/chunk.Z2CP2S43.js +11 -0
- package/dist/chunks/chunk.ZAVCCMCL.js +75 -0
- package/dist/chunks/chunk.ZDXHD2JA.js +24 -0
- package/dist/chunks/chunk.ZHV37UKQ.js +91 -0
- package/dist/chunks/chunk.ZJS7CYVN.js +21 -0
- package/dist/chunks/chunk.ZMC65GVN.js +178 -0
- package/dist/chunks/chunk.ZMYAXCMC.js +29 -0
- package/dist/chunks/chunk.ZPFMCIYD.js +247 -0
- package/dist/chunks/chunk.ZWCEEPTV.js +397 -0
- package/dist/components/alert/alert.component.js +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.component.js +7 -7
- package/dist/components/data-table/data-table.js +8 -8
- package/dist/components/data-table-column/data-table-column.component.d.ts +39 -0
- package/dist/components/data-table-column/data-table-column.component.js +9 -0
- package/dist/components/data-table-column/data-table-column.d.ts +8 -2
- package/dist/components/data-table-column/data-table-column.js +3 -3
- package/dist/components/date-picker/date-picker.component.js +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 +7 -7
- package/dist/components/drawer/drawer.js +8 -8
- 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.js +4 -4
- package/dist/components/logo/logo.js +5 -5
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +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/primary-navigation/primary-navigation.component.js +5 -5
- package/dist/components/primary-navigation/primary-navigation.js +6 -6
- package/dist/components/primary-navigation-item/primary-navigation-item.component.js +7 -7
- package/dist/components/primary-navigation-item/primary-navigation-item.js +8 -8
- package/dist/components/primary-navigation-menu/primary-navigation-menu.component.js +2 -2
- package/dist/components/primary-navigation-menu/primary-navigation-menu.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +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/secondary-navigation/secondary-navigation.component.d.ts +52 -0
- package/dist/components/secondary-navigation/secondary-navigation.component.js +21 -0
- package/dist/components/secondary-navigation/secondary-navigation.d.ts +8 -0
- package/dist/components/secondary-navigation/secondary-navigation.js +22 -0
- package/dist/components/secondary-navigation/secondary-navigation.styles.d.ts +2 -0
- package/dist/components/secondary-navigation/secondary-navigation.styles.js +7 -0
- package/dist/components/secondary-navigation-item/secondary-navigation-item.component.d.ts +29 -0
- package/dist/components/secondary-navigation-item/secondary-navigation-item.component.js +10 -0
- package/dist/components/secondary-navigation-item/secondary-navigation-item.d.ts +8 -0
- package/dist/components/secondary-navigation-item/secondary-navigation-item.js +11 -0
- package/dist/components/secondary-navigation-item/secondary-navigation-item.styles.d.ts +2 -0
- package/dist/components/secondary-navigation-item/secondary-navigation-item.styles.js +7 -0
- package/dist/components/select/select.component.js +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 +9 -9
- package/dist/components/tree/tree.js +10 -10
- 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 +1700 -1367
- package/dist/cw-elements.d.ts +3 -1
- package/dist/cw-elements.js +186 -174
- 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 +8 -8
- package/dist/react/data-table-column/index.d.ts +2 -2
- package/dist/react/data-table-column/index.js +3 -3
- package/dist/react/date-picker/index.js +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 +8 -8
- 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 +4 -2
- package/dist/react/index.js +199 -187
- package/dist/react/input/index.js +6 -6
- package/dist/react/logo/index.js +5 -5
- 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/primary-navigation/index.js +6 -6
- package/dist/react/primary-navigation-item/index.js +8 -8
- package/dist/react/primary-navigation-menu/index.js +3 -3
- 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/secondary-navigation/index.d.ts +22 -0
- package/dist/react/secondary-navigation/index.js +22 -0
- package/dist/react/secondary-navigation-item/index.d.ts +14 -0
- package/dist/react/secondary-navigation-item/index.js +11 -0
- package/dist/react/select/index.js +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 +10 -10
- 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 +2 -2
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fr.js +2 -2
- package/dist/translations/he.js +2 -2
- package/dist/translations/hu.js +2 -2
- package/dist/translations/ja.js +2 -2
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nn.js +2 -2
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pt.js +2 -2
- package/dist/translations/ru.js +2 -2
- package/dist/translations/sv.js +2 -2
- package/dist/translations/tr.js +2 -2
- package/dist/translations/uk.js +2 -2
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-tw.js +2 -2
- package/dist/types/vue/index.d.ts +171 -114
- package/dist/utilities/localize.d.ts +1 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +172 -113
- package/dist/web-types.json +401 -300
- package/package.json +1 -1
- package/cdn/chunks/chunk.25HC2TNX.js +0 -113
- package/cdn/chunks/chunk.2KVDB3GS.js +0 -186
- package/cdn/chunks/chunk.34HPBSDA.js +0 -11
- package/cdn/chunks/chunk.35R4VUT2.js +0 -21
- package/cdn/chunks/chunk.36WD7XXM.js +0 -147
- package/cdn/chunks/chunk.3B2I6H6O.js +0 -153
- package/cdn/chunks/chunk.3BNKKZRC.js +0 -11
- package/cdn/chunks/chunk.3SBB34SH.js +0 -11
- package/cdn/chunks/chunk.3TFHILX5.js +0 -25
- package/cdn/chunks/chunk.3ZEBFGMU.js +0 -218
- package/cdn/chunks/chunk.43Y4C6GV.js +0 -29
- package/cdn/chunks/chunk.4K4GPXQ6.js +0 -67
- package/cdn/chunks/chunk.4NAW3OK6.js +0 -28
- package/cdn/chunks/chunk.4PDN26IB.js +0 -21
- package/cdn/chunks/chunk.4VYBE7JV.js +0 -11
- package/cdn/chunks/chunk.55EOWGK7.js +0 -24
- package/cdn/chunks/chunk.5CBYJU7J.js +0 -402
- package/cdn/chunks/chunk.5EPARVAX.js +0 -103
- package/cdn/chunks/chunk.5G4WJTTM.js +0 -21
- package/cdn/chunks/chunk.5ICRUTWX.js +0 -1990
- package/cdn/chunks/chunk.5KLYF4UR.js +0 -25
- package/cdn/chunks/chunk.5NTO4ADB.js +0 -21
- package/cdn/chunks/chunk.5NXWAE6N.js +0 -11
- package/cdn/chunks/chunk.5TYLDWFE.js +0 -29
- package/cdn/chunks/chunk.663SYEXM.js +0 -27
- package/cdn/chunks/chunk.6ABNF3XX.js +0 -33
- package/cdn/chunks/chunk.6ACFVJIP.js +0 -24
- package/cdn/chunks/chunk.6BKROYI5.js +0 -236
- package/cdn/chunks/chunk.6VYMRJ5O.js +0 -21
- package/cdn/chunks/chunk.725PEUUS.js +0 -21
- package/cdn/chunks/chunk.75EFGFPQ.js +0 -11
- package/cdn/chunks/chunk.76CQI3EP.js +0 -11
- package/cdn/chunks/chunk.76LE24OF.js +0 -120
- package/cdn/chunks/chunk.7BYEDYOU.js +0 -49
- package/cdn/chunks/chunk.7XZ3Z5SS.js +0 -25
- package/cdn/chunks/chunk.A7UQKMR4.js +0 -299
- package/cdn/chunks/chunk.AFEQNT24.js +0 -11
- package/cdn/chunks/chunk.AHPAS322.js +0 -56
- package/cdn/chunks/chunk.AOZ7HEXC.js +0 -11
- package/cdn/chunks/chunk.AQA4AEJV.js +0 -11
- package/cdn/chunks/chunk.AQRXNCPR.js +0 -24
- package/cdn/chunks/chunk.AVFM4W6N.js +0 -279
- package/cdn/chunks/chunk.AWV2REMY.js +0 -821
- package/cdn/chunks/chunk.AYLSHETT.js +0 -82
- package/cdn/chunks/chunk.AZ74HJ56.js +0 -21
- package/cdn/chunks/chunk.AZIGJB6D.js +0 -26
- package/cdn/chunks/chunk.BDO27C2F.js +0 -50
- package/cdn/chunks/chunk.BFNUT3HZ.js +0 -346
- package/cdn/chunks/chunk.BOSGCMRO.js +0 -26
- package/cdn/chunks/chunk.BR6H6TKN.js +0 -27
- package/cdn/chunks/chunk.BZHO4PBI.js +0 -84
- package/cdn/chunks/chunk.C5ORLKR6.js +0 -27
- package/cdn/chunks/chunk.CCDQRK2F.js +0 -21
- package/cdn/chunks/chunk.CDQK3ZAN.js +0 -11
- package/cdn/chunks/chunk.CLSIJLPG.js +0 -25
- package/cdn/chunks/chunk.CS24FIPV.js +0 -21
- package/cdn/chunks/chunk.CUS2KS6G.js +0 -11
- package/cdn/chunks/chunk.CWOMG6XW.js +0 -33
- package/cdn/chunks/chunk.CXKRHPS3.js +0 -24
- package/cdn/chunks/chunk.CY4JWIVB.js +0 -844
- package/cdn/chunks/chunk.D2L5BZWI.js +0 -11
- package/cdn/chunks/chunk.DENJEQJ7.js +0 -11
- package/cdn/chunks/chunk.DO5JU7WR.js +0 -16
- package/cdn/chunks/chunk.DQHKJW6N.js +0 -21
- package/cdn/chunks/chunk.DRVXZJF3.js +0 -11
- package/cdn/chunks/chunk.DTYA6CQM.js +0 -11
- package/cdn/chunks/chunk.DWGHSRHI.js +0 -218
- package/cdn/chunks/chunk.E342SEX2.js +0 -120
- package/cdn/chunks/chunk.EYSJPUHK.js +0 -49
- package/cdn/chunks/chunk.F22SWSDH.js +0 -27
- package/cdn/chunks/chunk.F4UNXDJD.js +0 -21
- package/cdn/chunks/chunk.F7OG5JD6.js +0 -11
- package/cdn/chunks/chunk.FAZKZNDK.js +0 -28
- package/cdn/chunks/chunk.FHT4QAN7.js +0 -21
- package/cdn/chunks/chunk.FHYWLZZU.js +0 -21
- package/cdn/chunks/chunk.FJRLQBA7.js +0 -11
- package/cdn/chunks/chunk.FUQ2ZDNI.js +0 -11
- package/cdn/chunks/chunk.FWVJUBAE.js +0 -11
- package/cdn/chunks/chunk.G2BW7MR4.js +0 -11
- package/cdn/chunks/chunk.G3UW5CXJ.js +0 -142
- package/cdn/chunks/chunk.G7AE5CNU.js +0 -127
- package/cdn/chunks/chunk.GMYZSXMF.js +0 -11
- package/cdn/chunks/chunk.GT7BIDMW.js +0 -11
- package/cdn/chunks/chunk.GWJDEHLP.js +0 -11
- package/cdn/chunks/chunk.H4VA4XLS.js +0 -297
- package/cdn/chunks/chunk.HGD5NS2E.js +0 -11
- package/cdn/chunks/chunk.HTQRANNA.js +0 -11
- package/cdn/chunks/chunk.HZH4JGE7.js +0 -25
- package/cdn/chunks/chunk.I3W5I4J5.js +0 -36
- package/cdn/chunks/chunk.I6PAUBOR.js +0 -11
- package/cdn/chunks/chunk.I6XHF23Y.js +0 -267
- package/cdn/chunks/chunk.IEMP3YX7.js +0 -24
- package/cdn/chunks/chunk.IGJFAKDZ.js +0 -27
- package/cdn/chunks/chunk.IHDISX7L.js +0 -292
- package/cdn/chunks/chunk.IIISH2LC.js +0 -11
- package/cdn/chunks/chunk.IKNMXF6V.js +0 -455
- package/cdn/chunks/chunk.IQIMMSVX.js +0 -114
- package/cdn/chunks/chunk.IQSMFQMU.js +0 -25
- package/cdn/chunks/chunk.ITGKRJLW.js +0 -216
- package/cdn/chunks/chunk.IYCBDWMJ.js +0 -11
- package/cdn/chunks/chunk.IYZX2A4Y.js +0 -11
- package/cdn/chunks/chunk.JA4DEPYX.js +0 -11
- package/cdn/chunks/chunk.JAPWXLC7.js +0 -11
- package/cdn/chunks/chunk.JGKL4HCP.js +0 -378
- package/cdn/chunks/chunk.JHNOPOOW.js +0 -969
- package/cdn/chunks/chunk.JKUKZAIG.js +0 -11
- package/cdn/chunks/chunk.JOA42MIF.js +0 -95
- package/cdn/chunks/chunk.JPDT5M4J.js +0 -25
- package/cdn/chunks/chunk.JSYAC6FV.js +0 -11
- package/cdn/chunks/chunk.KPQAAY6W.js +0 -24
- package/cdn/chunks/chunk.KS6KQUFW.js +0 -574
- package/cdn/chunks/chunk.KUIP5OFB.js +0 -158
- package/cdn/chunks/chunk.KXOHYTZG.js +0 -1925
- package/cdn/chunks/chunk.KXQ47DFE.js +0 -75
- package/cdn/chunks/chunk.KY6LWMAI.js +0 -24
- package/cdn/chunks/chunk.L4NRGK6Y.js +0 -24
- package/cdn/chunks/chunk.L6KFDSL6.js +0 -122
- package/cdn/chunks/chunk.L7HKK6HO.js +0 -24
- package/cdn/chunks/chunk.LWQIUDKF.js +0 -11
- package/cdn/chunks/chunk.M3GEZ7UC.js +0 -63
- package/cdn/chunks/chunk.M73T25KG.js +0 -135
- package/cdn/chunks/chunk.MG5GOYVO.js +0 -11
- package/cdn/chunks/chunk.MTBWWDRM.js +0 -87
- package/cdn/chunks/chunk.MXR7SE2S.js +0 -11
- package/cdn/chunks/chunk.MY6RFJNR.js +0 -314
- package/cdn/chunks/chunk.MZJMZIWX.js +0 -11
- package/cdn/chunks/chunk.N2UZJMC5.js +0 -11
- package/cdn/chunks/chunk.N3CDMXUS.js +0 -11
- package/cdn/chunks/chunk.NGKGH4WU.js +0 -21
- package/cdn/chunks/chunk.NIBXSKQN.js +0 -28
- package/cdn/chunks/chunk.NLQWXNUN.js +0 -33
- package/cdn/chunks/chunk.NP52EMOC.js +0 -233
- package/cdn/chunks/chunk.NRJRENXP.js +0 -291
- package/cdn/chunks/chunk.NWZYBWST.js +0 -26
- package/cdn/chunks/chunk.NXO7B7YH.js +0 -11
- package/cdn/chunks/chunk.NZ3T2D5G.js +0 -11
- package/cdn/chunks/chunk.NZPOHI3I.js +0 -11
- package/cdn/chunks/chunk.O6GQCEGL.js +0 -93
- package/cdn/chunks/chunk.ODF5BWXM.js +0 -21
- package/cdn/chunks/chunk.OGICRR7X.js +0 -11
- package/cdn/chunks/chunk.OGRFZ52L.js +0 -11
- package/cdn/chunks/chunk.OKP43IGW.js +0 -137
- package/cdn/chunks/chunk.OKUIU27O.js +0 -11
- package/cdn/chunks/chunk.OL4WGM7S.js +0 -24
- package/cdn/chunks/chunk.OQNOYS6X.js +0 -11
- package/cdn/chunks/chunk.OVRV5B3A.js +0 -27
- package/cdn/chunks/chunk.OWS2QLSV.js +0 -499
- package/cdn/chunks/chunk.OZCBAAOA.js +0 -21
- package/cdn/chunks/chunk.PCCWSJ2O.js +0 -21
- package/cdn/chunks/chunk.PTEZRLQP.js +0 -11
- package/cdn/chunks/chunk.PTYGQ7ZB.js +0 -11
- package/cdn/chunks/chunk.PW7HCE7U.js +0 -24
- package/cdn/chunks/chunk.PYONQE2S.js +0 -21
- package/cdn/chunks/chunk.PYU57BWN.js +0 -21
- package/cdn/chunks/chunk.Q2DSJ2BM.js +0 -11
- package/cdn/chunks/chunk.Q3UNKI7R.js +0 -21
- package/cdn/chunks/chunk.Q7CNVANF.js +0 -11
- package/cdn/chunks/chunk.QIFA3KY7.js +0 -11
- package/cdn/chunks/chunk.QKYCMJFP.js +0 -24
- package/cdn/chunks/chunk.QPATQWD7.js +0 -11
- package/cdn/chunks/chunk.QUTMUPOY.js +0 -11
- package/cdn/chunks/chunk.R55LTCNM.js +0 -97
- package/cdn/chunks/chunk.RBX3DUMR.js +0 -174
- package/cdn/chunks/chunk.RG3YG3GV.js +0 -25
- package/cdn/chunks/chunk.RHXL3QRR.js +0 -24
- package/cdn/chunks/chunk.RW2TEVKY.js +0 -26
- package/cdn/chunks/chunk.SAHNSFLV.js +0 -391
- package/cdn/chunks/chunk.SBOM6WSN.js +0 -73
- package/cdn/chunks/chunk.TBCUDDWG.js +0 -385
- package/cdn/chunks/chunk.TEP7XNVE.js +0 -11
- package/cdn/chunks/chunk.TMEAO2OG.js +0 -79
- package/cdn/chunks/chunk.TOVMVKDL.js +0 -255
- package/cdn/chunks/chunk.TVFGC6CM.js +0 -11
- package/cdn/chunks/chunk.TXSWUFZ3.js +0 -11
- package/cdn/chunks/chunk.U3Z423K2.js +0 -11
- package/cdn/chunks/chunk.UF7A72JX.js +0 -11
- package/cdn/chunks/chunk.UGJSCMRG.js +0 -29
- package/cdn/chunks/chunk.UQ2DOY26.js +0 -42
- package/cdn/chunks/chunk.V2TFR3DD.js +0 -11
- package/cdn/chunks/chunk.V6CDFEOP.js +0 -11
- package/cdn/chunks/chunk.VL2ZMD4X.js +0 -77
- package/cdn/chunks/chunk.VPJPF5P6.js +0 -27
- package/cdn/chunks/chunk.VVHFNAY7.js +0 -11
- package/cdn/chunks/chunk.VZ7LRB2U.js +0 -197
- package/cdn/chunks/chunk.W7JFXHIS.js +0 -336
- package/cdn/chunks/chunk.WHDHDJDE.js +0 -11
- package/cdn/chunks/chunk.WOGEMA6X.js +0 -33
- package/cdn/chunks/chunk.X2JJRHAH.js +0 -724
- package/cdn/chunks/chunk.X3J7EYYG.js +0 -21
- package/cdn/chunks/chunk.X3LSISEE.js +0 -29
- package/cdn/chunks/chunk.XCO3IFMI.js +0 -11
- package/cdn/chunks/chunk.XELVJGWR.js +0 -11
- package/cdn/chunks/chunk.XGCPMOS3.js +0 -21
- package/cdn/chunks/chunk.XICAG7IT.js +0 -302
- package/cdn/chunks/chunk.XJUUYEA5.js +0 -28
- package/cdn/chunks/chunk.XM3PHTJA.js +0 -904
- package/cdn/chunks/chunk.Y2BWUMNR.js +0 -11
- package/cdn/chunks/chunk.Y2XG2IOB.js +0 -114
- package/cdn/chunks/chunk.Y3ND3X6R.js +0 -28
- package/cdn/chunks/chunk.YB5XWX2N.js +0 -11
- package/cdn/chunks/chunk.Z5ZS2BBT.js +0 -25
- package/cdn/chunks/chunk.Z62K6DFZ.js +0 -28
- package/cdn/chunks/chunk.Z6ZIZS2Y.js +0 -21
- package/cdn/chunks/chunk.ZKSMCS2T.js +0 -367
- package/cdn/chunks/chunk.ZSVDAYLS.js +0 -24
- package/cdn/chunks/chunk.ZWDPSLNT.js +0 -11
- package/cdn/chunks/chunk.ZZTG2S7G.js +0 -21
- package/cdn/components/data-table/data-table-column.component.d.ts +0 -39
- package/cdn/components/data-table/data-table-column.component.js +0 -10
- package/cdn/components/data-table/data-table-column.d.ts +0 -8
- package/cdn/components/data-table/data-table-column.js +0 -11
- package/cdn/components/data-table/define/cw-data-table-column.d.ts +0 -8
- package/cdn/components/data-table/define/cw-data-table-column.js +0 -14
- package/dist/chunks/chunk.24V5JLSY.js +0 -22
- package/dist/chunks/chunk.25MDAAX7.js +0 -11
- package/dist/chunks/chunk.2H3D3OJG.js +0 -29
- package/dist/chunks/chunk.2IJWIQYP.js +0 -11
- package/dist/chunks/chunk.2NGUOJQ2.js +0 -109
- package/dist/chunks/chunk.2O4KPUYD.js +0 -11
- package/dist/chunks/chunk.2PC4KE4M.js +0 -170
- package/dist/chunks/chunk.2XIMM6GP.js +0 -11
- package/dist/chunks/chunk.32VLMCC4.js +0 -45
- package/dist/chunks/chunk.35EDZZ4U.js +0 -24
- package/dist/chunks/chunk.3J24TNFK.js +0 -82
- package/dist/chunks/chunk.3WHQ6WL7.js +0 -26
- package/dist/chunks/chunk.456GZGXR.js +0 -21
- package/dist/chunks/chunk.46I35JVG.js +0 -11
- package/dist/chunks/chunk.46XEZ73Z.js +0 -11
- package/dist/chunks/chunk.47CTIY27.js +0 -53
- package/dist/chunks/chunk.4AVVOWVX.js +0 -33
- package/dist/chunks/chunk.4KKGULDM.js +0 -75
- package/dist/chunks/chunk.4R2Z3PR2.js +0 -11
- package/dist/chunks/chunk.54ZYAOKB.js +0 -100
- package/dist/chunks/chunk.564J5FVI.js +0 -231
- package/dist/chunks/chunk.5CWGKPUK.js +0 -21
- package/dist/chunks/chunk.5GTO6ATC.js +0 -11
- package/dist/chunks/chunk.5L2Q4NDI.js +0 -259
- package/dist/chunks/chunk.5P7CDNRJ.js +0 -11
- package/dist/chunks/chunk.5PRFL3SZ.js +0 -116
- package/dist/chunks/chunk.5PTFHNC6.js +0 -21
- package/dist/chunks/chunk.5SDTSGQR.js +0 -11
- package/dist/chunks/chunk.5ZPPSILE.js +0 -24
- package/dist/chunks/chunk.63WCUPKC.js +0 -11
- package/dist/chunks/chunk.67DYIAZ4.js +0 -29
- package/dist/chunks/chunk.6A25KQEH.js +0 -11
- package/dist/chunks/chunk.6DNKLOX5.js +0 -397
- package/dist/chunks/chunk.6IRQ4MLQ.js +0 -24
- package/dist/chunks/chunk.6OD3P3GY.js +0 -11
- package/dist/chunks/chunk.6R2MX2II.js +0 -29
- package/dist/chunks/chunk.6RXO67Z3.js +0 -11
- package/dist/chunks/chunk.6TNKOIDC.js +0 -294
- package/dist/chunks/chunk.6WC7EWFU.js +0 -11
- package/dist/chunks/chunk.6YIANGUI.js +0 -24
- package/dist/chunks/chunk.73S5Z2IL.js +0 -63
- package/dist/chunks/chunk.746GMAQ3.js +0 -15
- package/dist/chunks/chunk.7E72G3C2.js +0 -247
- package/dist/chunks/chunk.7F3FLHWU.js +0 -93
- package/dist/chunks/chunk.7HXSMNBI.js +0 -21
- package/dist/chunks/chunk.7N5BSNPL.js +0 -25
- package/dist/chunks/chunk.7PC6U4ZK.js +0 -109
- package/dist/chunks/chunk.7S6GV6HW.js +0 -293
- package/dist/chunks/chunk.7VQDJNZ4.js +0 -24
- package/dist/chunks/chunk.A3NQWEUU.js +0 -138
- package/dist/chunks/chunk.A4A56CXT.js +0 -27
- package/dist/chunks/chunk.AM3AAGTK.js +0 -212
- package/dist/chunks/chunk.ARESZPGS.js +0 -28
- package/dist/chunks/chunk.ARLMYVMZ.js +0 -21
- package/dist/chunks/chunk.AUAEXEBG.js +0 -117
- package/dist/chunks/chunk.AZMW2USQ.js +0 -337
- package/dist/chunks/chunk.AZSINXRG.js +0 -24
- package/dist/chunks/chunk.B2RFSKQC.js +0 -26
- package/dist/chunks/chunk.B4K45YXB.js +0 -25
- package/dist/chunks/chunk.BBZVPAPU.js +0 -21
- package/dist/chunks/chunk.BJRCPJTT.js +0 -85
- package/dist/chunks/chunk.BRSHVZF4.js +0 -24
- package/dist/chunks/chunk.BRULING5.js +0 -274
- package/dist/chunks/chunk.BS5MKC2V.js +0 -28
- package/dist/chunks/chunk.BXM7IW7U.js +0 -11
- package/dist/chunks/chunk.BZB7767D.js +0 -24
- package/dist/chunks/chunk.C5U4L55P.js +0 -192
- package/dist/chunks/chunk.CL3PICXW.js +0 -11
- package/dist/chunks/chunk.CNCMOYJ3.js +0 -59
- package/dist/chunks/chunk.CWEGIW7H.js +0 -11
- package/dist/chunks/chunk.CYBV247K.js +0 -375
- package/dist/chunks/chunk.CYIS2LIK.js +0 -21
- package/dist/chunks/chunk.DB65HO54.js +0 -11
- package/dist/chunks/chunk.DDILNMIS.js +0 -25
- package/dist/chunks/chunk.DJ47HHDT.js +0 -11
- package/dist/chunks/chunk.DKNFFG5N.js +0 -21
- package/dist/chunks/chunk.DSXHSFND.js +0 -417
- package/dist/chunks/chunk.DUHFQC5S.js +0 -11
- package/dist/chunks/chunk.DXEKWMYK.js +0 -94
- package/dist/chunks/chunk.E5F6IPBT.js +0 -21
- package/dist/chunks/chunk.E5KLQVU6.js +0 -135
- package/dist/chunks/chunk.EDNK7SY6.js +0 -11
- package/dist/chunks/chunk.EPZSIX5O.js +0 -73
- package/dist/chunks/chunk.EVIDG6GS.js +0 -90
- package/dist/chunks/chunk.EVURTA7J.js +0 -50
- package/dist/chunks/chunk.EYMNXHXD.js +0 -227
- package/dist/chunks/chunk.F6IW7SUG.js +0 -28
- package/dist/chunks/chunk.FGLLASPY.js +0 -11
- package/dist/chunks/chunk.FNCCMHFT.js +0 -33
- package/dist/chunks/chunk.FRRK3ONV.js +0 -21
- package/dist/chunks/chunk.GGY6MFM6.js +0 -11
- package/dist/chunks/chunk.GHPJSGNF.js +0 -11
- package/dist/chunks/chunk.GI2EZWPT.js +0 -28
- package/dist/chunks/chunk.GO3Y5OMD.js +0 -11
- package/dist/chunks/chunk.GOTHSXUS.js +0 -11
- package/dist/chunks/chunk.GQOQKYZ5.js +0 -24
- package/dist/chunks/chunk.GYTXGGUB.js +0 -21
- package/dist/chunks/chunk.H5ST3L7Q.js +0 -25
- package/dist/chunks/chunk.HBZROAKX.js +0 -370
- package/dist/chunks/chunk.HWPEN73P.js +0 -550
- package/dist/chunks/chunk.HWQYGFIK.js +0 -21
- package/dist/chunks/chunk.HY3LHQRE.js +0 -11
- package/dist/chunks/chunk.I2XAUDCU.js +0 -25
- package/dist/chunks/chunk.I5QGNKDV.js +0 -11
- package/dist/chunks/chunk.IGUWUPBR.js +0 -384
- package/dist/chunks/chunk.IIT5OLA3.js +0 -11
- package/dist/chunks/chunk.IR6SOYX7.js +0 -67
- package/dist/chunks/chunk.IXHTATEG.js +0 -11
- package/dist/chunks/chunk.IYE53CH6.js +0 -27
- package/dist/chunks/chunk.IYZ2ZODF.js +0 -11
- package/dist/chunks/chunk.JNEAVIDA.js +0 -80
- package/dist/chunks/chunk.KCT44LWB.js +0 -27
- package/dist/chunks/chunk.KG2Q6ZEU.js +0 -24
- package/dist/chunks/chunk.KKAVIJ7F.js +0 -100
- package/dist/chunks/chunk.KLUVQHIC.js +0 -151
- package/dist/chunks/chunk.KQQEEG63.js +0 -315
- package/dist/chunks/chunk.KTKPJPFF.js +0 -21
- package/dist/chunks/chunk.KWS7E2DY.js +0 -25
- package/dist/chunks/chunk.L26CEFTR.js +0 -11
- package/dist/chunks/chunk.L3EOK5SZ.js +0 -119
- package/dist/chunks/chunk.LH7BCCX2.js +0 -11
- package/dist/chunks/chunk.LJ7QTRR3.js +0 -11
- package/dist/chunks/chunk.LV24GA5E.js +0 -837
- package/dist/chunks/chunk.M3GNJW4O.js +0 -448
- package/dist/chunks/chunk.M6LPTVBO.js +0 -11
- package/dist/chunks/chunk.MA4ZXLMA.js +0 -134
- package/dist/chunks/chunk.MASRUHI2.js +0 -11
- package/dist/chunks/chunk.MBEKBBTL.js +0 -11
- package/dist/chunks/chunk.MEMNH575.js +0 -115
- package/dist/chunks/chunk.MH7RJZQS.js +0 -29
- package/dist/chunks/chunk.MRIUGY3Y.js +0 -11
- package/dist/chunks/chunk.MXGNQPCP.js +0 -21
- package/dist/chunks/chunk.N23CSDVQ.js +0 -11
- package/dist/chunks/chunk.N5X6HP3H.js +0 -27
- package/dist/chunks/chunk.NCCNTTVP.js +0 -491
- package/dist/chunks/chunk.ND4VKQAR.js +0 -11
- package/dist/chunks/chunk.NEHR5VYL.js +0 -181
- package/dist/chunks/chunk.O7AMDMYT.js +0 -21
- package/dist/chunks/chunk.O7SVFROZ.js +0 -91
- package/dist/chunks/chunk.OJLUK4YJ.js +0 -11
- package/dist/chunks/chunk.OJNI45LH.js +0 -24
- package/dist/chunks/chunk.OM6CJ7RY.js +0 -21
- package/dist/chunks/chunk.P354YNEK.js +0 -280
- package/dist/chunks/chunk.P7EINVQN.js +0 -949
- package/dist/chunks/chunk.PEORTZKS.js +0 -26
- package/dist/chunks/chunk.PIJXZI4W.js +0 -25
- package/dist/chunks/chunk.PIRLZVAL.js +0 -21
- package/dist/chunks/chunk.PJOP4OO3.js +0 -311
- package/dist/chunks/chunk.PNQA5AXL.js +0 -11
- package/dist/chunks/chunk.Q24JKOGO.js +0 -21
- package/dist/chunks/chunk.Q76AOV4W.js +0 -11
- package/dist/chunks/chunk.QD4NWSGB.js +0 -213
- package/dist/chunks/chunk.QDJMQSR2.js +0 -11
- package/dist/chunks/chunk.QJEYTSGQ.js +0 -11
- package/dist/chunks/chunk.QNBEBQZU.js +0 -11
- package/dist/chunks/chunk.QO6FFSCW.js +0 -11
- package/dist/chunks/chunk.QOBXBQKG.js +0 -27
- package/dist/chunks/chunk.QTMEDT7S.js +0 -27
- package/dist/chunks/chunk.QTU7CGDI.js +0 -34
- package/dist/chunks/chunk.QWWVEOHJ.js +0 -24
- package/dist/chunks/chunk.RTFTWROR.js +0 -33
- package/dist/chunks/chunk.RVGKEHHX.js +0 -22
- package/dist/chunks/chunk.S6C3O4ZK.js +0 -21
- package/dist/chunks/chunk.S73VW3BW.js +0 -21
- package/dist/chunks/chunk.SFCRZSHE.js +0 -11
- package/dist/chunks/chunk.SYV2RXBI.js +0 -75
- package/dist/chunks/chunk.T3YPUGMG.js +0 -45
- package/dist/chunks/chunk.T7HJK4I5.js +0 -896
- package/dist/chunks/chunk.TDLAABKV.js +0 -11
- package/dist/chunks/chunk.THGTTXRL.js +0 -33
- package/dist/chunks/chunk.TSCM7YYI.js +0 -42
- package/dist/chunks/chunk.TY6BUWX3.js +0 -11
- package/dist/chunks/chunk.U3E4A4DD.js +0 -11
- package/dist/chunks/chunk.U73BRXUL.js +0 -11
- package/dist/chunks/chunk.UB5YLTZD.js +0 -11
- package/dist/chunks/chunk.UIAV3XAS.js +0 -111
- package/dist/chunks/chunk.ULZE75JH.js +0 -11
- package/dist/chunks/chunk.UW5CYJSJ.js +0 -11
- package/dist/chunks/chunk.V6EL5MTL.js +0 -25
- package/dist/chunks/chunk.VNN6ADT4.js +0 -11
- package/dist/chunks/chunk.VR622E3R.js +0 -126
- package/dist/chunks/chunk.W2WQ63A6.js +0 -11
- package/dist/chunks/chunk.W66MLEV6.js +0 -26
- package/dist/chunks/chunk.WALMX3ZP.js +0 -42
- package/dist/chunks/chunk.WBMJLEWH.js +0 -11
- package/dist/chunks/chunk.WGIVDA4B.js +0 -361
- package/dist/chunks/chunk.WKCCAX7X.js +0 -11
- package/dist/chunks/chunk.XBITRFIS.js +0 -290
- package/dist/chunks/chunk.XKSPHC6B.js +0 -11
- package/dist/chunks/chunk.XLSHNTSC.js +0 -21
- package/dist/chunks/chunk.XOXHQ24F.js +0 -11
- package/dist/chunks/chunk.XSUMCUUV.js +0 -813
- package/dist/chunks/chunk.XWG46CFQ.js +0 -11
- package/dist/chunks/chunk.XZR2P4EL.js +0 -11
- package/dist/chunks/chunk.Y27MKK7H.js +0 -11
- package/dist/chunks/chunk.Y3NPADW4.js +0 -28
- package/dist/chunks/chunk.Y5HUVIMJ.js +0 -26
- package/dist/chunks/chunk.Y6KO5DPP.js +0 -11
- package/dist/chunks/chunk.Y7MLK7XY.js +0 -961
- package/dist/chunks/chunk.YD3LMWW2.js +0 -147
- package/dist/chunks/chunk.YYUA6DF2.js +0 -21
- package/dist/chunks/chunk.ZFABPK2P.js +0 -25
- package/dist/chunks/chunk.ZH4GBWQA.js +0 -25
- package/dist/chunks/chunk.ZMUBKI6T.js +0 -286
- package/dist/chunks/chunk.ZNH7GH4D.js +0 -11
- package/dist/chunks/chunk.ZRSEGYLN.js +0 -21
- package/dist/chunks/chunk.ZSEBJY7D.js +0 -21
- package/dist/chunks/chunk.ZU5BP6F6.js +0 -11
- package/dist/components/data-table/data-table-column.component.d.ts +0 -39
- package/dist/components/data-table/data-table-column.component.js +0 -9
- package/dist/components/data-table/data-table-column.d.ts +0 -8
- package/dist/components/data-table/data-table-column.js +0 -10
- package/dist/components/data-table/define/cw-data-table-column.d.ts +0 -8
- package/dist/components/data-table/define/cw-data-table-column.js +0 -13
|
@@ -0,0 +1,821 @@
|
|
|
1
|
+
import {
|
|
2
|
+
select_styles_default
|
|
3
|
+
} from "./chunk.MVBJNUAB.js";
|
|
4
|
+
import {
|
|
5
|
+
CwTag
|
|
6
|
+
} from "./chunk.EGCD4LGL.js";
|
|
7
|
+
import {
|
|
8
|
+
o
|
|
9
|
+
} from "./chunk.G4QG77C5.js";
|
|
10
|
+
import {
|
|
11
|
+
scrollIntoView
|
|
12
|
+
} from "./chunk.PH2N3MLE.js";
|
|
13
|
+
import {
|
|
14
|
+
CwPopup
|
|
15
|
+
} from "./chunk.NWWBD2UI.js";
|
|
16
|
+
import {
|
|
17
|
+
form_control_styles_default
|
|
18
|
+
} from "./chunk.DJVND463.js";
|
|
19
|
+
import {
|
|
20
|
+
FormControlController
|
|
21
|
+
} from "./chunk.FIVNGT4O.js";
|
|
22
|
+
import {
|
|
23
|
+
getAnimation,
|
|
24
|
+
setDefaultAnimation
|
|
25
|
+
} from "./chunk.JSLXCIMZ.js";
|
|
26
|
+
import {
|
|
27
|
+
waitForEvent
|
|
28
|
+
} from "./chunk.B4BZKR24.js";
|
|
29
|
+
import {
|
|
30
|
+
animateTo,
|
|
31
|
+
stopAnimations
|
|
32
|
+
} from "./chunk.3CTNMS55.js";
|
|
33
|
+
import {
|
|
34
|
+
LocalizeController
|
|
35
|
+
} from "./chunk.RJM4Q2BU.js";
|
|
36
|
+
import {
|
|
37
|
+
HasSlotController
|
|
38
|
+
} from "./chunk.BVGZUUCX.js";
|
|
39
|
+
import {
|
|
40
|
+
e
|
|
41
|
+
} from "./chunk.VBR4VS53.js";
|
|
42
|
+
import {
|
|
43
|
+
CwIcon
|
|
44
|
+
} from "./chunk.D5DMNQ2B.js";
|
|
45
|
+
import {
|
|
46
|
+
watch
|
|
47
|
+
} from "./chunk.RB5L7E7Z.js";
|
|
48
|
+
import {
|
|
49
|
+
component_styles_default
|
|
50
|
+
} from "./chunk.NJIHXHXI.js";
|
|
51
|
+
import {
|
|
52
|
+
CwElement,
|
|
53
|
+
e as e2,
|
|
54
|
+
n,
|
|
55
|
+
r
|
|
56
|
+
} from "./chunk.ASUHMZ5Z.js";
|
|
57
|
+
import {
|
|
58
|
+
b
|
|
59
|
+
} from "./chunk.6A2LG33L.js";
|
|
60
|
+
import {
|
|
61
|
+
__decorateClass
|
|
62
|
+
} from "./chunk.QIOX6AG5.js";
|
|
63
|
+
|
|
64
|
+
// src/components/select/select.component.ts
|
|
65
|
+
var CwSelect = class extends CwElement {
|
|
66
|
+
constructor() {
|
|
67
|
+
super(...arguments);
|
|
68
|
+
this.formControlController = new FormControlController(this, {
|
|
69
|
+
assumeInteractionOn: ["cw-blur", "cw-input"]
|
|
70
|
+
});
|
|
71
|
+
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
72
|
+
this.localize = new LocalizeController(this);
|
|
73
|
+
this.typeToSelectString = "";
|
|
74
|
+
this.hasFocus = false;
|
|
75
|
+
this.displayLabel = "";
|
|
76
|
+
this.selectedOptions = [];
|
|
77
|
+
this.valueHasChanged = false;
|
|
78
|
+
this.name = "";
|
|
79
|
+
this._value = "";
|
|
80
|
+
this.defaultValue = "";
|
|
81
|
+
this.size = "medium";
|
|
82
|
+
this.placeholder = "";
|
|
83
|
+
this.multiple = false;
|
|
84
|
+
this.maxOptionsVisible = 3;
|
|
85
|
+
this.disabled = false;
|
|
86
|
+
this.clearable = false;
|
|
87
|
+
this.open = false;
|
|
88
|
+
this.hoist = false;
|
|
89
|
+
this.filled = false;
|
|
90
|
+
this.pill = false;
|
|
91
|
+
this.label = "";
|
|
92
|
+
this.placement = "bottom";
|
|
93
|
+
this.helpText = "";
|
|
94
|
+
this.form = "";
|
|
95
|
+
this.required = false;
|
|
96
|
+
this.getTag = (option) => {
|
|
97
|
+
return b`
|
|
98
|
+
<cw-tag
|
|
99
|
+
part="tag"
|
|
100
|
+
exportparts="
|
|
101
|
+
base:tag__base,
|
|
102
|
+
content:tag__content,
|
|
103
|
+
remove-button:tag__remove-button,
|
|
104
|
+
remove-button__base:tag__remove-button__base
|
|
105
|
+
"
|
|
106
|
+
?pill=${this.pill}
|
|
107
|
+
size=${this.size}
|
|
108
|
+
removable
|
|
109
|
+
@cw-remove=${(event) => this.handleTagRemove(event, option)}
|
|
110
|
+
>
|
|
111
|
+
${option.getTextLabel()}
|
|
112
|
+
</cw-tag>
|
|
113
|
+
`;
|
|
114
|
+
};
|
|
115
|
+
this.handleDocumentFocusIn = (event) => {
|
|
116
|
+
const path = event.composedPath();
|
|
117
|
+
if (this && !path.includes(this)) {
|
|
118
|
+
this.hide();
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
this.handleDocumentKeyDown = (event) => {
|
|
122
|
+
const target = event.target;
|
|
123
|
+
const isClearButton = target.closest(".select__clear") !== null;
|
|
124
|
+
const isIconButton = target.closest("cw-icon-button") !== null;
|
|
125
|
+
if (isClearButton || isIconButton) {
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
if (event.key === "Escape" && this.open && !this.closeWatcher) {
|
|
129
|
+
event.preventDefault();
|
|
130
|
+
event.stopPropagation();
|
|
131
|
+
this.hide();
|
|
132
|
+
this.displayInput.focus({ preventScroll: true });
|
|
133
|
+
}
|
|
134
|
+
if (event.key === "Enter" || event.key === " " && this.typeToSelectString === "") {
|
|
135
|
+
event.preventDefault();
|
|
136
|
+
event.stopImmediatePropagation();
|
|
137
|
+
if (!this.open) {
|
|
138
|
+
this.show();
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
if (this.currentOption && !this.currentOption.disabled) {
|
|
142
|
+
this.valueHasChanged = true;
|
|
143
|
+
if (this.multiple) {
|
|
144
|
+
this.toggleOptionSelection(this.currentOption);
|
|
145
|
+
} else {
|
|
146
|
+
this.setSelectedOptions(this.currentOption);
|
|
147
|
+
}
|
|
148
|
+
this.updateComplete.then(() => {
|
|
149
|
+
this.emit("cw-input");
|
|
150
|
+
this.emit("cw-change");
|
|
151
|
+
});
|
|
152
|
+
if (!this.multiple) {
|
|
153
|
+
this.hide();
|
|
154
|
+
this.displayInput.focus({ preventScroll: true });
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
159
|
+
if (["ArrowUp", "ArrowDown", "Home", "End"].includes(event.key)) {
|
|
160
|
+
const allOptions = this.getAllOptions();
|
|
161
|
+
const currentIndex = allOptions.indexOf(this.currentOption);
|
|
162
|
+
let newIndex = Math.max(0, currentIndex);
|
|
163
|
+
event.preventDefault();
|
|
164
|
+
if (!this.open) {
|
|
165
|
+
this.show();
|
|
166
|
+
if (this.currentOption) {
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
if (event.key === "ArrowDown") {
|
|
171
|
+
newIndex = currentIndex + 1;
|
|
172
|
+
if (newIndex > allOptions.length - 1) newIndex = 0;
|
|
173
|
+
} else if (event.key === "ArrowUp") {
|
|
174
|
+
newIndex = currentIndex - 1;
|
|
175
|
+
if (newIndex < 0) newIndex = allOptions.length - 1;
|
|
176
|
+
} else if (event.key === "Home") {
|
|
177
|
+
newIndex = 0;
|
|
178
|
+
} else if (event.key === "End") {
|
|
179
|
+
newIndex = allOptions.length - 1;
|
|
180
|
+
}
|
|
181
|
+
this.setCurrentOption(allOptions[newIndex]);
|
|
182
|
+
}
|
|
183
|
+
if (event.key && event.key.length === 1 || event.key === "Backspace") {
|
|
184
|
+
const allOptions = this.getAllOptions();
|
|
185
|
+
if (event.metaKey || event.ctrlKey || event.altKey) {
|
|
186
|
+
return;
|
|
187
|
+
}
|
|
188
|
+
if (!this.open) {
|
|
189
|
+
if (event.key === "Backspace") {
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
this.show();
|
|
193
|
+
}
|
|
194
|
+
event.stopPropagation();
|
|
195
|
+
event.preventDefault();
|
|
196
|
+
clearTimeout(this.typeToSelectTimeout);
|
|
197
|
+
this.typeToSelectTimeout = window.setTimeout(() => this.typeToSelectString = "", 1e3);
|
|
198
|
+
if (event.key === "Backspace") {
|
|
199
|
+
this.typeToSelectString = this.typeToSelectString.slice(0, -1);
|
|
200
|
+
} else {
|
|
201
|
+
this.typeToSelectString += event.key.toLowerCase();
|
|
202
|
+
}
|
|
203
|
+
for (const option of allOptions) {
|
|
204
|
+
const label = option.getTextLabel().toLowerCase();
|
|
205
|
+
if (label.startsWith(this.typeToSelectString)) {
|
|
206
|
+
this.setCurrentOption(option);
|
|
207
|
+
break;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
this.handleDocumentMouseDown = (event) => {
|
|
213
|
+
const path = event.composedPath();
|
|
214
|
+
if (this && !path.includes(this)) {
|
|
215
|
+
this.hide();
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
get value() {
|
|
220
|
+
return this._value;
|
|
221
|
+
}
|
|
222
|
+
set value(val) {
|
|
223
|
+
if (this.multiple) {
|
|
224
|
+
val = Array.isArray(val) ? val : val.split(" ");
|
|
225
|
+
} else {
|
|
226
|
+
val = Array.isArray(val) ? val.join(" ") : val;
|
|
227
|
+
}
|
|
228
|
+
if (this._value === val) {
|
|
229
|
+
return;
|
|
230
|
+
}
|
|
231
|
+
this.valueHasChanged = true;
|
|
232
|
+
this._value = val;
|
|
233
|
+
}
|
|
234
|
+
/** Gets the validity state object */
|
|
235
|
+
get validity() {
|
|
236
|
+
return this.valueInput.validity;
|
|
237
|
+
}
|
|
238
|
+
/** Gets the validation message */
|
|
239
|
+
get validationMessage() {
|
|
240
|
+
return this.valueInput.validationMessage;
|
|
241
|
+
}
|
|
242
|
+
connectedCallback() {
|
|
243
|
+
super.connectedCallback();
|
|
244
|
+
setTimeout(() => {
|
|
245
|
+
this.handleDefaultSlotChange();
|
|
246
|
+
});
|
|
247
|
+
this.open = false;
|
|
248
|
+
}
|
|
249
|
+
addOpenListeners() {
|
|
250
|
+
var _a;
|
|
251
|
+
document.addEventListener("focusin", this.handleDocumentFocusIn);
|
|
252
|
+
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
253
|
+
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
254
|
+
if (this.getRootNode() !== document) {
|
|
255
|
+
this.getRootNode().addEventListener("focusin", this.handleDocumentFocusIn);
|
|
256
|
+
}
|
|
257
|
+
if ("CloseWatcher" in window) {
|
|
258
|
+
(_a = this.closeWatcher) == null ? void 0 : _a.destroy();
|
|
259
|
+
this.closeWatcher = new CloseWatcher();
|
|
260
|
+
this.closeWatcher.onclose = () => {
|
|
261
|
+
if (this.open) {
|
|
262
|
+
this.hide();
|
|
263
|
+
this.displayInput.focus({ preventScroll: true });
|
|
264
|
+
}
|
|
265
|
+
};
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
removeOpenListeners() {
|
|
269
|
+
var _a;
|
|
270
|
+
document.removeEventListener("focusin", this.handleDocumentFocusIn);
|
|
271
|
+
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
272
|
+
document.removeEventListener("mousedown", this.handleDocumentMouseDown);
|
|
273
|
+
if (this.getRootNode() !== document) {
|
|
274
|
+
this.getRootNode().removeEventListener("focusin", this.handleDocumentFocusIn);
|
|
275
|
+
}
|
|
276
|
+
(_a = this.closeWatcher) == null ? void 0 : _a.destroy();
|
|
277
|
+
}
|
|
278
|
+
handleFocus() {
|
|
279
|
+
this.hasFocus = true;
|
|
280
|
+
this.displayInput.setSelectionRange(0, 0);
|
|
281
|
+
this.emit("cw-focus");
|
|
282
|
+
}
|
|
283
|
+
handleBlur() {
|
|
284
|
+
this.hasFocus = false;
|
|
285
|
+
this.emit("cw-blur");
|
|
286
|
+
}
|
|
287
|
+
handleLabelClick() {
|
|
288
|
+
this.displayInput.focus();
|
|
289
|
+
}
|
|
290
|
+
handleComboboxMouseDown(event) {
|
|
291
|
+
const path = event.composedPath();
|
|
292
|
+
const isIconButton = path.some((el) => el instanceof Element && el.tagName.toLowerCase() === "cw-icon-button");
|
|
293
|
+
if (this.disabled || isIconButton) {
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
event.preventDefault();
|
|
297
|
+
this.displayInput.focus({ preventScroll: true });
|
|
298
|
+
this.open = !this.open;
|
|
299
|
+
}
|
|
300
|
+
handleComboboxKeyDown(event) {
|
|
301
|
+
if (event.key === "Tab") {
|
|
302
|
+
return;
|
|
303
|
+
}
|
|
304
|
+
event.stopPropagation();
|
|
305
|
+
this.handleDocumentKeyDown(event);
|
|
306
|
+
}
|
|
307
|
+
handleClearClick(event) {
|
|
308
|
+
event.stopPropagation();
|
|
309
|
+
this.valueHasChanged = true;
|
|
310
|
+
if (this.value !== "") {
|
|
311
|
+
this.setSelectedOptions([]);
|
|
312
|
+
this.displayInput.focus({ preventScroll: true });
|
|
313
|
+
this.updateComplete.then(() => {
|
|
314
|
+
this.emit("cw-clear");
|
|
315
|
+
this.emit("cw-input");
|
|
316
|
+
this.emit("cw-change");
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
handleClearMouseDown(event) {
|
|
321
|
+
event.stopPropagation();
|
|
322
|
+
event.preventDefault();
|
|
323
|
+
}
|
|
324
|
+
handleOptionClick(event) {
|
|
325
|
+
const target = event.target;
|
|
326
|
+
const option = target.closest("cw-option");
|
|
327
|
+
const oldValue = this.value;
|
|
328
|
+
if (option && !option.disabled) {
|
|
329
|
+
this.valueHasChanged = true;
|
|
330
|
+
if (this.multiple) {
|
|
331
|
+
this.toggleOptionSelection(option);
|
|
332
|
+
} else {
|
|
333
|
+
this.setSelectedOptions(option);
|
|
334
|
+
}
|
|
335
|
+
this.updateComplete.then(() => this.displayInput.focus({ preventScroll: true }));
|
|
336
|
+
if (this.value !== oldValue) {
|
|
337
|
+
this.updateComplete.then(() => {
|
|
338
|
+
this.emit("cw-input");
|
|
339
|
+
this.emit("cw-change");
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
if (!this.multiple) {
|
|
343
|
+
this.hide();
|
|
344
|
+
this.displayInput.focus({ preventScroll: true });
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
/* @internal - used by options to update labels */
|
|
349
|
+
handleDefaultSlotChange() {
|
|
350
|
+
if (!customElements.get("cw-option")) {
|
|
351
|
+
customElements.whenDefined("cw-option").then(() => this.handleDefaultSlotChange());
|
|
352
|
+
}
|
|
353
|
+
const allOptions = this.getAllOptions();
|
|
354
|
+
const val = this.valueHasChanged ? this.value : this.defaultValue;
|
|
355
|
+
const value = Array.isArray(val) ? val : [val];
|
|
356
|
+
const values = [];
|
|
357
|
+
allOptions.forEach((option) => values.push(option.value));
|
|
358
|
+
this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
|
|
359
|
+
}
|
|
360
|
+
handleTagRemove(event, option) {
|
|
361
|
+
event.stopPropagation();
|
|
362
|
+
this.valueHasChanged = true;
|
|
363
|
+
if (!this.disabled) {
|
|
364
|
+
this.toggleOptionSelection(option, false);
|
|
365
|
+
this.updateComplete.then(() => {
|
|
366
|
+
this.emit("cw-input");
|
|
367
|
+
this.emit("cw-change");
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
// Gets an array of all <cw-option> elements
|
|
372
|
+
getAllOptions() {
|
|
373
|
+
return [...this.querySelectorAll("cw-option")];
|
|
374
|
+
}
|
|
375
|
+
// Gets the first <cw-option> element
|
|
376
|
+
getFirstOption() {
|
|
377
|
+
return this.querySelector("cw-option");
|
|
378
|
+
}
|
|
379
|
+
// Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one
|
|
380
|
+
// option may be "current" at a time.
|
|
381
|
+
setCurrentOption(option) {
|
|
382
|
+
const allOptions = this.getAllOptions();
|
|
383
|
+
allOptions.forEach((el) => {
|
|
384
|
+
el.current = false;
|
|
385
|
+
el.tabIndex = -1;
|
|
386
|
+
});
|
|
387
|
+
if (option) {
|
|
388
|
+
this.currentOption = option;
|
|
389
|
+
option.current = true;
|
|
390
|
+
option.tabIndex = 0;
|
|
391
|
+
option.focus();
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
// Sets the selected option(s)
|
|
395
|
+
setSelectedOptions(option) {
|
|
396
|
+
const allOptions = this.getAllOptions();
|
|
397
|
+
const newSelectedOptions = Array.isArray(option) ? option : [option];
|
|
398
|
+
allOptions.forEach((el) => el.selected = false);
|
|
399
|
+
if (newSelectedOptions.length) {
|
|
400
|
+
newSelectedOptions.forEach((el) => el.selected = true);
|
|
401
|
+
}
|
|
402
|
+
this.selectionChanged();
|
|
403
|
+
}
|
|
404
|
+
// Toggles an option's selected state
|
|
405
|
+
toggleOptionSelection(option, force) {
|
|
406
|
+
if (force === true || force === false) {
|
|
407
|
+
option.selected = force;
|
|
408
|
+
} else {
|
|
409
|
+
option.selected = !option.selected;
|
|
410
|
+
}
|
|
411
|
+
this.selectionChanged();
|
|
412
|
+
}
|
|
413
|
+
// This method must be called whenever the selection changes. It will update the selected options cache, the current
|
|
414
|
+
// value, and the display value
|
|
415
|
+
selectionChanged() {
|
|
416
|
+
var _a, _b, _c;
|
|
417
|
+
const options = this.getAllOptions();
|
|
418
|
+
this.selectedOptions = options.filter((el) => el.selected);
|
|
419
|
+
const cachedValueHasChanged = this.valueHasChanged;
|
|
420
|
+
if (this.multiple) {
|
|
421
|
+
this.value = this.selectedOptions.map((el) => el.value);
|
|
422
|
+
if (this.placeholder && this.value.length === 0) {
|
|
423
|
+
this.displayLabel = "";
|
|
424
|
+
} else {
|
|
425
|
+
this.displayLabel = this.localize.term("numOptionsSelected", this.selectedOptions.length);
|
|
426
|
+
}
|
|
427
|
+
} else {
|
|
428
|
+
const selectedOption = this.selectedOptions[0];
|
|
429
|
+
this.value = (_a = selectedOption == null ? void 0 : selectedOption.value) != null ? _a : "";
|
|
430
|
+
this.displayLabel = (_c = (_b = selectedOption == null ? void 0 : selectedOption.getTextLabel) == null ? void 0 : _b.call(selectedOption)) != null ? _c : "";
|
|
431
|
+
}
|
|
432
|
+
this.valueHasChanged = cachedValueHasChanged;
|
|
433
|
+
this.updateComplete.then(() => {
|
|
434
|
+
this.formControlController.updateValidity();
|
|
435
|
+
});
|
|
436
|
+
}
|
|
437
|
+
get tags() {
|
|
438
|
+
return this.selectedOptions.map((option, index) => {
|
|
439
|
+
if (index < this.maxOptionsVisible || this.maxOptionsVisible <= 0) {
|
|
440
|
+
const tag = this.getTag(option, index);
|
|
441
|
+
return b`<div @cw-remove=${(e3) => this.handleTagRemove(e3, option)}>
|
|
442
|
+
${typeof tag === "string" ? o(tag) : tag}
|
|
443
|
+
</div>`;
|
|
444
|
+
} else if (index === this.maxOptionsVisible) {
|
|
445
|
+
return b`<cw-tag size=${this.size}>+${this.selectedOptions.length - index}</cw-tag>`;
|
|
446
|
+
}
|
|
447
|
+
return b``;
|
|
448
|
+
});
|
|
449
|
+
}
|
|
450
|
+
handleInvalid(event) {
|
|
451
|
+
this.formControlController.setValidity(false);
|
|
452
|
+
this.formControlController.emitInvalidEvent(event);
|
|
453
|
+
}
|
|
454
|
+
handleDisabledChange() {
|
|
455
|
+
if (this.disabled) {
|
|
456
|
+
this.open = false;
|
|
457
|
+
this.handleOpenChange();
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
attributeChangedCallback(name, oldVal, newVal) {
|
|
461
|
+
super.attributeChangedCallback(name, oldVal, newVal);
|
|
462
|
+
if (name === "value") {
|
|
463
|
+
const cachedValueHasChanged = this.valueHasChanged;
|
|
464
|
+
this.value = this.defaultValue;
|
|
465
|
+
this.valueHasChanged = cachedValueHasChanged;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
handleValueChange() {
|
|
469
|
+
if (!this.valueHasChanged) {
|
|
470
|
+
const cachedValueHasChanged = this.valueHasChanged;
|
|
471
|
+
this.value = this.defaultValue;
|
|
472
|
+
this.valueHasChanged = cachedValueHasChanged;
|
|
473
|
+
}
|
|
474
|
+
const allOptions = this.getAllOptions();
|
|
475
|
+
const value = Array.isArray(this.value) ? this.value : [this.value];
|
|
476
|
+
this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
|
|
477
|
+
}
|
|
478
|
+
async handleOpenChange() {
|
|
479
|
+
if (this.open && !this.disabled) {
|
|
480
|
+
this.setCurrentOption(this.selectedOptions[0] || this.getFirstOption());
|
|
481
|
+
this.emit("cw-show");
|
|
482
|
+
this.addOpenListeners();
|
|
483
|
+
await stopAnimations(this);
|
|
484
|
+
this.listbox.hidden = false;
|
|
485
|
+
this.popup.active = true;
|
|
486
|
+
requestAnimationFrame(() => {
|
|
487
|
+
this.setCurrentOption(this.currentOption);
|
|
488
|
+
});
|
|
489
|
+
const { keyframes, options } = getAnimation(this, "select.show", { dir: this.localize.dir() });
|
|
490
|
+
await animateTo(this.popup.popup, keyframes, options);
|
|
491
|
+
if (this.currentOption) {
|
|
492
|
+
scrollIntoView(this.currentOption, this.listbox, "vertical", "auto");
|
|
493
|
+
}
|
|
494
|
+
this.emit("cw-after-show");
|
|
495
|
+
} else {
|
|
496
|
+
this.emit("cw-hide");
|
|
497
|
+
this.removeOpenListeners();
|
|
498
|
+
await stopAnimations(this);
|
|
499
|
+
const { keyframes, options } = getAnimation(this, "select.hide", { dir: this.localize.dir() });
|
|
500
|
+
await animateTo(this.popup.popup, keyframes, options);
|
|
501
|
+
this.listbox.hidden = true;
|
|
502
|
+
this.popup.active = false;
|
|
503
|
+
this.emit("cw-after-hide");
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
/** Shows the listbox. */
|
|
507
|
+
async show() {
|
|
508
|
+
if (this.open || this.disabled) {
|
|
509
|
+
this.open = false;
|
|
510
|
+
return void 0;
|
|
511
|
+
}
|
|
512
|
+
this.open = true;
|
|
513
|
+
return waitForEvent(this, "cw-after-show");
|
|
514
|
+
}
|
|
515
|
+
/** Hides the listbox. */
|
|
516
|
+
async hide() {
|
|
517
|
+
if (!this.open || this.disabled) {
|
|
518
|
+
this.open = false;
|
|
519
|
+
return void 0;
|
|
520
|
+
}
|
|
521
|
+
this.open = false;
|
|
522
|
+
return waitForEvent(this, "cw-after-hide");
|
|
523
|
+
}
|
|
524
|
+
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
525
|
+
checkValidity() {
|
|
526
|
+
return this.valueInput.checkValidity();
|
|
527
|
+
}
|
|
528
|
+
/** Gets the associated form, if one exists. */
|
|
529
|
+
getForm() {
|
|
530
|
+
return this.formControlController.getForm();
|
|
531
|
+
}
|
|
532
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
533
|
+
reportValidity() {
|
|
534
|
+
return this.valueInput.reportValidity();
|
|
535
|
+
}
|
|
536
|
+
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
537
|
+
setCustomValidity(message) {
|
|
538
|
+
this.valueInput.setCustomValidity(message);
|
|
539
|
+
this.formControlController.updateValidity();
|
|
540
|
+
}
|
|
541
|
+
/** Sets focus on the control. */
|
|
542
|
+
focus(options) {
|
|
543
|
+
this.displayInput.focus(options);
|
|
544
|
+
}
|
|
545
|
+
/** Removes focus from the control. */
|
|
546
|
+
blur() {
|
|
547
|
+
this.displayInput.blur();
|
|
548
|
+
}
|
|
549
|
+
render() {
|
|
550
|
+
const hasLabelSlot = this.hasSlotController.test("label");
|
|
551
|
+
const hasHelpTextSlot = this.hasSlotController.test("help-text");
|
|
552
|
+
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
553
|
+
const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;
|
|
554
|
+
const hasClearIcon = this.clearable && !this.disabled && this.value.length > 0;
|
|
555
|
+
const isPlaceholderVisible = this.placeholder && this.value && this.value.length <= 0;
|
|
556
|
+
return b`
|
|
557
|
+
<div
|
|
558
|
+
part="form-control"
|
|
559
|
+
class=${e({
|
|
560
|
+
"form-control": true,
|
|
561
|
+
"form-control--small": this.size === "small",
|
|
562
|
+
"form-control--medium": this.size === "medium",
|
|
563
|
+
"form-control--large": this.size === "large",
|
|
564
|
+
"form-control--has-label": hasLabel,
|
|
565
|
+
"form-control--has-help-text": hasHelpText
|
|
566
|
+
})}
|
|
567
|
+
>
|
|
568
|
+
<label
|
|
569
|
+
id="label"
|
|
570
|
+
part="form-control-label"
|
|
571
|
+
class="form-control__label"
|
|
572
|
+
aria-hidden=${hasLabel ? "false" : "true"}
|
|
573
|
+
@click=${this.handleLabelClick}
|
|
574
|
+
>
|
|
575
|
+
<slot name="label">${this.label}</slot>
|
|
576
|
+
</label>
|
|
577
|
+
|
|
578
|
+
<div part="form-control-input" class="form-control-input">
|
|
579
|
+
<cw-popup
|
|
580
|
+
class=${e({
|
|
581
|
+
select: true,
|
|
582
|
+
"select--standard": true,
|
|
583
|
+
"select--filled": this.filled,
|
|
584
|
+
"select--pill": this.pill,
|
|
585
|
+
"select--open": this.open,
|
|
586
|
+
"select--disabled": this.disabled,
|
|
587
|
+
"select--multiple": this.multiple,
|
|
588
|
+
"select--focused": this.hasFocus,
|
|
589
|
+
"select--placeholder-visible": isPlaceholderVisible,
|
|
590
|
+
"select--top": this.placement === "top",
|
|
591
|
+
"select--bottom": this.placement === "bottom",
|
|
592
|
+
"select--small": this.size === "small",
|
|
593
|
+
"select--medium": this.size === "medium",
|
|
594
|
+
"select--large": this.size === "large"
|
|
595
|
+
})}
|
|
596
|
+
placement=${this.placement}
|
|
597
|
+
strategy=${this.hoist ? "fixed" : "absolute"}
|
|
598
|
+
flip
|
|
599
|
+
shift
|
|
600
|
+
sync="width"
|
|
601
|
+
auto-size="vertical"
|
|
602
|
+
auto-size-padding="10"
|
|
603
|
+
>
|
|
604
|
+
<div
|
|
605
|
+
part="combobox"
|
|
606
|
+
class="select__combobox"
|
|
607
|
+
slot="anchor"
|
|
608
|
+
@keydown=${this.handleComboboxKeyDown}
|
|
609
|
+
@mousedown=${this.handleComboboxMouseDown}
|
|
610
|
+
>
|
|
611
|
+
<slot part="prefix" name="prefix" class="select__prefix"></slot>
|
|
612
|
+
|
|
613
|
+
<input
|
|
614
|
+
part="display-input"
|
|
615
|
+
class="select__display-input"
|
|
616
|
+
type="text"
|
|
617
|
+
placeholder=${this.placeholder}
|
|
618
|
+
.disabled=${this.disabled}
|
|
619
|
+
.value=${this.displayLabel}
|
|
620
|
+
autocomplete="off"
|
|
621
|
+
spellcheck="false"
|
|
622
|
+
autocapitalize="off"
|
|
623
|
+
readonly
|
|
624
|
+
aria-controls="listbox"
|
|
625
|
+
aria-expanded=${this.open ? "true" : "false"}
|
|
626
|
+
aria-haspopup="listbox"
|
|
627
|
+
aria-labelledby="label"
|
|
628
|
+
aria-disabled=${this.disabled ? "true" : "false"}
|
|
629
|
+
aria-describedby="help-text"
|
|
630
|
+
role="combobox"
|
|
631
|
+
tabindex="0"
|
|
632
|
+
@focus=${this.handleFocus}
|
|
633
|
+
@blur=${this.handleBlur}
|
|
634
|
+
/>
|
|
635
|
+
|
|
636
|
+
${this.multiple ? b`<div part="tags" class="select__tags">${this.tags}</div>` : ""}
|
|
637
|
+
|
|
638
|
+
<input
|
|
639
|
+
class="select__value-input"
|
|
640
|
+
type="text"
|
|
641
|
+
?disabled=${this.disabled}
|
|
642
|
+
?required=${this.required}
|
|
643
|
+
.value=${Array.isArray(this.value) ? this.value.join(", ") : this.value}
|
|
644
|
+
tabindex="-1"
|
|
645
|
+
aria-hidden="true"
|
|
646
|
+
@focus=${() => this.focus()}
|
|
647
|
+
@invalid=${this.handleInvalid}
|
|
648
|
+
/>
|
|
649
|
+
|
|
650
|
+
${hasClearIcon ? b`
|
|
651
|
+
<button
|
|
652
|
+
part="clear-button"
|
|
653
|
+
class="select__clear"
|
|
654
|
+
type="button"
|
|
655
|
+
aria-label=${this.localize.term("clearEntry")}
|
|
656
|
+
@mousedown=${this.handleClearMouseDown}
|
|
657
|
+
@click=${this.handleClearClick}
|
|
658
|
+
tabindex="-1"
|
|
659
|
+
>
|
|
660
|
+
<slot name="clear-icon">
|
|
661
|
+
<cw-icon name="x-circle-fill" library="system"></cw-icon>
|
|
662
|
+
</slot>
|
|
663
|
+
</button>
|
|
664
|
+
` : ""}
|
|
665
|
+
|
|
666
|
+
<slot name="suffix" part="suffix" class="select__suffix"></slot>
|
|
667
|
+
|
|
668
|
+
<slot name="expand-icon" part="expand-icon" class="select__expand-icon">
|
|
669
|
+
<cw-icon library="system" name="chevron-down"></cw-icon>
|
|
670
|
+
</slot>
|
|
671
|
+
</div>
|
|
672
|
+
|
|
673
|
+
<div
|
|
674
|
+
id="listbox"
|
|
675
|
+
role="listbox"
|
|
676
|
+
aria-expanded=${this.open ? "true" : "false"}
|
|
677
|
+
aria-multiselectable=${this.multiple ? "true" : "false"}
|
|
678
|
+
aria-labelledby="label"
|
|
679
|
+
part="listbox"
|
|
680
|
+
class="select__listbox"
|
|
681
|
+
tabindex="-1"
|
|
682
|
+
@mouseup=${this.handleOptionClick}
|
|
683
|
+
@slotchange=${this.handleDefaultSlotChange}
|
|
684
|
+
>
|
|
685
|
+
<slot></slot>
|
|
686
|
+
</div>
|
|
687
|
+
</cw-popup>
|
|
688
|
+
</div>
|
|
689
|
+
|
|
690
|
+
<div
|
|
691
|
+
part="form-control-help-text"
|
|
692
|
+
id="help-text"
|
|
693
|
+
class="form-control__help-text"
|
|
694
|
+
aria-hidden=${hasHelpText ? "false" : "true"}
|
|
695
|
+
>
|
|
696
|
+
<slot name="help-text">${this.helpText}</slot>
|
|
697
|
+
</div>
|
|
698
|
+
</div>
|
|
699
|
+
`;
|
|
700
|
+
}
|
|
701
|
+
};
|
|
702
|
+
CwSelect.styles = [component_styles_default, form_control_styles_default, select_styles_default];
|
|
703
|
+
CwSelect.dependencies = {
|
|
704
|
+
"cw-icon": CwIcon,
|
|
705
|
+
"cw-popup": CwPopup,
|
|
706
|
+
"cw-tag": CwTag
|
|
707
|
+
};
|
|
708
|
+
__decorateClass([
|
|
709
|
+
e2(".select")
|
|
710
|
+
], CwSelect.prototype, "popup", 2);
|
|
711
|
+
__decorateClass([
|
|
712
|
+
e2(".select__combobox")
|
|
713
|
+
], CwSelect.prototype, "combobox", 2);
|
|
714
|
+
__decorateClass([
|
|
715
|
+
e2(".select__display-input")
|
|
716
|
+
], CwSelect.prototype, "displayInput", 2);
|
|
717
|
+
__decorateClass([
|
|
718
|
+
e2(".select__value-input")
|
|
719
|
+
], CwSelect.prototype, "valueInput", 2);
|
|
720
|
+
__decorateClass([
|
|
721
|
+
e2(".select__listbox")
|
|
722
|
+
], CwSelect.prototype, "listbox", 2);
|
|
723
|
+
__decorateClass([
|
|
724
|
+
r()
|
|
725
|
+
], CwSelect.prototype, "hasFocus", 2);
|
|
726
|
+
__decorateClass([
|
|
727
|
+
r()
|
|
728
|
+
], CwSelect.prototype, "displayLabel", 2);
|
|
729
|
+
__decorateClass([
|
|
730
|
+
r()
|
|
731
|
+
], CwSelect.prototype, "currentOption", 2);
|
|
732
|
+
__decorateClass([
|
|
733
|
+
r()
|
|
734
|
+
], CwSelect.prototype, "selectedOptions", 2);
|
|
735
|
+
__decorateClass([
|
|
736
|
+
r()
|
|
737
|
+
], CwSelect.prototype, "valueHasChanged", 2);
|
|
738
|
+
__decorateClass([
|
|
739
|
+
n()
|
|
740
|
+
], CwSelect.prototype, "name", 2);
|
|
741
|
+
__decorateClass([
|
|
742
|
+
r()
|
|
743
|
+
], CwSelect.prototype, "value", 1);
|
|
744
|
+
__decorateClass([
|
|
745
|
+
n({ attribute: "value" })
|
|
746
|
+
], CwSelect.prototype, "defaultValue", 2);
|
|
747
|
+
__decorateClass([
|
|
748
|
+
n({ reflect: true })
|
|
749
|
+
], CwSelect.prototype, "size", 2);
|
|
750
|
+
__decorateClass([
|
|
751
|
+
n()
|
|
752
|
+
], CwSelect.prototype, "placeholder", 2);
|
|
753
|
+
__decorateClass([
|
|
754
|
+
n({ type: Boolean, reflect: true })
|
|
755
|
+
], CwSelect.prototype, "multiple", 2);
|
|
756
|
+
__decorateClass([
|
|
757
|
+
n({ attribute: "max-options-visible", type: Number })
|
|
758
|
+
], CwSelect.prototype, "maxOptionsVisible", 2);
|
|
759
|
+
__decorateClass([
|
|
760
|
+
n({ type: Boolean, reflect: true })
|
|
761
|
+
], CwSelect.prototype, "disabled", 2);
|
|
762
|
+
__decorateClass([
|
|
763
|
+
n({ type: Boolean })
|
|
764
|
+
], CwSelect.prototype, "clearable", 2);
|
|
765
|
+
__decorateClass([
|
|
766
|
+
n({ type: Boolean, reflect: true })
|
|
767
|
+
], CwSelect.prototype, "open", 2);
|
|
768
|
+
__decorateClass([
|
|
769
|
+
n({ type: Boolean })
|
|
770
|
+
], CwSelect.prototype, "hoist", 2);
|
|
771
|
+
__decorateClass([
|
|
772
|
+
n({ type: Boolean, reflect: true })
|
|
773
|
+
], CwSelect.prototype, "filled", 2);
|
|
774
|
+
__decorateClass([
|
|
775
|
+
n({ type: Boolean, reflect: true })
|
|
776
|
+
], CwSelect.prototype, "pill", 2);
|
|
777
|
+
__decorateClass([
|
|
778
|
+
n()
|
|
779
|
+
], CwSelect.prototype, "label", 2);
|
|
780
|
+
__decorateClass([
|
|
781
|
+
n({ reflect: true })
|
|
782
|
+
], CwSelect.prototype, "placement", 2);
|
|
783
|
+
__decorateClass([
|
|
784
|
+
n({ attribute: "help-text" })
|
|
785
|
+
], CwSelect.prototype, "helpText", 2);
|
|
786
|
+
__decorateClass([
|
|
787
|
+
n({ reflect: true })
|
|
788
|
+
], CwSelect.prototype, "form", 2);
|
|
789
|
+
__decorateClass([
|
|
790
|
+
n({ type: Boolean, reflect: true })
|
|
791
|
+
], CwSelect.prototype, "required", 2);
|
|
792
|
+
__decorateClass([
|
|
793
|
+
n()
|
|
794
|
+
], CwSelect.prototype, "getTag", 2);
|
|
795
|
+
__decorateClass([
|
|
796
|
+
watch("disabled", { waitUntilFirstUpdate: true })
|
|
797
|
+
], CwSelect.prototype, "handleDisabledChange", 1);
|
|
798
|
+
__decorateClass([
|
|
799
|
+
watch(["defaultValue", "value"], { waitUntilFirstUpdate: true })
|
|
800
|
+
], CwSelect.prototype, "handleValueChange", 1);
|
|
801
|
+
__decorateClass([
|
|
802
|
+
watch("open", { waitUntilFirstUpdate: true })
|
|
803
|
+
], CwSelect.prototype, "handleOpenChange", 1);
|
|
804
|
+
setDefaultAnimation("select.show", {
|
|
805
|
+
keyframes: [
|
|
806
|
+
{ opacity: 0, scale: 0.9 },
|
|
807
|
+
{ opacity: 1, scale: 1 }
|
|
808
|
+
],
|
|
809
|
+
options: { duration: 100, easing: "ease" }
|
|
810
|
+
});
|
|
811
|
+
setDefaultAnimation("select.hide", {
|
|
812
|
+
keyframes: [
|
|
813
|
+
{ opacity: 1, scale: 1 },
|
|
814
|
+
{ opacity: 0, scale: 0.9 }
|
|
815
|
+
],
|
|
816
|
+
options: { duration: 100, easing: "ease" }
|
|
817
|
+
});
|
|
818
|
+
|
|
819
|
+
export {
|
|
820
|
+
CwSelect
|
|
821
|
+
};
|