@cordwainer/cw-elements 1.2.3 → 1.3.0-alpha.1
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.25HC2TNX.js +113 -0
- package/cdn/chunks/chunk.2KVDB3GS.js +186 -0
- package/cdn/chunks/chunk.34HPBSDA.js +11 -0
- package/cdn/chunks/chunk.35R4VUT2.js +21 -0
- package/cdn/chunks/chunk.36WD7XXM.js +147 -0
- package/cdn/chunks/chunk.3B2I6H6O.js +153 -0
- package/cdn/chunks/chunk.3BNKKZRC.js +11 -0
- package/cdn/chunks/chunk.3SBB34SH.js +11 -0
- package/cdn/chunks/chunk.3TFHILX5.js +25 -0
- package/cdn/chunks/chunk.3WY5UV4F.js +68 -0
- package/cdn/chunks/chunk.3ZEBFGMU.js +218 -0
- package/cdn/chunks/chunk.43Y4C6GV.js +29 -0
- package/cdn/chunks/chunk.4K4GPXQ6.js +67 -0
- package/cdn/chunks/chunk.4NAW3OK6.js +28 -0
- package/cdn/chunks/chunk.4PDN26IB.js +21 -0
- package/cdn/chunks/chunk.4VYBE7JV.js +11 -0
- package/cdn/chunks/chunk.55EOWGK7.js +24 -0
- package/cdn/chunks/chunk.5CBYJU7J.js +402 -0
- package/cdn/chunks/chunk.5EPARVAX.js +103 -0
- package/cdn/chunks/chunk.5G4WJTTM.js +21 -0
- package/cdn/chunks/chunk.5ICRUTWX.js +1990 -0
- package/cdn/chunks/chunk.5KLYF4UR.js +25 -0
- package/cdn/chunks/chunk.5NTO4ADB.js +21 -0
- package/cdn/chunks/chunk.5NXWAE6N.js +11 -0
- package/cdn/chunks/chunk.5TYLDWFE.js +29 -0
- package/cdn/chunks/chunk.663SYEXM.js +27 -0
- package/cdn/chunks/chunk.6ABNF3XX.js +33 -0
- package/cdn/chunks/chunk.6ACFVJIP.js +24 -0
- package/cdn/chunks/chunk.6BKROYI5.js +236 -0
- package/cdn/chunks/chunk.6VYMRJ5O.js +21 -0
- package/cdn/chunks/chunk.725PEUUS.js +21 -0
- package/cdn/chunks/chunk.75EFGFPQ.js +11 -0
- package/cdn/chunks/chunk.76CQI3EP.js +11 -0
- package/cdn/chunks/chunk.76LE24OF.js +120 -0
- package/cdn/chunks/chunk.7BYEDYOU.js +49 -0
- package/cdn/chunks/chunk.7XZ3Z5SS.js +25 -0
- package/cdn/chunks/chunk.A7UQKMR4.js +299 -0
- package/cdn/chunks/chunk.AFEQNT24.js +11 -0
- package/cdn/chunks/chunk.AHPAS322.js +56 -0
- package/cdn/chunks/chunk.AOZ7HEXC.js +11 -0
- package/cdn/chunks/chunk.AQA4AEJV.js +11 -0
- package/cdn/chunks/chunk.AQRXNCPR.js +24 -0
- package/cdn/chunks/chunk.AVFM4W6N.js +279 -0
- package/cdn/chunks/chunk.AWV2REMY.js +821 -0
- package/cdn/chunks/chunk.AYLSHETT.js +82 -0
- package/cdn/chunks/chunk.AZ74HJ56.js +21 -0
- package/cdn/chunks/chunk.AZIGJB6D.js +26 -0
- package/cdn/chunks/chunk.BDO27C2F.js +50 -0
- package/cdn/chunks/chunk.BFNUT3HZ.js +346 -0
- package/cdn/chunks/chunk.BOSGCMRO.js +26 -0
- package/cdn/chunks/chunk.BR6H6TKN.js +27 -0
- package/cdn/chunks/chunk.BZHO4PBI.js +84 -0
- package/cdn/chunks/chunk.C5ORLKR6.js +27 -0
- package/cdn/chunks/chunk.CCDQRK2F.js +21 -0
- package/cdn/chunks/chunk.CDQK3ZAN.js +11 -0
- package/cdn/chunks/chunk.CLSIJLPG.js +25 -0
- package/cdn/chunks/chunk.CS24FIPV.js +21 -0
- package/cdn/chunks/chunk.CUS2KS6G.js +11 -0
- package/cdn/chunks/chunk.CWOMG6XW.js +33 -0
- package/cdn/chunks/chunk.CXKRHPS3.js +24 -0
- package/cdn/chunks/chunk.CY4JWIVB.js +844 -0
- package/cdn/chunks/chunk.D2L5BZWI.js +11 -0
- package/cdn/chunks/chunk.DENJEQJ7.js +11 -0
- package/cdn/chunks/chunk.DO5JU7WR.js +16 -0
- package/cdn/chunks/chunk.DQHKJW6N.js +21 -0
- package/cdn/chunks/chunk.DRVXZJF3.js +11 -0
- package/cdn/chunks/chunk.DTYA6CQM.js +11 -0
- package/cdn/chunks/chunk.DWGHSRHI.js +218 -0
- package/cdn/chunks/chunk.E342SEX2.js +120 -0
- package/cdn/chunks/chunk.EYSJPUHK.js +49 -0
- package/cdn/chunks/chunk.F22SWSDH.js +27 -0
- package/cdn/chunks/chunk.F4UNXDJD.js +21 -0
- package/cdn/chunks/chunk.F7OG5JD6.js +11 -0
- package/cdn/chunks/chunk.FAZKZNDK.js +28 -0
- package/cdn/chunks/chunk.FHT4QAN7.js +21 -0
- package/cdn/chunks/chunk.FHYWLZZU.js +21 -0
- package/cdn/chunks/chunk.FJRLQBA7.js +11 -0
- package/cdn/chunks/chunk.FUQ2ZDNI.js +11 -0
- package/cdn/chunks/chunk.FWVJUBAE.js +11 -0
- package/cdn/chunks/chunk.G2BW7MR4.js +11 -0
- package/cdn/chunks/chunk.G3UW5CXJ.js +142 -0
- package/cdn/chunks/chunk.G7AE5CNU.js +127 -0
- package/cdn/chunks/chunk.GMYZSXMF.js +11 -0
- package/cdn/chunks/chunk.GT7BIDMW.js +11 -0
- package/cdn/chunks/chunk.GWJDEHLP.js +11 -0
- package/cdn/chunks/chunk.H4VA4XLS.js +297 -0
- package/cdn/chunks/chunk.HGD5NS2E.js +11 -0
- package/cdn/chunks/chunk.HTQRANNA.js +11 -0
- package/cdn/chunks/chunk.HXY4Y6R7.js +50 -0
- package/cdn/chunks/chunk.HZH4JGE7.js +25 -0
- package/cdn/chunks/chunk.I3W5I4J5.js +36 -0
- package/cdn/chunks/chunk.I6PAUBOR.js +11 -0
- package/cdn/chunks/chunk.I6XHF23Y.js +267 -0
- package/cdn/chunks/chunk.IEMP3YX7.js +24 -0
- package/cdn/chunks/chunk.IGJFAKDZ.js +27 -0
- package/cdn/chunks/chunk.IHDISX7L.js +292 -0
- package/cdn/chunks/chunk.IIISH2LC.js +11 -0
- package/cdn/chunks/chunk.IKNMXF6V.js +455 -0
- package/cdn/chunks/chunk.IQIMMSVX.js +114 -0
- package/cdn/chunks/chunk.IQSMFQMU.js +25 -0
- package/cdn/chunks/chunk.ITGKRJLW.js +216 -0
- package/cdn/chunks/chunk.IYCBDWMJ.js +11 -0
- package/cdn/chunks/chunk.IYZX2A4Y.js +11 -0
- package/cdn/chunks/chunk.JA4DEPYX.js +11 -0
- package/cdn/chunks/chunk.JAPWXLC7.js +11 -0
- package/cdn/chunks/chunk.JGKL4HCP.js +378 -0
- package/cdn/chunks/chunk.JHNOPOOW.js +969 -0
- package/cdn/chunks/chunk.JKUKZAIG.js +11 -0
- package/cdn/chunks/chunk.JOA42MIF.js +95 -0
- package/cdn/chunks/chunk.JPDT5M4J.js +25 -0
- package/cdn/chunks/chunk.JSYAC6FV.js +11 -0
- package/cdn/chunks/chunk.KPQAAY6W.js +24 -0
- package/cdn/chunks/chunk.KS6KQUFW.js +574 -0
- package/cdn/chunks/chunk.KUIP5OFB.js +158 -0
- package/cdn/chunks/chunk.KXOHYTZG.js +1925 -0
- package/cdn/chunks/chunk.KXQ47DFE.js +75 -0
- package/cdn/chunks/chunk.KY6LWMAI.js +24 -0
- package/cdn/chunks/chunk.L4NRGK6Y.js +24 -0
- package/cdn/chunks/chunk.L6KFDSL6.js +122 -0
- package/cdn/chunks/chunk.L7HKK6HO.js +24 -0
- package/cdn/chunks/chunk.LWQIUDKF.js +11 -0
- package/cdn/chunks/chunk.M3GEZ7UC.js +63 -0
- package/cdn/chunks/chunk.M73T25KG.js +135 -0
- package/cdn/chunks/chunk.MG5GOYVO.js +11 -0
- package/cdn/chunks/chunk.MTBWWDRM.js +87 -0
- package/cdn/chunks/chunk.MXR7SE2S.js +11 -0
- package/cdn/chunks/chunk.MY6RFJNR.js +314 -0
- package/cdn/chunks/chunk.MZJMZIWX.js +11 -0
- package/cdn/chunks/chunk.N2UZJMC5.js +11 -0
- package/cdn/chunks/chunk.N3CDMXUS.js +11 -0
- package/cdn/chunks/chunk.NGKGH4WU.js +21 -0
- package/cdn/chunks/chunk.NIBXSKQN.js +28 -0
- package/cdn/chunks/chunk.NLQWXNUN.js +33 -0
- package/cdn/chunks/chunk.NP52EMOC.js +233 -0
- package/cdn/chunks/chunk.NRJRENXP.js +291 -0
- package/cdn/chunks/chunk.NWZYBWST.js +26 -0
- package/cdn/chunks/chunk.NXO7B7YH.js +11 -0
- package/cdn/chunks/chunk.NZ3T2D5G.js +11 -0
- package/cdn/chunks/chunk.NZPOHI3I.js +11 -0
- package/cdn/chunks/chunk.O6GQCEGL.js +93 -0
- package/cdn/chunks/chunk.ODF5BWXM.js +21 -0
- package/cdn/chunks/chunk.OGICRR7X.js +11 -0
- package/cdn/chunks/chunk.OGRFZ52L.js +11 -0
- package/cdn/chunks/chunk.OKP43IGW.js +137 -0
- package/cdn/chunks/chunk.OKUIU27O.js +11 -0
- package/cdn/chunks/chunk.OL4WGM7S.js +24 -0
- package/cdn/chunks/chunk.OQNOYS6X.js +11 -0
- package/cdn/chunks/chunk.OVRV5B3A.js +27 -0
- package/cdn/chunks/chunk.OWS2QLSV.js +499 -0
- package/cdn/chunks/chunk.OZCBAAOA.js +21 -0
- package/cdn/chunks/chunk.PCCWSJ2O.js +21 -0
- package/cdn/chunks/chunk.PLKIFY5H.js +147 -0
- package/cdn/chunks/chunk.PPL67JOV.js +56 -0
- package/cdn/chunks/chunk.PTEZRLQP.js +11 -0
- package/cdn/chunks/chunk.PTYGQ7ZB.js +11 -0
- package/cdn/chunks/chunk.PW7HCE7U.js +24 -0
- package/cdn/chunks/chunk.PYONQE2S.js +21 -0
- package/cdn/chunks/chunk.PYU57BWN.js +21 -0
- package/cdn/chunks/chunk.Q2DSJ2BM.js +11 -0
- package/cdn/chunks/chunk.Q3UNKI7R.js +21 -0
- package/cdn/chunks/chunk.Q7CNVANF.js +11 -0
- package/cdn/chunks/chunk.QIFA3KY7.js +11 -0
- package/cdn/chunks/chunk.QKYCMJFP.js +24 -0
- package/cdn/chunks/chunk.QPATQWD7.js +11 -0
- package/cdn/chunks/chunk.QUTMUPOY.js +11 -0
- package/cdn/chunks/chunk.R55LTCNM.js +97 -0
- package/cdn/chunks/chunk.RBX3DUMR.js +174 -0
- package/cdn/chunks/chunk.RG3YG3GV.js +25 -0
- package/cdn/chunks/chunk.RHXL3QRR.js +24 -0
- package/cdn/chunks/chunk.RW2TEVKY.js +26 -0
- package/cdn/chunks/chunk.SAHNSFLV.js +391 -0
- package/cdn/chunks/chunk.SBOM6WSN.js +73 -0
- package/cdn/chunks/chunk.TBCUDDWG.js +385 -0
- package/cdn/chunks/chunk.TEP7XNVE.js +11 -0
- package/cdn/chunks/chunk.TMEAO2OG.js +79 -0
- package/cdn/chunks/chunk.TOVMVKDL.js +255 -0
- package/cdn/chunks/chunk.TVFGC6CM.js +11 -0
- package/cdn/chunks/chunk.TXSWUFZ3.js +11 -0
- package/cdn/chunks/chunk.TYQ7ZMBW.js +24 -0
- package/cdn/chunks/chunk.U3Z423K2.js +11 -0
- package/cdn/chunks/chunk.UF7A72JX.js +11 -0
- package/cdn/chunks/chunk.UGJSCMRG.js +29 -0
- package/cdn/chunks/chunk.UQ2DOY26.js +42 -0
- package/cdn/chunks/chunk.V2TFR3DD.js +11 -0
- package/cdn/chunks/chunk.V6CDFEOP.js +11 -0
- package/cdn/chunks/chunk.VDHDE7LM.js +205 -0
- package/cdn/chunks/chunk.VL2ZMD4X.js +77 -0
- package/cdn/chunks/chunk.VPJPF5P6.js +27 -0
- package/cdn/chunks/chunk.VVHFNAY7.js +11 -0
- package/cdn/chunks/chunk.VZ7LRB2U.js +197 -0
- package/cdn/chunks/chunk.W7JFXHIS.js +336 -0
- package/cdn/chunks/chunk.WHDHDJDE.js +11 -0
- package/cdn/chunks/chunk.WOGEMA6X.js +33 -0
- package/cdn/chunks/chunk.X2JJRHAH.js +724 -0
- package/cdn/chunks/chunk.X3J7EYYG.js +21 -0
- package/cdn/chunks/chunk.X3LSISEE.js +29 -0
- package/cdn/chunks/chunk.XCO3IFMI.js +11 -0
- package/cdn/chunks/chunk.XELVJGWR.js +11 -0
- package/cdn/chunks/chunk.XGCPMOS3.js +21 -0
- package/cdn/chunks/chunk.XICAG7IT.js +302 -0
- package/cdn/chunks/chunk.XIIPR36B.js +44 -0
- package/cdn/chunks/chunk.XJUUYEA5.js +28 -0
- package/cdn/chunks/chunk.XM3PHTJA.js +904 -0
- package/cdn/chunks/chunk.Y2BWUMNR.js +11 -0
- package/cdn/chunks/chunk.Y2XG2IOB.js +114 -0
- package/cdn/chunks/chunk.Y3ND3X6R.js +28 -0
- package/cdn/chunks/chunk.YB5XWX2N.js +11 -0
- package/cdn/chunks/chunk.YSL3YDFJ.js +79 -0
- package/cdn/chunks/chunk.Z5ZS2BBT.js +25 -0
- package/cdn/chunks/chunk.Z62K6DFZ.js +28 -0
- package/cdn/chunks/chunk.Z6ZIZS2Y.js +21 -0
- package/cdn/chunks/chunk.ZKSMCS2T.js +367 -0
- package/cdn/chunks/chunk.ZSVDAYLS.js +24 -0
- package/cdn/chunks/chunk.ZWDPSLNT.js +11 -0
- package/cdn/chunks/chunk.ZZTG2S7G.js +21 -0
- package/cdn/components/alert/alert.component.js +8 -8
- package/cdn/components/alert/alert.js +9 -9
- package/cdn/components/animated-image/animated-image.component.js +5 -5
- package/cdn/components/animated-image/animated-image.js +6 -6
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +5 -5
- package/cdn/components/avatar/avatar.js +6 -6
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +7 -7
- package/cdn/components/breadcrumb/breadcrumb.js +8 -8
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +8 -8
- package/cdn/components/button/button.js +9 -9
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +7 -7
- package/cdn/components/carousel/carousel.js +8 -8
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +5 -5
- package/cdn/components/checkbox/checkbox.js +6 -6
- package/cdn/components/color-picker/color-picker.component.js +14 -14
- package/cdn/components/color-picker/color-picker.js +15 -15
- package/cdn/components/combobox/combobox.component.js +12 -12
- package/cdn/components/combobox/combobox.js +13 -13
- package/cdn/components/copy-button/copy-button.component.js +9 -9
- package/cdn/components/copy-button/copy-button.js +10 -10
- package/cdn/components/data-table/data-table-column.component.js +2 -2
- package/cdn/components/data-table/data-table-column.js +3 -3
- package/cdn/components/data-table/data-table.component.d.ts +3 -0
- package/cdn/components/data-table/data-table.component.js +11 -10
- package/cdn/components/data-table/data-table.js +12 -11
- package/cdn/components/data-table/data-table.styles.js +1 -1
- package/cdn/components/data-table/define/cw-data-table-column.js +2 -2
- package/cdn/components/data-table-column/data-table-column.js +3 -3
- package/cdn/components/date-picker/date-picker.component.js +9 -9
- package/cdn/components/date-picker/date-picker.js +10 -10
- package/cdn/components/details/details.component.js +7 -7
- package/cdn/components/details/details.js +8 -8
- package/cdn/components/dialog/dialog.component.js +8 -8
- package/cdn/components/dialog/dialog.js +9 -9
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +8 -8
- package/cdn/components/drawer/drawer.js +9 -9
- package/cdn/components/dropdown/dropdown.component.js +5 -5
- package/cdn/components/dropdown/dropdown.js +6 -6
- package/cdn/components/format-bytes/format-bytes.component.js +4 -4
- package/cdn/components/format-bytes/format-bytes.js +5 -5
- package/cdn/components/format-date/format-date.component.js +4 -4
- package/cdn/components/format-date/format-date.js +5 -5
- package/cdn/components/format-number/format-number.component.js +4 -4
- package/cdn/components/format-number/format-number.js +5 -5
- package/cdn/components/icon/icon.component.js +4 -4
- package/cdn/components/icon/icon.js +5 -5
- package/cdn/components/icon/library.js +2 -2
- package/cdn/components/icon/library.system.js +1 -1
- package/cdn/components/icon-button/icon-button.component.js +5 -5
- package/cdn/components/icon-button/icon-button.js +6 -6
- package/cdn/components/image-comparer/image-comparer.component.js +7 -7
- package/cdn/components/image-comparer/image-comparer.js +8 -8
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +7 -7
- package/cdn/components/input/input.js +8 -8
- package/cdn/components/logo/logo.component.d.ts +43 -0
- package/cdn/components/logo/logo.component.js +16 -0
- package/cdn/components/logo/logo.d.ts +8 -0
- package/cdn/components/logo/logo.js +17 -0
- package/cdn/components/logo/logo.styles.d.ts +2 -0
- package/cdn/components/logo/logo.styles.js +8 -0
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +9 -9
- package/cdn/components/menu-item/menu-item.js +10 -10
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/option/option.component.js +7 -7
- package/cdn/components/option/option.js +8 -8
- package/cdn/components/pagination/pagination.component.js +8 -8
- package/cdn/components/pagination/pagination.js +9 -9
- package/cdn/components/popup/popup.component.js +4 -4
- package/cdn/components/popup/popup.js +5 -5
- package/cdn/components/primary-navigation/primary-navigation.component.d.ts +60 -0
- package/cdn/components/primary-navigation/primary-navigation.component.js +27 -0
- package/cdn/components/primary-navigation/primary-navigation.d.ts +8 -0
- package/cdn/components/primary-navigation/primary-navigation.js +28 -0
- package/cdn/components/primary-navigation/primary-navigation.styles.d.ts +2 -0
- package/cdn/components/primary-navigation/primary-navigation.styles.js +8 -0
- package/cdn/components/primary-navigation-item/primary-navigation-item.component.d.ts +59 -0
- package/cdn/components/primary-navigation-item/primary-navigation-item.component.js +33 -0
- package/cdn/components/primary-navigation-item/primary-navigation-item.d.ts +8 -0
- package/cdn/components/primary-navigation-item/primary-navigation-item.js +34 -0
- package/cdn/components/primary-navigation-item/primary-navigation-item.styles.d.ts +2 -0
- package/cdn/components/primary-navigation-item/primary-navigation-item.styles.js +8 -0
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.component.d.ts +17 -0
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.component.js +11 -0
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.d.ts +8 -0
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.js +12 -0
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.styles.d.ts +2 -0
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.styles.js +8 -0
- package/cdn/components/progress-bar/progress-bar.component.js +4 -4
- package/cdn/components/progress-bar/progress-bar.js +5 -5
- package/cdn/components/progress-ring/progress-ring.component.js +4 -4
- package/cdn/components/progress-ring/progress-ring.js +5 -5
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +5 -5
- package/cdn/components/radio/radio.js +6 -6
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +3 -3
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/range/range.component.js +4 -4
- package/cdn/components/range/range.js +5 -5
- package/cdn/components/rating/rating.component.js +7 -7
- package/cdn/components/rating/rating.js +8 -8
- package/cdn/components/relative-time/relative-time.component.js +4 -4
- package/cdn/components/relative-time/relative-time.js +5 -5
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/select/select.component.js +10 -10
- package/cdn/components/select/select.js +11 -11
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +4 -4
- package/cdn/components/spinner/spinner.js +5 -5
- package/cdn/components/split-panel/split-panel.component.js +4 -4
- package/cdn/components/split-panel/split-panel.js +5 -5
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +8 -8
- package/cdn/components/tab/tab.js +9 -9
- package/cdn/components/tab-group/tab-group.component.js +9 -9
- package/cdn/components/tab-group/tab-group.js +10 -10
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/tag/tag.component.js +8 -8
- package/cdn/components/tag/tag.js +9 -9
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-picker/time-picker.component.js +9 -9
- package/cdn/components/time-picker/time-picker.js +10 -10
- package/cdn/components/tooltip/tooltip.component.js +5 -5
- package/cdn/components/tooltip/tooltip.js +6 -6
- package/cdn/components/tree/tree.component.js +10 -10
- package/cdn/components/tree/tree.js +11 -11
- package/cdn/components/tree-item/tree-item.component.js +9 -9
- package/cdn/components/tree-item/tree-item.js +10 -10
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/custom-elements.json +737 -1
- package/cdn/cw-elements.d.ts +4 -0
- package/cdn/cw-elements.js +195 -170
- package/cdn/internal/host-context-fallback.d.ts +8 -0
- package/cdn/react/alert/index.js +9 -9
- package/cdn/react/animated-image/index.js +6 -6
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +6 -6
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +8 -8
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +9 -9
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +8 -8
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +6 -6
- package/cdn/react/color-picker/index.js +15 -15
- package/cdn/react/combobox/index.js +13 -13
- package/cdn/react/copy-button/index.js +10 -10
- package/cdn/react/data-table/index.js +12 -11
- package/cdn/react/data-table-column/index.js +3 -3
- package/cdn/react/date-picker/index.js +10 -10
- package/cdn/react/details/index.js +8 -8
- package/cdn/react/dialog/index.js +9 -9
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +9 -9
- package/cdn/react/dropdown/index.js +6 -6
- package/cdn/react/format-bytes/index.js +5 -5
- package/cdn/react/format-date/index.js +5 -5
- package/cdn/react/format-number/index.js +5 -5
- package/cdn/react/icon/index.js +5 -5
- package/cdn/react/icon-button/index.js +6 -6
- package/cdn/react/image-comparer/index.js +8 -8
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.d.ts +4 -0
- package/cdn/react/index.js +193 -168
- package/cdn/react/input/index.js +8 -8
- package/cdn/react/logo/index.d.ts +18 -0
- package/cdn/react/logo/index.js +17 -0
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +10 -10
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/option/index.js +8 -8
- package/cdn/react/pagination/index.js +9 -9
- package/cdn/react/popup/index.js +5 -5
- package/cdn/react/primary-navigation/index.d.ts +39 -0
- package/cdn/react/primary-navigation/index.js +28 -0
- package/cdn/react/primary-navigation-item/index.d.ts +40 -0
- package/cdn/react/primary-navigation-item/index.js +34 -0
- package/cdn/react/primary-navigation-menu/index.d.ts +14 -0
- package/cdn/react/primary-navigation-menu/index.js +12 -0
- package/cdn/react/progress-bar/index.js +5 -5
- package/cdn/react/progress-ring/index.js +5 -5
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +6 -6
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/range/index.js +5 -5
- package/cdn/react/rating/index.js +8 -8
- package/cdn/react/relative-time/index.js +5 -5
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/select/index.js +11 -11
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +5 -5
- package/cdn/react/split-panel/index.js +5 -5
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +9 -9
- package/cdn/react/tab-group/index.js +10 -10
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/tag/index.js +9 -9
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/time-picker/index.js +10 -10
- package/cdn/react/tooltip/index.js +6 -6
- package/cdn/react/tree/index.js +11 -11
- package/cdn/react/tree-item/index.js +10 -10
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/translations/da.js +2 -2
- package/cdn/translations/de-ch.js +2 -2
- package/cdn/translations/de.js +2 -2
- package/cdn/translations/en-gb.js +2 -2
- package/cdn/translations/en.js +1 -1
- package/cdn/translations/es.js +3 -2
- package/cdn/translations/fa.js +2 -2
- package/cdn/translations/fr.js +2 -2
- package/cdn/translations/he.js +2 -2
- package/cdn/translations/hu.js +2 -2
- package/cdn/translations/ja.js +2 -2
- package/cdn/translations/nb.js +2 -2
- package/cdn/translations/nl.js +2 -2
- package/cdn/translations/nn.js +2 -2
- package/cdn/translations/pl.js +2 -2
- package/cdn/translations/pt.js +2 -2
- package/cdn/translations/ru.js +2 -2
- package/cdn/translations/sv.js +2 -2
- package/cdn/translations/tr.js +2 -2
- package/cdn/translations/uk.js +2 -2
- package/cdn/translations/zh-cn.js +2 -2
- package/cdn/translations/zh-tw.js +2 -2
- package/cdn/types/vue/index.d.ts +156 -0
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/utilities/localize.d.ts +4 -0
- package/cdn/utilities/localize.js +2 -2
- package/cdn/vscode.html-custom-data.json +123 -0
- package/cdn/web-types.json +285 -1
- package/dist/chunks/chunk.24V5JLSY.js +22 -0
- package/dist/chunks/chunk.25MDAAX7.js +11 -0
- package/dist/chunks/chunk.2H3D3OJG.js +29 -0
- package/dist/chunks/chunk.2IJWIQYP.js +11 -0
- package/dist/chunks/chunk.2NGUOJQ2.js +109 -0
- package/dist/chunks/chunk.2O4KPUYD.js +11 -0
- package/dist/chunks/chunk.2PC4KE4M.js +170 -0
- package/dist/chunks/chunk.2XIMM6GP.js +11 -0
- package/dist/chunks/chunk.32VLMCC4.js +45 -0
- package/dist/chunks/chunk.35EDZZ4U.js +24 -0
- package/dist/chunks/chunk.3J24TNFK.js +82 -0
- package/dist/chunks/chunk.3WHQ6WL7.js +26 -0
- package/dist/chunks/chunk.456GZGXR.js +21 -0
- package/dist/chunks/chunk.46I35JVG.js +11 -0
- package/dist/chunks/chunk.46XEZ73Z.js +11 -0
- package/dist/chunks/chunk.47CTIY27.js +53 -0
- package/dist/chunks/chunk.4AVVOWVX.js +33 -0
- package/dist/chunks/chunk.4KKGULDM.js +75 -0
- package/dist/chunks/chunk.4R2Z3PR2.js +11 -0
- package/dist/chunks/chunk.4WL3YI3O.js +65 -0
- package/dist/chunks/chunk.54ZYAOKB.js +100 -0
- package/dist/chunks/chunk.564J5FVI.js +231 -0
- package/dist/chunks/chunk.5CWGKPUK.js +21 -0
- package/dist/chunks/chunk.5GTO6ATC.js +11 -0
- package/dist/chunks/chunk.5GXIU7UK.js +202 -0
- package/dist/chunks/chunk.5L2Q4NDI.js +259 -0
- package/dist/chunks/chunk.5P7CDNRJ.js +11 -0
- package/dist/chunks/chunk.5PRFL3SZ.js +116 -0
- package/dist/chunks/chunk.5PTFHNC6.js +21 -0
- package/dist/chunks/chunk.5SDTSGQR.js +11 -0
- package/dist/chunks/chunk.5ZPPSILE.js +24 -0
- package/dist/chunks/chunk.63WCUPKC.js +11 -0
- package/dist/chunks/chunk.67DYIAZ4.js +29 -0
- package/dist/chunks/chunk.6A25KQEH.js +11 -0
- package/dist/chunks/chunk.6DNKLOX5.js +397 -0
- package/dist/chunks/chunk.6IRQ4MLQ.js +24 -0
- package/dist/chunks/chunk.6OD3P3GY.js +11 -0
- package/dist/chunks/chunk.6R2MX2II.js +29 -0
- package/dist/chunks/chunk.6RXO67Z3.js +11 -0
- package/dist/chunks/chunk.6TNKOIDC.js +294 -0
- package/dist/chunks/chunk.6WC7EWFU.js +11 -0
- package/dist/chunks/chunk.6YIANGUI.js +24 -0
- package/dist/chunks/chunk.73S5Z2IL.js +63 -0
- package/dist/chunks/chunk.746GMAQ3.js +15 -0
- package/dist/chunks/chunk.7E72G3C2.js +247 -0
- package/dist/chunks/chunk.7F3FLHWU.js +93 -0
- package/dist/chunks/chunk.7HXSMNBI.js +21 -0
- package/dist/chunks/chunk.7N5BSNPL.js +25 -0
- package/dist/chunks/chunk.7PC6U4ZK.js +109 -0
- package/dist/chunks/chunk.7S6GV6HW.js +293 -0
- package/dist/chunks/chunk.7VQDJNZ4.js +24 -0
- package/dist/chunks/chunk.A3NQWEUU.js +138 -0
- package/dist/chunks/chunk.A4A56CXT.js +27 -0
- package/dist/chunks/chunk.AM3AAGTK.js +212 -0
- package/dist/chunks/chunk.ARESZPGS.js +28 -0
- package/dist/chunks/chunk.ARLMYVMZ.js +21 -0
- package/dist/chunks/chunk.AUAEXEBG.js +117 -0
- package/dist/chunks/chunk.AZMW2USQ.js +337 -0
- package/dist/chunks/chunk.AZSINXRG.js +24 -0
- package/dist/chunks/chunk.B2RFSKQC.js +26 -0
- package/dist/chunks/chunk.B4K45YXB.js +25 -0
- package/dist/chunks/chunk.BBZVPAPU.js +21 -0
- package/dist/chunks/chunk.BJRCPJTT.js +85 -0
- package/dist/chunks/chunk.BRSHVZF4.js +24 -0
- package/dist/chunks/chunk.BRULING5.js +274 -0
- package/dist/chunks/chunk.BS5MKC2V.js +28 -0
- package/dist/chunks/chunk.BXM7IW7U.js +11 -0
- package/dist/chunks/chunk.BZB7767D.js +24 -0
- package/dist/chunks/chunk.C5U4L55P.js +192 -0
- package/dist/chunks/chunk.CL3PICXW.js +11 -0
- package/dist/chunks/chunk.CNCMOYJ3.js +59 -0
- package/dist/chunks/chunk.CWEGIW7H.js +11 -0
- package/dist/chunks/chunk.CYBV247K.js +375 -0
- package/dist/chunks/chunk.CYIS2LIK.js +21 -0
- package/dist/chunks/chunk.D7OC7254.js +76 -0
- package/dist/chunks/chunk.DB65HO54.js +11 -0
- package/dist/chunks/chunk.DDILNMIS.js +25 -0
- package/dist/chunks/chunk.DJ47HHDT.js +11 -0
- package/dist/chunks/chunk.DKNFFG5N.js +21 -0
- package/dist/chunks/chunk.DSXHSFND.js +417 -0
- package/dist/chunks/chunk.DUHFQC5S.js +11 -0
- package/dist/chunks/chunk.DXEKWMYK.js +94 -0
- package/dist/chunks/chunk.E5F6IPBT.js +21 -0
- package/dist/chunks/chunk.E5KLQVU6.js +135 -0
- package/dist/chunks/chunk.EDNK7SY6.js +11 -0
- package/dist/chunks/chunk.EPZSIX5O.js +73 -0
- package/dist/chunks/chunk.EVIDG6GS.js +90 -0
- package/dist/chunks/chunk.EVURTA7J.js +50 -0
- package/dist/chunks/chunk.EYMNXHXD.js +227 -0
- package/dist/chunks/chunk.F6IW7SUG.js +28 -0
- package/dist/chunks/chunk.FGLLASPY.js +11 -0
- package/dist/chunks/chunk.FNCCMHFT.js +33 -0
- package/dist/chunks/chunk.FRRK3ONV.js +21 -0
- package/dist/chunks/chunk.GGY6MFM6.js +11 -0
- package/dist/chunks/chunk.GHPJSGNF.js +11 -0
- package/dist/chunks/chunk.GI2EZWPT.js +28 -0
- package/dist/chunks/chunk.GO3Y5OMD.js +11 -0
- package/dist/chunks/chunk.GOTHSXUS.js +11 -0
- package/dist/chunks/chunk.GQOQKYZ5.js +24 -0
- package/dist/chunks/chunk.GYTXGGUB.js +21 -0
- package/dist/chunks/chunk.H5ST3L7Q.js +25 -0
- package/dist/chunks/chunk.HBZROAKX.js +370 -0
- package/dist/chunks/chunk.HWPEN73P.js +550 -0
- package/dist/chunks/chunk.HWQYGFIK.js +21 -0
- package/dist/chunks/chunk.HY3LHQRE.js +11 -0
- package/dist/chunks/chunk.I2XAUDCU.js +25 -0
- package/dist/chunks/chunk.I5QGNKDV.js +11 -0
- package/dist/chunks/chunk.IGUWUPBR.js +384 -0
- package/dist/chunks/chunk.IIT5OLA3.js +11 -0
- package/dist/chunks/chunk.IR6SOYX7.js +67 -0
- package/dist/chunks/chunk.IXHTATEG.js +11 -0
- package/dist/chunks/chunk.IYE53CH6.js +27 -0
- package/dist/chunks/chunk.IYZ2ZODF.js +11 -0
- package/dist/chunks/chunk.JNEAVIDA.js +80 -0
- package/dist/chunks/chunk.KCT44LWB.js +27 -0
- package/dist/chunks/chunk.KG2Q6ZEU.js +24 -0
- package/dist/chunks/chunk.KKAVIJ7F.js +100 -0
- package/dist/chunks/chunk.KLUVQHIC.js +151 -0
- package/dist/chunks/chunk.KQQEEG63.js +315 -0
- package/dist/chunks/chunk.KTKPJPFF.js +21 -0
- package/dist/chunks/chunk.KWS7E2DY.js +25 -0
- package/dist/chunks/chunk.L26CEFTR.js +11 -0
- package/dist/chunks/chunk.L3EOK5SZ.js +119 -0
- package/dist/chunks/chunk.LH7BCCX2.js +11 -0
- package/dist/chunks/chunk.LJ7QTRR3.js +11 -0
- package/dist/chunks/chunk.LV24GA5E.js +837 -0
- package/dist/chunks/chunk.M3GNJW4O.js +448 -0
- package/dist/chunks/chunk.M6LPTVBO.js +11 -0
- package/dist/chunks/chunk.MA4ZXLMA.js +134 -0
- package/dist/chunks/chunk.MASRUHI2.js +11 -0
- package/dist/chunks/chunk.MBEKBBTL.js +11 -0
- package/dist/chunks/chunk.MEMNH575.js +115 -0
- package/dist/chunks/chunk.MH7RJZQS.js +29 -0
- package/dist/chunks/chunk.MRIUGY3Y.js +11 -0
- package/dist/chunks/chunk.MXGNQPCP.js +21 -0
- package/dist/chunks/chunk.N23CSDVQ.js +11 -0
- package/dist/chunks/chunk.N5X6HP3H.js +27 -0
- package/dist/chunks/chunk.NCCNTTVP.js +491 -0
- package/dist/chunks/chunk.ND4VKQAR.js +11 -0
- package/dist/chunks/chunk.NEHR5VYL.js +181 -0
- package/dist/chunks/chunk.O7AMDMYT.js +21 -0
- package/dist/chunks/chunk.O7SVFROZ.js +91 -0
- package/dist/chunks/chunk.OJLUK4YJ.js +11 -0
- package/dist/chunks/chunk.OJNI45LH.js +24 -0
- package/dist/chunks/chunk.OM6CJ7RY.js +21 -0
- package/dist/chunks/chunk.P354YNEK.js +280 -0
- package/dist/chunks/chunk.P7EINVQN.js +949 -0
- package/dist/chunks/chunk.PDPBXHUC.js +47 -0
- package/dist/chunks/chunk.PEORTZKS.js +26 -0
- package/dist/chunks/chunk.PIJXZI4W.js +25 -0
- package/dist/chunks/chunk.PIRLZVAL.js +21 -0
- package/dist/chunks/chunk.PJOP4OO3.js +311 -0
- package/dist/chunks/chunk.PLKIFY5H.js +147 -0
- package/dist/chunks/chunk.PNQA5AXL.js +11 -0
- package/dist/chunks/chunk.Q24JKOGO.js +21 -0
- package/dist/chunks/chunk.Q76AOV4W.js +11 -0
- package/dist/chunks/chunk.QD4NWSGB.js +213 -0
- package/dist/chunks/chunk.QDJMQSR2.js +11 -0
- package/dist/chunks/chunk.QJEYTSGQ.js +11 -0
- package/dist/chunks/chunk.QNBEBQZU.js +11 -0
- package/dist/chunks/chunk.QO6FFSCW.js +11 -0
- package/dist/chunks/chunk.QOBXBQKG.js +27 -0
- package/dist/chunks/chunk.QTMEDT7S.js +27 -0
- package/dist/chunks/chunk.QTU7CGDI.js +34 -0
- package/dist/chunks/chunk.QWWVEOHJ.js +24 -0
- package/dist/chunks/chunk.RTFTWROR.js +33 -0
- package/dist/chunks/chunk.RVGKEHHX.js +22 -0
- package/dist/chunks/chunk.S6C3O4ZK.js +21 -0
- package/dist/chunks/chunk.S73VW3BW.js +21 -0
- package/dist/chunks/chunk.SFCRZSHE.js +11 -0
- package/dist/chunks/chunk.SYV2RXBI.js +75 -0
- package/dist/chunks/chunk.T3YPUGMG.js +45 -0
- package/dist/chunks/chunk.T7HJK4I5.js +896 -0
- package/dist/chunks/chunk.TDLAABKV.js +11 -0
- package/dist/chunks/chunk.THGTTXRL.js +33 -0
- package/dist/chunks/chunk.TSCM7YYI.js +42 -0
- package/dist/chunks/chunk.TY6BUWX3.js +11 -0
- package/dist/chunks/chunk.TYQ7ZMBW.js +24 -0
- package/dist/chunks/chunk.U3E4A4DD.js +11 -0
- package/dist/chunks/chunk.U73BRXUL.js +11 -0
- package/dist/chunks/chunk.UB5YLTZD.js +11 -0
- package/dist/chunks/chunk.UIAV3XAS.js +111 -0
- package/dist/chunks/chunk.ULZE75JH.js +11 -0
- package/dist/chunks/chunk.UW5CYJSJ.js +11 -0
- package/dist/chunks/chunk.V6EL5MTL.js +25 -0
- package/dist/chunks/chunk.VNN6ADT4.js +11 -0
- package/dist/chunks/chunk.VR622E3R.js +126 -0
- package/dist/chunks/chunk.W2WQ63A6.js +11 -0
- package/dist/chunks/chunk.W66MLEV6.js +26 -0
- package/dist/chunks/chunk.WALMX3ZP.js +42 -0
- package/dist/chunks/chunk.WBMJLEWH.js +11 -0
- package/dist/chunks/chunk.WGIVDA4B.js +361 -0
- package/dist/chunks/chunk.WKCCAX7X.js +11 -0
- package/dist/chunks/chunk.XBITRFIS.js +290 -0
- package/dist/chunks/chunk.XIIPR36B.js +44 -0
- package/dist/chunks/chunk.XKSPHC6B.js +11 -0
- package/dist/chunks/chunk.XLSHNTSC.js +21 -0
- package/dist/chunks/chunk.XOXHQ24F.js +11 -0
- package/dist/chunks/chunk.XSUMCUUV.js +813 -0
- package/dist/chunks/chunk.XWG46CFQ.js +11 -0
- package/dist/chunks/chunk.XZR2P4EL.js +11 -0
- package/dist/chunks/chunk.Y27MKK7H.js +11 -0
- package/dist/chunks/chunk.Y3NPADW4.js +28 -0
- package/dist/chunks/chunk.Y5HUVIMJ.js +26 -0
- package/dist/chunks/chunk.Y6KO5DPP.js +11 -0
- package/dist/chunks/chunk.Y7MLK7XY.js +961 -0
- package/dist/chunks/chunk.YD3LMWW2.js +147 -0
- package/dist/chunks/chunk.YYUA6DF2.js +21 -0
- package/dist/chunks/chunk.ZFABPK2P.js +25 -0
- package/dist/chunks/chunk.ZH4GBWQA.js +25 -0
- package/dist/chunks/chunk.ZJCU7ADP.js +53 -0
- package/dist/chunks/chunk.ZMUBKI6T.js +286 -0
- package/dist/chunks/chunk.ZNH7GH4D.js +11 -0
- package/dist/chunks/chunk.ZRSEGYLN.js +21 -0
- package/dist/chunks/chunk.ZSEBJY7D.js +21 -0
- package/dist/chunks/chunk.ZU5BP6F6.js +11 -0
- package/dist/components/alert/alert.component.js +8 -8
- package/dist/components/alert/alert.js +9 -9
- package/dist/components/animated-image/animated-image.component.js +5 -5
- package/dist/components/animated-image/animated-image.js +6 -6
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +5 -5
- package/dist/components/avatar/avatar.js +6 -6
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
- package/dist/components/breadcrumb/breadcrumb.js +8 -8
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +8 -8
- package/dist/components/button/button.js +9 -9
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +7 -7
- package/dist/components/carousel/carousel.js +8 -8
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/color-picker/color-picker.component.js +14 -14
- package/dist/components/color-picker/color-picker.js +15 -15
- package/dist/components/combobox/combobox.component.js +12 -12
- package/dist/components/combobox/combobox.js +13 -13
- package/dist/components/copy-button/copy-button.component.js +9 -9
- package/dist/components/copy-button/copy-button.js +10 -10
- package/dist/components/data-table/data-table-column.component.js +2 -2
- package/dist/components/data-table/data-table-column.js +3 -3
- package/dist/components/data-table/data-table.component.d.ts +3 -0
- package/dist/components/data-table/data-table.component.js +11 -10
- package/dist/components/data-table/data-table.js +12 -11
- package/dist/components/data-table/data-table.styles.js +1 -1
- package/dist/components/data-table/define/cw-data-table-column.js +2 -2
- package/dist/components/data-table-column/data-table-column.js +3 -3
- package/dist/components/date-picker/date-picker.component.js +9 -9
- package/dist/components/date-picker/date-picker.js +10 -10
- package/dist/components/details/details.component.js +7 -7
- package/dist/components/details/details.js +8 -8
- package/dist/components/dialog/dialog.component.js +8 -8
- package/dist/components/dialog/dialog.js +9 -9
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +8 -8
- package/dist/components/drawer/drawer.js +9 -9
- package/dist/components/dropdown/dropdown.component.js +5 -5
- package/dist/components/dropdown/dropdown.js +6 -6
- package/dist/components/format-bytes/format-bytes.component.js +4 -4
- package/dist/components/format-bytes/format-bytes.js +5 -5
- package/dist/components/format-date/format-date.component.js +4 -4
- package/dist/components/format-date/format-date.js +5 -5
- package/dist/components/format-number/format-number.component.js +4 -4
- package/dist/components/format-number/format-number.js +5 -5
- package/dist/components/icon/icon.component.js +4 -4
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon/library.system.js +1 -1
- package/dist/components/icon-button/icon-button.component.js +5 -5
- package/dist/components/icon-button/icon-button.js +6 -6
- package/dist/components/image-comparer/image-comparer.component.js +7 -7
- package/dist/components/image-comparer/image-comparer.js +8 -8
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +7 -7
- package/dist/components/input/input.js +8 -8
- package/dist/components/logo/logo.component.d.ts +43 -0
- package/dist/components/logo/logo.component.js +13 -0
- package/dist/components/logo/logo.d.ts +8 -0
- package/dist/components/logo/logo.js +14 -0
- package/dist/components/logo/logo.styles.d.ts +2 -0
- package/dist/components/logo/logo.styles.js +7 -0
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +9 -9
- package/dist/components/menu-item/menu-item.js +10 -10
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/option/option.component.js +7 -7
- package/dist/components/option/option.js +8 -8
- package/dist/components/pagination/pagination.component.js +8 -8
- package/dist/components/pagination/pagination.js +9 -9
- package/dist/components/popup/popup.component.js +4 -4
- package/dist/components/popup/popup.js +5 -5
- package/dist/components/primary-navigation/primary-navigation.component.d.ts +60 -0
- package/dist/components/primary-navigation/primary-navigation.component.js +22 -0
- package/dist/components/primary-navigation/primary-navigation.d.ts +8 -0
- package/dist/components/primary-navigation/primary-navigation.js +23 -0
- package/dist/components/primary-navigation/primary-navigation.styles.d.ts +2 -0
- package/dist/components/primary-navigation/primary-navigation.styles.js +7 -0
- package/dist/components/primary-navigation-item/primary-navigation-item.component.d.ts +59 -0
- package/dist/components/primary-navigation-item/primary-navigation-item.component.js +27 -0
- package/dist/components/primary-navigation-item/primary-navigation-item.d.ts +8 -0
- package/dist/components/primary-navigation-item/primary-navigation-item.js +28 -0
- package/dist/components/primary-navigation-item/primary-navigation-item.styles.d.ts +2 -0
- package/dist/components/primary-navigation-item/primary-navigation-item.styles.js +7 -0
- package/dist/components/primary-navigation-menu/primary-navigation-menu.component.d.ts +17 -0
- package/dist/components/primary-navigation-menu/primary-navigation-menu.component.js +10 -0
- package/dist/components/primary-navigation-menu/primary-navigation-menu.d.ts +8 -0
- package/dist/components/primary-navigation-menu/primary-navigation-menu.js +11 -0
- package/dist/components/primary-navigation-menu/primary-navigation-menu.styles.d.ts +2 -0
- package/dist/components/primary-navigation-menu/primary-navigation-menu.styles.js +7 -0
- package/dist/components/progress-bar/progress-bar.component.js +4 -4
- package/dist/components/progress-bar/progress-bar.js +5 -5
- package/dist/components/progress-ring/progress-ring.component.js +4 -4
- package/dist/components/progress-ring/progress-ring.js +5 -5
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +5 -5
- package/dist/components/radio/radio.js +6 -6
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +4 -4
- package/dist/components/range/range.js +5 -5
- package/dist/components/rating/rating.component.js +7 -7
- package/dist/components/rating/rating.js +8 -8
- package/dist/components/relative-time/relative-time.component.js +4 -4
- package/dist/components/relative-time/relative-time.js +5 -5
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/select/select.component.js +10 -10
- package/dist/components/select/select.js +11 -11
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +4 -4
- package/dist/components/spinner/spinner.js +5 -5
- package/dist/components/split-panel/split-panel.component.js +4 -4
- package/dist/components/split-panel/split-panel.js +5 -5
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +8 -8
- package/dist/components/tab/tab.js +9 -9
- package/dist/components/tab-group/tab-group.component.js +9 -9
- package/dist/components/tab-group/tab-group.js +10 -10
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/tag/tag.component.js +8 -8
- package/dist/components/tag/tag.js +9 -9
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-picker/time-picker.component.js +9 -9
- package/dist/components/time-picker/time-picker.js +10 -10
- package/dist/components/tooltip/tooltip.component.js +5 -5
- package/dist/components/tooltip/tooltip.js +6 -6
- package/dist/components/tree/tree.component.js +10 -10
- package/dist/components/tree/tree.js +11 -11
- package/dist/components/tree-item/tree-item.component.js +9 -9
- package/dist/components/tree-item/tree-item.js +10 -10
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +737 -1
- package/dist/cw-elements.d.ts +4 -0
- package/dist/cw-elements.js +195 -170
- package/dist/internal/host-context-fallback.d.ts +8 -0
- package/dist/react/alert/index.js +9 -9
- package/dist/react/animated-image/index.js +6 -6
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +6 -6
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +8 -8
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +9 -9
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +8 -8
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +6 -6
- package/dist/react/color-picker/index.js +15 -15
- package/dist/react/combobox/index.js +13 -13
- package/dist/react/copy-button/index.js +10 -10
- package/dist/react/data-table/index.js +12 -11
- package/dist/react/data-table-column/index.js +3 -3
- package/dist/react/date-picker/index.js +10 -10
- package/dist/react/details/index.js +8 -8
- package/dist/react/dialog/index.js +9 -9
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +9 -9
- package/dist/react/dropdown/index.js +6 -6
- package/dist/react/format-bytes/index.js +5 -5
- package/dist/react/format-date/index.js +5 -5
- package/dist/react/format-number/index.js +5 -5
- package/dist/react/icon/index.js +5 -5
- package/dist/react/icon-button/index.js +6 -6
- package/dist/react/image-comparer/index.js +8 -8
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.d.ts +4 -0
- package/dist/react/index.js +193 -168
- package/dist/react/input/index.js +8 -8
- package/dist/react/logo/index.d.ts +18 -0
- package/dist/react/logo/index.js +14 -0
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +10 -10
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/option/index.js +8 -8
- package/dist/react/pagination/index.js +9 -9
- package/dist/react/popup/index.js +5 -5
- package/dist/react/primary-navigation/index.d.ts +39 -0
- package/dist/react/primary-navigation/index.js +23 -0
- package/dist/react/primary-navigation-item/index.d.ts +40 -0
- package/dist/react/primary-navigation-item/index.js +28 -0
- package/dist/react/primary-navigation-menu/index.d.ts +14 -0
- package/dist/react/primary-navigation-menu/index.js +11 -0
- package/dist/react/progress-bar/index.js +5 -5
- package/dist/react/progress-ring/index.js +5 -5
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +6 -6
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +5 -5
- package/dist/react/rating/index.js +8 -8
- package/dist/react/relative-time/index.js +5 -5
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/select/index.js +11 -11
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +5 -5
- package/dist/react/split-panel/index.js +5 -5
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +9 -9
- package/dist/react/tab-group/index.js +10 -10
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/tag/index.js +9 -9
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/time-picker/index.js +10 -10
- package/dist/react/tooltip/index.js +6 -6
- package/dist/react/tree/index.js +11 -11
- package/dist/react/tree-item/index.js +10 -10
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/translations/da.js +2 -2
- package/dist/translations/de-ch.js +3 -3
- package/dist/translations/de.js +3 -3
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en.js +1 -1
- package/dist/translations/es.js +3 -2
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fr.js +2 -2
- package/dist/translations/he.js +2 -2
- package/dist/translations/hu.js +2 -2
- package/dist/translations/ja.js +2 -2
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nn.js +2 -2
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pt.js +2 -2
- package/dist/translations/ru.js +2 -2
- package/dist/translations/sv.js +2 -2
- package/dist/translations/tr.js +2 -2
- package/dist/translations/uk.js +2 -2
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-tw.js +2 -2
- package/dist/types/vue/index.d.ts +156 -0
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +4 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +123 -0
- package/dist/web-types.json +285 -1
- package/package.json +1 -1
- package/cdn/chunks/chunk.27DWKH6T.js +0 -11
- package/cdn/chunks/chunk.2DDICLPD.js +0 -28
- package/cdn/chunks/chunk.2FFPERIE.js +0 -153
- package/cdn/chunks/chunk.2P4ZZC7W.js +0 -11
- package/cdn/chunks/chunk.2UFSI2MO.js +0 -267
- package/cdn/chunks/chunk.2VN5Z4ZW.js +0 -11
- package/cdn/chunks/chunk.3ALKICKA.js +0 -24
- package/cdn/chunks/chunk.3ITR3YMH.js +0 -16
- package/cdn/chunks/chunk.3MIQW4YV.js +0 -24
- package/cdn/chunks/chunk.472JP4U2.js +0 -21
- package/cdn/chunks/chunk.4AOCDYQ7.js +0 -25
- package/cdn/chunks/chunk.4GH37RHM.js +0 -11
- package/cdn/chunks/chunk.4GJSHMMS.js +0 -11
- package/cdn/chunks/chunk.4HGRVMHE.js +0 -27
- package/cdn/chunks/chunk.4L4ADGYI.js +0 -11
- package/cdn/chunks/chunk.4PYMSCBF.js +0 -11
- package/cdn/chunks/chunk.4SW6W2T3.js +0 -67
- package/cdn/chunks/chunk.4YGPL3O5.js +0 -21
- package/cdn/chunks/chunk.5DDDX6SU.js +0 -11
- package/cdn/chunks/chunk.5NRIGGVD.js +0 -82
- package/cdn/chunks/chunk.5P27I6WT.js +0 -26
- package/cdn/chunks/chunk.5ZFLYA52.js +0 -36
- package/cdn/chunks/chunk.645KM5OC.js +0 -95
- package/cdn/chunks/chunk.657OE6QW.js +0 -11
- package/cdn/chunks/chunk.67VUP6R6.js +0 -49
- package/cdn/chunks/chunk.6FPJ4FPW.js +0 -25
- package/cdn/chunks/chunk.6TG2M3KU.js +0 -11
- package/cdn/chunks/chunk.73WVTKBY.js +0 -1990
- package/cdn/chunks/chunk.74SHEGOG.js +0 -49
- package/cdn/chunks/chunk.76UKF746.js +0 -28
- package/cdn/chunks/chunk.7DXYZUKL.js +0 -33
- package/cdn/chunks/chunk.7ZIVYTTK.js +0 -199
- package/cdn/chunks/chunk.AANGFSUB.js +0 -291
- package/cdn/chunks/chunk.AKBYURFA.js +0 -24
- package/cdn/chunks/chunk.ALSOXEVP.js +0 -11
- package/cdn/chunks/chunk.AOZIM25C.js +0 -363
- package/cdn/chunks/chunk.AQBPTBC5.js +0 -314
- package/cdn/chunks/chunk.AQQFKDOW.js +0 -63
- package/cdn/chunks/chunk.AR7N2GNT.js +0 -11
- package/cdn/chunks/chunk.ARN3CCTG.js +0 -24
- package/cdn/chunks/chunk.AUJND7BT.js +0 -11
- package/cdn/chunks/chunk.AXPW2B6I.js +0 -11
- package/cdn/chunks/chunk.B5XCFP5B.js +0 -25
- package/cdn/chunks/chunk.BNI3PLC7.js +0 -24
- package/cdn/chunks/chunk.BUKC7CMC.js +0 -724
- package/cdn/chunks/chunk.C3OPPFUA.js +0 -336
- package/cdn/chunks/chunk.C4KXBIGP.js +0 -11
- package/cdn/chunks/chunk.C7MOQHUM.js +0 -11
- package/cdn/chunks/chunk.CETTTOVQ.js +0 -29
- package/cdn/chunks/chunk.COBVAO57.js +0 -292
- package/cdn/chunks/chunk.CTZTBJX6.js +0 -25
- package/cdn/chunks/chunk.D4RHZ3VF.js +0 -50
- package/cdn/chunks/chunk.DBO4KLPN.js +0 -21
- package/cdn/chunks/chunk.DCDRLLMM.js +0 -24
- package/cdn/chunks/chunk.DL7KX4XQ.js +0 -11
- package/cdn/chunks/chunk.DLXKA2WE.js +0 -11
- package/cdn/chunks/chunk.DPWUHO5G.js +0 -236
- package/cdn/chunks/chunk.DZIZWO42.js +0 -77
- package/cdn/chunks/chunk.EAYAE4R4.js +0 -142
- package/cdn/chunks/chunk.ELLNTHHF.js +0 -21
- package/cdn/chunks/chunk.EN47T4SP.js +0 -11
- package/cdn/chunks/chunk.EOCEWG7C.js +0 -11
- package/cdn/chunks/chunk.ESZSDU54.js +0 -11
- package/cdn/chunks/chunk.EUB4VEZI.js +0 -11
- package/cdn/chunks/chunk.EURODS3L.js +0 -24
- package/cdn/chunks/chunk.EWDXUCUZ.js +0 -21
- package/cdn/chunks/chunk.EZB4OORS.js +0 -21
- package/cdn/chunks/chunk.F4GUMM7Z.js +0 -84
- package/cdn/chunks/chunk.F6DTB5PE.js +0 -28
- package/cdn/chunks/chunk.FAJPJSRZ.js +0 -24
- package/cdn/chunks/chunk.FEDW52Q4.js +0 -11
- package/cdn/chunks/chunk.FFDZMFCK.js +0 -11
- package/cdn/chunks/chunk.FHUJBZLE.js +0 -27
- package/cdn/chunks/chunk.FJ6XPN5Y.js +0 -29
- package/cdn/chunks/chunk.FKKIPZQY.js +0 -11
- package/cdn/chunks/chunk.FN5M275P.js +0 -11
- package/cdn/chunks/chunk.FQWZODEG.js +0 -24
- package/cdn/chunks/chunk.GJS4NFZQ.js +0 -11
- package/cdn/chunks/chunk.GKDT6QDX.js +0 -137
- package/cdn/chunks/chunk.GMTRFL2A.js +0 -11
- package/cdn/chunks/chunk.GP3T2NEF.js +0 -29
- package/cdn/chunks/chunk.GTN47IXP.js +0 -297
- package/cdn/chunks/chunk.GTV3SFZH.js +0 -11
- package/cdn/chunks/chunk.GTXKIR57.js +0 -33
- package/cdn/chunks/chunk.GTZX7PG7.js +0 -11
- package/cdn/chunks/chunk.GUA2R5I7.js +0 -402
- package/cdn/chunks/chunk.GWG3KO7N.js +0 -255
- package/cdn/chunks/chunk.GWQBPWIA.js +0 -33
- package/cdn/chunks/chunk.HD7BS73M.js +0 -11
- package/cdn/chunks/chunk.HDIQVJNT.js +0 -11
- package/cdn/chunks/chunk.HEBUFHZQ.js +0 -11
- package/cdn/chunks/chunk.HFCQVBWC.js +0 -11
- package/cdn/chunks/chunk.HRF64CAP.js +0 -391
- package/cdn/chunks/chunk.I3I6CEYW.js +0 -574
- package/cdn/chunks/chunk.I46LCLLP.js +0 -24
- package/cdn/chunks/chunk.IAHYET3T.js +0 -21
- package/cdn/chunks/chunk.IEN6MHOY.js +0 -24
- package/cdn/chunks/chunk.IUTQYA3C.js +0 -25
- package/cdn/chunks/chunk.J4OZIFDM.js +0 -42
- package/cdn/chunks/chunk.J6B3QIGZ.js +0 -24
- package/cdn/chunks/chunk.K5EH3RMN.js +0 -299
- package/cdn/chunks/chunk.K5MA6C63.js +0 -11
- package/cdn/chunks/chunk.K7HRJYUO.js +0 -24
- package/cdn/chunks/chunk.KAD2F52T.js +0 -844
- package/cdn/chunks/chunk.KFWERZX4.js +0 -158
- package/cdn/chunks/chunk.KKHUHZCF.js +0 -11
- package/cdn/chunks/chunk.KLWOOM7L.js +0 -21
- package/cdn/chunks/chunk.KNIMCNTZ.js +0 -218
- package/cdn/chunks/chunk.KX5VDMEI.js +0 -21
- package/cdn/chunks/chunk.KYYCBJMX.js +0 -11
- package/cdn/chunks/chunk.L6YMQL6L.js +0 -21
- package/cdn/chunks/chunk.LARJ342C.js +0 -29
- package/cdn/chunks/chunk.LE4IQW2L.js +0 -197
- package/cdn/chunks/chunk.LSY6YX4H.js +0 -28
- package/cdn/chunks/chunk.MITK4Y4A.js +0 -97
- package/cdn/chunks/chunk.MKFHQIET.js +0 -21
- package/cdn/chunks/chunk.MVUSKR7C.js +0 -11
- package/cdn/chunks/chunk.MWAGFGKT.js +0 -75
- package/cdn/chunks/chunk.N6MFPWKB.js +0 -25
- package/cdn/chunks/chunk.NCDRUVIZ.js +0 -11
- package/cdn/chunks/chunk.NFVRWEEV.js +0 -113
- package/cdn/chunks/chunk.NY36WSQL.js +0 -11
- package/cdn/chunks/chunk.NYP7QB2C.js +0 -27
- package/cdn/chunks/chunk.O4AEKGPG.js +0 -103
- package/cdn/chunks/chunk.O5SH3R2S.js +0 -499
- package/cdn/chunks/chunk.OAEMXTXE.js +0 -346
- package/cdn/chunks/chunk.OEUG7QY3.js +0 -33
- package/cdn/chunks/chunk.OIINJHKG.js +0 -11
- package/cdn/chunks/chunk.OIQCODSK.js +0 -122
- package/cdn/chunks/chunk.OJPTRK7F.js +0 -11
- package/cdn/chunks/chunk.OJX7VSUJ.js +0 -79
- package/cdn/chunks/chunk.ONTMT5LW.js +0 -11
- package/cdn/chunks/chunk.OX7ATLHD.js +0 -11
- package/cdn/chunks/chunk.P23SGZLF.js +0 -127
- package/cdn/chunks/chunk.P23UHFGK.js +0 -11
- package/cdn/chunks/chunk.PDCLSMMS.js +0 -26
- package/cdn/chunks/chunk.PFOQ6JAV.js +0 -378
- package/cdn/chunks/chunk.PPHSH4CX.js +0 -21
- package/cdn/chunks/chunk.PVWDCFHB.js +0 -25
- package/cdn/chunks/chunk.PZ5C5PLV.js +0 -11
- package/cdn/chunks/chunk.Q66ZEK7K.js +0 -28
- package/cdn/chunks/chunk.QLLO4QPD.js +0 -11
- package/cdn/chunks/chunk.QONVXYG5.js +0 -21
- package/cdn/chunks/chunk.QQLNEH7Q.js +0 -25
- package/cdn/chunks/chunk.QVFSL6NQ.js +0 -11
- package/cdn/chunks/chunk.QW4QMDCV.js +0 -21
- package/cdn/chunks/chunk.QY7D75ZP.js +0 -969
- package/cdn/chunks/chunk.R2NMH67H.js +0 -11
- package/cdn/chunks/chunk.RIGA6ZDJ.js +0 -114
- package/cdn/chunks/chunk.RLJ5SPTY.js +0 -21
- package/cdn/chunks/chunk.RN7BZPQ4.js +0 -44
- package/cdn/chunks/chunk.SIDBRE7F.js +0 -367
- package/cdn/chunks/chunk.SKSHB4FA.js +0 -21
- package/cdn/chunks/chunk.SO6THTVQ.js +0 -11
- package/cdn/chunks/chunk.SY3MSP6Z.js +0 -21
- package/cdn/chunks/chunk.SYCSG742.js +0 -52
- package/cdn/chunks/chunk.T57ACNT3.js +0 -11
- package/cdn/chunks/chunk.TFG2J4TS.js +0 -186
- package/cdn/chunks/chunk.TFGNAFBD.js +0 -11
- package/cdn/chunks/chunk.TMUYFMT3.js +0 -216
- package/cdn/chunks/chunk.TOK4VYF6.js +0 -1925
- package/cdn/chunks/chunk.TVZ5WEQP.js +0 -279
- package/cdn/chunks/chunk.UGWSTXXI.js +0 -11
- package/cdn/chunks/chunk.UMQORM2W.js +0 -11
- package/cdn/chunks/chunk.UPU52UDS.js +0 -21
- package/cdn/chunks/chunk.UTEBD5S7.js +0 -27
- package/cdn/chunks/chunk.V7KENM7T.js +0 -233
- package/cdn/chunks/chunk.V7PVKTVW.js +0 -142
- package/cdn/chunks/chunk.VFGWPTCN.js +0 -11
- package/cdn/chunks/chunk.VQE2DRLS.js +0 -135
- package/cdn/chunks/chunk.VU37Z6RL.js +0 -11
- package/cdn/chunks/chunk.W3YZCA4C.js +0 -11
- package/cdn/chunks/chunk.W6US6GNQ.js +0 -24
- package/cdn/chunks/chunk.WAGONEYI.js +0 -302
- package/cdn/chunks/chunk.WCRO256V.js +0 -26
- package/cdn/chunks/chunk.WF6PWDU3.js +0 -93
- package/cdn/chunks/chunk.WKH2ZOZU.js +0 -25
- package/cdn/chunks/chunk.WNADPE2V.js +0 -21
- package/cdn/chunks/chunk.XCRIXBIS.js +0 -21
- package/cdn/chunks/chunk.XGANYK22.js +0 -120
- package/cdn/chunks/chunk.XQNKEAPY.js +0 -11
- package/cdn/chunks/chunk.XQRBW55Q.js +0 -174
- package/cdn/chunks/chunk.Y3VDNFYF.js +0 -821
- package/cdn/chunks/chunk.YCRBTYTG.js +0 -11
- package/cdn/chunks/chunk.YDURJ65O.js +0 -11
- package/cdn/chunks/chunk.YJOB5B4Q.js +0 -11
- package/cdn/chunks/chunk.YOKPFMB5.js +0 -27
- package/cdn/chunks/chunk.YP3D6CJV.js +0 -73
- package/cdn/chunks/chunk.YQBZBVE3.js +0 -26
- package/cdn/chunks/chunk.YTJW2VG2.js +0 -11
- package/cdn/chunks/chunk.ZFOK3JXZ.js +0 -87
- package/cdn/chunks/chunk.ZFORX3IG.js +0 -21
- package/cdn/chunks/chunk.ZHCMYQ2U.js +0 -21
- package/cdn/chunks/chunk.ZJ7CDAFI.js +0 -120
- package/cdn/chunks/chunk.ZLIKKNJM.js +0 -455
- package/cdn/chunks/chunk.ZNEUG3IK.js +0 -904
- package/cdn/chunks/chunk.ZUPXBXTX.js +0 -11
- package/cdn/chunks/chunk.ZZ7YCEI3.js +0 -11
- package/dist/chunks/chunk.23N4SAMY.js +0 -34
- package/dist/chunks/chunk.2CXXSXIX.js +0 -11
- package/dist/chunks/chunk.2H4HZOD6.js +0 -15
- package/dist/chunks/chunk.2I6PDZ3R.js +0 -11
- package/dist/chunks/chunk.3KEYLNAR.js +0 -11
- package/dist/chunks/chunk.3KXOVRKI.js +0 -80
- package/dist/chunks/chunk.3TYZILKJ.js +0 -315
- package/dist/chunks/chunk.3WFPBVZF.js +0 -25
- package/dist/chunks/chunk.3YY7BARO.js +0 -11
- package/dist/chunks/chunk.4EIVALKT.js +0 -11
- package/dist/chunks/chunk.4IRXF2F4.js +0 -11
- package/dist/chunks/chunk.4RXZVGY3.js +0 -29
- package/dist/chunks/chunk.5BQHFM4W.js +0 -25
- package/dist/chunks/chunk.5CZ7WNV6.js +0 -11
- package/dist/chunks/chunk.5D64KNSO.js +0 -11
- package/dist/chunks/chunk.5HWZYFVQ.js +0 -448
- package/dist/chunks/chunk.5OAIQ7IB.js +0 -29
- package/dist/chunks/chunk.5PHJIWJY.js +0 -21
- package/dist/chunks/chunk.5U4NNYDR.js +0 -11
- package/dist/chunks/chunk.6CA3JTSS.js +0 -290
- package/dist/chunks/chunk.6DDZRALL.js +0 -11
- package/dist/chunks/chunk.6Y7LWTWC.js +0 -22
- package/dist/chunks/chunk.6YJKCUTH.js +0 -24
- package/dist/chunks/chunk.6ZQ3L2JR.js +0 -837
- package/dist/chunks/chunk.7IPNC6N4.js +0 -192
- package/dist/chunks/chunk.7OBNRVTG.js +0 -151
- package/dist/chunks/chunk.7RMULBN7.js +0 -59
- package/dist/chunks/chunk.7YFX6UD5.js +0 -24
- package/dist/chunks/chunk.ACFMG3B2.js +0 -21
- package/dist/chunks/chunk.AID3TGOX.js +0 -21
- package/dist/chunks/chunk.ARDUAB5Q.js +0 -11
- package/dist/chunks/chunk.AUYLSGQO.js +0 -33
- package/dist/chunks/chunk.BN7R6GBX.js +0 -67
- package/dist/chunks/chunk.BNUVSZQZ.js +0 -21
- package/dist/chunks/chunk.BOPYTRGY.js +0 -42
- package/dist/chunks/chunk.BTOJUKXC.js +0 -259
- package/dist/chunks/chunk.BTWNDTCP.js +0 -11
- package/dist/chunks/chunk.C5J4BILB.js +0 -11
- package/dist/chunks/chunk.CCL6GA7T.js +0 -27
- package/dist/chunks/chunk.CEIJBG6Z.js +0 -293
- package/dist/chunks/chunk.CFMVEJY2.js +0 -24
- package/dist/chunks/chunk.CGLGYZBQ.js +0 -21
- package/dist/chunks/chunk.COJHSVW5.js +0 -11
- package/dist/chunks/chunk.CQCVZ3YH.js +0 -11
- package/dist/chunks/chunk.CTWSV766.js +0 -33
- package/dist/chunks/chunk.CVT53LCI.js +0 -63
- package/dist/chunks/chunk.CW6OZ54I.js +0 -813
- package/dist/chunks/chunk.CXJRAFME.js +0 -11
- package/dist/chunks/chunk.CXZ42BCB.js +0 -311
- package/dist/chunks/chunk.D3WZPEZ7.js +0 -24
- package/dist/chunks/chunk.D6RZFAZT.js +0 -28
- package/dist/chunks/chunk.D74ACVEA.js +0 -11
- package/dist/chunks/chunk.DLJ4D6XI.js +0 -45
- package/dist/chunks/chunk.DPDIUYSC.js +0 -417
- package/dist/chunks/chunk.E4LENKUP.js +0 -126
- package/dist/chunks/chunk.E6ZE6XZA.js +0 -361
- package/dist/chunks/chunk.EFPXZPLF.js +0 -25
- package/dist/chunks/chunk.EONAQ3TD.js +0 -75
- package/dist/chunks/chunk.EOOAC2OP.js +0 -24
- package/dist/chunks/chunk.EQY4YMS4.js +0 -491
- package/dist/chunks/chunk.EUI4TRBJ.js +0 -196
- package/dist/chunks/chunk.EXT4JQLR.js +0 -42
- package/dist/chunks/chunk.F5EDU6OE.js +0 -21
- package/dist/chunks/chunk.F6KTOKBY.js +0 -26
- package/dist/chunks/chunk.FBLDFC7P.js +0 -21
- package/dist/chunks/chunk.FE3JZ2VR.js +0 -25
- package/dist/chunks/chunk.FEYZXJOB.js +0 -11
- package/dist/chunks/chunk.FHXXOO7G.js +0 -147
- package/dist/chunks/chunk.FV55SEKJ.js +0 -11
- package/dist/chunks/chunk.FZGFBVSM.js +0 -21
- package/dist/chunks/chunk.G6CMRQ7K.js +0 -11
- package/dist/chunks/chunk.GAYWTLIM.js +0 -353
- package/dist/chunks/chunk.GIAIEH4Y.js +0 -11
- package/dist/chunks/chunk.GMR3NLB6.js +0 -11
- package/dist/chunks/chunk.GRVR5DL2.js +0 -11
- package/dist/chunks/chunk.GSHFSL62.js +0 -45
- package/dist/chunks/chunk.GU5XYVWV.js +0 -397
- package/dist/chunks/chunk.GWI6XHIR.js +0 -21
- package/dist/chunks/chunk.H47NIUSR.js +0 -11
- package/dist/chunks/chunk.HCDRZ3LC.js +0 -11
- package/dist/chunks/chunk.HLR4DDQR.js +0 -24
- package/dist/chunks/chunk.HMFUBDZD.js +0 -337
- package/dist/chunks/chunk.HWZ7TZXA.js +0 -29
- package/dist/chunks/chunk.HXHTA5SF.js +0 -11
- package/dist/chunks/chunk.HXKJACW5.js +0 -21
- package/dist/chunks/chunk.I2KRLKCK.js +0 -28
- package/dist/chunks/chunk.I6AAGNGJ.js +0 -11
- package/dist/chunks/chunk.IGYJFBTO.js +0 -24
- package/dist/chunks/chunk.IK6DMWZC.js +0 -100
- package/dist/chunks/chunk.IQVJDH3V.js +0 -11
- package/dist/chunks/chunk.IR5BKOLA.js +0 -93
- package/dist/chunks/chunk.IRCP3L77.js +0 -24
- package/dist/chunks/chunk.ISKWVDD7.js +0 -25
- package/dist/chunks/chunk.IWKWPOO6.js +0 -286
- package/dist/chunks/chunk.J2MX4VMS.js +0 -294
- package/dist/chunks/chunk.JAJ4RV4L.js +0 -11
- package/dist/chunks/chunk.JBFXIBJH.js +0 -24
- package/dist/chunks/chunk.JBGFES6N.js +0 -11
- package/dist/chunks/chunk.JJEVDLD4.js +0 -280
- package/dist/chunks/chunk.JNM54WIG.js +0 -33
- package/dist/chunks/chunk.JZSXGRVZ.js +0 -90
- package/dist/chunks/chunk.K5G5LLRV.js +0 -11
- package/dist/chunks/chunk.KBXOSUEA.js +0 -11
- package/dist/chunks/chunk.KHZCJT6C.js +0 -11
- package/dist/chunks/chunk.KT4N3HLN.js +0 -181
- package/dist/chunks/chunk.KWAIF557.js +0 -170
- package/dist/chunks/chunk.L75F42ZU.js +0 -21
- package/dist/chunks/chunk.LDZNPU2T.js +0 -75
- package/dist/chunks/chunk.LEIQTV2L.js +0 -82
- package/dist/chunks/chunk.MD5MSAMT.js +0 -117
- package/dist/chunks/chunk.MIYXXMLB.js +0 -25
- package/dist/chunks/chunk.MPJHNR5Z.js +0 -11
- package/dist/chunks/chunk.MXXHCU7O.js +0 -11
- package/dist/chunks/chunk.MZM4L5SM.js +0 -11
- package/dist/chunks/chunk.N5H4L3UV.js +0 -21
- package/dist/chunks/chunk.NC6YOWH4.js +0 -27
- package/dist/chunks/chunk.NCJAEK4J.js +0 -11
- package/dist/chunks/chunk.NL6IHKV2.js +0 -21
- package/dist/chunks/chunk.NMP6U3G2.js +0 -22
- package/dist/chunks/chunk.NPTBUNDK.js +0 -11
- package/dist/chunks/chunk.NVOFMWPG.js +0 -73
- package/dist/chunks/chunk.O4L44QUN.js +0 -24
- package/dist/chunks/chunk.O6HFIWAA.js +0 -21
- package/dist/chunks/chunk.O7TV75SE.js +0 -213
- package/dist/chunks/chunk.OHV2SI2S.js +0 -11
- package/dist/chunks/chunk.OP4OBQAA.js +0 -25
- package/dist/chunks/chunk.P2RQFEMU.js +0 -11
- package/dist/chunks/chunk.P7T7FOE5.js +0 -961
- package/dist/chunks/chunk.PA4JVCSN.js +0 -11
- package/dist/chunks/chunk.PAOBXVAT.js +0 -11
- package/dist/chunks/chunk.PCCJSGYV.js +0 -11
- package/dist/chunks/chunk.PDNMI4RF.js +0 -274
- package/dist/chunks/chunk.PMFK4GLD.js +0 -11
- package/dist/chunks/chunk.PT77KAII.js +0 -25
- package/dist/chunks/chunk.PV2Y6T4G.js +0 -21
- package/dist/chunks/chunk.Q6VIDFKN.js +0 -33
- package/dist/chunks/chunk.QMTDXZSJ.js +0 -116
- package/dist/chunks/chunk.QTC7GAFZ.js +0 -11
- package/dist/chunks/chunk.R5U4J5ZX.js +0 -11
- package/dist/chunks/chunk.RCHVO5BU.js +0 -11
- package/dist/chunks/chunk.RGBGPSJY.js +0 -49
- package/dist/chunks/chunk.RKKW4FV2.js +0 -384
- package/dist/chunks/chunk.RLAVZQMK.js +0 -370
- package/dist/chunks/chunk.RN7BZPQ4.js +0 -44
- package/dist/chunks/chunk.S4TJW5AL.js +0 -21
- package/dist/chunks/chunk.SB7LKQKZ.js +0 -11
- package/dist/chunks/chunk.SILJFXYQ.js +0 -21
- package/dist/chunks/chunk.SJPL5DWG.js +0 -11
- package/dist/chunks/chunk.SJVLRJH4.js +0 -119
- package/dist/chunks/chunk.SXJFWD67.js +0 -21
- package/dist/chunks/chunk.SYRYMRUL.js +0 -231
- package/dist/chunks/chunk.T2VTUW4B.js +0 -227
- package/dist/chunks/chunk.T3GN4DLR.js +0 -50
- package/dist/chunks/chunk.T5JB6BN4.js +0 -26
- package/dist/chunks/chunk.T62FZLC2.js +0 -11
- package/dist/chunks/chunk.TBGGCI6E.js +0 -11
- package/dist/chunks/chunk.TECRUSQH.js +0 -27
- package/dist/chunks/chunk.TQCMER4O.js +0 -21
- package/dist/chunks/chunk.TUH2GJI5.js +0 -21
- package/dist/chunks/chunk.TUPFUUKJ.js +0 -25
- package/dist/chunks/chunk.U4A26HHQ.js +0 -11
- package/dist/chunks/chunk.U62LDBVA.js +0 -111
- package/dist/chunks/chunk.U67V6OSH.js +0 -896
- package/dist/chunks/chunk.U7R5JOFG.js +0 -94
- package/dist/chunks/chunk.UCI2WE4M.js +0 -11
- package/dist/chunks/chunk.UZRLTOEQ.js +0 -247
- package/dist/chunks/chunk.V3THGZWL.js +0 -28
- package/dist/chunks/chunk.V7PVKTVW.js +0 -142
- package/dist/chunks/chunk.VAAGB7RU.js +0 -11
- package/dist/chunks/chunk.VDPMDJGA.js +0 -24
- package/dist/chunks/chunk.VKGTIHMS.js +0 -21
- package/dist/chunks/chunk.VYOVK7BA.js +0 -949
- package/dist/chunks/chunk.WDLDVZW3.js +0 -11
- package/dist/chunks/chunk.WMHX7OZQ.js +0 -26
- package/dist/chunks/chunk.WOYQ5I6F.js +0 -11
- package/dist/chunks/chunk.WSFBE4H4.js +0 -26
- package/dist/chunks/chunk.XCRXZRGV.js +0 -134
- package/dist/chunks/chunk.XFFPNCES.js +0 -115
- package/dist/chunks/chunk.XMY3HVZA.js +0 -11
- package/dist/chunks/chunk.XP4FEI4M.js +0 -11
- package/dist/chunks/chunk.XQF762VL.js +0 -135
- package/dist/chunks/chunk.XQXAJ5FU.js +0 -11
- package/dist/chunks/chunk.XTBOWYQC.js +0 -11
- package/dist/chunks/chunk.XTDWTS2T.js +0 -85
- package/dist/chunks/chunk.XUIFIKTL.js +0 -100
- package/dist/chunks/chunk.XY4WIQPN.js +0 -550
- package/dist/chunks/chunk.XZVQSRZC.js +0 -109
- package/dist/chunks/chunk.YE63MSG4.js +0 -29
- package/dist/chunks/chunk.YFONFUQA.js +0 -21
- package/dist/chunks/chunk.YGOPRZT5.js +0 -28
- package/dist/chunks/chunk.YGVM7SPC.js +0 -11
- package/dist/chunks/chunk.YMKC5AO5.js +0 -11
- package/dist/chunks/chunk.Z5KSQILQ.js +0 -28
- package/dist/chunks/chunk.ZBA5Z7YW.js +0 -11
- package/dist/chunks/chunk.ZMAWTMUV.js +0 -11
- package/dist/chunks/chunk.ZMMF6C2X.js +0 -25
- package/dist/chunks/chunk.ZNTCWYKB.js +0 -24
- package/dist/chunks/chunk.ZYTFF3TR.js +0 -27
- package/dist/chunks/chunk.ZZQ6JNAT.js +0 -91
|
@@ -1,896 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
date_picker_styles_default
|
|
3
|
-
} from "./chunk.YQYPY5UZ.js";
|
|
4
|
-
import {
|
|
5
|
-
CwPopup
|
|
6
|
-
} from "./chunk.DPDIUYSC.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.E4LENKUP.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.2H4HZOD6.js";
|
|
30
|
-
import {
|
|
31
|
-
HasSlotController
|
|
32
|
-
} from "./chunk.BVGZUUCX.js";
|
|
33
|
-
import {
|
|
34
|
-
CwIcon
|
|
35
|
-
} from "./chunk.KT4N3HLN.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.U7R5JOFG.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
|
-
};
|