@cordwainer/cw-elements 1.3.0-alpha.3 → 1.3.0-alpha.4
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.245SOIJV.js +25 -0
- package/cdn/chunks/chunk.27MWWN7O.js +49 -0
- package/cdn/chunks/chunk.2BWTNLBY.js +11 -0
- package/cdn/chunks/chunk.2JGQGQPR.js +11 -0
- package/cdn/chunks/chunk.2MFJYJMV.js +120 -0
- package/cdn/chunks/chunk.2MRQ7477.js +267 -0
- package/cdn/chunks/chunk.2NFWEBLI.js +11 -0
- package/cdn/chunks/chunk.2ODMKVK6.js +73 -0
- package/cdn/chunks/chunk.2USX6ZJQ.js +218 -0
- package/cdn/chunks/chunk.2V3FXZUC.js +26 -0
- package/cdn/chunks/chunk.2YDRUL3H.js +28 -0
- package/cdn/chunks/chunk.2ZRHU3SI.js +11 -0
- package/cdn/chunks/chunk.37OZ22ZC.js +11 -0
- package/cdn/chunks/chunk.3DBM5BCD.js +21 -0
- package/cdn/chunks/chunk.3DMGSHAZ.js +11 -0
- package/cdn/chunks/chunk.3FRNDVAC.js +11 -0
- package/cdn/chunks/chunk.3H3IUAER.js +11 -0
- package/cdn/chunks/chunk.3MJIU2PN.js +11 -0
- package/cdn/chunks/chunk.3MWFGROH.js +11 -0
- package/cdn/chunks/chunk.3MXGVHGG.js +21 -0
- package/cdn/chunks/chunk.3P7EMKKU.js +84 -0
- package/cdn/chunks/chunk.3RFSK22Z.js +25 -0
- package/cdn/chunks/chunk.3THRPYHN.js +11 -0
- package/cdn/chunks/chunk.3VS7ZKVO.js +79 -0
- package/cdn/chunks/chunk.3ZH5LGR3.js +1990 -0
- package/cdn/chunks/chunk.47HBQRI5.js +114 -0
- package/cdn/chunks/chunk.4ANYNA2H.js +21 -0
- package/cdn/chunks/chunk.4BSN6R2T.js +26 -0
- package/cdn/chunks/chunk.4CRNZXRC.js +11 -0
- package/cdn/chunks/chunk.4G6DUCXG.js +21 -0
- package/cdn/chunks/chunk.4MG5OA2P.js +279 -0
- package/cdn/chunks/chunk.4PS6ZOAB.js +11 -0
- package/cdn/chunks/chunk.56APBBOC.js +21 -0
- package/cdn/chunks/chunk.5E2B6KGL.js +33 -0
- package/cdn/chunks/chunk.5KHIECQU.js +21 -0
- package/cdn/chunks/chunk.5PK5PML5.js +969 -0
- package/cdn/chunks/chunk.5RDD24YY.js +346 -0
- package/cdn/chunks/chunk.5UUYSBYY.js +122 -0
- package/cdn/chunks/chunk.64NGLITY.js +24 -0
- package/cdn/chunks/chunk.67QS3WDG.js +11 -0
- package/cdn/chunks/chunk.6J3LOKPB.js +11 -0
- package/cdn/chunks/chunk.6ZDYXFES.js +11 -0
- package/cdn/chunks/chunk.72BUUIAB.js +11 -0
- package/cdn/chunks/chunk.745LYUMK.js +11 -0
- package/cdn/chunks/chunk.74AIVBEC.js +36 -0
- package/cdn/chunks/chunk.7QYW56RU.js +11 -0
- package/cdn/chunks/chunk.7ZRKFDIH.js +499 -0
- package/cdn/chunks/chunk.AMO6XOQE.js +97 -0
- package/cdn/chunks/chunk.APVRBMOQ.js +24 -0
- package/cdn/chunks/chunk.ARK73YOU.js +11 -0
- package/cdn/chunks/chunk.ASBMNNUD.js +11 -0
- package/cdn/chunks/chunk.ATJVWQSR.js +236 -0
- package/cdn/chunks/chunk.AXSU7KBV.js +11 -0
- package/cdn/chunks/chunk.B4VJ4CXB.js +11 -0
- package/cdn/chunks/chunk.BA62UHY4.js +11 -0
- package/cdn/chunks/chunk.BJG5RS5U.js +11 -0
- package/cdn/chunks/chunk.BOCBFNWF.js +29 -0
- package/cdn/chunks/chunk.BXVEWAN7.js +330 -0
- package/cdn/chunks/chunk.C2OTXNKM.js +574 -0
- package/cdn/chunks/chunk.C6KTGYNR.js +11 -0
- package/cdn/chunks/chunk.CI5RYNLI.js +904 -0
- package/cdn/chunks/chunk.CPVRQ42M.js +25 -0
- package/cdn/chunks/chunk.CQDVXOPN.js +24 -0
- package/cdn/chunks/chunk.D2R5S27J.js +844 -0
- package/cdn/chunks/chunk.D3RDK6TD.js +21 -0
- package/cdn/chunks/chunk.D7M6QDQO.js +186 -0
- package/cdn/chunks/chunk.DD4KHCJU.js +158 -0
- package/cdn/chunks/chunk.DMJMAOR2.js +24 -0
- package/cdn/chunks/chunk.DMRHVWV2.js +114 -0
- package/cdn/chunks/chunk.DPA7OTVK.js +11 -0
- package/cdn/chunks/chunk.DRAEUFKX.js +24 -0
- package/cdn/chunks/chunk.DUWMTCAS.js +27 -0
- package/cdn/chunks/chunk.DWFHFBWR.js +24 -0
- package/cdn/chunks/chunk.E3ODK4PD.js +21 -0
- package/cdn/chunks/chunk.EK3MB2H2.js +11 -0
- package/cdn/chunks/chunk.EKDBB56V.js +11 -0
- package/cdn/chunks/chunk.EKKWDYWV.js +11 -0
- package/cdn/chunks/chunk.ELCOL5LM.js +197 -0
- package/cdn/chunks/chunk.ELW52WM7.js +24 -0
- package/cdn/chunks/chunk.ESF6PQU4.js +336 -0
- package/cdn/chunks/chunk.F4MLFG2O.js +25 -0
- package/cdn/chunks/chunk.FB4BWCHO.js +21 -0
- package/cdn/chunks/chunk.FMJDLZJK.js +64 -0
- package/cdn/chunks/chunk.FMZCZYKH.js +21 -0
- package/cdn/chunks/chunk.FSSMHIJ3.js +67 -0
- package/cdn/chunks/chunk.FWV7PP6C.js +24 -0
- package/cdn/chunks/chunk.G6SRGJDZ.js +28 -0
- package/cdn/chunks/chunk.G7T2BCXW.js +11 -0
- package/cdn/chunks/chunk.GAIC6DSF.js +79 -0
- package/cdn/chunks/chunk.GE4TRAOR.js +11 -0
- package/cdn/chunks/chunk.GF65BXLJ.js +11 -0
- package/cdn/chunks/chunk.GJYAA2QE.js +42 -0
- package/cdn/chunks/chunk.GYRNQEJV.js +27 -0
- package/cdn/chunks/chunk.H5DOL2IK.js +27 -0
- package/cdn/chunks/chunk.HCBBFAKD.js +21 -0
- package/cdn/chunks/chunk.HKIX6TXN.js +11 -0
- package/cdn/chunks/chunk.HSP2XUXW.js +142 -0
- package/cdn/chunks/chunk.IGRKKTXH.js +21 -0
- package/cdn/chunks/chunk.IJB3OY6I.js +91 -0
- package/cdn/chunks/chunk.IK45LYJU.js +11 -0
- package/cdn/chunks/chunk.IUE4SEE5.js +24 -0
- package/cdn/chunks/chunk.IUJK63G6.js +11 -0
- package/cdn/chunks/chunk.J4GWS43V.js +25 -0
- package/cdn/chunks/chunk.J7IL2ZMQ.js +11 -0
- package/cdn/chunks/chunk.JRH4YZ3I.js +25 -0
- package/cdn/chunks/chunk.JVEXLWCO.js +255 -0
- package/cdn/chunks/chunk.JYFVHOBV.js +11 -0
- package/cdn/chunks/chunk.K3J3BSTW.js +21 -0
- package/cdn/chunks/chunk.K4M6DU7J.js +314 -0
- package/cdn/chunks/chunk.KCFIPY6F.js +11 -0
- package/cdn/chunks/chunk.KDYIX4QC.js +28 -0
- package/cdn/chunks/chunk.KJW6H735.js +33 -0
- package/cdn/chunks/chunk.KTWSNQXZ.js +49 -0
- package/cdn/chunks/chunk.KUKDOERZ.js +11 -0
- package/cdn/chunks/chunk.L65OZQEV.js +120 -0
- package/cdn/chunks/chunk.L73HJKVS.js +139 -0
- package/cdn/chunks/chunk.LA2MJ5HQ.js +11 -0
- package/cdn/chunks/chunk.LDDBGIVB.js +11 -0
- package/cdn/chunks/chunk.LIUYMGCR.js +291 -0
- package/cdn/chunks/chunk.LP5N2XWT.js +21 -0
- package/cdn/chunks/chunk.LS5WPX3B.js +28 -0
- package/cdn/chunks/chunk.MB2W62WA.js +24 -0
- package/cdn/chunks/chunk.MNWSW7LJ.js +21 -0
- package/cdn/chunks/chunk.MO7RYULU.js +137 -0
- package/cdn/chunks/chunk.MR3ESSLK.js +21 -0
- package/cdn/chunks/chunk.MS73YNLT.js +21 -0
- package/cdn/chunks/chunk.MTVXC6TF.js +391 -0
- package/cdn/chunks/chunk.MWNIUBHE.js +11 -0
- package/cdn/chunks/chunk.MZMCWOY2.js +455 -0
- package/cdn/chunks/chunk.N2XVEHJK.js +11 -0
- package/cdn/chunks/chunk.NE5AHXNA.js +11 -0
- package/cdn/chunks/chunk.NF7F2ADL.js +25 -0
- package/cdn/chunks/chunk.NIIIHPFW.js +11 -0
- package/cdn/chunks/chunk.NN2YLPFU.js +153 -0
- package/cdn/chunks/chunk.NTTPRACP.js +27 -0
- package/cdn/chunks/chunk.O3XKQ5AK.js +11 -0
- package/cdn/chunks/chunk.O6AWZT2R.js +24 -0
- package/cdn/chunks/chunk.OB6ZVO4D.js +233 -0
- package/cdn/chunks/chunk.OH654KJP.js +11 -0
- package/cdn/chunks/chunk.OJVLXDX2.js +28 -0
- package/cdn/chunks/chunk.OQXOHEGF.js +11 -0
- package/cdn/chunks/chunk.OTZO7BQV.js +21 -0
- package/cdn/chunks/chunk.P32ADPRP.js +299 -0
- package/cdn/chunks/chunk.PDS6HZML.js +11 -0
- package/cdn/chunks/chunk.PHJVPVGS.js +29 -0
- package/cdn/chunks/chunk.PVPCV3XI.js +83 -0
- package/cdn/chunks/chunk.PX24B7D4.js +87 -0
- package/cdn/chunks/chunk.PZDXIJXS.js +11 -0
- package/cdn/chunks/chunk.QE7OY2KF.js +24 -0
- package/cdn/chunks/chunk.QIS5GOOZ.js +11 -0
- package/cdn/chunks/chunk.QKWNSHBU.js +385 -0
- package/cdn/chunks/chunk.R6IYJ2AV.js +26 -0
- package/cdn/chunks/chunk.RHIRPWKB.js +33 -0
- package/cdn/chunks/chunk.RIL5ANBQ.js +28 -0
- package/cdn/chunks/chunk.RISOQPLR.js +302 -0
- package/cdn/chunks/chunk.RMZPI5XR.js +11 -0
- package/cdn/chunks/chunk.RQ6AZDLU.js +27 -0
- package/cdn/chunks/chunk.RRSBWOM2.js +77 -0
- package/cdn/chunks/chunk.S4HBCV7N.js +367 -0
- package/cdn/chunks/chunk.S7BGWXYW.js +127 -0
- package/cdn/chunks/chunk.SB7PKJCK.js +11 -0
- package/cdn/chunks/chunk.SKQ3BY7D.js +174 -0
- package/cdn/chunks/chunk.SPRFCO5Y.js +11 -0
- package/cdn/chunks/chunk.T6PNLMEH.js +103 -0
- package/cdn/chunks/chunk.T7PU2S7O.js +11 -0
- package/cdn/chunks/chunk.TGDG4B7Q.js +21 -0
- package/cdn/chunks/chunk.TIGJZFGD.js +21 -0
- package/cdn/chunks/chunk.TIGOJ2AB.js +11 -0
- package/cdn/chunks/chunk.TIXQWITA.js +21 -0
- package/cdn/chunks/chunk.TJKBXRWV.js +11 -0
- package/cdn/chunks/chunk.TT67K5ZV.js +26 -0
- package/cdn/chunks/chunk.U4R22KRI.js +63 -0
- package/cdn/chunks/chunk.U4TD4GGR.js +11 -0
- package/cdn/chunks/chunk.U5PUK5GP.js +95 -0
- package/cdn/chunks/chunk.UEMRVPDO.js +27 -0
- package/cdn/chunks/chunk.UFZFZVVR.js +185 -0
- package/cdn/chunks/chunk.UGNUQDY4.js +724 -0
- package/cdn/chunks/chunk.UIF7M3UY.js +50 -0
- package/cdn/chunks/chunk.UKSJVZAK.js +11 -0
- package/cdn/chunks/chunk.UMZWSRSF.js +93 -0
- package/cdn/chunks/chunk.UNZJF2I5.js +21 -0
- package/cdn/chunks/chunk.UXH7U62Q.js +11 -0
- package/cdn/chunks/chunk.V26DQNC4.js +11 -0
- package/cdn/chunks/chunk.VDDW4P6L.js +11 -0
- package/cdn/chunks/chunk.VIZSR7Q3.js +113 -0
- package/cdn/chunks/chunk.VMGFDRV4.js +378 -0
- package/cdn/chunks/chunk.VRGMUATF.js +21 -0
- package/cdn/chunks/chunk.VU3IQJIB.js +216 -0
- package/cdn/chunks/chunk.W46ZLBAS.js +11 -0
- package/cdn/chunks/chunk.WGUAKULO.js +402 -0
- package/cdn/chunks/chunk.WM2PITOC.js +29 -0
- package/cdn/chunks/chunk.WMY4WJJU.js +82 -0
- package/cdn/chunks/chunk.WQW4O7OM.js +21 -0
- package/cdn/chunks/chunk.WRIZSHG7.js +11 -0
- package/cdn/chunks/chunk.WUY7B5KX.js +218 -0
- package/cdn/chunks/chunk.WW25FUVK.js +21 -0
- package/cdn/chunks/chunk.WWQ6EOLB.js +21 -0
- package/cdn/chunks/chunk.WZOXFOAY.js +29 -0
- package/cdn/chunks/chunk.XBESHE3O.js +11 -0
- package/cdn/chunks/chunk.XCRDIYQG.js +24 -0
- package/cdn/chunks/chunk.XIIPR36B.js +44 -0
- package/cdn/chunks/chunk.XRHQ6W65.js +27 -0
- package/cdn/chunks/chunk.XRK6DXER.js +21 -0
- package/cdn/chunks/chunk.XRWX6NGY.js +11 -0
- package/cdn/chunks/chunk.XVT6EHF7.js +147 -0
- package/cdn/chunks/chunk.Y4SHZNSG.js +25 -0
- package/cdn/chunks/chunk.YBXFIC4X.js +28 -0
- package/cdn/chunks/chunk.YD2T4245.js +21 -0
- package/cdn/chunks/chunk.YH6F4ACK.js +11 -0
- package/cdn/chunks/chunk.YIH6GL7U.js +1925 -0
- package/cdn/chunks/chunk.YJ2CIBFR.js +75 -0
- package/cdn/chunks/chunk.YJR24VXZ.js +24 -0
- package/cdn/chunks/chunk.YLF7YM43.js +821 -0
- package/cdn/chunks/chunk.YOEEH6QI.js +11 -0
- package/cdn/chunks/chunk.YZFBZRGH.js +27 -0
- package/cdn/chunks/chunk.ZA7K3GNI.js +11 -0
- package/cdn/chunks/chunk.ZAHECZEI.js +11 -0
- package/cdn/chunks/chunk.ZD26HQLK.js +25 -0
- package/cdn/chunks/chunk.ZEAMRL3I.js +11 -0
- package/cdn/chunks/chunk.ZH4WNTWB.js +33 -0
- package/cdn/chunks/chunk.ZJBYJAMM.js +292 -0
- package/cdn/chunks/chunk.ZLTW7UTJ.js +11 -0
- package/cdn/chunks/chunk.ZZZ64JVY.js +297 -0
- package/cdn/components/alert/alert.component.js +6 -6
- package/cdn/components/alert/alert.js +7 -7
- package/cdn/components/animated-image/animated-image.component.js +5 -5
- package/cdn/components/animated-image/animated-image.js +6 -6
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +5 -5
- package/cdn/components/avatar/avatar.js +6 -6
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +5 -5
- package/cdn/components/breadcrumb/breadcrumb.js +6 -6
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +6 -6
- package/cdn/components/button/button.js +7 -7
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +5 -5
- package/cdn/components/carousel/carousel.js +6 -6
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +5 -5
- package/cdn/components/checkbox/checkbox.js +6 -6
- package/cdn/components/color-picker/color-picker.component.js +13 -13
- package/cdn/components/color-picker/color-picker.js +14 -14
- package/cdn/components/combobox/combobox.component.js +10 -10
- package/cdn/components/combobox/combobox.js +11 -11
- package/cdn/components/copy-button/copy-button.component.js +7 -7
- package/cdn/components/copy-button/copy-button.js +8 -8
- package/cdn/components/data-table/data-table.component.js +7 -7
- package/cdn/components/data-table/data-table.js +8 -8
- package/cdn/components/data-table-column/data-table-column.component.js +2 -2
- package/cdn/components/data-table-column/data-table-column.js +3 -3
- package/cdn/components/date-picker/date-picker.component.js +7 -7
- package/cdn/components/date-picker/date-picker.js +8 -8
- package/cdn/components/details/details.component.js +5 -5
- package/cdn/components/details/details.js +6 -6
- package/cdn/components/dialog/dialog.component.js +6 -6
- package/cdn/components/dialog/dialog.js +7 -7
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +6 -6
- package/cdn/components/drawer/drawer.js +7 -7
- package/cdn/components/dropdown/dropdown.component.js +3 -3
- package/cdn/components/dropdown/dropdown.js +4 -4
- package/cdn/components/footer/footer.component.d.ts +30 -0
- package/cdn/components/footer/footer.component.js +12 -0
- package/cdn/components/footer/footer.d.ts +8 -0
- package/cdn/components/footer/footer.js +13 -0
- package/cdn/components/footer/footer.styles.d.ts +2 -0
- package/cdn/components/footer/footer.styles.js +8 -0
- 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 +6 -6
- package/cdn/components/header/header.js +7 -7
- package/cdn/components/icon/icon.component.js +4 -4
- package/cdn/components/icon/icon.js +5 -5
- package/cdn/components/icon/library.js +2 -2
- package/cdn/components/icon-button/icon-button.component.d.ts +5 -0
- package/cdn/components/icon-button/icon-button.component.js +5 -5
- package/cdn/components/icon-button/icon-button.js +6 -6
- package/cdn/components/image-comparer/image-comparer.component.js +5 -5
- package/cdn/components/image-comparer/image-comparer.js +6 -6
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +5 -5
- package/cdn/components/input/input.js +6 -6
- package/cdn/components/logo/logo.component.js +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 +8 -8
- package/cdn/components/menu-item/menu-item.js +9 -9
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/option/option.component.js +5 -5
- package/cdn/components/option/option.js +6 -6
- package/cdn/components/pagination/pagination.component.js +6 -6
- package/cdn/components/pagination/pagination.js +7 -7
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/primary-navigation/primary-navigation.component.js +5 -5
- package/cdn/components/primary-navigation/primary-navigation.js +6 -6
- package/cdn/components/primary-navigation-item/primary-navigation-item.component.js +7 -7
- package/cdn/components/primary-navigation-item/primary-navigation-item.js +8 -8
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.component.js +2 -2
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +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 +5 -5
- package/cdn/components/radio/radio.js +6 -6
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +3 -3
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/range/range.component.js +2 -2
- package/cdn/components/range/range.js +3 -3
- package/cdn/components/rating/rating.component.js +5 -5
- package/cdn/components/rating/rating.js +6 -6
- package/cdn/components/relative-time/relative-time.component.js +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 +6 -6
- package/cdn/components/secondary-navigation/secondary-navigation.js +7 -7
- 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 +8 -8
- package/cdn/components/select/select.js +9 -9
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/social-link/social-link.component.d.ts +48 -0
- package/cdn/components/social-link/social-link.component.js +25 -0
- package/cdn/components/social-link/social-link.d.ts +8 -0
- package/cdn/components/social-link/social-link.js +26 -0
- package/cdn/components/social-link/social-link.styles.d.ts +2 -0
- package/cdn/components/social-link/social-link.styles.js +8 -0
- 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 +6 -6
- package/cdn/components/tab/tab.js +7 -7
- package/cdn/components/tab-group/tab-group.component.js +7 -7
- package/cdn/components/tab-group/tab-group.js +8 -8
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/tag/tag.component.js +6 -6
- package/cdn/components/tag/tag.js +7 -7
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-picker/time-picker.component.js +7 -7
- package/cdn/components/time-picker/time-picker.js +8 -8
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/tree/tree.component.js +9 -9
- package/cdn/components/tree/tree.js +10 -10
- package/cdn/components/tree-item/tree-item.component.js +7 -7
- package/cdn/components/tree-item/tree-item.js +8 -8
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/custom-elements.json +313 -1
- package/cdn/cw-elements.d.ts +2 -0
- package/cdn/cw-elements.js +204 -192
- package/cdn/react/alert/index.js +7 -7
- package/cdn/react/animated-image/index.js +6 -6
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +6 -6
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +6 -6
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +7 -7
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +6 -6
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +6 -6
- package/cdn/react/color-picker/index.js +14 -14
- package/cdn/react/combobox/index.js +11 -11
- package/cdn/react/copy-button/index.js +8 -8
- package/cdn/react/data-table/index.js +8 -8
- package/cdn/react/data-table-column/index.js +3 -3
- package/cdn/react/date-picker/index.js +8 -8
- package/cdn/react/details/index.js +6 -6
- package/cdn/react/dialog/index.js +7 -7
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +7 -7
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/footer/index.d.ts +24 -0
- package/cdn/react/footer/index.js +13 -0
- 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 +7 -7
- package/cdn/react/icon/index.js +5 -5
- package/cdn/react/icon-button/index.js +6 -6
- package/cdn/react/image-comparer/index.js +6 -6
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.d.ts +2 -0
- package/cdn/react/index.js +187 -175
- package/cdn/react/input/index.js +6 -6
- package/cdn/react/logo/index.js +3 -3
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +9 -9
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/option/index.js +6 -6
- package/cdn/react/pagination/index.js +7 -7
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/primary-navigation/index.js +6 -6
- package/cdn/react/primary-navigation-item/index.js +8 -8
- package/cdn/react/primary-navigation-menu/index.js +3 -3
- package/cdn/react/progress-bar/index.js +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 +6 -6
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/range/index.js +3 -3
- package/cdn/react/rating/index.js +6 -6
- 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 +7 -7
- package/cdn/react/secondary-navigation-item/index.js +3 -3
- package/cdn/react/select/index.js +9 -9
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/social-link/index.d.ts +17 -0
- package/cdn/react/social-link/index.js +26 -0
- 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 +7 -7
- package/cdn/react/tab-group/index.js +8 -8
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/tag/index.js +7 -7
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/time-picker/index.js +8 -8
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/tree/index.js +10 -10
- package/cdn/react/tree-item/index.js +8 -8
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/types/vue/index.d.ts +67 -0
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/vscode.html-custom-data.json +74 -0
- package/cdn/web-types.json +135 -1
- package/dist/chunks/chunk.2AKO3H4N.js +33 -0
- package/dist/chunks/chunk.2LWGHE7Z.js +91 -0
- package/dist/chunks/chunk.2OQ7LDFN.js +21 -0
- package/dist/chunks/chunk.2PCHHG7I.js +24 -0
- package/dist/chunks/chunk.3IW6MGKF.js +27 -0
- package/dist/chunks/chunk.3OAHJII3.js +259 -0
- package/dist/chunks/chunk.3SFYS6WU.js +11 -0
- package/dist/chunks/chunk.43RPK7KI.js +90 -0
- package/dist/chunks/chunk.44MLNCIM.js +116 -0
- package/dist/chunks/chunk.44PPVA6D.js +11 -0
- package/dist/chunks/chunk.452K7LCD.js +45 -0
- package/dist/chunks/chunk.45Y2ZXE7.js +290 -0
- package/dist/chunks/chunk.4CWCVLU2.js +59 -0
- package/dist/chunks/chunk.4EC4C2FF.js +11 -0
- package/dist/chunks/chunk.4EMYI4FM.js +21 -0
- package/dist/chunks/chunk.4FG65E6Q.js +11 -0
- package/dist/chunks/chunk.4HR5LETX.js +24 -0
- package/dist/chunks/chunk.4KT2VTSG.js +11 -0
- package/dist/chunks/chunk.4PFFCDU4.js +26 -0
- package/dist/chunks/chunk.4WSP5HV4.js +11 -0
- package/dist/chunks/chunk.57A6MNUF.js +11 -0
- package/dist/chunks/chunk.5BUC6H4X.js +11 -0
- package/dist/chunks/chunk.5BZ5TX7P.js +28 -0
- package/dist/chunks/chunk.5DOS6UYK.js +11 -0
- package/dist/chunks/chunk.5K4OADKV.js +25 -0
- package/dist/chunks/chunk.5KCODHIN.js +11 -0
- package/dist/chunks/chunk.5WBR6NGJ.js +26 -0
- package/dist/chunks/chunk.5WQJAKPU.js +87 -0
- package/dist/chunks/chunk.5XYTVHLB.js +33 -0
- package/dist/chunks/chunk.66RB37HS.js +213 -0
- package/dist/chunks/chunk.6IF4NMHA.js +11 -0
- package/dist/chunks/chunk.6LGSU24H.js +11 -0
- package/dist/chunks/chunk.6QPSWDM3.js +11 -0
- package/dist/chunks/chunk.6UNLRR6P.js +29 -0
- package/dist/chunks/chunk.733DMHG2.js +11 -0
- package/dist/chunks/chunk.73XNGTJI.js +21 -0
- package/dist/chunks/chunk.76ONI6ID.js +80 -0
- package/dist/chunks/chunk.7FRDG4RA.js +11 -0
- package/dist/chunks/chunk.7HYGZGVB.js +11 -0
- package/dist/chunks/chunk.7NN4O4Y5.js +227 -0
- package/dist/chunks/chunk.7W4C7IK3.js +11 -0
- package/dist/chunks/chunk.A3LW65JV.js +315 -0
- package/dist/chunks/chunk.AGXECDQ6.js +11 -0
- package/dist/chunks/chunk.AIRSJCUG.js +26 -0
- package/dist/chunks/chunk.AXPFHQF3.js +837 -0
- package/dist/chunks/chunk.BCEYVANA.js +11 -0
- package/dist/chunks/chunk.BFK6JJCQ.js +11 -0
- package/dist/chunks/chunk.BFPBCL22.js +11 -0
- package/dist/chunks/chunk.BRAYAQGS.js +11 -0
- package/dist/chunks/chunk.BUK37FTM.js +11 -0
- package/dist/chunks/chunk.BVT45A5U.js +550 -0
- package/dist/chunks/chunk.BWXON7D4.js +21 -0
- package/dist/chunks/chunk.C2VT37YG.js +29 -0
- package/dist/chunks/chunk.C6X5QKNW.js +24 -0
- package/dist/chunks/chunk.C7M3SCBS.js +100 -0
- package/dist/chunks/chunk.CFUYNHCX.js +11 -0
- package/dist/chunks/chunk.CH4MMPNI.js +62 -0
- package/dist/chunks/chunk.CJ4BX2NW.js +11 -0
- package/dist/chunks/chunk.CLFZF3C4.js +138 -0
- package/dist/chunks/chunk.CQWWSUNQ.js +11 -0
- package/dist/chunks/chunk.CTD5T3V4.js +119 -0
- package/dist/chunks/chunk.CTKJ7XWU.js +80 -0
- package/dist/chunks/chunk.CW2JFJ6Z.js +21 -0
- package/dist/chunks/chunk.CXTS2KTG.js +27 -0
- package/dist/chunks/chunk.CZ546LYJ.js +11 -0
- package/dist/chunks/chunk.DBLIRXT7.js +192 -0
- package/dist/chunks/chunk.DSIPO2LO.js +24 -0
- package/dist/chunks/chunk.DSOH2OO6.js +25 -0
- package/dist/chunks/chunk.E532OMQQ.js +82 -0
- package/dist/chunks/chunk.EDAAMHHV.js +27 -0
- package/dist/chunks/chunk.EFBSXCRT.js +21 -0
- package/dist/chunks/chunk.EKQWQJKJ.js +11 -0
- package/dist/chunks/chunk.ELOI7V4A.js +117 -0
- package/dist/chunks/chunk.ESYUZ65E.js +11 -0
- package/dist/chunks/chunk.EULYF6EO.js +11 -0
- package/dist/chunks/chunk.F4KRQSYQ.js +11 -0
- package/dist/chunks/chunk.F5H6QHB4.js +448 -0
- package/dist/chunks/chunk.F5Z6M7HK.js +311 -0
- package/dist/chunks/chunk.FBIT6MWB.js +11 -0
- package/dist/chunks/chunk.FEMMPMQQ.js +212 -0
- package/dist/chunks/chunk.FUEX4UK2.js +147 -0
- package/dist/chunks/chunk.FV3L3HDL.js +11 -0
- package/dist/chunks/chunk.FVW4NSZ2.js +11 -0
- package/dist/chunks/chunk.FWFL7IZ4.js +11 -0
- package/dist/chunks/chunk.GCBIRCY7.js +34 -0
- package/dist/chunks/chunk.GDJNVTGV.js +21 -0
- package/dist/chunks/chunk.GFXFU3AA.js +26 -0
- package/dist/chunks/chunk.GGJI2QJA.js +21 -0
- package/dist/chunks/chunk.GIQFL3M7.js +21 -0
- package/dist/chunks/chunk.GJSUC6RM.js +11 -0
- package/dist/chunks/chunk.GNWQV2IB.js +27 -0
- package/dist/chunks/chunk.H66OQXDB.js +181 -0
- package/dist/chunks/chunk.HG56L7AU.js +11 -0
- package/dist/chunks/chunk.HWYOGQVE.js +25 -0
- package/dist/chunks/chunk.HXMNQVSF.js +11 -0
- package/dist/chunks/chunk.I45DZ774.js +11 -0
- package/dist/chunks/chunk.IBARHBMH.js +370 -0
- package/dist/chunks/chunk.IBCM55GD.js +28 -0
- package/dist/chunks/chunk.IKFBLYPS.js +11 -0
- package/dist/chunks/chunk.IVE2NBT6.js +11 -0
- package/dist/chunks/chunk.IWCLLSDO.js +130 -0
- package/dist/chunks/chunk.J2NLZHNU.js +26 -0
- package/dist/chunks/chunk.JBA3GVOW.js +21 -0
- package/dist/chunks/chunk.JDCEAILN.js +24 -0
- package/dist/chunks/chunk.JDJE7K3M.js +73 -0
- package/dist/chunks/chunk.JUTUBIHD.js +896 -0
- package/dist/chunks/chunk.KOCW3XO3.js +94 -0
- package/dist/chunks/chunk.KTR5FYMP.js +11 -0
- package/dist/chunks/chunk.KTVACPCX.js +11 -0
- package/dist/chunks/chunk.KYELBDX2.js +28 -0
- package/dist/chunks/chunk.L3CXYTCH.js +22 -0
- package/dist/chunks/chunk.LCDNISTW.js +29 -0
- package/dist/chunks/chunk.LDVZTDUN.js +28 -0
- package/dist/chunks/chunk.LGEZH7LX.js +27 -0
- package/dist/chunks/chunk.LJMDDCNZ.js +11 -0
- package/dist/chunks/chunk.LMIHR6LO.js +247 -0
- package/dist/chunks/chunk.LSQFBFYH.js +11 -0
- package/dist/chunks/chunk.LVZIGU7I.js +135 -0
- package/dist/chunks/chunk.LX7HH3US.js +21 -0
- package/dist/chunks/chunk.M2UYQXV3.js +178 -0
- package/dist/chunks/chunk.M626S3LN.js +11 -0
- package/dist/chunks/chunk.M6WFRYJD.js +42 -0
- package/dist/chunks/chunk.MBEZMVQJ.js +11 -0
- package/dist/chunks/chunk.ML7QBLME.js +384 -0
- package/dist/chunks/chunk.MMGG44SO.js +280 -0
- package/dist/chunks/chunk.MUC6AKUV.js +361 -0
- package/dist/chunks/chunk.N4VAEWXJ.js +294 -0
- package/dist/chunks/chunk.N6ZPDZCB.js +29 -0
- package/dist/chunks/chunk.NEZACZEM.js +109 -0
- package/dist/chunks/chunk.NNVXTVZZ.js +813 -0
- package/dist/chunks/chunk.NP46JXOO.js +11 -0
- package/dist/chunks/chunk.NPG6T7JU.js +21 -0
- package/dist/chunks/chunk.NSRWHTAK.js +75 -0
- package/dist/chunks/chunk.NVAMSHPY.js +949 -0
- package/dist/chunks/chunk.NVNTE3G4.js +24 -0
- package/dist/chunks/chunk.O26JZEVB.js +21 -0
- package/dist/chunks/chunk.O5U3KDAS.js +11 -0
- package/dist/chunks/chunk.O5X47I7F.js +11 -0
- package/dist/chunks/chunk.OKJJW4Y5.js +286 -0
- package/dist/chunks/chunk.OL6WTS2S.js +24 -0
- package/dist/chunks/chunk.P27IC6RS.js +24 -0
- package/dist/chunks/chunk.P4MHUEGY.js +11 -0
- package/dist/chunks/chunk.P6EBF2MY.js +11 -0
- package/dist/chunks/chunk.PAQBRT5M.js +11 -0
- package/dist/chunks/chunk.PAR6AZK5.js +25 -0
- package/dist/chunks/chunk.PCUXHLPE.js +417 -0
- package/dist/chunks/chunk.PEBZMLSF.js +11 -0
- package/dist/chunks/chunk.PMKGMEHH.js +27 -0
- package/dist/chunks/chunk.PR7Y63PS.js +21 -0
- package/dist/chunks/chunk.PRT5OXDS.js +21 -0
- package/dist/chunks/chunk.Q2EVT3KN.js +22 -0
- package/dist/chunks/chunk.Q3YE65RH.js +11 -0
- package/dist/chunks/chunk.QF7QQIVH.js +45 -0
- package/dist/chunks/chunk.QHHLX4HY.js +25 -0
- package/dist/chunks/chunk.QICE2NVK.js +25 -0
- package/dist/chunks/chunk.QLEECXHP.js +11 -0
- package/dist/chunks/chunk.QWKLRW5X.js +27 -0
- package/dist/chunks/chunk.QWWHD3KZ.js +21 -0
- package/dist/chunks/chunk.QXF6AWYF.js +25 -0
- package/dist/chunks/chunk.R2JXILXZ.js +397 -0
- package/dist/chunks/chunk.R3J7XCN7.js +25 -0
- package/dist/chunks/chunk.R5N4WMT6.js +961 -0
- package/dist/chunks/chunk.RB3J6F6I.js +21 -0
- package/dist/chunks/chunk.RDH2EGAE.js +75 -0
- package/dist/chunks/chunk.RE7ERFQC.js +115 -0
- package/dist/chunks/chunk.RJJJTART.js +33 -0
- package/dist/chunks/chunk.RJQFK5VB.js +24 -0
- package/dist/chunks/chunk.RQWZC2SR.js +134 -0
- package/dist/chunks/chunk.RWFRJQW6.js +11 -0
- package/dist/chunks/chunk.S6N3M3NN.js +111 -0
- package/dist/chunks/chunk.SAEN74GL.js +21 -0
- package/dist/chunks/chunk.SEQPLQ2L.js +231 -0
- package/dist/chunks/chunk.SKFHIWTD.js +25 -0
- package/dist/chunks/chunk.SMN2K36J.js +11 -0
- package/dist/chunks/chunk.SMS33BTN.js +11 -0
- package/dist/chunks/chunk.STKEY227.js +85 -0
- package/dist/chunks/chunk.SV6UFJQ4.js +67 -0
- package/dist/chunks/chunk.SX42RDF7.js +21 -0
- package/dist/chunks/chunk.SZJOX3UC.js +109 -0
- package/dist/chunks/chunk.T2CWZA2X.js +24 -0
- package/dist/chunks/chunk.T343WLEX.js +11 -0
- package/dist/chunks/chunk.TETR2JCL.js +11 -0
- package/dist/chunks/chunk.TO4M4S42.js +11 -0
- package/dist/chunks/chunk.UJZULHEA.js +72 -0
- package/dist/chunks/chunk.V2S5YGBS.js +11 -0
- package/dist/chunks/chunk.V3U5TKXU.js +11 -0
- package/dist/chunks/chunk.V4RZTW73.js +63 -0
- package/dist/chunks/chunk.VAGMI4QD.js +11 -0
- package/dist/chunks/chunk.VENPSXDC.js +33 -0
- package/dist/chunks/chunk.VFMBDFUP.js +21 -0
- package/dist/chunks/chunk.VGNEMPSC.js +323 -0
- package/dist/chunks/chunk.VGSAO6J5.js +293 -0
- package/dist/chunks/chunk.VLFHRSQV.js +21 -0
- package/dist/chunks/chunk.VNDUQXM5.js +25 -0
- package/dist/chunks/chunk.VQK7C4QO.js +11 -0
- package/dist/chunks/chunk.WCYX4IIH.js +28 -0
- package/dist/chunks/chunk.WHEKBOIM.js +11 -0
- package/dist/chunks/chunk.WSCBJW4P.js +21 -0
- package/dist/chunks/chunk.WWIJZJEV.js +337 -0
- package/dist/chunks/chunk.WZOHVXEU.js +50 -0
- package/dist/chunks/chunk.X3K7F76D.js +24 -0
- package/dist/chunks/chunk.XADCACWV.js +491 -0
- package/dist/chunks/chunk.XEWLH57O.js +21 -0
- package/dist/chunks/chunk.XIIPR36B.js +44 -0
- package/dist/chunks/chunk.XLABT3MX.js +170 -0
- package/dist/chunks/chunk.XXZRY5JY.js +24 -0
- package/dist/chunks/chunk.Y3FWBW7Z.js +11 -0
- package/dist/chunks/chunk.YATOLOEY.js +93 -0
- package/dist/chunks/chunk.YI7NGPZP.js +21 -0
- package/dist/chunks/chunk.YK2OYRUA.js +274 -0
- package/dist/chunks/chunk.YL7RMUNI.js +11 -0
- package/dist/chunks/chunk.YUOCGQF2.js +11 -0
- package/dist/chunks/chunk.YXOVOBFJ.js +21 -0
- package/dist/chunks/chunk.YZE2EMBG.js +11 -0
- package/dist/chunks/chunk.Z3TJSD5F.js +25 -0
- package/dist/chunks/chunk.ZAE5FZKF.js +100 -0
- package/dist/chunks/chunk.ZC2LSZYX.js +21 -0
- package/dist/chunks/chunk.ZCE2AA3H.js +21 -0
- package/dist/chunks/chunk.ZEPFR2YS.js +21 -0
- package/dist/chunks/chunk.ZJXGJVNA.js +375 -0
- package/dist/chunks/chunk.ZMCH5XER.js +11 -0
- package/dist/chunks/chunk.ZMJULUJQ.js +11 -0
- package/dist/chunks/chunk.ZNPL3KKQ.js +151 -0
- package/dist/components/alert/alert.component.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/animated-image/animated-image.component.js +5 -5
- package/dist/components/animated-image/animated-image.js +6 -6
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +5 -5
- package/dist/components/avatar/avatar.js +6 -6
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +5 -5
- package/dist/components/breadcrumb/breadcrumb.js +6 -6
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +6 -6
- package/dist/components/button/button.js +7 -7
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +5 -5
- package/dist/components/carousel/carousel.js +6 -6
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/color-picker/color-picker.component.js +13 -13
- package/dist/components/color-picker/color-picker.js +14 -14
- package/dist/components/combobox/combobox.component.js +10 -10
- package/dist/components/combobox/combobox.js +11 -11
- package/dist/components/copy-button/copy-button.component.js +7 -7
- package/dist/components/copy-button/copy-button.js +8 -8
- package/dist/components/data-table/data-table.component.js +7 -7
- package/dist/components/data-table/data-table.js +8 -8
- package/dist/components/data-table-column/data-table-column.component.js +2 -2
- package/dist/components/data-table-column/data-table-column.js +3 -3
- package/dist/components/date-picker/date-picker.component.js +7 -7
- package/dist/components/date-picker/date-picker.js +8 -8
- package/dist/components/details/details.component.js +5 -5
- package/dist/components/details/details.js +6 -6
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +6 -6
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/footer/footer.component.d.ts +30 -0
- package/dist/components/footer/footer.component.js +11 -0
- package/dist/components/footer/footer.d.ts +8 -0
- package/dist/components/footer/footer.js +12 -0
- package/dist/components/footer/footer.styles.d.ts +2 -0
- package/dist/components/footer/footer.styles.js +7 -0
- 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 +6 -6
- package/dist/components/header/header.js +7 -7
- package/dist/components/icon/icon.component.js +4 -4
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon-button/icon-button.component.d.ts +5 -0
- package/dist/components/icon-button/icon-button.component.js +5 -5
- package/dist/components/icon-button/icon-button.js +6 -6
- package/dist/components/image-comparer/image-comparer.component.js +5 -5
- package/dist/components/image-comparer/image-comparer.js +6 -6
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +5 -5
- package/dist/components/input/input.js +6 -6
- package/dist/components/logo/logo.component.js +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 +8 -8
- package/dist/components/menu-item/menu-item.js +9 -9
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/option/option.component.js +5 -5
- package/dist/components/option/option.js +6 -6
- package/dist/components/pagination/pagination.component.js +6 -6
- package/dist/components/pagination/pagination.js +7 -7
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/primary-navigation/primary-navigation.component.js +5 -5
- package/dist/components/primary-navigation/primary-navigation.js +6 -6
- package/dist/components/primary-navigation-item/primary-navigation-item.component.js +7 -7
- package/dist/components/primary-navigation-item/primary-navigation-item.js +8 -8
- package/dist/components/primary-navigation-menu/primary-navigation-menu.component.js +2 -2
- package/dist/components/primary-navigation-menu/primary-navigation-menu.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +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 +5 -5
- package/dist/components/radio/radio.js +6 -6
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +2 -2
- package/dist/components/range/range.js +3 -3
- package/dist/components/rating/rating.component.js +5 -5
- package/dist/components/rating/rating.js +6 -6
- package/dist/components/relative-time/relative-time.component.js +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 +6 -6
- package/dist/components/secondary-navigation/secondary-navigation.js +7 -7
- 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 +8 -8
- package/dist/components/select/select.js +9 -9
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/social-link/social-link.component.d.ts +48 -0
- package/dist/components/social-link/social-link.component.js +19 -0
- package/dist/components/social-link/social-link.d.ts +8 -0
- package/dist/components/social-link/social-link.js +20 -0
- package/dist/components/social-link/social-link.styles.d.ts +2 -0
- package/dist/components/social-link/social-link.styles.js +7 -0
- 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 +6 -6
- package/dist/components/tab/tab.js +7 -7
- package/dist/components/tab-group/tab-group.component.js +7 -7
- package/dist/components/tab-group/tab-group.js +8 -8
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/tag/tag.component.js +6 -6
- package/dist/components/tag/tag.js +7 -7
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-picker/time-picker.component.js +7 -7
- package/dist/components/time-picker/time-picker.js +8 -8
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +9 -9
- package/dist/components/tree/tree.js +10 -10
- package/dist/components/tree-item/tree-item.component.js +7 -7
- package/dist/components/tree-item/tree-item.js +8 -8
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +313 -1
- package/dist/cw-elements.d.ts +2 -0
- package/dist/cw-elements.js +204 -192
- package/dist/react/alert/index.js +7 -7
- package/dist/react/animated-image/index.js +6 -6
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +6 -6
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +6 -6
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +7 -7
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +6 -6
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +6 -6
- package/dist/react/color-picker/index.js +14 -14
- package/dist/react/combobox/index.js +11 -11
- package/dist/react/copy-button/index.js +8 -8
- package/dist/react/data-table/index.js +8 -8
- package/dist/react/data-table-column/index.js +3 -3
- package/dist/react/date-picker/index.js +8 -8
- package/dist/react/details/index.js +6 -6
- package/dist/react/dialog/index.js +7 -7
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +7 -7
- package/dist/react/dropdown/index.js +4 -4
- package/dist/react/footer/index.d.ts +24 -0
- package/dist/react/footer/index.js +12 -0
- 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 +7 -7
- package/dist/react/icon/index.js +5 -5
- package/dist/react/icon-button/index.js +6 -6
- package/dist/react/image-comparer/index.js +6 -6
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.js +187 -175
- package/dist/react/input/index.js +6 -6
- package/dist/react/logo/index.js +3 -3
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +9 -9
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/option/index.js +6 -6
- package/dist/react/pagination/index.js +7 -7
- package/dist/react/popup/index.js +3 -3
- package/dist/react/primary-navigation/index.js +6 -6
- package/dist/react/primary-navigation-item/index.js +8 -8
- package/dist/react/primary-navigation-menu/index.js +3 -3
- package/dist/react/progress-bar/index.js +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 +6 -6
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +3 -3
- package/dist/react/rating/index.js +6 -6
- 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 +7 -7
- package/dist/react/secondary-navigation-item/index.js +3 -3
- package/dist/react/select/index.js +9 -9
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/social-link/index.d.ts +17 -0
- package/dist/react/social-link/index.js +20 -0
- 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 +7 -7
- package/dist/react/tab-group/index.js +8 -8
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/tag/index.js +7 -7
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/time-picker/index.js +8 -8
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +10 -10
- package/dist/react/tree-item/index.js +8 -8
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/types/vue/index.d.ts +67 -0
- package/dist/utilities/icon-library.js +2 -2
- package/dist/vscode.html-custom-data.json +74 -0
- package/dist/web-types.json +135 -1
- package/package.json +1 -1
- package/cdn/chunks/chunk.226H2XME.js +0 -21
- package/cdn/chunks/chunk.2FBHDZYI.js +0 -158
- package/cdn/chunks/chunk.2HJCX5A6.js +0 -24
- package/cdn/chunks/chunk.2KLLANX4.js +0 -42
- package/cdn/chunks/chunk.2VXFCBQH.js +0 -21
- package/cdn/chunks/chunk.2WPE5WVD.js +0 -21
- package/cdn/chunks/chunk.2Y6D4M3M.js +0 -11
- package/cdn/chunks/chunk.33JDR4KU.js +0 -11
- package/cdn/chunks/chunk.3BJV72HE.js +0 -11
- package/cdn/chunks/chunk.3OBWEMI7.js +0 -233
- package/cdn/chunks/chunk.3OHUFSAI.js +0 -197
- package/cdn/chunks/chunk.3TSU6ISD.js +0 -11
- package/cdn/chunks/chunk.3TVLMCS6.js +0 -11
- package/cdn/chunks/chunk.3UGCIMST.js +0 -821
- package/cdn/chunks/chunk.3WMUVWQU.js +0 -724
- package/cdn/chunks/chunk.3WQQ3DIF.js +0 -21
- package/cdn/chunks/chunk.3Z2JFRFO.js +0 -11
- package/cdn/chunks/chunk.43ZICRBF.js +0 -11
- package/cdn/chunks/chunk.4C6E5U42.js +0 -28
- package/cdn/chunks/chunk.4TOVZLKH.js +0 -49
- package/cdn/chunks/chunk.5TFW6EMU.js +0 -25
- package/cdn/chunks/chunk.5ULOFHJE.js +0 -11
- package/cdn/chunks/chunk.5WH2LY5S.js +0 -11
- package/cdn/chunks/chunk.6A5X7QCO.js +0 -97
- package/cdn/chunks/chunk.6EB6HTL2.js +0 -33
- package/cdn/chunks/chunk.6GGATZ6Y.js +0 -11
- package/cdn/chunks/chunk.6MWQWHS6.js +0 -11
- package/cdn/chunks/chunk.6NODBHQY.js +0 -11
- package/cdn/chunks/chunk.6XJ7ZAEI.js +0 -21
- package/cdn/chunks/chunk.7BMDID53.js +0 -135
- package/cdn/chunks/chunk.7IF4GI63.js +0 -114
- package/cdn/chunks/chunk.7LWWY5VS.js +0 -292
- package/cdn/chunks/chunk.7NVS4H62.js +0 -11
- package/cdn/chunks/chunk.7RHFYXI3.js +0 -73
- package/cdn/chunks/chunk.7TYO2TF2.js +0 -21
- package/cdn/chunks/chunk.7UGVRQCC.js +0 -11
- package/cdn/chunks/chunk.7VHKCX3C.js +0 -11
- package/cdn/chunks/chunk.7Y6PL4W4.js +0 -391
- package/cdn/chunks/chunk.AIEOFQO7.js +0 -21
- package/cdn/chunks/chunk.AKOUPFAA.js +0 -21
- package/cdn/chunks/chunk.AP5TH3IV.js +0 -21
- package/cdn/chunks/chunk.AWJA5KJB.js +0 -33
- package/cdn/chunks/chunk.BBUQESW6.js +0 -75
- package/cdn/chunks/chunk.BFN6T5H3.js +0 -24
- package/cdn/chunks/chunk.BGLUMLW2.js +0 -79
- package/cdn/chunks/chunk.BH2IXANY.js +0 -24
- package/cdn/chunks/chunk.BLC5WO43.js +0 -11
- package/cdn/chunks/chunk.BNXVZPNG.js +0 -21
- package/cdn/chunks/chunk.BPTEXHV7.js +0 -11
- package/cdn/chunks/chunk.BRW3RTPR.js +0 -1990
- package/cdn/chunks/chunk.BUPMJQVE.js +0 -28
- package/cdn/chunks/chunk.C64PDCNZ.js +0 -27
- package/cdn/chunks/chunk.CB2MJ6UM.js +0 -185
- package/cdn/chunks/chunk.CJ4ELSOK.js +0 -137
- package/cdn/chunks/chunk.CNH2S2VI.js +0 -11
- package/cdn/chunks/chunk.CRKOKI4E.js +0 -904
- package/cdn/chunks/chunk.CSVADJJO.js +0 -82
- package/cdn/chunks/chunk.CZIL2LWC.js +0 -28
- package/cdn/chunks/chunk.D5KXVYWW.js +0 -11
- package/cdn/chunks/chunk.DCTJAMFP.js +0 -24
- package/cdn/chunks/chunk.DDTAZJ35.js +0 -574
- package/cdn/chunks/chunk.DF5UV6KZ.js +0 -385
- package/cdn/chunks/chunk.DQDDBDT3.js +0 -11
- package/cdn/chunks/chunk.DRMN5Y7D.js +0 -29
- package/cdn/chunks/chunk.DURM5PJ2.js +0 -174
- package/cdn/chunks/chunk.DVNGAMKZ.js +0 -25
- package/cdn/chunks/chunk.E7K35VL3.js +0 -103
- package/cdn/chunks/chunk.ECVJHFAA.js +0 -27
- package/cdn/chunks/chunk.EGC32U77.js +0 -21
- package/cdn/chunks/chunk.EGNI7IBK.js +0 -499
- package/cdn/chunks/chunk.EH6A32WH.js +0 -25
- package/cdn/chunks/chunk.EJEQ46H4.js +0 -21
- package/cdn/chunks/chunk.EKI2M53W.js +0 -11
- package/cdn/chunks/chunk.ESE3UQ3S.js +0 -21
- package/cdn/chunks/chunk.EVQIKOYO.js +0 -11
- package/cdn/chunks/chunk.EXSHEEI4.js +0 -113
- package/cdn/chunks/chunk.FEBGF4BQ.js +0 -24
- package/cdn/chunks/chunk.FLIWP2FX.js +0 -11
- package/cdn/chunks/chunk.FLRJCPEL.js +0 -346
- package/cdn/chunks/chunk.FMG33YLO.js +0 -11
- package/cdn/chunks/chunk.FRKUENCJ.js +0 -11
- package/cdn/chunks/chunk.FSKDMKIF.js +0 -26
- package/cdn/chunks/chunk.FW7GGXIF.js +0 -297
- package/cdn/chunks/chunk.FYUXTKBL.js +0 -11
- package/cdn/chunks/chunk.GCCCSG4Z.js +0 -26
- package/cdn/chunks/chunk.GGBSRUGY.js +0 -25
- package/cdn/chunks/chunk.GGU42YBU.js +0 -87
- package/cdn/chunks/chunk.GIKR5JDZ.js +0 -11
- package/cdn/chunks/chunk.GM5H7LXD.js +0 -21
- package/cdn/chunks/chunk.GOGMY7JX.js +0 -24
- package/cdn/chunks/chunk.GSF6VW3W.js +0 -77
- package/cdn/chunks/chunk.GYC5O4LL.js +0 -21
- package/cdn/chunks/chunk.H5TYP2MM.js +0 -27
- package/cdn/chunks/chunk.H6FO5PYL.js +0 -11
- package/cdn/chunks/chunk.HCKUIZAI.js +0 -63
- package/cdn/chunks/chunk.HD3OD7GW.js +0 -11
- package/cdn/chunks/chunk.HJ6FIPRK.js +0 -11
- package/cdn/chunks/chunk.HK4Q4WF4.js +0 -11
- package/cdn/chunks/chunk.HYAA4WFC.js +0 -330
- package/cdn/chunks/chunk.HZU2O5S3.js +0 -11
- package/cdn/chunks/chunk.I37D2VRV.js +0 -11
- package/cdn/chunks/chunk.I44PCRNZ.js +0 -28
- package/cdn/chunks/chunk.I5W7MMKL.js +0 -142
- package/cdn/chunks/chunk.IJBDNOE3.js +0 -218
- package/cdn/chunks/chunk.IKLTKVD7.js +0 -186
- package/cdn/chunks/chunk.ISTQKUXY.js +0 -11
- package/cdn/chunks/chunk.ITBSU3SS.js +0 -11
- package/cdn/chunks/chunk.ITFNGXU6.js +0 -29
- package/cdn/chunks/chunk.IZOCFCLM.js +0 -120
- package/cdn/chunks/chunk.J3Z5Q6H7.js +0 -21
- package/cdn/chunks/chunk.J4NJV6UH.js +0 -314
- package/cdn/chunks/chunk.JCTVDZ7H.js +0 -11
- package/cdn/chunks/chunk.JGT4UNZV.js +0 -25
- package/cdn/chunks/chunk.JO35Y2NU.js +0 -29
- package/cdn/chunks/chunk.JRLDI2QT.js +0 -24
- package/cdn/chunks/chunk.KBHJHHHF.js +0 -11
- package/cdn/chunks/chunk.KCYG2PKB.js +0 -25
- package/cdn/chunks/chunk.KE66ZNZP.js +0 -11
- package/cdn/chunks/chunk.KE7WCNPM.js +0 -402
- package/cdn/chunks/chunk.KRMAOV5B.js +0 -21
- package/cdn/chunks/chunk.KU6CUQFL.js +0 -11
- package/cdn/chunks/chunk.KX36BMVZ.js +0 -11
- package/cdn/chunks/chunk.L2EH77SL.js +0 -236
- package/cdn/chunks/chunk.L2YZS6TL.js +0 -25
- package/cdn/chunks/chunk.L57O4AXT.js +0 -11
- package/cdn/chunks/chunk.L7QMIVGY.js +0 -11
- package/cdn/chunks/chunk.LANHAUU4.js +0 -216
- package/cdn/chunks/chunk.LOI3TZXT.js +0 -11
- package/cdn/chunks/chunk.LOLKSADN.js +0 -11
- package/cdn/chunks/chunk.LPIKNMC5.js +0 -11
- package/cdn/chunks/chunk.LR64YFRG.js +0 -120
- package/cdn/chunks/chunk.LT7OFBDG.js +0 -93
- package/cdn/chunks/chunk.M5ET52ZA.js +0 -11
- package/cdn/chunks/chunk.MDRWCAS6.js +0 -84
- package/cdn/chunks/chunk.N43ZVHKN.js +0 -11
- package/cdn/chunks/chunk.NGZMRFMK.js +0 -302
- package/cdn/chunks/chunk.NJDU66LP.js +0 -1925
- package/cdn/chunks/chunk.NLLMKXNM.js +0 -11
- package/cdn/chunks/chunk.NR6OWVLF.js +0 -36
- package/cdn/chunks/chunk.NUFGHSJ2.js +0 -95
- package/cdn/chunks/chunk.NXNMM2RP.js +0 -11
- package/cdn/chunks/chunk.O5JJ22T2.js +0 -11
- package/cdn/chunks/chunk.OA4DHYQO.js +0 -24
- package/cdn/chunks/chunk.OJX5QJ5L.js +0 -21
- package/cdn/chunks/chunk.P22A4UNK.js +0 -11
- package/cdn/chunks/chunk.P64DGGOT.js +0 -299
- package/cdn/chunks/chunk.PBOFXHRS.js +0 -11
- package/cdn/chunks/chunk.PJRGG3NB.js +0 -11
- package/cdn/chunks/chunk.Q3LLXJM4.js +0 -49
- package/cdn/chunks/chunk.Q5TEKA4L.js +0 -11
- package/cdn/chunks/chunk.QBC5N3FA.js +0 -11
- package/cdn/chunks/chunk.QE356TMC.js +0 -25
- package/cdn/chunks/chunk.QH7OFMBT.js +0 -27
- package/cdn/chunks/chunk.QKYW3H7O.js +0 -11
- package/cdn/chunks/chunk.QQ3ZPWEH.js +0 -21
- package/cdn/chunks/chunk.RHYAPCFQ.js +0 -24
- package/cdn/chunks/chunk.RHYRVJFN.js +0 -21
- package/cdn/chunks/chunk.ROUNOGTD.js +0 -24
- package/cdn/chunks/chunk.S4GLLR7O.js +0 -24
- package/cdn/chunks/chunk.SBBB4QH5.js +0 -67
- package/cdn/chunks/chunk.SFSLKWOO.js +0 -11
- package/cdn/chunks/chunk.SH7YSOPZ.js +0 -11
- package/cdn/chunks/chunk.SHHCXFLB.js +0 -28
- package/cdn/chunks/chunk.SIAZ4CCU.js +0 -79
- package/cdn/chunks/chunk.SPZR4S6G.js +0 -279
- package/cdn/chunks/chunk.STSF2XXD.js +0 -21
- package/cdn/chunks/chunk.SXAW7KB2.js +0 -28
- package/cdn/chunks/chunk.SY44EFBG.js +0 -27
- package/cdn/chunks/chunk.TBQN6R4J.js +0 -11
- package/cdn/chunks/chunk.TEPI7CQM.js +0 -218
- package/cdn/chunks/chunk.TJKNPNM3.js +0 -455
- package/cdn/chunks/chunk.TR7YSMOD.js +0 -11
- package/cdn/chunks/chunk.TWFO3Y37.js +0 -11
- package/cdn/chunks/chunk.U5OUTTYB.js +0 -21
- package/cdn/chunks/chunk.U6VEUUD6.js +0 -11
- package/cdn/chunks/chunk.UBJPD2BF.js +0 -26
- package/cdn/chunks/chunk.UBQRNZXI.js +0 -122
- package/cdn/chunks/chunk.UGGNHYQK.js +0 -11
- package/cdn/chunks/chunk.UUBMY2UW.js +0 -11
- package/cdn/chunks/chunk.UYMPEUDM.js +0 -24
- package/cdn/chunks/chunk.VB6GTPI3.js +0 -114
- package/cdn/chunks/chunk.VBL7PL6T.js +0 -25
- package/cdn/chunks/chunk.VGX7H4RC.js +0 -33
- package/cdn/chunks/chunk.VJGJGSPQ.js +0 -147
- package/cdn/chunks/chunk.VPBXGZAT.js +0 -11
- package/cdn/chunks/chunk.VSUH7AKY.js +0 -844
- package/cdn/chunks/chunk.VWL5HSPU.js +0 -11
- package/cdn/chunks/chunk.W25AEHHV.js +0 -11
- package/cdn/chunks/chunk.W4VTQXFP.js +0 -378
- package/cdn/chunks/chunk.WD6RVYZZ.js +0 -153
- package/cdn/chunks/chunk.WEMGUZ5P.js +0 -291
- package/cdn/chunks/chunk.WK2VOR3C.js +0 -29
- package/cdn/chunks/chunk.X2GKMS7P.js +0 -27
- package/cdn/chunks/chunk.X46Z6BWK.js +0 -27
- package/cdn/chunks/chunk.X57EW4SN.js +0 -11
- package/cdn/chunks/chunk.XAYB4TW6.js +0 -267
- package/cdn/chunks/chunk.XBFEVTUR.js +0 -127
- package/cdn/chunks/chunk.XJYAGTFI.js +0 -27
- package/cdn/chunks/chunk.XVS43AYW.js +0 -367
- package/cdn/chunks/chunk.XY3CWS6N.js +0 -33
- package/cdn/chunks/chunk.XZV5HNEU.js +0 -50
- package/cdn/chunks/chunk.Y2MQ7DM7.js +0 -11
- package/cdn/chunks/chunk.Y72GYRHH.js +0 -24
- package/cdn/chunks/chunk.YEDPTOAU.js +0 -11
- package/cdn/chunks/chunk.YGEJQJTF.js +0 -24
- package/cdn/chunks/chunk.YK5AIOA4.js +0 -26
- package/cdn/chunks/chunk.YLSJD4WY.js +0 -21
- package/cdn/chunks/chunk.YRG3JUQX.js +0 -21
- package/cdn/chunks/chunk.YV57XT4H.js +0 -21
- package/cdn/chunks/chunk.YYBORLW3.js +0 -44
- package/cdn/chunks/chunk.Z4S76TZP.js +0 -11
- package/cdn/chunks/chunk.Z4ZZDS3Q.js +0 -255
- package/cdn/chunks/chunk.ZNCV2I5K.js +0 -969
- package/cdn/chunks/chunk.ZPNLF2N5.js +0 -336
- package/cdn/chunks/chunk.ZXLLMDGO.js +0 -21
- package/dist/chunks/chunk.224VCG4W.js +0 -26
- package/dist/chunks/chunk.23I7DEOC.js +0 -24
- package/dist/chunks/chunk.24NCYGO7.js +0 -67
- package/dist/chunks/chunk.2632TVU3.js +0 -170
- package/dist/chunks/chunk.2CMBTRNR.js +0 -448
- package/dist/chunks/chunk.2DD342C3.js +0 -11
- package/dist/chunks/chunk.2QYULO2M.js +0 -59
- package/dist/chunks/chunk.2V2GFRWO.js +0 -27
- package/dist/chunks/chunk.2V6N6ZSP.js +0 -11
- package/dist/chunks/chunk.3433W4VE.js +0 -896
- package/dist/chunks/chunk.34JYKKZP.js +0 -11
- package/dist/chunks/chunk.3B3CVFV5.js +0 -11
- package/dist/chunks/chunk.3FCU7QWE.js +0 -323
- package/dist/chunks/chunk.3OJNKEJ2.js +0 -21
- package/dist/chunks/chunk.4AUIKZGT.js +0 -11
- package/dist/chunks/chunk.4FXP4O5O.js +0 -11
- package/dist/chunks/chunk.4HF654UP.js +0 -11
- package/dist/chunks/chunk.4J6K3XWA.js +0 -27
- package/dist/chunks/chunk.4JL2RPYG.js +0 -26
- package/dist/chunks/chunk.4KBIEY2C.js +0 -25
- package/dist/chunks/chunk.5G2QQFJC.js +0 -11
- package/dist/chunks/chunk.5KXTVDLA.js +0 -11
- package/dist/chunks/chunk.5LPGLWKR.js +0 -28
- package/dist/chunks/chunk.5XCKDKYC.js +0 -25
- package/dist/chunks/chunk.6D6RQKW5.js +0 -109
- package/dist/chunks/chunk.6EDD3RFJ.js +0 -24
- package/dist/chunks/chunk.6KIT4FQU.js +0 -26
- package/dist/chunks/chunk.6Q5HVQ6V.js +0 -111
- package/dist/chunks/chunk.6QPGBPGN.js +0 -21
- package/dist/chunks/chunk.6SRKLXOJ.js +0 -11
- package/dist/chunks/chunk.6YIQUXHB.js +0 -134
- package/dist/chunks/chunk.7OAARADR.js +0 -11
- package/dist/chunks/chunk.7OSOKXMD.js +0 -11
- package/dist/chunks/chunk.AID2WEM2.js +0 -11
- package/dist/chunks/chunk.ALD6RBOX.js +0 -117
- package/dist/chunks/chunk.ALDFJMXH.js +0 -370
- package/dist/chunks/chunk.AMQBI4IL.js +0 -26
- package/dist/chunks/chunk.AO3F26A2.js +0 -63
- package/dist/chunks/chunk.AO754R6D.js +0 -11
- package/dist/chunks/chunk.AOCGYKHJ.js +0 -115
- package/dist/chunks/chunk.ARFOS5WS.js +0 -11
- package/dist/chunks/chunk.AUHQ7HIP.js +0 -11
- package/dist/chunks/chunk.AVUGAM3Q.js +0 -21
- package/dist/chunks/chunk.B3EHLRHY.js +0 -34
- package/dist/chunks/chunk.B5FED4B6.js +0 -11
- package/dist/chunks/chunk.BIU2HNSQ.js +0 -11
- package/dist/chunks/chunk.BML67X7M.js +0 -11
- package/dist/chunks/chunk.BTMMJQC5.js +0 -33
- package/dist/chunks/chunk.BXMPI3NI.js +0 -11
- package/dist/chunks/chunk.C4YQQEAC.js +0 -50
- package/dist/chunks/chunk.CWWRBFDP.js +0 -11
- package/dist/chunks/chunk.DBVPU253.js +0 -491
- package/dist/chunks/chunk.DGZBBV4P.js +0 -116
- package/dist/chunks/chunk.DLMOUTJY.js +0 -45
- package/dist/chunks/chunk.DYVVV32U.js +0 -11
- package/dist/chunks/chunk.E5X77ZBO.js +0 -24
- package/dist/chunks/chunk.E7ACDJFR.js +0 -11
- package/dist/chunks/chunk.EC2QCNGR.js +0 -21
- package/dist/chunks/chunk.ECLUIVBY.js +0 -11
- package/dist/chunks/chunk.EHOWGZIQ.js +0 -33
- package/dist/chunks/chunk.EISOPC4K.js +0 -294
- package/dist/chunks/chunk.EPCXR72G.js +0 -42
- package/dist/chunks/chunk.F5LAL3JM.js +0 -11
- package/dist/chunks/chunk.FBAK4VQV.js +0 -21
- package/dist/chunks/chunk.FBBNYN3O.js +0 -11
- package/dist/chunks/chunk.FDWAROZP.js +0 -25
- package/dist/chunks/chunk.FF22TNLQ.js +0 -11
- package/dist/chunks/chunk.FG5VVWTY.js +0 -21
- package/dist/chunks/chunk.FHCDITYM.js +0 -26
- package/dist/chunks/chunk.FHKIHYCN.js +0 -25
- package/dist/chunks/chunk.FPCQ5B5W.js +0 -21
- package/dist/chunks/chunk.FRSRALIA.js +0 -417
- package/dist/chunks/chunk.GBCYYCVK.js +0 -11
- package/dist/chunks/chunk.GBW42NEM.js +0 -82
- package/dist/chunks/chunk.GN5MI3CE.js +0 -11
- package/dist/chunks/chunk.GSC7QLBZ.js +0 -27
- package/dist/chunks/chunk.GTP45GXJ.js +0 -11
- package/dist/chunks/chunk.GUIJ7RZI.js +0 -75
- package/dist/chunks/chunk.GXJ7DE7E.js +0 -11
- package/dist/chunks/chunk.HGXRN3PM.js +0 -212
- package/dist/chunks/chunk.HWNUBTH7.js +0 -21
- package/dist/chunks/chunk.I3WTHZ7R.js +0 -231
- package/dist/chunks/chunk.IAKED3KT.js +0 -961
- package/dist/chunks/chunk.ICQ5PB7T.js +0 -24
- package/dist/chunks/chunk.IGZPDARD.js +0 -24
- package/dist/chunks/chunk.IR6KOASV.js +0 -11
- package/dist/chunks/chunk.JWMOYNPA.js +0 -11
- package/dist/chunks/chunk.JZK7VX3D.js +0 -11
- package/dist/chunks/chunk.KFY4RH5D.js +0 -28
- package/dist/chunks/chunk.KKCXXLT2.js +0 -11
- package/dist/chunks/chunk.KLM3M5UZ.js +0 -45
- package/dist/chunks/chunk.KLQPRBIH.js +0 -100
- package/dist/chunks/chunk.KTTUFOTO.js +0 -337
- package/dist/chunks/chunk.KVDRJ6B6.js +0 -11
- package/dist/chunks/chunk.KYY5CHMV.js +0 -33
- package/dist/chunks/chunk.L4YGHWEO.js +0 -21
- package/dist/chunks/chunk.L7LQQHFF.js +0 -109
- package/dist/chunks/chunk.LBRDDQFU.js +0 -247
- package/dist/chunks/chunk.LDYMU5N2.js +0 -11
- package/dist/chunks/chunk.LGJE6SK4.js +0 -29
- package/dist/chunks/chunk.LKQDIN4P.js +0 -11
- package/dist/chunks/chunk.LNGMNQ42.js +0 -21
- package/dist/chunks/chunk.LW2U6XJ2.js +0 -126
- package/dist/chunks/chunk.LW2UYNG6.js +0 -11
- package/dist/chunks/chunk.LZ7NMOAS.js +0 -837
- package/dist/chunks/chunk.M3BUZZ7G.js +0 -94
- package/dist/chunks/chunk.MCUWEYQX.js +0 -11
- package/dist/chunks/chunk.MFAMRP7B.js +0 -11
- package/dist/chunks/chunk.MN2YMAOT.js +0 -11
- package/dist/chunks/chunk.MPFD3ANV.js +0 -375
- package/dist/chunks/chunk.MRE4KRL3.js +0 -11
- package/dist/chunks/chunk.MVBE5W45.js +0 -11
- package/dist/chunks/chunk.MVDLRU3V.js +0 -25
- package/dist/chunks/chunk.MVSYQSXK.js +0 -550
- package/dist/chunks/chunk.MWONAOTE.js +0 -384
- package/dist/chunks/chunk.N5U3KVML.js +0 -178
- package/dist/chunks/chunk.NAT2CSKE.js +0 -22
- package/dist/chunks/chunk.NE4EUIOT.js +0 -22
- package/dist/chunks/chunk.NGUQFNBK.js +0 -227
- package/dist/chunks/chunk.NGXVPPWO.js +0 -147
- package/dist/chunks/chunk.NM675H6M.js +0 -138
- package/dist/chunks/chunk.NPGQJOVP.js +0 -21
- package/dist/chunks/chunk.NRFVY7RL.js +0 -29
- package/dist/chunks/chunk.NZZI4WTC.js +0 -11
- package/dist/chunks/chunk.O6JR2TAX.js +0 -24
- package/dist/chunks/chunk.OAU2ENTX.js +0 -25
- package/dist/chunks/chunk.OCFTT7EP.js +0 -21
- package/dist/chunks/chunk.OCTSXPRY.js +0 -11
- package/dist/chunks/chunk.OFCTYVJX.js +0 -21
- package/dist/chunks/chunk.OJIYDGCW.js +0 -21
- package/dist/chunks/chunk.OJVLVQCH.js +0 -27
- package/dist/chunks/chunk.OOZYZPW2.js +0 -361
- package/dist/chunks/chunk.OPHJ6NLY.js +0 -290
- package/dist/chunks/chunk.OSK2FI5B.js +0 -119
- package/dist/chunks/chunk.PARQ4IVI.js +0 -93
- package/dist/chunks/chunk.PCAMY7PA.js +0 -25
- package/dist/chunks/chunk.PICQMRD5.js +0 -25
- package/dist/chunks/chunk.PNNQLN2R.js +0 -21
- package/dist/chunks/chunk.PRTT72VV.js +0 -24
- package/dist/chunks/chunk.Q2BQL4Y5.js +0 -11
- package/dist/chunks/chunk.Q33B754G.js +0 -11
- package/dist/chunks/chunk.Q637H6KS.js +0 -315
- package/dist/chunks/chunk.QA65DAAU.js +0 -27
- package/dist/chunks/chunk.QBBKCXEB.js +0 -28
- package/dist/chunks/chunk.QCU4G5UJ.js +0 -21
- package/dist/chunks/chunk.QIEBJXU4.js +0 -181
- package/dist/chunks/chunk.R2GQNJQN.js +0 -11
- package/dist/chunks/chunk.RBZLHMC6.js +0 -311
- package/dist/chunks/chunk.RFVY3XWA.js +0 -11
- package/dist/chunks/chunk.RG5YD3LX.js +0 -280
- package/dist/chunks/chunk.RKY6BBDQ.js +0 -11
- package/dist/chunks/chunk.RLKXG55N.js +0 -11
- package/dist/chunks/chunk.RMJWPGIN.js +0 -85
- package/dist/chunks/chunk.RN2RXBW7.js +0 -813
- package/dist/chunks/chunk.S26STI6B.js +0 -11
- package/dist/chunks/chunk.SB4CLUI6.js +0 -11
- package/dist/chunks/chunk.SDMVDHXD.js +0 -11
- package/dist/chunks/chunk.SFFF2XR3.js +0 -286
- package/dist/chunks/chunk.SHTTWTYY.js +0 -24
- package/dist/chunks/chunk.SNZOFLHZ.js +0 -80
- package/dist/chunks/chunk.SXINB2EJ.js +0 -27
- package/dist/chunks/chunk.SZ3YJUKS.js +0 -33
- package/dist/chunks/chunk.T4A22N5N.js +0 -11
- package/dist/chunks/chunk.TAKUZOYZ.js +0 -397
- package/dist/chunks/chunk.TB6JWS5S.js +0 -11
- package/dist/chunks/chunk.TDJVPOPM.js +0 -24
- package/dist/chunks/chunk.THOS5O4P.js +0 -21
- package/dist/chunks/chunk.TMCC3UKQ.js +0 -21
- package/dist/chunks/chunk.TN6JTDSQ.js +0 -949
- package/dist/chunks/chunk.TRTAZZD4.js +0 -11
- package/dist/chunks/chunk.TRWF62AZ.js +0 -11
- package/dist/chunks/chunk.UA7F4MBI.js +0 -11
- package/dist/chunks/chunk.UAKTVMBG.js +0 -213
- package/dist/chunks/chunk.UNYMTLSZ.js +0 -29
- package/dist/chunks/chunk.UVR5GWMI.js +0 -21
- package/dist/chunks/chunk.V4KVFK7K.js +0 -28
- package/dist/chunks/chunk.V5LOHCGA.js +0 -24
- package/dist/chunks/chunk.VAJUAA6U.js +0 -11
- package/dist/chunks/chunk.VEY6WDW6.js +0 -72
- package/dist/chunks/chunk.VO43OYKN.js +0 -11
- package/dist/chunks/chunk.VOGX43M6.js +0 -29
- package/dist/chunks/chunk.VWYHTSLQ.js +0 -11
- package/dist/chunks/chunk.W3ONTIWM.js +0 -24
- package/dist/chunks/chunk.W5A3YKHB.js +0 -11
- package/dist/chunks/chunk.WCD27COB.js +0 -21
- package/dist/chunks/chunk.WIPTBKDZ.js +0 -11
- package/dist/chunks/chunk.WIZ7BVBF.js +0 -11
- package/dist/chunks/chunk.WKMRJBYS.js +0 -21
- package/dist/chunks/chunk.WOE6DQJ5.js +0 -21
- package/dist/chunks/chunk.WUNSEXOV.js +0 -21
- package/dist/chunks/chunk.X3ECRBEK.js +0 -192
- package/dist/chunks/chunk.X3ZKY6XT.js +0 -73
- package/dist/chunks/chunk.X6RBCTM2.js +0 -11
- package/dist/chunks/chunk.XAPSGUMU.js +0 -274
- package/dist/chunks/chunk.XNFHH6AG.js +0 -135
- package/dist/chunks/chunk.XRUSBKDL.js +0 -21
- package/dist/chunks/chunk.XTOPRACL.js +0 -100
- package/dist/chunks/chunk.Y4GOEZZI.js +0 -11
- package/dist/chunks/chunk.Y5N7HWGN.js +0 -90
- package/dist/chunks/chunk.YBXHAJCA.js +0 -27
- package/dist/chunks/chunk.YLSAFYRU.js +0 -25
- package/dist/chunks/chunk.YR3F5CUU.js +0 -293
- package/dist/chunks/chunk.YSL6CK2V.js +0 -25
- package/dist/chunks/chunk.YUHTLMJA.js +0 -259
- package/dist/chunks/chunk.YYBORLW3.js +0 -44
- package/dist/chunks/chunk.Z53NO6PU.js +0 -151
- package/dist/chunks/chunk.Z6M2YRMK.js +0 -11
- package/dist/chunks/chunk.Z7YFHLUC.js +0 -21
- package/dist/chunks/chunk.ZDIGY7BF.js +0 -11
- package/dist/chunks/chunk.ZLQCADZE.js +0 -28
- package/dist/chunks/chunk.ZPTKWHPA.js +0 -11
- package/dist/chunks/chunk.ZRLCPXL2.js +0 -91
- package/dist/chunks/chunk.ZT4T5QQG.js +0 -24
- package/dist/chunks/chunk.ZTQSWMXB.js +0 -21
- package/dist/chunks/chunk.ZZTNJ7CA.js +0 -75
|
@@ -1,896 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
date_picker_styles_default
|
|
3
|
-
} from "./chunk.YQYPY5UZ.js";
|
|
4
|
-
import {
|
|
5
|
-
CwPopup
|
|
6
|
-
} from "./chunk.FRSRALIA.js";
|
|
7
|
-
import {
|
|
8
|
-
form_control_styles_default
|
|
9
|
-
} from "./chunk.YBI2MSEM.js";
|
|
10
|
-
import {
|
|
11
|
-
FormControlController
|
|
12
|
-
} from "./chunk.PH2VNONO.js";
|
|
13
|
-
import {
|
|
14
|
-
CwIconButton
|
|
15
|
-
} from "./chunk.LW2U6XJ2.js";
|
|
16
|
-
import {
|
|
17
|
-
getAnimation,
|
|
18
|
-
setDefaultAnimation
|
|
19
|
-
} from "./chunk.SPWJX47D.js";
|
|
20
|
-
import {
|
|
21
|
-
waitForEvent
|
|
22
|
-
} from "./chunk.B4BZKR24.js";
|
|
23
|
-
import {
|
|
24
|
-
animateTo,
|
|
25
|
-
stopAnimations
|
|
26
|
-
} from "./chunk.TJQYJP53.js";
|
|
27
|
-
import {
|
|
28
|
-
LocalizeController
|
|
29
|
-
} from "./chunk.OFFCHZOX.js";
|
|
30
|
-
import {
|
|
31
|
-
HasSlotController
|
|
32
|
-
} from "./chunk.BVGZUUCX.js";
|
|
33
|
-
import {
|
|
34
|
-
CwIcon
|
|
35
|
-
} from "./chunk.QIEBJXU4.js";
|
|
36
|
-
import {
|
|
37
|
-
watch
|
|
38
|
-
} from "./chunk.GQZ7EGMM.js";
|
|
39
|
-
import {
|
|
40
|
-
component_styles_default
|
|
41
|
-
} from "./chunk.TUVJKY7S.js";
|
|
42
|
-
import {
|
|
43
|
-
CwElement
|
|
44
|
-
} from "./chunk.M3BUZZ7G.js";
|
|
45
|
-
import {
|
|
46
|
-
__decorateClass
|
|
47
|
-
} from "./chunk.Q44EX5TP.js";
|
|
48
|
-
|
|
49
|
-
// src/components/date-picker/date-picker.component.ts
|
|
50
|
-
import { classMap } from "lit/directives/class-map.js";
|
|
51
|
-
import { html } from "lit";
|
|
52
|
-
import { ifDefined } from "lit/directives/if-defined.js";
|
|
53
|
-
import { property, query, state } from "lit/decorators.js";
|
|
54
|
-
var pad = (value) => String(value).padStart(2, "0");
|
|
55
|
-
var range = (start, end) => Array.from({ length: end - start + 1 }, (_, i) => start + i);
|
|
56
|
-
function makeDate(year, month, day) {
|
|
57
|
-
return new Date(year, month, day);
|
|
58
|
-
}
|
|
59
|
-
function isSameDay(a, b) {
|
|
60
|
-
return a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth() && a.getDate() === b.getDate();
|
|
61
|
-
}
|
|
62
|
-
function parseDateValue(value) {
|
|
63
|
-
const match = /^(\d{4})-(\d{2})-(\d{2})$/.exec(value.trim());
|
|
64
|
-
if (!match) {
|
|
65
|
-
return void 0;
|
|
66
|
-
}
|
|
67
|
-
const year = Number(match[1]);
|
|
68
|
-
const month = Number(match[2]);
|
|
69
|
-
const day = Number(match[3]);
|
|
70
|
-
const date = makeDate(year, month - 1, day);
|
|
71
|
-
if (date.getFullYear() !== year || date.getMonth() !== month - 1 || date.getDate() !== day) {
|
|
72
|
-
return void 0;
|
|
73
|
-
}
|
|
74
|
-
return date;
|
|
75
|
-
}
|
|
76
|
-
function formatDateValue(date) {
|
|
77
|
-
return `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}`;
|
|
78
|
-
}
|
|
79
|
-
function getMonthGrid(year, month, firstDayOfWeek, selected, min, max) {
|
|
80
|
-
const today = /* @__PURE__ */ new Date();
|
|
81
|
-
const firstOfMonth = makeDate(year, month, 1);
|
|
82
|
-
const startOffset = (firstOfMonth.getDay() - firstDayOfWeek + 7) % 7;
|
|
83
|
-
const start = makeDate(year, month, 1 - startOffset);
|
|
84
|
-
return range(0, 41).map((index) => {
|
|
85
|
-
const date = makeDate(start.getFullYear(), start.getMonth(), start.getDate() + index);
|
|
86
|
-
return {
|
|
87
|
-
date,
|
|
88
|
-
day: date.getDate(),
|
|
89
|
-
isCurrentMonth: date.getMonth() === month,
|
|
90
|
-
isToday: isSameDay(date, today),
|
|
91
|
-
isSelected: selected !== void 0 && isSameDay(date, selected),
|
|
92
|
-
isDisabled: min !== void 0 && date < min || max !== void 0 && date > max
|
|
93
|
-
};
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
var CwDatePicker = class extends CwElement {
|
|
97
|
-
constructor() {
|
|
98
|
-
super(...arguments);
|
|
99
|
-
this.formControlController = new FormControlController(this, {
|
|
100
|
-
assumeInteractionOn: ["cw-blur", "cw-input"]
|
|
101
|
-
});
|
|
102
|
-
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
103
|
-
this.localize = new LocalizeController(this);
|
|
104
|
-
this.hasFocus = false;
|
|
105
|
-
this.focusedDate = /* @__PURE__ */ new Date();
|
|
106
|
-
this.valueHasChanged = false;
|
|
107
|
-
this.name = "";
|
|
108
|
-
this._value = "";
|
|
109
|
-
this.defaultValue = "";
|
|
110
|
-
this.min = "";
|
|
111
|
-
this.max = "";
|
|
112
|
-
this.size = "medium";
|
|
113
|
-
this.placeholder = "";
|
|
114
|
-
this.disabled = false;
|
|
115
|
-
this.clearable = false;
|
|
116
|
-
this.open = false;
|
|
117
|
-
this.hoist = false;
|
|
118
|
-
this.filled = false;
|
|
119
|
-
this.pill = false;
|
|
120
|
-
this.label = "";
|
|
121
|
-
this.placement = "bottom";
|
|
122
|
-
this.helpText = "";
|
|
123
|
-
this.form = "";
|
|
124
|
-
this.required = false;
|
|
125
|
-
this.handleDocumentFocusIn = (event) => {
|
|
126
|
-
const path = event.composedPath();
|
|
127
|
-
if (this && !path.includes(this)) {
|
|
128
|
-
this.hide();
|
|
129
|
-
}
|
|
130
|
-
};
|
|
131
|
-
this.handleDocumentMouseDown = (event) => {
|
|
132
|
-
const path = event.composedPath();
|
|
133
|
-
if (this && !path.includes(this)) {
|
|
134
|
-
this.hide();
|
|
135
|
-
}
|
|
136
|
-
};
|
|
137
|
-
this.handleDocumentKeyDown = (event) => {
|
|
138
|
-
const target = event.target;
|
|
139
|
-
const isClearButton = target.closest(".date-picker__clear") !== null;
|
|
140
|
-
if (isClearButton) {
|
|
141
|
-
return;
|
|
142
|
-
}
|
|
143
|
-
if (event.key === "Escape" && this.open && !this.closeWatcher) {
|
|
144
|
-
event.preventDefault();
|
|
145
|
-
event.stopPropagation();
|
|
146
|
-
this.hide();
|
|
147
|
-
this.displayInput.focus({ preventScroll: true });
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
if (event.key === "Enter" || event.key === " ") {
|
|
151
|
-
event.preventDefault();
|
|
152
|
-
if (!this.open) {
|
|
153
|
-
this.show();
|
|
154
|
-
return;
|
|
155
|
-
}
|
|
156
|
-
this.selectDate(this.focusedDate);
|
|
157
|
-
return;
|
|
158
|
-
}
|
|
159
|
-
const navigationKeys = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "Home", "End", "PageUp", "PageDown"];
|
|
160
|
-
if (navigationKeys.includes(event.key)) {
|
|
161
|
-
event.preventDefault();
|
|
162
|
-
if (!this.open) {
|
|
163
|
-
this.show();
|
|
164
|
-
return;
|
|
165
|
-
}
|
|
166
|
-
const isRtl = this.localize.dir() === "rtl";
|
|
167
|
-
switch (event.key) {
|
|
168
|
-
case "ArrowUp":
|
|
169
|
-
this.moveFocusedDate(-7);
|
|
170
|
-
break;
|
|
171
|
-
case "ArrowDown":
|
|
172
|
-
this.moveFocusedDate(7);
|
|
173
|
-
break;
|
|
174
|
-
case "ArrowLeft":
|
|
175
|
-
this.moveFocusedDate(isRtl ? 1 : -1);
|
|
176
|
-
break;
|
|
177
|
-
case "ArrowRight":
|
|
178
|
-
this.moveFocusedDate(isRtl ? -1 : 1);
|
|
179
|
-
break;
|
|
180
|
-
case "Home":
|
|
181
|
-
this.moveFocusedDateToStartOfWeek();
|
|
182
|
-
break;
|
|
183
|
-
case "End":
|
|
184
|
-
this.moveFocusedDateToEndOfWeek();
|
|
185
|
-
break;
|
|
186
|
-
case "PageUp":
|
|
187
|
-
if (event.shiftKey) {
|
|
188
|
-
this.navigateYear(-1);
|
|
189
|
-
} else {
|
|
190
|
-
this.navigateMonth(-1);
|
|
191
|
-
}
|
|
192
|
-
break;
|
|
193
|
-
case "PageDown":
|
|
194
|
-
if (event.shiftKey) {
|
|
195
|
-
this.navigateYear(1);
|
|
196
|
-
} else {
|
|
197
|
-
this.navigateMonth(1);
|
|
198
|
-
}
|
|
199
|
-
break;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
};
|
|
203
|
-
}
|
|
204
|
-
get value() {
|
|
205
|
-
return this._value;
|
|
206
|
-
}
|
|
207
|
-
set value(val) {
|
|
208
|
-
if (this._value === val) {
|
|
209
|
-
return;
|
|
210
|
-
}
|
|
211
|
-
this.valueHasChanged = true;
|
|
212
|
-
this._value = val;
|
|
213
|
-
}
|
|
214
|
-
/** Gets the validity state object */
|
|
215
|
-
get validity() {
|
|
216
|
-
return this.valueInput.validity;
|
|
217
|
-
}
|
|
218
|
-
/** Gets the validation message */
|
|
219
|
-
get validationMessage() {
|
|
220
|
-
return this.valueInput.validationMessage;
|
|
221
|
-
}
|
|
222
|
-
// The current value parsed into a Date, or `undefined` if the value is empty/invalid
|
|
223
|
-
get parsedValue() {
|
|
224
|
-
return parseDateValue(this.value);
|
|
225
|
-
}
|
|
226
|
-
// The minimum selectable date, or `undefined` if `min` is empty/invalid
|
|
227
|
-
get parsedMin() {
|
|
228
|
-
return parseDateValue(this.min);
|
|
229
|
-
}
|
|
230
|
-
// The maximum selectable date, or `undefined` if `max` is empty/invalid
|
|
231
|
-
get parsedMax() {
|
|
232
|
-
return parseDateValue(this.max);
|
|
233
|
-
}
|
|
234
|
-
connectedCallback() {
|
|
235
|
-
super.connectedCallback();
|
|
236
|
-
this.open = false;
|
|
237
|
-
}
|
|
238
|
-
addOpenListeners() {
|
|
239
|
-
var _a;
|
|
240
|
-
document.addEventListener("focusin", this.handleDocumentFocusIn);
|
|
241
|
-
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
242
|
-
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
243
|
-
if (this.getRootNode() !== document) {
|
|
244
|
-
this.getRootNode().addEventListener("focusin", this.handleDocumentFocusIn);
|
|
245
|
-
}
|
|
246
|
-
if ("CloseWatcher" in window) {
|
|
247
|
-
(_a = this.closeWatcher) == null ? void 0 : _a.destroy();
|
|
248
|
-
this.closeWatcher = new CloseWatcher();
|
|
249
|
-
this.closeWatcher.onclose = () => {
|
|
250
|
-
if (this.open) {
|
|
251
|
-
this.hide();
|
|
252
|
-
this.displayInput.focus({ preventScroll: true });
|
|
253
|
-
}
|
|
254
|
-
};
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
removeOpenListeners() {
|
|
258
|
-
var _a;
|
|
259
|
-
document.removeEventListener("focusin", this.handleDocumentFocusIn);
|
|
260
|
-
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
261
|
-
document.removeEventListener("mousedown", this.handleDocumentMouseDown);
|
|
262
|
-
if (this.getRootNode() !== document) {
|
|
263
|
-
this.getRootNode().removeEventListener("focusin", this.handleDocumentFocusIn);
|
|
264
|
-
}
|
|
265
|
-
(_a = this.closeWatcher) == null ? void 0 : _a.destroy();
|
|
266
|
-
}
|
|
267
|
-
handleFocus() {
|
|
268
|
-
this.hasFocus = true;
|
|
269
|
-
this.emit("cw-focus");
|
|
270
|
-
}
|
|
271
|
-
handleBlur() {
|
|
272
|
-
this.hasFocus = false;
|
|
273
|
-
this.emit("cw-blur");
|
|
274
|
-
}
|
|
275
|
-
handleLabelClick() {
|
|
276
|
-
this.displayInput.focus();
|
|
277
|
-
}
|
|
278
|
-
handleComboboxMouseDown(event) {
|
|
279
|
-
const path = event.composedPath();
|
|
280
|
-
const isIconButton = path.some((el) => el instanceof Element && el.tagName.toLowerCase() === "cw-icon-button");
|
|
281
|
-
if (this.disabled || isIconButton) {
|
|
282
|
-
return;
|
|
283
|
-
}
|
|
284
|
-
event.preventDefault();
|
|
285
|
-
this.displayInput.focus({ preventScroll: true });
|
|
286
|
-
this.open = !this.open;
|
|
287
|
-
}
|
|
288
|
-
handleComboboxKeyDown(event) {
|
|
289
|
-
if (event.key === "Tab") {
|
|
290
|
-
return;
|
|
291
|
-
}
|
|
292
|
-
event.stopPropagation();
|
|
293
|
-
this.handleDocumentKeyDown(event);
|
|
294
|
-
}
|
|
295
|
-
handleClearClick(event) {
|
|
296
|
-
event.stopPropagation();
|
|
297
|
-
if (this.value !== "") {
|
|
298
|
-
this.setDateValue(void 0);
|
|
299
|
-
this.displayInput.focus({ preventScroll: true });
|
|
300
|
-
this.updateComplete.then(() => {
|
|
301
|
-
this.emit("cw-clear");
|
|
302
|
-
this.emit("cw-input");
|
|
303
|
-
this.emit("cw-change");
|
|
304
|
-
});
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
handleClearMouseDown(event) {
|
|
308
|
-
event.stopPropagation();
|
|
309
|
-
event.preventDefault();
|
|
310
|
-
}
|
|
311
|
-
handleCalendarMouseDown(event) {
|
|
312
|
-
event.preventDefault();
|
|
313
|
-
}
|
|
314
|
-
handleDayClick(event) {
|
|
315
|
-
var _a;
|
|
316
|
-
const target = event.target;
|
|
317
|
-
const dayEl = target.closest(".date-picker__day");
|
|
318
|
-
if (!dayEl || this.disabled || dayEl.getAttribute("aria-disabled") === "true") {
|
|
319
|
-
return;
|
|
320
|
-
}
|
|
321
|
-
const date = parseDateValue((_a = dayEl.dataset.date) != null ? _a : "");
|
|
322
|
-
if (!date) {
|
|
323
|
-
return;
|
|
324
|
-
}
|
|
325
|
-
this.selectDate(date);
|
|
326
|
-
}
|
|
327
|
-
handlePreviousMonthClick() {
|
|
328
|
-
this.navigateMonth(-1);
|
|
329
|
-
this.displayInput.focus({ preventScroll: true });
|
|
330
|
-
}
|
|
331
|
-
handleNextMonthClick() {
|
|
332
|
-
this.navigateMonth(1);
|
|
333
|
-
this.displayInput.focus({ preventScroll: true });
|
|
334
|
-
}
|
|
335
|
-
handleInvalid(event) {
|
|
336
|
-
this.formControlController.setValidity(false);
|
|
337
|
-
this.formControlController.emitInvalidEvent(event);
|
|
338
|
-
}
|
|
339
|
-
// Determines the first day of the week (0 = Sunday, 6 = Saturday), falling back to the page's locale and then Sunday
|
|
340
|
-
getFirstDayOfWeek() {
|
|
341
|
-
var _a, _b;
|
|
342
|
-
if (this.firstDayOfWeek !== void 0) {
|
|
343
|
-
return (this.firstDayOfWeek % 7 + 7) % 7;
|
|
344
|
-
}
|
|
345
|
-
const locale = new Intl.Locale(this.localize.lang());
|
|
346
|
-
const firstDay = (_b = (_a = locale.getWeekInfo) == null ? void 0 : _a.call(locale)) == null ? void 0 : _b.firstDay;
|
|
347
|
-
return firstDay !== void 0 ? firstDay % 7 : 0;
|
|
348
|
-
}
|
|
349
|
-
// Returns the short and long localized names of each weekday, starting from the first day of the week
|
|
350
|
-
getWeekdayLabels(firstDayOfWeek) {
|
|
351
|
-
const shortFormat = new Intl.DateTimeFormat(this.localize.lang(), { weekday: "short" });
|
|
352
|
-
const longFormat = new Intl.DateTimeFormat(this.localize.lang(), { weekday: "long" });
|
|
353
|
-
return range(0, 6).map((offset) => {
|
|
354
|
-
const date = makeDate(2023, 0, 1 + (firstDayOfWeek + offset) % 7);
|
|
355
|
-
return { short: shortFormat.format(date), long: longFormat.format(date) };
|
|
356
|
-
});
|
|
357
|
-
}
|
|
358
|
-
// Returns the localized "Month YYYY" label for the calendar header
|
|
359
|
-
getHeaderLabel(date) {
|
|
360
|
-
return new Intl.DateTimeFormat(this.localize.lang(), { month: "long", year: "numeric" }).format(date);
|
|
361
|
-
}
|
|
362
|
-
// Returns the full localized label for a day, used for its accessible name
|
|
363
|
-
getDayLabel(date) {
|
|
364
|
-
return new Intl.DateTimeFormat(this.localize.lang(), {
|
|
365
|
-
weekday: "long",
|
|
366
|
-
month: "long",
|
|
367
|
-
day: "numeric",
|
|
368
|
-
year: "numeric"
|
|
369
|
-
}).format(date);
|
|
370
|
-
}
|
|
371
|
-
// Formats the current value for display in the input
|
|
372
|
-
get displayLabel() {
|
|
373
|
-
const date = this.parsedValue;
|
|
374
|
-
if (!date) {
|
|
375
|
-
return "";
|
|
376
|
-
}
|
|
377
|
-
return new Intl.DateTimeFormat(this.localize.lang(), { year: "numeric", month: "short", day: "numeric" }).format(
|
|
378
|
-
date
|
|
379
|
-
);
|
|
380
|
-
}
|
|
381
|
-
moveFocusedDate(deltaDays) {
|
|
382
|
-
const current = this.focusedDate;
|
|
383
|
-
this.focusedDate = makeDate(current.getFullYear(), current.getMonth(), current.getDate() + deltaDays);
|
|
384
|
-
}
|
|
385
|
-
moveFocusedDateToStartOfWeek() {
|
|
386
|
-
const current = this.focusedDate;
|
|
387
|
-
const firstDayOfWeek = this.getFirstDayOfWeek();
|
|
388
|
-
const offset = (current.getDay() - firstDayOfWeek + 7) % 7;
|
|
389
|
-
this.focusedDate = makeDate(current.getFullYear(), current.getMonth(), current.getDate() - offset);
|
|
390
|
-
}
|
|
391
|
-
moveFocusedDateToEndOfWeek() {
|
|
392
|
-
const current = this.focusedDate;
|
|
393
|
-
const firstDayOfWeek = this.getFirstDayOfWeek();
|
|
394
|
-
const offset = (current.getDay() - firstDayOfWeek + 7) % 7;
|
|
395
|
-
this.focusedDate = makeDate(current.getFullYear(), current.getMonth(), current.getDate() + (6 - offset));
|
|
396
|
-
}
|
|
397
|
-
// Moves the focused date to the same day in the previous/next month, clamping to the last day of that month
|
|
398
|
-
navigateMonth(delta) {
|
|
399
|
-
const current = this.focusedDate;
|
|
400
|
-
const daysInTargetMonth = makeDate(current.getFullYear(), current.getMonth() + delta + 1, 0).getDate();
|
|
401
|
-
this.focusedDate = makeDate(
|
|
402
|
-
current.getFullYear(),
|
|
403
|
-
current.getMonth() + delta,
|
|
404
|
-
Math.min(current.getDate(), daysInTargetMonth)
|
|
405
|
-
);
|
|
406
|
-
}
|
|
407
|
-
// Moves the focused date to the same day in the previous/next year, clamping to the last day of that month
|
|
408
|
-
navigateYear(delta) {
|
|
409
|
-
const current = this.focusedDate;
|
|
410
|
-
const daysInTargetMonth = makeDate(current.getFullYear() + delta, current.getMonth() + 1, 0).getDate();
|
|
411
|
-
this.focusedDate = makeDate(
|
|
412
|
-
current.getFullYear() + delta,
|
|
413
|
-
current.getMonth(),
|
|
414
|
-
Math.min(current.getDate(), daysInTargetMonth)
|
|
415
|
-
);
|
|
416
|
-
}
|
|
417
|
-
isDateDisabled(date) {
|
|
418
|
-
const min = this.parsedMin;
|
|
419
|
-
const max = this.parsedMax;
|
|
420
|
-
return min !== void 0 && date < min || max !== void 0 && date > max;
|
|
421
|
-
}
|
|
422
|
-
selectDate(date) {
|
|
423
|
-
if (this.isDateDisabled(date)) {
|
|
424
|
-
return;
|
|
425
|
-
}
|
|
426
|
-
const oldValue = this.value;
|
|
427
|
-
this.focusedDate = date;
|
|
428
|
-
this.setDateValue(date);
|
|
429
|
-
if (this.value !== oldValue) {
|
|
430
|
-
this.updateComplete.then(() => {
|
|
431
|
-
this.emit("cw-input");
|
|
432
|
-
this.emit("cw-change");
|
|
433
|
-
});
|
|
434
|
-
}
|
|
435
|
-
this.hide();
|
|
436
|
-
this.displayInput.focus({ preventScroll: true });
|
|
437
|
-
}
|
|
438
|
-
setDateValue(date) {
|
|
439
|
-
this.valueHasChanged = true;
|
|
440
|
-
this.value = date ? formatDateValue(date) : "";
|
|
441
|
-
}
|
|
442
|
-
// Determines which date should receive focus when the calendar opens
|
|
443
|
-
getInitialFocusDate() {
|
|
444
|
-
const value = this.parsedValue;
|
|
445
|
-
if (value) {
|
|
446
|
-
return value;
|
|
447
|
-
}
|
|
448
|
-
const today = makeDate((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate());
|
|
449
|
-
const min = this.parsedMin;
|
|
450
|
-
const max = this.parsedMax;
|
|
451
|
-
if (min !== void 0 && today < min) {
|
|
452
|
-
return min;
|
|
453
|
-
}
|
|
454
|
-
if (max !== void 0 && today > max) {
|
|
455
|
-
return max;
|
|
456
|
-
}
|
|
457
|
-
return today;
|
|
458
|
-
}
|
|
459
|
-
renderDay(day) {
|
|
460
|
-
const dateString = formatDateValue(day.date);
|
|
461
|
-
const isFocused = isSameDay(day.date, this.focusedDate);
|
|
462
|
-
return html`
|
|
463
|
-
<span
|
|
464
|
-
id="date-picker-day-${dateString}"
|
|
465
|
-
part="day"
|
|
466
|
-
role="gridcell"
|
|
467
|
-
class=${classMap({
|
|
468
|
-
"date-picker__day": true,
|
|
469
|
-
"date-picker__day--adjacent": !day.isCurrentMonth,
|
|
470
|
-
"date-picker__day--today": day.isToday,
|
|
471
|
-
"date-picker__day--selected": day.isSelected,
|
|
472
|
-
"date-picker__day--disabled": day.isDisabled,
|
|
473
|
-
"date-picker__day--focused": isFocused
|
|
474
|
-
})}
|
|
475
|
-
aria-selected=${day.isSelected ? "true" : "false"}
|
|
476
|
-
aria-disabled=${day.isDisabled ? "true" : "false"}
|
|
477
|
-
aria-current=${day.isToday ? "date" : "false"}
|
|
478
|
-
aria-label=${this.getDayLabel(day.date)}
|
|
479
|
-
data-date=${dateString}
|
|
480
|
-
>
|
|
481
|
-
${day.day}
|
|
482
|
-
</span>
|
|
483
|
-
`;
|
|
484
|
-
}
|
|
485
|
-
renderCalendar() {
|
|
486
|
-
const firstDayOfWeek = this.getFirstDayOfWeek();
|
|
487
|
-
const weekdays = this.getWeekdayLabels(firstDayOfWeek);
|
|
488
|
-
const grid = getMonthGrid(
|
|
489
|
-
this.focusedDate.getFullYear(),
|
|
490
|
-
this.focusedDate.getMonth(),
|
|
491
|
-
firstDayOfWeek,
|
|
492
|
-
this.parsedValue,
|
|
493
|
-
this.parsedMin,
|
|
494
|
-
this.parsedMax
|
|
495
|
-
);
|
|
496
|
-
const weeks = range(0, 5).map((week) => grid.slice(week * 7, week * 7 + 7));
|
|
497
|
-
return html`
|
|
498
|
-
<div
|
|
499
|
-
id="calendar"
|
|
500
|
-
part="calendar"
|
|
501
|
-
class="date-picker__calendar"
|
|
502
|
-
hidden
|
|
503
|
-
@mousedown=${this.handleCalendarMouseDown}
|
|
504
|
-
@mouseup=${this.handleDayClick}
|
|
505
|
-
>
|
|
506
|
-
<div part="header" class="date-picker__header">
|
|
507
|
-
<cw-icon-button
|
|
508
|
-
part="previous-button"
|
|
509
|
-
exportparts="base:previous-button__base"
|
|
510
|
-
class="date-picker__previous"
|
|
511
|
-
name="chevron-left"
|
|
512
|
-
library="system"
|
|
513
|
-
label=${this.localize.term("previousMonth")}
|
|
514
|
-
@click=${this.handlePreviousMonthClick}
|
|
515
|
-
></cw-icon-button>
|
|
516
|
-
|
|
517
|
-
<span part="heading" class="date-picker__heading" aria-live="polite">
|
|
518
|
-
${this.getHeaderLabel(this.focusedDate)}
|
|
519
|
-
</span>
|
|
520
|
-
|
|
521
|
-
<cw-icon-button
|
|
522
|
-
part="next-button"
|
|
523
|
-
exportparts="base:next-button__base"
|
|
524
|
-
class="date-picker__next"
|
|
525
|
-
name="chevron-right"
|
|
526
|
-
library="system"
|
|
527
|
-
label=${this.localize.term("nextMonth")}
|
|
528
|
-
@click=${this.handleNextMonthClick}
|
|
529
|
-
></cw-icon-button>
|
|
530
|
-
</div>
|
|
531
|
-
|
|
532
|
-
<div
|
|
533
|
-
id="grid"
|
|
534
|
-
part="grid"
|
|
535
|
-
class="date-picker__grid"
|
|
536
|
-
role="grid"
|
|
537
|
-
aria-label=${this.getHeaderLabel(this.focusedDate)}
|
|
538
|
-
>
|
|
539
|
-
<div part="weekdays" class="date-picker__weekdays" role="row">
|
|
540
|
-
${weekdays.map(
|
|
541
|
-
(weekday) => html`
|
|
542
|
-
<span part="weekday" class="date-picker__weekday" role="columnheader" aria-label=${weekday.long}>
|
|
543
|
-
${weekday.short}
|
|
544
|
-
</span>
|
|
545
|
-
`
|
|
546
|
-
)}
|
|
547
|
-
</div>
|
|
548
|
-
|
|
549
|
-
${weeks.map(
|
|
550
|
-
(week) => html`
|
|
551
|
-
<div part="row" class="date-picker__row" role="row">${week.map((day) => this.renderDay(day))}</div>
|
|
552
|
-
`
|
|
553
|
-
)}
|
|
554
|
-
</div>
|
|
555
|
-
</div>
|
|
556
|
-
`;
|
|
557
|
-
}
|
|
558
|
-
handleDisabledChange() {
|
|
559
|
-
if (this.disabled) {
|
|
560
|
-
this.open = false;
|
|
561
|
-
this.handleOpenChange();
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
attributeChangedCallback(name, oldVal, newVal) {
|
|
565
|
-
super.attributeChangedCallback(name, oldVal, newVal);
|
|
566
|
-
if (name === "value") {
|
|
567
|
-
const cachedValueHasChanged = this.valueHasChanged;
|
|
568
|
-
this.value = this.defaultValue;
|
|
569
|
-
this.valueHasChanged = cachedValueHasChanged;
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
handleValueChange() {
|
|
573
|
-
if (!this.valueHasChanged) {
|
|
574
|
-
const cachedValueHasChanged = this.valueHasChanged;
|
|
575
|
-
this.value = this.defaultValue;
|
|
576
|
-
this.valueHasChanged = cachedValueHasChanged;
|
|
577
|
-
}
|
|
578
|
-
this.updateComplete.then(() => this.formControlController.updateValidity());
|
|
579
|
-
}
|
|
580
|
-
async handleOpenChange() {
|
|
581
|
-
if (this.open && !this.disabled) {
|
|
582
|
-
this.emit("cw-show");
|
|
583
|
-
this.addOpenListeners();
|
|
584
|
-
this.focusedDate = this.getInitialFocusDate();
|
|
585
|
-
await stopAnimations(this);
|
|
586
|
-
this.calendar.hidden = false;
|
|
587
|
-
this.popup.active = true;
|
|
588
|
-
const { keyframes, options } = getAnimation(this, "date-picker.show", { dir: this.localize.dir() });
|
|
589
|
-
await animateTo(this.popup.popup, keyframes, options);
|
|
590
|
-
this.emit("cw-after-show");
|
|
591
|
-
} else {
|
|
592
|
-
this.emit("cw-hide");
|
|
593
|
-
this.removeOpenListeners();
|
|
594
|
-
await stopAnimations(this);
|
|
595
|
-
const { keyframes, options } = getAnimation(this, "date-picker.hide", { dir: this.localize.dir() });
|
|
596
|
-
await animateTo(this.popup.popup, keyframes, options);
|
|
597
|
-
this.calendar.hidden = true;
|
|
598
|
-
this.popup.active = false;
|
|
599
|
-
this.emit("cw-after-hide");
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
/** Shows the calendar. */
|
|
603
|
-
async show() {
|
|
604
|
-
if (this.open || this.disabled) {
|
|
605
|
-
return void 0;
|
|
606
|
-
}
|
|
607
|
-
this.open = true;
|
|
608
|
-
return waitForEvent(this, "cw-after-show");
|
|
609
|
-
}
|
|
610
|
-
/** Hides the calendar. */
|
|
611
|
-
async hide() {
|
|
612
|
-
if (!this.open || this.disabled) {
|
|
613
|
-
return void 0;
|
|
614
|
-
}
|
|
615
|
-
this.open = false;
|
|
616
|
-
return waitForEvent(this, "cw-after-hide");
|
|
617
|
-
}
|
|
618
|
-
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
619
|
-
checkValidity() {
|
|
620
|
-
return this.valueInput.checkValidity();
|
|
621
|
-
}
|
|
622
|
-
/** Gets the associated form, if one exists. */
|
|
623
|
-
getForm() {
|
|
624
|
-
return this.formControlController.getForm();
|
|
625
|
-
}
|
|
626
|
-
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
627
|
-
reportValidity() {
|
|
628
|
-
return this.valueInput.reportValidity();
|
|
629
|
-
}
|
|
630
|
-
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
631
|
-
setCustomValidity(message) {
|
|
632
|
-
this.valueInput.setCustomValidity(message);
|
|
633
|
-
this.formControlController.updateValidity();
|
|
634
|
-
}
|
|
635
|
-
/** Sets focus on the control. */
|
|
636
|
-
focus(options) {
|
|
637
|
-
this.displayInput.focus(options);
|
|
638
|
-
}
|
|
639
|
-
/** Removes focus from the control. */
|
|
640
|
-
blur() {
|
|
641
|
-
this.displayInput.blur();
|
|
642
|
-
}
|
|
643
|
-
render() {
|
|
644
|
-
const hasLabelSlot = this.hasSlotController.test("label");
|
|
645
|
-
const hasHelpTextSlot = this.hasSlotController.test("help-text");
|
|
646
|
-
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
647
|
-
const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;
|
|
648
|
-
const hasClearIcon = this.clearable && !this.disabled && this.value.length > 0;
|
|
649
|
-
const isPlaceholderVisible = this.placeholder && this.value.length === 0;
|
|
650
|
-
const activeDescendant = this.open ? `date-picker-day-${formatDateValue(this.focusedDate)}` : void 0;
|
|
651
|
-
return html`
|
|
652
|
-
<div
|
|
653
|
-
part="form-control"
|
|
654
|
-
class=${classMap({
|
|
655
|
-
"form-control": true,
|
|
656
|
-
"form-control--small": this.size === "small",
|
|
657
|
-
"form-control--medium": this.size === "medium",
|
|
658
|
-
"form-control--large": this.size === "large",
|
|
659
|
-
"form-control--has-label": hasLabel,
|
|
660
|
-
"form-control--has-help-text": hasHelpText
|
|
661
|
-
})}
|
|
662
|
-
>
|
|
663
|
-
<label
|
|
664
|
-
id="label"
|
|
665
|
-
part="form-control-label"
|
|
666
|
-
class="form-control__label"
|
|
667
|
-
aria-hidden=${hasLabel ? "false" : "true"}
|
|
668
|
-
@click=${this.handleLabelClick}
|
|
669
|
-
>
|
|
670
|
-
<slot name="label">${this.label}</slot>
|
|
671
|
-
</label>
|
|
672
|
-
|
|
673
|
-
<div part="form-control-input" class="form-control-input">
|
|
674
|
-
<cw-popup
|
|
675
|
-
class=${classMap({
|
|
676
|
-
"date-picker": true,
|
|
677
|
-
"date-picker--standard": true,
|
|
678
|
-
"date-picker--filled": this.filled,
|
|
679
|
-
"date-picker--pill": this.pill,
|
|
680
|
-
"date-picker--open": this.open,
|
|
681
|
-
"date-picker--disabled": this.disabled,
|
|
682
|
-
"date-picker--focused": this.hasFocus,
|
|
683
|
-
"date-picker--placeholder-visible": isPlaceholderVisible,
|
|
684
|
-
"date-picker--top": this.placement === "top",
|
|
685
|
-
"date-picker--bottom": this.placement === "bottom",
|
|
686
|
-
"date-picker--small": this.size === "small",
|
|
687
|
-
"date-picker--medium": this.size === "medium",
|
|
688
|
-
"date-picker--large": this.size === "large"
|
|
689
|
-
})}
|
|
690
|
-
placement=${this.placement}
|
|
691
|
-
strategy=${this.hoist ? "fixed" : "absolute"}
|
|
692
|
-
flip
|
|
693
|
-
shift
|
|
694
|
-
auto-size="vertical"
|
|
695
|
-
auto-size-padding="10"
|
|
696
|
-
>
|
|
697
|
-
<div
|
|
698
|
-
part="combobox"
|
|
699
|
-
class="date-picker__combobox"
|
|
700
|
-
slot="anchor"
|
|
701
|
-
@keydown=${this.handleComboboxKeyDown}
|
|
702
|
-
@mousedown=${this.handleComboboxMouseDown}
|
|
703
|
-
>
|
|
704
|
-
<slot part="prefix" name="prefix" class="date-picker__prefix"></slot>
|
|
705
|
-
|
|
706
|
-
<input
|
|
707
|
-
part="display-input"
|
|
708
|
-
class="date-picker__display-input"
|
|
709
|
-
type="text"
|
|
710
|
-
placeholder=${this.placeholder}
|
|
711
|
-
.disabled=${this.disabled}
|
|
712
|
-
.value=${this.displayLabel}
|
|
713
|
-
autocomplete="off"
|
|
714
|
-
spellcheck="false"
|
|
715
|
-
autocapitalize="off"
|
|
716
|
-
readonly
|
|
717
|
-
role="combobox"
|
|
718
|
-
aria-controls="grid"
|
|
719
|
-
aria-expanded=${this.open ? "true" : "false"}
|
|
720
|
-
aria-haspopup="grid"
|
|
721
|
-
aria-labelledby="label"
|
|
722
|
-
aria-disabled=${this.disabled ? "true" : "false"}
|
|
723
|
-
aria-describedby="help-text"
|
|
724
|
-
aria-activedescendant=${ifDefined(activeDescendant)}
|
|
725
|
-
tabindex="0"
|
|
726
|
-
@focus=${this.handleFocus}
|
|
727
|
-
@blur=${this.handleBlur}
|
|
728
|
-
/>
|
|
729
|
-
|
|
730
|
-
<input
|
|
731
|
-
class="date-picker__value-input"
|
|
732
|
-
type="date"
|
|
733
|
-
?disabled=${this.disabled}
|
|
734
|
-
?required=${this.required}
|
|
735
|
-
min=${ifDefined(this.min || void 0)}
|
|
736
|
-
max=${ifDefined(this.max || void 0)}
|
|
737
|
-
.value=${this.value}
|
|
738
|
-
tabindex="-1"
|
|
739
|
-
aria-hidden="true"
|
|
740
|
-
@focus=${() => this.focus()}
|
|
741
|
-
@invalid=${this.handleInvalid}
|
|
742
|
-
/>
|
|
743
|
-
|
|
744
|
-
${hasClearIcon ? html`
|
|
745
|
-
<button
|
|
746
|
-
part="clear-button"
|
|
747
|
-
class="date-picker__clear"
|
|
748
|
-
type="button"
|
|
749
|
-
aria-label=${this.localize.term("clearEntry")}
|
|
750
|
-
@mousedown=${this.handleClearMouseDown}
|
|
751
|
-
@click=${this.handleClearClick}
|
|
752
|
-
tabindex="-1"
|
|
753
|
-
>
|
|
754
|
-
<slot name="clear-icon">
|
|
755
|
-
<cw-icon name="x-circle-fill" library="system"></cw-icon>
|
|
756
|
-
</slot>
|
|
757
|
-
</button>
|
|
758
|
-
` : ""}
|
|
759
|
-
|
|
760
|
-
<slot name="suffix" part="suffix" class="date-picker__suffix"></slot>
|
|
761
|
-
|
|
762
|
-
<slot name="expand-icon" part="expand-icon" class="date-picker__expand-icon">
|
|
763
|
-
<cw-icon library="system" name="calendar3"></cw-icon>
|
|
764
|
-
</slot>
|
|
765
|
-
</div>
|
|
766
|
-
|
|
767
|
-
${this.renderCalendar()}
|
|
768
|
-
</cw-popup>
|
|
769
|
-
</div>
|
|
770
|
-
|
|
771
|
-
<div
|
|
772
|
-
part="form-control-help-text"
|
|
773
|
-
id="help-text"
|
|
774
|
-
class="form-control__help-text"
|
|
775
|
-
aria-hidden=${hasHelpText ? "false" : "true"}
|
|
776
|
-
>
|
|
777
|
-
<slot name="help-text">${this.helpText}</slot>
|
|
778
|
-
</div>
|
|
779
|
-
</div>
|
|
780
|
-
`;
|
|
781
|
-
}
|
|
782
|
-
};
|
|
783
|
-
CwDatePicker.styles = [component_styles_default, form_control_styles_default, date_picker_styles_default];
|
|
784
|
-
CwDatePicker.dependencies = {
|
|
785
|
-
"cw-icon": CwIcon,
|
|
786
|
-
"cw-icon-button": CwIconButton,
|
|
787
|
-
"cw-popup": CwPopup
|
|
788
|
-
};
|
|
789
|
-
__decorateClass([
|
|
790
|
-
query(".date-picker")
|
|
791
|
-
], CwDatePicker.prototype, "popup", 2);
|
|
792
|
-
__decorateClass([
|
|
793
|
-
query(".date-picker__combobox")
|
|
794
|
-
], CwDatePicker.prototype, "combobox", 2);
|
|
795
|
-
__decorateClass([
|
|
796
|
-
query(".date-picker__display-input")
|
|
797
|
-
], CwDatePicker.prototype, "displayInput", 2);
|
|
798
|
-
__decorateClass([
|
|
799
|
-
query(".date-picker__value-input")
|
|
800
|
-
], CwDatePicker.prototype, "valueInput", 2);
|
|
801
|
-
__decorateClass([
|
|
802
|
-
query(".date-picker__calendar")
|
|
803
|
-
], CwDatePicker.prototype, "calendar", 2);
|
|
804
|
-
__decorateClass([
|
|
805
|
-
state()
|
|
806
|
-
], CwDatePicker.prototype, "hasFocus", 2);
|
|
807
|
-
__decorateClass([
|
|
808
|
-
state()
|
|
809
|
-
], CwDatePicker.prototype, "focusedDate", 2);
|
|
810
|
-
__decorateClass([
|
|
811
|
-
state()
|
|
812
|
-
], CwDatePicker.prototype, "valueHasChanged", 2);
|
|
813
|
-
__decorateClass([
|
|
814
|
-
property()
|
|
815
|
-
], CwDatePicker.prototype, "name", 2);
|
|
816
|
-
__decorateClass([
|
|
817
|
-
state()
|
|
818
|
-
], CwDatePicker.prototype, "value", 1);
|
|
819
|
-
__decorateClass([
|
|
820
|
-
property({ attribute: "value" })
|
|
821
|
-
], CwDatePicker.prototype, "defaultValue", 2);
|
|
822
|
-
__decorateClass([
|
|
823
|
-
property()
|
|
824
|
-
], CwDatePicker.prototype, "min", 2);
|
|
825
|
-
__decorateClass([
|
|
826
|
-
property()
|
|
827
|
-
], CwDatePicker.prototype, "max", 2);
|
|
828
|
-
__decorateClass([
|
|
829
|
-
property({ attribute: "first-day-of-week", type: Number })
|
|
830
|
-
], CwDatePicker.prototype, "firstDayOfWeek", 2);
|
|
831
|
-
__decorateClass([
|
|
832
|
-
property({ reflect: true })
|
|
833
|
-
], CwDatePicker.prototype, "size", 2);
|
|
834
|
-
__decorateClass([
|
|
835
|
-
property()
|
|
836
|
-
], CwDatePicker.prototype, "placeholder", 2);
|
|
837
|
-
__decorateClass([
|
|
838
|
-
property({ type: Boolean, reflect: true })
|
|
839
|
-
], CwDatePicker.prototype, "disabled", 2);
|
|
840
|
-
__decorateClass([
|
|
841
|
-
property({ type: Boolean })
|
|
842
|
-
], CwDatePicker.prototype, "clearable", 2);
|
|
843
|
-
__decorateClass([
|
|
844
|
-
property({ type: Boolean, reflect: true })
|
|
845
|
-
], CwDatePicker.prototype, "open", 2);
|
|
846
|
-
__decorateClass([
|
|
847
|
-
property({ type: Boolean })
|
|
848
|
-
], CwDatePicker.prototype, "hoist", 2);
|
|
849
|
-
__decorateClass([
|
|
850
|
-
property({ type: Boolean, reflect: true })
|
|
851
|
-
], CwDatePicker.prototype, "filled", 2);
|
|
852
|
-
__decorateClass([
|
|
853
|
-
property({ type: Boolean, reflect: true })
|
|
854
|
-
], CwDatePicker.prototype, "pill", 2);
|
|
855
|
-
__decorateClass([
|
|
856
|
-
property()
|
|
857
|
-
], CwDatePicker.prototype, "label", 2);
|
|
858
|
-
__decorateClass([
|
|
859
|
-
property({ reflect: true })
|
|
860
|
-
], CwDatePicker.prototype, "placement", 2);
|
|
861
|
-
__decorateClass([
|
|
862
|
-
property({ attribute: "help-text" })
|
|
863
|
-
], CwDatePicker.prototype, "helpText", 2);
|
|
864
|
-
__decorateClass([
|
|
865
|
-
property({ reflect: true })
|
|
866
|
-
], CwDatePicker.prototype, "form", 2);
|
|
867
|
-
__decorateClass([
|
|
868
|
-
property({ type: Boolean, reflect: true })
|
|
869
|
-
], CwDatePicker.prototype, "required", 2);
|
|
870
|
-
__decorateClass([
|
|
871
|
-
watch("disabled", { waitUntilFirstUpdate: true })
|
|
872
|
-
], CwDatePicker.prototype, "handleDisabledChange", 1);
|
|
873
|
-
__decorateClass([
|
|
874
|
-
watch(["defaultValue", "value"], { waitUntilFirstUpdate: true })
|
|
875
|
-
], CwDatePicker.prototype, "handleValueChange", 1);
|
|
876
|
-
__decorateClass([
|
|
877
|
-
watch("open", { waitUntilFirstUpdate: true })
|
|
878
|
-
], CwDatePicker.prototype, "handleOpenChange", 1);
|
|
879
|
-
setDefaultAnimation("date-picker.show", {
|
|
880
|
-
keyframes: [
|
|
881
|
-
{ opacity: 0, scale: 0.9 },
|
|
882
|
-
{ opacity: 1, scale: 1 }
|
|
883
|
-
],
|
|
884
|
-
options: { duration: 100, easing: "ease" }
|
|
885
|
-
});
|
|
886
|
-
setDefaultAnimation("date-picker.hide", {
|
|
887
|
-
keyframes: [
|
|
888
|
-
{ opacity: 1, scale: 1 },
|
|
889
|
-
{ opacity: 0, scale: 0.9 }
|
|
890
|
-
],
|
|
891
|
-
options: { duration: 100, easing: "ease" }
|
|
892
|
-
});
|
|
893
|
-
|
|
894
|
-
export {
|
|
895
|
-
CwDatePicker
|
|
896
|
-
};
|