@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
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
import {
|
|
2
|
+
popup_styles_default
|
|
3
|
+
} from "./chunk.RZ7LFYD5.js";
|
|
4
|
+
import {
|
|
5
|
+
LocalizeController
|
|
6
|
+
} from "./chunk.746GMAQ3.js";
|
|
7
|
+
import {
|
|
8
|
+
component_styles_default
|
|
9
|
+
} from "./chunk.TUVJKY7S.js";
|
|
10
|
+
import {
|
|
11
|
+
CwElement
|
|
12
|
+
} from "./chunk.DXEKWMYK.js";
|
|
13
|
+
import {
|
|
14
|
+
__decorateClass,
|
|
15
|
+
__spreadProps,
|
|
16
|
+
__spreadValues
|
|
17
|
+
} from "./chunk.Q44EX5TP.js";
|
|
18
|
+
|
|
19
|
+
// src/components/popup/popup.component.ts
|
|
20
|
+
import { arrow, autoUpdate, computePosition, flip, offset, platform, shift, size } from "@floating-ui/dom";
|
|
21
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
22
|
+
import { html } from "lit";
|
|
23
|
+
import { offsetParent } from "composed-offset-position";
|
|
24
|
+
import { property, query } from "lit/decorators.js";
|
|
25
|
+
function isVirtualElement(e) {
|
|
26
|
+
return e !== null && typeof e === "object" && "getBoundingClientRect" in e && ("contextElement" in e ? e.contextElement instanceof Element : true);
|
|
27
|
+
}
|
|
28
|
+
var CwPopup = class extends CwElement {
|
|
29
|
+
constructor() {
|
|
30
|
+
super(...arguments);
|
|
31
|
+
this.localize = new LocalizeController(this);
|
|
32
|
+
this.active = false;
|
|
33
|
+
this.placement = "top";
|
|
34
|
+
this.strategy = "absolute";
|
|
35
|
+
this.distance = 0;
|
|
36
|
+
this.skidding = 0;
|
|
37
|
+
this.arrow = false;
|
|
38
|
+
this.arrowPlacement = "anchor";
|
|
39
|
+
this.arrowPadding = 10;
|
|
40
|
+
this.flip = false;
|
|
41
|
+
this.flipFallbackPlacements = "";
|
|
42
|
+
this.flipFallbackStrategy = "best-fit";
|
|
43
|
+
this.flipPadding = 0;
|
|
44
|
+
this.shift = false;
|
|
45
|
+
this.shiftPadding = 0;
|
|
46
|
+
this.autoSizePadding = 0;
|
|
47
|
+
this.hoverBridge = false;
|
|
48
|
+
this.updateHoverBridge = () => {
|
|
49
|
+
if (this.hoverBridge && this.anchorEl) {
|
|
50
|
+
const anchorRect = this.anchorEl.getBoundingClientRect();
|
|
51
|
+
const popupRect = this.popup.getBoundingClientRect();
|
|
52
|
+
const isVertical = this.placement.includes("top") || this.placement.includes("bottom");
|
|
53
|
+
let topLeftX = 0;
|
|
54
|
+
let topLeftY = 0;
|
|
55
|
+
let topRightX = 0;
|
|
56
|
+
let topRightY = 0;
|
|
57
|
+
let bottomLeftX = 0;
|
|
58
|
+
let bottomLeftY = 0;
|
|
59
|
+
let bottomRightX = 0;
|
|
60
|
+
let bottomRightY = 0;
|
|
61
|
+
if (isVertical) {
|
|
62
|
+
if (anchorRect.top < popupRect.top) {
|
|
63
|
+
topLeftX = anchorRect.left;
|
|
64
|
+
topLeftY = anchorRect.bottom;
|
|
65
|
+
topRightX = anchorRect.right;
|
|
66
|
+
topRightY = anchorRect.bottom;
|
|
67
|
+
bottomLeftX = popupRect.left;
|
|
68
|
+
bottomLeftY = popupRect.top;
|
|
69
|
+
bottomRightX = popupRect.right;
|
|
70
|
+
bottomRightY = popupRect.top;
|
|
71
|
+
} else {
|
|
72
|
+
topLeftX = popupRect.left;
|
|
73
|
+
topLeftY = popupRect.bottom;
|
|
74
|
+
topRightX = popupRect.right;
|
|
75
|
+
topRightY = popupRect.bottom;
|
|
76
|
+
bottomLeftX = anchorRect.left;
|
|
77
|
+
bottomLeftY = anchorRect.top;
|
|
78
|
+
bottomRightX = anchorRect.right;
|
|
79
|
+
bottomRightY = anchorRect.top;
|
|
80
|
+
}
|
|
81
|
+
} else {
|
|
82
|
+
if (anchorRect.left < popupRect.left) {
|
|
83
|
+
topLeftX = anchorRect.right;
|
|
84
|
+
topLeftY = anchorRect.top;
|
|
85
|
+
topRightX = popupRect.left;
|
|
86
|
+
topRightY = popupRect.top;
|
|
87
|
+
bottomLeftX = anchorRect.right;
|
|
88
|
+
bottomLeftY = anchorRect.bottom;
|
|
89
|
+
bottomRightX = popupRect.left;
|
|
90
|
+
bottomRightY = popupRect.bottom;
|
|
91
|
+
} else {
|
|
92
|
+
topLeftX = popupRect.right;
|
|
93
|
+
topLeftY = popupRect.top;
|
|
94
|
+
topRightX = anchorRect.left;
|
|
95
|
+
topRightY = anchorRect.top;
|
|
96
|
+
bottomLeftX = popupRect.right;
|
|
97
|
+
bottomLeftY = popupRect.bottom;
|
|
98
|
+
bottomRightX = anchorRect.left;
|
|
99
|
+
bottomRightY = anchorRect.bottom;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
this.style.setProperty("--hover-bridge-top-left-x", `${topLeftX}px`);
|
|
103
|
+
this.style.setProperty("--hover-bridge-top-left-y", `${topLeftY}px`);
|
|
104
|
+
this.style.setProperty("--hover-bridge-top-right-x", `${topRightX}px`);
|
|
105
|
+
this.style.setProperty("--hover-bridge-top-right-y", `${topRightY}px`);
|
|
106
|
+
this.style.setProperty("--hover-bridge-bottom-left-x", `${bottomLeftX}px`);
|
|
107
|
+
this.style.setProperty("--hover-bridge-bottom-left-y", `${bottomLeftY}px`);
|
|
108
|
+
this.style.setProperty("--hover-bridge-bottom-right-x", `${bottomRightX}px`);
|
|
109
|
+
this.style.setProperty("--hover-bridge-bottom-right-y", `${bottomRightY}px`);
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
async connectedCallback() {
|
|
114
|
+
super.connectedCallback();
|
|
115
|
+
await this.updateComplete;
|
|
116
|
+
this.start();
|
|
117
|
+
}
|
|
118
|
+
disconnectedCallback() {
|
|
119
|
+
super.disconnectedCallback();
|
|
120
|
+
this.stop();
|
|
121
|
+
}
|
|
122
|
+
async updated(changedProps) {
|
|
123
|
+
super.updated(changedProps);
|
|
124
|
+
if (changedProps.has("active")) {
|
|
125
|
+
if (this.active) {
|
|
126
|
+
this.start();
|
|
127
|
+
} else {
|
|
128
|
+
this.stop();
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
if (changedProps.has("anchor")) {
|
|
132
|
+
this.handleAnchorChange();
|
|
133
|
+
}
|
|
134
|
+
if (this.active) {
|
|
135
|
+
await this.updateComplete;
|
|
136
|
+
this.reposition();
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
async handleAnchorChange() {
|
|
140
|
+
await this.stop();
|
|
141
|
+
if (this.anchor && typeof this.anchor === "string") {
|
|
142
|
+
const root = this.getRootNode();
|
|
143
|
+
this.anchorEl = root.getElementById(this.anchor);
|
|
144
|
+
} else if (this.anchor instanceof Element || isVirtualElement(this.anchor)) {
|
|
145
|
+
this.anchorEl = this.anchor;
|
|
146
|
+
} else {
|
|
147
|
+
this.anchorEl = this.querySelector('[slot="anchor"]');
|
|
148
|
+
}
|
|
149
|
+
if (this.anchorEl instanceof HTMLSlotElement) {
|
|
150
|
+
this.anchorEl = this.anchorEl.assignedElements({ flatten: true })[0];
|
|
151
|
+
}
|
|
152
|
+
if (this.anchorEl && this.active) {
|
|
153
|
+
this.start();
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
start() {
|
|
157
|
+
if (!this.anchorEl || !this.active) {
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {
|
|
161
|
+
this.reposition();
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
async stop() {
|
|
165
|
+
return new Promise((resolve) => {
|
|
166
|
+
if (this.cleanup) {
|
|
167
|
+
this.cleanup();
|
|
168
|
+
this.cleanup = void 0;
|
|
169
|
+
this.removeAttribute("data-current-placement");
|
|
170
|
+
this.style.removeProperty("--auto-size-available-width");
|
|
171
|
+
this.style.removeProperty("--auto-size-available-height");
|
|
172
|
+
requestAnimationFrame(() => resolve());
|
|
173
|
+
} else {
|
|
174
|
+
resolve();
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
/** Forces the popup to recalculate and reposition itself. */
|
|
179
|
+
reposition() {
|
|
180
|
+
if (!this.active || !this.anchorEl) {
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
const middleware = [
|
|
184
|
+
// The offset middleware goes first
|
|
185
|
+
offset({ mainAxis: this.distance, crossAxis: this.skidding })
|
|
186
|
+
];
|
|
187
|
+
if (this.sync) {
|
|
188
|
+
middleware.push(
|
|
189
|
+
size({
|
|
190
|
+
apply: ({ rects }) => {
|
|
191
|
+
const syncWidth = this.sync === "width" || this.sync === "both";
|
|
192
|
+
const syncHeight = this.sync === "height" || this.sync === "both";
|
|
193
|
+
this.popup.style.width = syncWidth ? `${rects.reference.width}px` : "";
|
|
194
|
+
this.popup.style.height = syncHeight ? `${rects.reference.height}px` : "";
|
|
195
|
+
}
|
|
196
|
+
})
|
|
197
|
+
);
|
|
198
|
+
} else {
|
|
199
|
+
this.popup.style.width = "";
|
|
200
|
+
this.popup.style.height = "";
|
|
201
|
+
}
|
|
202
|
+
if (this.flip) {
|
|
203
|
+
middleware.push(
|
|
204
|
+
flip({
|
|
205
|
+
boundary: this.flipBoundary,
|
|
206
|
+
// @ts-expect-error - We're converting a string attribute to an array here
|
|
207
|
+
fallbackPlacements: this.flipFallbackPlacements,
|
|
208
|
+
fallbackStrategy: this.flipFallbackStrategy === "best-fit" ? "bestFit" : "initialPlacement",
|
|
209
|
+
padding: this.flipPadding
|
|
210
|
+
})
|
|
211
|
+
);
|
|
212
|
+
}
|
|
213
|
+
if (this.shift) {
|
|
214
|
+
middleware.push(
|
|
215
|
+
shift({
|
|
216
|
+
boundary: this.shiftBoundary,
|
|
217
|
+
padding: this.shiftPadding
|
|
218
|
+
})
|
|
219
|
+
);
|
|
220
|
+
}
|
|
221
|
+
if (this.autoSize) {
|
|
222
|
+
middleware.push(
|
|
223
|
+
size({
|
|
224
|
+
boundary: this.autoSizeBoundary,
|
|
225
|
+
padding: this.autoSizePadding,
|
|
226
|
+
apply: ({ availableWidth, availableHeight }) => {
|
|
227
|
+
if (this.autoSize === "vertical" || this.autoSize === "both") {
|
|
228
|
+
this.style.setProperty("--auto-size-available-height", `${availableHeight}px`);
|
|
229
|
+
} else {
|
|
230
|
+
this.style.removeProperty("--auto-size-available-height");
|
|
231
|
+
}
|
|
232
|
+
if (this.autoSize === "horizontal" || this.autoSize === "both") {
|
|
233
|
+
this.style.setProperty("--auto-size-available-width", `${availableWidth}px`);
|
|
234
|
+
} else {
|
|
235
|
+
this.style.removeProperty("--auto-size-available-width");
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
})
|
|
239
|
+
);
|
|
240
|
+
} else {
|
|
241
|
+
this.style.removeProperty("--auto-size-available-width");
|
|
242
|
+
this.style.removeProperty("--auto-size-available-height");
|
|
243
|
+
}
|
|
244
|
+
if (this.arrow) {
|
|
245
|
+
middleware.push(
|
|
246
|
+
arrow({
|
|
247
|
+
element: this.arrowEl,
|
|
248
|
+
padding: this.arrowPadding
|
|
249
|
+
})
|
|
250
|
+
);
|
|
251
|
+
}
|
|
252
|
+
const getOffsetParent = this.strategy === "absolute" ? (element) => platform.getOffsetParent(element, offsetParent) : platform.getOffsetParent;
|
|
253
|
+
computePosition(this.anchorEl, this.popup, {
|
|
254
|
+
placement: this.placement,
|
|
255
|
+
middleware,
|
|
256
|
+
strategy: this.strategy,
|
|
257
|
+
platform: __spreadProps(__spreadValues({}, platform), {
|
|
258
|
+
getOffsetParent
|
|
259
|
+
})
|
|
260
|
+
}).then(({ x, y, middlewareData, placement }) => {
|
|
261
|
+
const isRtl = this.localize.dir() === "rtl";
|
|
262
|
+
const staticSide = { top: "bottom", right: "left", bottom: "top", left: "right" }[placement.split("-")[0]];
|
|
263
|
+
this.setAttribute("data-current-placement", placement);
|
|
264
|
+
Object.assign(this.popup.style, {
|
|
265
|
+
left: `${x}px`,
|
|
266
|
+
top: `${y}px`
|
|
267
|
+
});
|
|
268
|
+
if (this.arrow) {
|
|
269
|
+
const arrowX = middlewareData.arrow.x;
|
|
270
|
+
const arrowY = middlewareData.arrow.y;
|
|
271
|
+
let top = "";
|
|
272
|
+
let right = "";
|
|
273
|
+
let bottom = "";
|
|
274
|
+
let left = "";
|
|
275
|
+
if (this.arrowPlacement === "start") {
|
|
276
|
+
const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
277
|
+
top = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
278
|
+
right = isRtl ? value : "";
|
|
279
|
+
left = isRtl ? "" : value;
|
|
280
|
+
} else if (this.arrowPlacement === "end") {
|
|
281
|
+
const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
282
|
+
right = isRtl ? "" : value;
|
|
283
|
+
left = isRtl ? value : "";
|
|
284
|
+
bottom = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
285
|
+
} else if (this.arrowPlacement === "center") {
|
|
286
|
+
left = typeof arrowX === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
|
|
287
|
+
top = typeof arrowY === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
|
|
288
|
+
} else {
|
|
289
|
+
left = typeof arrowX === "number" ? `${arrowX}px` : "";
|
|
290
|
+
top = typeof arrowY === "number" ? `${arrowY}px` : "";
|
|
291
|
+
}
|
|
292
|
+
Object.assign(this.arrowEl.style, {
|
|
293
|
+
top,
|
|
294
|
+
right,
|
|
295
|
+
bottom,
|
|
296
|
+
left,
|
|
297
|
+
[staticSide]: "calc(var(--arrow-size-diagonal) * -1)"
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
});
|
|
301
|
+
requestAnimationFrame(() => this.updateHoverBridge());
|
|
302
|
+
this.emit("cw-reposition");
|
|
303
|
+
}
|
|
304
|
+
render() {
|
|
305
|
+
return html`
|
|
306
|
+
<slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
|
|
307
|
+
|
|
308
|
+
<span
|
|
309
|
+
part="hover-bridge"
|
|
310
|
+
class=${classMap({
|
|
311
|
+
"popup-hover-bridge": true,
|
|
312
|
+
"popup-hover-bridge--visible": this.hoverBridge && this.active
|
|
313
|
+
})}
|
|
314
|
+
></span>
|
|
315
|
+
|
|
316
|
+
<div
|
|
317
|
+
part="popup"
|
|
318
|
+
class=${classMap({
|
|
319
|
+
popup: true,
|
|
320
|
+
"popup--active": this.active,
|
|
321
|
+
"popup--fixed": this.strategy === "fixed",
|
|
322
|
+
"popup--has-arrow": this.arrow
|
|
323
|
+
})}
|
|
324
|
+
>
|
|
325
|
+
<slot></slot>
|
|
326
|
+
${this.arrow ? html`<div part="arrow" class="popup__arrow" role="presentation"></div>` : ""}
|
|
327
|
+
</div>
|
|
328
|
+
`;
|
|
329
|
+
}
|
|
330
|
+
};
|
|
331
|
+
CwPopup.styles = [component_styles_default, popup_styles_default];
|
|
332
|
+
__decorateClass([
|
|
333
|
+
query(".popup")
|
|
334
|
+
], CwPopup.prototype, "popup", 2);
|
|
335
|
+
__decorateClass([
|
|
336
|
+
query(".popup__arrow")
|
|
337
|
+
], CwPopup.prototype, "arrowEl", 2);
|
|
338
|
+
__decorateClass([
|
|
339
|
+
property()
|
|
340
|
+
], CwPopup.prototype, "anchor", 2);
|
|
341
|
+
__decorateClass([
|
|
342
|
+
property({ type: Boolean, reflect: true })
|
|
343
|
+
], CwPopup.prototype, "active", 2);
|
|
344
|
+
__decorateClass([
|
|
345
|
+
property({ reflect: true })
|
|
346
|
+
], CwPopup.prototype, "placement", 2);
|
|
347
|
+
__decorateClass([
|
|
348
|
+
property({ reflect: true })
|
|
349
|
+
], CwPopup.prototype, "strategy", 2);
|
|
350
|
+
__decorateClass([
|
|
351
|
+
property({ type: Number })
|
|
352
|
+
], CwPopup.prototype, "distance", 2);
|
|
353
|
+
__decorateClass([
|
|
354
|
+
property({ type: Number })
|
|
355
|
+
], CwPopup.prototype, "skidding", 2);
|
|
356
|
+
__decorateClass([
|
|
357
|
+
property({ type: Boolean })
|
|
358
|
+
], CwPopup.prototype, "arrow", 2);
|
|
359
|
+
__decorateClass([
|
|
360
|
+
property({ attribute: "arrow-placement" })
|
|
361
|
+
], CwPopup.prototype, "arrowPlacement", 2);
|
|
362
|
+
__decorateClass([
|
|
363
|
+
property({ attribute: "arrow-padding", type: Number })
|
|
364
|
+
], CwPopup.prototype, "arrowPadding", 2);
|
|
365
|
+
__decorateClass([
|
|
366
|
+
property({ type: Boolean })
|
|
367
|
+
], CwPopup.prototype, "flip", 2);
|
|
368
|
+
__decorateClass([
|
|
369
|
+
property({
|
|
370
|
+
attribute: "flip-fallback-placements",
|
|
371
|
+
converter: {
|
|
372
|
+
fromAttribute: (value) => {
|
|
373
|
+
return value.split(" ").map((p) => p.trim()).filter((p) => p !== "");
|
|
374
|
+
},
|
|
375
|
+
toAttribute: (value) => {
|
|
376
|
+
return value.join(" ");
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
})
|
|
380
|
+
], CwPopup.prototype, "flipFallbackPlacements", 2);
|
|
381
|
+
__decorateClass([
|
|
382
|
+
property({ attribute: "flip-fallback-strategy" })
|
|
383
|
+
], CwPopup.prototype, "flipFallbackStrategy", 2);
|
|
384
|
+
__decorateClass([
|
|
385
|
+
property({ type: Object })
|
|
386
|
+
], CwPopup.prototype, "flipBoundary", 2);
|
|
387
|
+
__decorateClass([
|
|
388
|
+
property({ attribute: "flip-padding", type: Number })
|
|
389
|
+
], CwPopup.prototype, "flipPadding", 2);
|
|
390
|
+
__decorateClass([
|
|
391
|
+
property({ type: Boolean })
|
|
392
|
+
], CwPopup.prototype, "shift", 2);
|
|
393
|
+
__decorateClass([
|
|
394
|
+
property({ type: Object })
|
|
395
|
+
], CwPopup.prototype, "shiftBoundary", 2);
|
|
396
|
+
__decorateClass([
|
|
397
|
+
property({ attribute: "shift-padding", type: Number })
|
|
398
|
+
], CwPopup.prototype, "shiftPadding", 2);
|
|
399
|
+
__decorateClass([
|
|
400
|
+
property({ attribute: "auto-size" })
|
|
401
|
+
], CwPopup.prototype, "autoSize", 2);
|
|
402
|
+
__decorateClass([
|
|
403
|
+
property()
|
|
404
|
+
], CwPopup.prototype, "sync", 2);
|
|
405
|
+
__decorateClass([
|
|
406
|
+
property({ type: Object })
|
|
407
|
+
], CwPopup.prototype, "autoSizeBoundary", 2);
|
|
408
|
+
__decorateClass([
|
|
409
|
+
property({ attribute: "auto-size-padding", type: Number })
|
|
410
|
+
], CwPopup.prototype, "autoSizePadding", 2);
|
|
411
|
+
__decorateClass([
|
|
412
|
+
property({ attribute: "hover-bridge", type: Boolean })
|
|
413
|
+
], CwPopup.prototype, "hoverBridge", 2);
|
|
414
|
+
|
|
415
|
+
export {
|
|
416
|
+
CwPopup
|
|
417
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__decorateClass,
|
|
3
|
+
__privateAdd,
|
|
4
|
+
__privateGet,
|
|
5
|
+
__privateSet,
|
|
6
|
+
__spreadValues
|
|
7
|
+
} from "./chunk.Q44EX5TP.js";
|
|
8
|
+
|
|
9
|
+
// src/internal/cw-element.ts
|
|
10
|
+
import { LitElement } from "lit";
|
|
11
|
+
import { property } from "lit/decorators.js";
|
|
12
|
+
var _hasRecordedInitialProperties;
|
|
13
|
+
var CwElement = class extends LitElement {
|
|
14
|
+
constructor() {
|
|
15
|
+
super();
|
|
16
|
+
__privateAdd(this, _hasRecordedInitialProperties, false);
|
|
17
|
+
// Store the constructor value of all `static properties = {}`
|
|
18
|
+
this.initialReflectedProperties = /* @__PURE__ */ new Map();
|
|
19
|
+
Object.entries(this.constructor.dependencies).forEach(([name, component]) => {
|
|
20
|
+
this.constructor.define(name, component);
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
emit(name, options) {
|
|
24
|
+
const event = new CustomEvent(name, __spreadValues({
|
|
25
|
+
bubbles: true,
|
|
26
|
+
cancelable: false,
|
|
27
|
+
composed: true,
|
|
28
|
+
detail: {}
|
|
29
|
+
}, options));
|
|
30
|
+
this.dispatchEvent(event);
|
|
31
|
+
return event;
|
|
32
|
+
}
|
|
33
|
+
/* eslint-enable */
|
|
34
|
+
static define(name, elementConstructor = this, options = {}) {
|
|
35
|
+
const currentlyRegisteredConstructor = customElements.get(name);
|
|
36
|
+
if (!currentlyRegisteredConstructor) {
|
|
37
|
+
try {
|
|
38
|
+
customElements.define(name, elementConstructor, options);
|
|
39
|
+
} catch (_err) {
|
|
40
|
+
customElements.define(name, class extends elementConstructor {
|
|
41
|
+
}, options);
|
|
42
|
+
}
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
let newVersion = " (unknown version)";
|
|
46
|
+
let existingVersion = newVersion;
|
|
47
|
+
if ("version" in elementConstructor && elementConstructor.version) {
|
|
48
|
+
newVersion = " v" + elementConstructor.version;
|
|
49
|
+
}
|
|
50
|
+
if ("version" in currentlyRegisteredConstructor && currentlyRegisteredConstructor.version) {
|
|
51
|
+
existingVersion = " v" + currentlyRegisteredConstructor.version;
|
|
52
|
+
}
|
|
53
|
+
if (newVersion && existingVersion && newVersion === existingVersion) {
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
console.warn(
|
|
57
|
+
`Attempted to register <${name}>${newVersion}, but <${name}>${existingVersion} has already been registered.`
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
attributeChangedCallback(name, oldValue, newValue) {
|
|
61
|
+
if (!__privateGet(this, _hasRecordedInitialProperties)) {
|
|
62
|
+
this.constructor.elementProperties.forEach((obj, prop) => {
|
|
63
|
+
if (obj.reflect && this[prop] != null) {
|
|
64
|
+
this.initialReflectedProperties.set(prop, this[prop]);
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
__privateSet(this, _hasRecordedInitialProperties, true);
|
|
68
|
+
}
|
|
69
|
+
super.attributeChangedCallback(name, oldValue, newValue);
|
|
70
|
+
}
|
|
71
|
+
willUpdate(changedProperties) {
|
|
72
|
+
super.willUpdate(changedProperties);
|
|
73
|
+
this.initialReflectedProperties.forEach((value, prop) => {
|
|
74
|
+
if (changedProperties.has(prop) && this[prop] == null) {
|
|
75
|
+
this[prop] = value;
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
_hasRecordedInitialProperties = new WeakMap();
|
|
81
|
+
/* eslint-disable */
|
|
82
|
+
// @ts-expect-error This is auto-injected at build time.
|
|
83
|
+
CwElement.version = "1.3.0-alpha.1";
|
|
84
|
+
CwElement.dependencies = {};
|
|
85
|
+
__decorateClass([
|
|
86
|
+
property()
|
|
87
|
+
], CwElement.prototype, "dir", 2);
|
|
88
|
+
__decorateClass([
|
|
89
|
+
property()
|
|
90
|
+
], CwElement.prototype, "lang", 2);
|
|
91
|
+
|
|
92
|
+
export {
|
|
93
|
+
CwElement
|
|
94
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CwBreadcrumbItem
|
|
3
|
+
} from "./chunk.L3EOK5SZ.js";
|
|
4
|
+
|
|
5
|
+
// src/react/breadcrumb-item/index.ts
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { createComponent } from "@lit/react";
|
|
8
|
+
var tagName = "cw-breadcrumb-item";
|
|
9
|
+
CwBreadcrumbItem.define("cw-breadcrumb-item");
|
|
10
|
+
var reactWrapper = createComponent({
|
|
11
|
+
tagName,
|
|
12
|
+
elementClass: CwBreadcrumbItem,
|
|
13
|
+
react: React,
|
|
14
|
+
events: {},
|
|
15
|
+
displayName: "CwBreadcrumbItem"
|
|
16
|
+
});
|
|
17
|
+
var breadcrumb_item_default = reactWrapper;
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
breadcrumb_item_default
|
|
21
|
+
};
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import {
|
|
2
|
+
menu_styles_default
|
|
3
|
+
} from "./chunk.3NY4TZFN.js";
|
|
4
|
+
import {
|
|
5
|
+
component_styles_default
|
|
6
|
+
} from "./chunk.TUVJKY7S.js";
|
|
7
|
+
import {
|
|
8
|
+
CwElement
|
|
9
|
+
} from "./chunk.DXEKWMYK.js";
|
|
10
|
+
import {
|
|
11
|
+
__decorateClass
|
|
12
|
+
} from "./chunk.Q44EX5TP.js";
|
|
13
|
+
|
|
14
|
+
// src/components/menu/menu.component.ts
|
|
15
|
+
import { html } from "lit";
|
|
16
|
+
import { query } from "lit/decorators.js";
|
|
17
|
+
var CwMenu = class extends CwElement {
|
|
18
|
+
connectedCallback() {
|
|
19
|
+
super.connectedCallback();
|
|
20
|
+
this.setAttribute("role", "menu");
|
|
21
|
+
}
|
|
22
|
+
handleClick(event) {
|
|
23
|
+
const menuItemTypes = ["menuitem", "menuitemcheckbox"];
|
|
24
|
+
const composedPath = event.composedPath();
|
|
25
|
+
const target = composedPath.find((el) => {
|
|
26
|
+
var _a;
|
|
27
|
+
return menuItemTypes.includes(((_a = el == null ? void 0 : el.getAttribute) == null ? void 0 : _a.call(el, "role")) || "");
|
|
28
|
+
});
|
|
29
|
+
if (!target) return;
|
|
30
|
+
const closestMenu = composedPath.find((el) => {
|
|
31
|
+
var _a;
|
|
32
|
+
return ((_a = el == null ? void 0 : el.getAttribute) == null ? void 0 : _a.call(el, "role")) === "menu";
|
|
33
|
+
});
|
|
34
|
+
const clickHasSubmenu = closestMenu !== this;
|
|
35
|
+
if (clickHasSubmenu) return;
|
|
36
|
+
const item = target;
|
|
37
|
+
if (item.type === "checkbox") {
|
|
38
|
+
item.checked = !item.checked;
|
|
39
|
+
}
|
|
40
|
+
this.emit("cw-select", { detail: { item } });
|
|
41
|
+
}
|
|
42
|
+
handleKeyDown(event) {
|
|
43
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
44
|
+
const item = this.getCurrentItem();
|
|
45
|
+
event.preventDefault();
|
|
46
|
+
event.stopPropagation();
|
|
47
|
+
item == null ? void 0 : item.click();
|
|
48
|
+
} else if (["ArrowDown", "ArrowUp", "Home", "End"].includes(event.key)) {
|
|
49
|
+
const items = this.getAllItems();
|
|
50
|
+
const activeItem = this.getCurrentItem();
|
|
51
|
+
let index = activeItem ? items.indexOf(activeItem) : 0;
|
|
52
|
+
if (items.length > 0) {
|
|
53
|
+
event.preventDefault();
|
|
54
|
+
event.stopPropagation();
|
|
55
|
+
if (event.key === "ArrowDown") {
|
|
56
|
+
index++;
|
|
57
|
+
} else if (event.key === "ArrowUp") {
|
|
58
|
+
index--;
|
|
59
|
+
} else if (event.key === "Home") {
|
|
60
|
+
index = 0;
|
|
61
|
+
} else if (event.key === "End") {
|
|
62
|
+
index = items.length - 1;
|
|
63
|
+
}
|
|
64
|
+
if (index < 0) {
|
|
65
|
+
index = items.length - 1;
|
|
66
|
+
}
|
|
67
|
+
if (index > items.length - 1) {
|
|
68
|
+
index = 0;
|
|
69
|
+
}
|
|
70
|
+
this.setCurrentItem(items[index]);
|
|
71
|
+
items[index].focus();
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
handleMouseDown(event) {
|
|
76
|
+
const target = event.target;
|
|
77
|
+
if (this.isMenuItem(target)) {
|
|
78
|
+
this.setCurrentItem(target);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
handleSlotChange() {
|
|
82
|
+
const items = this.getAllItems();
|
|
83
|
+
if (items.length > 0) {
|
|
84
|
+
this.setCurrentItem(items[0]);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
isMenuItem(item) {
|
|
88
|
+
var _a;
|
|
89
|
+
return item.tagName.toLowerCase() === "cw-menu-item" || ["menuitem", "menuitemcheckbox", "menuitemradio"].includes((_a = item.getAttribute("role")) != null ? _a : "");
|
|
90
|
+
}
|
|
91
|
+
/** @internal Gets all slotted menu items, ignoring dividers, headers, and other elements. */
|
|
92
|
+
getAllItems() {
|
|
93
|
+
return [...this.defaultSlot.assignedElements({ flatten: true })].filter((el) => {
|
|
94
|
+
if (el.inert || !this.isMenuItem(el)) {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
return true;
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* @internal Gets the current menu item, which is the menu item that has `tabindex="0"` within the roving tab index.
|
|
102
|
+
* The menu item may or may not have focus, but for keyboard interaction purposes it's considered the "active" item.
|
|
103
|
+
*/
|
|
104
|
+
getCurrentItem() {
|
|
105
|
+
return this.getAllItems().find((i) => i.getAttribute("tabindex") === "0");
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* @internal Sets the current menu item to the specified element. This sets `tabindex="0"` on the target element and
|
|
109
|
+
* `tabindex="-1"` to all other items. This method must be called prior to setting focus on a menu item.
|
|
110
|
+
*/
|
|
111
|
+
setCurrentItem(item) {
|
|
112
|
+
const items = this.getAllItems();
|
|
113
|
+
items.forEach((i) => {
|
|
114
|
+
i.setAttribute("tabindex", i === item ? "0" : "-1");
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
render() {
|
|
118
|
+
return html`
|
|
119
|
+
<slot
|
|
120
|
+
@slotchange=${this.handleSlotChange}
|
|
121
|
+
@click=${this.handleClick}
|
|
122
|
+
@keydown=${this.handleKeyDown}
|
|
123
|
+
@mousedown=${this.handleMouseDown}
|
|
124
|
+
></slot>
|
|
125
|
+
`;
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
CwMenu.styles = [component_styles_default, menu_styles_default];
|
|
129
|
+
__decorateClass([
|
|
130
|
+
query("slot")
|
|
131
|
+
], CwMenu.prototype, "defaultSlot", 2);
|
|
132
|
+
|
|
133
|
+
export {
|
|
134
|
+
CwMenu
|
|
135
|
+
};
|