@cordwainer/cw-elements 1.1.0 → 1.2.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.2D2W36M7.js +21 -0
- package/cdn/chunks/chunk.2EVBJXGK.js +11 -0
- package/cdn/chunks/chunk.2FOQOETF.js +11 -0
- package/cdn/chunks/chunk.2NINSW7F.js +137 -0
- package/cdn/chunks/chunk.2QLQWGP5.js +28 -0
- package/cdn/chunks/chunk.2SEIS5FB.js +42 -0
- package/cdn/chunks/chunk.2VM245I7.js +26 -0
- package/cdn/chunks/chunk.2XSYSDO3.js +20 -0
- package/cdn/chunks/chunk.3242TXQ6.js +11 -0
- package/cdn/chunks/chunk.35LTXXF6.js +73 -0
- package/cdn/chunks/chunk.3A3EKZAC.js +11 -0
- package/cdn/chunks/chunk.3A3X2PL6.js +11 -0
- package/cdn/chunks/chunk.3ELRVPUL.js +158 -0
- package/cdn/chunks/chunk.3JDNHINR.js +292 -0
- package/cdn/chunks/chunk.3KY6HRPX.js +821 -0
- package/cdn/chunks/chunk.4C5CA3U6.js +367 -0
- package/cdn/chunks/chunk.4TQ4XQ5V.js +11 -0
- package/cdn/chunks/chunk.4XLH4HQQ.js +28 -0
- package/cdn/chunks/chunk.4XYVR4IL.js +11 -0
- package/cdn/chunks/chunk.5EAH7IZU.js +21 -0
- package/cdn/chunks/chunk.5GHHWGQ4.js +218 -0
- package/cdn/chunks/chunk.5KKRF34C.js +21 -0
- package/cdn/chunks/chunk.5MKDMYKJ.js +299 -0
- package/cdn/chunks/chunk.5OOCO4GL.js +21 -0
- package/cdn/chunks/chunk.5WV3ILQM.js +11 -0
- package/cdn/chunks/chunk.63Q32RED.js +11 -0
- package/cdn/chunks/chunk.64BN4453.js +21 -0
- package/cdn/chunks/chunk.667T6C5R.js +11 -0
- package/cdn/chunks/chunk.6CPTI3CT.js +904 -0
- package/cdn/chunks/chunk.6EWXPA2O.js +21 -0
- package/cdn/chunks/chunk.6HED7EFL.js +67 -0
- package/cdn/chunks/chunk.6LFZYNAJ.js +122 -0
- package/cdn/chunks/chunk.75M5F2QG.js +25 -0
- package/cdn/chunks/chunk.7EY6G7NS.js +11 -0
- package/cdn/chunks/chunk.7NSGMFRE.js +11 -0
- package/cdn/chunks/chunk.7XQECKZZ.js +11 -0
- package/cdn/chunks/chunk.7ZI3ETZO.js +11 -0
- package/cdn/chunks/chunk.7ZIVYTTK.js +199 -0
- package/cdn/chunks/chunk.A67362GN.js +25 -0
- package/cdn/chunks/chunk.AEG2D2GK.js +21 -0
- package/cdn/chunks/chunk.AIOSHILJ.js +93 -0
- package/cdn/chunks/chunk.APDL56LM.js +114 -0
- package/cdn/chunks/chunk.AYR7GI4L.js +25 -0
- package/cdn/chunks/chunk.B5OFLT2Z.js +455 -0
- package/cdn/chunks/chunk.BIKPLZXK.js +27 -0
- package/cdn/chunks/chunk.BNIMW2BP.js +11 -0
- package/cdn/chunks/chunk.C4QY7KGQ.js +44 -0
- package/cdn/chunks/chunk.CJZODE22.js +279 -0
- package/cdn/chunks/chunk.D444MCOQ.js +27 -0
- package/cdn/chunks/chunk.D7MYJ7DS.js +63 -0
- package/cdn/chunks/chunk.DBI3LACP.js +21 -0
- package/cdn/chunks/chunk.DHGSFEVN.js +24 -0
- package/cdn/chunks/chunk.DM2GU5IX.js +21 -0
- package/cdn/chunks/chunk.DO7CY5W4.js +267 -0
- package/cdn/chunks/chunk.DUQ3VE5Z.js +33 -0
- package/cdn/chunks/chunk.DYSZCSPE.js +77 -0
- package/cdn/chunks/chunk.E26ILGKU.js +142 -0
- package/cdn/chunks/chunk.E3C4ZBOM.js +24 -0
- package/cdn/chunks/chunk.E5JD6AR2.js +21 -0
- package/cdn/chunks/chunk.EMECPVBD.js +24 -0
- package/cdn/chunks/chunk.EOE4K7GH.js +11 -0
- package/cdn/chunks/chunk.EP7TTVCD.js +11 -0
- package/cdn/chunks/chunk.F447IRE5.js +24 -0
- package/cdn/chunks/chunk.FFFGI3BK.js +11 -0
- package/cdn/chunks/chunk.FSZPEESI.js +24 -0
- package/cdn/chunks/chunk.FV2VN5H2.js +11 -0
- package/cdn/chunks/chunk.G64NUWSI.js +25 -0
- package/cdn/chunks/chunk.GBKWIQWO.js +174 -0
- package/cdn/chunks/chunk.GEBZBVTH.js +21 -0
- package/cdn/chunks/chunk.GHETRRFI.js +27 -0
- package/cdn/chunks/chunk.GUUCUNLT.js +11 -0
- package/cdn/chunks/chunk.H56Q4VV7.js +36 -0
- package/cdn/chunks/chunk.H7RF2ZE3.js +24 -0
- package/cdn/chunks/chunk.HBKB7RDF.js +11 -0
- package/cdn/chunks/chunk.HMQ3W6AG.js +11 -0
- package/cdn/chunks/chunk.HOK3XKAY.js +11 -0
- package/cdn/chunks/chunk.HVW5WT4X.js +11 -0
- package/cdn/chunks/chunk.HYXPW6KP.js +233 -0
- package/cdn/chunks/chunk.I6KB4VW7.js +186 -0
- package/cdn/chunks/chunk.I6LVVS7E.js +24 -0
- package/cdn/chunks/chunk.IDZYBSCU.js +29 -0
- package/cdn/chunks/chunk.IY2X7HTJ.js +11 -0
- package/cdn/chunks/chunk.J2XCU3C2.js +135 -0
- package/cdn/chunks/chunk.J5NA2XB3.js +21 -0
- package/cdn/chunks/chunk.J5O4FZCF.js +11 -0
- package/cdn/chunks/chunk.J6UIOHRK.js +24 -0
- package/cdn/chunks/chunk.JAEXATQZ.js +11 -0
- package/cdn/chunks/chunk.JGKRRNZE.js +21 -0
- package/cdn/chunks/chunk.JJAXCKJ7.js +11 -0
- package/cdn/chunks/chunk.JJQSSHMO.js +11 -0
- package/cdn/chunks/chunk.JOSWKGY5.js +29 -0
- package/cdn/chunks/chunk.JV44BUFL.js +11 -0
- package/cdn/chunks/chunk.K65HCZ7P.js +25 -0
- package/cdn/chunks/chunk.KBPWFLVG.js +11 -0
- package/cdn/chunks/chunk.KM3JL2NK.js +378 -0
- package/cdn/chunks/chunk.KNTPKXOU.js +82 -0
- package/cdn/chunks/chunk.KO5OWFHI.js +25 -0
- package/cdn/chunks/chunk.KZ2JREI3.js +11 -0
- package/cdn/chunks/chunk.LAO6LJJM.js +28 -0
- package/cdn/chunks/chunk.LBOZPHMU.js +21 -0
- package/cdn/chunks/chunk.LPKUU5RV.js +24 -0
- package/cdn/chunks/chunk.LQXFA2EE.js +724 -0
- package/cdn/chunks/chunk.LTKRWRX4.js +216 -0
- package/cdn/chunks/chunk.LU7S6Z7C.js +27 -0
- package/cdn/chunks/chunk.LXDWEMYF.js +314 -0
- package/cdn/chunks/chunk.LYQ27U5N.js +11 -0
- package/cdn/chunks/chunk.LZ4L4JF3.js +499 -0
- package/cdn/chunks/chunk.M6463QAH.js +26 -0
- package/cdn/chunks/chunk.M6L2HEZK.js +11 -0
- package/cdn/chunks/chunk.MCLTBHNQ.js +11 -0
- package/cdn/chunks/chunk.MNR3RGM6.js +302 -0
- package/cdn/chunks/chunk.MNRAN3EO.js +87 -0
- package/cdn/chunks/chunk.MQ5LM4MB.js +49 -0
- package/cdn/chunks/chunk.MWLJHRL6.js +11 -0
- package/cdn/chunks/chunk.N4H6U4PP.js +24 -0
- package/cdn/chunks/chunk.NGOXT5I6.js +25 -0
- package/cdn/chunks/chunk.O6J67H5P.js +79 -0
- package/cdn/chunks/chunk.OCZYVBJ3.js +26 -0
- package/cdn/chunks/chunk.OS3P3XZT.js +11 -0
- package/cdn/chunks/chunk.OZXDFZMU.js +844 -0
- package/cdn/chunks/chunk.PKGDEA7H.js +29 -0
- package/cdn/chunks/chunk.PSRASNQV.js +97 -0
- package/cdn/chunks/chunk.PU7D4HTX.js +574 -0
- package/cdn/chunks/chunk.PUAIXC7J.js +336 -0
- package/cdn/chunks/chunk.PWQLUZAY.js +11 -0
- package/cdn/chunks/chunk.Q4KCYNHK.js +11 -0
- package/cdn/chunks/chunk.Q7G2CUFX.js +21 -0
- package/cdn/chunks/chunk.QCHVJMOM.js +127 -0
- package/cdn/chunks/chunk.QE3EQWWF.js +391 -0
- package/cdn/chunks/chunk.QGRWRQ6W.js +360 -0
- package/cdn/chunks/chunk.QLWFLD2B.js +11 -0
- package/cdn/chunks/chunk.QRWT6VND.js +21 -0
- package/cdn/chunks/chunk.QXPTE4DA.js +11 -0
- package/cdn/chunks/chunk.R3B4HK4V.js +95 -0
- package/cdn/chunks/chunk.R7HK7CZV.js +255 -0
- package/cdn/chunks/chunk.SEA7BJMY.js +1990 -0
- package/cdn/chunks/chunk.SESAI6YG.js +29 -0
- package/cdn/chunks/chunk.SFHUJLOM.js +21 -0
- package/cdn/chunks/chunk.SH4HHFBN.js +75 -0
- package/cdn/chunks/chunk.SKTHN77C.js +26 -0
- package/cdn/chunks/chunk.SMABH6MY.js +33 -0
- package/cdn/chunks/chunk.SOH5UA2M.js +153 -0
- package/cdn/chunks/chunk.SS4Z6VKL.js +103 -0
- package/cdn/chunks/chunk.ST44F2BR.js +11 -0
- package/cdn/chunks/chunk.SXAAG42W.js +11 -0
- package/cdn/chunks/chunk.SYVOPN5Y.js +28 -0
- package/cdn/chunks/chunk.T2KRTFM4.js +50 -0
- package/cdn/chunks/chunk.TA56DOYV.js +11 -0
- package/cdn/chunks/chunk.TDYBQZJ4.js +11 -0
- package/cdn/chunks/chunk.TE4UVJ4N.js +21 -0
- package/cdn/chunks/chunk.TLIVRI3T.js +11 -0
- package/cdn/chunks/chunk.TPJ7FU7Q.js +11 -0
- package/cdn/chunks/chunk.TVKZEJMQ.js +25 -0
- package/cdn/chunks/chunk.TZ5OXH5I.js +11 -0
- package/cdn/chunks/chunk.U6GUBNXS.js +969 -0
- package/cdn/chunks/chunk.U6QGZKGW.js +11 -0
- package/cdn/chunks/chunk.UASX3M2Q.js +118 -0
- package/cdn/chunks/chunk.UGYRLWVC.js +24 -0
- package/cdn/chunks/chunk.UL2CCSOX.js +11 -0
- package/cdn/chunks/chunk.UQ4MTWGW.js +11 -0
- package/cdn/chunks/chunk.UR6L5RFI.js +21 -0
- package/cdn/chunks/chunk.UUDPPCAM.js +236 -0
- package/cdn/chunks/chunk.UUUDEPTL.js +11 -0
- package/cdn/chunks/chunk.UWE3O7Q6.js +346 -0
- package/cdn/chunks/chunk.V4Z6IZAC.js +77 -0
- package/cdn/chunks/chunk.VFVSFU77.js +291 -0
- package/cdn/chunks/chunk.VQJN2OUD.js +11 -0
- package/cdn/chunks/chunk.VSO4UBIP.js +11 -0
- package/cdn/chunks/chunk.VSUUXBP2.js +25 -0
- package/cdn/chunks/chunk.VW5MJACB.js +297 -0
- package/cdn/chunks/chunk.VWLU5VUQ.js +21 -0
- package/cdn/chunks/chunk.W5MV243H.js +11 -0
- package/cdn/chunks/chunk.W7I2LPFA.js +113 -0
- package/cdn/chunks/chunk.WOSUM25N.js +11 -0
- package/cdn/chunks/chunk.WU7H6347.js +11 -0
- package/cdn/chunks/chunk.WUKD2BRG.js +11 -0
- package/cdn/chunks/chunk.WW5GN3NZ.js +49 -0
- package/cdn/chunks/chunk.WWBTO2YF.js +11 -0
- package/cdn/chunks/chunk.XDJCYSVW.js +24 -0
- package/cdn/chunks/chunk.XFTH7YPI.js +1925 -0
- package/cdn/chunks/chunk.XLA3XVR7.js +28 -0
- package/cdn/chunks/chunk.XOEB34AG.js +11 -0
- package/cdn/chunks/chunk.XOJM457U.js +21 -0
- package/cdn/chunks/chunk.XV472HPM.js +11 -0
- package/cdn/chunks/chunk.Y33URFDZ.js +11 -0
- package/cdn/chunks/chunk.Y3CATHZN.js +11 -0
- package/cdn/chunks/chunk.YJLAVH5B.js +197 -0
- package/cdn/chunks/chunk.YJTFGG62.js +33 -0
- package/cdn/chunks/chunk.YKCDLKJK.js +33 -0
- package/cdn/chunks/chunk.YPGVT6BY.js +120 -0
- package/cdn/chunks/chunk.YUUZASE5.js +24 -0
- package/cdn/chunks/chunk.YXD5K75D.js +402 -0
- package/cdn/chunks/chunk.Z3LSEYK3.js +24 -0
- package/cdn/chunks/chunk.ZEBP4Z5A.js +11 -0
- package/cdn/chunks/chunk.ZFSSTEB7.js +27 -0
- package/cdn/chunks/chunk.ZV7MOC6Z.js +21 -0
- package/cdn/components/alert/alert.component.js +6 -6
- package/cdn/components/alert/alert.js +7 -7
- package/cdn/components/animated-image/animated-image.component.js +5 -5
- package/cdn/components/animated-image/animated-image.js +6 -6
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +5 -5
- package/cdn/components/avatar/avatar.js +6 -6
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +5 -5
- package/cdn/components/breadcrumb/breadcrumb.js +6 -6
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +6 -6
- package/cdn/components/button/button.js +7 -7
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +6 -5
- package/cdn/components/carousel/carousel.js +7 -6
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +5 -5
- package/cdn/components/checkbox/checkbox.js +6 -6
- package/cdn/components/color-picker/color-picker.component.js +13 -13
- package/cdn/components/color-picker/color-picker.js +14 -14
- package/cdn/components/combobox/combobox.component.js +10 -10
- package/cdn/components/combobox/combobox.js +11 -11
- package/cdn/components/copy-button/copy-button.component.js +7 -7
- package/cdn/components/copy-button/copy-button.js +8 -8
- package/cdn/components/data-table/data-table-column.component.d.ts +39 -0
- package/cdn/components/data-table/data-table-column.component.js +10 -0
- package/cdn/components/data-table/data-table-column.d.ts +8 -0
- package/cdn/components/data-table/data-table-column.js +11 -0
- package/cdn/components/data-table/data-table.component.d.ts +98 -0
- package/cdn/components/data-table/data-table.component.js +35 -0
- package/cdn/components/data-table/data-table.d.ts +8 -0
- package/cdn/components/data-table/data-table.js +36 -0
- package/cdn/components/data-table/data-table.styles.d.ts +2 -0
- package/cdn/components/data-table/data-table.styles.js +8 -0
- package/cdn/components/data-table/define/cw-data-table-column.d.ts +8 -0
- package/cdn/components/data-table/define/cw-data-table-column.js +14 -0
- package/cdn/components/data-table-column/data-table-column.d.ts +2 -0
- package/cdn/components/data-table-column/data-table-column.js +11 -0
- package/cdn/components/date-picker/date-picker.component.d.ts +1 -1
- package/cdn/components/date-picker/date-picker.component.js +7 -7
- package/cdn/components/date-picker/date-picker.js +8 -8
- package/cdn/components/details/details.component.js +5 -5
- package/cdn/components/details/details.js +6 -6
- package/cdn/components/dialog/dialog.component.js +7 -7
- package/cdn/components/dialog/dialog.js +8 -8
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +7 -7
- package/cdn/components/drawer/drawer.js +8 -8
- package/cdn/components/dropdown/dropdown.component.js +3 -3
- package/cdn/components/dropdown/dropdown.js +4 -4
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/icon/icon.component.js +4 -4
- package/cdn/components/icon/icon.js +5 -5
- package/cdn/components/icon/library.js +2 -2
- package/cdn/components/icon-button/icon-button.component.js +5 -5
- package/cdn/components/icon-button/icon-button.js +6 -6
- package/cdn/components/image-comparer/image-comparer.component.js +5 -5
- package/cdn/components/image-comparer/image-comparer.js +6 -6
- package/cdn/components/include/include.component.js +3 -3
- package/cdn/components/include/include.js +4 -4
- package/cdn/components/input/input.component.js +5 -5
- package/cdn/components/input/input.js +6 -6
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +7 -7
- package/cdn/components/menu-item/menu-item.js +8 -8
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/option/option.component.js +5 -5
- package/cdn/components/option/option.js +6 -6
- package/cdn/components/pagination/pagination.component.js +6 -6
- package/cdn/components/pagination/pagination.js +7 -7
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +5 -5
- package/cdn/components/radio/radio.js +6 -6
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +3 -3
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/range/range.component.js +2 -2
- package/cdn/components/range/range.js +3 -3
- package/cdn/components/rating/rating.component.js +5 -5
- package/cdn/components/rating/rating.js +6 -6
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/select/select.component.js +8 -8
- package/cdn/components/select/select.js +9 -9
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +2 -2
- package/cdn/components/split-panel/split-panel.js +3 -3
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +6 -6
- package/cdn/components/tab/tab.js +7 -7
- package/cdn/components/tab-group/tab-group.component.js +7 -7
- package/cdn/components/tab-group/tab-group.js +8 -8
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/tag/tag.component.js +6 -6
- package/cdn/components/tag/tag.js +7 -7
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-picker/time-picker.component.js +7 -7
- package/cdn/components/time-picker/time-picker.js +8 -8
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/tree/tree.component.js +9 -9
- package/cdn/components/tree/tree.js +10 -10
- package/cdn/components/tree-item/tree-item.component.js +7 -7
- package/cdn/components/tree-item/tree-item.js +8 -8
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/custom-elements.json +772 -3
- package/cdn/cw-elements.d.ts +3 -0
- package/cdn/cw-elements.js +184 -165
- package/cdn/events/cw-row-click.d.ts +9 -0
- package/cdn/events/cw-row-selection-change.d.ts +8 -0
- package/cdn/events/cw-sort-change.d.ts +9 -0
- package/cdn/events/events.d.ts +3 -0
- package/cdn/react/alert/index.js +7 -7
- package/cdn/react/animated-image/index.js +6 -6
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +6 -6
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +6 -6
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +7 -7
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +7 -6
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +6 -6
- package/cdn/react/color-picker/index.js +14 -14
- package/cdn/react/combobox/index.js +11 -11
- package/cdn/react/copy-button/index.js +8 -8
- package/cdn/react/data-table/index.d.ts +50 -0
- package/cdn/react/data-table/index.js +36 -0
- package/cdn/react/data-table-column/index.d.ts +11 -0
- package/cdn/react/data-table-column/index.js +11 -0
- package/cdn/react/date-picker/index.d.ts +1 -1
- package/cdn/react/date-picker/index.js +8 -8
- package/cdn/react/details/index.js +6 -6
- package/cdn/react/dialog/index.js +8 -8
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +8 -8
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/format-bytes/index.js +3 -3
- package/cdn/react/format-date/index.js +3 -3
- package/cdn/react/format-number/index.js +3 -3
- package/cdn/react/icon/index.js +5 -5
- package/cdn/react/icon-button/index.js +6 -6
- package/cdn/react/image-comparer/index.js +6 -6
- package/cdn/react/include/index.js +4 -4
- package/cdn/react/index.d.ts +2 -0
- package/cdn/react/index.js +166 -154
- package/cdn/react/input/index.js +6 -6
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +8 -8
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/option/index.js +6 -6
- package/cdn/react/pagination/index.js +7 -7
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +6 -6
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/range/index.js +3 -3
- package/cdn/react/rating/index.js +6 -6
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/select/index.js +9 -9
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +3 -3
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +7 -7
- package/cdn/react/tab-group/index.js +8 -8
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/tag/index.js +7 -7
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/time-picker/index.js +8 -8
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/tree/index.js +10 -10
- package/cdn/react/tree-item/index.js +8 -8
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/types/vue/index.d.ts +109 -0
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/vscode.html-custom-data.json +117 -0
- package/cdn/web-types.json +265 -1
- package/dist/chunks/chunk.24LNGBKL.js +24 -0
- package/dist/chunks/chunk.255MR7CE.js +337 -0
- package/dist/chunks/chunk.26CSXQ4Q.js +11 -0
- package/dist/chunks/chunk.27QQRPIN.js +100 -0
- package/dist/chunks/chunk.2EF43XJW.js +11 -0
- package/dist/chunks/chunk.2JOGE2CV.js +896 -0
- package/dist/chunks/chunk.2LQMBY3I.js +24 -0
- package/dist/chunks/chunk.36HMLPYR.js +491 -0
- package/dist/chunks/chunk.3BRXL2IA.js +11 -0
- package/dist/chunks/chunk.3LOQWMDO.js +21 -0
- package/dist/chunks/chunk.3QBNTXFV.js +231 -0
- package/dist/chunks/chunk.3VSG7FQP.js +24 -0
- package/dist/chunks/chunk.437NNE4R.js +11 -0
- package/dist/chunks/chunk.43JUATJR.js +280 -0
- package/dist/chunks/chunk.474RV3RO.js +21 -0
- package/dist/chunks/chunk.4A7V7DBS.js +11 -0
- package/dist/chunks/chunk.4RKYCOLD.js +113 -0
- package/dist/chunks/chunk.4T4CBTZI.js +11 -0
- package/dist/chunks/chunk.5DVQN6KA.js +22 -0
- package/dist/chunks/chunk.5HVNCB53.js +28 -0
- package/dist/chunks/chunk.5PFBTDM7.js +85 -0
- package/dist/chunks/chunk.5PNGXJJN.js +24 -0
- package/dist/chunks/chunk.5RMOOAFI.js +25 -0
- package/dist/chunks/chunk.5VMVEYHS.js +11 -0
- package/dist/chunks/chunk.5WQ4DYTA.js +73 -0
- package/dist/chunks/chunk.647QRRSD.js +75 -0
- package/dist/chunks/chunk.65WIBETF.js +181 -0
- package/dist/chunks/chunk.6FPQJQVL.js +370 -0
- package/dist/chunks/chunk.6OE6BOS3.js +22 -0
- package/dist/chunks/chunk.6TJHG4PU.js +111 -0
- package/dist/chunks/chunk.6TNCAIOV.js +28 -0
- package/dist/chunks/chunk.73LXUELQ.js +11 -0
- package/dist/chunks/chunk.7KOLSO2Q.js +11 -0
- package/dist/chunks/chunk.7KYZUYDL.js +11 -0
- package/dist/chunks/chunk.7LUO23BS.js +11 -0
- package/dist/chunks/chunk.7VUJV35U.js +11 -0
- package/dist/chunks/chunk.7ZOB47XT.js +11 -0
- package/dist/chunks/chunk.A6A6DBJW.js +24 -0
- package/dist/chunks/chunk.A7OYHBVT.js +21 -0
- package/dist/chunks/chunk.ACQNNZ5S.js +550 -0
- package/dist/chunks/chunk.AOI3PPFU.js +350 -0
- package/dist/chunks/chunk.AT2PWN2E.js +21 -0
- package/dist/chunks/chunk.AZFT2G4R.js +294 -0
- package/dist/chunks/chunk.BCWBFYOQ.js +21 -0
- package/dist/chunks/chunk.BDVZKECO.js +11 -0
- package/dist/chunks/chunk.BDXLNIQ4.js +21 -0
- package/dist/chunks/chunk.BMDGI6D3.js +11 -0
- package/dist/chunks/chunk.BMLBSFYD.js +26 -0
- package/dist/chunks/chunk.BU46AHUR.js +21 -0
- package/dist/chunks/chunk.BV2MLUIE.js +11 -0
- package/dist/chunks/chunk.C4QY7KGQ.js +44 -0
- package/dist/chunks/chunk.CTYANNF5.js +11 -0
- package/dist/chunks/chunk.DCDNEZSD.js +21 -0
- package/dist/chunks/chunk.DIFRRS55.js +11 -0
- package/dist/chunks/chunk.DUG7FBMO.js +116 -0
- package/dist/chunks/chunk.E5645J52.js +34 -0
- package/dist/chunks/chunk.EDN4PMYZ.js +21 -0
- package/dist/chunks/chunk.EM4TJHA3.js +28 -0
- package/dist/chunks/chunk.EUI4TRBJ.js +196 -0
- package/dist/chunks/chunk.EWB3P576.js +21 -0
- package/dist/chunks/chunk.EXYVJ7TS.js +27 -0
- package/dist/chunks/chunk.EY5TOAFB.js +119 -0
- package/dist/chunks/chunk.FLY3NQH2.js +28 -0
- package/dist/chunks/chunk.FQZLWE3J.js +24 -0
- package/dist/chunks/chunk.FRD5DSVU.js +24 -0
- package/dist/chunks/chunk.FXP4QJHU.js +33 -0
- package/dist/chunks/chunk.GA4PYUKF.js +25 -0
- package/dist/chunks/chunk.GOL2SL6Z.js +109 -0
- package/dist/chunks/chunk.GWTRKUXQ.js +311 -0
- package/dist/chunks/chunk.H3U2APWF.js +25 -0
- package/dist/chunks/chunk.H5UDJOV5.js +961 -0
- package/dist/chunks/chunk.H6CWC4JD.js +11 -0
- package/dist/chunks/chunk.HADVZCN3.js +11 -0
- package/dist/chunks/chunk.HDO5LQOU.js +11 -0
- package/dist/chunks/chunk.HFJOZTN7.js +67 -0
- package/dist/chunks/chunk.HNIWLXGA.js +290 -0
- package/dist/chunks/chunk.HNM3M3WM.js +11 -0
- package/dist/chunks/chunk.HVVSMHIJ.js +11 -0
- package/dist/chunks/chunk.I3XNYG37.js +11 -0
- package/dist/chunks/chunk.I446LBDA.js +11 -0
- package/dist/chunks/chunk.IG572EQS.js +63 -0
- package/dist/chunks/chunk.IJXFT55D.js +247 -0
- package/dist/chunks/chunk.ILJJ5P2P.js +25 -0
- package/dist/chunks/chunk.IQIA3AZN.js +837 -0
- package/dist/chunks/chunk.IVSTVBIW.js +24 -0
- package/dist/chunks/chunk.IZVIQXV7.js +147 -0
- package/dist/chunks/chunk.J435UVRY.js +28 -0
- package/dist/chunks/chunk.J4E5KF6P.js +21 -0
- package/dist/chunks/chunk.J5WUHRX6.js +213 -0
- package/dist/chunks/chunk.JMR4YVPS.js +24 -0
- package/dist/chunks/chunk.JQZ6KLB7.js +11 -0
- package/dist/chunks/chunk.JR4542SP.js +11 -0
- package/dist/chunks/chunk.K6S5S72J.js +259 -0
- package/dist/chunks/chunk.K7XTBTY3.js +29 -0
- package/dist/chunks/chunk.KGGUJKKM.js +75 -0
- package/dist/chunks/chunk.KL4KKJVT.js +33 -0
- package/dist/chunks/chunk.KUN5UMXK.js +21 -0
- package/dist/chunks/chunk.KVJTQBEQ.js +24 -0
- package/dist/chunks/chunk.KWMQBBQW.js +11 -0
- package/dist/chunks/chunk.L7PL6L3S.js +21 -0
- package/dist/chunks/chunk.LAXVUQSE.js +11 -0
- package/dist/chunks/chunk.LOVS45XD.js +417 -0
- package/dist/chunks/chunk.LSIGE5IY.js +11 -0
- package/dist/chunks/chunk.LYFMY3QF.js +170 -0
- package/dist/chunks/chunk.M3LXMNTI.js +25 -0
- package/dist/chunks/chunk.M6KL24M3.js +11 -0
- package/dist/chunks/chunk.MBQMFOQP.js +126 -0
- package/dist/chunks/chunk.MLL5HGQN.js +813 -0
- package/dist/chunks/chunk.MTWSSNXG.js +50 -0
- package/dist/chunks/chunk.MWXXMPKD.js +80 -0
- package/dist/chunks/chunk.MXCPLNMN.js +11 -0
- package/dist/chunks/chunk.MXKPFMQC.js +274 -0
- package/dist/chunks/chunk.MYDYNUJT.js +21 -0
- package/dist/chunks/chunk.N47BSIDT.js +315 -0
- package/dist/chunks/chunk.N6XEVXTG.js +59 -0
- package/dist/chunks/chunk.NDVTPCXA.js +384 -0
- package/dist/chunks/chunk.NS52MRTK.js +93 -0
- package/dist/chunks/chunk.O4X43G66.js +25 -0
- package/dist/chunks/chunk.O5IKBXKU.js +11 -0
- package/dist/chunks/chunk.O7DZG5U2.js +11 -0
- package/dist/chunks/chunk.OCXOOIH5.js +26 -0
- package/dist/chunks/chunk.OF2JNCHL.js +949 -0
- package/dist/chunks/chunk.OGW2QLI2.js +27 -0
- package/dist/chunks/chunk.OO6TR3ZT.js +94 -0
- package/dist/chunks/chunk.OVQUDY2U.js +11 -0
- package/dist/chunks/chunk.OVXDL4TR.js +26 -0
- package/dist/chunks/chunk.OZL5HMZY.js +33 -0
- package/dist/chunks/chunk.PDH4FXCR.js +21 -0
- package/dist/chunks/chunk.PORKCE3F.js +11 -0
- package/dist/chunks/chunk.PPLLTP3M.js +27 -0
- package/dist/chunks/chunk.PTGVVGKL.js +11 -0
- package/dist/chunks/chunk.PUP5CHRJ.js +11 -0
- package/dist/chunks/chunk.PVWCXGYC.js +134 -0
- package/dist/chunks/chunk.PXUJDWG2.js +25 -0
- package/dist/chunks/chunk.Q2I5DDZL.js +448 -0
- package/dist/chunks/chunk.Q4PVZJO5.js +135 -0
- package/dist/chunks/chunk.Q7SBESDF.js +21 -0
- package/dist/chunks/chunk.QBAMLI5V.js +42 -0
- package/dist/chunks/chunk.QBG6C5QR.js +11 -0
- package/dist/chunks/chunk.QJT3S2C7.js +11 -0
- package/dist/chunks/chunk.QOR3645H.js +227 -0
- package/dist/chunks/chunk.RZY6POFE.js +21 -0
- package/dist/chunks/chunk.S5JWFYOI.js +21 -0
- package/dist/chunks/chunk.SDSHJGX3.js +25 -0
- package/dist/chunks/chunk.SDYM74OQ.js +21 -0
- package/dist/chunks/chunk.SFI4F7K2.js +26 -0
- package/dist/chunks/chunk.SKE7QPJA.js +11 -0
- package/dist/chunks/chunk.SMZNBILX.js +91 -0
- package/dist/chunks/chunk.SOOFEDB6.js +21 -0
- package/dist/chunks/chunk.SPSKGYHO.js +27 -0
- package/dist/chunks/chunk.SSLBDFDV.js +11 -0
- package/dist/chunks/chunk.TI3KEJ2F.js +11 -0
- package/dist/chunks/chunk.TIEUUNGW.js +11 -0
- package/dist/chunks/chunk.TLQ4MBNT.js +11 -0
- package/dist/chunks/chunk.TNWDI7TS.js +29 -0
- package/dist/chunks/chunk.TRQJZWXG.js +151 -0
- package/dist/chunks/chunk.TU4A5K5Q.js +100 -0
- package/dist/chunks/chunk.TV7SCJXV.js +11 -0
- package/dist/chunks/chunk.U5L2NC6X.js +192 -0
- package/dist/chunks/chunk.U7GRVPCQ.js +25 -0
- package/dist/chunks/chunk.UE2ILSYG.js +45 -0
- package/dist/chunks/chunk.UIIEPLWX.js +117 -0
- package/dist/chunks/chunk.UJHPENSV.js +24 -0
- package/dist/chunks/chunk.UMPAKE6J.js +11 -0
- package/dist/chunks/chunk.UQVSN6I5.js +11 -0
- package/dist/chunks/chunk.UTCINADU.js +286 -0
- package/dist/chunks/chunk.V4YOWU7V.js +90 -0
- package/dist/chunks/chunk.V6P5H4AI.js +11 -0
- package/dist/chunks/chunk.V6UGQ5KN.js +11 -0
- package/dist/chunks/chunk.V7Y37A4N.js +11 -0
- package/dist/chunks/chunk.VJKOH7AH.js +11 -0
- package/dist/chunks/chunk.VMYOLQE7.js +33 -0
- package/dist/chunks/chunk.VO3TNL3N.js +11 -0
- package/dist/chunks/chunk.VPUYTPVD.js +29 -0
- package/dist/chunks/chunk.VQZ2GXD4.js +361 -0
- package/dist/chunks/chunk.VYJKSW3I.js +11 -0
- package/dist/chunks/chunk.WGEVUZC4.js +11 -0
- package/dist/chunks/chunk.WIPUNSRB.js +11 -0
- package/dist/chunks/chunk.WK74GWMB.js +11 -0
- package/dist/chunks/chunk.WM7ELXRN.js +75 -0
- package/dist/chunks/chunk.WZ7CD3XC.js +11 -0
- package/dist/chunks/chunk.WZSMRIQN.js +11 -0
- package/dist/chunks/chunk.XD3PNT5N.js +21 -0
- package/dist/chunks/chunk.XS5NNDJW.js +25 -0
- package/dist/chunks/chunk.YBMZFTPO.js +24 -0
- package/dist/chunks/chunk.YRIXCKPY.js +21 -0
- package/dist/chunks/chunk.YSVZ5YXV.js +397 -0
- package/dist/chunks/chunk.YT5PW7PG.js +11 -0
- package/dist/chunks/chunk.YUPLAANZ.js +11 -0
- package/dist/chunks/chunk.YXTYH36B.js +11 -0
- package/dist/chunks/chunk.YYZ3G3S4.js +11 -0
- package/dist/chunks/chunk.YZXAE52P.js +11 -0
- package/dist/chunks/chunk.ZF2HL2ZN.js +45 -0
- package/dist/chunks/chunk.ZIWLDIHX.js +29 -0
- package/dist/chunks/chunk.ZLIF2HLM.js +293 -0
- package/dist/components/alert/alert.component.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/animated-image/animated-image.component.js +5 -5
- package/dist/components/animated-image/animated-image.js +6 -6
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +5 -5
- package/dist/components/avatar/avatar.js +6 -6
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +5 -5
- package/dist/components/breadcrumb/breadcrumb.js +6 -6
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +6 -6
- package/dist/components/button/button.js +7 -7
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +5 -5
- package/dist/components/carousel/carousel.js +6 -6
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/color-picker/color-picker.component.js +12 -12
- package/dist/components/color-picker/color-picker.js +13 -13
- package/dist/components/combobox/combobox.component.js +10 -10
- package/dist/components/combobox/combobox.js +11 -11
- package/dist/components/copy-button/copy-button.component.js +7 -7
- package/dist/components/copy-button/copy-button.js +8 -8
- package/dist/components/data-table/data-table-column.component.d.ts +39 -0
- package/dist/components/data-table/data-table-column.component.js +9 -0
- package/dist/components/data-table/data-table-column.d.ts +8 -0
- package/dist/components/data-table/data-table-column.js +10 -0
- package/dist/components/data-table/data-table.component.d.ts +98 -0
- package/dist/components/data-table/data-table.component.js +27 -0
- package/dist/components/data-table/data-table.d.ts +8 -0
- package/dist/components/data-table/data-table.js +28 -0
- package/dist/components/data-table/data-table.styles.d.ts +2 -0
- package/dist/components/data-table/data-table.styles.js +7 -0
- package/dist/components/data-table/define/cw-data-table-column.d.ts +8 -0
- package/dist/components/data-table/define/cw-data-table-column.js +13 -0
- package/dist/components/data-table-column/data-table-column.d.ts +2 -0
- package/dist/components/data-table-column/data-table-column.js +10 -0
- package/dist/components/date-picker/date-picker.component.d.ts +1 -1
- package/dist/components/date-picker/date-picker.component.js +7 -7
- package/dist/components/date-picker/date-picker.js +8 -8
- package/dist/components/details/details.component.js +5 -5
- package/dist/components/details/details.js +6 -6
- package/dist/components/dialog/dialog.component.js +7 -7
- package/dist/components/dialog/dialog.js +8 -8
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +7 -7
- package/dist/components/drawer/drawer.js +8 -8
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +4 -4
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon-button/icon-button.component.js +5 -5
- package/dist/components/icon-button/icon-button.js +6 -6
- package/dist/components/image-comparer/image-comparer.component.js +5 -5
- package/dist/components/image-comparer/image-comparer.js +6 -6
- package/dist/components/include/include.component.js +3 -3
- package/dist/components/include/include.js +4 -4
- package/dist/components/input/input.component.js +5 -5
- package/dist/components/input/input.js +6 -6
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +7 -7
- package/dist/components/menu-item/menu-item.js +8 -8
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/option/option.component.js +5 -5
- package/dist/components/option/option.js +6 -6
- package/dist/components/pagination/pagination.component.js +6 -6
- package/dist/components/pagination/pagination.js +7 -7
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +5 -5
- package/dist/components/radio/radio.js +6 -6
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +2 -2
- package/dist/components/range/range.js +3 -3
- package/dist/components/rating/rating.component.js +5 -5
- package/dist/components/rating/rating.js +6 -6
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/select/select.component.js +8 -8
- package/dist/components/select/select.js +9 -9
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +6 -6
- package/dist/components/tab/tab.js +7 -7
- package/dist/components/tab-group/tab-group.component.js +7 -7
- package/dist/components/tab-group/tab-group.js +8 -8
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/tag/tag.component.js +6 -6
- package/dist/components/tag/tag.js +7 -7
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-picker/time-picker.component.js +7 -7
- package/dist/components/time-picker/time-picker.js +8 -8
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +9 -9
- package/dist/components/tree/tree.js +10 -10
- package/dist/components/tree-item/tree-item.component.js +7 -7
- package/dist/components/tree-item/tree-item.js +8 -8
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +772 -3
- package/dist/cw-elements.d.ts +3 -0
- package/dist/cw-elements.js +180 -163
- package/dist/events/cw-row-click.d.ts +9 -0
- package/dist/events/cw-row-selection-change.d.ts +8 -0
- package/dist/events/cw-sort-change.d.ts +9 -0
- package/dist/events/events.d.ts +3 -0
- package/dist/react/alert/index.js +7 -7
- package/dist/react/animated-image/index.js +6 -6
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +6 -6
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +6 -6
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +7 -7
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +6 -6
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +6 -6
- package/dist/react/color-picker/index.js +13 -13
- package/dist/react/combobox/index.js +11 -11
- package/dist/react/copy-button/index.js +8 -8
- package/dist/react/data-table/index.d.ts +50 -0
- package/dist/react/data-table/index.js +28 -0
- package/dist/react/data-table-column/index.d.ts +11 -0
- package/dist/react/data-table-column/index.js +10 -0
- package/dist/react/date-picker/index.d.ts +1 -1
- package/dist/react/date-picker/index.js +8 -8
- package/dist/react/details/index.js +6 -6
- package/dist/react/dialog/index.js +8 -8
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +8 -8
- package/dist/react/dropdown/index.js +4 -4
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/icon/index.js +5 -5
- package/dist/react/icon-button/index.js +6 -6
- package/dist/react/image-comparer/index.js +6 -6
- package/dist/react/include/index.js +4 -4
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.js +164 -153
- package/dist/react/input/index.js +6 -6
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +8 -8
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/option/index.js +6 -6
- package/dist/react/pagination/index.js +7 -7
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +6 -6
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +3 -3
- package/dist/react/rating/index.js +6 -6
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/select/index.js +9 -9
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +7 -7
- package/dist/react/tab-group/index.js +8 -8
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/tag/index.js +7 -7
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/time-picker/index.js +8 -8
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +10 -10
- package/dist/react/tree-item/index.js +8 -8
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/types/vue/index.d.ts +109 -0
- package/dist/utilities/icon-library.js +2 -2
- package/dist/vscode.html-custom-data.json +117 -0
- package/dist/web-types.json +265 -1
- package/package.json +1 -1
- package/cdn/chunks/chunk.23IKE6YO.js +0 -21
- package/cdn/chunks/chunk.2CTDF4NK.js +0 -11
- package/cdn/chunks/chunk.2L5KBCGX.js +0 -186
- package/cdn/chunks/chunk.2VY75VNH.js +0 -11
- package/cdn/chunks/chunk.33FN7XWD.js +0 -73
- package/cdn/chunks/chunk.34POXSGZ.js +0 -63
- package/cdn/chunks/chunk.3HKCRDNX.js +0 -11
- package/cdn/chunks/chunk.3KTZ74CN.js +0 -28
- package/cdn/chunks/chunk.3TB5TXK7.js +0 -11
- package/cdn/chunks/chunk.42D3T3SS.js +0 -11
- package/cdn/chunks/chunk.47SSHVXJ.js +0 -11
- package/cdn/chunks/chunk.4BJ2KM2V.js +0 -28
- package/cdn/chunks/chunk.4IIRZ7DB.js +0 -11
- package/cdn/chunks/chunk.4OYNQVXX.js +0 -49
- package/cdn/chunks/chunk.52JOCC35.js +0 -27
- package/cdn/chunks/chunk.52RYYACT.js +0 -25
- package/cdn/chunks/chunk.52TZ7SD3.js +0 -11
- package/cdn/chunks/chunk.57MTTIUO.js +0 -33
- package/cdn/chunks/chunk.5AZZTEQZ.js +0 -29
- package/cdn/chunks/chunk.5FWFA44W.js +0 -11
- package/cdn/chunks/chunk.5HTHWCQI.js +0 -26
- package/cdn/chunks/chunk.5IXDYWVT.js +0 -11
- package/cdn/chunks/chunk.5RELHTM3.js +0 -11
- package/cdn/chunks/chunk.5TIXKQLO.js +0 -11
- package/cdn/chunks/chunk.6E7FBT3H.js +0 -158
- package/cdn/chunks/chunk.6GARTWKH.js +0 -11
- package/cdn/chunks/chunk.6HB224OJ.js +0 -969
- package/cdn/chunks/chunk.6KL6NDPQ.js +0 -36
- package/cdn/chunks/chunk.6WCED6XE.js +0 -24
- package/cdn/chunks/chunk.7GT3QBJ2.js +0 -11
- package/cdn/chunks/chunk.7HJI25QQ.js +0 -11
- package/cdn/chunks/chunk.7JYGJYND.js +0 -11
- package/cdn/chunks/chunk.7OZJUDLJ.js +0 -821
- package/cdn/chunks/chunk.7TW7BQOQ.js +0 -24
- package/cdn/chunks/chunk.AAN637KT.js +0 -391
- package/cdn/chunks/chunk.AMZZYCHK.js +0 -42
- package/cdn/chunks/chunk.AQA3LABJ.js +0 -24
- package/cdn/chunks/chunk.B53ENBXA.js +0 -11
- package/cdn/chunks/chunk.BGPLFBOD.js +0 -29
- package/cdn/chunks/chunk.BJBG5C7Y.js +0 -21
- package/cdn/chunks/chunk.BOINRXJ4.js +0 -95
- package/cdn/chunks/chunk.BZ57V4NN.js +0 -455
- package/cdn/chunks/chunk.C2IASG2C.js +0 -11
- package/cdn/chunks/chunk.CB3WIQ52.js +0 -11
- package/cdn/chunks/chunk.CDIE6HAD.js +0 -378
- package/cdn/chunks/chunk.CF4KF4XV.js +0 -11
- package/cdn/chunks/chunk.CIAUFHJF.js +0 -25
- package/cdn/chunks/chunk.CMJTKLG3.js +0 -135
- package/cdn/chunks/chunk.CMS3LNST.js +0 -21
- package/cdn/chunks/chunk.CQW3FM6X.js +0 -21
- package/cdn/chunks/chunk.D2J3JEM5.js +0 -297
- package/cdn/chunks/chunk.D77M23Z2.js +0 -21
- package/cdn/chunks/chunk.DGEBZZHK.js +0 -11
- package/cdn/chunks/chunk.DHG5ELBN.js +0 -118
- package/cdn/chunks/chunk.DMHCWDPJ.js +0 -24
- package/cdn/chunks/chunk.DNY3IQDR.js +0 -11
- package/cdn/chunks/chunk.DXAH73WR.js +0 -28
- package/cdn/chunks/chunk.E5QJKQYY.js +0 -233
- package/cdn/chunks/chunk.E6NDEZ32.js +0 -11
- package/cdn/chunks/chunk.EFUXOIZM.js +0 -120
- package/cdn/chunks/chunk.EMRJ7AQA.js +0 -499
- package/cdn/chunks/chunk.ENIBLWEO.js +0 -11
- package/cdn/chunks/chunk.ETGY6E2B.js +0 -25
- package/cdn/chunks/chunk.EXGM7HHY.js +0 -26
- package/cdn/chunks/chunk.F26PNUDI.js +0 -21
- package/cdn/chunks/chunk.FFC5T7JV.js +0 -279
- package/cdn/chunks/chunk.FFVLJBLV.js +0 -21
- package/cdn/chunks/chunk.FHNHA5DP.js +0 -291
- package/cdn/chunks/chunk.FIH6I4HM.js +0 -24
- package/cdn/chunks/chunk.FT46KSYK.js +0 -1990
- package/cdn/chunks/chunk.FY2O2IHP.js +0 -24
- package/cdn/chunks/chunk.G2CRB5N3.js +0 -21
- package/cdn/chunks/chunk.GX75U6AL.js +0 -33
- package/cdn/chunks/chunk.H52WEPT6.js +0 -299
- package/cdn/chunks/chunk.HBQFNDGP.js +0 -11
- package/cdn/chunks/chunk.HFVO4ZBD.js +0 -26
- package/cdn/chunks/chunk.HJDZ7LXM.js +0 -11
- package/cdn/chunks/chunk.HK2VXTMI.js +0 -11
- package/cdn/chunks/chunk.HV6CPFDQ.js +0 -21
- package/cdn/chunks/chunk.I2ROWPWZ.js +0 -21
- package/cdn/chunks/chunk.IAN6HYEI.js +0 -11
- package/cdn/chunks/chunk.IHBNA7OT.js +0 -24
- package/cdn/chunks/chunk.IKHJM7AW.js +0 -11
- package/cdn/chunks/chunk.IL7XDVSQ.js +0 -137
- package/cdn/chunks/chunk.IMWOHQTC.js +0 -11
- package/cdn/chunks/chunk.IP2AQB75.js +0 -346
- package/cdn/chunks/chunk.ITDSLZJA.js +0 -236
- package/cdn/chunks/chunk.ITEIMZNB.js +0 -24
- package/cdn/chunks/chunk.J2LGY6HE.js +0 -25
- package/cdn/chunks/chunk.J37FHHZL.js +0 -11
- package/cdn/chunks/chunk.JG33ENMK.js +0 -25
- package/cdn/chunks/chunk.JJVDS25F.js +0 -142
- package/cdn/chunks/chunk.JOMIXPIU.js +0 -24
- package/cdn/chunks/chunk.JQNVQYGD.js +0 -844
- package/cdn/chunks/chunk.JTQNUPZ7.js +0 -21
- package/cdn/chunks/chunk.K2T7ONDX.js +0 -25
- package/cdn/chunks/chunk.K4WMA2VO.js +0 -11
- package/cdn/chunks/chunk.K5HTH7PU.js +0 -11
- package/cdn/chunks/chunk.K7MM5CIL.js +0 -25
- package/cdn/chunks/chunk.KF7ZN5AN.js +0 -33
- package/cdn/chunks/chunk.KHPY3FCZ.js +0 -11
- package/cdn/chunks/chunk.KIH2HYQL.js +0 -11
- package/cdn/chunks/chunk.KLLNPSN6.js +0 -11
- package/cdn/chunks/chunk.KTQDGW27.js +0 -75
- package/cdn/chunks/chunk.L4A3XURZ.js +0 -11
- package/cdn/chunks/chunk.LASK4QDF.js +0 -79
- package/cdn/chunks/chunk.LDGNIYY6.js +0 -87
- package/cdn/chunks/chunk.LESPNBLD.js +0 -127
- package/cdn/chunks/chunk.LGNJOTK7.js +0 -97
- package/cdn/chunks/chunk.LMYERB4P.js +0 -28
- package/cdn/chunks/chunk.LRFZ5Q5N.js +0 -28
- package/cdn/chunks/chunk.M2GD4A7C.js +0 -21
- package/cdn/chunks/chunk.M66Y676H.js +0 -218
- package/cdn/chunks/chunk.MA5VCWDT.js +0 -904
- package/cdn/chunks/chunk.MJDO5P3Y.js +0 -336
- package/cdn/chunks/chunk.MKNVJQRV.js +0 -11
- package/cdn/chunks/chunk.MORLCPV2.js +0 -24
- package/cdn/chunks/chunk.MRH6QAK6.js +0 -11
- package/cdn/chunks/chunk.MY7Q4QYM.js +0 -292
- package/cdn/chunks/chunk.MZZL5P6U.js +0 -11
- package/cdn/chunks/chunk.N3IWUZ7D.js +0 -11
- package/cdn/chunks/chunk.N6INETFI.js +0 -11
- package/cdn/chunks/chunk.NR75GP5V.js +0 -580
- package/cdn/chunks/chunk.NTJPTSQ2.js +0 -21
- package/cdn/chunks/chunk.OGNO6RXU.js +0 -103
- package/cdn/chunks/chunk.OIPPZOUX.js +0 -1925
- package/cdn/chunks/chunk.OOAK7TAG.js +0 -44
- package/cdn/chunks/chunk.ORAFNXVQ.js +0 -11
- package/cdn/chunks/chunk.OUX3U55C.js +0 -27
- package/cdn/chunks/chunk.PCVZZ23O.js +0 -216
- package/cdn/chunks/chunk.PDAYPVGX.js +0 -255
- package/cdn/chunks/chunk.PIUQPXFB.js +0 -114
- package/cdn/chunks/chunk.PLDDJGJL.js +0 -21
- package/cdn/chunks/chunk.PMRCQP2K.js +0 -153
- package/cdn/chunks/chunk.PTDHF774.js +0 -11
- package/cdn/chunks/chunk.PWJTNRNN.js +0 -21
- package/cdn/chunks/chunk.QA2SG4GV.js +0 -21
- package/cdn/chunks/chunk.QH3RK2DO.js +0 -724
- package/cdn/chunks/chunk.QMOG3MUA.js +0 -33
- package/cdn/chunks/chunk.QNMJTGPA.js +0 -11
- package/cdn/chunks/chunk.QZNKNAYR.js +0 -174
- package/cdn/chunks/chunk.R4LTGIJN.js +0 -24
- package/cdn/chunks/chunk.R54Z66CA.js +0 -21
- package/cdn/chunks/chunk.REOYZ2NF.js +0 -11
- package/cdn/chunks/chunk.RGGYY53R.js +0 -21
- package/cdn/chunks/chunk.RI3KRELS.js +0 -50
- package/cdn/chunks/chunk.RQKR2RD4.js +0 -314
- package/cdn/chunks/chunk.RRCS6RXT.js +0 -24
- package/cdn/chunks/chunk.RTVJJZ6Y.js +0 -21
- package/cdn/chunks/chunk.S3K2QPUD.js +0 -82
- package/cdn/chunks/chunk.S3MTJ3JX.js +0 -267
- package/cdn/chunks/chunk.SNR73PJB.js +0 -11
- package/cdn/chunks/chunk.T25EJSRG.js +0 -25
- package/cdn/chunks/chunk.T2DEJZUQ.js +0 -367
- package/cdn/chunks/chunk.TJGNPTVC.js +0 -27
- package/cdn/chunks/chunk.TOXWMVSO.js +0 -11
- package/cdn/chunks/chunk.TTYENUXD.js +0 -302
- package/cdn/chunks/chunk.TX2D6ZA7.js +0 -113
- package/cdn/chunks/chunk.TYJ4GENP.js +0 -77
- package/cdn/chunks/chunk.U5DBEBHP.js +0 -24
- package/cdn/chunks/chunk.U6ZF2ZUQ.js +0 -21
- package/cdn/chunks/chunk.UER672CX.js +0 -197
- package/cdn/chunks/chunk.UL3S7JAK.js +0 -11
- package/cdn/chunks/chunk.V6KKQLCW.js +0 -402
- package/cdn/chunks/chunk.VAGKIF7T.js +0 -29
- package/cdn/chunks/chunk.VAOBMMTG.js +0 -27
- package/cdn/chunks/chunk.VDZNRVOZ.js +0 -11
- package/cdn/chunks/chunk.VFEGQYAU.js +0 -11
- package/cdn/chunks/chunk.VUMLXHGP.js +0 -24
- package/cdn/chunks/chunk.W3NAWUUX.js +0 -21
- package/cdn/chunks/chunk.W43ZPIGE.js +0 -49
- package/cdn/chunks/chunk.WHGCIIVG.js +0 -11
- package/cdn/chunks/chunk.WIQCKZN6.js +0 -11
- package/cdn/chunks/chunk.WOPALS2B.js +0 -11
- package/cdn/chunks/chunk.WPXYY4P2.js +0 -11
- package/cdn/chunks/chunk.WULFSESL.js +0 -122
- package/cdn/chunks/chunk.XBCB4RD7.js +0 -27
- package/cdn/chunks/chunk.Y2FZNPGC.js +0 -11
- package/cdn/chunks/chunk.Y355LHWB.js +0 -29
- package/cdn/chunks/chunk.Y7YJM35A.js +0 -11
- package/cdn/chunks/chunk.YBBTK6QI.js +0 -67
- package/cdn/chunks/chunk.YLOFGQFP.js +0 -11
- package/cdn/chunks/chunk.YWKZIDUU.js +0 -11
- package/cdn/chunks/chunk.Z3XATDT3.js +0 -11
- package/cdn/chunks/chunk.ZD56QHO4.js +0 -11
- package/cdn/chunks/chunk.ZGWG5PAJ.js +0 -11
- package/cdn/chunks/chunk.ZQKLA3LH.js +0 -93
- package/cdn/chunks/chunk.ZR6B64D4.js +0 -25
- package/dist/chunks/chunk.22OSKTOA.js +0 -11
- package/dist/chunks/chunk.23FXE5ZY.js +0 -21
- package/dist/chunks/chunk.2IFTPHVC.js +0 -73
- package/dist/chunks/chunk.2IWUJRBL.js +0 -126
- package/dist/chunks/chunk.2P6M6LDW.js +0 -100
- package/dist/chunks/chunk.2RTNOC23.js +0 -11
- package/dist/chunks/chunk.2V2FEWD3.js +0 -22
- package/dist/chunks/chunk.2VYEL3CU.js +0 -11
- package/dist/chunks/chunk.3EPAE4SO.js +0 -27
- package/dist/chunks/chunk.3HMZLVIU.js +0 -11
- package/dist/chunks/chunk.3QKGSZIF.js +0 -11
- package/dist/chunks/chunk.3QOKTHE5.js +0 -813
- package/dist/chunks/chunk.443BG3XY.js +0 -24
- package/dist/chunks/chunk.47HCG3F7.js +0 -80
- package/dist/chunks/chunk.4DYOIYIT.js +0 -11
- package/dist/chunks/chunk.4L2GCJHN.js +0 -11
- package/dist/chunks/chunk.4NXMSRVR.js +0 -11
- package/dist/chunks/chunk.4PWXF3Q4.js +0 -11
- package/dist/chunks/chunk.4VZQSV7Z.js +0 -11
- package/dist/chunks/chunk.566HL6IU.js +0 -11
- package/dist/chunks/chunk.5B3MJCVI.js +0 -29
- package/dist/chunks/chunk.5LN62I4C.js +0 -25
- package/dist/chunks/chunk.5U6DJVWT.js +0 -961
- package/dist/chunks/chunk.66SMO5J5.js +0 -11
- package/dist/chunks/chunk.6BTUETYY.js +0 -134
- package/dist/chunks/chunk.6FVNNP6B.js +0 -11
- package/dist/chunks/chunk.6GSY6T23.js +0 -11
- package/dist/chunks/chunk.6LA53HES.js +0 -42
- package/dist/chunks/chunk.6QHZINYJ.js +0 -11
- package/dist/chunks/chunk.6RXRLW4R.js +0 -21
- package/dist/chunks/chunk.6S6E7JPQ.js +0 -24
- package/dist/chunks/chunk.6SSSWHH3.js +0 -11
- package/dist/chunks/chunk.6TE75OXU.js +0 -63
- package/dist/chunks/chunk.7T33LRVS.js +0 -21
- package/dist/chunks/chunk.A4DDHYWV.js +0 -25
- package/dist/chunks/chunk.APJOCMOJ.js +0 -135
- package/dist/chunks/chunk.AQTBHKIX.js +0 -147
- package/dist/chunks/chunk.AT2AQTHE.js +0 -21
- package/dist/chunks/chunk.AUZW5ZT4.js +0 -11
- package/dist/chunks/chunk.BLLV7ATN.js +0 -11
- package/dist/chunks/chunk.BSJNZ44O.js +0 -27
- package/dist/chunks/chunk.BSKADJF5.js +0 -25
- package/dist/chunks/chunk.BWOTWKEQ.js +0 -11
- package/dist/chunks/chunk.BXYIVQQS.js +0 -949
- package/dist/chunks/chunk.C26EOGKW.js +0 -11
- package/dist/chunks/chunk.C4XVJ4TL.js +0 -21
- package/dist/chunks/chunk.C5UBYEW5.js +0 -11
- package/dist/chunks/chunk.CJ5EQQ3H.js +0 -21
- package/dist/chunks/chunk.CLLZHWNN.js +0 -27
- package/dist/chunks/chunk.COAVB4QU.js +0 -11
- package/dist/chunks/chunk.COYWWZ4F.js +0 -11
- package/dist/chunks/chunk.CTHO7W6J.js +0 -119
- package/dist/chunks/chunk.CVTWEYGT.js +0 -28
- package/dist/chunks/chunk.CZ5JWPEK.js +0 -11
- package/dist/chunks/chunk.CZUVK5UK.js +0 -370
- package/dist/chunks/chunk.D2CG4YG6.js +0 -28
- package/dist/chunks/chunk.D2ZFZLES.js +0 -11
- package/dist/chunks/chunk.DCFMVWOP.js +0 -67
- package/dist/chunks/chunk.DFF3CE3I.js +0 -11
- package/dist/chunks/chunk.DFWW2K67.js +0 -294
- package/dist/chunks/chunk.DFZIEDDL.js +0 -24
- package/dist/chunks/chunk.DRPNKTYW.js +0 -11
- package/dist/chunks/chunk.E24KVYP7.js +0 -11
- package/dist/chunks/chunk.EHIMRLNZ.js +0 -11
- package/dist/chunks/chunk.EIM6GVYY.js +0 -274
- package/dist/chunks/chunk.EMHPXFXA.js +0 -11
- package/dist/chunks/chunk.EMO3IDAD.js +0 -151
- package/dist/chunks/chunk.ENWZHN5Y.js +0 -21
- package/dist/chunks/chunk.EVGUHOZK.js +0 -21
- package/dist/chunks/chunk.F3SDIC26.js +0 -21
- package/dist/chunks/chunk.FAS6MMWZ.js +0 -448
- package/dist/chunks/chunk.FG5UM3UF.js +0 -29
- package/dist/chunks/chunk.FPRLED6Z.js +0 -25
- package/dist/chunks/chunk.FQAIDFSL.js +0 -315
- package/dist/chunks/chunk.GA2J6USG.js +0 -24
- package/dist/chunks/chunk.GCX47HQS.js +0 -109
- package/dist/chunks/chunk.GJE7V6XT.js +0 -24
- package/dist/chunks/chunk.GSFUUXF5.js +0 -21
- package/dist/chunks/chunk.GX6A6EEP.js +0 -11
- package/dist/chunks/chunk.H25FDNTY.js +0 -11
- package/dist/chunks/chunk.H3PZKEDZ.js +0 -45
- package/dist/chunks/chunk.HGV3CK47.js +0 -117
- package/dist/chunks/chunk.HH2YZ4Q7.js +0 -59
- package/dist/chunks/chunk.HUECEAWX.js +0 -21
- package/dist/chunks/chunk.HW5QBYEG.js +0 -22
- package/dist/chunks/chunk.I6WTZ6I5.js +0 -361
- package/dist/chunks/chunk.ID63465M.js +0 -29
- package/dist/chunks/chunk.IEFLVIDJ.js +0 -11
- package/dist/chunks/chunk.IRYCE4UP.js +0 -33
- package/dist/chunks/chunk.J654WQKM.js +0 -837
- package/dist/chunks/chunk.J6N4ZBNW.js +0 -21
- package/dist/chunks/chunk.JAB6RREB.js +0 -11
- package/dist/chunks/chunk.JBYMA3G4.js +0 -11
- package/dist/chunks/chunk.JIPOXIFG.js +0 -24
- package/dist/chunks/chunk.JOY5OQX3.js +0 -384
- package/dist/chunks/chunk.JV55OYEI.js +0 -11
- package/dist/chunks/chunk.K4MAKWA3.js +0 -181
- package/dist/chunks/chunk.KC7WW3LQ.js +0 -94
- package/dist/chunks/chunk.KI6QCUE5.js +0 -231
- package/dist/chunks/chunk.KJDBGQWI.js +0 -21
- package/dist/chunks/chunk.KJIVMQZ6.js +0 -11
- package/dist/chunks/chunk.KJV5M5QV.js +0 -25
- package/dist/chunks/chunk.KSNHKHZA.js +0 -11
- package/dist/chunks/chunk.L6GK7VDR.js +0 -11
- package/dist/chunks/chunk.LL37UIJJ.js +0 -293
- package/dist/chunks/chunk.LQIY4EVT.js +0 -34
- package/dist/chunks/chunk.LSWIAENP.js +0 -85
- package/dist/chunks/chunk.LWVPDJEX.js +0 -28
- package/dist/chunks/chunk.LYC3Q22B.js +0 -21
- package/dist/chunks/chunk.M7IFJS5L.js +0 -75
- package/dist/chunks/chunk.N6T2WV45.js +0 -11
- package/dist/chunks/chunk.N73H6TX3.js +0 -11
- package/dist/chunks/chunk.NAIWAF4P.js +0 -11
- package/dist/chunks/chunk.NEDL75G6.js +0 -45
- package/dist/chunks/chunk.NEEV3UDW.js +0 -24
- package/dist/chunks/chunk.NFRXMSGG.js +0 -11
- package/dist/chunks/chunk.NTFCDGAW.js +0 -280
- package/dist/chunks/chunk.NZIJUWZA.js +0 -91
- package/dist/chunks/chunk.O2KQNBSA.js +0 -290
- package/dist/chunks/chunk.OOAK7TAG.js +0 -44
- package/dist/chunks/chunk.OTHXEKSZ.js +0 -29
- package/dist/chunks/chunk.OU7LGGNI.js +0 -27
- package/dist/chunks/chunk.P2H5EV2D.js +0 -33
- package/dist/chunks/chunk.P7I3HUXA.js +0 -11
- package/dist/chunks/chunk.P7X3TA7E.js +0 -11
- package/dist/chunks/chunk.PNJE4ELK.js +0 -259
- package/dist/chunks/chunk.PVHGZ5JS.js +0 -28
- package/dist/chunks/chunk.PXTMBJHG.js +0 -896
- package/dist/chunks/chunk.Q47RFVA3.js +0 -24
- package/dist/chunks/chunk.Q4DVCCSB.js +0 -93
- package/dist/chunks/chunk.QBVAJIAL.js +0 -24
- package/dist/chunks/chunk.QE475GMD.js +0 -11
- package/dist/chunks/chunk.QGOW324Q.js +0 -21
- package/dist/chunks/chunk.QHLFYGFT.js +0 -11
- package/dist/chunks/chunk.QHV4BYOJ.js +0 -24
- package/dist/chunks/chunk.QKWQ7IL6.js +0 -11
- package/dist/chunks/chunk.QUSCPGOY.js +0 -116
- package/dist/chunks/chunk.QWG4ZSXL.js +0 -25
- package/dist/chunks/chunk.R7GLGFX3.js +0 -26
- package/dist/chunks/chunk.RAC55DPO.js +0 -11
- package/dist/chunks/chunk.RKRSHSG7.js +0 -21
- package/dist/chunks/chunk.RRQFCXQW.js +0 -491
- package/dist/chunks/chunk.RS65JZNN.js +0 -170
- package/dist/chunks/chunk.RSPX3F4H.js +0 -11
- package/dist/chunks/chunk.RVDEYRE5.js +0 -90
- package/dist/chunks/chunk.S435UEET.js +0 -11
- package/dist/chunks/chunk.SQFU4YFR.js +0 -11
- package/dist/chunks/chunk.STTJ3WBR.js +0 -26
- package/dist/chunks/chunk.T63PGZTU.js +0 -286
- package/dist/chunks/chunk.T6IKGEMM.js +0 -24
- package/dist/chunks/chunk.TEJJRYLB.js +0 -213
- package/dist/chunks/chunk.TGQJNS7C.js +0 -25
- package/dist/chunks/chunk.TOXMX3GX.js +0 -11
- package/dist/chunks/chunk.TWLQ3S2Z.js +0 -28
- package/dist/chunks/chunk.U5UTW3AG.js +0 -26
- package/dist/chunks/chunk.UCUKTEAO.js +0 -33
- package/dist/chunks/chunk.UDB7PJ4Y.js +0 -24
- package/dist/chunks/chunk.UELWP6XU.js +0 -550
- package/dist/chunks/chunk.UL54CAPL.js +0 -397
- package/dist/chunks/chunk.UPW7CV52.js +0 -25
- package/dist/chunks/chunk.UWMB6XH2.js +0 -25
- package/dist/chunks/chunk.V3GDZOUY.js +0 -11
- package/dist/chunks/chunk.V3K7D3JI.js +0 -192
- package/dist/chunks/chunk.V63QPPFX.js +0 -100
- package/dist/chunks/chunk.VDKDOHHX.js +0 -21
- package/dist/chunks/chunk.VYSA5BID.js +0 -111
- package/dist/chunks/chunk.W4L3RVJ4.js +0 -11
- package/dist/chunks/chunk.WFTXTQWN.js +0 -21
- package/dist/chunks/chunk.WOO3PCXE.js +0 -11
- package/dist/chunks/chunk.WQJB3ZZ3.js +0 -25
- package/dist/chunks/chunk.WUJVDUTE.js +0 -11
- package/dist/chunks/chunk.X446PNAO.js +0 -21
- package/dist/chunks/chunk.X6RAZK5J.js +0 -11
- package/dist/chunks/chunk.XDXCP72H.js +0 -337
- package/dist/chunks/chunk.XEC75FAV.js +0 -247
- package/dist/chunks/chunk.XKJTPILX.js +0 -75
- package/dist/chunks/chunk.XWGCMJ6N.js +0 -11
- package/dist/chunks/chunk.YBPHES54.js +0 -11
- package/dist/chunks/chunk.YDJD3PTT.js +0 -21
- package/dist/chunks/chunk.YL24HYI6.js +0 -113
- package/dist/chunks/chunk.Z6NB2VZ7.js +0 -33
- package/dist/chunks/chunk.ZEBHW4LW.js +0 -417
- package/dist/chunks/chunk.ZIR4PZBK.js +0 -311
- package/dist/chunks/chunk.ZPXHU6QB.js +0 -11
- package/dist/chunks/chunk.ZRRTANJR.js +0 -11
- package/dist/chunks/chunk.ZT3WFCUF.js +0 -21
- package/dist/chunks/chunk.ZULEDGVO.js +0 -227
- package/dist/chunks/chunk.ZY7XBI2P.js +0 -50
|
@@ -0,0 +1,550 @@
|
|
|
1
|
+
import {
|
|
2
|
+
clamp
|
|
3
|
+
} from "./chunk.HF7GESMZ.js";
|
|
4
|
+
import {
|
|
5
|
+
AutoplayController
|
|
6
|
+
} from "./chunk.F4VGSDIW.js";
|
|
7
|
+
import {
|
|
8
|
+
carousel_styles_default
|
|
9
|
+
} from "./chunk.OSSEP4TK.js";
|
|
10
|
+
import {
|
|
11
|
+
waitForEvent
|
|
12
|
+
} from "./chunk.B4BZKR24.js";
|
|
13
|
+
import {
|
|
14
|
+
prefersReducedMotion
|
|
15
|
+
} from "./chunk.TJQYJP53.js";
|
|
16
|
+
import {
|
|
17
|
+
LocalizeController
|
|
18
|
+
} from "./chunk.2H4HZOD6.js";
|
|
19
|
+
import {
|
|
20
|
+
CwIcon
|
|
21
|
+
} from "./chunk.65WIBETF.js";
|
|
22
|
+
import {
|
|
23
|
+
watch
|
|
24
|
+
} from "./chunk.GQZ7EGMM.js";
|
|
25
|
+
import {
|
|
26
|
+
component_styles_default
|
|
27
|
+
} from "./chunk.TUVJKY7S.js";
|
|
28
|
+
import {
|
|
29
|
+
CwElement
|
|
30
|
+
} from "./chunk.OO6TR3ZT.js";
|
|
31
|
+
import {
|
|
32
|
+
__decorateClass
|
|
33
|
+
} from "./chunk.Q44EX5TP.js";
|
|
34
|
+
|
|
35
|
+
// src/components/carousel/carousel.component.ts
|
|
36
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
37
|
+
import { eventOptions, property, query, state } from "lit/decorators.js";
|
|
38
|
+
import { html } from "lit";
|
|
39
|
+
import { map } from "lit/directives/map.js";
|
|
40
|
+
import { range } from "lit/directives/range.js";
|
|
41
|
+
var CwCarousel = class extends CwElement {
|
|
42
|
+
constructor() {
|
|
43
|
+
super(...arguments);
|
|
44
|
+
this.loop = false;
|
|
45
|
+
this.navigation = false;
|
|
46
|
+
this.pagination = false;
|
|
47
|
+
this.autoplay = false;
|
|
48
|
+
this.autoplayInterval = 3e3;
|
|
49
|
+
this.slidesPerPage = 1;
|
|
50
|
+
this.slidesPerMove = 1;
|
|
51
|
+
this.orientation = "horizontal";
|
|
52
|
+
this.mouseDragging = false;
|
|
53
|
+
this.activeSlide = 0;
|
|
54
|
+
this.scrolling = false;
|
|
55
|
+
this.dragging = false;
|
|
56
|
+
this.autoplayController = new AutoplayController(this, () => this.next());
|
|
57
|
+
this.dragStartPosition = [-1, -1];
|
|
58
|
+
this.localize = new LocalizeController(this);
|
|
59
|
+
this.pendingSlideChange = false;
|
|
60
|
+
this.handleMouseDrag = (event) => {
|
|
61
|
+
if (!this.dragging) {
|
|
62
|
+
this.scrollContainer.style.setProperty("scroll-snap-type", "none");
|
|
63
|
+
this.dragging = true;
|
|
64
|
+
this.dragStartPosition = [event.clientX, event.clientY];
|
|
65
|
+
}
|
|
66
|
+
this.scrollContainer.scrollBy({
|
|
67
|
+
left: -event.movementX,
|
|
68
|
+
top: -event.movementY,
|
|
69
|
+
behavior: "instant"
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
this.handleMouseDragEnd = () => {
|
|
73
|
+
const scrollContainer = this.scrollContainer;
|
|
74
|
+
document.removeEventListener("pointermove", this.handleMouseDrag, { capture: true });
|
|
75
|
+
const startLeft = scrollContainer.scrollLeft;
|
|
76
|
+
const startTop = scrollContainer.scrollTop;
|
|
77
|
+
scrollContainer.style.removeProperty("scroll-snap-type");
|
|
78
|
+
scrollContainer.style.setProperty("overflow", "hidden");
|
|
79
|
+
const finalLeft = scrollContainer.scrollLeft;
|
|
80
|
+
const finalTop = scrollContainer.scrollTop;
|
|
81
|
+
scrollContainer.style.removeProperty("overflow");
|
|
82
|
+
scrollContainer.style.setProperty("scroll-snap-type", "none");
|
|
83
|
+
scrollContainer.scrollTo({ left: startLeft, top: startTop, behavior: "instant" });
|
|
84
|
+
requestAnimationFrame(async () => {
|
|
85
|
+
if (startLeft !== finalLeft || startTop !== finalTop) {
|
|
86
|
+
scrollContainer.scrollTo({
|
|
87
|
+
left: finalLeft,
|
|
88
|
+
top: finalTop,
|
|
89
|
+
behavior: prefersReducedMotion() ? "auto" : "smooth"
|
|
90
|
+
});
|
|
91
|
+
await waitForEvent(scrollContainer, "scrollend");
|
|
92
|
+
}
|
|
93
|
+
scrollContainer.style.removeProperty("scroll-snap-type");
|
|
94
|
+
this.dragging = false;
|
|
95
|
+
this.dragStartPosition = [-1, -1];
|
|
96
|
+
this.handleScrollEnd();
|
|
97
|
+
});
|
|
98
|
+
};
|
|
99
|
+
this.handleSlotChange = (mutations) => {
|
|
100
|
+
const needsInitialization = mutations.some(
|
|
101
|
+
(mutation) => [...mutation.addedNodes, ...mutation.removedNodes].some(
|
|
102
|
+
(el) => this.isCarouselItem(el) && !el.hasAttribute("data-clone")
|
|
103
|
+
)
|
|
104
|
+
);
|
|
105
|
+
if (needsInitialization) {
|
|
106
|
+
this.initializeSlides();
|
|
107
|
+
}
|
|
108
|
+
this.requestUpdate();
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
connectedCallback() {
|
|
112
|
+
super.connectedCallback();
|
|
113
|
+
this.setAttribute("role", "region");
|
|
114
|
+
this.setAttribute("aria-label", this.localize.term("carousel"));
|
|
115
|
+
}
|
|
116
|
+
disconnectedCallback() {
|
|
117
|
+
var _a;
|
|
118
|
+
super.disconnectedCallback();
|
|
119
|
+
(_a = this.mutationObserver) == null ? void 0 : _a.disconnect();
|
|
120
|
+
}
|
|
121
|
+
firstUpdated() {
|
|
122
|
+
this.initializeSlides();
|
|
123
|
+
this.mutationObserver = new MutationObserver(this.handleSlotChange);
|
|
124
|
+
this.mutationObserver.observe(this, {
|
|
125
|
+
childList: true,
|
|
126
|
+
subtree: true
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
willUpdate(changedProperties) {
|
|
130
|
+
if (changedProperties.has("slidesPerMove") || changedProperties.has("slidesPerPage")) {
|
|
131
|
+
this.slidesPerMove = Math.min(this.slidesPerMove, this.slidesPerPage);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
getPageCount() {
|
|
135
|
+
const slidesCount = this.getSlides().length;
|
|
136
|
+
const { slidesPerPage, slidesPerMove, loop } = this;
|
|
137
|
+
const pages = loop ? slidesCount / slidesPerMove : (slidesCount - slidesPerPage) / slidesPerMove + 1;
|
|
138
|
+
return Math.ceil(pages);
|
|
139
|
+
}
|
|
140
|
+
getCurrentPage() {
|
|
141
|
+
return Math.ceil(this.activeSlide / this.slidesPerMove);
|
|
142
|
+
}
|
|
143
|
+
canScrollNext() {
|
|
144
|
+
return this.loop || this.getCurrentPage() < this.getPageCount() - 1;
|
|
145
|
+
}
|
|
146
|
+
canScrollPrev() {
|
|
147
|
+
return this.loop || this.getCurrentPage() > 0;
|
|
148
|
+
}
|
|
149
|
+
/** @internal Gets all carousel items. */
|
|
150
|
+
getSlides({ excludeClones = true } = {}) {
|
|
151
|
+
return [...this.children].filter(
|
|
152
|
+
(el) => this.isCarouselItem(el) && (!excludeClones || !el.hasAttribute("data-clone"))
|
|
153
|
+
);
|
|
154
|
+
}
|
|
155
|
+
handleClick(event) {
|
|
156
|
+
if (this.dragging && this.dragStartPosition[0] > 0 && this.dragStartPosition[1] > 0) {
|
|
157
|
+
const deltaX = Math.abs(this.dragStartPosition[0] - event.clientX);
|
|
158
|
+
const deltaY = Math.abs(this.dragStartPosition[1] - event.clientY);
|
|
159
|
+
const delta = Math.sqrt(deltaX * deltaX + deltaY * deltaY);
|
|
160
|
+
if (delta >= 10) {
|
|
161
|
+
event.preventDefault();
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
handleKeyDown(event) {
|
|
166
|
+
if (["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown", "Home", "End"].includes(event.key)) {
|
|
167
|
+
const target = event.target;
|
|
168
|
+
const isRtl = this.localize.dir() === "rtl";
|
|
169
|
+
const isFocusInPagination = target.closest('[part~="pagination-item"]') !== null;
|
|
170
|
+
const isNext = event.key === "ArrowDown" || !isRtl && event.key === "ArrowRight" || isRtl && event.key === "ArrowLeft";
|
|
171
|
+
const isPrevious = event.key === "ArrowUp" || !isRtl && event.key === "ArrowLeft" || isRtl && event.key === "ArrowRight";
|
|
172
|
+
event.preventDefault();
|
|
173
|
+
if (isPrevious) {
|
|
174
|
+
this.previous();
|
|
175
|
+
}
|
|
176
|
+
if (isNext) {
|
|
177
|
+
this.next();
|
|
178
|
+
}
|
|
179
|
+
if (event.key === "Home") {
|
|
180
|
+
this.goToSlide(0);
|
|
181
|
+
}
|
|
182
|
+
if (event.key === "End") {
|
|
183
|
+
this.goToSlide(this.getSlides().length - 1);
|
|
184
|
+
}
|
|
185
|
+
if (isFocusInPagination) {
|
|
186
|
+
this.updateComplete.then(() => {
|
|
187
|
+
var _a;
|
|
188
|
+
const activePaginationItem = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(
|
|
189
|
+
'[part~="pagination-item--active"]'
|
|
190
|
+
);
|
|
191
|
+
if (activePaginationItem) {
|
|
192
|
+
activePaginationItem.focus();
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
handleMouseDragStart(event) {
|
|
199
|
+
const canDrag = this.mouseDragging && event.button === 0;
|
|
200
|
+
if (canDrag) {
|
|
201
|
+
event.preventDefault();
|
|
202
|
+
document.addEventListener("pointermove", this.handleMouseDrag, { capture: true, passive: true });
|
|
203
|
+
document.addEventListener("pointerup", this.handleMouseDragEnd, { capture: true, once: true });
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
handleScroll() {
|
|
207
|
+
this.scrolling = true;
|
|
208
|
+
if (!this.pendingSlideChange) {
|
|
209
|
+
this.synchronizeSlides();
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
/** @internal Synchronizes the slides with the IntersectionObserver API. */
|
|
213
|
+
synchronizeSlides() {
|
|
214
|
+
const io = new IntersectionObserver(
|
|
215
|
+
(entries) => {
|
|
216
|
+
io.disconnect();
|
|
217
|
+
for (const entry of entries) {
|
|
218
|
+
const slide = entry.target;
|
|
219
|
+
slide.toggleAttribute("inert", !entry.isIntersecting);
|
|
220
|
+
slide.classList.toggle("--in-view", entry.isIntersecting);
|
|
221
|
+
slide.setAttribute("aria-hidden", entry.isIntersecting ? "false" : "true");
|
|
222
|
+
}
|
|
223
|
+
const firstIntersecting = entries.find((entry) => entry.isIntersecting);
|
|
224
|
+
if (!firstIntersecting) {
|
|
225
|
+
return;
|
|
226
|
+
}
|
|
227
|
+
const slidesWithClones = this.getSlides({ excludeClones: false });
|
|
228
|
+
const slidesCount = this.getSlides().length;
|
|
229
|
+
const slideIndex = slidesWithClones.indexOf(firstIntersecting.target);
|
|
230
|
+
const normalizedIndex = this.loop ? slideIndex - this.slidesPerPage : slideIndex;
|
|
231
|
+
this.activeSlide = (Math.ceil(normalizedIndex / this.slidesPerMove) * this.slidesPerMove + slidesCount) % slidesCount;
|
|
232
|
+
if (!this.scrolling) {
|
|
233
|
+
if (this.loop && firstIntersecting.target.hasAttribute("data-clone")) {
|
|
234
|
+
const clonePosition = Number(firstIntersecting.target.getAttribute("data-clone"));
|
|
235
|
+
this.goToSlide(clonePosition, "instant");
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
root: this.scrollContainer,
|
|
241
|
+
threshold: 0.6
|
|
242
|
+
}
|
|
243
|
+
);
|
|
244
|
+
this.getSlides({ excludeClones: false }).forEach((slide) => {
|
|
245
|
+
io.observe(slide);
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
handleScrollEnd() {
|
|
249
|
+
if (!this.scrolling || this.dragging) return;
|
|
250
|
+
this.scrolling = false;
|
|
251
|
+
this.pendingSlideChange = false;
|
|
252
|
+
this.synchronizeSlides();
|
|
253
|
+
}
|
|
254
|
+
isCarouselItem(node) {
|
|
255
|
+
return node instanceof Element && node.tagName.toLowerCase() === "cw-carousel-item";
|
|
256
|
+
}
|
|
257
|
+
initializeSlides() {
|
|
258
|
+
this.getSlides({ excludeClones: false }).forEach((slide, index) => {
|
|
259
|
+
slide.classList.remove("--in-view");
|
|
260
|
+
slide.classList.remove("--is-active");
|
|
261
|
+
slide.setAttribute("role", "group");
|
|
262
|
+
slide.setAttribute("aria-label", this.localize.term("slideNum", index + 1));
|
|
263
|
+
if (this.pagination) {
|
|
264
|
+
slide.setAttribute("id", `slide-${index + 1}`);
|
|
265
|
+
slide.setAttribute("role", "tabpanel");
|
|
266
|
+
slide.removeAttribute("aria-label");
|
|
267
|
+
slide.setAttribute("aria-labelledby", `tab-${index + 1}`);
|
|
268
|
+
}
|
|
269
|
+
if (slide.hasAttribute("data-clone")) {
|
|
270
|
+
slide.remove();
|
|
271
|
+
}
|
|
272
|
+
});
|
|
273
|
+
this.updateSlidesSnap();
|
|
274
|
+
if (this.loop) {
|
|
275
|
+
this.createClones();
|
|
276
|
+
}
|
|
277
|
+
this.goToSlide(this.activeSlide, "auto");
|
|
278
|
+
this.synchronizeSlides();
|
|
279
|
+
}
|
|
280
|
+
createClones() {
|
|
281
|
+
const slides = this.getSlides();
|
|
282
|
+
const slidesPerPage = this.slidesPerPage;
|
|
283
|
+
const lastSlides = slides.slice(-slidesPerPage);
|
|
284
|
+
const firstSlides = slides.slice(0, slidesPerPage);
|
|
285
|
+
lastSlides.reverse().forEach((slide, i) => {
|
|
286
|
+
const clone = slide.cloneNode(true);
|
|
287
|
+
clone.setAttribute("data-clone", String(slides.length - i - 1));
|
|
288
|
+
this.prepend(clone);
|
|
289
|
+
});
|
|
290
|
+
firstSlides.forEach((slide, i) => {
|
|
291
|
+
const clone = slide.cloneNode(true);
|
|
292
|
+
clone.setAttribute("data-clone", String(i));
|
|
293
|
+
this.append(clone);
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
handleSlideChange() {
|
|
297
|
+
const slides = this.getSlides();
|
|
298
|
+
slides.forEach((slide, i) => {
|
|
299
|
+
slide.classList.toggle("--is-active", i === this.activeSlide);
|
|
300
|
+
});
|
|
301
|
+
if (this.hasUpdated) {
|
|
302
|
+
this.emit("cw-slide-change", {
|
|
303
|
+
detail: {
|
|
304
|
+
index: this.activeSlide,
|
|
305
|
+
slide: slides[this.activeSlide]
|
|
306
|
+
}
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
updateSlidesSnap() {
|
|
311
|
+
const slides = this.getSlides();
|
|
312
|
+
const slidesPerMove = this.slidesPerMove;
|
|
313
|
+
slides.forEach((slide, i) => {
|
|
314
|
+
const shouldSnap = (i + slidesPerMove) % slidesPerMove === 0;
|
|
315
|
+
if (shouldSnap) {
|
|
316
|
+
slide.style.removeProperty("scroll-snap-align");
|
|
317
|
+
} else {
|
|
318
|
+
slide.style.setProperty("scroll-snap-align", "none");
|
|
319
|
+
}
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
handleAutoplayChange() {
|
|
323
|
+
this.autoplayController.stop();
|
|
324
|
+
if (this.autoplay) {
|
|
325
|
+
this.autoplayController.start(this.autoplayInterval);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* Move the carousel backward by `slides-per-move` slides.
|
|
330
|
+
*
|
|
331
|
+
* @param behavior - The behavior used for scrolling.
|
|
332
|
+
*/
|
|
333
|
+
previous(behavior = "smooth") {
|
|
334
|
+
this.goToSlide(this.activeSlide - this.slidesPerMove, behavior);
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* Move the carousel forward by `slides-per-move` slides.
|
|
338
|
+
*
|
|
339
|
+
* @param behavior - The behavior used for scrolling.
|
|
340
|
+
*/
|
|
341
|
+
next(behavior = "smooth") {
|
|
342
|
+
this.goToSlide(this.activeSlide + this.slidesPerMove, behavior);
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* Scrolls the carousel to the slide specified by `index`.
|
|
346
|
+
*
|
|
347
|
+
* @param index - The slide index.
|
|
348
|
+
* @param behavior - The behavior used for scrolling.
|
|
349
|
+
*/
|
|
350
|
+
goToSlide(index, behavior = "smooth") {
|
|
351
|
+
const { slidesPerPage, loop } = this;
|
|
352
|
+
const slides = this.getSlides();
|
|
353
|
+
const slidesWithClones = this.getSlides({ excludeClones: false });
|
|
354
|
+
if (!slides.length) {
|
|
355
|
+
return;
|
|
356
|
+
}
|
|
357
|
+
const newActiveSlide = loop ? (index + slides.length) % slides.length : clamp(index, 0, slides.length - slidesPerPage);
|
|
358
|
+
this.activeSlide = newActiveSlide;
|
|
359
|
+
const isRtl = this.localize.dir() === "rtl";
|
|
360
|
+
const nextSlideIndex = clamp(
|
|
361
|
+
index + (loop ? slidesPerPage : 0) + (isRtl ? slidesPerPage - 1 : 0),
|
|
362
|
+
0,
|
|
363
|
+
slidesWithClones.length - 1
|
|
364
|
+
);
|
|
365
|
+
const nextSlide = slidesWithClones[nextSlideIndex];
|
|
366
|
+
this.scrollToSlide(nextSlide, prefersReducedMotion() ? "auto" : behavior);
|
|
367
|
+
}
|
|
368
|
+
scrollToSlide(slide, behavior = "smooth") {
|
|
369
|
+
this.pendingSlideChange = true;
|
|
370
|
+
window.requestAnimationFrame(() => {
|
|
371
|
+
if (!this.scrollContainer) {
|
|
372
|
+
return;
|
|
373
|
+
}
|
|
374
|
+
const scrollContainer = this.scrollContainer;
|
|
375
|
+
const scrollContainerRect = scrollContainer.getBoundingClientRect();
|
|
376
|
+
const nextSlideRect = slide.getBoundingClientRect();
|
|
377
|
+
const nextLeft = nextSlideRect.left - scrollContainerRect.left;
|
|
378
|
+
const nextTop = nextSlideRect.top - scrollContainerRect.top;
|
|
379
|
+
if (nextLeft || nextTop) {
|
|
380
|
+
this.pendingSlideChange = true;
|
|
381
|
+
scrollContainer.scrollTo({
|
|
382
|
+
left: nextLeft + scrollContainer.scrollLeft,
|
|
383
|
+
top: nextTop + scrollContainer.scrollTop,
|
|
384
|
+
behavior
|
|
385
|
+
});
|
|
386
|
+
} else {
|
|
387
|
+
this.pendingSlideChange = false;
|
|
388
|
+
}
|
|
389
|
+
});
|
|
390
|
+
}
|
|
391
|
+
render() {
|
|
392
|
+
const { slidesPerMove, scrolling } = this;
|
|
393
|
+
const pagesCount = this.getPageCount();
|
|
394
|
+
const currentPage = this.getCurrentPage();
|
|
395
|
+
const prevEnabled = this.canScrollPrev();
|
|
396
|
+
const nextEnabled = this.canScrollNext();
|
|
397
|
+
const isLtr = this.localize.dir() === "ltr";
|
|
398
|
+
return html`
|
|
399
|
+
<div part="base" class="carousel">
|
|
400
|
+
<div
|
|
401
|
+
id="scroll-container"
|
|
402
|
+
part="scroll-container"
|
|
403
|
+
class="${classMap({
|
|
404
|
+
carousel__slides: true,
|
|
405
|
+
"carousel__slides--horizontal": this.orientation === "horizontal",
|
|
406
|
+
"carousel__slides--vertical": this.orientation === "vertical",
|
|
407
|
+
"carousel__slides--dragging": this.dragging
|
|
408
|
+
})}"
|
|
409
|
+
style="--slides-per-page: ${this.slidesPerPage};"
|
|
410
|
+
aria-busy="${scrolling ? "true" : "false"}"
|
|
411
|
+
aria-atomic="true"
|
|
412
|
+
tabindex="0"
|
|
413
|
+
@keydown=${this.handleKeyDown}
|
|
414
|
+
@mousedown="${this.handleMouseDragStart}"
|
|
415
|
+
@scroll="${this.handleScroll}"
|
|
416
|
+
@scrollend=${this.handleScrollEnd}
|
|
417
|
+
@click=${this.handleClick}
|
|
418
|
+
>
|
|
419
|
+
<slot></slot>
|
|
420
|
+
</div>
|
|
421
|
+
|
|
422
|
+
${this.navigation ? html`
|
|
423
|
+
<div part="navigation" class="carousel__navigation">
|
|
424
|
+
<button
|
|
425
|
+
part="navigation-button navigation-button--previous"
|
|
426
|
+
class="${classMap({
|
|
427
|
+
"carousel__navigation-button": true,
|
|
428
|
+
"carousel__navigation-button--previous": true,
|
|
429
|
+
"carousel__navigation-button--disabled": !prevEnabled
|
|
430
|
+
})}"
|
|
431
|
+
aria-label="${this.localize.term("previousSlide")}"
|
|
432
|
+
aria-controls="scroll-container"
|
|
433
|
+
aria-disabled="${prevEnabled ? "false" : "true"}"
|
|
434
|
+
@click=${prevEnabled ? () => this.previous() : null}
|
|
435
|
+
>
|
|
436
|
+
<slot name="previous-icon">
|
|
437
|
+
<cw-icon library="system" name="${isLtr ? "chevron-left" : "chevron-right"}"></cw-icon>
|
|
438
|
+
</slot>
|
|
439
|
+
</button>
|
|
440
|
+
|
|
441
|
+
<button
|
|
442
|
+
part="navigation-button navigation-button--next"
|
|
443
|
+
class=${classMap({
|
|
444
|
+
"carousel__navigation-button": true,
|
|
445
|
+
"carousel__navigation-button--next": true,
|
|
446
|
+
"carousel__navigation-button--disabled": !nextEnabled
|
|
447
|
+
})}
|
|
448
|
+
aria-label="${this.localize.term("nextSlide")}"
|
|
449
|
+
aria-controls="scroll-container"
|
|
450
|
+
aria-disabled="${nextEnabled ? "false" : "true"}"
|
|
451
|
+
@click=${nextEnabled ? () => this.next() : null}
|
|
452
|
+
>
|
|
453
|
+
<slot name="next-icon">
|
|
454
|
+
<cw-icon library="system" name="${isLtr ? "chevron-right" : "chevron-left"}"></cw-icon>
|
|
455
|
+
</slot>
|
|
456
|
+
</button>
|
|
457
|
+
</div>
|
|
458
|
+
` : ""}
|
|
459
|
+
${this.pagination ? html`
|
|
460
|
+
<div part="pagination" role="tablist" class="carousel__pagination">
|
|
461
|
+
${map(range(pagesCount), (index) => {
|
|
462
|
+
const isActive = index === currentPage;
|
|
463
|
+
return html`
|
|
464
|
+
<button
|
|
465
|
+
part="pagination-item ${isActive ? "pagination-item--active" : ""}"
|
|
466
|
+
class="${classMap({
|
|
467
|
+
"carousel__pagination-item": true,
|
|
468
|
+
"carousel__pagination-item--active": isActive
|
|
469
|
+
})}"
|
|
470
|
+
role="tab"
|
|
471
|
+
id="tab-${index + 1}"
|
|
472
|
+
aria-controls="slide-${index + 1}"
|
|
473
|
+
aria-selected="${isActive ? "true" : "false"}"
|
|
474
|
+
aria-label="${isActive ? this.localize.term("slideNum", index + 1) : this.localize.term("goToSlide", index + 1, pagesCount)}"
|
|
475
|
+
tabindex=${isActive ? "0" : "-1"}
|
|
476
|
+
@click=${() => this.goToSlide(index * slidesPerMove)}
|
|
477
|
+
@keydown=${this.handleKeyDown}
|
|
478
|
+
></button>
|
|
479
|
+
`;
|
|
480
|
+
})}
|
|
481
|
+
</div>
|
|
482
|
+
` : ""}
|
|
483
|
+
</div>
|
|
484
|
+
`;
|
|
485
|
+
}
|
|
486
|
+
};
|
|
487
|
+
CwCarousel.styles = [component_styles_default, carousel_styles_default];
|
|
488
|
+
CwCarousel.dependencies = { "cw-icon": CwIcon };
|
|
489
|
+
__decorateClass([
|
|
490
|
+
property({ type: Boolean, reflect: true })
|
|
491
|
+
], CwCarousel.prototype, "loop", 2);
|
|
492
|
+
__decorateClass([
|
|
493
|
+
property({ type: Boolean, reflect: true })
|
|
494
|
+
], CwCarousel.prototype, "navigation", 2);
|
|
495
|
+
__decorateClass([
|
|
496
|
+
property({ type: Boolean, reflect: true })
|
|
497
|
+
], CwCarousel.prototype, "pagination", 2);
|
|
498
|
+
__decorateClass([
|
|
499
|
+
property({ type: Boolean, reflect: true })
|
|
500
|
+
], CwCarousel.prototype, "autoplay", 2);
|
|
501
|
+
__decorateClass([
|
|
502
|
+
property({ type: Number, attribute: "autoplay-interval" })
|
|
503
|
+
], CwCarousel.prototype, "autoplayInterval", 2);
|
|
504
|
+
__decorateClass([
|
|
505
|
+
property({ type: Number, attribute: "slides-per-page" })
|
|
506
|
+
], CwCarousel.prototype, "slidesPerPage", 2);
|
|
507
|
+
__decorateClass([
|
|
508
|
+
property({ type: Number, attribute: "slides-per-move" })
|
|
509
|
+
], CwCarousel.prototype, "slidesPerMove", 2);
|
|
510
|
+
__decorateClass([
|
|
511
|
+
property()
|
|
512
|
+
], CwCarousel.prototype, "orientation", 2);
|
|
513
|
+
__decorateClass([
|
|
514
|
+
property({ type: Boolean, reflect: true, attribute: "mouse-dragging" })
|
|
515
|
+
], CwCarousel.prototype, "mouseDragging", 2);
|
|
516
|
+
__decorateClass([
|
|
517
|
+
query(".carousel__slides")
|
|
518
|
+
], CwCarousel.prototype, "scrollContainer", 2);
|
|
519
|
+
__decorateClass([
|
|
520
|
+
query(".carousel__pagination")
|
|
521
|
+
], CwCarousel.prototype, "paginationContainer", 2);
|
|
522
|
+
__decorateClass([
|
|
523
|
+
state()
|
|
524
|
+
], CwCarousel.prototype, "activeSlide", 2);
|
|
525
|
+
__decorateClass([
|
|
526
|
+
state()
|
|
527
|
+
], CwCarousel.prototype, "scrolling", 2);
|
|
528
|
+
__decorateClass([
|
|
529
|
+
state()
|
|
530
|
+
], CwCarousel.prototype, "dragging", 2);
|
|
531
|
+
__decorateClass([
|
|
532
|
+
eventOptions({ passive: true })
|
|
533
|
+
], CwCarousel.prototype, "handleScroll", 1);
|
|
534
|
+
__decorateClass([
|
|
535
|
+
watch("loop", { waitUntilFirstUpdate: true }),
|
|
536
|
+
watch("slidesPerPage", { waitUntilFirstUpdate: true })
|
|
537
|
+
], CwCarousel.prototype, "initializeSlides", 1);
|
|
538
|
+
__decorateClass([
|
|
539
|
+
watch("activeSlide")
|
|
540
|
+
], CwCarousel.prototype, "handleSlideChange", 1);
|
|
541
|
+
__decorateClass([
|
|
542
|
+
watch("slidesPerMove")
|
|
543
|
+
], CwCarousel.prototype, "updateSlidesSnap", 1);
|
|
544
|
+
__decorateClass([
|
|
545
|
+
watch("autoplay")
|
|
546
|
+
], CwCarousel.prototype, "handleAutoplayChange", 1);
|
|
547
|
+
|
|
548
|
+
export {
|
|
549
|
+
CwCarousel
|
|
550
|
+
};
|