@cordwainer/cw-elements 1.3.1 → 1.3.3
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.2IILRTUI.js +24 -0
- package/cdn/chunks/chunk.2RLJJPP3.js +87 -0
- package/cdn/chunks/chunk.3574543G.js +11 -0
- package/cdn/chunks/chunk.3D5KDA67.js +969 -0
- package/cdn/chunks/chunk.3EQH4UBC.js +21 -0
- package/cdn/chunks/chunk.3OLB266Y.js +11 -0
- package/cdn/chunks/chunk.436DS2CC.js +45 -0
- package/cdn/chunks/chunk.443TYRJJ.js +11 -0
- package/cdn/chunks/chunk.4E5HZL4I.js +24 -0
- package/cdn/chunks/chunk.4TDW34W7.js +21 -0
- package/cdn/chunks/chunk.4WDDGRWB.js +21 -0
- package/cdn/chunks/chunk.4XIPX7ZV.js +49 -0
- package/cdn/chunks/chunk.55IYM7XE.js +236 -0
- package/cdn/chunks/chunk.5FI4JCAI.js +11 -0
- package/cdn/chunks/chunk.5GZD5ALS.js +11 -0
- package/cdn/chunks/chunk.5KLSJMGP.js +186 -0
- package/cdn/chunks/chunk.5N5NUFTS.js +11 -0
- package/cdn/chunks/chunk.5TJHEFSD.js +49 -0
- package/cdn/chunks/chunk.5XLIVGYH.js +21 -0
- package/cdn/chunks/chunk.5ZMTZ6SG.js +114 -0
- package/cdn/chunks/chunk.62ZMVM4G.js +11 -0
- package/cdn/chunks/chunk.6JSIV2VX.js +127 -0
- package/cdn/chunks/chunk.6JX64GAW.js +21 -0
- package/cdn/chunks/chunk.6KCEZMOF.js +367 -0
- package/cdn/chunks/chunk.6VU3KVAK.js +724 -0
- package/cdn/chunks/chunk.7DJT5YWO.js +21 -0
- package/cdn/chunks/chunk.7GRCAAXD.js +24 -0
- package/cdn/chunks/chunk.7I3MO5JQ.js +378 -0
- package/cdn/chunks/chunk.7KGEAFPS.js +11 -0
- package/cdn/chunks/chunk.7LXEEBCX.js +25 -0
- package/cdn/chunks/chunk.7NSMUV4B.js +95 -0
- package/cdn/chunks/chunk.A63IZVMU.js +24 -0
- package/cdn/chunks/chunk.ABFFZFVG.js +11 -0
- package/cdn/chunks/chunk.AGM76WV6.js +21 -0
- package/cdn/chunks/chunk.AMZ2XXXB.js +29 -0
- package/cdn/chunks/chunk.APGKRVNT.js +139 -0
- package/cdn/chunks/chunk.ARNY7XL5.js +11 -0
- package/cdn/chunks/chunk.ARRSPO66.js +21 -0
- package/cdn/chunks/chunk.AV4PFTWM.js +50 -0
- package/cdn/chunks/chunk.AVOJJZSN.js +11 -0
- package/cdn/chunks/chunk.AWR24HQ5.js +21 -0
- package/cdn/chunks/chunk.AX6KC3XT.js +302 -0
- package/cdn/chunks/chunk.AX7R45E6.js +11 -0
- package/cdn/chunks/chunk.AYBTJZT2.js +24 -0
- package/cdn/chunks/chunk.BBMYQJEP.js +21 -0
- package/cdn/chunks/chunk.BH54S2KL.js +11 -0
- package/cdn/chunks/chunk.BI4KKJVS.js +11 -0
- package/cdn/chunks/chunk.BTFRDLRW.js +11 -0
- package/cdn/chunks/chunk.BVPMFA4U.js +24 -0
- package/cdn/chunks/chunk.BYORCDRN.js +33 -0
- package/cdn/chunks/chunk.C26AK4NN.js +27 -0
- package/cdn/chunks/chunk.C35G7KR2.js +285 -0
- package/cdn/chunks/chunk.C525FJER.js +64 -0
- package/cdn/chunks/chunk.C6DE6GC6.js +499 -0
- package/cdn/chunks/chunk.CCGPBEBB.js +402 -0
- package/cdn/chunks/chunk.COWMNXVV.js +21 -0
- package/cdn/chunks/chunk.CPCT4YKR.js +11 -0
- package/cdn/chunks/chunk.CUBXSFPU.js +11 -0
- package/cdn/chunks/chunk.D4S6QW2Z.js +11 -0
- package/cdn/chunks/chunk.DIKTB56T.js +11 -0
- package/cdn/chunks/chunk.DOMDJDCE.js +11 -0
- package/cdn/chunks/chunk.DUGZS665.js +97 -0
- package/cdn/chunks/chunk.E254VLON.js +11 -0
- package/cdn/chunks/chunk.EOPXX7PS.js +11 -0
- package/cdn/chunks/chunk.ER3KQTMN.js +11 -0
- package/cdn/chunks/chunk.F344CBFC.js +21 -0
- package/cdn/chunks/chunk.F3LYAR3S.js +79 -0
- package/cdn/chunks/chunk.F4HNOGOU.js +153 -0
- package/cdn/chunks/chunk.F6WRG64L.js +75 -0
- package/cdn/chunks/chunk.F74GCOPJ.js +11 -0
- package/cdn/chunks/chunk.FA6FHXLZ.js +11 -0
- package/cdn/chunks/chunk.FGHNWZDV.js +11 -0
- package/cdn/chunks/chunk.FITZ7E3P.js +25 -0
- package/cdn/chunks/chunk.FSNR4623.js +28 -0
- package/cdn/chunks/chunk.FXRHEMKZ.js +24 -0
- package/cdn/chunks/chunk.G3EEDT4S.js +185 -0
- package/cdn/chunks/chunk.G6DLXOJ6.js +11 -0
- package/cdn/chunks/chunk.G75BP6Q5.js +11 -0
- package/cdn/chunks/chunk.GBDJQ5GL.js +28 -0
- package/cdn/chunks/chunk.GBYRLCTN.js +77 -0
- package/cdn/chunks/chunk.GGO7DMRT.js +11 -0
- package/cdn/chunks/chunk.GU2PAPLX.js +36 -0
- package/cdn/chunks/chunk.GYBJWMFE.js +21 -0
- package/cdn/chunks/chunk.H6LQ7SSY.js +26 -0
- package/cdn/chunks/chunk.H6R6XYK5.js +21 -0
- package/cdn/chunks/chunk.H7S6HRAM.js +21 -0
- package/cdn/chunks/chunk.HDJWSJOQ.js +27 -0
- package/cdn/chunks/chunk.HEF5QR53.js +114 -0
- package/cdn/chunks/chunk.HEOXOKKF.js +11 -0
- package/cdn/chunks/chunk.HRXXLFS4.js +27 -0
- package/cdn/chunks/chunk.HTVCQ4RF.js +26 -0
- package/cdn/chunks/chunk.HZ6D327S.js +391 -0
- package/cdn/chunks/chunk.I2MDGE6K.js +11 -0
- package/cdn/chunks/chunk.I74E7K7T.js +330 -0
- package/cdn/chunks/chunk.IMRBHLAB.js +28 -0
- package/cdn/chunks/chunk.IR6EDN2X.js +574 -0
- package/cdn/chunks/chunk.IT32FDXI.js +11 -0
- package/cdn/chunks/chunk.IVQZI24M.js +103 -0
- package/cdn/chunks/chunk.IXZZES6A.js +67 -0
- package/cdn/chunks/chunk.J3YBF7EP.js +218 -0
- package/cdn/chunks/chunk.J5QBHXRB.js +91 -0
- package/cdn/chunks/chunk.J7XCNIGB.js +33 -0
- package/cdn/chunks/chunk.JBB5VCDC.js +11 -0
- package/cdn/chunks/chunk.JCPCORC3.js +113 -0
- package/cdn/chunks/chunk.JNOMVO5M.js +27 -0
- package/cdn/chunks/chunk.JQDLQVEC.js +11 -0
- package/cdn/chunks/chunk.JQWPXC2Y.js +29 -0
- package/cdn/chunks/chunk.JXCMEXVD.js +11 -0
- package/cdn/chunks/chunk.KHR5KT6X.js +11 -0
- package/cdn/chunks/chunk.KI7YLYLJ.js +11 -0
- package/cdn/chunks/chunk.KZ4UPKM2.js +844 -0
- package/cdn/chunks/chunk.L3HP74VK.js +11 -0
- package/cdn/chunks/chunk.L6YEBQRL.js +336 -0
- package/cdn/chunks/chunk.LBQVKZZA.js +455 -0
- package/cdn/chunks/chunk.LM6QSB7H.js +231 -0
- package/cdn/chunks/chunk.LNO22GFI.js +24 -0
- package/cdn/chunks/chunk.LX7U6TSP.js +11 -0
- package/cdn/chunks/chunk.M3HDZ2DL.js +11 -0
- package/cdn/chunks/chunk.MBSYSYFN.js +28 -0
- package/cdn/chunks/chunk.MC357YA6.js +21 -0
- package/cdn/chunks/chunk.MFQR4GZF.js +93 -0
- package/cdn/chunks/chunk.MK6LK4UX.js +197 -0
- package/cdn/chunks/chunk.MLA2RGKL.js +11 -0
- package/cdn/chunks/chunk.MLY2KMFZ.js +11 -0
- package/cdn/chunks/chunk.MVZMXIIU.js +82 -0
- package/cdn/chunks/chunk.MZOD5FXB.js +27 -0
- package/cdn/chunks/chunk.N7SZ6ZBC.js +11 -0
- package/cdn/chunks/chunk.NOCNHLZV.js +174 -0
- package/cdn/chunks/chunk.NSDPZZPW.js +11 -0
- package/cdn/chunks/chunk.NZF6RHRN.js +27 -0
- package/cdn/chunks/chunk.NZTTKYFU.js +21 -0
- package/cdn/chunks/chunk.O6ETIEBY.js +25 -0
- package/cdn/chunks/chunk.OE5JU2DJ.js +11 -0
- package/cdn/chunks/chunk.OTEJ3456.js +21 -0
- package/cdn/chunks/chunk.OVW6DUMO.js +79 -0
- package/cdn/chunks/chunk.OXQYRKYQ.js +21 -0
- package/cdn/chunks/chunk.OY4VMQUG.js +158 -0
- package/cdn/chunks/chunk.PHVH74Q2.js +291 -0
- package/cdn/chunks/chunk.PMT43VQ7.js +385 -0
- package/cdn/chunks/chunk.PRURKHBJ.js +73 -0
- package/cdn/chunks/chunk.PUSCG7NO.js +11 -0
- package/cdn/chunks/chunk.PZEVGA3E.js +21 -0
- package/cdn/chunks/chunk.Q7APEXKW.js +26 -0
- package/cdn/chunks/chunk.QAYT6ER5.js +11 -0
- package/cdn/chunks/chunk.QEEMWPSW.js +21 -0
- package/cdn/chunks/chunk.QWDLIS5N.js +255 -0
- package/cdn/chunks/chunk.R6RRMA6P.js +21 -0
- package/cdn/chunks/chunk.R6RWVGJ2.js +21 -0
- package/cdn/chunks/chunk.R7PKA3QJ.js +11 -0
- package/cdn/chunks/chunk.RGPOLFFM.js +120 -0
- package/cdn/chunks/chunk.RKKKCMTH.js +25 -0
- package/cdn/chunks/chunk.RKSVE6B6.js +267 -0
- package/cdn/chunks/chunk.RPZ6XDZG.js +33 -0
- package/cdn/chunks/chunk.RQ3XLCQ5.js +120 -0
- package/cdn/chunks/chunk.RRORFCCB.js +292 -0
- package/cdn/chunks/chunk.RXGPMND2.js +11 -0
- package/cdn/chunks/chunk.RZQHSI53.js +314 -0
- package/cdn/chunks/chunk.S4VMRCLH.js +25 -0
- package/cdn/chunks/chunk.S67LPPXR.js +11 -0
- package/cdn/chunks/chunk.SGR7GL4R.js +11 -0
- package/cdn/chunks/chunk.SPGKOQXH.js +11 -0
- package/cdn/chunks/chunk.SS4MED4W.js +1925 -0
- package/cdn/chunks/chunk.SSBLXAIW.js +25 -0
- package/cdn/chunks/chunk.STSWHRGW.js +25 -0
- package/cdn/chunks/chunk.SX54M6TP.js +11 -0
- package/cdn/chunks/chunk.SYANUEMY.js +21 -0
- package/cdn/chunks/chunk.T26G2JQR.js +11 -0
- package/cdn/chunks/chunk.T2LYM2OE.js +11 -0
- package/cdn/chunks/chunk.TA3V2E5Z.js +24 -0
- package/cdn/chunks/chunk.TMP5BTBB.js +279 -0
- package/cdn/chunks/chunk.TVZMTEGK.js +11 -0
- package/cdn/chunks/chunk.TZQO2HQG.js +24 -0
- package/cdn/chunks/chunk.UF4I6NZI.js +11 -0
- package/cdn/chunks/chunk.UI5ZPQQO.js +25 -0
- package/cdn/chunks/chunk.UJ7E7VWA.js +21 -0
- package/cdn/chunks/chunk.UJQU2DSD.js +233 -0
- package/cdn/chunks/chunk.UKD6VHBM.js +297 -0
- package/cdn/chunks/chunk.ULSTCPPC.js +27 -0
- package/cdn/chunks/chunk.UMRJDUKX.js +33 -0
- package/cdn/chunks/chunk.UWA4VG24.js +21 -0
- package/cdn/chunks/chunk.UWNRHT7I.js +299 -0
- package/cdn/chunks/chunk.UYBRT243.js +1990 -0
- package/cdn/chunks/chunk.UYYWX44N.js +29 -0
- package/cdn/chunks/chunk.V2G4M4LA.js +11 -0
- package/cdn/chunks/chunk.V4UKQLTZ.js +11 -0
- package/cdn/chunks/chunk.V65F5WX4.js +11 -0
- package/cdn/chunks/chunk.VC5Y5677.js +42 -0
- package/cdn/chunks/chunk.VJISK2YW.js +21 -0
- package/cdn/chunks/chunk.VKDNDJ5T.js +25 -0
- package/cdn/chunks/chunk.VW7NKLVG.js +21 -0
- package/cdn/chunks/chunk.VWQR4OCR.js +216 -0
- package/cdn/chunks/chunk.VZJEW2XI.js +11 -0
- package/cdn/chunks/chunk.W2XEI7OB.js +24 -0
- package/cdn/chunks/chunk.W6ULE7IQ.js +26 -0
- package/cdn/chunks/chunk.W725JVPM.js +11 -0
- package/cdn/chunks/chunk.W7S4WSST.js +11 -0
- package/cdn/chunks/chunk.WGWOCBWO.js +11 -0
- package/cdn/chunks/chunk.WN5UPNM5.js +122 -0
- package/cdn/chunks/chunk.WT4D5W6W.js +11 -0
- package/cdn/chunks/chunk.WYJQ57DD.js +27 -0
- package/cdn/chunks/chunk.X7K3GGW5.js +24 -0
- package/cdn/chunks/chunk.XD3KWDJE.js +142 -0
- package/cdn/chunks/chunk.XG7RWR3H.js +346 -0
- package/cdn/chunks/chunk.XMTVCVZV.js +11 -0
- package/cdn/chunks/chunk.XNZFM4TY.js +11 -0
- package/cdn/chunks/chunk.YAF4Y7RB.js +11 -0
- package/cdn/chunks/chunk.YETU3PR6.js +821 -0
- package/cdn/chunks/chunk.YNQGCZUS.js +84 -0
- package/cdn/chunks/chunk.YOIY2IZT.js +11 -0
- package/cdn/chunks/chunk.YSQ4MZMC.js +24 -0
- package/cdn/chunks/chunk.YSWWKI7X.js +29 -0
- package/cdn/chunks/chunk.YTUYULPF.js +904 -0
- package/cdn/chunks/chunk.YUAGQ7C5.js +28 -0
- package/cdn/chunks/chunk.YURA72NP.js +63 -0
- package/cdn/chunks/chunk.Z4NS7OSH.js +24 -0
- package/cdn/chunks/chunk.ZCQPWDKH.js +11 -0
- package/cdn/chunks/chunk.ZCWUUJ7E.js +11 -0
- package/cdn/chunks/chunk.ZGMSTKGX.js +137 -0
- package/cdn/chunks/chunk.ZM37PAKY.js +11 -0
- package/cdn/chunks/chunk.ZQ3WA3HO.js +11 -0
- package/cdn/components/alert/alert.component.js +4 -4
- package/cdn/components/alert/alert.js +5 -5
- package/cdn/components/animated-image/animated-image.component.js +3 -3
- package/cdn/components/animated-image/animated-image.js +4 -4
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +4 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +4 -4
- package/cdn/components/button/button.js +5 -5
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +3 -3
- package/cdn/components/carousel/carousel.js +4 -4
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +3 -3
- package/cdn/components/checkbox/checkbox.js +4 -4
- package/cdn/components/color-picker/color-picker.component.js +10 -10
- package/cdn/components/color-picker/color-picker.js +11 -11
- package/cdn/components/combobox/combobox.component.js +8 -8
- package/cdn/components/combobox/combobox.js +9 -9
- package/cdn/components/copy-button/copy-button.component.js +5 -5
- package/cdn/components/copy-button/copy-button.js +6 -6
- package/cdn/components/data-table/data-table.component.js +5 -5
- package/cdn/components/data-table/data-table.js +6 -6
- package/cdn/components/data-table-column/data-table-column.component.js +2 -2
- package/cdn/components/data-table-column/data-table-column.js +3 -3
- package/cdn/components/date-picker/date-picker.component.js +5 -5
- package/cdn/components/date-picker/date-picker.js +6 -6
- package/cdn/components/details/details.component.js +3 -3
- package/cdn/components/details/details.js +4 -4
- package/cdn/components/dialog/dialog.component.js +4 -4
- package/cdn/components/dialog/dialog.js +5 -5
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +4 -4
- package/cdn/components/drawer/drawer.js +5 -5
- package/cdn/components/dropdown/dropdown.component.js +3 -3
- package/cdn/components/dropdown/dropdown.js +4 -4
- package/cdn/components/footer/footer.component.js +2 -2
- package/cdn/components/footer/footer.js +3 -3
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/header/header.component.js +4 -4
- package/cdn/components/header/header.js +5 -5
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/image-comparer/image-comparer.component.js +3 -3
- package/cdn/components/image-comparer/image-comparer.js +4 -4
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +3 -3
- package/cdn/components/input/input.js +4 -4
- package/cdn/components/logo/logo.component.js +2 -2
- package/cdn/components/logo/logo.js +3 -3
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +5 -5
- package/cdn/components/menu-item/menu-item.js +6 -6
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/option/option.component.js +3 -3
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/pagination.component.js +4 -4
- package/cdn/components/pagination/pagination.js +5 -5
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/primary-navigation/primary-navigation.component.js +3 -3
- package/cdn/components/primary-navigation/primary-navigation.js +4 -4
- package/cdn/components/primary-navigation-item/primary-navigation-item.component.js +5 -5
- package/cdn/components/primary-navigation-item/primary-navigation-item.js +6 -6
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.component.js +2 -2
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +3 -3
- package/cdn/components/radio/radio.js +4 -4
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +3 -3
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/range/range.component.js +2 -2
- package/cdn/components/range/range.js +3 -3
- package/cdn/components/rating/rating.component.js +3 -3
- package/cdn/components/rating/rating.js +4 -4
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/secondary-navigation/secondary-navigation.component.js +4 -4
- package/cdn/components/secondary-navigation/secondary-navigation.js +5 -5
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.component.js +2 -2
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.js +3 -3
- package/cdn/components/select/select.component.js +6 -6
- package/cdn/components/select/select.js +7 -7
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/social-link/social-link.component.js +4 -4
- package/cdn/components/social-link/social-link.js +5 -5
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +2 -2
- package/cdn/components/split-panel/split-panel.js +3 -3
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +4 -4
- package/cdn/components/tab/tab.js +5 -5
- package/cdn/components/tab-group/tab-group.component.js +5 -5
- package/cdn/components/tab-group/tab-group.js +6 -6
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/tag/tag.component.js +4 -4
- package/cdn/components/tag/tag.js +5 -5
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-picker/time-picker.component.js +5 -5
- package/cdn/components/time-picker/time-picker.js +6 -6
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/tree/tree.component.js +6 -6
- package/cdn/components/tree/tree.js +7 -7
- package/cdn/components/tree-item/tree-item.component.js +5 -5
- package/cdn/components/tree-item/tree-item.js +6 -6
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/custom-elements.json +1 -1
- package/cdn/cw-elements.js +147 -147
- package/cdn/react/alert/index.js +5 -5
- package/cdn/react/animated-image/index.js +4 -4
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +4 -4
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +5 -5
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +4 -4
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +4 -4
- package/cdn/react/color-picker/index.js +11 -11
- package/cdn/react/combobox/index.js +9 -9
- package/cdn/react/copy-button/index.js +6 -6
- package/cdn/react/data-table/index.js +6 -6
- package/cdn/react/data-table-column/index.js +3 -3
- package/cdn/react/date-picker/index.js +6 -6
- package/cdn/react/details/index.js +4 -4
- package/cdn/react/dialog/index.js +5 -5
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +5 -5
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/footer/index.js +3 -3
- package/cdn/react/format-bytes/index.js +3 -3
- package/cdn/react/format-date/index.js +3 -3
- package/cdn/react/format-number/index.js +3 -3
- package/cdn/react/header/index.js +5 -5
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/icon-button/index.js +4 -4
- package/cdn/react/image-comparer/index.js +4 -4
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.js +147 -147
- package/cdn/react/input/index.js +4 -4
- package/cdn/react/logo/index.js +3 -3
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +6 -6
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/option/index.js +4 -4
- package/cdn/react/pagination/index.js +5 -5
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/primary-navigation/index.js +4 -4
- package/cdn/react/primary-navigation-item/index.js +6 -6
- package/cdn/react/primary-navigation-menu/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +4 -4
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/range/index.js +3 -3
- package/cdn/react/rating/index.js +4 -4
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/secondary-navigation/index.js +5 -5
- package/cdn/react/secondary-navigation-item/index.js +3 -3
- package/cdn/react/select/index.js +7 -7
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/social-link/index.js +5 -5
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +3 -3
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +5 -5
- package/cdn/react/tab-group/index.js +6 -6
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/tag/index.js +5 -5
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/time-picker/index.js +6 -6
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/tree/index.js +7 -7
- package/cdn/react/tree-item/index.js +6 -6
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/web-types.json +1 -1
- package/dist/chunks/chunk.23OS766S.js +11 -0
- package/dist/chunks/chunk.2763TR3F.js +21 -0
- package/dist/chunks/chunk.2HHGT3IB.js +24 -0
- package/dist/chunks/chunk.2SX5ASMT.js +24 -0
- package/dist/chunks/chunk.2V4AIP3M.js +50 -0
- package/dist/chunks/chunk.2WV5SWCC.js +11 -0
- package/dist/chunks/chunk.2YNBVK4Q.js +11 -0
- package/dist/chunks/chunk.35U4J5XP.js +25 -0
- package/dist/chunks/chunk.36M6BNAP.js +11 -0
- package/dist/chunks/chunk.36MGOO3G.js +11 -0
- package/dist/chunks/chunk.3ARMCN3P.js +100 -0
- package/dist/chunks/chunk.3F2Z2G3M.js +21 -0
- package/dist/chunks/chunk.3FKEIJNL.js +29 -0
- package/dist/chunks/chunk.3J3DATQJ.js +151 -0
- package/dist/chunks/chunk.3RQQ6LDX.js +62 -0
- package/dist/chunks/chunk.3T5KRRAP.js +11 -0
- package/dist/chunks/chunk.3U7LFPHS.js +22 -0
- package/dist/chunks/chunk.4C64HRRV.js +42 -0
- package/dist/chunks/chunk.4HY57EHO.js +115 -0
- package/dist/chunks/chunk.4K5YPLBT.js +11 -0
- package/dist/chunks/chunk.4P3XPK7U.js +11 -0
- package/dist/chunks/chunk.4UXPIX2D.js +21 -0
- package/dist/chunks/chunk.4Z6RKE5C.js +11 -0
- package/dist/chunks/chunk.52FG2RET.js +27 -0
- package/dist/chunks/chunk.54L7SRJP.js +11 -0
- package/dist/chunks/chunk.5FO52GCC.js +21 -0
- package/dist/chunks/chunk.5NJAUNU5.js +11 -0
- package/dist/chunks/chunk.5OGY3VAK.js +276 -0
- package/dist/chunks/chunk.6ASJZKRU.js +21 -0
- package/dist/chunks/chunk.6H3ZNP3P.js +27 -0
- package/dist/chunks/chunk.6LHJEGSB.js +949 -0
- package/dist/chunks/chunk.6MZGXMIO.js +25 -0
- package/dist/chunks/chunk.6NBO3MKO.js +33 -0
- package/dist/chunks/chunk.6NE5FU56.js +11 -0
- package/dist/chunks/chunk.6OWHAX3Z.js +11 -0
- package/dist/chunks/chunk.6QVYK7FM.js +11 -0
- package/dist/chunks/chunk.6TFYMFGR.js +24 -0
- package/dist/chunks/chunk.6W4SI4JE.js +94 -0
- package/dist/chunks/chunk.6YJTF57I.js +11 -0
- package/dist/chunks/chunk.73FDBF4I.js +24 -0
- package/dist/chunks/chunk.7AEPVFWL.js +550 -0
- package/dist/chunks/chunk.7B2IM3ZH.js +28 -0
- package/dist/chunks/chunk.7CCWDO3U.js +21 -0
- package/dist/chunks/chunk.7HXI5RXB.js +21 -0
- package/dist/chunks/chunk.7STSZKX2.js +11 -0
- package/dist/chunks/chunk.7XH2O7FT.js +11 -0
- package/dist/chunks/chunk.A543K35X.js +11 -0
- package/dist/chunks/chunk.AEICSFGS.js +11 -0
- package/dist/chunks/chunk.AEPJ2GJ7.js +11 -0
- package/dist/chunks/chunk.AFLM74QA.js +25 -0
- package/dist/chunks/chunk.AI7TQK6K.js +21 -0
- package/dist/chunks/chunk.AK64UDUD.js +21 -0
- package/dist/chunks/chunk.AQDJX7AQ.js +21 -0
- package/dist/chunks/chunk.AQGYXEYP.js +34 -0
- package/dist/chunks/chunk.B6UVY5VG.js +370 -0
- package/dist/chunks/chunk.BASK7W4T.js +11 -0
- package/dist/chunks/chunk.BDESWOVC.js +11 -0
- package/dist/chunks/chunk.BGB2FGNY.js +25 -0
- package/dist/chunks/chunk.BOEERPFF.js +27 -0
- package/dist/chunks/chunk.BOSFS2HI.js +11 -0
- package/dist/chunks/chunk.C6KLVPPS.js +247 -0
- package/dist/chunks/chunk.CHG4OQYM.js +26 -0
- package/dist/chunks/chunk.CRQECEED.js +117 -0
- package/dist/chunks/chunk.CRSQRQSQ.js +384 -0
- package/dist/chunks/chunk.CZ36IWFV.js +24 -0
- package/dist/chunks/chunk.D2IAWLLM.js +33 -0
- package/dist/chunks/chunk.D7JXQFQ3.js +11 -0
- package/dist/chunks/chunk.DCTKMETD.js +21 -0
- package/dist/chunks/chunk.DGWXGRL2.js +170 -0
- package/dist/chunks/chunk.DJZCBJBK.js +73 -0
- package/dist/chunks/chunk.DOG2GW5Z.js +147 -0
- package/dist/chunks/chunk.DOMHR3BT.js +24 -0
- package/dist/chunks/chunk.E3HKJR5G.js +63 -0
- package/dist/chunks/chunk.E6373DRJ.js +72 -0
- package/dist/chunks/chunk.E6YUBO2X.js +11 -0
- package/dist/chunks/chunk.ECIRAUWU.js +21 -0
- package/dist/chunks/chunk.EJF2GJT5.js +29 -0
- package/dist/chunks/chunk.EKFCNLLG.js +21 -0
- package/dist/chunks/chunk.ESKNGDW6.js +11 -0
- package/dist/chunks/chunk.EUXB3O32.js +192 -0
- package/dist/chunks/chunk.F6Q324PX.js +24 -0
- package/dist/chunks/chunk.F72Y4A7N.js +11 -0
- package/dist/chunks/chunk.FHCQTLMO.js +11 -0
- package/dist/chunks/chunk.FP2GFU2Q.js +85 -0
- package/dist/chunks/chunk.G4XIX2J4.js +813 -0
- package/dist/chunks/chunk.GTY3I6Z6.js +294 -0
- package/dist/chunks/chunk.GVB2TMCR.js +75 -0
- package/dist/chunks/chunk.GXNQJYFV.js +29 -0
- package/dist/chunks/chunk.HC5NI3OB.js +259 -0
- package/dist/chunks/chunk.HDL3RHCK.js +25 -0
- package/dist/chunks/chunk.HECVK3LC.js +11 -0
- package/dist/chunks/chunk.HSU34OO5.js +21 -0
- package/dist/chunks/chunk.HT6DDJLO.js +11 -0
- package/dist/chunks/chunk.I6IXDUW6.js +11 -0
- package/dist/chunks/chunk.I6WDCUS4.js +25 -0
- package/dist/chunks/chunk.I7DSY2U2.js +24 -0
- package/dist/chunks/chunk.INISIBNK.js +293 -0
- package/dist/chunks/chunk.INUV4MOB.js +225 -0
- package/dist/chunks/chunk.IV3CENRM.js +11 -0
- package/dist/chunks/chunk.J33EPP3I.js +29 -0
- package/dist/chunks/chunk.JFOW3AP6.js +11 -0
- package/dist/chunks/chunk.JGBMOBM5.js +11 -0
- package/dist/chunks/chunk.JOOURTSL.js +45 -0
- package/dist/chunks/chunk.K7JLPUER.js +27 -0
- package/dist/chunks/chunk.KCDDIISL.js +11 -0
- package/dist/chunks/chunk.KDV6YTGS.js +11 -0
- package/dist/chunks/chunk.KR53H6O3.js +11 -0
- package/dist/chunks/chunk.KTV4LCD3.js +11 -0
- package/dist/chunks/chunk.L7LC7YIH.js +213 -0
- package/dist/chunks/chunk.L7WFUJGX.js +21 -0
- package/dist/chunks/chunk.LBBKHZID.js +274 -0
- package/dist/chunks/chunk.LJ3SD2HR.js +25 -0
- package/dist/chunks/chunk.LQT6MDEN.js +11 -0
- package/dist/chunks/chunk.LW2CY3DQ.js +67 -0
- package/dist/chunks/chunk.LYQOHZ5X.js +11 -0
- package/dist/chunks/chunk.M5FBWGFQ.js +315 -0
- package/dist/chunks/chunk.M7TSHJKG.js +21 -0
- package/dist/chunks/chunk.MAEJCLDM.js +397 -0
- package/dist/chunks/chunk.MDLPASTE.js +361 -0
- package/dist/chunks/chunk.MFTAEGHC.js +33 -0
- package/dist/chunks/chunk.MK55LKBZ.js +21 -0
- package/dist/chunks/chunk.ML2DAN45.js +24 -0
- package/dist/chunks/chunk.MP6WMPMN.js +11 -0
- package/dist/chunks/chunk.MQQT5LJQ.js +11 -0
- package/dist/chunks/chunk.MUZNVBVN.js +11 -0
- package/dist/chunks/chunk.N2DYP4DQ.js +80 -0
- package/dist/chunks/chunk.N5UO5DLO.js +11 -0
- package/dist/chunks/chunk.N7ETCGNT.js +286 -0
- package/dist/chunks/chunk.NAAFGK4R.js +45 -0
- package/dist/chunks/chunk.NGSDNEY6.js +109 -0
- package/dist/chunks/chunk.NH2S5TIZ.js +33 -0
- package/dist/chunks/chunk.NINAQZIB.js +178 -0
- package/dist/chunks/chunk.NOX76VFW.js +21 -0
- package/dist/chunks/chunk.NUIF7Y62.js +11 -0
- package/dist/chunks/chunk.O2KZOIDE.js +11 -0
- package/dist/chunks/chunk.O2XWD7U4.js +41 -0
- package/dist/chunks/chunk.OE2BWYL5.js +135 -0
- package/dist/chunks/chunk.OJSR4IXJ.js +11 -0
- package/dist/chunks/chunk.OLBQKINT.js +11 -0
- package/dist/chunks/chunk.OUCEPFIJ.js +11 -0
- package/dist/chunks/chunk.OVST6MQM.js +93 -0
- package/dist/chunks/chunk.OXEDTKGC.js +82 -0
- package/dist/chunks/chunk.OXNAW5G2.js +24 -0
- package/dist/chunks/chunk.OZBIJTZF.js +25 -0
- package/dist/chunks/chunk.P23BBSSX.js +90 -0
- package/dist/chunks/chunk.PGDRCERA.js +11 -0
- package/dist/chunks/chunk.PLRM2RBJ.js +896 -0
- package/dist/chunks/chunk.POBPY2OO.js +116 -0
- package/dist/chunks/chunk.PSJ3W5HP.js +11 -0
- package/dist/chunks/chunk.Q64EHUPE.js +21 -0
- package/dist/chunks/chunk.QCCIMTZO.js +28 -0
- package/dist/chunks/chunk.QD57T7CQ.js +11 -0
- package/dist/chunks/chunk.QEOPYV76.js +28 -0
- package/dist/chunks/chunk.QFVPTQQE.js +11 -0
- package/dist/chunks/chunk.QJGEHFX6.js +28 -0
- package/dist/chunks/chunk.QKXK3DNO.js +11 -0
- package/dist/chunks/chunk.QL4FTAHM.js +280 -0
- package/dist/chunks/chunk.QQ65ZTPM.js +134 -0
- package/dist/chunks/chunk.QSCUJMB2.js +26 -0
- package/dist/chunks/chunk.QUQ442QJ.js +11 -0
- package/dist/chunks/chunk.QVSPO4ZU.js +21 -0
- package/dist/chunks/chunk.QVZIZPPZ.js +11 -0
- package/dist/chunks/chunk.RJPLMAZK.js +25 -0
- package/dist/chunks/chunk.RJYXN5V7.js +21 -0
- package/dist/chunks/chunk.RSSMWNF5.js +59 -0
- package/dist/chunks/chunk.RSU7FLWE.js +11 -0
- package/dist/chunks/chunk.SC76MLES.js +231 -0
- package/dist/chunks/chunk.SL3BF3DT.js +111 -0
- package/dist/chunks/chunk.SLEVVWRQ.js +11 -0
- package/dist/chunks/chunk.SMWFCMGL.js +11 -0
- package/dist/chunks/chunk.SQC3GABO.js +21 -0
- package/dist/chunks/chunk.SXWK62A7.js +11 -0
- package/dist/chunks/chunk.SYI4YYJY.js +11 -0
- package/dist/chunks/chunk.TA524VHK.js +109 -0
- package/dist/chunks/chunk.TAPPBC5J.js +26 -0
- package/dist/chunks/chunk.TC6ZLB4U.js +28 -0
- package/dist/chunks/chunk.U2TFBEEK.js +87 -0
- package/dist/chunks/chunk.UBFRCWKE.js +21 -0
- package/dist/chunks/chunk.UHQMSF2K.js +24 -0
- package/dist/chunks/chunk.UKGCQLJA.js +11 -0
- package/dist/chunks/chunk.UKHG4OLC.js +11 -0
- package/dist/chunks/chunk.UMS2PW6P.js +11 -0
- package/dist/chunks/chunk.UMU6TD7W.js +75 -0
- package/dist/chunks/chunk.V3XQ4O7N.js +323 -0
- package/dist/chunks/chunk.VGQBS5R4.js +22 -0
- package/dist/chunks/chunk.VGR5YLNO.js +11 -0
- package/dist/chunks/chunk.VL5Q5VI7.js +24 -0
- package/dist/chunks/chunk.VYR7B5DF.js +27 -0
- package/dist/chunks/chunk.W54TQ3ZJ.js +491 -0
- package/dist/chunks/chunk.WDKMGWU5.js +21 -0
- package/dist/chunks/chunk.WL7VKNZO.js +837 -0
- package/dist/chunks/chunk.WMFQJZ5C.js +100 -0
- package/dist/chunks/chunk.WQJBHSAD.js +11 -0
- package/dist/chunks/chunk.WUCK5XNF.js +375 -0
- package/dist/chunks/chunk.X3AXZ5HP.js +961 -0
- package/dist/chunks/chunk.XC64T2JG.js +21 -0
- package/dist/chunks/chunk.XCMVDXCA.js +27 -0
- package/dist/chunks/chunk.XDFR6YDT.js +11 -0
- package/dist/chunks/chunk.XOGQAJE5.js +311 -0
- package/dist/chunks/chunk.XS2OVR7F.js +26 -0
- package/dist/chunks/chunk.XS4O43Q2.js +21 -0
- package/dist/chunks/chunk.XSHH2MZ5.js +119 -0
- package/dist/chunks/chunk.XT2XSM4U.js +25 -0
- package/dist/chunks/chunk.XUZJLXQE.js +337 -0
- package/dist/chunks/chunk.XV35ZSAO.js +290 -0
- package/dist/chunks/chunk.XV4YTLPS.js +227 -0
- package/dist/chunks/chunk.XYJEKBV3.js +11 -0
- package/dist/chunks/chunk.YNTCYCRR.js +448 -0
- package/dist/chunks/chunk.YO3MCRUU.js +11 -0
- package/dist/chunks/chunk.YVBVDOAP.js +11 -0
- package/dist/chunks/chunk.YZNE3PED.js +11 -0
- package/dist/chunks/chunk.ZCWYY4CB.js +130 -0
- package/dist/chunks/chunk.ZEVSUQQA.js +91 -0
- package/dist/chunks/chunk.ZKJPW7J4.js +27 -0
- package/dist/chunks/chunk.ZNBNR4J5.js +11 -0
- package/dist/chunks/chunk.ZOLWCWR2.js +417 -0
- package/dist/chunks/chunk.ZQNBZUIX.js +181 -0
- package/dist/chunks/chunk.ZTHR57RQ.js +11 -0
- package/dist/chunks/chunk.ZUQ4EFT2.js +21 -0
- package/dist/chunks/chunk.ZX3PUZLQ.js +21 -0
- package/dist/components/alert/alert.component.js +4 -4
- package/dist/components/alert/alert.js +5 -5
- package/dist/components/animated-image/animated-image.component.js +3 -3
- package/dist/components/animated-image/animated-image.js +4 -4
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +3 -3
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +4 -4
- package/dist/components/button/button.js +5 -5
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +3 -3
- package/dist/components/carousel/carousel.js +4 -4
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/color-picker/color-picker.component.js +10 -10
- package/dist/components/color-picker/color-picker.js +11 -11
- package/dist/components/combobox/combobox.component.js +8 -8
- package/dist/components/combobox/combobox.js +9 -9
- package/dist/components/copy-button/copy-button.component.js +5 -5
- package/dist/components/copy-button/copy-button.js +6 -6
- package/dist/components/data-table/data-table.component.js +5 -5
- package/dist/components/data-table/data-table.js +6 -6
- package/dist/components/data-table-column/data-table-column.component.js +2 -2
- package/dist/components/data-table-column/data-table-column.js +3 -3
- package/dist/components/date-picker/date-picker.component.js +5 -5
- package/dist/components/date-picker/date-picker.js +6 -6
- package/dist/components/details/details.component.js +3 -3
- package/dist/components/details/details.js +4 -4
- package/dist/components/dialog/dialog.component.js +4 -4
- package/dist/components/dialog/dialog.js +5 -5
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +4 -4
- package/dist/components/drawer/drawer.js +5 -5
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/footer/footer.component.js +2 -2
- package/dist/components/footer/footer.js +3 -3
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/header/header.component.js +4 -4
- package/dist/components/header/header.js +5 -5
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image-comparer/image-comparer.component.js +3 -3
- package/dist/components/image-comparer/image-comparer.js +4 -4
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +3 -3
- package/dist/components/input/input.js +4 -4
- package/dist/components/logo/logo.component.js +2 -2
- package/dist/components/logo/logo.js +3 -3
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +5 -5
- package/dist/components/menu-item/menu-item.js +6 -6
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/pagination/pagination.component.js +4 -4
- package/dist/components/pagination/pagination.js +5 -5
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/primary-navigation/primary-navigation.component.js +3 -3
- package/dist/components/primary-navigation/primary-navigation.js +4 -4
- package/dist/components/primary-navigation-item/primary-navigation-item.component.js +5 -5
- package/dist/components/primary-navigation-item/primary-navigation-item.js +6 -6
- package/dist/components/primary-navigation-menu/primary-navigation-menu.component.js +2 -2
- package/dist/components/primary-navigation-menu/primary-navigation-menu.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +2 -2
- package/dist/components/range/range.js +3 -3
- package/dist/components/rating/rating.component.js +3 -3
- package/dist/components/rating/rating.js +4 -4
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/secondary-navigation/secondary-navigation.component.js +4 -4
- package/dist/components/secondary-navigation/secondary-navigation.js +5 -5
- package/dist/components/secondary-navigation-item/secondary-navigation-item.component.js +2 -2
- package/dist/components/secondary-navigation-item/secondary-navigation-item.js +3 -3
- package/dist/components/select/select.component.js +6 -6
- package/dist/components/select/select.js +7 -7
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/social-link/social-link.component.js +4 -4
- package/dist/components/social-link/social-link.js +5 -5
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +4 -4
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.component.js +5 -5
- package/dist/components/tab-group/tab-group.js +6 -6
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/tag/tag.component.js +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-picker/time-picker.component.js +5 -5
- package/dist/components/time-picker/time-picker.js +6 -6
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +6 -6
- package/dist/components/tree/tree.js +7 -7
- package/dist/components/tree-item/tree-item.component.js +5 -5
- package/dist/components/tree-item/tree-item.js +6 -6
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +1 -1
- package/dist/cw-elements.js +147 -147
- package/dist/react/alert/index.js +5 -5
- package/dist/react/animated-image/index.js +4 -4
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +4 -4
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +5 -5
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +4 -4
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +4 -4
- package/dist/react/color-picker/index.js +11 -11
- package/dist/react/combobox/index.js +9 -9
- package/dist/react/copy-button/index.js +6 -6
- package/dist/react/data-table/index.js +6 -6
- package/dist/react/data-table-column/index.js +3 -3
- package/dist/react/date-picker/index.js +6 -6
- package/dist/react/details/index.js +4 -4
- package/dist/react/dialog/index.js +5 -5
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +5 -5
- package/dist/react/dropdown/index.js +4 -4
- package/dist/react/footer/index.js +3 -3
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/header/index.js +5 -5
- package/dist/react/icon/index.js +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image-comparer/index.js +4 -4
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.js +147 -147
- package/dist/react/input/index.js +4 -4
- package/dist/react/logo/index.js +3 -3
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +6 -6
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/option/index.js +4 -4
- package/dist/react/pagination/index.js +5 -5
- package/dist/react/popup/index.js +3 -3
- package/dist/react/primary-navigation/index.js +4 -4
- package/dist/react/primary-navigation-item/index.js +6 -6
- package/dist/react/primary-navigation-menu/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +4 -4
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +3 -3
- package/dist/react/rating/index.js +4 -4
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/secondary-navigation/index.js +5 -5
- package/dist/react/secondary-navigation-item/index.js +3 -3
- package/dist/react/select/index.js +7 -7
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/social-link/index.js +5 -5
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +5 -5
- package/dist/react/tab-group/index.js +6 -6
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/tag/index.js +5 -5
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/time-picker/index.js +6 -6
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +7 -7
- package/dist/react/tree-item/index.js +6 -6
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
- package/cdn/chunks/chunk.22UK3O4A.js +0 -28
- package/cdn/chunks/chunk.2JHAFEMS.js +0 -11
- package/cdn/chunks/chunk.2NNDMP76.js +0 -11
- package/cdn/chunks/chunk.2OZ2WMC6.js +0 -11
- package/cdn/chunks/chunk.2VKQQ4Z6.js +0 -24
- package/cdn/chunks/chunk.2YQ2BPWG.js +0 -11
- package/cdn/chunks/chunk.35736IMA.js +0 -11
- package/cdn/chunks/chunk.3IIJXUVI.js +0 -25
- package/cdn/chunks/chunk.3OABF33F.js +0 -11
- package/cdn/chunks/chunk.3P6VXID5.js +0 -11
- package/cdn/chunks/chunk.3R2QZLKI.js +0 -21
- package/cdn/chunks/chunk.3TGJHGKH.js +0 -21
- package/cdn/chunks/chunk.3WSOPYUS.js +0 -28
- package/cdn/chunks/chunk.4A7CDZDR.js +0 -103
- package/cdn/chunks/chunk.4NT6Z724.js +0 -93
- package/cdn/chunks/chunk.4TFZCWZI.js +0 -11
- package/cdn/chunks/chunk.4WASHNY5.js +0 -24
- package/cdn/chunks/chunk.53JYSITO.js +0 -75
- package/cdn/chunks/chunk.54X4DJ6J.js +0 -24
- package/cdn/chunks/chunk.56F5SA3Z.js +0 -11
- package/cdn/chunks/chunk.5AUIWINZ.js +0 -114
- package/cdn/chunks/chunk.5JA6OL4N.js +0 -27
- package/cdn/chunks/chunk.5NLOPV55.js +0 -24
- package/cdn/chunks/chunk.5OZOKRDP.js +0 -11
- package/cdn/chunks/chunk.67WKF3L5.js +0 -33
- package/cdn/chunks/chunk.6GCJEIMI.js +0 -21
- package/cdn/chunks/chunk.6ISEJHSY.js +0 -50
- package/cdn/chunks/chunk.6NBLVE6K.js +0 -25
- package/cdn/chunks/chunk.6YBQERSU.js +0 -21
- package/cdn/chunks/chunk.766SEJUF.js +0 -346
- package/cdn/chunks/chunk.7CZLKKCQ.js +0 -233
- package/cdn/chunks/chunk.7E2TS6SK.js +0 -67
- package/cdn/chunks/chunk.7EGJFBCO.js +0 -11
- package/cdn/chunks/chunk.7KZ7KUNO.js +0 -21
- package/cdn/chunks/chunk.7YY3R6IW.js +0 -33
- package/cdn/chunks/chunk.7ZAJFRM5.js +0 -21
- package/cdn/chunks/chunk.ABJOFJFD.js +0 -33
- package/cdn/chunks/chunk.ADKLMP2L.js +0 -11
- package/cdn/chunks/chunk.AFIKFT5Y.js +0 -21
- package/cdn/chunks/chunk.AFSD53JS.js +0 -21
- package/cdn/chunks/chunk.ANHFQKHJ.js +0 -24
- package/cdn/chunks/chunk.AP7FI3Q4.js +0 -11
- package/cdn/chunks/chunk.AUPWAEKA.js +0 -218
- package/cdn/chunks/chunk.AZFQZASX.js +0 -11
- package/cdn/chunks/chunk.BBIOL7WA.js +0 -28
- package/cdn/chunks/chunk.BLYB3MIO.js +0 -27
- package/cdn/chunks/chunk.BPBG5GOO.js +0 -21
- package/cdn/chunks/chunk.BROSNVN2.js +0 -11
- package/cdn/chunks/chunk.BVQAQS67.js +0 -11
- package/cdn/chunks/chunk.CABJPUBE.js +0 -11
- package/cdn/chunks/chunk.CPSN427G.js +0 -11
- package/cdn/chunks/chunk.CQ4KO7NK.js +0 -153
- package/cdn/chunks/chunk.CQBJFFLV.js +0 -42
- package/cdn/chunks/chunk.CW5AW4FT.js +0 -11
- package/cdn/chunks/chunk.D5JVDS7X.js +0 -27
- package/cdn/chunks/chunk.DABFPUKE.js +0 -11
- package/cdn/chunks/chunk.DCQSTPES.js +0 -29
- package/cdn/chunks/chunk.DDQ4KHCE.js +0 -367
- package/cdn/chunks/chunk.DDYQ457O.js +0 -29
- package/cdn/chunks/chunk.DLOGFTAP.js +0 -11
- package/cdn/chunks/chunk.DP7RYWK5.js +0 -844
- package/cdn/chunks/chunk.DPBB4PAY.js +0 -11
- package/cdn/chunks/chunk.E246FEU2.js +0 -21
- package/cdn/chunks/chunk.E2ZIHNX3.js +0 -11
- package/cdn/chunks/chunk.E3RW5JCI.js +0 -267
- package/cdn/chunks/chunk.ECNQBLHP.js +0 -378
- package/cdn/chunks/chunk.ECOZOPCO.js +0 -21
- package/cdn/chunks/chunk.EE6F3AEY.js +0 -11
- package/cdn/chunks/chunk.EO4CNR54.js +0 -314
- package/cdn/chunks/chunk.EXAENFDD.js +0 -11
- package/cdn/chunks/chunk.F6NLND3H.js +0 -11
- package/cdn/chunks/chunk.FEJIOLS5.js +0 -11
- package/cdn/chunks/chunk.FM3NIAI6.js +0 -27
- package/cdn/chunks/chunk.FOAN4XSU.js +0 -26
- package/cdn/chunks/chunk.FU7MWBRH.js +0 -499
- package/cdn/chunks/chunk.FWYSNMFV.js +0 -385
- package/cdn/chunks/chunk.FXF22UHR.js +0 -455
- package/cdn/chunks/chunk.FYVTAHTR.js +0 -26
- package/cdn/chunks/chunk.G4OKRQDP.js +0 -11
- package/cdn/chunks/chunk.GGIIGI2O.js +0 -11
- package/cdn/chunks/chunk.GPSLTCXT.js +0 -87
- package/cdn/chunks/chunk.GQJOEXYL.js +0 -21
- package/cdn/chunks/chunk.GRXHQLX7.js +0 -11
- package/cdn/chunks/chunk.GTJFOOUU.js +0 -11
- package/cdn/chunks/chunk.GYZRJU3X.js +0 -11
- package/cdn/chunks/chunk.H54CBXFY.js +0 -79
- package/cdn/chunks/chunk.H57RVF2K.js +0 -255
- package/cdn/chunks/chunk.HCDMCWQI.js +0 -137
- package/cdn/chunks/chunk.HE6ODEHB.js +0 -11
- package/cdn/chunks/chunk.HIAFPFTI.js +0 -391
- package/cdn/chunks/chunk.HNHDTTKU.js +0 -24
- package/cdn/chunks/chunk.HQWUDNNH.js +0 -174
- package/cdn/chunks/chunk.HVCWE6SK.js +0 -64
- package/cdn/chunks/chunk.I5P45PZ6.js +0 -11
- package/cdn/chunks/chunk.IAEZBWHE.js +0 -24
- package/cdn/chunks/chunk.ILDVO4KC.js +0 -11
- package/cdn/chunks/chunk.IXIFXNFC.js +0 -1990
- package/cdn/chunks/chunk.JA2Y26MH.js +0 -27
- package/cdn/chunks/chunk.JHMSNRF5.js +0 -11
- package/cdn/chunks/chunk.JJNHJUIJ.js +0 -11
- package/cdn/chunks/chunk.JJPS7ZGJ.js +0 -27
- package/cdn/chunks/chunk.JNHATBMI.js +0 -11
- package/cdn/chunks/chunk.JTIVQRS7.js +0 -11
- package/cdn/chunks/chunk.JU6DSJX6.js +0 -11
- package/cdn/chunks/chunk.JWW2MVHA.js +0 -21
- package/cdn/chunks/chunk.K4Y7G4B2.js +0 -24
- package/cdn/chunks/chunk.KAXJXPSX.js +0 -197
- package/cdn/chunks/chunk.KBTI77PS.js +0 -26
- package/cdn/chunks/chunk.KJ4JWNBD.js +0 -11
- package/cdn/chunks/chunk.KQZLO64E.js +0 -25
- package/cdn/chunks/chunk.KW4IJYTP.js +0 -91
- package/cdn/chunks/chunk.KZ5B4JD3.js +0 -36
- package/cdn/chunks/chunk.L2HMPKXV.js +0 -24
- package/cdn/chunks/chunk.LC4VKKI2.js +0 -45
- package/cdn/chunks/chunk.LHYIVIPV.js +0 -21
- package/cdn/chunks/chunk.LOWUAQR6.js +0 -114
- package/cdn/chunks/chunk.LSSHFYSR.js +0 -185
- package/cdn/chunks/chunk.LZFKF3D7.js +0 -11
- package/cdn/chunks/chunk.M2AIN6AL.js +0 -11
- package/cdn/chunks/chunk.M2GA7H7J.js +0 -77
- package/cdn/chunks/chunk.M3AWWHS5.js +0 -11
- package/cdn/chunks/chunk.M5X3LIEC.js +0 -84
- package/cdn/chunks/chunk.MAE4FUXY.js +0 -29
- package/cdn/chunks/chunk.MJL4QOPE.js +0 -11
- package/cdn/chunks/chunk.MM74ZXBR.js +0 -79
- package/cdn/chunks/chunk.MNI74FST.js +0 -11
- package/cdn/chunks/chunk.MU2RWURU.js +0 -969
- package/cdn/chunks/chunk.N4WE6CZQ.js +0 -21
- package/cdn/chunks/chunk.N54NUI6G.js +0 -21
- package/cdn/chunks/chunk.NCHQVZWZ.js +0 -24
- package/cdn/chunks/chunk.NID4C6EP.js +0 -24
- package/cdn/chunks/chunk.NJ227M6Z.js +0 -21
- package/cdn/chunks/chunk.NVZPQ3NS.js +0 -821
- package/cdn/chunks/chunk.O2UCBCOY.js +0 -336
- package/cdn/chunks/chunk.O4FFVJ7Y.js +0 -97
- package/cdn/chunks/chunk.O4GZXUX5.js +0 -25
- package/cdn/chunks/chunk.O6YLHG57.js +0 -73
- package/cdn/chunks/chunk.O766EOPJ.js +0 -292
- package/cdn/chunks/chunk.OD5ZWRBJ.js +0 -142
- package/cdn/chunks/chunk.OHTPZAOL.js +0 -27
- package/cdn/chunks/chunk.OIDKAJPW.js +0 -26
- package/cdn/chunks/chunk.OJSXJI4Y.js +0 -24
- package/cdn/chunks/chunk.ONST4ZQB.js +0 -302
- package/cdn/chunks/chunk.OYOCMQC2.js +0 -11
- package/cdn/chunks/chunk.PBNRUNW6.js +0 -11
- package/cdn/chunks/chunk.PDEHCY72.js +0 -279
- package/cdn/chunks/chunk.PDZ7YNFP.js +0 -120
- package/cdn/chunks/chunk.PFOLONAM.js +0 -158
- package/cdn/chunks/chunk.PSX6WTHG.js +0 -11
- package/cdn/chunks/chunk.Q34MTVQ2.js +0 -27
- package/cdn/chunks/chunk.Q5UNBWHQ.js +0 -285
- package/cdn/chunks/chunk.Q76OMFVU.js +0 -82
- package/cdn/chunks/chunk.QLH4YVKB.js +0 -299
- package/cdn/chunks/chunk.QM4DJMWP.js +0 -11
- package/cdn/chunks/chunk.QOM7O3SJ.js +0 -11
- package/cdn/chunks/chunk.QQUCH5NP.js +0 -21
- package/cdn/chunks/chunk.QR3PFDPL.js +0 -21
- package/cdn/chunks/chunk.QVBKKFO6.js +0 -11
- package/cdn/chunks/chunk.R3FUZSUL.js +0 -11
- package/cdn/chunks/chunk.R3JZAK55.js +0 -21
- package/cdn/chunks/chunk.RNLGNOAM.js +0 -21
- package/cdn/chunks/chunk.RXDH6K2A.js +0 -24
- package/cdn/chunks/chunk.RZOXZ4CL.js +0 -11
- package/cdn/chunks/chunk.RZVMBWWG.js +0 -139
- package/cdn/chunks/chunk.RZX55FIS.js +0 -25
- package/cdn/chunks/chunk.SCDVMGAZ.js +0 -11
- package/cdn/chunks/chunk.SDDRACRW.js +0 -49
- package/cdn/chunks/chunk.SLCWLZSY.js +0 -11
- package/cdn/chunks/chunk.SLYRCKRW.js +0 -236
- package/cdn/chunks/chunk.SQOITJXG.js +0 -25
- package/cdn/chunks/chunk.SQXNSB6Z.js +0 -21
- package/cdn/chunks/chunk.SRWGQMO5.js +0 -113
- package/cdn/chunks/chunk.STYFJMNO.js +0 -28
- package/cdn/chunks/chunk.SUXGNNWP.js +0 -11
- package/cdn/chunks/chunk.T3JSGRYG.js +0 -11
- package/cdn/chunks/chunk.T4BWJ4ZE.js +0 -95
- package/cdn/chunks/chunk.T74MYMKF.js +0 -724
- package/cdn/chunks/chunk.TEX4KROR.js +0 -25
- package/cdn/chunks/chunk.TLPKROKH.js +0 -29
- package/cdn/chunks/chunk.TP4LLE7G.js +0 -216
- package/cdn/chunks/chunk.TQKZAJFX.js +0 -1925
- package/cdn/chunks/chunk.TRDFPQR6.js +0 -11
- package/cdn/chunks/chunk.TSJEX4CT.js +0 -402
- package/cdn/chunks/chunk.TZ7TPTP4.js +0 -11
- package/cdn/chunks/chunk.U5FWA2RA.js +0 -25
- package/cdn/chunks/chunk.U5HOFWA7.js +0 -127
- package/cdn/chunks/chunk.UEOFQ3Z4.js +0 -574
- package/cdn/chunks/chunk.UHVNK5GB.js +0 -11
- package/cdn/chunks/chunk.UKZ5QIMU.js +0 -11
- package/cdn/chunks/chunk.UYWPZYNC.js +0 -291
- package/cdn/chunks/chunk.UZRNKQD5.js +0 -28
- package/cdn/chunks/chunk.V734J2LQ.js +0 -11
- package/cdn/chunks/chunk.VFFSDMI2.js +0 -330
- package/cdn/chunks/chunk.VOS3E4I5.js +0 -122
- package/cdn/chunks/chunk.VQ2ETICF.js +0 -21
- package/cdn/chunks/chunk.VT5G346S.js +0 -33
- package/cdn/chunks/chunk.VXGA6SF2.js +0 -11
- package/cdn/chunks/chunk.WDJS6KVE.js +0 -11
- package/cdn/chunks/chunk.WTZ2OQ2A.js +0 -24
- package/cdn/chunks/chunk.X42FCMYQ.js +0 -904
- package/cdn/chunks/chunk.X7IGL3HH.js +0 -11
- package/cdn/chunks/chunk.XKZA4HN3.js +0 -11
- package/cdn/chunks/chunk.XMAXQBP6.js +0 -120
- package/cdn/chunks/chunk.XNBLWKZC.js +0 -21
- package/cdn/chunks/chunk.XOB4RSRC.js +0 -11
- package/cdn/chunks/chunk.XOB5NL2F.js +0 -63
- package/cdn/chunks/chunk.XVYHZ6UP.js +0 -21
- package/cdn/chunks/chunk.XZ7HB4OD.js +0 -11
- package/cdn/chunks/chunk.XZBKXMEA.js +0 -11
- package/cdn/chunks/chunk.Y3PMOU7Y.js +0 -25
- package/cdn/chunks/chunk.YFJYUP6K.js +0 -186
- package/cdn/chunks/chunk.YNECRYB2.js +0 -21
- package/cdn/chunks/chunk.Z7KO72U2.js +0 -231
- package/cdn/chunks/chunk.ZISHG2VU.js +0 -49
- package/cdn/chunks/chunk.ZJRCMYIL.js +0 -11
- package/cdn/chunks/chunk.ZNL5KMPH.js +0 -297
- package/cdn/chunks/chunk.ZTXFZ3GR.js +0 -21
- package/cdn/chunks/chunk.ZTXJHJ5J.js +0 -11
- package/cdn/chunks/chunk.ZUTJOMFZ.js +0 -21
- package/cdn/chunks/chunk.ZZCIFP62.js +0 -11
- package/dist/chunks/chunk.2NQ4OD3D.js +0 -11
- package/dist/chunks/chunk.2QUJ656I.js +0 -11
- package/dist/chunks/chunk.2ZP44H7N.js +0 -11
- package/dist/chunks/chunk.36GSIX77.js +0 -25
- package/dist/chunks/chunk.37S7PFKN.js +0 -11
- package/dist/chunks/chunk.3HEFSY3S.js +0 -397
- package/dist/chunks/chunk.3UFCP4DZ.js +0 -21
- package/dist/chunks/chunk.42FA7MZ3.js +0 -111
- package/dist/chunks/chunk.43CIHTS7.js +0 -11
- package/dist/chunks/chunk.4FGLKUX6.js +0 -361
- package/dist/chunks/chunk.4HPESDLL.js +0 -21
- package/dist/chunks/chunk.4NXVEDZE.js +0 -130
- package/dist/chunks/chunk.4QO4BQRY.js +0 -22
- package/dist/chunks/chunk.4SFU25R3.js +0 -192
- package/dist/chunks/chunk.4VEL5XXF.js +0 -24
- package/dist/chunks/chunk.52PS5OGM.js +0 -80
- package/dist/chunks/chunk.55GBIK2V.js +0 -11
- package/dist/chunks/chunk.5GQ3LYIG.js +0 -448
- package/dist/chunks/chunk.5N6SVS7N.js +0 -21
- package/dist/chunks/chunk.5NKOUNCO.js +0 -11
- package/dist/chunks/chunk.5OLZWC37.js +0 -42
- package/dist/chunks/chunk.5SD6IBOT.js +0 -24
- package/dist/chunks/chunk.5ZT2N4AR.js +0 -11
- package/dist/chunks/chunk.6H3ICGE2.js +0 -62
- package/dist/chunks/chunk.6IKF4CVR.js +0 -276
- package/dist/chunks/chunk.6KSDK6IT.js +0 -11
- package/dist/chunks/chunk.6L56ZAWF.js +0 -11
- package/dist/chunks/chunk.6LLWYOOB.js +0 -25
- package/dist/chunks/chunk.6POUZCCD.js +0 -75
- package/dist/chunks/chunk.6UE7WZZD.js +0 -21
- package/dist/chunks/chunk.7D4E7YGW.js +0 -837
- package/dist/chunks/chunk.7DT374PM.js +0 -21
- package/dist/chunks/chunk.7E6D6IUV.js +0 -24
- package/dist/chunks/chunk.7KP4PTC4.js +0 -294
- package/dist/chunks/chunk.A6K2ZZQV.js +0 -90
- package/dist/chunks/chunk.AGZQCYAO.js +0 -21
- package/dist/chunks/chunk.AHPJ4XO3.js +0 -11
- package/dist/chunks/chunk.AILCV733.js +0 -21
- package/dist/chunks/chunk.AL6KUGDT.js +0 -11
- package/dist/chunks/chunk.ALQOWQJN.js +0 -134
- package/dist/chunks/chunk.ANK7TKHN.js +0 -21
- package/dist/chunks/chunk.AR52ZI5B.js +0 -11
- package/dist/chunks/chunk.AWGHSLKU.js +0 -11
- package/dist/chunks/chunk.AYNBWVUU.js +0 -24
- package/dist/chunks/chunk.B36MQBGR.js +0 -29
- package/dist/chunks/chunk.BAXMJGSW.js +0 -27
- package/dist/chunks/chunk.BBC4OXNG.js +0 -11
- package/dist/chunks/chunk.BLDH6EVO.js +0 -21
- package/dist/chunks/chunk.BNG46I4N.js +0 -25
- package/dist/chunks/chunk.BTAIDU3W.js +0 -26
- package/dist/chunks/chunk.CB7TEP7O.js +0 -11
- package/dist/chunks/chunk.CD3EM4HX.js +0 -315
- package/dist/chunks/chunk.CIXS2IP4.js +0 -11
- package/dist/chunks/chunk.CJXEZ32E.js +0 -11
- package/dist/chunks/chunk.CKAIDZQM.js +0 -11
- package/dist/chunks/chunk.CSFCAKFZ.js +0 -11
- package/dist/chunks/chunk.CTETBEIL.js +0 -11
- package/dist/chunks/chunk.CU3NWNRR.js +0 -21
- package/dist/chunks/chunk.D342JIBE.js +0 -181
- package/dist/chunks/chunk.DJ7LY5TY.js +0 -11
- package/dist/chunks/chunk.DJD22VC5.js +0 -73
- package/dist/chunks/chunk.DN5WO6XS.js +0 -11
- package/dist/chunks/chunk.DNRYNE34.js +0 -11
- package/dist/chunks/chunk.DPNXQFNU.js +0 -11
- package/dist/chunks/chunk.DSPACHJ4.js +0 -75
- package/dist/chunks/chunk.DWDS7K7I.js +0 -93
- package/dist/chunks/chunk.DXBZWCME.js +0 -293
- package/dist/chunks/chunk.DYPT7Y27.js +0 -11
- package/dist/chunks/chunk.DYWU6M52.js +0 -27
- package/dist/chunks/chunk.DZZGFY6F.js +0 -417
- package/dist/chunks/chunk.E4HTWWAO.js +0 -11
- package/dist/chunks/chunk.EAKKH2PU.js +0 -337
- package/dist/chunks/chunk.EGIZJWTJ.js +0 -33
- package/dist/chunks/chunk.EH4NHUUW.js +0 -280
- package/dist/chunks/chunk.EJ5PUTHP.js +0 -24
- package/dist/chunks/chunk.EMB636ZY.js +0 -11
- package/dist/chunks/chunk.ENFELD3H.js +0 -11
- package/dist/chunks/chunk.ENVWPXT2.js +0 -109
- package/dist/chunks/chunk.EZUJYXQT.js +0 -29
- package/dist/chunks/chunk.F6WPKRNR.js +0 -11
- package/dist/chunks/chunk.F73QO32R.js +0 -25
- package/dist/chunks/chunk.FAE7XIWJ.js +0 -50
- package/dist/chunks/chunk.FEER2LVQ.js +0 -21
- package/dist/chunks/chunk.FEVMFCGZ.js +0 -213
- package/dist/chunks/chunk.FFYFC35L.js +0 -21
- package/dist/chunks/chunk.FLQAA2DU.js +0 -11
- package/dist/chunks/chunk.FVUM2HVG.js +0 -21
- package/dist/chunks/chunk.FZMRESW7.js +0 -45
- package/dist/chunks/chunk.GAGKCG4Y.js +0 -27
- package/dist/chunks/chunk.GAMOJPLK.js +0 -11
- package/dist/chunks/chunk.GBZWL3UH.js +0 -11
- package/dist/chunks/chunk.GJUOFIEJ.js +0 -286
- package/dist/chunks/chunk.GLQDFERN.js +0 -11
- package/dist/chunks/chunk.GPM3JDQM.js +0 -27
- package/dist/chunks/chunk.GQRPLIYI.js +0 -21
- package/dist/chunks/chunk.GRC45QWX.js +0 -11
- package/dist/chunks/chunk.GTDWUOKO.js +0 -11
- package/dist/chunks/chunk.GUVT25OV.js +0 -41
- package/dist/chunks/chunk.H6WFFIXZ.js +0 -28
- package/dist/chunks/chunk.H7CRGNTO.js +0 -24
- package/dist/chunks/chunk.HJETD7T2.js +0 -11
- package/dist/chunks/chunk.HRFQAW2R.js +0 -11
- package/dist/chunks/chunk.IEDJQ4KV.js +0 -21
- package/dist/chunks/chunk.IKCUR56C.js +0 -11
- package/dist/chunks/chunk.IKX7E5HP.js +0 -94
- package/dist/chunks/chunk.ILIPDSEJ.js +0 -11
- package/dist/chunks/chunk.IPA6JOB6.js +0 -24
- package/dist/chunks/chunk.JBMVKL3O.js +0 -178
- package/dist/chunks/chunk.JOADMPV5.js +0 -11
- package/dist/chunks/chunk.JSRSAM2J.js +0 -813
- package/dist/chunks/chunk.JVDM3B2M.js +0 -11
- package/dist/chunks/chunk.KE6XTZ4O.js +0 -100
- package/dist/chunks/chunk.KFVFJ4I7.js +0 -11
- package/dist/chunks/chunk.KJXHRZ2W.js +0 -11
- package/dist/chunks/chunk.KKKUH4LM.js +0 -21
- package/dist/chunks/chunk.KZ4U7SCR.js +0 -11
- package/dist/chunks/chunk.L2N7X2UR.js +0 -11
- package/dist/chunks/chunk.L3CLMEH3.js +0 -11
- package/dist/chunks/chunk.LA5ZXOPB.js +0 -311
- package/dist/chunks/chunk.LAX5T3GS.js +0 -170
- package/dist/chunks/chunk.LEFQUZ2H.js +0 -21
- package/dist/chunks/chunk.LGG6WTYQ.js +0 -11
- package/dist/chunks/chunk.LOZU2WZY.js +0 -11
- package/dist/chunks/chunk.LQJ4YXT3.js +0 -24
- package/dist/chunks/chunk.LURJMSBC.js +0 -11
- package/dist/chunks/chunk.M2SGLF7H.js +0 -45
- package/dist/chunks/chunk.MUODRX37.js +0 -24
- package/dist/chunks/chunk.MWU4QUD7.js +0 -116
- package/dist/chunks/chunk.MXP3POUR.js +0 -26
- package/dist/chunks/chunk.MY6TM3MK.js +0 -26
- package/dist/chunks/chunk.N2J7G3ZJ.js +0 -11
- package/dist/chunks/chunk.N7UA2736.js +0 -11
- package/dist/chunks/chunk.NF3TRP2U.js +0 -21
- package/dist/chunks/chunk.NFGHFN7L.js +0 -11
- package/dist/chunks/chunk.NLLNA67M.js +0 -33
- package/dist/chunks/chunk.NUZJEZOV.js +0 -29
- package/dist/chunks/chunk.NWE3S5Z2.js +0 -11
- package/dist/chunks/chunk.OGSSQC3Y.js +0 -91
- package/dist/chunks/chunk.OMPERD2H.js +0 -82
- package/dist/chunks/chunk.OQOYGIZS.js +0 -290
- package/dist/chunks/chunk.OSPANHZE.js +0 -100
- package/dist/chunks/chunk.OSVF3DPF.js +0 -11
- package/dist/chunks/chunk.PB57KWEV.js +0 -231
- package/dist/chunks/chunk.PBC63MZ5.js +0 -21
- package/dist/chunks/chunk.PGDNQZAU.js +0 -274
- package/dist/chunks/chunk.PHM32CZB.js +0 -550
- package/dist/chunks/chunk.PJYU6ORC.js +0 -22
- package/dist/chunks/chunk.PKWBADED.js +0 -21
- package/dist/chunks/chunk.PPQE2PLG.js +0 -119
- package/dist/chunks/chunk.PSYDGFQE.js +0 -28
- package/dist/chunks/chunk.PUOXMDPS.js +0 -11
- package/dist/chunks/chunk.PYAQJMXT.js +0 -896
- package/dist/chunks/chunk.Q2J2GQOS.js +0 -72
- package/dist/chunks/chunk.Q3T7YS4Q.js +0 -25
- package/dist/chunks/chunk.Q4C3P23Q.js +0 -109
- package/dist/chunks/chunk.Q4JBN2Q4.js +0 -85
- package/dist/chunks/chunk.QB2NAZVQ.js +0 -21
- package/dist/chunks/chunk.QB5UXIAC.js +0 -135
- package/dist/chunks/chunk.QCPIYNHI.js +0 -25
- package/dist/chunks/chunk.QDTPJYF3.js +0 -25
- package/dist/chunks/chunk.QFVQSX4S.js +0 -28
- package/dist/chunks/chunk.QJQMESQO.js +0 -21
- package/dist/chunks/chunk.QLGFJXLA.js +0 -24
- package/dist/chunks/chunk.QPVQXA4U.js +0 -34
- package/dist/chunks/chunk.QSMBWFIF.js +0 -87
- package/dist/chunks/chunk.R4WW2VQS.js +0 -25
- package/dist/chunks/chunk.RDBDDHNR.js +0 -115
- package/dist/chunks/chunk.RNJ5AATW.js +0 -151
- package/dist/chunks/chunk.RPGG7DGC.js +0 -28
- package/dist/chunks/chunk.RPULAUS7.js +0 -247
- package/dist/chunks/chunk.RTOH2SMF.js +0 -11
- package/dist/chunks/chunk.RWV4QFCO.js +0 -26
- package/dist/chunks/chunk.S2GRLK6N.js +0 -24
- package/dist/chunks/chunk.SA3EI2QS.js +0 -21
- package/dist/chunks/chunk.SCIWVZRB.js +0 -147
- package/dist/chunks/chunk.SHNEVADS.js +0 -33
- package/dist/chunks/chunk.SM3OCWHF.js +0 -11
- package/dist/chunks/chunk.SVZN5GVF.js +0 -227
- package/dist/chunks/chunk.T57QL7IT.js +0 -27
- package/dist/chunks/chunk.TAWTFUXK.js +0 -117
- package/dist/chunks/chunk.TCTEDPPV.js +0 -11
- package/dist/chunks/chunk.THE2J5IO.js +0 -11
- package/dist/chunks/chunk.TJWCIRWE.js +0 -11
- package/dist/chunks/chunk.TLLTATVY.js +0 -29
- package/dist/chunks/chunk.TNOTUCTR.js +0 -370
- package/dist/chunks/chunk.U3BWYWE7.js +0 -11
- package/dist/chunks/chunk.UXE7YXNS.js +0 -11
- package/dist/chunks/chunk.V6TURYYO.js +0 -375
- package/dist/chunks/chunk.VBXFQX26.js +0 -11
- package/dist/chunks/chunk.VDIAPHJ3.js +0 -11
- package/dist/chunks/chunk.VDKMMXUZ.js +0 -21
- package/dist/chunks/chunk.VIIZKV36.js +0 -21
- package/dist/chunks/chunk.VIZILT7F.js +0 -11
- package/dist/chunks/chunk.VJJFKUHS.js +0 -323
- package/dist/chunks/chunk.W2GBUHOU.js +0 -21
- package/dist/chunks/chunk.WAWUITSN.js +0 -27
- package/dist/chunks/chunk.WEAGF4CG.js +0 -491
- package/dist/chunks/chunk.WJK5IV5A.js +0 -28
- package/dist/chunks/chunk.WM7FWHGD.js +0 -11
- package/dist/chunks/chunk.WNK33VLA.js +0 -11
- package/dist/chunks/chunk.WSYJYDS5.js +0 -25
- package/dist/chunks/chunk.XDOQMOC4.js +0 -25
- package/dist/chunks/chunk.XEKFUBJ6.js +0 -33
- package/dist/chunks/chunk.XHP5TWX3.js +0 -384
- package/dist/chunks/chunk.XJUE5RAC.js +0 -11
- package/dist/chunks/chunk.XMACHDGD.js +0 -11
- package/dist/chunks/chunk.YDB4SMZO.js +0 -27
- package/dist/chunks/chunk.YGBMQDHX.js +0 -11
- package/dist/chunks/chunk.YJIOXZEW.js +0 -961
- package/dist/chunks/chunk.YLYY35J2.js +0 -225
- package/dist/chunks/chunk.YXDM2NNH.js +0 -67
- package/dist/chunks/chunk.YZJM5YNO.js +0 -21
- package/dist/chunks/chunk.Z76TLYIW.js +0 -949
- package/dist/chunks/chunk.Z7ZBCE4R.js +0 -63
- package/dist/chunks/chunk.ZIWUCFRR.js +0 -59
- package/dist/chunks/chunk.ZNF7A5QN.js +0 -11
- package/dist/chunks/chunk.ZPY66FQ7.js +0 -24
- package/dist/chunks/chunk.ZWJCVKOU.js +0 -11
- package/dist/chunks/chunk.ZYW45R6H.js +0 -259
- package/dist/chunks/chunk.ZZHS3VF6.js +0 -21
|
@@ -0,0 +1,969 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CwTag
|
|
3
|
+
} from "./chunk.DUGZS665.js";
|
|
4
|
+
import {
|
|
5
|
+
o
|
|
6
|
+
} from "./chunk.G4QG77C5.js";
|
|
7
|
+
import {
|
|
8
|
+
scrollIntoView
|
|
9
|
+
} from "./chunk.PH2N3MLE.js";
|
|
10
|
+
import {
|
|
11
|
+
CwVisuallyHidden
|
|
12
|
+
} from "./chunk.X7K3GGW5.js";
|
|
13
|
+
import {
|
|
14
|
+
CwPopup
|
|
15
|
+
} from "./chunk.SS4MED4W.js";
|
|
16
|
+
import {
|
|
17
|
+
form_control_styles_default
|
|
18
|
+
} from "./chunk.DJVND463.js";
|
|
19
|
+
import {
|
|
20
|
+
combobox_styles_default
|
|
21
|
+
} from "./chunk.FJLDW473.js";
|
|
22
|
+
import {
|
|
23
|
+
CwSpinner
|
|
24
|
+
} from "./chunk.GU2PAPLX.js";
|
|
25
|
+
import {
|
|
26
|
+
FormControlController
|
|
27
|
+
} from "./chunk.FIVNGT4O.js";
|
|
28
|
+
import {
|
|
29
|
+
getAnimation,
|
|
30
|
+
setDefaultAnimation
|
|
31
|
+
} from "./chunk.JSLXCIMZ.js";
|
|
32
|
+
import {
|
|
33
|
+
waitForEvent
|
|
34
|
+
} from "./chunk.B4BZKR24.js";
|
|
35
|
+
import {
|
|
36
|
+
animateTo,
|
|
37
|
+
stopAnimations
|
|
38
|
+
} from "./chunk.3CTNMS55.js";
|
|
39
|
+
import {
|
|
40
|
+
LocalizeController
|
|
41
|
+
} from "./chunk.75ZQOYXC.js";
|
|
42
|
+
import {
|
|
43
|
+
HasSlotController
|
|
44
|
+
} from "./chunk.BVGZUUCX.js";
|
|
45
|
+
import {
|
|
46
|
+
e
|
|
47
|
+
} from "./chunk.VBR4VS53.js";
|
|
48
|
+
import {
|
|
49
|
+
CwIcon
|
|
50
|
+
} from "./chunk.5KLSJMGP.js";
|
|
51
|
+
import {
|
|
52
|
+
watch
|
|
53
|
+
} from "./chunk.RB5L7E7Z.js";
|
|
54
|
+
import {
|
|
55
|
+
component_styles_default
|
|
56
|
+
} from "./chunk.NJIHXHXI.js";
|
|
57
|
+
import {
|
|
58
|
+
CwElement,
|
|
59
|
+
e as e2,
|
|
60
|
+
n,
|
|
61
|
+
r
|
|
62
|
+
} from "./chunk.J3YBF7EP.js";
|
|
63
|
+
import {
|
|
64
|
+
b
|
|
65
|
+
} from "./chunk.6A2LG33L.js";
|
|
66
|
+
import {
|
|
67
|
+
__decorateClass
|
|
68
|
+
} from "./chunk.QIOX6AG5.js";
|
|
69
|
+
|
|
70
|
+
// src/components/combobox/combobox.component.ts
|
|
71
|
+
var nextOptionId = 0;
|
|
72
|
+
var CwCombobox = class extends CwElement {
|
|
73
|
+
constructor() {
|
|
74
|
+
super(...arguments);
|
|
75
|
+
this.formControlController = new FormControlController(this, {
|
|
76
|
+
assumeInteractionOn: ["cw-blur", "cw-input"]
|
|
77
|
+
});
|
|
78
|
+
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
79
|
+
this.localize = new LocalizeController(this);
|
|
80
|
+
/** A free-text value the user has typed that doesn't match any option. Only used when `allowCustomValue` is set. */
|
|
81
|
+
this.customValue = "";
|
|
82
|
+
this.hasFocus = false;
|
|
83
|
+
this.displayLabel = "";
|
|
84
|
+
this.selectedOptions = [];
|
|
85
|
+
this.activeOptionId = "";
|
|
86
|
+
this.hasVisibleOptions = true;
|
|
87
|
+
this.valueHasChanged = false;
|
|
88
|
+
this.isFiltering = false;
|
|
89
|
+
this.name = "";
|
|
90
|
+
this._value = "";
|
|
91
|
+
this.defaultValue = "";
|
|
92
|
+
this.size = "medium";
|
|
93
|
+
this.placeholder = "";
|
|
94
|
+
this.multiple = false;
|
|
95
|
+
this.maxOptionsVisible = 3;
|
|
96
|
+
this.disabled = false;
|
|
97
|
+
this.clearable = false;
|
|
98
|
+
this.allowCustomValue = false;
|
|
99
|
+
this.loading = false;
|
|
100
|
+
this.open = false;
|
|
101
|
+
this.hoist = false;
|
|
102
|
+
this.filled = false;
|
|
103
|
+
this.pill = false;
|
|
104
|
+
this.label = "";
|
|
105
|
+
this.placement = "bottom";
|
|
106
|
+
this.helpText = "";
|
|
107
|
+
this.form = "";
|
|
108
|
+
this.required = false;
|
|
109
|
+
this.getTag = (option) => {
|
|
110
|
+
return b`
|
|
111
|
+
<cw-tag
|
|
112
|
+
part="tag"
|
|
113
|
+
exportparts="
|
|
114
|
+
base:tag__base,
|
|
115
|
+
content:tag__content,
|
|
116
|
+
remove-button:tag__remove-button,
|
|
117
|
+
remove-button__base:tag__remove-button__base
|
|
118
|
+
"
|
|
119
|
+
?pill=${this.pill}
|
|
120
|
+
size=${this.size}
|
|
121
|
+
removable
|
|
122
|
+
@cw-remove=${(event) => this.handleTagRemove(event, option)}
|
|
123
|
+
>
|
|
124
|
+
${option.getTextLabel()}
|
|
125
|
+
</cw-tag>
|
|
126
|
+
`;
|
|
127
|
+
};
|
|
128
|
+
this.handleDocumentFocusIn = (event) => {
|
|
129
|
+
const path = event.composedPath();
|
|
130
|
+
if (this && !path.includes(this)) {
|
|
131
|
+
this.hide();
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
this.handleDocumentKeyDown = (event) => {
|
|
135
|
+
const target = event.target;
|
|
136
|
+
const isClearButton = target.closest(".combobox__clear") !== null;
|
|
137
|
+
const isIconButton = target.closest("cw-icon-button") !== null;
|
|
138
|
+
if (isClearButton || isIconButton) {
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
if (event.key === "Escape" && this.open && !this.closeWatcher) {
|
|
142
|
+
event.preventDefault();
|
|
143
|
+
event.stopPropagation();
|
|
144
|
+
this.hide();
|
|
145
|
+
this.displayInput.focus({ preventScroll: true });
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
if (event.key === "Enter") {
|
|
149
|
+
if (!this.open) {
|
|
150
|
+
this.show();
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
event.preventDefault();
|
|
154
|
+
if (this.currentOption && !this.currentOption.disabled) {
|
|
155
|
+
this.selectOption(this.currentOption);
|
|
156
|
+
} else if (this.allowCustomValue) {
|
|
157
|
+
const typedValue = this.displayLabel.trim();
|
|
158
|
+
if (typedValue !== "") {
|
|
159
|
+
this.commitCustomValue(typedValue);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
return;
|
|
163
|
+
}
|
|
164
|
+
if (["ArrowUp", "ArrowDown", "Home", "End"].includes(event.key)) {
|
|
165
|
+
const visibleOptions = this.getVisibleOptions();
|
|
166
|
+
const currentIndex = this.currentOption ? visibleOptions.indexOf(this.currentOption) : -1;
|
|
167
|
+
let newIndex = Math.max(0, currentIndex);
|
|
168
|
+
event.preventDefault();
|
|
169
|
+
if (!this.open) {
|
|
170
|
+
this.show();
|
|
171
|
+
if (this.currentOption) {
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
if (visibleOptions.length === 0) {
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
178
|
+
if (event.key === "ArrowDown") {
|
|
179
|
+
newIndex = currentIndex + 1;
|
|
180
|
+
if (newIndex > visibleOptions.length - 1) newIndex = 0;
|
|
181
|
+
} else if (event.key === "ArrowUp") {
|
|
182
|
+
newIndex = currentIndex - 1;
|
|
183
|
+
if (newIndex < 0) newIndex = visibleOptions.length - 1;
|
|
184
|
+
} else if (event.key === "Home") {
|
|
185
|
+
newIndex = 0;
|
|
186
|
+
} else if (event.key === "End") {
|
|
187
|
+
newIndex = visibleOptions.length - 1;
|
|
188
|
+
}
|
|
189
|
+
this.setCurrentOption(visibleOptions[newIndex]);
|
|
190
|
+
if (this.currentOption) {
|
|
191
|
+
scrollIntoView(this.currentOption, this.listbox, "vertical", "auto");
|
|
192
|
+
}
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
195
|
+
if (event.key === "Backspace" && this.multiple && this.displayLabel === "" && this.selectedOptions.length > 0) {
|
|
196
|
+
const lastOption = this.selectedOptions[this.selectedOptions.length - 1];
|
|
197
|
+
this.toggleOptionSelection(lastOption, false);
|
|
198
|
+
this.valueHasChanged = true;
|
|
199
|
+
this.updateComplete.then(() => {
|
|
200
|
+
this.emit("cw-input");
|
|
201
|
+
this.emit("cw-change");
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
};
|
|
205
|
+
this.handleDocumentMouseDown = (event) => {
|
|
206
|
+
const path = event.composedPath();
|
|
207
|
+
if (this && !path.includes(this)) {
|
|
208
|
+
this.hide();
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
get value() {
|
|
213
|
+
return this._value;
|
|
214
|
+
}
|
|
215
|
+
set value(val) {
|
|
216
|
+
if (this.multiple) {
|
|
217
|
+
val = Array.isArray(val) ? val : val.split(" ");
|
|
218
|
+
} else {
|
|
219
|
+
val = Array.isArray(val) ? val.join(" ") : val;
|
|
220
|
+
}
|
|
221
|
+
if (this._value === val) {
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
this.valueHasChanged = true;
|
|
225
|
+
this._value = val;
|
|
226
|
+
}
|
|
227
|
+
/** Gets the validity state object */
|
|
228
|
+
get validity() {
|
|
229
|
+
return this.valueInput.validity;
|
|
230
|
+
}
|
|
231
|
+
/** Gets the validation message */
|
|
232
|
+
get validationMessage() {
|
|
233
|
+
return this.valueInput.validationMessage;
|
|
234
|
+
}
|
|
235
|
+
connectedCallback() {
|
|
236
|
+
super.connectedCallback();
|
|
237
|
+
setTimeout(() => {
|
|
238
|
+
this.handleDefaultSlotChange();
|
|
239
|
+
});
|
|
240
|
+
this.open = false;
|
|
241
|
+
}
|
|
242
|
+
addOpenListeners() {
|
|
243
|
+
var _a;
|
|
244
|
+
document.addEventListener("focusin", this.handleDocumentFocusIn);
|
|
245
|
+
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
246
|
+
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
247
|
+
if (this.getRootNode() !== document) {
|
|
248
|
+
this.getRootNode().addEventListener("focusin", this.handleDocumentFocusIn);
|
|
249
|
+
}
|
|
250
|
+
if ("CloseWatcher" in window) {
|
|
251
|
+
(_a = this.closeWatcher) == null ? void 0 : _a.destroy();
|
|
252
|
+
this.closeWatcher = new CloseWatcher();
|
|
253
|
+
this.closeWatcher.onclose = () => {
|
|
254
|
+
if (this.open) {
|
|
255
|
+
this.hide();
|
|
256
|
+
this.displayInput.focus({ preventScroll: true });
|
|
257
|
+
}
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
removeOpenListeners() {
|
|
262
|
+
var _a;
|
|
263
|
+
document.removeEventListener("focusin", this.handleDocumentFocusIn);
|
|
264
|
+
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
265
|
+
document.removeEventListener("mousedown", this.handleDocumentMouseDown);
|
|
266
|
+
if (this.getRootNode() !== document) {
|
|
267
|
+
this.getRootNode().removeEventListener("focusin", this.handleDocumentFocusIn);
|
|
268
|
+
}
|
|
269
|
+
(_a = this.closeWatcher) == null ? void 0 : _a.destroy();
|
|
270
|
+
}
|
|
271
|
+
handleFocus() {
|
|
272
|
+
this.hasFocus = true;
|
|
273
|
+
this.emit("cw-focus");
|
|
274
|
+
}
|
|
275
|
+
handleBlur() {
|
|
276
|
+
this.hasFocus = false;
|
|
277
|
+
this.isFiltering = false;
|
|
278
|
+
this.filterOptions("");
|
|
279
|
+
if (!this.multiple) {
|
|
280
|
+
const selectedOption = this.selectedOptions[0];
|
|
281
|
+
const typedValue = this.displayLabel.trim();
|
|
282
|
+
if (selectedOption) {
|
|
283
|
+
if (typedValue !== selectedOption.getTextLabel()) {
|
|
284
|
+
if (this.allowCustomValue && typedValue !== "") {
|
|
285
|
+
this.commitCustomValue(typedValue);
|
|
286
|
+
} else if (typedValue === "") {
|
|
287
|
+
this.valueHasChanged = true;
|
|
288
|
+
this.setSelectedOptions([]);
|
|
289
|
+
} else {
|
|
290
|
+
this.displayLabel = selectedOption.getTextLabel();
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
} else if (this.allowCustomValue && typedValue !== "" && typedValue !== this.customValue) {
|
|
294
|
+
this.commitCustomValue(typedValue);
|
|
295
|
+
} else if (typedValue === "" && this.customValue !== "") {
|
|
296
|
+
this.valueHasChanged = true;
|
|
297
|
+
this.customValue = "";
|
|
298
|
+
this.setSelectedOptions([]);
|
|
299
|
+
} else if (!this.allowCustomValue) {
|
|
300
|
+
this.displayLabel = this.customValue;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
this.emit("cw-blur");
|
|
304
|
+
}
|
|
305
|
+
handleLabelClick() {
|
|
306
|
+
this.displayInput.focus();
|
|
307
|
+
}
|
|
308
|
+
handleComboboxMouseDown(event) {
|
|
309
|
+
const path = event.composedPath();
|
|
310
|
+
const isIconButton = path.some((el) => el instanceof Element && el.tagName.toLowerCase() === "cw-icon-button");
|
|
311
|
+
const isInput = path[0] === this.displayInput;
|
|
312
|
+
if (this.disabled || isIconButton) {
|
|
313
|
+
return;
|
|
314
|
+
}
|
|
315
|
+
if (!isInput) {
|
|
316
|
+
event.preventDefault();
|
|
317
|
+
this.displayInput.focus({ preventScroll: true });
|
|
318
|
+
}
|
|
319
|
+
if (!this.open) {
|
|
320
|
+
this.show();
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
handleComboboxKeyDown(event) {
|
|
324
|
+
if (event.key === "Tab") {
|
|
325
|
+
return;
|
|
326
|
+
}
|
|
327
|
+
event.stopPropagation();
|
|
328
|
+
this.handleDocumentKeyDown(event);
|
|
329
|
+
}
|
|
330
|
+
handleInput(event) {
|
|
331
|
+
const target = event.target;
|
|
332
|
+
this.displayLabel = target.value;
|
|
333
|
+
this.customValue = "";
|
|
334
|
+
this.isFiltering = true;
|
|
335
|
+
this.filterOptions(this.displayLabel);
|
|
336
|
+
if (!this.open) {
|
|
337
|
+
this.show();
|
|
338
|
+
}
|
|
339
|
+
const visibleOptions = this.getVisibleOptions();
|
|
340
|
+
this.setCurrentOption(visibleOptions[0]);
|
|
341
|
+
this.emit("cw-input");
|
|
342
|
+
}
|
|
343
|
+
handleClearClick(event) {
|
|
344
|
+
event.stopPropagation();
|
|
345
|
+
this.valueHasChanged = true;
|
|
346
|
+
this.customValue = "";
|
|
347
|
+
const hasValue = Array.isArray(this.value) ? this.value.length > 0 : this.value !== "";
|
|
348
|
+
if (hasValue || this.displayLabel !== "") {
|
|
349
|
+
this.setSelectedOptions([]);
|
|
350
|
+
this.displayLabel = "";
|
|
351
|
+
this.isFiltering = false;
|
|
352
|
+
this.filterOptions("");
|
|
353
|
+
this.displayInput.focus({ preventScroll: true });
|
|
354
|
+
this.updateComplete.then(() => {
|
|
355
|
+
this.emit("cw-clear");
|
|
356
|
+
this.emit("cw-input");
|
|
357
|
+
this.emit("cw-change");
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
handleClearMouseDown(event) {
|
|
362
|
+
event.stopPropagation();
|
|
363
|
+
event.preventDefault();
|
|
364
|
+
}
|
|
365
|
+
handleOptionClick(event) {
|
|
366
|
+
const target = event.target;
|
|
367
|
+
const option = target.closest("cw-option");
|
|
368
|
+
if (option && !option.disabled) {
|
|
369
|
+
this.selectOption(option);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
// Prevent mousing down on an option from moving focus off the display input. Otherwise the resulting blur would
|
|
373
|
+
// reset the type-ahead filter (and therefore the layout of the listbox) before the subsequent `mouseup` fires,
|
|
374
|
+
// causing the click to land on the wrong option.
|
|
375
|
+
handleListboxMouseDown(event) {
|
|
376
|
+
event.preventDefault();
|
|
377
|
+
}
|
|
378
|
+
/* @internal - used by options to update labels */
|
|
379
|
+
handleDefaultSlotChange() {
|
|
380
|
+
if (!customElements.get("cw-option")) {
|
|
381
|
+
customElements.whenDefined("cw-option").then(() => this.handleDefaultSlotChange());
|
|
382
|
+
}
|
|
383
|
+
const allOptions = this.getAllOptions();
|
|
384
|
+
const val = this.valueHasChanged ? this.value : this.defaultValue;
|
|
385
|
+
const value = Array.isArray(val) ? val : [val];
|
|
386
|
+
const matchingOptions = allOptions.filter((el) => value.includes(el.value));
|
|
387
|
+
this.updateCustomValue(val, matchingOptions);
|
|
388
|
+
this.setSelectedOptions(matchingOptions);
|
|
389
|
+
this.filterOptions(this.isFiltering ? this.displayLabel : "");
|
|
390
|
+
}
|
|
391
|
+
handleTagRemove(event, option) {
|
|
392
|
+
event.stopPropagation();
|
|
393
|
+
this.valueHasChanged = true;
|
|
394
|
+
if (!this.disabled) {
|
|
395
|
+
this.toggleOptionSelection(option, false);
|
|
396
|
+
this.updateComplete.then(() => {
|
|
397
|
+
this.emit("cw-input");
|
|
398
|
+
this.emit("cw-change");
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
// Gets an array of all <cw-option> elements
|
|
403
|
+
getAllOptions() {
|
|
404
|
+
return [...this.querySelectorAll("cw-option")];
|
|
405
|
+
}
|
|
406
|
+
// Gets all <cw-option> elements that match the current filter
|
|
407
|
+
getVisibleOptions() {
|
|
408
|
+
return this.getAllOptions().filter((option) => !option.hidden);
|
|
409
|
+
}
|
|
410
|
+
// Hides options that don't match the given query and tracks whether any options remain visible
|
|
411
|
+
filterOptions(filter) {
|
|
412
|
+
var _a;
|
|
413
|
+
const normalized = filter.trim().toLowerCase();
|
|
414
|
+
const allOptions = this.getAllOptions();
|
|
415
|
+
let hasVisibleOption = false;
|
|
416
|
+
allOptions.forEach((option) => {
|
|
417
|
+
const matches = normalized === "" || option.getTextLabel().toLowerCase().includes(normalized);
|
|
418
|
+
option.hidden = !matches;
|
|
419
|
+
if (matches) {
|
|
420
|
+
hasVisibleOption = true;
|
|
421
|
+
}
|
|
422
|
+
});
|
|
423
|
+
this.hasVisibleOptions = hasVisibleOption;
|
|
424
|
+
if ((_a = this.currentOption) == null ? void 0 : _a.hidden) {
|
|
425
|
+
this.setCurrentOption(this.getVisibleOptions()[0]);
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
// Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard or by
|
|
429
|
+
// typing). Only one option may be "current" at a time. Unlike a standard listbox, focus remains on the input;
|
|
430
|
+
// `aria-activedescendant` is used to communicate the current option instead.
|
|
431
|
+
setCurrentOption(option) {
|
|
432
|
+
const allOptions = this.getAllOptions();
|
|
433
|
+
allOptions.forEach((el) => {
|
|
434
|
+
el.current = false;
|
|
435
|
+
el.tabIndex = -1;
|
|
436
|
+
});
|
|
437
|
+
if (option) {
|
|
438
|
+
if (!option.id) {
|
|
439
|
+
option.id = `cw-combobox-option-${++nextOptionId}`;
|
|
440
|
+
}
|
|
441
|
+
this.currentOption = option;
|
|
442
|
+
this.activeOptionId = option.id;
|
|
443
|
+
option.current = true;
|
|
444
|
+
option.tabIndex = 0;
|
|
445
|
+
} else {
|
|
446
|
+
this.currentOption = void 0;
|
|
447
|
+
this.activeOptionId = "";
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
// Sets the selected option(s)
|
|
451
|
+
setSelectedOptions(option) {
|
|
452
|
+
const allOptions = this.getAllOptions();
|
|
453
|
+
const newSelectedOptions = Array.isArray(option) ? option : [option];
|
|
454
|
+
allOptions.forEach((el) => el.selected = false);
|
|
455
|
+
if (newSelectedOptions.length) {
|
|
456
|
+
newSelectedOptions.forEach((el) => el.selected = true);
|
|
457
|
+
}
|
|
458
|
+
this.selectionChanged();
|
|
459
|
+
}
|
|
460
|
+
// Toggles an option's selected state
|
|
461
|
+
toggleOptionSelection(option, force) {
|
|
462
|
+
if (force === true || force === false) {
|
|
463
|
+
option.selected = force;
|
|
464
|
+
} else {
|
|
465
|
+
option.selected = !option.selected;
|
|
466
|
+
}
|
|
467
|
+
this.selectionChanged();
|
|
468
|
+
}
|
|
469
|
+
// Determines whether a free-text value should be tracked as the combobox's value
|
|
470
|
+
updateCustomValue(rawValue, matchingOptions) {
|
|
471
|
+
const candidate = Array.isArray(rawValue) ? rawValue[0] : rawValue;
|
|
472
|
+
if (!this.multiple && this.allowCustomValue && matchingOptions.length === 0 && candidate) {
|
|
473
|
+
this.customValue = candidate;
|
|
474
|
+
} else {
|
|
475
|
+
this.customValue = "";
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
// Sets the value and display label to a free-text value that doesn't match any option
|
|
479
|
+
commitCustomValue(text) {
|
|
480
|
+
const oldValue = this.value;
|
|
481
|
+
this.valueHasChanged = true;
|
|
482
|
+
this.customValue = text;
|
|
483
|
+
this.setSelectedOptions([]);
|
|
484
|
+
this.isFiltering = false;
|
|
485
|
+
this.filterOptions("");
|
|
486
|
+
if (this.open) {
|
|
487
|
+
this.hide();
|
|
488
|
+
}
|
|
489
|
+
if (this.value !== oldValue) {
|
|
490
|
+
this.updateComplete.then(() => {
|
|
491
|
+
this.emit("cw-input");
|
|
492
|
+
this.emit("cw-change");
|
|
493
|
+
});
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
// This method must be called whenever the selection changes. It will update the selected options cache, the current
|
|
497
|
+
// value, and the display label
|
|
498
|
+
selectionChanged() {
|
|
499
|
+
const options = this.getAllOptions();
|
|
500
|
+
this.selectedOptions = options.filter((el) => el.selected);
|
|
501
|
+
const cachedValueHasChanged = this.valueHasChanged;
|
|
502
|
+
if (this.multiple) {
|
|
503
|
+
this.value = this.selectedOptions.map((el) => el.value);
|
|
504
|
+
} else {
|
|
505
|
+
const selectedOption = this.selectedOptions[0];
|
|
506
|
+
if (selectedOption) {
|
|
507
|
+
this.customValue = "";
|
|
508
|
+
this.value = selectedOption.value;
|
|
509
|
+
this.displayLabel = selectedOption.getTextLabel();
|
|
510
|
+
} else {
|
|
511
|
+
this.value = this.customValue;
|
|
512
|
+
if (!this.isFiltering) {
|
|
513
|
+
this.displayLabel = this.customValue;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
this.valueHasChanged = cachedValueHasChanged;
|
|
518
|
+
this.updateComplete.then(() => {
|
|
519
|
+
this.formControlController.updateValidity();
|
|
520
|
+
});
|
|
521
|
+
}
|
|
522
|
+
// Selects an option, updating the input and (for single-select) closing the listbox
|
|
523
|
+
selectOption(option) {
|
|
524
|
+
const oldValue = this.value;
|
|
525
|
+
this.valueHasChanged = true;
|
|
526
|
+
this.customValue = "";
|
|
527
|
+
if (this.multiple) {
|
|
528
|
+
this.toggleOptionSelection(option);
|
|
529
|
+
this.displayLabel = "";
|
|
530
|
+
} else {
|
|
531
|
+
this.setSelectedOptions(option);
|
|
532
|
+
}
|
|
533
|
+
this.isFiltering = false;
|
|
534
|
+
this.filterOptions("");
|
|
535
|
+
this.updateComplete.then(() => {
|
|
536
|
+
this.setCurrentOption(option);
|
|
537
|
+
if (this.value !== oldValue) {
|
|
538
|
+
this.emit("cw-input");
|
|
539
|
+
this.emit("cw-change");
|
|
540
|
+
}
|
|
541
|
+
if (!this.multiple) {
|
|
542
|
+
this.hide();
|
|
543
|
+
}
|
|
544
|
+
this.displayInput.focus({ preventScroll: true });
|
|
545
|
+
});
|
|
546
|
+
}
|
|
547
|
+
get tags() {
|
|
548
|
+
return this.selectedOptions.map((option, index) => {
|
|
549
|
+
if (index < this.maxOptionsVisible || this.maxOptionsVisible <= 0) {
|
|
550
|
+
const tag = this.getTag(option, index);
|
|
551
|
+
return b`<div @cw-remove=${(e3) => this.handleTagRemove(e3, option)}>
|
|
552
|
+
${typeof tag === "string" ? o(tag) : tag}
|
|
553
|
+
</div>`;
|
|
554
|
+
} else if (index === this.maxOptionsVisible) {
|
|
555
|
+
return b`<cw-tag size=${this.size}>+${this.selectedOptions.length - index}</cw-tag>`;
|
|
556
|
+
}
|
|
557
|
+
return b``;
|
|
558
|
+
});
|
|
559
|
+
}
|
|
560
|
+
handleInvalid(event) {
|
|
561
|
+
this.formControlController.setValidity(false);
|
|
562
|
+
this.formControlController.emitInvalidEvent(event);
|
|
563
|
+
}
|
|
564
|
+
handleDisabledChange() {
|
|
565
|
+
if (this.disabled) {
|
|
566
|
+
this.open = false;
|
|
567
|
+
this.handleOpenChange();
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
attributeChangedCallback(name, oldVal, newVal) {
|
|
571
|
+
super.attributeChangedCallback(name, oldVal, newVal);
|
|
572
|
+
if (name === "value") {
|
|
573
|
+
const cachedValueHasChanged = this.valueHasChanged;
|
|
574
|
+
this.value = this.defaultValue;
|
|
575
|
+
this.valueHasChanged = cachedValueHasChanged;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
handleValueChange() {
|
|
579
|
+
if (!this.valueHasChanged) {
|
|
580
|
+
const cachedValueHasChanged = this.valueHasChanged;
|
|
581
|
+
this.value = this.defaultValue;
|
|
582
|
+
this.valueHasChanged = cachedValueHasChanged;
|
|
583
|
+
}
|
|
584
|
+
const allOptions = this.getAllOptions();
|
|
585
|
+
const value = Array.isArray(this.value) ? this.value : [this.value];
|
|
586
|
+
const matchingOptions = allOptions.filter((el) => value.includes(el.value));
|
|
587
|
+
this.updateCustomValue(this.value, matchingOptions);
|
|
588
|
+
this.setSelectedOptions(matchingOptions);
|
|
589
|
+
}
|
|
590
|
+
async handleOpenChange() {
|
|
591
|
+
if (this.open && !this.disabled) {
|
|
592
|
+
this.setCurrentOption(this.selectedOptions[0] || this.getVisibleOptions()[0]);
|
|
593
|
+
this.emit("cw-show");
|
|
594
|
+
this.addOpenListeners();
|
|
595
|
+
await stopAnimations(this);
|
|
596
|
+
this.listbox.hidden = false;
|
|
597
|
+
this.popup.active = true;
|
|
598
|
+
requestAnimationFrame(() => {
|
|
599
|
+
this.setCurrentOption(this.currentOption);
|
|
600
|
+
});
|
|
601
|
+
const { keyframes, options } = getAnimation(this, "combobox.show", { dir: this.localize.dir() });
|
|
602
|
+
await animateTo(this.popup.popup, keyframes, options);
|
|
603
|
+
if (this.currentOption) {
|
|
604
|
+
scrollIntoView(this.currentOption, this.listbox, "vertical", "auto");
|
|
605
|
+
}
|
|
606
|
+
this.emit("cw-after-show");
|
|
607
|
+
} else {
|
|
608
|
+
this.emit("cw-hide");
|
|
609
|
+
this.removeOpenListeners();
|
|
610
|
+
await stopAnimations(this);
|
|
611
|
+
const { keyframes, options } = getAnimation(this, "combobox.hide", { dir: this.localize.dir() });
|
|
612
|
+
await animateTo(this.popup.popup, keyframes, options);
|
|
613
|
+
this.listbox.hidden = true;
|
|
614
|
+
this.popup.active = false;
|
|
615
|
+
this.emit("cw-after-hide");
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
/** Shows the listbox. */
|
|
619
|
+
async show() {
|
|
620
|
+
if (this.open || this.disabled) {
|
|
621
|
+
this.open = false;
|
|
622
|
+
return void 0;
|
|
623
|
+
}
|
|
624
|
+
this.open = true;
|
|
625
|
+
return waitForEvent(this, "cw-after-show");
|
|
626
|
+
}
|
|
627
|
+
/** Hides the listbox. */
|
|
628
|
+
async hide() {
|
|
629
|
+
if (!this.open || this.disabled) {
|
|
630
|
+
this.open = false;
|
|
631
|
+
return void 0;
|
|
632
|
+
}
|
|
633
|
+
this.open = false;
|
|
634
|
+
return waitForEvent(this, "cw-after-hide");
|
|
635
|
+
}
|
|
636
|
+
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
637
|
+
checkValidity() {
|
|
638
|
+
return this.valueInput.checkValidity();
|
|
639
|
+
}
|
|
640
|
+
/** Gets the associated form, if one exists. */
|
|
641
|
+
getForm() {
|
|
642
|
+
return this.formControlController.getForm();
|
|
643
|
+
}
|
|
644
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
645
|
+
reportValidity() {
|
|
646
|
+
return this.valueInput.reportValidity();
|
|
647
|
+
}
|
|
648
|
+
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
649
|
+
setCustomValidity(message) {
|
|
650
|
+
this.valueInput.setCustomValidity(message);
|
|
651
|
+
this.formControlController.updateValidity();
|
|
652
|
+
}
|
|
653
|
+
/** Sets focus on the control. */
|
|
654
|
+
focus(options) {
|
|
655
|
+
this.displayInput.focus(options);
|
|
656
|
+
}
|
|
657
|
+
/** Removes focus from the control. */
|
|
658
|
+
blur() {
|
|
659
|
+
this.displayInput.blur();
|
|
660
|
+
}
|
|
661
|
+
render() {
|
|
662
|
+
const hasLabelSlot = this.hasSlotController.test("label");
|
|
663
|
+
const hasHelpTextSlot = this.hasSlotController.test("help-text");
|
|
664
|
+
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
665
|
+
const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;
|
|
666
|
+
const hasValue = Array.isArray(this.value) ? this.value.length > 0 : this.value !== "";
|
|
667
|
+
const hasClearIcon = this.clearable && !this.disabled && (hasValue || this.displayLabel !== "");
|
|
668
|
+
const showNoOptions = this.open && !this.loading && !this.hasVisibleOptions;
|
|
669
|
+
return b`
|
|
670
|
+
<div
|
|
671
|
+
part="form-control"
|
|
672
|
+
class=${e({
|
|
673
|
+
"form-control": true,
|
|
674
|
+
"form-control--small": this.size === "small",
|
|
675
|
+
"form-control--medium": this.size === "medium",
|
|
676
|
+
"form-control--large": this.size === "large",
|
|
677
|
+
"form-control--has-label": hasLabel,
|
|
678
|
+
"form-control--has-help-text": hasHelpText
|
|
679
|
+
})}
|
|
680
|
+
>
|
|
681
|
+
<label
|
|
682
|
+
id="label"
|
|
683
|
+
part="form-control-label"
|
|
684
|
+
class="form-control__label"
|
|
685
|
+
aria-hidden=${hasLabel ? "false" : "true"}
|
|
686
|
+
@click=${this.handleLabelClick}
|
|
687
|
+
>
|
|
688
|
+
<slot name="label">${this.label}</slot>
|
|
689
|
+
</label>
|
|
690
|
+
|
|
691
|
+
<div part="form-control-input" class="form-control-input">
|
|
692
|
+
<cw-popup
|
|
693
|
+
class=${e({
|
|
694
|
+
combobox: true,
|
|
695
|
+
"combobox--standard": true,
|
|
696
|
+
"combobox--filled": this.filled,
|
|
697
|
+
"combobox--pill": this.pill,
|
|
698
|
+
"combobox--open": this.open,
|
|
699
|
+
"combobox--disabled": this.disabled,
|
|
700
|
+
"combobox--multiple": this.multiple,
|
|
701
|
+
"combobox--focused": this.hasFocus,
|
|
702
|
+
"combobox--top": this.placement === "top",
|
|
703
|
+
"combobox--bottom": this.placement === "bottom",
|
|
704
|
+
"combobox--small": this.size === "small",
|
|
705
|
+
"combobox--medium": this.size === "medium",
|
|
706
|
+
"combobox--large": this.size === "large"
|
|
707
|
+
})}
|
|
708
|
+
placement=${this.placement}
|
|
709
|
+
strategy=${this.hoist ? "fixed" : "absolute"}
|
|
710
|
+
flip
|
|
711
|
+
shift
|
|
712
|
+
sync="width"
|
|
713
|
+
auto-size="vertical"
|
|
714
|
+
auto-size-padding="10"
|
|
715
|
+
>
|
|
716
|
+
<div
|
|
717
|
+
part="combobox"
|
|
718
|
+
class="combobox__control"
|
|
719
|
+
slot="anchor"
|
|
720
|
+
@keydown=${this.handleComboboxKeyDown}
|
|
721
|
+
@mousedown=${this.handleComboboxMouseDown}
|
|
722
|
+
>
|
|
723
|
+
<slot part="prefix" name="prefix" class="combobox__prefix"></slot>
|
|
724
|
+
|
|
725
|
+
${this.multiple ? b`<div part="tags" class="combobox__tags">${this.tags}</div>` : ""}
|
|
726
|
+
|
|
727
|
+
<input
|
|
728
|
+
part="display-input"
|
|
729
|
+
class="combobox__display-input"
|
|
730
|
+
type="text"
|
|
731
|
+
placeholder=${this.placeholder}
|
|
732
|
+
.disabled=${this.disabled}
|
|
733
|
+
.value=${this.displayLabel}
|
|
734
|
+
autocomplete="off"
|
|
735
|
+
spellcheck="false"
|
|
736
|
+
autocapitalize="off"
|
|
737
|
+
aria-controls="listbox"
|
|
738
|
+
aria-expanded=${this.open ? "true" : "false"}
|
|
739
|
+
aria-haspopup="listbox"
|
|
740
|
+
aria-autocomplete="list"
|
|
741
|
+
aria-activedescendant=${this.activeOptionId}
|
|
742
|
+
aria-labelledby="label"
|
|
743
|
+
aria-disabled=${this.disabled ? "true" : "false"}
|
|
744
|
+
aria-describedby="help-text"
|
|
745
|
+
role="combobox"
|
|
746
|
+
@input=${this.handleInput}
|
|
747
|
+
@focus=${this.handleFocus}
|
|
748
|
+
@blur=${this.handleBlur}
|
|
749
|
+
/>
|
|
750
|
+
|
|
751
|
+
<input
|
|
752
|
+
class="combobox__value-input"
|
|
753
|
+
type="text"
|
|
754
|
+
?disabled=${this.disabled}
|
|
755
|
+
?required=${this.required}
|
|
756
|
+
.value=${Array.isArray(this.value) ? this.value.join(", ") : this.value}
|
|
757
|
+
tabindex="-1"
|
|
758
|
+
aria-hidden="true"
|
|
759
|
+
@focus=${() => this.focus()}
|
|
760
|
+
@invalid=${this.handleInvalid}
|
|
761
|
+
/>
|
|
762
|
+
|
|
763
|
+
${hasClearIcon ? b`
|
|
764
|
+
<button
|
|
765
|
+
part="clear-button"
|
|
766
|
+
class="combobox__clear"
|
|
767
|
+
type="button"
|
|
768
|
+
aria-label=${this.localize.term("clearEntry")}
|
|
769
|
+
@mousedown=${this.handleClearMouseDown}
|
|
770
|
+
@click=${this.handleClearClick}
|
|
771
|
+
tabindex="-1"
|
|
772
|
+
>
|
|
773
|
+
<slot name="clear-icon">
|
|
774
|
+
<cw-icon name="x-circle-fill" library="system"></cw-icon>
|
|
775
|
+
</slot>
|
|
776
|
+
</button>
|
|
777
|
+
` : ""}
|
|
778
|
+
|
|
779
|
+
<slot name="suffix" part="suffix" class="combobox__suffix"></slot>
|
|
780
|
+
|
|
781
|
+
<slot name="expand-icon" part="expand-icon" class="combobox__expand-icon">
|
|
782
|
+
<cw-icon library="system" name="chevron-down"></cw-icon>
|
|
783
|
+
</slot>
|
|
784
|
+
</div>
|
|
785
|
+
|
|
786
|
+
<div
|
|
787
|
+
id="listbox"
|
|
788
|
+
role="listbox"
|
|
789
|
+
aria-expanded=${this.open ? "true" : "false"}
|
|
790
|
+
aria-multiselectable=${this.multiple ? "true" : "false"}
|
|
791
|
+
aria-labelledby="label"
|
|
792
|
+
part="listbox"
|
|
793
|
+
class="combobox__listbox"
|
|
794
|
+
tabindex="-1"
|
|
795
|
+
@mousedown=${this.handleListboxMouseDown}
|
|
796
|
+
@mouseup=${this.handleOptionClick}
|
|
797
|
+
@slotchange=${this.handleDefaultSlotChange}
|
|
798
|
+
>
|
|
799
|
+
<slot></slot>
|
|
800
|
+
|
|
801
|
+
${this.loading ? b`
|
|
802
|
+
<div part="loading" class="combobox__loading">
|
|
803
|
+
<cw-spinner></cw-spinner>
|
|
804
|
+
</div>
|
|
805
|
+
` : ""}
|
|
806
|
+
${showNoOptions ? b`
|
|
807
|
+
<div part="no-options" class="combobox__no-options">
|
|
808
|
+
<slot name="no-options">No matching options found.</slot>
|
|
809
|
+
</div>
|
|
810
|
+
` : ""}
|
|
811
|
+
</div>
|
|
812
|
+
</cw-popup>
|
|
813
|
+
</div>
|
|
814
|
+
|
|
815
|
+
<div
|
|
816
|
+
part="form-control-help-text"
|
|
817
|
+
id="help-text"
|
|
818
|
+
class="form-control__help-text"
|
|
819
|
+
aria-hidden=${hasHelpText ? "false" : "true"}
|
|
820
|
+
>
|
|
821
|
+
<slot name="help-text">${this.helpText}</slot>
|
|
822
|
+
</div>
|
|
823
|
+
|
|
824
|
+
${this.multiple ? b`
|
|
825
|
+
<cw-visually-hidden role="status" aria-live="polite">
|
|
826
|
+
${this.localize.term("numOptionsSelected", this.selectedOptions.length)}
|
|
827
|
+
</cw-visually-hidden>
|
|
828
|
+
` : ""}
|
|
829
|
+
</div>
|
|
830
|
+
`;
|
|
831
|
+
}
|
|
832
|
+
};
|
|
833
|
+
CwCombobox.styles = [component_styles_default, form_control_styles_default, combobox_styles_default];
|
|
834
|
+
CwCombobox.dependencies = {
|
|
835
|
+
"cw-icon": CwIcon,
|
|
836
|
+
"cw-popup": CwPopup,
|
|
837
|
+
"cw-spinner": CwSpinner,
|
|
838
|
+
"cw-tag": CwTag,
|
|
839
|
+
"cw-visually-hidden": CwVisuallyHidden
|
|
840
|
+
};
|
|
841
|
+
__decorateClass([
|
|
842
|
+
e2(".combobox")
|
|
843
|
+
], CwCombobox.prototype, "popup", 2);
|
|
844
|
+
__decorateClass([
|
|
845
|
+
e2(".combobox__control")
|
|
846
|
+
], CwCombobox.prototype, "combobox", 2);
|
|
847
|
+
__decorateClass([
|
|
848
|
+
e2(".combobox__display-input")
|
|
849
|
+
], CwCombobox.prototype, "displayInput", 2);
|
|
850
|
+
__decorateClass([
|
|
851
|
+
e2(".combobox__value-input")
|
|
852
|
+
], CwCombobox.prototype, "valueInput", 2);
|
|
853
|
+
__decorateClass([
|
|
854
|
+
e2(".combobox__listbox")
|
|
855
|
+
], CwCombobox.prototype, "listbox", 2);
|
|
856
|
+
__decorateClass([
|
|
857
|
+
r()
|
|
858
|
+
], CwCombobox.prototype, "hasFocus", 2);
|
|
859
|
+
__decorateClass([
|
|
860
|
+
r()
|
|
861
|
+
], CwCombobox.prototype, "displayLabel", 2);
|
|
862
|
+
__decorateClass([
|
|
863
|
+
r()
|
|
864
|
+
], CwCombobox.prototype, "currentOption", 2);
|
|
865
|
+
__decorateClass([
|
|
866
|
+
r()
|
|
867
|
+
], CwCombobox.prototype, "selectedOptions", 2);
|
|
868
|
+
__decorateClass([
|
|
869
|
+
r()
|
|
870
|
+
], CwCombobox.prototype, "activeOptionId", 2);
|
|
871
|
+
__decorateClass([
|
|
872
|
+
r()
|
|
873
|
+
], CwCombobox.prototype, "hasVisibleOptions", 2);
|
|
874
|
+
__decorateClass([
|
|
875
|
+
r()
|
|
876
|
+
], CwCombobox.prototype, "valueHasChanged", 2);
|
|
877
|
+
__decorateClass([
|
|
878
|
+
r()
|
|
879
|
+
], CwCombobox.prototype, "isFiltering", 2);
|
|
880
|
+
__decorateClass([
|
|
881
|
+
n()
|
|
882
|
+
], CwCombobox.prototype, "name", 2);
|
|
883
|
+
__decorateClass([
|
|
884
|
+
r()
|
|
885
|
+
], CwCombobox.prototype, "value", 1);
|
|
886
|
+
__decorateClass([
|
|
887
|
+
n({ attribute: "value" })
|
|
888
|
+
], CwCombobox.prototype, "defaultValue", 2);
|
|
889
|
+
__decorateClass([
|
|
890
|
+
n({ reflect: true })
|
|
891
|
+
], CwCombobox.prototype, "size", 2);
|
|
892
|
+
__decorateClass([
|
|
893
|
+
n()
|
|
894
|
+
], CwCombobox.prototype, "placeholder", 2);
|
|
895
|
+
__decorateClass([
|
|
896
|
+
n({ type: Boolean, reflect: true })
|
|
897
|
+
], CwCombobox.prototype, "multiple", 2);
|
|
898
|
+
__decorateClass([
|
|
899
|
+
n({ attribute: "max-options-visible", type: Number })
|
|
900
|
+
], CwCombobox.prototype, "maxOptionsVisible", 2);
|
|
901
|
+
__decorateClass([
|
|
902
|
+
n({ type: Boolean, reflect: true })
|
|
903
|
+
], CwCombobox.prototype, "disabled", 2);
|
|
904
|
+
__decorateClass([
|
|
905
|
+
n({ type: Boolean })
|
|
906
|
+
], CwCombobox.prototype, "clearable", 2);
|
|
907
|
+
__decorateClass([
|
|
908
|
+
n({ attribute: "allow-custom-value", type: Boolean })
|
|
909
|
+
], CwCombobox.prototype, "allowCustomValue", 2);
|
|
910
|
+
__decorateClass([
|
|
911
|
+
n({ type: Boolean, reflect: true })
|
|
912
|
+
], CwCombobox.prototype, "loading", 2);
|
|
913
|
+
__decorateClass([
|
|
914
|
+
n({ type: Boolean, reflect: true })
|
|
915
|
+
], CwCombobox.prototype, "open", 2);
|
|
916
|
+
__decorateClass([
|
|
917
|
+
n({ type: Boolean })
|
|
918
|
+
], CwCombobox.prototype, "hoist", 2);
|
|
919
|
+
__decorateClass([
|
|
920
|
+
n({ type: Boolean, reflect: true })
|
|
921
|
+
], CwCombobox.prototype, "filled", 2);
|
|
922
|
+
__decorateClass([
|
|
923
|
+
n({ type: Boolean, reflect: true })
|
|
924
|
+
], CwCombobox.prototype, "pill", 2);
|
|
925
|
+
__decorateClass([
|
|
926
|
+
n()
|
|
927
|
+
], CwCombobox.prototype, "label", 2);
|
|
928
|
+
__decorateClass([
|
|
929
|
+
n({ reflect: true })
|
|
930
|
+
], CwCombobox.prototype, "placement", 2);
|
|
931
|
+
__decorateClass([
|
|
932
|
+
n({ attribute: "help-text" })
|
|
933
|
+
], CwCombobox.prototype, "helpText", 2);
|
|
934
|
+
__decorateClass([
|
|
935
|
+
n({ reflect: true })
|
|
936
|
+
], CwCombobox.prototype, "form", 2);
|
|
937
|
+
__decorateClass([
|
|
938
|
+
n({ type: Boolean, reflect: true })
|
|
939
|
+
], CwCombobox.prototype, "required", 2);
|
|
940
|
+
__decorateClass([
|
|
941
|
+
n()
|
|
942
|
+
], CwCombobox.prototype, "getTag", 2);
|
|
943
|
+
__decorateClass([
|
|
944
|
+
watch("disabled", { waitUntilFirstUpdate: true })
|
|
945
|
+
], CwCombobox.prototype, "handleDisabledChange", 1);
|
|
946
|
+
__decorateClass([
|
|
947
|
+
watch(["defaultValue", "value"], { waitUntilFirstUpdate: true })
|
|
948
|
+
], CwCombobox.prototype, "handleValueChange", 1);
|
|
949
|
+
__decorateClass([
|
|
950
|
+
watch("open", { waitUntilFirstUpdate: true })
|
|
951
|
+
], CwCombobox.prototype, "handleOpenChange", 1);
|
|
952
|
+
setDefaultAnimation("combobox.show", {
|
|
953
|
+
keyframes: [
|
|
954
|
+
{ opacity: 0, scale: 0.9 },
|
|
955
|
+
{ opacity: 1, scale: 1 }
|
|
956
|
+
],
|
|
957
|
+
options: { duration: 100, easing: "ease" }
|
|
958
|
+
});
|
|
959
|
+
setDefaultAnimation("combobox.hide", {
|
|
960
|
+
keyframes: [
|
|
961
|
+
{ opacity: 1, scale: 1 },
|
|
962
|
+
{ opacity: 0, scale: 0.9 }
|
|
963
|
+
],
|
|
964
|
+
options: { duration: 100, easing: "ease" }
|
|
965
|
+
});
|
|
966
|
+
|
|
967
|
+
export {
|
|
968
|
+
CwCombobox
|
|
969
|
+
};
|